mirror of https://github.com/zeldaret/tmc.git
25 lines
618 B
PHP
25 lines
618 B
PHP
@ Graveyard CUTSCENE_ORCHESTRATOR When getting the key back
|
|
SCRIPT_START script_CutsceneOrchestratorGetKeyBack
|
|
BeginBlock
|
|
EndBlock
|
|
script_080098D8:
|
|
CheckGlobalFlag HAKA_KEY_LOST
|
|
JumpIfNot script_080098D8
|
|
script_080098E0:
|
|
CheckInventory1 ITEM_QST_GRAVEYARD_KEY
|
|
JumpIfNot script_080098E0
|
|
CheckLocalFlag HAKA_KEY_GET
|
|
JumpIf script_08009910
|
|
SetLocalFlag HAKA_KEY_GET
|
|
SetPlayerIdle
|
|
Call WaitForPlayerNormal
|
|
Call DisablePauseMenuAndPutAwayItems
|
|
EzloMessage TEXT_DAMPE, 0x0a
|
|
WaitUntilTextboxCloses
|
|
Call EnablePauseMenu
|
|
EnablePlayerControl
|
|
script_08009910:
|
|
DoPostScriptAction 0x0006
|
|
SCRIPT_END
|
|
.2byte 0x0000
|