summaryrefslogtreecommitdiff
path: root/data/scripts/mevent_battle_card.inc
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2020-01-13 20:26:20 -0600
committerMarcus Huderle <huderlem@gmail.com>2020-01-13 20:26:20 -0600
commit5a2d676e71b720e752ca8a624a5795b3b1d7eb6c (patch)
tree6ef755064008dfae8ce2942dc2762670cdabe815 /data/scripts/mevent_battle_card.inc
parent5007d279fea5326b41b877703c74fcaa56223364 (diff)
parent22931846d680de2bc585093678db3f5721aab891 (diff)
Merge remote-tracking branch 'upstream' into tustin2121-patch-5
Diffstat (limited to 'data/scripts/mevent_battle_card.inc')
-rw-r--r--data/scripts/mevent_battle_card.inc46
1 files changed, 46 insertions, 0 deletions
diff --git a/data/scripts/mevent_battle_card.inc b/data/scripts/mevent_battle_card.inc
new file mode 100644
index 000000000..70462bdd9
--- /dev/null
+++ b/data/scripts/mevent_battle_card.inc
@@ -0,0 +1,46 @@
+MysteryEventScript_BattleCard:: @ 867513C
+ setvaddress MysteryEventScript_BattleCard
+ vgoto_if_set FLAG_MYSTERY_EVENT_DONE, MysteryEventScript_BattleCardInfo
+ setorcopyvar VAR_RESULT, GET_CARD_BATTLES_WON
+ specialvar VAR_0x8008, GetMysteryEventCardVal
+ compare VAR_0x8008, REQUIRED_CARD_BATTLES
+ vgoto_if_ne MysteryEventScript_BattleCardInfo
+ lock
+ faceplayer
+ vmessage sText_MysteryGiftBattleCountCard_WonPrize
+ waitmessage
+ waitbuttonpress
+ giveitem ITEM_POTION
+ release
+ setflag FLAG_MYSTERY_EVENT_DONE
+ end
+
+MysteryEventScript_BattleCardInfo: @ 8675179
+ 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.$"