mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-30 03:28:55 -07:00
Fix GBK check for vanilla (#3473)
This commit is contained in:
parent
365afe7833
commit
6297df98e9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue