File tree Expand file tree Collapse file tree
src/port/Rando/MiscBehavior Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,31 +44,7 @@ void Rando::MiscBehavior::Init() {
4444 return ;
4545 }
4646
47- // Skip inter-level area changes.
48- if (gCurrLevelNum == ev->warpNode ->destLevel ) {
49- return ;
50- }
51-
52- if (gCurrLevelNum == Rando::StaticData::Entrances[shuffledEntrance].destinationId ) {
53- if (ev->sourceWarpNode != 241 ) {
54- return ;
55- }
56- }
57-
58- // Skip Bowser Arena entrances for now, plan on adding these in later.
59- if (ev->warpNode ->destLevel == LEVEL_BOWSER_1 || ev->warpNode ->destLevel == LEVEL_BOWSER_2 ||
60- ev->warpNode ->destLevel == LEVEL_BOWSER_3 ) {
61- currentEntrance = RE_UNKNOWN ;
62- shuffledEntrance = RE_UNKNOWN ;
63- return ;
64- }
65-
66- // Skip entering the Castle Courtyard from the Castle Interior.
67- if (currentEntrance == RE_UNKNOWN && ev->warpNode ->destLevel == LEVEL_CASTLE_COURTYARD ) {
68- return ;
69- }
70-
71- if (ev->sourceWarpNode > 0 && currentEntrance != RE_UNKNOWN ) {
47+ if (ev->sourceWarpNode >= 241 && currentEntrance != RE_UNKNOWN ) {
7248 Rando::StaticData::RandoStaticEntrance randoStaticEntrance = Rando::StaticData::Entrances[currentEntrance];
7349
7450 ev->warpNode ->destNode = randoStaticEntrance.deathWarpId ;
You can’t perform that action at this time.
0 commit comments