Jump to content

Recommended Posts

Posted
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?

Posted

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

Posted
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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...