mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
94129b6b45
Interpretation of the Decoration Attributes table is complete. Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
58 lines
1.0 KiB
NASM
58 lines
1.0 KiB
NASM
Route43MahoganyGate_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
OfficerScript_0x19ab0b:
|
|
faceplayer
|
|
loadfont
|
|
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
|
iftrue UnknownScript_0x19ab19
|
|
writetext UnknownText_0x19ab1f
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownScript_0x19ab19:
|
|
writetext UnknownText_0x19ab65
|
|
closetext
|
|
loadmovesprites
|
|
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_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 4
|
|
warp_def $0, $4, 1, GROUP_ROUTE_43, MAP_ROUTE_43
|
|
warp_def $0, $5, 2, GROUP_ROUTE_43, MAP_ROUTE_43
|
|
warp_def $7, $4, 5, GROUP_MAHOGANY_TOWN, MAP_MAHOGANY_TOWN
|
|
warp_def $7, $5, 5, GROUP_MAHOGANY_TOWN, MAP_MAHOGANY_TOWN
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 0
|
|
|
|
; people-events
|
|
db 1
|
|
person_event SPRITE_OFFICER, 8, 4, OW_LEFT | $1, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, OfficerScript_0x19ab0b, -1
|