tmc/data/scripts/windRuins/script_Npc4EReceiveOcarina.inc

25 lines
514 B
PHP

@ After Mazaal NPC4E receive ocarina
SCRIPT_START script_Npc4EReceiveOcarina
BeginBlock
DoPostScriptAction 0x0008
CheckInventory1 0x0017
JumpIf script_0800D924
EndBlock
script_0800D8F4:
CheckInventory1 0x0017
JumpIfNot script_0800D8F4
Call sub_0807DF28
SetPlayerIdle
WaitPlayerGetItem
EzloMessage 0x1325
WaitUntilTextboxCloses
PlaySound SFX_113
SetIntVariable 0x00000000
Call sub_0806DA1C
EnablePlayerControl
Call sub_0807DF50
script_0800D924:
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000