mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
94129b6b45
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.
95 lines
2.0 KiB
NASM
95 lines
2.0 KiB
NASM
CeladonDeptStore1F_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
ReceptionistScript_0x709e0:
|
|
jumptextfaceplayer UnknownText_0x709ef
|
|
|
|
GentlemanScript_0x709e3:
|
|
jumptextfaceplayer UnknownText_0x70a35
|
|
|
|
TeacherScript_0x709e6:
|
|
jumptextfaceplayer UnknownText_0x70aa9
|
|
|
|
CeladonDeptStore1FDirectory:
|
|
jumptext CeladonDeptStore1FDirectoryText
|
|
|
|
CeladonDeptStore1FElevatorButton:
|
|
jumpstd elevatorbutton
|
|
|
|
UnknownText_0x709ef:
|
|
text "Hello! Welcome to"
|
|
line "CELADON DEPT."
|
|
cont "STORE!"
|
|
|
|
para "The directory is"
|
|
line "on the wall."
|
|
done
|
|
|
|
UnknownText_0x70a35:
|
|
text "This DEPT.STORE is"
|
|
line "part of the same"
|
|
|
|
para "chain as the one"
|
|
line "in GOLDENROD CITY."
|
|
|
|
para "They were both"
|
|
line "renovated at the"
|
|
cont "same time."
|
|
done
|
|
|
|
UnknownText_0x70aa9:
|
|
text "This is my first"
|
|
line "time here."
|
|
|
|
para "It's so big…"
|
|
|
|
para "I'm afraid I'll"
|
|
line "get lost."
|
|
done
|
|
|
|
CeladonDeptStore1FDirectoryText:
|
|
text "1F: SERVICE"
|
|
line " COUNTER"
|
|
|
|
para "2F: TRAINER'S"
|
|
line " MARKET"
|
|
|
|
para "3F: TM SHOP"
|
|
|
|
para "4F: WISEMAN GIFTS"
|
|
|
|
para "5F: DRUG STORE"
|
|
|
|
para "6F: ROOFTOP"
|
|
line " SQUARE"
|
|
done
|
|
|
|
CeladonDeptStore1F_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 4
|
|
warp_def $7, $7, 1, GROUP_CELADON_CITY, MAP_CELADON_CITY
|
|
warp_def $7, $8, 1, GROUP_CELADON_CITY, MAP_CELADON_CITY
|
|
warp_def $0, $f, 2, GROUP_CELADON_DEPT_STORE_2F, MAP_CELADON_DEPT_STORE_2F
|
|
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, CeladonDeptStore1FDirectory
|
|
signpost 0, 3, SIGNPOST_READ, CeladonDeptStore1FElevatorButton
|
|
|
|
; people-events
|
|
db 3
|
|
person_event SPRITE_RECEPTIONIST, 5, 14, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, ReceptionistScript_0x709e0, -1
|
|
person_event SPRITE_GENTLEMAN, 8, 15, OW_DOWN | $2, $11, -1, -1, $0, 0, GentlemanScript_0x709e3, -1
|
|
person_event SPRITE_TEACHER, 7, 9, OW_UP | $1, $1, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, TeacherScript_0x709e6, -1
|