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.
65 lines
1.2 KiB
NASM
65 lines
1.2 KiB
NASM
LavenderMart_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
ClerkScript_0x7eb1c:
|
|
loadfont
|
|
pokemart $0, $0015
|
|
loadmovesprites
|
|
end
|
|
|
|
PokefanMScript_0x7eb23:
|
|
jumptextfaceplayer UnknownText_0x7eb29
|
|
|
|
RockerScript_0x7eb26:
|
|
jumptextfaceplayer UnknownText_0x7ebac
|
|
|
|
UnknownText_0x7eb29:
|
|
text "REPEL is a neces-"
|
|
line "sity if you are"
|
|
|
|
para "going to explore a"
|
|
line "cave."
|
|
|
|
para "Even though I like"
|
|
line "exploring, I still"
|
|
|
|
para "haven't made it to"
|
|
line "all the caves."
|
|
done
|
|
|
|
UnknownText_0x7ebac:
|
|
text "I heard about a"
|
|
line "craftsman who"
|
|
|
|
para "makes custom BALLS"
|
|
line "in the JOHTO town"
|
|
|
|
para "of AZALEA. I wish"
|
|
line "I had some."
|
|
done
|
|
|
|
LavenderMart_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 2
|
|
warp_def $7, $2, 5, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN
|
|
warp_def $7, $3, 5, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 0
|
|
|
|
; people-events
|
|
db 3
|
|
person_event SPRITE_CLERK, 7, 5, OW_LEFT | $1, $0, -1, -1, $0, 0, ClerkScript_0x7eb1c, -1
|
|
person_event SPRITE_POKEFAN_M, 10, 10, OW_UP | $1, $2, -1, -1, (PAL_OW_RED << 4) | $80, 0, PokefanMScript_0x7eb23, -1
|
|
person_event SPRITE_ROCKER, 6, 13, OW_DOWN | $3, $0, -1, -1, $0, 0, RockerScript_0x7eb26, -1
|