pokecrystal-board/maps/CinnabarIsland.asm

151 lines
2.5 KiB
NASM
Raw Normal View History

2015-06-25 21:01:08 -07:00
CinnabarIsland_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
2015-06-25 22:30:16 -07:00
dbw 5, .FlyPoint
2015-06-25 22:30:16 -07:00
.FlyPoint
setflag ENGINE_FLYPOINT_CINNABAR
return
2015-06-25 21:01:08 -07:00
CinnabarIslandBlue:
faceplayer
loadfont
2015-06-25 21:01:08 -07:00
writetext CinnabarIslandBlueText
closetext
loadmovesprites
playsound SFX_WARP_TO
2015-06-25 21:01:08 -07:00
applymovement $2, CinnabarIslandBlueTeleport
disappear $2
clearevent EVENT_776
end
2015-06-25 21:01:08 -07:00
CinnabarIslandGymSign:
jumptext CinnabarIslandGymSignText
2015-06-25 21:01:08 -07:00
CinnabarIslandSign:
jumptext CinnabarIslandSignText
2015-06-25 21:01:08 -07:00
CinnabarIslandPokeCenterSign:
2015-06-23 14:02:58 -07:00
jumpstd pokecentersign
2015-06-25 21:01:08 -07:00
MapCinnabarIslandSignpostItem3:
dw $00fe
db RARE_CANDY
2015-06-25 21:01:08 -07:00
CinnabarIslandBlueTeleport:
teleport_from
step_end
2015-06-25 21:01:08 -07:00
CinnabarIslandBlueText:
text "Who are you?"
para "Well, it's plain"
line "to see that you're"
cont "a trainer…"
para "My name's BLUE."
para "I was once the"
line "CHAMPION, although"
para "it was for only a"
line "short time…"
para "That meddling RED"
line "did me in…"
para "Anyway, what do"
line "you want? You want"
para "to challenge me or"
line "something?"
para "…I hate to say"
line "it, but I'm not in"
para "the mood for a"
line "battle now."
para "Take a good look"
line "around you…"
para "A volcano erupts,"
line "and just like"
para "that, a whole town"
line "disappears."
para "We can go on win-"
line "ning and losing in"
para "#MON. But if"
line "nature so much as"
para "twitches, we can"
line "lose in a second."
para "…"
para "That's the way it"
line "is…"
para "But, anyway, I'm"
line "still a trainer."
para "If I see a strong"
line "opponent, it makes"
cont "me want to battle."
para "If you want to"
line "battle me, come to"
cont "the VIRIDIAN GYM."
para "I'll take you on"
line "then."
done
2015-06-25 21:01:08 -07:00
CinnabarIslandGymSignText:
text "There's a notice"
line "here…"
para "CINNABAR GYM has"
line "relocated to SEA-"
cont "FOAM ISLANDS."
para "BLAINE"
done
2015-06-25 21:01:08 -07:00
CinnabarIslandSignText:
text "CINNABAR ISLAND"
para "The Fiery Town of"
line "Burning Desire"
done
2015-06-25 21:01:08 -07:00
CinnabarIsland_MapEventHeader:
; filler
db 0, 0
; warps
db 1
warp_def $b, $b, 1, GROUP_CINNABAR_POKECENTER_1F, MAP_CINNABAR_POKECENTER_1F
; xy triggers
db 0
; signposts
db 4
signpost 11, 12, SIGNPOST_READ, CinnabarIslandPokeCenterSign
signpost 11, 9, SIGNPOST_READ, CinnabarIslandGymSign
signpost 7, 7, SIGNPOST_READ, CinnabarIslandSign
signpost 1, 9, SIGNPOST_ITEMIFSET, MapCinnabarIslandSignpostItem3
; people-events
db 1
person_event SPRITE_BLUE, 10, 13, DOWN << 2 | $3, $0, -1, -1, $0, 0, CinnabarIslandBlue, EVENT_BLUE_IN_CINNABAR