pokecrystal-board/maps/Route5CleanseTagHouse.asm

77 lines
1.7 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2018-01-23 09:54:17 -08:00
const ROUTE5CLEANSETAGHOUSE_GRANNY
const ROUTE5CLEANSETAGHOUSE_TEACHER
2015-11-26 21:22:14 -08:00
2018-01-23 09:54:17 -08:00
Route5CleanseTagHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route5CleanseTagHouseGrannyScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_CLEANSE_TAG
2018-01-15 18:28:42 -08:00
iftrue .GotCleanseTag
writetext Route5CleanseTagHouseGrannyText1
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem CLEANSE_TAG
2018-01-15 18:28:42 -08:00
iffalse .NoRoom
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_CLEANSE_TAG
2018-01-15 18:28:42 -08:00
.GotCleanseTag:
writetext Route5CleanseTagHouseGrannyText2
2015-11-25 07:16:29 -08:00
waitbutton
2018-01-15 18:28:42 -08:00
.NoRoom:
2015-11-25 07:16:29 -08:00
closetext
end
2018-01-23 09:54:17 -08:00
Route5CleanseTagHouseTeacherScript:
jumptextfaceplayer Route5CleanseTagHouseTeacherText
2015-06-25 21:01:08 -07:00
HouseForSaleBookshelf:
jumpstd difficultbookshelf
Route5CleanseTagHouseGrannyText1:
text "Eeyaaaah!"
para "I sense a sinister"
line "shadow hovering"
cont "over you."
para "Take this to ward"
line "it off!"
done
Route5CleanseTagHouseGrannyText2:
text "You were in mortal"
line "danger, but you"
cont "are protected now."
done
2018-01-23 09:54:17 -08:00
Route5CleanseTagHouseTeacherText:
text "My grandma is into"
line "warding off what"
para "she believes to be"
line "evil spirits."
para "I'm sorry that she"
line "startled you."
done
2018-01-23 09:54:17 -08:00
Route5CleanseTagHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, ROUTE_5, 4
warp_event 3, 7, ROUTE_5, 4
db 0 ; coord events
db 2 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 0, 1, BGEVENT_READ, HouseForSaleBookshelf
bg_event 1, 1, BGEVENT_READ, HouseForSaleBookshelf
db 2 ; object events
2018-02-01 19:22:07 -08:00
object_event 2, 5, SPRITE_GRANNY, SPRITEMOVEDATA_SPINCLOCKWISE, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, Route5CleanseTagHouseGrannyScript, -1
object_event 5, 3, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route5CleanseTagHouseTeacherScript, -1