pokecrystal-board/maps/MountMoonGiftShop.asm
PikalaxALT 94129b6b45 Finished the decoration attributes table
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.
2015-07-19 04:58:31 -04:00

45 lines
962 B
NASM

MountMoonGiftShop_MapScriptHeader:
; trigger count
db 0
; callback count
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, GROUP_MOUNT_MOON_SQUARE, MAP_MOUNT_MOON_SQUARE
warp_def $7, $4, 3, GROUP_MOUNT_MOON_SQUARE, MAP_MOUNT_MOON_SQUARE
; xy triggers
db 0
; signposts
db 0
; people-events
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