Files
pokecrystal/maps/MountMoonGiftShop.asm
PikalaxALT 432df825d4 Replaced GROUP_, MAP_ references with the map macro
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
2015-07-23 12:59:19 -04:00

45 lines
892 B
NASM

MountMoonGiftShop_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
GrampsScript_0x771a8:
faceplayer
loadfont
pokemart $0, $001f
loadmovesprites
end
LassScript_0x771b0:
jumptextfaceplayer UnknownText_0x771b3
UnknownText_0x771b3:
text "When the sun goes"
line "down, CLEFAIRY"
cont "come out to play."
done
MountMoonGiftShop_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $3, 3, MOUNT_MOON_SQUARE
warp_def $7, $4, 3, MOUNT_MOON_SQUARE
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 4
person_event SPRITE_GRAMPS, 7, 8, OW_UP | $2, $0, -1, 1, $0, 0, GrampsScript_0x771a8, -1
person_event SPRITE_GRAMPS, 6, 5, OW_LEFT | $1, $0, -1, 2, $0, 0, GrampsScript_0x771a8, -1
person_event SPRITE_LASS, 10, 5, OW_UP | $1, $1, -1, 1, $0, 0, LassScript_0x771b0, -1
person_event SPRITE_LASS, 8, 9, OW_UP | $0, $10, -1, 2, $0, 0, LassScript_0x771b0, -1