blob: fd854ff9b46f641f0e9e14e3301c20f80f685700 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
@ Hyrule Town door closed DrLeft
SCRIPT_START script_DrLeftDoor
BeginBlock
DoPostScriptAction 0x0007
CheckGlobalFlag LEFT_DOOR_OPEN
JumpIf script_0800EF92
EndBlock
script_0800EF50:
Call sub_080869A4
JumpIfNot script_0800EF50
SetPlayerIdle
CheckLocalFlagByBank FLAG_BANK_2, 0x006d
JumpIf script_0800EF82
MessageFromTarget TEXT_DR_LEFT, 0x01
WaitUntilTextboxCloses
StartPlayerScript script_PlayerAtDrLeftDoor
WaitForSyncFlagAndClear 0x00000001
Wait 0x000f
EnablePlayerControl
Jump script_0800EF50
script_0800EF82:
SetGlobalFlag LEFT_DOOR_OPEN
MessageFromTarget TEXT_DR_LEFT, 0x02
WaitUntilTextboxCloses
Wait 0x000f
EnablePlayerControl
script_0800EF92:
Call sub_0808692C
SCRIPT_END
.2byte 0x0000
|