mirror of https://github.com/pret/pokecrystal.git
61 lines
1.1 KiB
NASM
61 lines
1.1 KiB
NASM
const_def 2 ; object constants
|
|
const ROUTE19FUCHSIAGATE_OFFICER
|
|
|
|
Route19FuchsiaGate_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
OfficerScript_0x1ab3f6:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_CINNABAR_ROCKS_CLEARED
|
|
iftrue .RocksCleared
|
|
writetext UnknownText_0x1ab40a
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
.RocksCleared:
|
|
writetext UnknownText_0x1ab48a
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
UnknownText_0x1ab40a:
|
|
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
|
|
|
|
UnknownText_0x1ab48a:
|
|
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
|
|
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
|
|
object_event 0, 4, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, OfficerScript_0x1ab3f6, -1
|