pokecrystal-board/maps/Route5CleanseTagHouse.asm

77 lines
1.7 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2018-01-23 12:54:17 -05:00
const ROUTE5CLEANSETAGHOUSE_GRANNY
const ROUTE5CLEANSETAGHOUSE_TEACHER
2015-11-27 00:22:14 -05:00
2018-01-23 12:54:17 -05:00
Route5CleanseTagHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route5CleanseTagHouseGrannyScript:
faceplayer
2015-12-09 18:25:44 -05:00
opentext
2013-09-24 03:48:58 -04:00
checkevent EVENT_GOT_CLEANSE_TAG
2018-01-15 21:28:42 -05:00
iftrue .GotCleanseTag
writetext Route5CleanseTagHouseGrannyText1
2019-11-03 12:48:54 -05:00
promptbutton
2015-11-04 20:20:14 -05:00
verbosegiveitem CLEANSE_TAG
2018-01-15 21:28:42 -05:00
iffalse .NoRoom
2013-09-24 03:48:58 -04:00
setevent EVENT_GOT_CLEANSE_TAG
2018-01-15 21:28:42 -05:00
.GotCleanseTag:
writetext Route5CleanseTagHouseGrannyText2
2015-11-25 10:16:29 -05:00
waitbutton
2018-01-15 21:28:42 -05:00
.NoRoom:
2015-11-25 10:16:29 -05:00
closetext
end
2018-01-23 12:54:17 -05:00
Route5CleanseTagHouseTeacherScript:
jumptextfaceplayer Route5CleanseTagHouseTeacherText
2015-06-25 22:01:08 -06:00
HouseForSaleBookshelf:
jumpstd DifficultBookshelfScript
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 12:54:17 -05: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 12:54:17 -05:00
Route5CleanseTagHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 22:22:07 -05: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 22:22:07 -05:00
bg_event 0, 1, BGEVENT_READ, HouseForSaleBookshelf
bg_event 1, 1, BGEVENT_READ, HouseForSaleBookshelf
db 2 ; object events
2018-02-01 22:22:07 -05: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