pokecrystal/maps/CeladonCafe.asm

227 lines
3.9 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
CeladonCafe_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:45:35 +00:00
SuperNerdScript_0x73049:
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x730de
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
FisherScript_0x73051:
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x73129
closetext
loadmovesprites
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7313a
closetext
loadmovesprites
spriteface $3, LEFT
end
2015-07-10 08:45:35 +00:00
FisherScript_0x73062:
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7316a
closetext
loadmovesprites
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x73178
closetext
loadmovesprites
spriteface $4, RIGHT
end
2015-07-10 08:45:35 +00:00
FisherScript_0x73073:
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x731ae
closetext
loadmovesprites
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x731bd
closetext
loadmovesprites
spriteface $5, RIGHT
end
2015-07-10 08:45:35 +00:00
TeacherScript_0x73084:
checkitem COIN_CASE
iftrue UnknownScript_0x7309a
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x73201
closetext
loadmovesprites
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x73212
closetext
loadmovesprites
spriteface $6, LEFT
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x7309a:
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x73254
closetext
loadmovesprites
spriteface $6, RIGHT
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x73278
closetext
loadmovesprites
spriteface $6, LEFT
end
2015-06-26 04:01:08 +00:00
EatathonContestPoster:
jumptext EatathonContestPosterText
2015-06-26 04:01:08 +00:00
CeladonCafeTrashcan:
2013-09-24 07:48:58 +00:00
checkevent EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
2015-06-26 04:01:08 +00:00
iftrue .TrashEmpty
giveitem LEFTOVERS, $1
2015-06-26 04:01:08 +00:00
iffalse .PackFull
loadfont
itemtotext LEFTOVERS, $0
2015-06-26 04:01:08 +00:00
writetext FoundLeftoversText
playsound SFX_ITEM
waitbutton
itemnotify
loadmovesprites
2013-09-24 07:48:58 +00:00
setevent EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
end
2015-06-26 04:01:08 +00:00
.PackFull
loadfont
itemtotext LEFTOVERS, $0
2015-06-26 04:01:08 +00:00
writetext FoundLeftoversText
keeptextopen
2015-06-26 04:01:08 +00:00
writetext NoRoomForLeftoversText
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
.TrashEmpty
2015-06-23 21:02:58 +00:00
jumpstd trashcan
2015-07-10 08:45:35 +00:00
UnknownText_0x730de:
text "Hi!"
para "We're holding an"
line "eatathon contest."
para "We can't serve you"
line "right now. Sorry."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x73129:
text "…Snarfle, chew…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x7313a:
text "Don't talk to me!"
para "You'll break my"
line "concentration!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x7316a:
text "…Gulp… Chew…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x73178:
text "I take quantity"
line "over quality!"
para "I'm happy when I'm"
line "full!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x731ae:
text "Munch, munch…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x731bd:
text "The food is good"
line "here, but GOLDEN-"
cont "ROD has the best"
cont "food anywhere."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x73201:
text "Crunch… Crunch…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x73212:
text "Nobody here will"
line "give you a COIN"
para "CASE. You should"
line "look in JOHTO."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x73254:
text "Crunch… Crunch…"
para "I can keep eating!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x73278:
text "More, CHEF!"
done
2015-06-26 04:01:08 +00:00
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
2015-06-26 04:01:08 +00:00
FoundLeftoversText:
text "<PLAYER> found"
line "@"
2015-02-10 23:37:24 +00:00
text_from_ram StringBuffer3
text "!"
done
2015-06-26 04:01:08 +00:00
NoRoomForLeftoversText:
text "But <PLAYER> can't"
line "hold another item…"
done
2015-07-10 08:45:35 +00:00
CeladonCafe_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $6, 9, CELADON_CITY
warp_def $7, $7, 9, CELADON_CITY
.XYTriggers:
db 0
.Signposts:
db 2
signpost 0, 5, SIGNPOST_READ, EatathonContestPoster
signpost 1, 7, SIGNPOST_READ, CeladonCafeTrashcan
.PersonEvents:
db 5
person_event SPRITE_SUPER_NERD, 3 + 4, 9 + 4, $8, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 0, 0, SuperNerdScript_0x73049, -1
person_event SPRITE_FISHER, 6 + 4, 4 + 4, $8, 0, 0, -1, -1, 0, 0, 0, FisherScript_0x73051, -1
person_event SPRITE_FISHER, 7 + 4, 1 + 4, $9, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, FisherScript_0x73062, -1
person_event SPRITE_FISHER, 2 + 4, 1 + 4, $9, 0, 0, -1, -1, 0, 0, 0, FisherScript_0x73073, -1
person_event SPRITE_TEACHER, 3 + 4, 4 + 4, $8, 0, 0, -1, -1, 0, 0, 0, TeacherScript_0x73084, -1