pokecrystal-board/maps/VermilionPokecenter1F.asm
2018-02-28 16:50:43 -05:00

94 lines
2.4 KiB
NASM

const_def 2 ; object constants
const VERMILIONPOKECENTER1F_NURSE
const VERMILIONPOKECENTER1F_FISHING_GURU
const VERMILIONPOKECENTER1F_SAILOR
const VERMILIONPOKECENTER1F_BUG_CATCHER
VermilionPokecenter1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
VermilionPokecenter1FNurseScript:
jumpstd pokecenternurse
VermilionPokecenter1FFishingGuruScript:
faceplayer
opentext
checkevent EVENT_FOUGHT_SNORLAX
iftrue .FoughtSnorlax
writetext VermilionPokecenter1FFishingGuruText
waitbutton
closetext
end
.FoughtSnorlax:
writetext VermilionPokecenter1FFishingGuruText_FoughtSnorlax
waitbutton
closetext
end
VermilionPokecenter1FSailorScript:
jumptextfaceplayer VermilionPokecenter1FSailorText
VermilionPokecenter1FBugCatcherScript:
jumptextfaceplayer VermilionPokecenter1FBugCatcherText
VermilionPokecenter1FFishingGuruText:
text "A sleeping #MON"
line "is lying in front"
cont "of DIGLETT'S CAVE."
para "It's a fantastic"
line "opportunity to get"
para "it, but how do you"
line "wake it up?"
done
VermilionPokecenter1FFishingGuruText_FoughtSnorlax:
text "There used to be a"
line "sleeping #MON"
para "lying in front of"
line "DIGLETT'S CAVE."
para "But it seems to"
line "have disappeared."
done
VermilionPokecenter1FSailorText:
text "The FAST SHIP is a"
line "great place to"
para "meet and battle"
line "trainers."
done
VermilionPokecenter1FBugCatcherText:
text "Oh? You have some"
line "BADGES I've never"
cont "seen before."
para "Oh, I get it. You"
line "got them in JOHTO."
done
VermilionPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
warp_event 3, 7, VERMILION_CITY, 2
warp_event 4, 7, VERMILION_CITY, 2
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
db 0 ; bg events
db 4 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPokecenter1FNurseScript, -1
object_event 7, 2, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VermilionPokecenter1FFishingGuruScript, -1
object_event 6, 5, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, VermilionPokecenter1FSailorScript, -1
object_event 1, 5, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VermilionPokecenter1FBugCatcherScript, -1