pokecrystal/maps/Route5CleanseTagHouse.asm

77 lines
1.7 KiB
NASM
Raw Normal View History

object_const_def
2018-01-23 17:54:17 +00:00
const ROUTE5CLEANSETAGHOUSE_GRANNY
const ROUTE5CLEANSETAGHOUSE_TEACHER
2015-11-27 05:22:14 +00:00
2018-01-23 17:54:17 +00:00
Route5CleanseTagHouse_MapScripts:
def_scene_scripts
def_callbacks
Route5CleanseTagHouseGrannyScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_CLEANSE_TAG
2018-01-16 02:28:42 +00:00
iftrue .GotCleanseTag
writetext Route5CleanseTagHouseGrannyText1
2019-11-03 17:48:54 +00:00
promptbutton
2015-11-05 01:20:14 +00:00
verbosegiveitem CLEANSE_TAG
2018-01-16 02:28:42 +00:00
iffalse .NoRoom
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_CLEANSE_TAG
2018-01-16 02:28:42 +00:00
.GotCleanseTag:
writetext Route5CleanseTagHouseGrannyText2
2015-11-25 15:16:29 +00:00
waitbutton
2018-01-16 02:28:42 +00:00
.NoRoom:
2015-11-25 15:16:29 +00:00
closetext
end
2018-01-23 17:54:17 +00:00
Route5CleanseTagHouseTeacherScript:
jumptextfaceplayer Route5CleanseTagHouseTeacherText
2015-06-26 04:01:08 +00: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 17:54:17 +00: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 17:54:17 +00:00
Route5CleanseTagHouse_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-02 03:22:07 +00:00
warp_event 2, 7, ROUTE_5, 4
warp_event 3, 7, ROUTE_5, 4
def_coord_events
def_bg_events
2018-02-02 03:22:07 +00:00
bg_event 0, 1, BGEVENT_READ, HouseForSaleBookshelf
bg_event 1, 1, BGEVENT_READ, HouseForSaleBookshelf
def_object_events
2018-02-02 03:22:07 +00: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