pokecrystal-board/maps/Route43MahoganyGate.asm
2018-08-20 20:24:55 -04:00

54 lines
1.1 KiB
NASM

const_def 2 ; object constants
const ROUTE43MAHOGANYGATE_OFFICER
Route43MahoganyGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route43MahoganyGateOfficer:
faceplayer
opentext
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue .RocketsCleared
writetext Route43MahoganyGateOfficerText
waitbutton
closetext
end
.RocketsCleared:
writetext Route43MahoganyGateOfficerRocketsClearedText
waitbutton
closetext
end
Route43MahoganyGateOfficerText:
text "Only people headed"
line "up to LAKE OF RAGE"
para "have been through"
line "here lately."
done
Route43MahoganyGateOfficerRocketsClearedText:
text "Nobody goes up to"
line "LAKE OF RAGE these"
cont "days."
done
Route43MahoganyGate_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
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
object_event 0, 4, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route43MahoganyGateOfficer, -1