Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
63 lines
1.1 KiB
NASM
63 lines
1.1 KiB
NASM
AzaleaMart_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
ClerkScript_0x18e040:
|
|
loadfont
|
|
pokemart $0, $0003
|
|
loadmovesprites
|
|
end
|
|
|
|
CooltrainerMScript_0x18e047:
|
|
jumptextfaceplayer UnknownText_0x18e04d
|
|
|
|
BugCatcherScript_0x18e04a:
|
|
jumptextfaceplayer UnknownText_0x18e0b6
|
|
|
|
UnknownText_0x18e04d:
|
|
text "There's no GREAT"
|
|
line "BALL here. #"
|
|
|
|
para "BALLS will have"
|
|
line "to do."
|
|
|
|
para "I wish KURT would"
|
|
line "make me some of"
|
|
cont "his custom BALLS."
|
|
done
|
|
|
|
UnknownText_0x18e0b6:
|
|
text "A GREAT BALL is"
|
|
line "better for catch-"
|
|
cont "ing #MON than a"
|
|
cont "# BALL."
|
|
|
|
para "But KURT's might"
|
|
line "be better some-"
|
|
cont "times."
|
|
done
|
|
|
|
AzaleaMart_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $2, 3, AZALEA_TOWN
|
|
warp_def $7, $3, 3, AZALEA_TOWN
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 0
|
|
|
|
.PersonEvents:
|
|
db 3
|
|
person_event SPRITE_CLERK, 7, 5, OW_LEFT | $1, $0, -1, -1, $0, 0, ClerkScript_0x18e040, -1
|
|
person_event SPRITE_COOLTRAINER_M, 9, 6, OW_UP | $3, $0, -1, -1, $0, 0, CooltrainerMScript_0x18e047, -1
|
|
person_event SPRITE_BUG_CATCHER, 6, 11, OW_UP | $1, $2, -1, -1, (PAL_OW_RED << 4) | $80, 0, BugCatcherScript_0x18e04a, -1
|