Pokemon Card Game Help Needed!
Forum » Programming & Design / TI-83/84 Programming » Pokemon Card Game Help Needed!
Started by: GodzillaForceGodzillaForce
Date: 29 Jul 2015 18:07
Number of posts: 13
rss icon RSS: New posts
I'm making a Pokémon Card Game and I'm stuck on the core code of the game. After you hit duel to enter the battle screen and hit draw you will draw a card. Now when the CPU draws it will usually pop up he drew an energy card if he did actually draw an energy card. But if he draws a Pokémon card and decides to keep it and wont show that he kept it and instead it will take you straight to the card list which is an option to go to outside of battle. The battle is in a while 1 loop! How did the program break from the loop! Please help! :( Here is the program btw (There is some modifications on my calculator from what you are about to see like I added where when its the CPU's turn it will now check if your damage done to him got his HP to 0 then it will tell you if you won or not but regardless the program still does the same thing where it takes you to the card list), please take a look:
New Post