Implement/match Isle::Escape (#950)

This commit is contained in:
Christian Semmler
2024-05-24 20:41:57 -04:00
committed by GitHub
parent e59d684f37
commit b759390060
42 changed files with 120 additions and 40 deletions

View File

@@ -619,7 +619,7 @@ MxLong LegoNavController::Notify(MxParam& p_param)
if (currentWorld) {
InfocenterState* infocenterState = (InfocenterState*) GameState()->GetState("InfocenterState");
if (infocenterState && infocenterState->GetUnknown0x74() != 8 && currentWorld->VTable0x64()) {
if (infocenterState && infocenterState->GetUnknown0x74() != 8 && currentWorld->Escape()) {
BackgroundAudioManager()->Stop();
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
infocenterState->SetUnknown0x74(8);