MushGuy 0 Posted April 27, 2018 (edited) I checked my Omega Ruby save with the latest version of PKHeX (18.04.18), and for some reason it tells me that the Cosplay Pikachu is somehow illegal, because of the encounter type. Can somebody give it a look? Thanks. 025-05 - Pikachu - C9CAB1236D6F.pk6 Edited April 27, 2018 by MushGuy Share this post Link to post Share on other sites
theSLAYER 2427 Posted April 27, 2018 1 hour ago, MushGuy said: I checked my Omega Ruby save with the latest version of PKHeX (18.04.18), and for some reason it tells me that the Cosplay Pikachu is somehow illegal, because of the encounter type. Can somebody give it a look? Thanks. 025-05 - Pikachu - C9CAB1236D6F.pk6 When you check the legality status in PKHeX, hold down control while clicking the flag. then screenshot the details for me to see. (Away from com right now lol) edit: Ran a few tests, apparently it's getting flagged for its IVs. I'm not sure whats wrong with its IVs tho.@Sabresite any comments? Share this post Link to post Share on other sites
MushGuy 0 Posted April 28, 2018 Here's some more details: Invalid: Unable to match an encounter from origin game. === Valid Move 1: Learned by TM/HM. Valid Move 2: Learned by TM/HM. Valid Move 3: Learned by TM/HM. Valid Move 4: Learned by Move Tutor. Valid Relearn Move 1: Valid. Valid Relearn Move 2: Valid. Valid Relearn Move 3: Valid. Valid Relearn Move 4: Valid. Valid: Current level is not below met level. Valid: Ability matches ability number. Valid: Skipped History check due to other check being invalid. Valid: OT Memory is valid. Valid: Geolocation: Country is in 3DS region. === Encounter Type: Invalid (Pikachu) PID Type: None Share this post Link to post Share on other sites
Kaphotics 922 Posted April 28, 2018 21 hours ago, theSLAYER said: When you check the legality status in PKHeX, hold down control while clicking the flag. then screenshot the details for me to see. (Away from com right now lol) edit: Ran a few tests, apparently it's getting flagged for its IVs. I'm not sure whats wrong with its IVs tho.@Sabresite any comments? via Omega Ruby (forms 1 & 3): Share this post Link to post Share on other sites
MushGuy 0 Posted April 28, 2018 So, what does it mean? Share this post Link to post Share on other sites
wwwwwwzx 7 Posted April 28, 2018 Afaik, cosplay Pikachu should be IV3. Will look for how the game treat it. Share this post Link to post Share on other sites
wwwwwwzx 7 Posted April 28, 2018 Looks like it's hardcoded. sub_77279C for static gifts v16 = v42 == 380; if ( v42 != 380 ) v16 = v42 == 381; if ( !v16 ) v16 = v42 == 25; if ( v16 ) // Latias/Latios/Pikachu { v53 = 3; // Perfect IVs count v27 = v4[5]; v28 = sub_6F72F8(v4[5], 1); if ( v28 != 6 ) { v29 = sub_6F3B30(v27, v28); if ( sub_6F4548() == 28 ) // Synchro v46 = sub_6F7300(v29); } } else { v17 = *(v3 + 22); if ( v17 != -1 ) LOWORD(v49) = *(v3 + 22); v18 = *(v3 + 23); if ( v18 != -1 ) HIWORD(v49) = *(v3 + 23); v19 = *(v3 + 24); if ( v19 != -1 ) LOWORD(v50) = *(v3 + 24); v20 = *(v3 + 25); if ( v20 != -1 ) HIWORD(v50) = *(v3 + 25); v21 = *(v3 + 26); if ( v21 != -1 ) LOWORD(v51) = *(v3 + 26); v22 = *(v3 + 27); if ( v22 != -1 ) HIWORD(v51) = *(v3 + 27); } if ( sub_6F31F8(16, v5) ) v23 = sub_6F5DE8(); // Goes to sub_3B274C else v23 = 0; 1 Share this post Link to post Share on other sites
MushGuy 0 Posted April 28, 2018 Yeah, she has 3 perfect IVs. I don't know what the actual problem is, though. Share this post Link to post Share on other sites
Kaphotics 922 Posted April 28, 2018 Thanks @wwwwwwzx, should be fixed in the next release https://github.com/kwsch/PKHeX/commit/af8084fd34ffeded5e7dda9bdc63be8166d91810 1 Share this post Link to post Share on other sites
MushGuy 0 Posted April 28, 2018 Awesome. Thanks guys! Share this post Link to post Share on other sites