Hello everyone!
I was modifying the Ev and Iv system for opponents' pokemon when I read for both Iv/Ev the "FOR" cycle like this:
I am not understanding why the cycle goes to 6! I imagine that the game wants to assign a value to Ivs/EVs in position 0,1,2,3,4,5 because they are representing the stats HP, Atk,Def, Speed, Sp.atk, Sp.def ..
But why 6?
Thanks in advance!
P.S. Is there a way to determine the EVs of Opponent's pokemon to have a back test (and verify that the new system I created works fine) ?
I was modifying the Ev and Iv system for opponents' pokemon when I read for both Iv/Ev the "FOR" cycle like this:
Code:
for i in 0...6
pokemon.iv[i]= ....
But why 6?
Thanks in advance!
P.S. Is there a way to determine the EVs of Opponent's pokemon to have a back test (and verify that the new system I created works fine) ?
Last edited: