pokecrystal-board/maps/CeladonDeptStore2F.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

89 lines
1.9 KiB
NASM

CeladonDeptStore2F_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
ClerkScript_0x70bad:
faceplayer
loadfont
pokemart $0, $0017
loadmovesprites
end
ClerkScript_0x70bb5:
faceplayer
loadfont
pokemart $0, $0018
loadmovesprites
end
PokefanMScript_0x70bbd:
jumptextfaceplayer UnknownText_0x70bc9
YoungsterScript_0x70bc0:
jumptextfaceplayer UnknownText_0x70c3e
CeladonDeptStore2FDirectory:
jumptext CeladonDeptStore2FDirectoryText
CeladonDeptStore2FElevatorButton:
jumpstd elevatorbutton
UnknownText_0x70bc9:
text "I just recently"
line "became a trainer."
para "My son encouraged"
line "me to do it."
para "I'm impressed by"
line "the selection of"
cont "convenient items."
done
UnknownText_0x70c3e:
text "My dad's having a"
line "hard time learning"
para "the names of items"
line "and how they are"
para "supposed to be"
line "used…"
done
CeladonDeptStore2FDirectoryText:
text "Top Grade Items"
line "for Trainers!"
para "2F: TRAINER'S"
line " MARKET"
done
CeladonDeptStore2F_MapEventHeader:
; filler
db 0, 0
; warps
db 3
warp_def $0, $c, 1, GROUP_CELADON_DEPT_STORE_3F, MAP_CELADON_DEPT_STORE_3F
warp_def $0, $f, 3, GROUP_CELADON_DEPT_STORE_1F, MAP_CELADON_DEPT_STORE_1F
warp_def $0, $2, 1, GROUP_CELADON_DEPT_STORE_ELEVATOR, MAP_CELADON_DEPT_STORE_ELEVATOR
; xy triggers
db 0
; signposts
db 2
signpost 0, 14, SIGNPOST_READ, CeladonDeptStore2FDirectory
signpost 0, 3, SIGNPOST_READ, CeladonDeptStore2FElevatorButton
; people-events
db 4
person_event SPRITE_CLERK, 9, 17, OW_UP | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, ClerkScript_0x70bad, -1
person_event SPRITE_CLERK, 9, 18, OW_UP | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, ClerkScript_0x70bb5, -1
person_event SPRITE_POKEFAN_M, 6, 9, OW_UP | $3, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, PokefanMScript_0x70bbd, -1
person_event SPRITE_YOUNGSTER, 6, 10, OW_LEFT | $0, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, YoungsterScript_0x70bc0, -1