pokecrystal-board/maps/Route10Pokecenter1F.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

105 lines
2.2 KiB
NASM

const_value set 2
const ROUTE10POKECENTER1F_NURSE
const ROUTE10POKECENTER1F_GENTLEMAN
const ROUTE10POKECENTER1F_GYM_GUY
const ROUTE10POKECENTER1F_COOLTRAINER_F
Route10Pokecenter1F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
NurseScript_0x188bd4:
jumpstd pokecenternurse
Route10Pokecenter1FGentlemanScript:
jumptextfaceplayer Route10Pokecenter1FGentlemanText
GymGuyScript_0x188bda:
faceplayer
opentext
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188be8
writetext UnknownText_0x188c26
waitbutton
closetext
end
UnknownScript_0x188be8:
writetext UnknownText_0x188c9e
waitbutton
closetext
end
Route10Pokecenter1FCooltrainerFScript:
jumptextfaceplayer Route10Pokecenter1FCooltrainerFText
Route10Pokecenter1FGentlemanText:
text "A #MON CENTER"
line "near a cave?"
para "That's mighty"
line "convenient."
done
UnknownText_0x188c26:
text "The POWER PLANT's"
line "MANAGER is looking"
para "for a strong #-"
line "MON trainer."
para "He needs help"
line "getting back"
para "something that"
line "was stolen."
done
UnknownText_0x188c9e:
text "I hear TEAM ROCKET"
line "got back together"
para "in JOHTO but fell"
line "apart right away."
para "I didn't know any-"
line "thing about that."
done
Route10Pokecenter1FCooltrainerFText:
text "When you go out-"
line "side, you can see"
para "the roof of a big"
line "building."
para "That's the POWER"
line "PLANT."
done
Route10Pokecenter1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $7, $3, 1, ROUTE_10_NORTH
warp_def $7, $4, 1, ROUTE_10_NORTH
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_0x188bd4, -1
object_event SPRITE_GENTLEMAN, 6, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route10Pokecenter1FGentlemanScript, -1
object_event SPRITE_GYM_GUY, 2, 7, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GymGuyScript_0x188bda, -1
object_event SPRITE_COOLTRAINER_F, 3, 1, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route10Pokecenter1FCooltrainerFScript, -1