Jump to content

Kaphotics

Helpful Member
  • Posts

    7959
  • Joined

  • Last visited

  • Days Won

    477

Posts posted by Kaphotics

  1. 4 minutes ago, marvinstrife said:

    @theSLAYER im batch editing mons on platinum, specifically i want them to make look like theyre hatched from eggs.

    the strings i used are:

    .Version=Pt
    .Ball=4
    .MetMonth=3
    .MetDay=22
    .MetYear=9
    .MetLevel=0
    .IsEgg=False
     
    .EggLocation=2000
    .EggMonth=3
    .EggDay=22
    .EggYear=9
     

     but i dont know what string should i choose for "encountered on" field. when i manually change it as "None" to 1 mon, it became legal, but i dont know what string should i use for batch, i already searched for solutions on google, gemini and chatgpt, but i cant find the right answer, i also looked to the past comments on this thread but didnt find information about it. hope you can help me, thank you very much.

    Screenshot 2026-01-14 084043.png

    Use the drop-down inside the batch editor to see the list of properties. GroundTile

    Not sure why you're using the batch editor to modify stuff; is the Encounter Database not usable?

    • Like 1
  2. 2 hours ago, ATRociousFuBear said:

    Hello! This might be odd as it is not reporting a legality error itself, but something that I believe should be one.

    In Legends Z-A (and possibly also Legends Arceus), Alphas all seem to be locked at Scale 255. I've run my own legitimately captured Alphas through PKHeX to double-check, as well as some examples from the encounter table. Before I had learned how to use the encounter table, however, I had altered a legitimately captured non-Alpha Hisuian Goodra to become Alpha since I had struggled for hours to capture an Alpha legitimately. After a few hours of playing, I had noticed that its size was showing incorrectly within the game's stat screen despite the Goodra being recognized as being an Alpha. After looking over the file again, I saw that the Scale had not been altered from what the original Goodra's size was. The stat screen showed M instead of XL but the Alpha marker was still present.

    To demonstrate, here is an Alpha Pikachu that I pulled off the encounter table using the most recent software version. After reducing the Scale from 255 (XL) to 0 (XS), it still shows up as being perfectly legal even though it should not be a legitimate encounter. I'm not sure if this is really an issue or if it's something that can be adjusted, but I did want to bring it to someone's attention since I do appreciate all the hard work that has gone into PKHeX! (And I'm also grateful to have learned how to utilize the encounter table! 😅)
    image.thumb.png.359b60cdd53c69fafe2ef8135b35113f.png

    Thanks, fixed on latest commit: Enhance H/W/S invalid messages, flag !255 alphas · kwsch/PKHeX@3a8bc58

    On 1/9/2026 at 4:09 PM, pokeknight said:

    The latest version of PKHeX incorrectly marks Apricorn balls as legal for Pokemon with a ChainShiny PID-type caught in Platinum.

    Thanks, it's actually a GUI bug the invalid Ball you picked is actually being forced back to Poke, but it displayed whatever you selected instead. If you set it to a slot then re-view it, you can confirm the "fixing" of the GUI indication as it really is legal. I've added some logic to display the actual sanitized value (not the selection, if it was impossible), as well as added some logic to check for a specific case where the batch editor/external code managed to set an invalid BallHGSS value.

    Add Gen4 HG/SS ball check · kwsch/PKHeX@6e48294

    • Thanks 1
  3. 16 minutes ago, pokeknight said:

    Thanks for replying! If this is technically possible albeit unlikely (~37%) assuming every other RNG step was correctly hit, shouldn't PKHeX mark the resulting Scyther as Fishy instead of Illegal?

    PKHeX is telling you that there is no RNG frame that can hit the seed, because it checked every single frame against that 37%. It's an impossible-to-hit frame, aka illegal.

  4. 1 hour ago, pokeknight said:

    what am I missing

    If you're running a Cute Charm lead, how do you trigger the encounter? There are no species that have the ability Cute Charm, that can also learn Sweet Scent.

    Without Sweet Scent, you must "randomly" encounter it. That is why PKHeX flags it; you cannot trigger an encounter to land on that PID/IV -- RNG Reporter does not check if a lead can exist for it. The "random" chance of triggering the encounter is 25% (boosting to ~37% via White Flute).

    See below snippets of PKHeX's code where it verifies the feasibility of "random" encounters.

        private static bool IsAbleToSweetScent(this LeadRequired lead) => lead
            is None // Pretty much anything grass.
            or IntimidateKeenEyeFail // Masquerain & Mawile
            or PressureHustleSpirit or PressureHustleSpiritFail // Vespiquen
            // Synchronize: None
            // Cute Charm: None
            // Static/Magnet Pull: None
        ;
    
    
            // BCC only allows one Pokémon to be in the party.
            // Specific lead abilities can learn Sweet Scent, while others cannot.
            // The only entry into this method requires an ability that has no species available with Sweet Scent.
            // Therefore, without Sweet Scent, we need to trigger via turning/walking.
            // With an area rate of 25, this arrangement will succeed 37% of the time.
    
            // The game checks 2 random calls to trigger the encounter: movement -> rate -> generate.
            // HG/SS has an underflow error (via radio) which can pass the first rand call for movement.
            // Only need to check the second call for rate.
            // Rate can be improved by 50% if the White Flute is used.
            // Other abilities can also affect the rate, but we can't use them with our current lead.

     

  5. Multiple missing sectors in your savefile, based on the save file structure.

    Sector 2 @ 02000 invalid.
    Sector 4 @ 04000 invalid.
    Sector 6 @ 06000 invalid.
    Sector 12 @ 0C000 invalid.
    HoF first sector invalid.
    e-Reader data invalid.

    image.png

     

    Using the Gen3 Save Recovery tool: GitHub - projectpokemon/RecoverSaveGen3: Try and recover a Gen3 save file via console app!

    image.pngPokemon - Leaf Green Version (Rev 1).sav.fixed

    • Like 1
  6. 2 hours ago, Rubino said:

    As I already told, is a legitimate charmender. I maxed iv and ev (in both correct way) to 20 pokemon in za, only this charizard give me unlegit. Is the charmender from the quest, is legit in theory.  I only maxed him ev and iv. How can i fix him, i mean make him legit like he deserve ? Thanks

    Read the first post of this thread. This thread is not for help when you've made edits to a Pokemon with the program, it is for legitimate things being flagged incorrectly. Z-A has RNG correlations and you cannot modify IVs without invalidating the PID IV+ correlation.

  7. 2 hours ago, Asia81 said:

    Meltan and Hoopa-Unbood are flagged illegal in my save.
    I didn't touch them at all, except for Hoopa I changed his form in-game with its own item and that's all.image.png.a8b21a1c36c0d2e933db1c30b167f39b.png

    image.png.763a877ab16de6177662a78a69fd5edf.png

    0720-01 - Hoopa - F92BC278F568.pa9 344 B · 0 downloads 0808 - Meltan - 01F63FC0C102.pa9 344 B · 0 downloads

    Meltan: fixed shortly after the previous release: Update EncounterStatic9a.cs · kwsch/PKHeX@61a13fd

    Hoopa: fixed just now, thanks for the reminder: Misc tweaks for Hoopa-1 plus flags · kwsch/PKHeX@85abb48

    • Like 1
  8. The program gave you every hint possible. Look at your SD card and check the write protection switch.

    If you aren't able to figure it out, it should be an easy Google search.

  9. NuGet Gallery | PKHeX.Core 25.12.21

    You can write your own C# scripts and run them with LINQPad; you can aggregate all the donuts as you see fit with a dozen or so lines of code:

    const string path = @"D:\main";
    var data = File.ReadAllBytes(path);
    var sav = new SAV9ZA(data);
    var donuts = sav.Donuts;
    
    for (int i = 0; i < DonutPocket9a.MaxCount; i++)
    {
        var donut = donuts.GetDonut(i);
        // interact with the Donut9a object
    }

     

  10. The expected size is 0x309FA6, not 0x309F9E. Your save file is 8 bytes too small.

    Based on save file structure, 8 bytes different is assumedly "wrong" in that it can't be a missing block (a block is 4 bytes identifier, 1 byte type, then however many bytes needed for data -- 3 is not representative of anything, and not a 2-byte boolean array missing).

    If you transferred the same truncated save file back to the console, then the original (correct) size file is probably lost. Try backing it up again? Try saving again in-game, and transfer that file?

    If that still doesn't work, you can try private messaging me the file so I can see what is actually missing (truncation, or cheat codes corrupting the save data).

  11. 2 hours ago, roxas7234 said:

    Hi,

    For some reason my Rayquaza I caught during the shiny event in Scarlet last year is still marked as illegal.

    Initially I thought it was just because the event database hadn't been updated yet, but noticed now almost a year later its still appearing as illegal.

    Adding one into the box from the encounter database is marked as legal, so not sure whats causing it.

     

    This mon is 100% legally caught and unmodified. Leveling, hypertraining and EVs were done in-game.

    Screenshot 2025-12-18 000019.png

    0384 ★ - Rayquaza - 0FE4DD137505.pk9 344 B · 3 downloads

    Doubtful; the RNG seed does not yield the PID/IV that you have on the file, indicating that something was modified (such as the Encryption Constant).

×
×
  • Create New...