pokecrystal-board/maps/Route30BerryHouse.asm

62 lines
1.4 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2018-01-23 09:54:17 -08:00
const ROUTE30BERRYHOUSE_POKEFAN_M
2015-11-26 21:22:14 -08:00
2018-01-23 09:54:17 -08:00
Route30BerryHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route30BerryHousePokefanMScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
2018-02-02 13:52:15 -08:00
iftrue .GotBerry
writetext Route30BerrySpeechHouseMonEatBerriesText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem BERRY
2018-02-02 13:52:15 -08:00
iffalse .NoRoom
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
2018-02-02 13:52:15 -08:00
.GotBerry:
writetext Route30BerrySpeechHouseCheckTreesText
2015-11-25 07:16:29 -08:00
waitbutton
2018-02-02 13:52:15 -08:00
.NoRoom:
2015-11-25 07:16:29 -08:00
closetext
end
2018-01-23 09:54:17 -08:00
Route30BerryHouseBookshelf:
jumpstd magazinebookshelf
2018-02-02 13:52:15 -08:00
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
2018-02-02 13:52:15 -08:00
Route30BerrySpeechHouseCheckTreesText:
text "Check trees for"
line "BERRIES. They just"
cont "drop right off."
done
2018-01-23 09:54:17 -08:00
Route30BerryHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, ROUTE_30, 1
warp_event 3, 7, ROUTE_30, 1
db 0 ; coord events
db 2 ; bg events
2018-02-01 19:22:07 -08:00
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