mirror of https://github.com/pret/pokecrystal.git
97 lines
2.3 KiB
NASM
97 lines
2.3 KiB
NASM
object_const_def ; object_event 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, CELADON_CITY, 2
|
|
warp_event 7, 9, CELADON_CITY, 2
|
|
warp_event 3, 0, CELADON_CITY, 3
|
|
warp_event 0, 0, CELADON_MANSION_2F, 1
|
|
warp_event 7, 0, CELADON_MANSION_2F, 4
|
|
|
|
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
|