mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
dcb24bc724
Resolves #742
61 lines
1.1 KiB
NASM
61 lines
1.1 KiB
NASM
object_const_def
|
|
const ROUTE7SAFFRONGATE_OFFICER
|
|
|
|
Route7SaffronGate_MapScripts:
|
|
def_scene_scripts
|
|
|
|
def_callbacks
|
|
|
|
Route7SaffronGuardScript:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_RETURNED_MACHINE_PART
|
|
iftrue .ReturnedPart
|
|
writetext Route7SaffronGuardPowerPlantText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
.ReturnedPart:
|
|
writetext Route7SaffronGuardSeriousText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
Route7SaffronGuardPowerPlantText:
|
|
text "Did you hear about"
|
|
line "the accident at"
|
|
cont "the POWER PLANT?"
|
|
|
|
para "It's located in"
|
|
line "the East, close to"
|
|
cont "LAVENDER TOWN."
|
|
done
|
|
|
|
Route7SaffronGuardSeriousText:
|
|
text "I take my GUARD"
|
|
line "job seriously."
|
|
|
|
para "Hey! You have a"
|
|
line "#DEX."
|
|
|
|
para "OK. You can go"
|
|
line "through."
|
|
done
|
|
|
|
Route7SaffronGate_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
def_warp_events
|
|
warp_event 0, 4, ROUTE_7, 1
|
|
warp_event 0, 5, ROUTE_7, 2
|
|
warp_event 9, 4, SAFFRON_CITY, 10
|
|
warp_event 9, 5, SAFFRON_CITY, 11
|
|
|
|
def_coord_events
|
|
|
|
def_bg_events
|
|
|
|
def_object_events
|
|
object_event 5, 2, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route7SaffronGuardScript, -1
|