mirror of
https://github.com/pret/poketcg.git
synced 2026-01-26 01:45:42 +00:00
Page:
Add a new Challenge Cup prize card
Pages
AI reference (draft)
Add a New Booster Pack
Add a new Challenge Cup prize card
Add a new card
Add female player character
Add new text
Adding a Forfeit Option in the duels
Adding a new button on the Pause menu
Adding drawbacks or restrictions to overpowered card effects
Adjust Weakness and Resistance Modifiers
Attack Damage Based on the Total Amount of Energy In Play
Cap Damage of Attacks
Choices Within Attacks
Create turn flags to limit retreating to once per turn and make new card effects
Don't allow first turn attacks
Energy Burst (damage based on the total amount of Energy attached to both Active Pokemon)
Fix common text display glitches
Home
Make AI be able to use attacks with any energy color combination
More Damage Based on Retreat Cost
New Effect Functions
Remove AI artificial delay
Replace damage counters with numbers to allow higher HP values (120 → 250)
Save space and improve performance with RST vectors
Speed up the duel animations of Drawing Cards, Shuffling Decks, Coin Toss, and Placing Prizes
Speed up the start of the game
Tutorials
Update the confusion mechanic
No results
1
Add a new Challenge Cup prize card
ElectroDeoxys edited this page 2024-07-11 13:30:31 +01:00
Table of Contents
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
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!