Albedo Posted October 19, 2017 Posted October 19, 2017 I was using this code in some Pokemons and end with random Moves on same Pokemon or Relearn Moves with legal problems .OT_Friendship=255 .Move1_PPUps=3 .Move2_PPUps=3 .Move3_PPUps=3 .Move4_PPUps=3 .IV_HP=31 .IV_ATK=31 .IV_DEF=31 .IV_SPA=31 .IV_SPD=31 .IV_SPE=31 .PKRS_Strain=1 .PKRS_Days=3 .Moves=$suggest .RelearnMoves=$suggest .EncryptionConstant=$rand .PID=$rand
theSLAYER Posted October 19, 2017 Posted October 19, 2017 27 minutes ago, Albedo said: I was using this code in some Pokemons and end with random Moves on same Pokemon or Relearn Moves with legal problems .OT_Friendship=255 .Move1_PPUps=3 .Move2_PPUps=3 .Move3_PPUps=3 .Move4_PPUps=3 .IV_HP=31 .IV_ATK=31 .IV_DEF=31 .IV_SPA=31 .IV_SPD=31 .IV_SPE=31 .PKRS_Strain=1 .PKRS_Days=3 .Moves=$suggest .RelearnMoves=$suggest .EncryptionConstant=$rand .PID=$rand Post actual Pokemon files. (BTW, I suspect that the cause of your legal problems, may be due to editing Pokemon that origin from Gen 3 or 4)
Albedo Posted October 20, 2017 Author Posted October 20, 2017 Here its a save with the same pokemon, running the code a couple times(3) ending with this pokemons main
theSLAYER Posted October 20, 2017 Posted October 20, 2017 @Kaphotics it looks like the "suggest" function in batch editor is giving TMs as relearnable slots, then subsequently PKHeX will flag it as illegal. I think passing down TMs/HMs is limited to before Gen 6. 1
Albedo Posted October 21, 2017 Author Posted October 21, 2017 I dont know if this help but i think the random moves from .Moves=$suggest come from this code in:https://github.com/kwsch/PKHeX/blob/master/PKHeX.WinForms/Subforms/PKM%20Editors/BatchEditor.cs case nameof(PKM.Moves): var moves = info.SuggestedMoves; Util.Shuffle(moves); Array.Resize(ref moves, 4); PKM.Moves = moves; return true;
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now