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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
|
.set LOCALID_STICKER_MAN, 1
CeladonCity_GameCorner_EventScript_PhotoPrinter:: @ 81B2867
lockall
showmoneybox 0, 0, 0
msgbox CeladonCity_GameCorner_Text_TryPokemonPrinter, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq CeladonCity_GameCorner_EventScript_DeclinePhoto
checkmoney 50, 0
compare VAR_RESULT, FALSE
goto_if_eq CeladonCity_GameCorner_EventScript_NotEnoughMoneyForPhoto
playse SE_SHOP
removemoney 50, 0
updatemoneybox 0, 0, 0
waitse
message CeladonCity_GameCorner_Text_ChoosePrintType
waitmessage
multichoice 21, 0, MULTICHOICE_TRAINER_CARD_ICON_TINT, TRUE
switch VAR_RESULT
case 0, CeladonCity_GameCorner_EventScript_PrintTypeNormal
case 1, CeladonCity_GameCorner_EventScript_PrintTypeBlack
case 2, CeladonCity_GameCorner_EventScript_PrintTypePink
case 3, CeladonCity_GameCorner_EventScript_PrintTypeSepia
end
CeladonCity_GameCorner_EventScript_PrintTypeNormal:: @ 81B28DB
setvar VAR_0x8004, MON_ICON_TINT_NORMAL
goto CeladonCity_GameCorner_EventScript_PrintPhoto
end
CeladonCity_GameCorner_EventScript_PrintTypeBlack:: @ 81B28E6
setvar VAR_0x8004, MON_ICON_TINT_BLACK
goto CeladonCity_GameCorner_EventScript_PrintPhoto
end
CeladonCity_GameCorner_EventScript_PrintTypePink:: @ 81B28F1
setvar VAR_0x8004, MON_ICON_TINT_PINK
goto CeladonCity_GameCorner_EventScript_PrintPhoto
end
CeladonCity_GameCorner_EventScript_PrintTypeSepia:: @ 81B28FC
setvar VAR_0x8004, MON_ICON_TINT_SEPIA
goto CeladonCity_GameCorner_EventScript_PrintPhoto
end
CeladonCity_GameCorner_EventScript_PrintPhoto:: @ 81B2907
message CeladonCity_GameCorner_Text_BigSmileForPhoto
waitmessage
playse MUS_PHOTO
dofieldeffect FLDEFF_UNK_45
delay 60
special UpdateTrainerCardPhotoIcons
msgbox CeladonCity_GameCorner_Text_PrintIsReadyCheckTrainerCard
hidemoneybox 0, 0
releaseall
end
CeladonCity_GameCorner_EventScript_DeclinePhoto:: @ 81B2926
hidemoneybox 0, 0
releaseall
end
CeladonCity_GameCorner_EventScript_NotEnoughMoneyForPhoto:: @ 81B292B
msgbox CeladonCity_GameCorner_Text_DontHaveEnoughMoney
hidemoneybox 0, 0
releaseall
end
FourIsland_House2_EventScript_StickerMan:: @ 81B2938
lock
specialvar VAR_0x8008, StickerManGetBragFlags
goto_if_unset FLAG_MET_STICKER_MAN, FourIsland_House2_EventScript_MeetStickerMan
goto_if_set FLAG_MET_STICKER_MAN, FourIsland_House2_EventScript_StickerManAskForBrag
end
FourIsland_House2_EventScript_MeetStickerMan:: @ 81B2951
setflag FLAG_MET_STICKER_MAN
msgbox FourIsland_House2_Text_WishICouldShowOffStickers
applymovement LOCALID_STICKER_MAN, Movement_FacePlayer
waitmovement 0
playse SE_PIN
applymovement LOCALID_STICKER_MAN, Movement_ExclamationMark
waitmovement 0
applymovement LOCALID_STICKER_MAN, Movement_Delay48
waitmovement 0
compare VAR_0x8008, 0
goto_if_eq FourIsland_House2_EventScript_StickerManNothingToBrag
message FourIsland_House2_Text_GiveYouStickerIfYouBrag
waitmessage
goto FourIsland_House2_EventScript_ChooseBrag
end
FourIsland_House2_EventScript_StickerManAskForBrag:: @ 81B2994
applymovement LOCALID_STICKER_MAN, Movement_FacePlayer
waitmovement 0
goto_if_questlog EventScript_ReleaseEnd
special QuestLog_CutRecording
compare VAR_0x8008, 0
goto_if_eq FourIsland_House2_EventScript_NothingToBragAbout
message FourIsland_House2_Text_BragAboutWhatToday
waitmessage
goto FourIsland_House2_EventScript_ChooseBrag
end
FourIsland_House2_EventScript_NothingToBragAbout:: @ 81B29C6
msgbox FourIsland_House2_Text_BragAboutSomethingForMe
release
end
FourIsland_House2_EventScript_ChooseBrag:: @ 81B29D0
switch VAR_0x8008
case 1, FourIsland_House2_EventScript_ChooseBragHoF
case 2, FourIsland_House2_EventScript_ChooseBragEggs
case 4, FourIsland_House2_EventScript_ChooseBragLinkWins
case 3, FourIsland_House2_EventScript_ChooseBragHoFEggs
case 5, FourIsland_House2_EventScript_ChooseBragHoFLinkWins
case 6, FourIsland_House2_EventScript_ChooseBragEggsLinkWins
case 7, FourIsland_House2_EventScript_ChooseBragHofEggsLinkWins
end
FourIsland_House2_EventScript_ChooseBragHoF:: @ 81B2A23
multichoice 15, 8, MULTICHOICE_HOF_QUIT, FALSE
switch VAR_RESULT
case 0, FourIsland_House2_EventScript_BragHoF
case 1, FourIsland_House2_EventScript_QuitBrag
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
end
FourIsland_House2_EventScript_ChooseBragEggs:: @ 81B2A4F
multichoice 16, 8, MULTICHOICE_EGGS_QUIT, FALSE
switch VAR_RESULT
case 0, FourIsland_House2_EventScript_BragEggs
case 1, FourIsland_House2_EventScript_QuitBrag
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
end
FourIsland_House2_EventScript_ChooseBragLinkWins:: @ 81B2A7B
multichoice 15, 8, MULTICHOICE_VICTORIES_QUIT, FALSE
switch VAR_RESULT
case 0, FourIsland_House2_EventScript_BragLinkWins
case 1, FourIsland_House2_EventScript_QuitBrag
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
end
FourIsland_House2_EventScript_ChooseBragHoFEggs:: @ 81B2AA7
multichoice 15, 6, MULTICHOICE_HOF_EGGS_QUIT, FALSE
switch VAR_RESULT
case 0, FourIsland_House2_EventScript_BragHoF
case 1, FourIsland_House2_EventScript_BragEggs
case 2, FourIsland_House2_EventScript_QuitBrag
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
end
FourIsland_House2_EventScript_ChooseBragHoFLinkWins:: @ 81B2ADE
multichoice 15, 6, MULTICHOICE_HOF_VICTORIES_QUIT, FALSE
switch VAR_RESULT
case 0, FourIsland_House2_EventScript_BragHoF
case 1, FourIsland_House2_EventScript_BragLinkWins
case 2, FourIsland_House2_EventScript_QuitBrag
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
end
FourIsland_House2_EventScript_ChooseBragEggsLinkWins:: @ 81B2B15
multichoice 15, 6, MULTICHOICE_EGGS_VICTORIES_QUIT, FALSE
switch VAR_RESULT
case 0, FourIsland_House2_EventScript_BragEggs
case 1, FourIsland_House2_EventScript_BragLinkWins
case 2, FourIsland_House2_EventScript_QuitBrag
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
end
FourIsland_House2_EventScript_ChooseBragHofEggsLinkWins:: @ 81B2B4C
multichoice 15, 5, MULTICHOICE_HOF_EGGS_VICTORIES_QUIT, FALSE
switch VAR_RESULT
case 0, FourIsland_House2_EventScript_BragHoF
case 1, FourIsland_House2_EventScript_BragEggs
case 2, FourIsland_House2_EventScript_BragLinkWins
case 3, FourIsland_House2_EventScript_QuitBrag
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
end
FourIsland_House2_EventScript_StickerManNothingToBrag:: @ 81B2B8E
msgbox FourIsland_House2_Text_GiveYouStickerIfYouBrag
release
end
FourIsland_House2_EventScript_BragHoF:: @ 81B2B98
compare VAR_0x8004, 39
goto_if_le FourIsland_House2_EventScript_BragHoFLowest
compare VAR_0x8004, 99
goto_if_le FourIsland_House2_EventScript_BragHoFLow
compare VAR_0x8004, 199
goto_if_le FourIsland_House2_EventScript_BragHoFHigh
compare VAR_0x8004, 200
goto_if_ge FourIsland_House2_EventScript_BragHoFHighest
end
FourIsland_House2_EventScript_BragHoFLowest:: @ 81B2BC5
compare VAR_HOF_BRAG_STATE, 1
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoF
setvar VAR_HOF_BRAG_STATE, 1
msgbox FourIsland_House2_Text_WowHoFLowest
goto FourIsland_House2_EventScript_BraggedHoF
end
FourIsland_House2_EventScript_BragHoFLow:: @ 81B2BE3
compare VAR_HOF_BRAG_STATE, 2
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoF
setvar VAR_HOF_BRAG_STATE, 2
msgbox FourIsland_House2_Text_WowHoFLow
goto FourIsland_House2_EventScript_BraggedHoF
end
FourIsland_House2_EventScript_BragHoFHigh:: @ 81B2C01
compare VAR_HOF_BRAG_STATE, 3
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoF
setvar VAR_HOF_BRAG_STATE, 3
msgbox FourIsland_House2_Text_WowHoFHigh
goto FourIsland_House2_EventScript_BraggedHoF
end
FourIsland_House2_EventScript_BragHoFHighest:: @ 81B2C1F
compare VAR_HOF_BRAG_STATE, 4
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoFMax
setvar VAR_HOF_BRAG_STATE, 4
msgbox FourIsland_House2_Text_WowHoFHighest
goto FourIsland_House2_EventScript_BraggedHoF
end
FourIsland_House2_EventScript_AlreadyBraggedHoF:: @ 81B2C3D
msgbox FourIsland_House2_Text_ComeBackWithBetterStoryHoF
release
end
FourIsland_House2_EventScript_AlreadyBraggedHoFMax:: @ 81B2C47
msgbox FourIsland_House2_Text_LivingLegendHoF
release
end
FourIsland_House2_EventScript_BraggedHoF:: @ 81B2C51
textcolor 3
playfanfare MUS_LEVEL_UP
message FourIsland_House2_Text_HoFStickerApplied
waitmessage
waitfanfare
delay 90
release
end
FourIsland_House2_EventScript_BragEggs:: @ 81B2C62
compare VAR_0x8005, 99
goto_if_le FourIsland_House2_EventScript_BragEggsLowest
compare VAR_0x8005, 199
goto_if_le FourIsland_House2_EventScript_BragEggsLow
compare VAR_0x8005, 299
goto_if_le FourIsland_House2_EventScript_BragEggsHigh
compare VAR_0x8005, 300
goto_if_ge FourIsland_House2_EventScript_BragEggsHighest
end
FourIsland_House2_EventScript_BragEggsLowest:: @ 81B2C8F
compare VAR_EGG_BRAG_STATE, 1
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggs
setvar VAR_EGG_BRAG_STATE, 1
msgbox FourIsland_House2_Text_WowEggsLowest
goto FourIsland_House2_EventScript_BraggedEggs
end
FourIsland_House2_EventScript_BragEggsLow:: @ 81B2CAD
compare VAR_EGG_BRAG_STATE, 2
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggs
setvar VAR_EGG_BRAG_STATE, 2
msgbox FourIsland_House2_Text_WowEggsLow
goto FourIsland_House2_EventScript_BraggedEggs
end
FourIsland_House2_EventScript_BragEggsHigh:: @ 81B2CCB
compare VAR_EGG_BRAG_STATE, 3
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggs
setvar VAR_EGG_BRAG_STATE, 3
msgbox FourIsland_House2_Text_WowEggsHigh
goto FourIsland_House2_EventScript_BraggedEggs
end
FourIsland_House2_EventScript_BragEggsHighest:: @ 81B2CE9
compare VAR_EGG_BRAG_STATE, 4
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggsMax
setvar VAR_EGG_BRAG_STATE, 4
msgbox FourIsland_House2_Text_WowEggsHighest
goto FourIsland_House2_EventScript_BraggedEggs
end
FourIsland_House2_EventScript_AlreadyBraggedEggs:: @ 81B2D07
msgbox FourIsland_House2_Text_ComeBackWithBetterStoryEggs
release
end
FourIsland_House2_EventScript_AlreadyBraggedEggsMax:: @ 81B2D11
msgbox FourIsland_House2_Text_LivingLegendEggs
release
end
FourIsland_House2_EventScript_BraggedEggs:: @ 81B2D1B
textcolor 3
playfanfare MUS_LEVEL_UP
message FourIsland_House2_Text_EggStickerApplied
waitmessage
waitfanfare
delay 90
release
end
FourIsland_House2_EventScript_BragLinkWins:: @ 81B2D2C
compare VAR_0x8006, 19
goto_if_le FourIsland_House2_EventScript_BragLinkWinsLowest
compare VAR_0x8006, 49
goto_if_le FourIsland_House2_EventScript_BragLinkWinsLow
compare VAR_0x8006, 99
goto_if_le FourIsland_House2_EventScript_BragLinkWinsHigh
compare VAR_0x8006, 100
goto_if_ge FourIsland_House2_EventScript_BragLinkWinsHighest
end
FourIsland_House2_EventScript_BragLinkWinsLowest:: @ 81B2D59
compare VAR_LINK_WIN_BRAG_STATE, 1
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWins
setvar VAR_LINK_WIN_BRAG_STATE, 1
msgbox FourIsland_House2_Text_WowLinkWinsLowest
goto FourIsland_House2_EventScript_BraggedLinkWins
end
FourIsland_House2_EventScript_BragLinkWinsLow:: @ 81B2D77
compare VAR_LINK_WIN_BRAG_STATE, 2
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWins
setvar VAR_LINK_WIN_BRAG_STATE, 2
msgbox FourIsland_House2_Text_WowLinkWinsLow
goto FourIsland_House2_EventScript_BraggedLinkWins
end
FourIsland_House2_EventScript_BragLinkWinsHigh:: @ 81B2D95
compare VAR_LINK_WIN_BRAG_STATE, 3
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWins
setvar VAR_LINK_WIN_BRAG_STATE, 3
msgbox FourIsland_House2_Text_WowLinkWinsHigh
goto FourIsland_House2_EventScript_BraggedLinkWins
end
FourIsland_House2_EventScript_BragLinkWinsHighest:: @ 81B2DB3
compare VAR_LINK_WIN_BRAG_STATE, 4
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWinsMax
setvar VAR_LINK_WIN_BRAG_STATE, 4
msgbox FourIsland_House2_Text_WowLinkWinsHighest
goto FourIsland_House2_EventScript_BraggedLinkWins
end
FourIsland_House2_EventScript_AlreadyBraggedLinkWins:: @ 81B2DD1
msgbox FourIsland_House2_Text_ComeBackWithBetterStoryLinkWins
release
end
FourIsland_House2_EventScript_AlreadyBraggedLinkWinsMax:: @ 81B2DDB
msgbox FourIsland_House2_Text_LivingLegendLinkWins
release
end
FourIsland_House2_EventScript_BraggedLinkWins:: @ 81B2DE5
textcolor 3
playfanfare MUS_LEVEL_UP
message FourIsland_House2_Text_VictoryStickerApplied
waitmessage
waitfanfare
delay 90
release
end
FourIsland_House2_EventScript_QuitBrag:: @ 81B2DF6
release
end
|