pokecrystal/maps/MrFujisHouse.asm

106 lines
2.1 KiB
NASM

const_value set 2
const MRFUJISHOUSE_SUPER_NERD
const MRFUJISHOUSE_LASS
const MRFUJISHOUSE_PSYDUCK
const MRFUJISHOUSE_NIDORINO
const MRFUJISHOUSE_PIDGEY
MrFujisHouse_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
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_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def 2, 7, 2, LAVENDER_TOWN
warp_def 3, 7, 2, LAVENDER_TOWN
.CoordEvents:
db 0
.BGEvents:
db 2
bg_event 0, 1, BGEVENT_READ, MrFujisHouseBookshelf
bg_event 1, 1, BGEVENT_READ, MrFujisHouseBookshelf
.ObjectEvents:
db 5
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