pokecrystal-board/maps/CeladonPokecenter1F.asm

164 lines
3.4 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const CELADONPOKECENTER1F_NURSE
const CELADONPOKECENTER1F_GENTLEMAN
const CELADONPOKECENTER1F_PHARMACIST
const CELADONPOKECENTER1F_COOLTRAINER_F
2016-04-07 03:13:59 -07:00
const CELADONPOKECENTER1F_EUSINE
2015-11-26 21:22:14 -08:00
CeladonPokecenter1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-02-28 13:50:43 -08:00
CeladonPokecenter1FNurseScript:
jumpstd pokecenternurse
2018-02-28 13:50:43 -08:00
CeladonPokecenter1FGentlemanScript:
jumpstd happinesschecknpc
2017-12-17 16:48:04 -08:00
CeladonPokecenter1FCooltrainerFScript:
jumptextfaceplayer CeladonPokecenter1FCooltrainerFText
2017-12-17 16:48:04 -08:00
CeladonPokecenter1FPharmacistScript:
jumptextfaceplayer CeladonPokecenter1FPharmacistText
2016-04-07 03:13:59 -07:00
CeladonEusine:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2016-04-07 03:13:59 -07:00
writetext CeladonEusineText1
2015-11-29 19:29:45 -08:00
buttonsound
setval SUICUNE
special MonCheck
2016-04-07 03:13:59 -07:00
iffalse .NoSuicune
special BeastsCheck
2016-04-07 03:13:59 -07:00
iftrue .HoOh
writetext NoBeastsText
2015-11-25 07:16:29 -08:00
waitbutton
.NoSuicune:
2015-11-25 07:16:29 -08:00
closetext
end
.HoOh:
2016-04-07 03:13:59 -07:00
writetext EusineLeavesCeladonText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
readvar VAR_FACING
2018-02-02 18:09:17 -08:00
ifequal UP, .Location1
2016-04-07 03:13:59 -07:00
applymovement CELADONPOKECENTER1F_EUSINE, .Movement1
sjump .Continue
2016-04-07 03:13:59 -07:00
.Location1:
2016-04-07 03:13:59 -07:00
applymovement CELADONPOKECENTER1F_EUSINE, .Movement2
.Continue:
2016-04-07 03:13:59 -07:00
disappear CELADONPOKECENTER1F_EUSINE
playsound SFX_EXIT_BUILDING
2015-11-25 07:16:29 -08:00
waitsfx
end
.Movement2:
2016-05-14 10:46:14 -07:00
step LEFT
step DOWN
step DOWN
step DOWN
step DOWN
step_end
.Movement1:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2017-12-17 16:48:04 -08:00
CeladonPokecenter1FCooltrainerFText:
text "ERIKA is a master"
line "of grass #MON."
para "She'll make you"
line "pay if you don't"
cont "watch yourself."
done
2017-12-17 16:48:04 -08:00
CeladonPokecenter1FPharmacistText:
text "TEAM ROCKET's"
line "hideout is in the"
para "basement of the"
line "GAME CORNER."
para "Oh, wait. That was"
line "three years ago."
done
2016-04-07 03:13:59 -07:00
CeladonEusineText1:
text "EUSINE: Hi!"
para "I'm back visiting"
line "my hometown."
para "It's been quite a"
line "while."
done
2016-04-07 03:13:59 -07:00
EusineLeavesCeladonText:
text "<PLAYER>, have you"
line "heard?"
para "There have been"
line "fresh rumors of a"
para "rainbow-colored"
line "#MON appearing"
cont "at TIN TOWER."
para "I've just had my"
line "party healed, so"
para "now I'm headed to"
line "ECRUTEAK."
para "I'll be seeing"
line "you, <PLAYER>!"
done
2016-04-07 03:13:59 -07:00
NoBeastsText:
text "Oh, by the way,"
line "<PLAYER>."
para "Have you caught"
line "the legendary"
para "#MON RAIKOU and"
line "ENTEI?"
2018-01-18 23:30:19 -08:00
para "<……><……><……>"
para "Okay…"
para "If you catch even"
line "one, I hope that"
cont "you'll inform me."
para "I'm counting on"
line "you, <PLAYER>!"
done
CeladonPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 3, 7, CELADON_CITY, 5
warp_event 4, 7, CELADON_CITY, 5
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
db 0 ; bg events
db 5 ; object events
2018-02-28 13:50:43 -08:00
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FNurseScript, -1
object_event 1, 5, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FGentlemanScript, -1
2018-02-01 19:22:07 -08:00
object_event 0, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FPharmacistScript, -1
object_event 8, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FCooltrainerFScript, -1
object_event 4, 3, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonEusine, EVENT_SET_WHEN_FOUGHT_HO_OH