pokecrystal/maps/Route43MahoganyGate.asm

54 lines
1020 B
NASM

const_value set 2
const ROUTE43MAHOGANYGATE_OFFICER
Route43MahoganyGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route43MahoganyGateOfficer:
faceplayer
opentext
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue .RocketsCleared
writetext UnknownText_0x19ab1f
waitbutton
closetext
end
.RocketsCleared:
writetext UnknownText_0x19ab65
waitbutton
closetext
end
UnknownText_0x19ab1f:
text "Only people headed"
line "up to LAKE OF RAGE"
para "have been through"
line "here lately."
done
UnknownText_0x19ab65:
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, 1, ROUTE_43
warp_event 5, 0, 2, ROUTE_43
warp_event 4, 7, 5, MAHOGANY_TOWN
warp_event 5, 7, 5, MAHOGANY_TOWN
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