pokecrystal-board/maps/CeladonDeptStore3F.asm
2017-12-17 20:17:30 -05:00

122 lines
2.8 KiB
NASM

const_value set 2
const CELADONDEPTSTORE3F_CLERK
const CELADONDEPTSTORE3F_YOUNGSTER
const CELADONDEPTSTORE3F_GAMEBOY_KID1
const CELADONDEPTSTORE3F_GAMEBOY_KID2
const CELADONDEPTSTORE3F_SUPER_NERD
CeladonDeptStore3F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
ClerkScript_0x70d29:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_CELADON_3F
closetext
end
CeladonDeptStore3FYoungsterScript:
jumptextfaceplayer CeladonDeptStore3FYoungsterText
GameboyKidScript_0x70d34:
faceplayer
opentext
writetext UnknownText_0x70d86
waitbutton
closetext
spriteface CELADONDEPTSTORE3F_GAMEBOY_KID1, DOWN
end
GameboyKidScript_0x70d3f:
faceplayer
opentext
writetext UnknownText_0x70dc7
waitbutton
closetext
spriteface CELADONDEPTSTORE3F_GAMEBOY_KID2, DOWN
end
CeladonDeptStore3FSuperNerdScript:
jumptextfaceplayer CeladonDeptStore3FSuperNerdText
CeladonDeptStore3FElevatorButton:
jumpstd elevatorbutton
CeladonDeptStore3FDirectory:
jumptext CeladonDeptStore3FDirectoryText
CeladonDeptStore3FYoungsterText:
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
CeladonDeptStore3FSuperNerdText:
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, 1, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, ClerkScript_0x70d29, -1
person_event SPRITE_YOUNGSTER, 4, 6, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, CeladonDeptStore3FYoungsterScript, -1
person_event SPRITE_GAMEBOY_KID, 1, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, GameboyKidScript_0x70d34, -1
person_event SPRITE_GAMEBOY_KID, 1, 10, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, GameboyKidScript_0x70d3f, -1
person_event SPRITE_SUPER_NERD, 4, 13, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, CeladonDeptStore3FSuperNerdScript, -1