mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-31 08:12:15 -04:00
Merge branch 'rando-mod' of https://github.com/TwilitRealm/dusk into rando-mod
This commit is contained in:
@@ -914,6 +914,19 @@ void randomizer_checkAndOverrideEntranceData(const char*& stageName, s8& roomNo,
|
||||
lastMode = (lastMode&0xFFFFFFF0);
|
||||
}
|
||||
|
||||
// Check if we are going through a randomized entrance with epona, reset the lastMode
|
||||
// Todo: Create a list of entrances where epona is allowed and don't reset the lastMode if
|
||||
// Epona can be rode there
|
||||
if ((lastMode&0xF) == 2 || (lastMode&0xF) == 8) {
|
||||
lastMode = (lastMode&0xFFFFFFF0);
|
||||
}
|
||||
|
||||
// Override the spawn link will go to if we are going through the Telma's bar entrance during
|
||||
// Lanayru twilight. The door is ajar in this layer, so going through the normal spawn doesn't work.
|
||||
if (!dComIfGs_isDarkClearLV(2) && newOverride.stageId == 53 && roomNo == 3 && pointNo == 1) {
|
||||
pointNo = 30;
|
||||
}
|
||||
|
||||
// mods::log::info("New Stage:{}, {}, {}, {}",stageName,roomNo,pointNo,mapLayer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user