Properly send Link to the beginning to the dungeon in boss room shuffle (#6676)

This commit is contained in:
Pepper0ni
2026-06-03 04:12:31 +01:00
committed by GitHub
parent 80d3114f79
commit fe78ae21a6
@@ -143,7 +143,6 @@ void Entrance_ResetEntranceTable(void) {
void Entrance_Init(void) {
EntranceOverride* entranceOverrides = Randomizer_GetEntranceOverrides();
s32 index;
Entrance_CopyOriginalEntranceTable();
@@ -156,7 +155,7 @@ void Entrance_Init(void) {
}
// Delete the title card and add a fade in for Hyrule Field from Ocarina of Time cutscene
for (index = ENTR_HYRULE_FIELD_16; index <= ENTR_HYRULE_FIELD_16_3; ++index) {
for (s32 index = ENTR_HYRULE_FIELD_16; index <= ENTR_HYRULE_FIELD_16_3; ++index) {
gEntranceTable[index].field = ENTRANCE_INFO_FIELD(false, false, TRANS_TYPE_FADE_BLACK, TRANS_TYPE_INSTANT);
}
@@ -199,7 +198,7 @@ void Entrance_Init(void) {
bossScene = dungeons[j].bossScene;
}
if (index == dungeons[j].bossDoor) {
if (originalIndex == dungeons[j].bossDoor) {
saveWarpEntrance = dungeons[j].entryway;
}
}