mirror of https://github.com/pret/pokecrystal.git
99 lines
2.2 KiB
NASM
99 lines
2.2 KiB
NASM
const_def 2 ; object constants
|
|
const MRFUJISHOUSE_SUPER_NERD
|
|
const MRFUJISHOUSE_LASS
|
|
const MRFUJISHOUSE_PSYDUCK
|
|
const MRFUJISHOUSE_NIDORINO
|
|
const MRFUJISHOUSE_PIDGEY
|
|
|
|
MrFujisHouse_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
MrFujisHouseSuperNerdScript:
|
|
jumptextfaceplayer MrFujisHouseSuperNerdText
|
|
|
|
MrFujisHouseLassScript:
|
|
jumptextfaceplayer MrFujisHouseLassText
|
|
|
|
MrFujisPsyduck:
|
|
opentext
|
|
writetext MrFujisPsyduckText
|
|
cry PSYDUCK
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
MrFujisNidorino:
|
|
opentext
|
|
writetext MrFujisNidorinoText
|
|
cry NIDORINO
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
MrFujisPidgey:
|
|
opentext
|
|
writetext MrFujisPidgeyText
|
|
cry PIDGEY
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
MrFujisHouseBookshelf:
|
|
jumpstd difficultbookshelf
|
|
|
|
MrFujisHouseSuperNerdText:
|
|
text "MR.FUJI does live"
|
|
line "here, but he's not"
|
|
|
|
para "home now."
|
|
|
|
para "He should be at"
|
|
line "the SOUL HOUSE."
|
|
done
|
|
|
|
MrFujisHouseLassText:
|
|
text "Some cold-hearted"
|
|
line "people stop caring"
|
|
cont "for their #MON."
|
|
|
|
para "Grandpa takes in"
|
|
line "the poor homeless"
|
|
|
|
para "#MON and takes"
|
|
line "care of them."
|
|
done
|
|
|
|
MrFujisPsyduckText:
|
|
text "PSYDUCK: Gu-guwa?"
|
|
done
|
|
|
|
MrFujisNidorinoText:
|
|
text "NIDORINO: Gyun!"
|
|
done
|
|
|
|
MrFujisPidgeyText:
|
|
text "PIDGEY: Pijji!"
|
|
done
|
|
|
|
MrFujisHouse_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
db 2 ; warp events
|
|
warp_event 2, 7, LAVENDER_TOWN, 2
|
|
warp_event 3, 7, LAVENDER_TOWN, 2
|
|
|
|
db 0 ; coord events
|
|
|
|
db 2 ; bg events
|
|
bg_event 0, 1, BGEVENT_READ, MrFujisHouseBookshelf
|
|
bg_event 1, 1, BGEVENT_READ, MrFujisHouseBookshelf
|
|
|
|
db 5 ; object events
|
|
object_event 4, 1, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, MrFujisHouseSuperNerdScript, -1
|
|
object_event 3, 4, SPRITE_LASS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MrFujisHouseLassScript, -1
|
|
object_event 7, 4, SPRITE_RHYDON, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MrFujisPsyduck, -1
|
|
object_event 5, 5, SPRITE_GROWLITHE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MrFujisNidorino, -1
|
|
object_event 1, 3, SPRITE_MOLTRES, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, MrFujisPidgey, -1
|