pokecrystal/maps/CeladonDeptStore3F.asm

115 lines
2.9 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const CELADONDEPTSTORE3F_CLERK
const CELADONDEPTSTORE3F_YOUNGSTER
const CELADONDEPTSTORE3F_GAMEBOY_KID1
const CELADONDEPTSTORE3F_GAMEBOY_KID2
const CELADONDEPTSTORE3F_SUPER_NERD
CeladonDeptStore3F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-02-28 21:50:43 +00:00
CeladonDeptStore3FClerkScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-11-02 22:38:08 +00:00
pokemart MARTTYPE_STANDARD, MART_CELADON_3F
2015-11-25 15:16:29 +00:00
closetext
end
2017-12-18 00:48:04 +00:00
CeladonDeptStore3FYoungsterScript:
jumptextfaceplayer CeladonDeptStore3FYoungsterText
2017-12-18 01:45:04 +00:00
CeladonDeptStore3FGameboyKid1Script:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2017-12-18 01:45:04 +00:00
writetext CeladonDeptStore3FGameboyKid1Text
2015-11-25 15:16:29 +00:00
waitbutton
closetext
turnobject CELADONDEPTSTORE3F_GAMEBOY_KID1, DOWN
end
2017-12-18 01:45:04 +00:00
CeladonDeptStore3FGameboyKid2Script:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2017-12-18 01:45:04 +00:00
writetext CeladonDeptStore3FGameboyKid2Text
2015-11-25 15:16:29 +00:00
waitbutton
closetext
turnobject CELADONDEPTSTORE3F_GAMEBOY_KID2, DOWN
end
2017-12-18 00:48:04 +00:00
CeladonDeptStore3FSuperNerdScript:
jumptextfaceplayer CeladonDeptStore3FSuperNerdText
2015-06-26 04:01:08 +00:00
CeladonDeptStore3FElevatorButton:
2015-06-25 01:26:24 +00:00
jumpstd elevatorbutton
2015-06-26 04:01:08 +00:00
CeladonDeptStore3FDirectory:
jumptext CeladonDeptStore3FDirectoryText
2017-12-18 00:48:04 +00:00
CeladonDeptStore3FYoungsterText:
text "I can't decide"
line "which #MON I"
para "should use this TM"
line "on…"
done
2017-12-18 01:45:04 +00:00
CeladonDeptStore3FGameboyKid1Text:
text "Uh-oh! I traded my"
line "#MON without"
para "removing the UP-"
line "GRADE from it."
done
2017-12-18 01:45:04 +00:00
CeladonDeptStore3FGameboyKid2Text:
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
2017-12-18 00:48:04 +00:00
CeladonDeptStore3FSuperNerdText:
text "The TM SHOP sells"
line "some rare moves."
done
2015-06-26 04:01:08 +00:00
CeladonDeptStore3FDirectoryText:
text "3F: TM SHOP"
para "Make Your #MON"
line "Stronger!"
done
CeladonDeptStore3F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 12, 0, CELADON_DEPT_STORE_2F, 1
warp_event 15, 0, CELADON_DEPT_STORE_4F, 2
warp_event 2, 0, CELADON_DEPT_STORE_ELEVATOR, 1
db 0 ; coord events
db 2 ; bg events
2018-02-02 03:22:07 +00:00
bg_event 14, 0, BGEVENT_READ, CeladonDeptStore3FDirectory
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore3FElevatorButton
db 5 ; object events
2018-02-28 21:50:43 +00:00
object_event 7, 1, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FClerkScript, -1
2018-02-02 03:22:07 +00:00
object_event 6, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FYoungsterScript, -1
object_event 9, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FGameboyKid1Script, -1
object_event 10, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FGameboyKid2Script, -1
object_event 13, 4, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FSuperNerdScript, -1