04-06-2015, 07:19 PM
I believe the problem is that the address you're reading from, $3EB4, is getting overwritten at the end of battle.
Try loading from $1DC5,X, or subtract 4 from the index and load from $1DC9,X instead.(The variables start at $1DC9, but $1DC9 corresponds with $3EB4)
I don't believe the $3DAC-$3DBF variables are retained out of battle at all. You'd have to copy them somewhere else that isn't overwritten.
Try loading from $1DC5,X, or subtract 4 from the index and load from $1DC9,X instead.(The variables start at $1DC9, but $1DC9 corresponds with $3EB4)
I don't believe the $3DAC-$3DBF variables are retained out of battle at all. You'd have to copy them somewhere else that isn't overwritten.