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
115 lines
2.3 KiB
NASM
115 lines
2.3 KiB
NASM
CeladonDeptStore3F_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
ClerkScript_0x70d29:
|
|
faceplayer
|
|
loadfont
|
|
pokemart $0, $0019
|
|
loadmovesprites
|
|
end
|
|
|
|
YoungsterScript_0x70d31:
|
|
jumptextfaceplayer UnknownText_0x70d53
|
|
|
|
GameboyKidScript_0x70d34:
|
|
faceplayer
|
|
loadfont
|
|
writetext UnknownText_0x70d86
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $4, DOWN
|
|
end
|
|
|
|
GameboyKidScript_0x70d3f:
|
|
faceplayer
|
|
loadfont
|
|
writetext UnknownText_0x70dc7
|
|
closetext
|
|
loadmovesprites
|
|
spriteface $5, DOWN
|
|
end
|
|
|
|
SuperNerdScript_0x70d4a:
|
|
jumptextfaceplayer UnknownText_0x70e61
|
|
|
|
CeladonDeptStore3FElevatorButton:
|
|
jumpstd elevatorbutton
|
|
|
|
CeladonDeptStore3FDirectory:
|
|
jumptext CeladonDeptStore3FDirectoryText
|
|
|
|
UnknownText_0x70d53:
|
|
text "I can't decide"
|
|
line "which #MON I"
|
|
|
|
para "should use this TM"
|
|
line "on…"
|
|
done
|
|
|
|
UnknownText_0x70d86:
|
|
text "Uh-oh! I traded my"
|
|
line "#MON without"
|
|
|
|
para "removing the UP-"
|
|
line "GRADE from it."
|
|
done
|
|
|
|
UnknownText_0x70dc7:
|
|
text "Yeah! I'm finally"
|
|
line "getting a PORYGON!"
|
|
|
|
para "I'm no good at the"
|
|
line "slots, so I could"
|
|
|
|
para "never get enough"
|
|
line "coins…"
|
|
|
|
para "…Huh?"
|
|
|
|
para "The traded PORYGON"
|
|
line "turned into a dif-"
|
|
cont "ferent #MON!"
|
|
done
|
|
|
|
UnknownText_0x70e61:
|
|
text "The TM SHOP sells"
|
|
line "some rare moves."
|
|
done
|
|
|
|
CeladonDeptStore3FDirectoryText:
|
|
text "3F: TM SHOP"
|
|
|
|
para "Make Your #MON"
|
|
line "Stronger!"
|
|
done
|
|
|
|
CeladonDeptStore3F_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 3
|
|
warp_def $0, $c, 1, CELADON_DEPT_STORE_2F
|
|
warp_def $0, $f, 2, CELADON_DEPT_STORE_4F
|
|
warp_def $0, $2, 1, CELADON_DEPT_STORE_ELEVATOR
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 2
|
|
signpost 0, 14, SIGNPOST_READ, CeladonDeptStore3FDirectory
|
|
signpost 0, 3, SIGNPOST_READ, CeladonDeptStore3FElevatorButton
|
|
|
|
.PersonEvents:
|
|
db 5
|
|
person_event SPRITE_CLERK, 5, 11, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, ClerkScript_0x70d29, -1
|
|
person_event SPRITE_YOUNGSTER, 8, 10, OW_UP | $0, $10, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, YoungsterScript_0x70d31, -1
|
|
person_event SPRITE_GAMEBOY_KID, 5, 13, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, GameboyKidScript_0x70d34, -1
|
|
person_event SPRITE_GAMEBOY_KID, 5, 14, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, GameboyKidScript_0x70d3f, -1
|
|
person_event SPRITE_SUPER_NERD, 8, 17, OW_DOWN | $2, $11, -1, -1, (PAL_OW_RED << 4) | $80, 0, SuperNerdScript_0x70d4a, -1
|