mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
Fix GBK check
This commit is contained in:
parent
ffac2735f5
commit
3956d0a61d
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@ void RegisterGrantGanonsBossKey() {
|
||||||
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnPlayerUpdate>([]() {
|
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnPlayerUpdate>([]() {
|
||||||
Player* player = GET_PLAYER(gPlayState);
|
Player* player = GET_PLAYER(gPlayState);
|
||||||
// Triforce Hunt needs the check if the player isn't being teleported to the credits scene.
|
// Triforce Hunt needs the check if the player isn't being teleported to the credits scene.
|
||||||
if (!GameInteractor::IsGameplayPaused() && Flags_GetRandomizerInf(RAND_INF_GRANT_GANONS_BOSSKEY) &&
|
if (!GameInteractor::IsGameplayPaused() && IS_RANDO && Flags_GetRandomizerInf(RAND_INF_GRANT_GANONS_BOSSKEY) &&
|
||||||
gPlayState->sceneLoadFlag != 0x14 &&
|
gPlayState->sceneLoadFlag != 0x14 &&
|
||||||
(1 << 0 & gSaveContext.inventory.dungeonItems[SCENE_GANONS_TOWER]) == 0 && player->stateFlags1 !=
|
(1 << 0 & gSaveContext.inventory.dungeonItems[SCENE_GANONS_TOWER]) == 0 && player->stateFlags1 !=
|
||||||
PLAYER_STATE1_INPUT_DISABLED) {
|
PLAYER_STATE1_INPUT_DISABLED) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue