Skip to content

Add a new Challenge Cup prize card

ElectroDeoxys edited this page Jul 11, 2024 · 1 revision

When the player beats the Challenge Cup, the game picks a random card from a pool of cards as a reward. In this tutorial we will add the phantom Venusaur card to this pool so that it also has a chance to be obtained in this way.

Contents

  1. Add a new prize card entry

1. Add a new prize card entry

We are going to add Venusaur to the list of cards in ChallengeCupPrizeCards. Edit src/engine/overworld/scripting.asm:

 ChallengeCupPrizeCards:
 	...

 	db FLYING_PIKACHU
 	tx FlyingPikachuTradeCardName

+	db VENUSAUR_LV64
+	tx VenusaurTradeCardName
 .end

Each card is also associated with a text that is shown when they are awarded, so we should add it as well (for adding new text you can check this tutorial):

+VenusaurTradeCardName:
+	text "<Lv>64 VENUSAUR"
+	done

And with that, Venusaur lv64 is now one of the possible awards in the Challenge Cup!

venusaur_lv64