pokecrystal-board/maps/ManiasHouse.asm

213 lines
3.6 KiB
NASM
Raw Normal View History

object_const_def
2015-11-26 21:22:14 -08:00
const MANIASHOUSE_ROCKER
ManiasHouse_MapScripts:
def_scene_scripts
def_callbacks
ManiaScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM
iftrue .default_postevent
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_SHUCKIE
iftrue .alreadyhaveshuckie
writetext ManiaText_AskLookAfterShuckle
yesorno
iffalse .refusetotakeshuckie
special GiveShuckle
iffalse .partyfull
writetext ManiaText_TakeCareOfShuckle
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-25 07:16:29 -08:00
waitsfx
writetext ManiaText_GotShuckle
playsound SFX_KEY_ITEM
2015-11-25 07:16:29 -08:00
waitsfx
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_SHUCKIE
end
.alreadyhaveshuckie
checkflag ENGINE_GOT_SHUCKIE_TODAY
iffalse .returnshuckie
writetext ManiaText_TakeCareOfShuckle
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.partyfull
writetext ManiaText_PartyFull
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.refusetotakeshuckie
writetext ManiaText_IfHeComesBack
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.returnshuckie
writetext ManiaText_CanIHaveMyMonBack
yesorno
iffalse .refused
2021-03-17 08:38:01 -07:00
special ReturnShuckie
2018-02-02 18:09:17 -08:00
ifequal SHUCKIE_WRONG_MON, .wrong
ifequal SHUCKIE_REFUSED, .refused
ifequal SHUCKIE_HAPPY, .superhappy
ifequal SHUCKIE_FAINTED, .default_postevent
2018-01-11 22:40:20 -08:00
; SHUCKIE_RETURNED
writetext ManiaText_ThankYou
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM
end
.wrong
writetext ManiaText_ShuckleNotThere
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.superhappy
writetext ManiaText_ShuckleLikesYou
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM
end
.refused
writetext ManiaText_SameAsBeingRobbed
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.nothingleft ; unreferenced
writetext ManiaText_ShuckleIsYourLastMon
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.default_postevent
writetext ManiaText_HappinessSpeech
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
ManiasHouseUnusedBookshelf: ; unreferenced
jumpstd PictureBookshelfScript
ManiaText_AskLookAfterShuckle:
text "I, I'm in shock!"
para "A guy about your"
line "age with piercing"
para "eyes and long hair"
line "came in."
para "He scared me into"
line "giving him my"
cont "prized #MON!"
para "I still have one"
line "left, but what if"
cont "he comes back?"
para "You look strong."
line "Could you look"
para "after my #MON"
line "for a while?"
done
ManiaText_TakeCareOfShuckle:
text "Oh, thank you!"
para "Take good care of"
line "it, please!"
done
ManiaText_GotShuckle:
text "<PLAYER> received a"
line "#MON."
done
ManiaText_PartyFull:
text "Your #MON party"
line "is full."
done
ManiaText_IfHeComesBack:
text "Oh, no… What'll"
line "I do if he comes"
cont "back?"
done
ManiaText_CanIHaveMyMonBack:
text "Hi! How's my #-"
line "MON?"
para "I think I'm safe"
line "now, so may I have"
cont "it back?"
done
ManiaText_ThankYou:
text "Thank you!"
done
ManiaText_ShuckleNotThere:
text "Hey, you don't"
line "have my #MON"
cont "with you."
done
ManiaText_ShuckleLikesYou:
text "My #MON has"
line "come to like you."
para "All right, you"
line "should keep it."
para "But promise to"
line "be good to it!"
done
ManiaText_SameAsBeingRobbed:
text "Oh, no, no… That's"
line "the same as being"
cont "robbed."
done
ManiaText_HappinessSpeech:
text "For #MON, hap-"
line "piness is being"
para "with a person who"
line "treats them well."
done
ManiaText_ShuckleIsYourLastMon:
text "If I take my #-"
line "MON back, what are"
para "you going to use"
line "in battle?"
done
ManiasHouse_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, CIANWOOD_CITY, 1
warp_event 3, 7, CIANWOOD_CITY, 1
def_coord_events
def_bg_events
def_object_events
2018-02-01 19:22:07 -08:00
object_event 2, 4, SPRITE_ROCKER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ManiaScript, -1