summaryrefslogtreecommitdiff
path: root/data/scripts/script_08014804.inc
blob: b5f500dd9032f5c1bd03bd1703a90c365734c7bc (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
SCRIPT_START script_08014804
	BeginBlock 
	_0807E9D4 
	_0807EB44 0x0000
	DoPostScriptAction 0x000a
	EndBlock 
	_0807E864 
	Call sub_0807DF38
	Wait 0x0010
	CheckLocalFlag 0x0093
	JumpIf script_080148B6
	TextboxNoOverlapFollowPos 0x4215, 0x000c
	_0807E878 
script_0801482E:
	TestBit 0x00000001
	JumpIf script_08014862
	TestBit 0x00000004
	JumpIf script_08014878
	_0807E30C 
	JumpIfNot script_0801482E
	_0807E864 
	_0807E930 0x0008
	Wait 0x0020
	_0807E930 0x0002
	TextboxNoOverlapFollowPos 0x4215, 0x000c
	_0807E878 
	Jump script_0801482E
script_08014862:
	_0807E930 0x0008
	Wait 0x0020
	_0807E930 0x0002
	_0807E5F8 0x00000002
	Jump script_0801482E
script_08014878:
	_0807E930 0x0009
	Wait 0x003c
	_0807E930 0x0002
	_0807E5F8 0x00000008
	Jump script_0801482E
script_0801488E:
	TestBit 0x00000001
	JumpIf script_080148C2
	TestBit 0x00000004
	JumpIf script_080148D8
	_0807E30C 
	JumpIfNot script_0801488E
	_0807E864 
	_0807E930 0x0008
	Wait 0x0020
	_0807E930 0x0002
script_080148B6:
	TextboxNoOverlapFollowPos 0x4216, 0x000c
	_0807E878 
	Jump script_0801488E
script_080148C2:
	_0807E930 0x0008
	Wait 0x0020
	_0807E930 0x0002
	_0807E5F8 0x00000002
	Jump script_0801488E
script_080148D8:
	_0807E930 0x0009
	Wait 0x003c
	_0807E930 0x0002
	_0807E5F8 0x00000008
	Jump script_0801488E
	.2byte 0x0000
SCRIPT_START script_080148F0
	BeginBlock 
	EndBlock 
script_080148F4:
	CheckRoomFlag 0x0000
	JumpIfNot script_080148F4
	ClearRoomFlag 0x0000
	Call sub_0806E140
	JumpIfNot script_08014932
	_0807EA94 
	_0807E3E8 
	JumpIfNot script_08014938
	_0807E864 
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	Call sub_0806E1E0
	_0807EA94 
	Wait 0x0018
	_0807E878 
	Jump script_080148F4
script_08014932:
	_0807EA94 
	Jump script_08014938
script_08014938:
	_0807E5F8 0x00000004
	WaitForSomething2 0x00000008
	Call sub_0806E1FC
	Wait 0x001e
	Call sub_0807DF50
SCRIPT_END
	.2byte 0x0000