2019-04-21 21:42:25 +00:00
|
|
|
object_const_def ; object_event constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const CHERRYGROVEMART_CLERK
|
|
|
|
const CHERRYGROVEMART_COOLTRAINER_M
|
|
|
|
const CHERRYGROVEMART_YOUNGSTER
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
CherrygroveMart_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
CherrygroveMartClerkScript:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
2018-02-28 21:50:43 +00:00
|
|
|
iftrue .PokeBallsInStock
|
2015-11-02 22:38:08 +00:00
|
|
|
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
.PokeBallsInStock:
|
2015-11-02 22:38:08 +00:00
|
|
|
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE_DEX
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
CherrygroveMartCooltrainerMScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
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
|
2018-02-28 21:50:43 +00:00
|
|
|
iftrue .PokeBallsInStock
|
|
|
|
writetext CherrygroveMartCooltrainerMText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
.PokeBallsInStock:
|
|
|
|
writetext CherrygroveMartCooltrainerMText_PokeBallsInStock
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
CherrygroveMartYoungsterScript:
|
|
|
|
jumptextfaceplayer CherrygroveMartYoungsterText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
CherrygroveMartCooltrainerMText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "They're fresh out"
|
|
|
|
line "of # BALLS!"
|
|
|
|
|
|
|
|
para "When will they get"
|
|
|
|
line "more of them?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
CherrygroveMartCooltrainerMText_PokeBallsInStock:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "# BALLS are in"
|
|
|
|
line "stock! Now I can"
|
|
|
|
cont "catch #MON!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
CherrygroveMartYoungsterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
CherrygroveMart_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 2, 7, CHERRYGROVE_CITY, 1
|
|
|
|
warp_event 3, 7, CHERRYGROVE_CITY, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; bg events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 3 ; object events
|
2018-02-28 21:50:43 +00:00
|
|
|
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveMartClerkScript, -1
|
|
|
|
object_event 7, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveMartCooltrainerMScript, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygroveMartYoungsterScript, -1
|