Joined: 5/27/2005
Posts: 465
Location: Turku, Finland
Looks good. Though it's kinda hard to watch it with 100% speed (so I had to watch it again with lower speed) :D. I hope you continue making this even though it may at first glance look like this game isn't the best choice for TASing.
At 100% speed, this will be almost impossible to follow. All you will see is a general blur of colors and then it will be the opponent's turn. And the opponents think too much, even when there is nothing they can do at all, they still think for the same amount of time as always.
kirbymuncher, the random variables controlling the RNG in this game appear to be at CACA-CACB. I determined the following:
- Coin flips cannot be manipulated except for doing coin flips or deck shuffles in advance. The variables only change when needed.
- The variables change every frame on the overworld and in the menu, but do not change at all when modifying a deck.
If you hit a good RNG value with maybe 20 frames to spare that gives opponent a bad hand, but does not give you a good hand, see if you can modify your deck beforehand to give yourself a good hand. The cards in your deck are stored in order of ID number.
Joined: 5/27/2005
Posts: 465
Location: Turku, Finland
I'd say: continue on! But I'm no expert in chopping ROMs to pieces, like our friend FractalFusion, so you might wanna hear other people's oppinions also.
The game determines the order of your deck using offsets. The deck itself is always fixed (and in ID order), unless you add or remove cards.
If there is a random value that gives the CPU offsets for a bad hand, but the offsets for your hand don't give what you want, perhaps it is possible to go back and change the cards and get a hand that you want.
I have not yet verified that it works, but give it a try.
http://www.datacrystal.org/wiki/Pokemon_TCG:RAM_map
Ex. If you manipulate the Rock Club Leader to have only two Digletts, but the offset of one of the cards in your hand points to #30 -> Nidoran Female and Nidoran Male is at #32, go back and replace 2 energy with 2 trainer cards, and then #30 becomes Nidoran Male.
I chop RAM to pieces much more often than ROM, which most people do. The one ROM I analyzed was NES Monopoly (it was an ASM analysis), and that was after Acmlm (expert ROM hacker) got started on it, and FCEU has a good debugger.
As far as I know, VBA has no debugger (the "Disassemble" option doesn't do anything good).
Edit: The run looks good and I recommend that you continue.
Not really anything to critizize although its really hard to tell becuase everything scrolls so fast, but it doesn't really bother me too much as its just general boring stuff you're scrolling through. Have you thought about changing you're deck later on, since you'll absolutley need it for the Elite 4/bird trainer. Just do the clubs in a way that'll take less time to travlel in the overworld.
Okay, I got to an optional battle. Not optional as in you don't have to do it, but it doesn't matter if you lose. If it is faster to lose, should I still win?
And this may be put on hold for a while to work on Kirby's Adventure.
Youd it be better to win the game in 4 turns, or to lose in two turns? You would actually be able to see that I lost, so is it worth it to lose the battle?