pokecrystal/maps/Route30BerryHouse.asm

62 lines
1.4 KiB
NASM
Raw Normal View History

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