hmm, but i'm using 6 variables and 2 arrays:

Code:
var hp = 0;
var mp = 1;
var str = 2;
var mgc = 3;
var def = 4;
var agi = 5;

player1_stats[6]; //will contain the ones I posted above
temp_defender_stats[6]; //becomes player1_stats when it's players turn, becomes player2_stats when it is player 2s turn etc etc.


not sure how that is done with with the method you suggested :<
The reason I have a temp is because of player turns and enemy turns in a final fantasy based game, and whenever it's someones turn I tell the pointer of the player to be temp_defender


Last edited by Enduriel; 09/16/08 15:37.