pokecrystal-board/maps/Route30BerryHouse.asm
Rangi 335c2699f0 Merge branch 'master' of https://github.com/pret/pokecrystal
# Conflicts:
#	constants/map_constants.asm
#	constants/wram_constants.asm
#	data/radio/oaks_pkmn_talk_routes.asm
#	data/radio/pnp_hidden_places.asm
#	engine/battle/core.asm
#	engine/breeding.asm
#	engine/phone/phone_scripts.asm
#	engine/radio.asm
#	maps/BattleTower1F.asm
#	maps/OlivineLighthouse2F.asm
#	maps/OlivineLighthouse6F.asm
#	maps/PokemonFanClub.asm
#	maps/RadioTower1F.asm
#	maps/RadioTower2F.asm
#	maps/Route30BerryHouse.asm
#	maps/Route34IlexForestGate.asm
#	maps/Route36NationalParkGate.asm
#	maps/RuinsOfAlphKabutoChamber.asm
#	maps/RuinsOfAlphResearchCenter.asm
#	maps/VermilionPort.asm
#	maps/VictoryRoad.asm
2018-02-25 20:39:54 -05:00

62 lines
1.3 KiB
NASM

const_def 2 ; object constants
const ROUTE30BERRYHOUSE_POKEFAN_M
Route30BerryHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route30BerryHousePokefanMScript:
faceplayer
opentext
checkevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
iftrue .GotBerry
writetext Route30BerrySpeechHouseMonEatBerriesText
buttonsound
verbosegiveitem BERRY
iffalse .NoRoom
setevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
.GotBerry:
writetext Route30BerrySpeechHouseCheckTreesText
waitbutton
.NoRoom:
closetext
end
Route30BerryHouseBookshelf:
jumpstd magazinebookshelf
Route30BerrySpeechHouseMonEatBerriesText:
text "You know, #MON"
line "eat BERRIES."
para "Well, my #MON"
line "got healthier by"
cont "eating a BERRY."
para "Here. I'll share"
line "one with you!"
done
Route30BerrySpeechHouseCheckTreesText:
text "Check trees for"
line "BERRIES. They just"
cont "drop right off."
done
Route30BerryHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 2, 7, ROUTE_30, 1
warp_event 3, 7, ROUTE_30, 1
db 0 ; coord events
db 2 ; bg events
bg_event 0, 1, BGEVENT_READ, Route30BerryHouseBookshelf
bg_event 1, 1, BGEVENT_READ, Route30BerryHouseBookshelf
db 1 ; object events
object_event 2, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, Route30BerryHousePokefanMScript, -1