mirror of https://github.com/pret/pokecrystal.git
99 lines
2.1 KiB
NASM
99 lines
2.1 KiB
NASM
object_const_def
|
|
const MRFUJISHOUSE_SUPER_NERD
|
|
const MRFUJISHOUSE_LASS
|
|
const MRFUJISHOUSE_PSYDUCK
|
|
const MRFUJISHOUSE_NIDORINO
|
|
const MRFUJISHOUSE_PIDGEY
|
|
|
|
MrFujisHouse_MapScripts:
|
|
def_scene_scripts
|
|
|
|
def_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 DifficultBookshelfScript
|
|
|
|
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
|
|
|
|
def_warp_events
|
|
warp_event 2, 7, LAVENDER_TOWN, 2
|
|
warp_event 3, 7, LAVENDER_TOWN, 2
|
|
|
|
def_coord_events
|
|
|
|
def_bg_events
|
|
bg_event 0, 1, BGEVENT_READ, MrFujisHouseBookshelf
|
|
bg_event 1, 1, BGEVENT_READ, MrFujisHouseBookshelf
|
|
|
|
def_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
|