2021-10-17 09:00:48 +02:00
|
|
|
MysteryGiftScript_BattleCard::
|
|
|
|
setvaddress MysteryGiftScript_BattleCard
|
|
|
|
vgoto_if_set FLAG_MYSTERY_GIFT_DONE, MysteryGiftScript_BattleCardInfo
|
2019-11-05 21:19:08 +01:00
|
|
|
setorcopyvar VAR_RESULT, GET_CARD_BATTLES_WON
|
2021-10-15 18:56:14 +02:00
|
|
|
specialvar VAR_0x8008, GetMysteryGiftCardStat
|
2021-11-19 05:06:30 +01:00
|
|
|
vgoto_if_ne VAR_0x8008, REQUIRED_CARD_BATTLES, MysteryGiftScript_BattleCardInfo
|
2019-11-05 21:19:08 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
vmessage sText_MysteryGiftBattleCountCard_WonPrize
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_POTION
|
2019-11-05 21:19:08 +01:00
|
|
|
release
|
2021-10-15 18:56:14 +02:00
|
|
|
setflag FLAG_MYSTERY_GIFT_DONE
|
2019-11-05 21:19:08 +01:00
|
|
|
end
|
|
|
|
|
2021-10-17 09:00:48 +02:00
|
|
|
MysteryGiftScript_BattleCardInfo:
|
2019-11-05 21:19:08 +01:00
|
|
|
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"
|
|
|
|
.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"
|
|
|
|
.string "You may check the overall rankings\n"
|
|
|
|
.string "by reading the NEWS.\p"
|
|
|
|
.string "Please do give it a try!$"
|
|
|
|
|
|
|
|
sText_MysteryGiftBattleCountCard_WonPrize:
|
|
|
|
.string "Thank you for using the MYSTERY\n"
|
|
|
|
.string "GIFT System.\p"
|
|
|
|
.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.$"
|