mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
97 lines
2.2 KiB
NASM
97 lines
2.2 KiB
NASM
const_def 2 ; object constants
|
|
const CELADONMANSION1F_GRANNY
|
|
const CELADONMANSION1F_GROWLITHE1
|
|
const CELADONMANSION1F_CLEFAIRY
|
|
const CELADONMANSION1F_GROWLITHE2
|
|
|
|
CeladonMansion1F_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
CeladonMansionManager:
|
|
jumptextfaceplayer CeladonMansionManagerText
|
|
|
|
CeladonMansion1FMeowth:
|
|
opentext
|
|
writetext CeladonMansion1FMeowthText
|
|
cry MEOWTH
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
CeladonMansion1FClefairy:
|
|
opentext
|
|
writetext CeladonMansion1FClefairyText
|
|
cry CLEFAIRY
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
CeladonMansion1FNidoranF:
|
|
opentext
|
|
writetext CeladonMansion1FNidoranFText
|
|
cry NIDORAN_F
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
CeladonMansionManagersSuiteSign:
|
|
jumptext CeladonMansionManagersSuiteSignText
|
|
|
|
CeladonMansion1fBookshelf:
|
|
jumpstd picturebookshelf
|
|
|
|
CeladonMansionManagerText:
|
|
text "My dear #MON"
|
|
line "keep me company,"
|
|
|
|
para "so I don't ever"
|
|
line "feel lonely."
|
|
|
|
para "MEOWTH even brings"
|
|
line "money home."
|
|
done
|
|
|
|
CeladonMansion1FMeowthText:
|
|
text "MEOWTH: Meow!"
|
|
done
|
|
|
|
CeladonMansion1FClefairyText:
|
|
text "CLEFAIRY: Clef"
|
|
line "cleff!"
|
|
done
|
|
|
|
CeladonMansion1FNidoranFText:
|
|
text "NIDORAN: Kya"
|
|
line "kyaoo!"
|
|
done
|
|
|
|
CeladonMansionManagersSuiteSignText:
|
|
text "CELADON MANSION"
|
|
line "MANAGER'S SUITE"
|
|
done
|
|
|
|
CeladonMansion1F_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
db 5 ; warp events
|
|
warp_event 6, 9, 2, CELADON_CITY
|
|
warp_event 7, 9, 2, CELADON_CITY
|
|
warp_event 3, 0, 3, CELADON_CITY
|
|
warp_event 0, 0, 1, CELADON_MANSION_2F
|
|
warp_event 7, 0, 4, CELADON_MANSION_2F
|
|
|
|
db 0 ; coord events
|
|
|
|
db 3 ; bg events
|
|
bg_event 5, 8, BGEVENT_UP, CeladonMansionManagersSuiteSign
|
|
bg_event 0, 3, BGEVENT_READ, CeladonMansion1fBookshelf
|
|
bg_event 2, 3, BGEVENT_READ, CeladonMansion1fBookshelf
|
|
|
|
db 4 ; object events
|
|
object_event 1, 5, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonMansionManager, -1
|
|
object_event 2, 6, SPRITE_GROWLITHE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonMansion1FMeowth, -1
|
|
object_event 3, 4, SPRITE_CLEFAIRY, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonMansion1FClefairy, -1
|
|
object_event 4, 4, SPRITE_GROWLITHE, SPRITEMOVEDATA_POKEMON, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansion1FNidoranF, -1
|