2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const ROUTE7SAFFRONGATE_OFFICER
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route7SaffronGate_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-15 18:32:31 -08:00
|
|
|
Route7SaffronGuardScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
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 Route7SaffronGuardPowerPlantText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-15 18:32:31 -08:00
|
|
|
.ReturnedPart:
|
|
|
|
writetext Route7SaffronGuardSeriousText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-15 18:32:31 -08:00
|
|
|
Route7SaffronGuardPowerPlantText:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-15 18:32:31 -08:00
|
|
|
Route7SaffronGuardSeriousText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I take my GUARD"
|
|
|
|
line "job seriously."
|
|
|
|
|
|
|
|
para "Hey! You have a"
|
|
|
|
line "#DEX."
|
|
|
|
|
|
|
|
para "OK. You can go"
|
|
|
|
line "through."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route7SaffronGate_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 5, 2, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route7SaffronGuardScript, -1
|