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.
50 lines
1.0 KiB
NASM
50 lines
1.0 KiB
NASM
IlexForestAzaleaGate_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
OfficerScript_0x62c7a:
|
|
jumptextfaceplayer UnknownText_0x62c80
|
|
|
|
GrannyScript_0x62c7d:
|
|
jumptextfaceplayer UnknownText_0x62cb0
|
|
|
|
UnknownText_0x62c80:
|
|
text "ILEX FOREST is"
|
|
line "big. Be careful!"
|
|
cont "Don't get lost."
|
|
done
|
|
|
|
UnknownText_0x62cb0:
|
|
text "The FOREST is"
|
|
line "watched over by"
|
|
cont "its protector."
|
|
|
|
para "Stay out of"
|
|
line "mischief!"
|
|
done
|
|
|
|
IlexForestAzaleaGate_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 4
|
|
warp_def $4, $0, 2, GROUP_ILEX_FOREST, MAP_ILEX_FOREST
|
|
warp_def $5, $0, 3, GROUP_ILEX_FOREST, MAP_ILEX_FOREST
|
|
warp_def $4, $9, 7, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
|
|
warp_def $5, $9, 8, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 0
|
|
|
|
; people-events
|
|
db 2
|
|
person_event SPRITE_OFFICER, 6, 9, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, OfficerScript_0x62c7a, -1
|
|
person_event SPRITE_GRANNY, 7, 5, OW_UP | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, GrannyScript_0x62c7d, -1
|