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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
|
MtChimney_MapScripts:: @ 815CF7C
map_script 5, MtChimney_MapScript1_15CF92
map_script 3, MtChimney_MapScript1_15CF87
.byte 0
MtChimney_MapScript1_15CF87:: @ 815CF87
setvar 0x40bd, 1
call MtChimney_EventScript_1A0196
end
MtChimney_MapScript1_15CF92:: @ 815CF92
tileeffect 1
end
MtChimney_EventScript_15CF95:: @ 815CF95
lock
faceplayer
showmoney 0, 0
snop
msgbox MtChimney_Text_195760, 5
compare RESULT, 0
jumpeq MtChimney_EventScript_15D00B
checkmoney 0xc8, 0
compare RESULT, 0
jumpeq MtChimney_EventScript_15D018
msgbox MtChimney_Text_1957A9, 4
checkitemspace ITEM_LAVA_COOKIE, 1
compare RESULT, 1
callif 1, MtChimney_EventScript_15D000
giveitem ITEM_LAVA_COOKIE
compare RESULT, 0
jumpeq MtChimney_EventScript_15CFF3
hidemoney 0, 0
release
end
MtChimney_EventScript_15CFF3:: @ 815CFF3
msgbox MtChimney_Text_1A0CC2, 4
hidemoney 0, 0
release
end
MtChimney_EventScript_15D000:: @ 815D000
paymoney 0xc8, 0
updatemoney 0, 0
snop
return
MtChimney_EventScript_15D00B:: @ 815D00B
msgbox MtChimney_Text_1957F7, 4
hidemoney 0, 0
release
end
MtChimney_EventScript_15D018:: @ 815D018
msgbox MtChimney_Text_1957BA, 4
hidemoney 0, 0
release
end
MtChimney_Movement_15D025:: @ 815D025
step_up
step_up
step_up
step_up
step_up
step_up
step_right
step_end
MtChimney_Movement_15D02D:: @ 815D02D
step_left
step_down
step_down
step_down
step_down
step_down
step_down
step_down
step_end
MtChimney_Movement_15D036:: @ 815D036
step_up
step_up
step_up
step_up
step_up
step_right
step_right
step_end
MtChimney_Movement_15D03E:: @ 815D03E
step_left
step_left
step_down
step_down
step_down
step_down
step_down
step_down
step_down
step_end
.incbin "baserom.gba", 0x15d048, 0xad
MtChimney_EventScript_15D0F5:: @ 815D0F5
msgbox MtChimney_Text_1B40EA, 3
end
MtChimney_EventScript_15D0FE:: @ 815D0FE
msgbox MtChimney_Text_1B4128, 3
end
MtChimney_EventScript_15D107:: @ 815D107
msgbox MtChimney_Text_1B416E, 3
end
MtChimney_EventScript_15D110:: @ 815D110
trainerbattle 0, TRAINER_MT_CHIMNEY_GRUNT_1, 0, MtChimney_Text_1B3B36, MtChimney_Text_1B3BB8
msgbox MtChimney_Text_1B3C07, 6
end
MtChimney_EventScript_15D127:: @ 815D127
trainerbattle 0, TRAINER_MT_CHIMNEY_GRUNT_2, 0, MtChimney_Text_1B3C96, MtChimney_Text_1B3D1E
msgbox MtChimney_Text_1B3D3D, 6
end
MtChimney_EventScript_15D13E:: @ 815D13E
msgbox MtChimney_Text_1B3D9A, 3
end
.incbin "baserom.gba", 0x15d147, 0x9
MtChimney_EventScript_15D150:: @ 815D150
msgbox MtChimney_Text_1B3DF5, 3
end
MtChimney_EventScript_15D159:: @ 815D159
msgbox MtChimney_Text_1B3E1F, 3
end
MtChimney_EventScript_15D162:: @ 815D162
msgbox MtChimney_Text_1B3E7A, 3
end
MtChimney_EventScript_15D16B:: @ 815D16B
msgbox MtChimney_Text_1B3EBA, 3
end
MtChimney_EventScript_15D174:: @ 815D174
msgbox MtChimney_Text_1B41B0, 3
end
MtChimney_EventScript_15D17D:: @ 815D17D
lockall
checkflag 139
jumpif 0, MtChimney_EventScript_15D1D0
checkflag 115
jumpeq MtChimney_EventScript_15D1C6
msgbox MtChimney_Text_195870, 5
compare RESULT, 0
jumpeq MtChimney_EventScript_15D1BC
msgbox MtChimney_Text_1958C6, 4
giveitem ITEM_METEORITE
setflag 115
releaseall
end
MtChimney_EventScript_15D1BC:: @ 815D1BC
msgbox MtChimney_Text_1958FC, 4
releaseall
end
MtChimney_EventScript_15D1C6:: @ 815D1C6
msgbox MtChimney_Text_195920, 4
releaseall
end
MtChimney_EventScript_15D1D0:: @ 815D1D0
msgbox MtChimney_Text_195806, 4
releaseall
end
MtChimney_EventScript_15D1DA:: @ 815D1DA
msgbox MtChimney_Text_19595C, 3
end
MtChimney_EventScript_15D1E3:: @ 815D1E3
trainerbattle 0, 313, 0, MtChimney_Text_19597F, MtChimney_Text_1959D8
specialval RESULT, 57
compare RESULT, 1
jumpeq MtChimney_EventScript_15D20A
msgbox MtChimney_Text_195A04, 6
end
MtChimney_EventScript_15D20A:: @ 815D20A
trainerbattle 5, 313, 0, MtChimney_Text_195A45, MtChimney_Text_195AAD
msgbox MtChimney_Text_195AD9, 6
end
MtChimney_EventScript_15D221:: @ 815D221
trainerbattle 0, 124, 0, MtChimney_Text_195B1C, MtChimney_Text_195B5F
msgbox MtChimney_Text_195B84, 6
end
MtChimney_EventScript_15D238:: @ 815D238
trainerbattle 0, 125, 0, MtChimney_Text_195BB2, MtChimney_Text_195BF9
msgbox MtChimney_Text_195C31, 6
end
MtChimney_EventScript_15D24F:: @ 815D24F
trainerbattle 0, 126, 0, MtChimney_Text_195CD8, MtChimney_Text_195D2F
msgbox MtChimney_Text_195D5C, 6
end
|