summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_Stockwell.inc
blob: b3890cb3a7ab4ca7040bc68b364abc846269d607 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
@ Hyrule Town Stockwell
SCRIPT_START script_Stockwell
	BeginBlock
	CheckLocalFlag 0x0054
	JumpIf script_08014382
	CheckLocalFlag 0x0053
	JumpIf script_08014330
	EndBlock
script_080142C4:
	EndBlock
	BeginBlock
	CheckPlayerMinish
	JumpIfNot script_080142C4
	CheckPlayerInRegion 0x0098, 0x0058, 0x1818
	JumpIfNot script_080142C4
	EndBlock
	SetPlayerIdle
	SetLocalFlag 0x0053
	Wait 0x0014
	SetAction 0x0004
	Call sub_080654DC
	Wait 0x001e
	SetAnimation 0x0001
	Wait 0x000a
	SetAnimation 0x0003
	Wait 0x000a
	SetAnimation 0x0001
	Wait 0x000a
	SetAnimation 0x0003
	Wait 0x000a
	SetAnimation 0x0002
	Wait 0x001e
	MessageNoOverlap TEXT_STOCKWELL, 0x12
	WaitUntilTextboxCloses
	Wait 0x0014
	SetAnimation 0x0004
	EnablePlayerControl
	SetAction 0x0001
script_08014330:
	EndBlock
	BeginBlock
	CheckPlayerMinish
	JumpIf script_08014330
	EntityHasHeight
	JumpIf script_08014330
	CheckPlayerInRegion 0x00c0, 0x0068, 0x1010
	JumpIfNot script_08014330
	EndBlock
	SetPlayerIdle
	SetLocalFlag 0x0054
	Wait 0x005a
	SetAction 0x0004
	Call sub_080654EC
	Wait 0x001e
	SetAnimation 0x0001
	Wait 0x001e
	MessageNoOverlap TEXT_STOCKWELL, 0x13
	WaitUntilTextboxCloses
	Wait 0x0014
	SetAnimation 0x0004
	SetAction 0x0001
	EnablePlayerControl
script_08014382:
SCRIPT_END