pokecrystal/maps/Route6SaffronGate.asm

82 lines
1.3 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const ROUTE6SAFFRONGATE_OFFICER
2015-07-10 08:45:35 +00:00
Route6SaffronGate_MapScriptHeader:
.MapTriggers:
db 1
; triggers
2015-11-02 19:37:02 +00:00
dw UnknownScript_0x1926e9, 0
.MapCallbacks:
db 0
2015-07-10 08:45:35 +00:00
UnknownScript_0x1926e9:
end
2015-07-10 08:45:35 +00:00
OfficerScript_0x1926ea:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x1926f8
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1926fe
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1926f8:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1927cb
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
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
2015-07-10 08:45:35 +00:00
UnknownText_0x1927cb:
text "The MAGNET TRAIN"
line "is the most famous"
para "thing about SAF-"
line "FRON."
done
2015-07-10 08:45:35 +00:00
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
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 1
person_event SPRITE_OFFICER, 4, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, OfficerScript_0x1926ea, -1