pokecrystal/maps/Route43MahoganyGate.asm

54 lines
1.1 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const ROUTE43MAHOGANYGATE_OFFICER
Route43MahoganyGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route43MahoganyGateOfficer:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue .RocketsCleared
2018-08-19 17:56:41 +00:00
writetext Route43MahoganyGateOfficerText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.RocketsCleared:
2018-08-19 17:56:41 +00:00
writetext Route43MahoganyGateOfficerRocketsClearedText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-08-19 17:56:41 +00:00
Route43MahoganyGateOfficerText:
text "Only people headed"
line "up to LAKE OF RAGE"
para "have been through"
line "here lately."
done
2018-08-19 17:56:41 +00:00
Route43MahoganyGateOfficerRocketsClearedText:
text "Nobody goes up to"
line "LAKE OF RAGE these"
cont "days."
done
Route43MahoganyGate_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 4, 0, ROUTE_43, 1
warp_event 5, 0, ROUTE_43, 2
warp_event 4, 7, MAHOGANY_TOWN, 5
warp_event 5, 7, MAHOGANY_TOWN, 5
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-02-02 03:22:07 +00:00
object_event 0, 4, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route43MahoganyGateOfficer, -1