pokecrystal/maps/CherrygroveMart.asm

94 lines
1.8 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const CHERRYGROVEMART_CLERK
const CHERRYGROVEMART_COOLTRAINER_M
const CHERRYGROVEMART_YOUNGSTER
2015-07-10 08:45:35 +00:00
CherrygroveMart_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:45:35 +00:00
ClerkScript_0x19680a:
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x196817
2015-11-02 22:38:08 +00:00
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE
2015-11-25 15:16:29 +00:00
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x196817:
2015-11-02 22:38:08 +00:00
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE_DEX
2015-11-25 15:16:29 +00:00
closetext
end
2015-07-10 08:45:35 +00:00
CooltrainerMScript_0x19681d:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x19682b
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x196834
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x19682b:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x196873
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
YoungsterScript_0x196831:
jumptextfaceplayer UnknownText_0x1968a0
2015-07-10 08:45:35 +00:00
UnknownText_0x196834:
text "They're fresh out"
line "of # BALLS!"
para "When will they get"
line "more of them?"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x196873:
text "# BALLS are in"
line "stock! Now I can"
cont "catch #MON!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x1968a0:
text "When I was walking"
line "in the grass, a"
para "bug #MON poi-"
line "soned my #MON!"
para "I just kept going,"
line "but then my"
cont "#MON fainted."
para "You should keep an"
line "ANTIDOTE with you."
done
2015-07-10 08:45:35 +00:00
CherrygroveMart_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 1, CHERRYGROVE_CITY
warp_def $7, $3, 1, CHERRYGROVE_CITY
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 3
person_event SPRITE_CLERK, 3, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ClerkScript_0x19680a, -1
person_event SPRITE_COOLTRAINER_M, 6, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CooltrainerMScript_0x19681d, -1
2017-12-11 01:50:08 +00:00
person_event SPRITE_YOUNGSTER, 5, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, YoungsterScript_0x196831, -1