pokecrystal/maps/Route7SaffronGate.asm

61 lines
1.1 KiB
NASM
Raw Normal View History

2018-01-31 16:08:47 +00:00
const_value set 2 ; object constants
2015-11-27 05:22:14 +00:00
const ROUTE7SAFFRONGATE_OFFICER
Route7SaffronGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-01-16 02:32:31 +00:00
Route7SaffronGuardScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
2018-01-16 02:32:31 +00:00
iftrue .ReturnedPart
writetext Route7SaffronGuardPowerPlantText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-01-16 02:32:31 +00:00
.ReturnedPart:
writetext Route7SaffronGuardSeriousText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-01-16 02:32:31 +00:00
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
2018-01-16 02:32:31 +00:00
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
db 4 ; warp events
warp_event 0, 4, 1, ROUTE_7
warp_event 0, 5, 2, ROUTE_7
warp_event 9, 4, 10, SAFFRON_CITY
warp_event 9, 5, 11, SAFFRON_CITY
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-01-16 02:32:31 +00:00
object_event 5, 2, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route7SaffronGuardScript, -1