pokecrystal-board/maps/Route6SaffronGate.asm

73 lines
1.3 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const ROUTE6SAFFRONGATE_OFFICER
Route6SaffronGate_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene
db 0 ; callbacks
.DummyScene:
end
2018-01-15 18:32:31 -08:00
Route6SaffronGuardScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
2018-01-15 18:32:31 -08:00
iftrue .ReturnedPart
writetext Route6SaffronGuardWelcomeText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-01-15 18:32:31 -08:00
.ReturnedPart:
writetext Route6SaffronGuardMagnetTrainText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-01-15 18:32:31 -08:00
Route6SaffronGuardWelcomeText:
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
2018-01-15 18:32:31 -08:00
Route6SaffronGuardMagnetTrainText:
text "The MAGNET TRAIN"
line "is the most famous"
para "thing about SAF-"
line "FRON."
done
Route6SaffronGate_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 4, 0, SAFFRON_CITY, 12
warp_event 5, 0, SAFFRON_CITY, 13
warp_event 4, 7, ROUTE_6, 2
warp_event 5, 7, ROUTE_6, 2
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-02-01 19:22:07 -08:00
object_event 0, 4, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route6SaffronGuardScript, -1