pokecrystal/maps/Route19FuchsiaGate.asm

61 lines
1.2 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const ROUTE19FUCHSIAGATE_OFFICER
Route19FuchsiaGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-03-01 18:18:51 +00:00
Route19FuchsiaGateOfficerScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 12:08:03 +00:00
checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue .RocksCleared
2018-03-01 18:18:51 +00:00
writetext Route19FuchsiaGateOfficerText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.RocksCleared:
2018-03-01 18:18:51 +00:00
writetext Route19FuchsiaGateOfficerText_RocksCleared
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-03-01 18:18:51 +00:00
Route19FuchsiaGateOfficerText:
text "CINNABAR's volcano"
line "erupted."
para "It hurled boulders"
line "that cut off ROUTE"
cont "19 indefinitely."
para "I wonder if the"
line "people of CINNABAR"
cont "are safe…"
done
2018-03-01 18:18:51 +00:00
Route19FuchsiaGateOfficerText_RocksCleared:
text "No CINNABAR citi-"
line "zens were injured"
para "by the eruption."
line "That's great!"
done
Route19FuchsiaGate_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 4, 0, FUCHSIA_CITY, 10
warp_event 5, 0, FUCHSIA_CITY, 11
warp_event 4, 7, ROUTE_19, 1
warp_event 5, 7, ROUTE_19, 1
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-03-01 18:18:51 +00:00
object_event 0, 4, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route19FuchsiaGateOfficerScript, -1