pokecrystal/maps/CherrygrovePokecenter1F.asm

86 lines
2.2 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const CHERRYGROVEPOKECENTER1F_NURSE
const CHERRYGROVEPOKECENTER1F_FISHER
const CHERRYGROVEPOKECENTER1F_GENTLEMAN
const CHERRYGROVEPOKECENTER1F_TEACHER
CherrygrovePokecenter1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-02-28 21:50:43 +00:00
CherrygrovePokecenter1FNurseScript:
jumpstd PokecenterNurseScript
2017-12-18 00:48:04 +00:00
CherrygrovePokecenter1FFisherScript:
jumptextfaceplayer CherrygrovePokecenter1FFisherText
2017-12-18 00:48:04 +00:00
CherrygrovePokecenter1FGentlemanScript:
jumptextfaceplayer CherrygrovePokecenter1FGentlemanText
2018-02-28 21:50:43 +00:00
CherrygrovePokecenter1FTeacherScript:
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 .CommCenterOpen
writetext CherrygrovePokecenter1FTeacherText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-28 21:50:43 +00:00
.CommCenterOpen:
writetext CherrygrovePokecenter1FTeacherText_CommCenterOpen
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
CherrygrovePokecenter1FFisherText:
text "It's great. I can"
line "store any number"
para "of #MON, and"
line "it's all free."
done
2017-12-18 00:48:04 +00:00
CherrygrovePokecenter1FGentlemanText:
text "That PC is free"
line "for any trainer"
cont "to use."
done
2018-02-28 21:50:43 +00:00
CherrygrovePokecenter1FTeacherText:
text "The COMMUNICATION"
line "CENTER upstairs"
cont "was just built."
para "But they're still"
line "finishing it up."
done
2018-02-28 21:50:43 +00:00
CherrygrovePokecenter1FTeacherText_CommCenterOpen:
text "The COMMUNICATION"
line "CENTER upstairs"
cont "was just built."
para "I traded #MON"
line "there already!"
done
CherrygrovePokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 3, 7, CHERRYGROVE_CITY, 2
warp_event 4, 7, CHERRYGROVE_CITY, 2
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
db 0 ; bg events
db 4 ; object events
2018-02-28 21:50:43 +00:00
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FNurseScript, -1
2018-02-02 03:22:07 +00:00
object_event 2, 3, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FFisherScript, -1
object_event 8, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FGentlemanScript, -1
2018-02-28 21:50:43 +00:00
object_event 1, 6, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FTeacherScript, -1