mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-16 22:45:06 -05:00
Fix GBK check for vanilla (#3473)
This commit is contained in:
parent
365afe7833
commit
6297df98e9
@ -659,7 +659,7 @@ void RegisterTriforceHunt() {
|
|||||||
void RegisterGrantGanonsBossKey() {
|
void RegisterGrantGanonsBossKey() {
|
||||||
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnPlayerUpdate>([]() {
|
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnPlayerUpdate>([]() {
|
||||||
// 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() &&
|
if (!GameInteractor::IsGameplayPaused() && IS_RANDO &&
|
||||||
Flags_GetRandomizerInf(RAND_INF_GRANT_GANONS_BOSSKEY) && gPlayState->transitionTrigger != TRANS_TRIGGER_START &&
|
Flags_GetRandomizerInf(RAND_INF_GRANT_GANONS_BOSSKEY) && gPlayState->transitionTrigger != TRANS_TRIGGER_START &&
|
||||||
(1 << 0 & gSaveContext.inventory.dungeonItems[SCENE_GANONS_TOWER]) == 0) {
|
(1 << 0 & gSaveContext.inventory.dungeonItems[SCENE_GANONS_TOWER]) == 0) {
|
||||||
GetItemEntry getItemEntry =
|
GetItemEntry getItemEntry =
|
||||||
|
Loading…
Reference in New Issue
Block a user