diff options
author | tom-overton <tom.overton@outlook.com> | 2023-01-05 18:51:03 -0800 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-01-17 20:16:19 +0000 |
commit | e9693aa9fdc2006f3bc2de4f90d537706b5903d4 (patch) | |
tree | a2bf85419cde43b6f70a837dfa82981e33684011 | |
parent | d09c29c4cb529b74d7fdc69dff21d29d78bdbfa5 (diff) |
Fix issue where certain properties of TrainerPokemon were not copied
-rwxr-xr-x | src/com/sneed/pkrandom/pokemon/TrainerPokemon.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/sneed/pkrandom/pokemon/TrainerPokemon.java b/src/com/sneed/pkrandom/pokemon/TrainerPokemon.java index 9188c20..98ce3bc 100755 --- a/src/com/sneed/pkrandom/pokemon/TrainerPokemon.java +++ b/src/com/sneed/pkrandom/pokemon/TrainerPokemon.java @@ -88,6 +88,15 @@ public class TrainerPokemon { tpk.moves[2] = moves[2]; tpk.moves[3] = moves[3]; + tpk.forcedGenderFlag = forcedGenderFlag; + tpk.nature = nature; + tpk.IVs = IVs; + tpk.hpEVs = hpEVs; + tpk.atkEVs = atkEVs; + tpk.defEVs = defEVs; + tpk.spatkEVs = spatkEVs; + tpk.spdefEVs = spdefEVs; + tpk.speedEVs = speedEVs; tpk.strength = strength; tpk.heldItem = heldItem; tpk.abilitySlot = abilitySlot; |