mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
432df825d4
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
66 lines
1.2 KiB
NASM
66 lines
1.2 KiB
NASM
VioletMart_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
ClerkScript_0x68295:
|
|
loadfont
|
|
pokemart $0, $0002
|
|
loadmovesprites
|
|
end
|
|
|
|
GrannyScript_0x6829c:
|
|
jumptextfaceplayer UnknownText_0x682a2
|
|
|
|
CooltrainerMScript_0x6829f:
|
|
jumptextfaceplayer UnknownText_0x68323
|
|
|
|
UnknownText_0x682a2:
|
|
text "When you first"
|
|
line "catch a #MON,"
|
|
cont "it may be weak."
|
|
|
|
para "But it will even-"
|
|
line "tually grow to be"
|
|
cont "strong."
|
|
|
|
para "It's important to"
|
|
line "treat #MON with"
|
|
cont "love."
|
|
done
|
|
|
|
UnknownText_0x68323:
|
|
text "#MON can hold"
|
|
line "items like POTION"
|
|
cont "and ANTIDOTE."
|
|
|
|
para "But they don't"
|
|
line "appear to know how"
|
|
|
|
para "to use manmade"
|
|
line "items."
|
|
done
|
|
|
|
VioletMart_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $2, 1, VIOLET_CITY
|
|
warp_def $7, $3, 1, VIOLET_CITY
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 0
|
|
|
|
.PersonEvents:
|
|
db 3
|
|
person_event SPRITE_CLERK, 7, 5, OW_LEFT | $1, $0, -1, -1, $0, 0, ClerkScript_0x68295, -1
|
|
person_event SPRITE_GRANNY, 10, 11, OW_UP | $1, $1, -1, -1, $0, 0, GrannyScript_0x6829c, -1
|
|
person_event SPRITE_COOLTRAINER_M, 6, 9, OW_DOWN | $3, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, CooltrainerMScript_0x6829f, -1
|