pokecrystal-board/maps/CianwoodPokecenter1F.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

156 lines
3.0 KiB
NASM

const_value set 2
const CIANWOODPOKECENTER1F_NURSE
const CIANWOODPOKECENTER1F_LASS
const CIANWOODPOKECENTER1F_GYM_GUY
const CIANWOODPOKECENTER1F_SUPER_NERD
CianwoodPokecenter1F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
NurseScript_0x9dbcf:
jumpstd pokecenternurse
CianwoodPokecenter1FLassScript:
jumptextfaceplayer CianwoodPokecenter1FLassText
CianwoodGymGuyScript:
faceplayer
checkevent EVENT_BEAT_CHUCK
iftrue .CianwoodGymGuyWinScript
opentext
writetext CianwoodGymGuyText
waitbutton
closetext
end
.CianwoodGymGuyWinScript:
opentext
writetext CianwoodGymGuyWinText
waitbutton
closetext
end
CianwoodPokecenter1FSuperNerdScript:
jumptextfaceplayer CianwoodPokecenter1FSuperNerdText
CianwoodPokecenter1FLassText:
text "Did you meet the"
line "#MANIAC?"
para "He's always brag-"
line "ging about his"
cont "rare #MON."
done
CianwoodGymGuyText:
text "The #MON GYM"
line "trainers here are"
cont "macho bullies."
para "If I stick around,"
line "they might come"
cont "after me."
para "Here's some ad-"
line "vice: the GYM"
para "LEADER uses the"
line "fighting-type."
para "So you should"
line "confound him with"
cont "psychic #MON."
para "Wipe out his #-"
line "MON before they"
para "can use their"
line "physical strength."
para "And those boulders"
line "in the middle of"
cont "the GYM?"
para "If you don't move"
line "them correctly,"
para "you won't reach"
line "the GYM LEADER."
para "If you get stuck,"
line "go outside."
done
CianwoodGymGuyWinText:
text "<PLAYER>! You won!"
line "I could tell by"
cont "looking at you!"
done
UnknownText_0x9ddf2:
text "Don't you get the"
line "urge to show off"
para "your #MON to"
line "friends?"
para "I wish I could"
line "show the #MON I"
para "raised to my pal"
line "in VIOLET."
done
UnknownText_0x9de66:
text "I've been battling"
line "my pal in VIOLET"
para "using a MOBILE"
line "ADAPTER link."
para "I'm down 5-7"
line "against him. I've"
cont "gotta crank it up!"
done
CianwoodPokecenter1FSuperNerdText:
text "I love showing off"
line "the #MON that"
para "I've raised."
line "Don't you?"
para "I'm going to get"
line "into a bunch of"
para "battles, and show"
line "off my #MON!"
done
CianwoodPokecenter1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $7, $3, 3, CIANWOOD_CITY
warp_def $7, $4, 3, CIANWOOD_CITY
warp_def $7, $0, 1, POKECENTER_2F
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 4
object_event SPRITE_NURSE, 1, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x9dbcf, -1
object_event SPRITE_LASS, 5, 1, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CianwoodPokecenter1FLassScript, -1
object_event SPRITE_GYM_GUY, 3, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CianwoodGymGuyScript, -1
object_event SPRITE_SUPER_NERD, 6, 8, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CianwoodPokecenter1FSuperNerdScript, -1