mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-05 03:17:34 -04:00
Properly send Link to the beginning to the dungeon in boss room shuffle (#6676)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user