mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
Fix: Override jail capture for the Gerudo fighter (#2413)
* handle overriding gerudo capture for the fighter * add entrance include
This commit is contained in:
parent
9fe7839f9a
commit
0aab836d1f
@ -659,7 +659,7 @@ void Entrance_OverrideWeatherState() {
|
||||
// Child should always be thrown in the stream when caught in the valley, and placed at the fortress entrance from valley when caught in the fortress
|
||||
void Entrance_OverrideGeurdoGuardCapture(void) {
|
||||
if (LINK_IS_CHILD) {
|
||||
gPlayState->nextEntranceIndex = 0x1A5;
|
||||
gPlayState->nextEntranceIndex = 0x1A5; // Geurdo Valley thrown out
|
||||
}
|
||||
|
||||
if ((LINK_IS_CHILD || Randomizer_GetSettingValue(RSK_SHUFFLE_OVERWORLD_ENTRANCES)) &&
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_en_geldb.h"
|
||||
#include "objects/object_geldb/object_geldb.h"
|
||||
#include "soh/Enhancements/randomizer/randomizer_entrance.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4)
|
||||
|
||||
@ -1570,6 +1571,11 @@ void EnGeldB_Draw(Actor* thisx, PlayState* play) {
|
||||
} else {
|
||||
play->nextEntranceIndex = 0x3B4;
|
||||
}
|
||||
|
||||
if (gSaveContext.n64ddFlag) {
|
||||
Entrance_OverrideGeurdoGuardCapture();
|
||||
}
|
||||
|
||||
play->fadeTransition = 0x26;
|
||||
play->sceneLoadFlag = 0x14;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user