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
|
CeladonCafe_MapScriptHeader: ; 0x73047
; trigger count
db 0
; callback count
db 0
; 0x73049
SuperNerdScript_0x73049: ; 0x73049
faceplayer
loadfont
writetext UnknownText_0x730de
closetext
loadmovesprites
end
; 0x73051
FisherScript_0x73051: ; 0x73051
loadfont
writetext UnknownText_0x73129
closetext
loadmovesprites
faceplayer
loadfont
writetext UnknownText_0x7313a
closetext
loadmovesprites
spriteface $3, LEFT
end
; 0x73062
FisherScript_0x73062: ; 0x73062
loadfont
writetext UnknownText_0x7316a
closetext
loadmovesprites
faceplayer
loadfont
writetext UnknownText_0x73178
closetext
loadmovesprites
spriteface $4, RIGHT
end
; 0x73073
FisherScript_0x73073: ; 0x73073
loadfont
writetext UnknownText_0x731ae
closetext
loadmovesprites
faceplayer
loadfont
writetext UnknownText_0x731bd
closetext
loadmovesprites
spriteface $5, RIGHT
end
; 0x73084
TeacherScript_0x73084: ; 0x73084
checkitem COIN_CASE
iftrue UnknownScript_0x7309a
loadfont
writetext UnknownText_0x73201
closetext
loadmovesprites
faceplayer
loadfont
writetext UnknownText_0x73212
closetext
loadmovesprites
spriteface $6, LEFT
end
; 0x7309a
UnknownScript_0x7309a: ; 0x7309a
loadfont
writetext UnknownText_0x73254
closetext
loadmovesprites
spriteface $6, RIGHT
loadfont
writetext UnknownText_0x73278
closetext
loadmovesprites
spriteface $6, LEFT
end
; 0x730ad
EatathonContestPoster:
jumptext EatathonContestPosterText
CeladonCafeTrashcan:
checkevent EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
iftrue .TrashEmpty
giveitem LEFTOVERS, $1
iffalse .PackFull
loadfont
itemtotext LEFTOVERS, $0
writetext FoundLeftoversText
playsound SFX_ITEM
waitbutton
itemnotify
loadmovesprites
setevent EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
end
.PackFull
loadfont
itemtotext LEFTOVERS, $0
writetext FoundLeftoversText
keeptextopen
writetext NoRoomForLeftoversText
closetext
loadmovesprites
end
.TrashEmpty
jumpstd trashcan
UnknownText_0x730de: ; 0x730de
text "Hi!"
para "We're holding an"
line "eatathon contest."
para "We can't serve you"
line "right now. Sorry."
done
; 0x73129
UnknownText_0x73129: ; 0x73129
text "…Snarfle, chew…"
done
; 0x7313a
UnknownText_0x7313a: ; 0x7313a
text "Don't talk to me!"
para "You'll break my"
line "concentration!"
done
; 0x7316a
UnknownText_0x7316a: ; 0x7316a
text "…Gulp… Chew…"
done
; 0x73178
UnknownText_0x73178: ; 0x73178
text "I take quantity"
line "over quality!"
para "I'm happy when I'm"
line "full!"
done
; 0x731ae
UnknownText_0x731ae: ; 0x731ae
text "Munch, munch…"
done
; 0x731bd
UnknownText_0x731bd: ; 0x731bd
text "The food is good"
line "here, but GOLDEN-"
cont "ROD has the best"
cont "food anywhere."
done
; 0x73201
UnknownText_0x73201: ; 0x73201
text "Crunch… Crunch…"
done
; 0x73212
UnknownText_0x73212: ; 0x73212
text "Nobody here will"
line "give you a COIN"
para "CASE. You should"
line "look in JOHTO."
done
; 0x73254
UnknownText_0x73254: ; 0x73254
text "Crunch… Crunch…"
para "I can keep eating!"
done
; 0x73278
UnknownText_0x73278: ; 0x73278
text "More, CHEF!"
done
; 0x73285
EatathonContestPosterText:
text "Eatathon Contest!"
line "No time limit!"
para "A battle without"
line "end! The biggest"
para "muncher gets it"
line "all for free!"
done
FoundLeftoversText:
text "<PLAYER> found"
line "@"
text_from_ram StringBuffer3
text "!"
done
NoRoomForLeftoversText:
text "But <PLAYER> can't"
line "hold another item…"
done
CeladonCafe_MapEventHeader: ; 0x73316
; filler
db 0, 0
; warps
db 2
warp_def $7, $6, 9, GROUP_CELADON_CITY, MAP_CELADON_CITY
warp_def $7, $7, 9, GROUP_CELADON_CITY, MAP_CELADON_CITY
; xy triggers
db 0
; signposts
db 2
signpost 0, 5, $0, EatathonContestPoster
signpost 1, 7, $0, CeladonCafeTrashcan
; people-events
db 5
person_event SPRITE_SUPER_NERD, 7, 13, $8, $0, 255, 255, $b0, 0, SuperNerdScript_0x73049, $ffff
person_event SPRITE_FISHER, 10, 8, $8, $0, 255, 255, $0, 0, FisherScript_0x73051, $ffff
person_event SPRITE_FISHER, 11, 5, $9, $0, 255, 255, $a0, 0, FisherScript_0x73062, $ffff
person_event SPRITE_FISHER, 6, 5, $9, $0, 255, 255, $0, 0, FisherScript_0x73073, $ffff
person_event SPRITE_TEACHER, 7, 8, $8, $0, 255, 255, $0, 0, TeacherScript_0x73084, $ffff
|