2015-07-10 08:45:35 +00:00
|
|
|
CeladonGameCorner_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ClerkScript_0x7211d:
|
2015-07-12 06:00:17 +00:00
|
|
|
jumpstd gamecornercoinvendor
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ReceptionistScript_0x72120:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x721d0
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
PokefanMScript_0x72123:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x72215
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $4, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
TeacherScript_0x7212e:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x72242
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $5, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
FishingGuruScript_0x72139:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x72295
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $6, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
FisherScript_0x72144:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue .UnknownScript_0x72169
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x722dc
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
|
|
|
checkitem COIN_CASE
|
|
|
|
iffalse UnknownScript_0x7217b
|
|
|
|
checkcoins 9998
|
|
|
|
if_equal $0, UnknownScript_0x72184
|
|
|
|
stringtotext .coinname, $1
|
2015-01-20 08:01:23 +00:00
|
|
|
scall .UnknownScript_0x72172
|
2013-02-17 06:54:07 +00:00
|
|
|
givecoins 18
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
2015-07-10 08:45:35 +00:00
|
|
|
.UnknownScript_0x72169
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x72345
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $fe, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
.UnknownScript_0x72172
|
2015-07-12 06:00:17 +00:00
|
|
|
jumpstd receiveitem
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
.coinname
|
2013-02-17 06:54:07 +00:00
|
|
|
db "COIN@"
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x7217b:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7238a
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $fe, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x72184:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x723d9
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $fe, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
CeladonGymGuyScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer CeladonGymGuyText
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GrampsScript_0x72190:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x724ad
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $a, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapCeladonGameCornerSignpost36Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x724f3
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapCeladonGameCornerSignpost37Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x72521
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapCeladonGameCornerSignpost35Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
random $6
|
|
|
|
if_equal $0, MapCeladonGameCornerSignpost16Script
|
|
|
|
refreshscreen $0
|
|
|
|
writebyte $0
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc373
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapCeladonGameCornerSignpost16Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $0
|
|
|
|
writebyte $1
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc373
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapCeladonGameCornerSignpost11Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $0
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc380
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapCeladonGameCornerSignpost32Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x7254f
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapCeladonGameCornerSignpost9Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x72567
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc380
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x721cd:
|
2014-07-19 20:11:41 +00:00
|
|
|
; Unreferenced.
|
|
|
|
step_right
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x721d0:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Welcome!"
|
|
|
|
|
|
|
|
para "You may exchange"
|
|
|
|
line "your coins for"
|
|
|
|
|
|
|
|
para "fabulous prizes"
|
|
|
|
line "next door."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x72215:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The slot machines"
|
|
|
|
line "are all state of"
|
|
|
|
cont "the art."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x72242:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's this machine"
|
|
|
|
line "I want."
|
|
|
|
|
|
|
|
para "It cleaned me out"
|
|
|
|
line "yesterday, so it"
|
|
|
|
|
|
|
|
para "should pay out"
|
|
|
|
line "today."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x72295:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I think this slot"
|
|
|
|
line "machine will pay"
|
|
|
|
cont "out…"
|
|
|
|
|
|
|
|
para "The odds vary"
|
|
|
|
line "among machines."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x722dc:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Gahahaha!"
|
|
|
|
|
|
|
|
para "The coins just"
|
|
|
|
line "keep popping out!"
|
|
|
|
|
|
|
|
para "Hm? What, kid? You"
|
|
|
|
line "want to play?"
|
|
|
|
|
|
|
|
para "I'll share my luck"
|
|
|
|
line "with you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x72345:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Gahahaha!"
|
|
|
|
|
|
|
|
para "It makes me feel"
|
|
|
|
line "good to do nice"
|
|
|
|
|
|
|
|
para "things for other"
|
|
|
|
line "people!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x7238a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey, you don't"
|
|
|
|
line "have a COIN CASE."
|
|
|
|
|
|
|
|
para "How am I supposed"
|
|
|
|
line "to give you any"
|
|
|
|
cont "coins, kid?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x723d9:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey, your COIN"
|
|
|
|
line "CASE is full, kid."
|
|
|
|
|
|
|
|
para "You must be riding"
|
|
|
|
line "a winning streak"
|
|
|
|
cont "too."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
CeladonGymGuyText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey! CHAMP in"
|
|
|
|
line "making!"
|
|
|
|
|
|
|
|
para "Are you playing"
|
|
|
|
line "the slots too?"
|
|
|
|
|
|
|
|
para "I'm trying to get"
|
|
|
|
line "enough coins for a"
|
|
|
|
cont "prize #MON."
|
|
|
|
|
|
|
|
para "But I don't have"
|
|
|
|
line "enough coins yet…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x724ad:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hmmm… The odds are"
|
|
|
|
line "surely better for"
|
|
|
|
|
|
|
|
para "PIKACHU's line,"
|
|
|
|
line "but… What to do?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x724f3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey!"
|
|
|
|
|
|
|
|
para "Underneath this"
|
|
|
|
line "poster…"
|
|
|
|
|
|
|
|
para "There's nothing!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x72521:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey!"
|
|
|
|
|
|
|
|
para "Underneath this"
|
|
|
|
line "poster…"
|
|
|
|
|
|
|
|
para "There's nothing!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x7254f:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There's a lighter"
|
|
|
|
line "here."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x72567:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A can of soda…"
|
|
|
|
|
|
|
|
para "Someone must be"
|
|
|
|
line "coming back…"
|
|
|
|
|
|
|
|
para "Huh? It's empty!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
CeladonGameCorner_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $d, $e, 6, GROUP_CELADON_CITY, MAP_CELADON_CITY
|
|
|
|
warp_def $d, $f, 6, GROUP_CELADON_CITY, MAP_CELADON_CITY
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 38
|
|
|
|
signpost 6, 1, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 7, 1, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 8, 1, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 9, 1, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 10, 1, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 11, 1, $4, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 6, 6, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 7, 6, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 8, 6, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 9, 6, $0, MapCeladonGameCornerSignpost9Script
|
|
|
|
signpost 10, 6, $0, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 11, 6, $3, MapCeladonGameCornerSignpost11Script
|
|
|
|
signpost 6, 7, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 7, 7, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 8, 7, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 9, 7, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 10, 7, $0, MapCeladonGameCornerSignpost16Script
|
|
|
|
signpost 11, 7, $4, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 6, 12, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 7, 12, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 8, 12, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 9, 12, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 10, 12, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 11, 12, $3, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 6, 13, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 7, 13, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 8, 13, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 9, 13, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 10, 13, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 11, 13, $4, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 6, 18, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 7, 18, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 8, 18, $0, MapCeladonGameCornerSignpost32Script
|
|
|
|
signpost 9, 18, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 10, 18, $0, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 11, 18, $3, MapCeladonGameCornerSignpost35Script
|
|
|
|
signpost 0, 15, $0, MapCeladonGameCornerSignpost36Script
|
|
|
|
signpost 0, 9, $0, MapCeladonGameCornerSignpost37Script
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 9
|
2015-07-12 06:00:17 +00:00
|
|
|
person_event SPRITE_CLERK, 6, 9, $6, $0, 255, 255, $a0, 0, ClerkScript_0x7211d, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_RECEPTIONIST, 6, 7, $6, $0, 255, 255, $a0, 0, ReceptionistScript_0x72120, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_POKEFAN_M, 14, 18, $8, $0, 255, 255, $80, 0, PokefanMScript_0x72123, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_TEACHER, 11, 21, $9, $0, 255, 255, $90, 0, TeacherScript_0x7212e, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_FISHING_GURU, 11, 15, $9, $0, 255, 255, $a0, 0, FishingGuruScript_0x72139, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_FISHER, 14, 12, $8, $0, 255, 2, $80, 0, FisherScript_0x72144, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_FISHER, 14, 12, $8, $0, 255, 4, $80, 0, FisherScript_0x72144, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_GYM_GUY, 7, 15, $6, $0, 255, 255, $80, 0, CeladonGymGuyScript, EVENT_ALWAYS_THERE
|
|
|
|
person_event SPRITE_GRAMPS, 12, 6, $8, $0, 255, 255, $a0, 0, GrampsScript_0x72190, EVENT_ALWAYS_THERE
|