mirror of https://github.com/zeldaret/tmc.git
31 lines
672 B
PHP
31 lines
672 B
PHP
@ Hyrule Town door closed DrLeft
|
|
SCRIPT_START script_DrLeftDoor
|
|
BeginBlock
|
|
DoPostScriptAction 0x0007
|
|
CheckGlobalFlag 0x001f
|
|
JumpIf script_0800EF92
|
|
EndBlock
|
|
script_0800EF50:
|
|
Call sub_080869A4
|
|
JumpIfNot script_0800EF50
|
|
SetPlayerIdle
|
|
CheckLocalFlagByBank 0x0200, 0x006d
|
|
JumpIf script_0800EF82
|
|
MessageFromTarget 0x4d01
|
|
WaitUntilTextboxCloses
|
|
StartPlayerScript script_PlayerAtDrLeftDoor
|
|
WaitForSyncFlagAndClear 0x00000001
|
|
Wait 0x000f
|
|
EnablePlayerControl
|
|
Jump script_0800EF50
|
|
script_0800EF82:
|
|
SetGlobalFlag 0x001f
|
|
MessageFromTarget 0x4d02
|
|
WaitUntilTextboxCloses
|
|
Wait 0x000f
|
|
EnablePlayerControl
|
|
script_0800EF92:
|
|
Call sub_0808692C
|
|
SCRIPT_END
|
|
.2byte 0x0000
|