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

80 lines
1.3 KiB
NASM

const_value set 2
const ROUTE6SAFFRONGATE_OFFICER
Route6SaffronGate_MapScriptHeader:
.SceneScripts:
db 1
scene_script .DummyScene
.MapCallbacks:
db 0
.DummyScene:
end
OfficerScript_0x1926ea:
faceplayer
opentext
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x1926f8
writetext UnknownText_0x1926fe
waitbutton
closetext
end
UnknownScript_0x1926f8:
writetext UnknownText_0x1927cb
waitbutton
closetext
end
UnknownText_0x1926fe:
text "Welcome to SAFFRON"
line "CITY, home of the"
cont "MAGNET TRAIN!"
para "…That's what I'd"
line "normally say, but"
para "the MAGNET TRAIN"
line "isn't running now."
para "It's not getting"
line "any electricity"
para "because there's"
line "something wrong"
para "with the POWER"
line "PLANT."
done
UnknownText_0x1927cb:
text "The MAGNET TRAIN"
line "is the most famous"
para "thing about SAF-"
line "FRON."
done
Route6SaffronGate_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $0, $4, 12, SAFFRON_CITY
warp_def $0, $5, 13, SAFFRON_CITY
warp_def $7, $4, 2, ROUTE_6
warp_def $7, $5, 2, ROUTE_6
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 1
object_event SPRITE_OFFICER, 4, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, OfficerScript_0x1926ea, -1