Jump to content
MushGuy

Illegal Cosplay Pikachu?

Recommended Posts

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 by MushGuy

Share this post


Link to post
Share on other sites
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

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
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):

image.png

Share this post


Link to post
Share on other sites

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;
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...