Curation round 21: rock drops, Boss Rush and room setup, Dross, Ashpit and Gehenna enemies, Book of Virtues wisps and Dream Catcher, the last familiars and effects, player damage branches, a Corpse floor and Abyss crash fix, shared constants (186 duplicates)

This commit is contained in:
shweet committed 2026-11-22 11:00:43 -05:00
1 parent 8dbeb1bc4a
commit 6a11163842
184 files changed
+16980 -1419

No files matched your search

+2 -2
View File
@@ -1,4 +1,5 @@
#include "grid_entity_trap_door.h"
#include "boss_pool.h"
#include "entity_effect.h"
#include "entity_familiar.h"
#include "entity_list.h"
@@ -37,7 +38,6 @@ constexpr int STAGE_LAST_CHAPTER = 10;
constexpr int GAME_STATE_BACKWARDS_PATH_INIT = 47;
// Mother's boss room in the special rooms.
constexpr int BOSS_MOTHER = 88;
constexpr int MINES_LAYER_HIDDEN = 1;
constexpr float PLAYER_FAR = 1e9f;
@@ -268,7 +268,7 @@ static void trapdoor_enter(GridEntity_TrapDoor& trapDoor, Entity_Player& player,
else
{
if ((int)game.stage > STAGE_LAST_CHAPTER)
game.seedEffects.ForgetStageSeed((int)game.stage + (game.IsAltPath() ? 1 : 0));
game.seedEffects.ForgetStageSeed(game.stage_depth_get());
if (trapDoor.varData == TRAPDOOR_VOID_PORTAL) game.stageTransition.start({.type = STAGE_TRANSITION_VOID});
else if (!isRepentancePath || !is_knife_piece_missing())
game.stageTransition.start({.type = STAGE_TRANSITION_NEXT});