tumbledemerald-legacy/data/scripts/gift_battle_card.inc

46 lines
1.3 KiB
PHP
Raw Normal View History

2022-05-19 19:14:13 +02:00
MysteryGiftScript_BattleCard::
setvaddress MysteryGiftScript_BattleCard
vgoto_if_set FLAG_MYSTERY_GIFT_DONE, MysteryGiftScript_BattleCardInfo
setorcopyvar VAR_RESULT, GET_CARD_BATTLES_WON
specialvar VAR_0x8008, GetMysteryGiftCardStat
vgoto_if_ne VAR_0x8008, REQUIRED_CARD_BATTLES, MysteryGiftScript_BattleCardInfo
lock
faceplayer
vmessage sText_MysteryGiftBattleCountCard_WonPrize
waitmessage
waitbuttonpress
giveitem ITEM_POTION
release
setflag FLAG_MYSTERY_GIFT_DONE
end
MysteryGiftScript_BattleCardInfo:
lock
faceplayer
vmessage sText_MysteryGiftBattleCountCard
waitmessage
waitbuttonpress
release
end
sText_MysteryGiftBattleCountCard:
.string "Thank you for using the Mystery\n"
.string "Gift System.\p"
.string "Your Battle Count Card keeps\n"
2022-05-19 19:14:13 +02:00
.string "track of your battle record against\l"
.string "Trainers with the same Card.\p"
.string "Look for and battle Trainers who\n"
.string "have the same Card as you.\p"
2022-05-19 19:14:13 +02:00
.string "You may check the overall rankings\n"
.string "by reading the News.\p"
2022-05-19 19:14:13 +02:00
.string "Please do give it a try!$"
sText_MysteryGiftBattleCountCard_WonPrize:
.string "Thank you for using the Mystery\n"
.string "Gift System.\p"
2022-05-19 19:14:13 +02:00
.string "Congratulations!\p"
.string "You have won a prize for winning\n"
.string "three battles!\p"
.string "We hope you will be inspired to\n"
.string "battle some more.$"