mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
254 lines
4.4 KiB
NASM
254 lines
4.4 KiB
NASM
CeladonCafe_MapScriptHeader: ; 0x73047
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
; 0x73049
|
|
|
|
SuperNerdScript_0x73049: ; 0x73049
|
|
faceplayer
|
|
loadfont
|
|
2writetext UnknownText_0x730de
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
; 0x73051
|
|
|
|
FisherScript_0x73051: ; 0x73051
|
|
loadfont
|
|
2writetext UnknownText_0x73129
|
|
closetext
|
|
loadmovesprites
|
|
faceplayer
|
|
loadfont
|
|
2writetext UnknownText_0x7313a
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $3, $2
|
|
end
|
|
; 0x73062
|
|
|
|
FisherScript_0x73062: ; 0x73062
|
|
loadfont
|
|
2writetext UnknownText_0x7316a
|
|
closetext
|
|
loadmovesprites
|
|
faceplayer
|
|
loadfont
|
|
2writetext UnknownText_0x73178
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $4, $3
|
|
end
|
|
; 0x73073
|
|
|
|
FisherScript_0x73073: ; 0x73073
|
|
loadfont
|
|
2writetext UnknownText_0x731ae
|
|
closetext
|
|
loadmovesprites
|
|
faceplayer
|
|
loadfont
|
|
2writetext UnknownText_0x731bd
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $5, $3
|
|
end
|
|
; 0x73084
|
|
|
|
TeacherScript_0x73084: ; 0x73084
|
|
checkitem COIN_CASE
|
|
iftrue UnknownScript_0x7309a
|
|
loadfont
|
|
2writetext UnknownText_0x73201
|
|
closetext
|
|
loadmovesprites
|
|
faceplayer
|
|
loadfont
|
|
2writetext UnknownText_0x73212
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $6, $2
|
|
end
|
|
; 0x7309a
|
|
|
|
UnknownScript_0x7309a: ; 0x7309a
|
|
loadfont
|
|
2writetext UnknownText_0x73254
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $6, $3
|
|
loadfont
|
|
2writetext UnknownText_0x73278
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $6, $2
|
|
end
|
|
; 0x730ad
|
|
|
|
MapCeladonCafeSignpost0Script: ; 0x730ad
|
|
jumptext UnknownText_0x73285
|
|
; 0x730b0
|
|
|
|
MapCeladonCafeSignpost1Script: ; 0x730b0
|
|
checkevent EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
|
|
iftrue UnknownScript_0x730db
|
|
giveitem LEFTOVERS, $1
|
|
iffalse UnknownScript_0x730cd
|
|
loadfont
|
|
itemtotext LEFTOVERS, $0
|
|
2writetext UnknownText_0x732e7
|
|
playsound SFX_ITEM
|
|
waitbutton
|
|
itemnotify
|
|
loadmovesprites
|
|
setevent EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
|
|
end
|
|
; 0x730cd
|
|
|
|
UnknownScript_0x730cd: ; 0x730cd
|
|
loadfont
|
|
itemtotext LEFTOVERS, $0
|
|
2writetext UnknownText_0x732e7
|
|
keeptextopen
|
|
2writetext UnknownText_0x732f7
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
; 0x730db
|
|
|
|
UnknownScript_0x730db: ; 0x730db
|
|
jumpstd $000d
|
|
; 0x730de
|
|
|
|
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
|
|
|
|
UnknownText_0x73285: ; 0x73285
|
|
text "Eatathon Contest!"
|
|
line "No time limit!"
|
|
|
|
para "A battle without"
|
|
line "end! The biggest"
|
|
|
|
para "muncher gets it"
|
|
line "all for free!"
|
|
done
|
|
; 0x732e7
|
|
|
|
UnknownText_0x732e7: ; 0x732e7
|
|
text $52, " found"
|
|
line "@"
|
|
text_from_ram $d099
|
|
text "!"
|
|
done
|
|
; 0x732f7
|
|
|
|
UnknownText_0x732f7: ; 0x732f7
|
|
text "But ", $52, " can't"
|
|
line "hold another item…"
|
|
done
|
|
; 0x73316
|
|
|
|
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, MapCeladonCafeSignpost0Script
|
|
signpost 1, 7, $0, MapCeladonCafeSignpost1Script
|
|
|
|
; 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
|
|
; 0x73371
|
|
|