Skip to content

Shiny Pokémon are not recognized as legal in PKHeX #1

@Jorylugui

Description

@Jorylugui

Hello. Shiny Pokémon are not recognized as legal in PKHeX. I used canonical mode in Pokémon Sapphire Rev2.

Here's the log:

=== Starting patch run (auto mode, 1/16) ===

--- Pokemon - Sapphire Version (USA, Europe) (Rev 2).gba ---
ROM detected:
Name: Pokemon Sapphire Version (USA, Europe) (Rev 2)
Game code: AXPE
Revision: 2
CRC32: 0x9CC4410E

Patch summary:
Requested odds: 1/16
Requested mode: auto
Applied mode: canonical
Applied threshold: 8 (base game is 8)
Effective shiny bits: 16
Effective odds: ~1/15.990

Canonical reroll attempts: 529 total PID roll(s)
Compatibility: PKHeX-canonical shiny logic preserved.
Output ROM: D:\pkmn expandidos\la new new pokedex de legalites direct\Nueva carpeta\roms\Pokemon - Sapphire Version (USA, Europe) (Rev 2).shiny_1in16.gba
Output CRC32: 0x23AA706E

Patched offsets:

  • 0x03A7DE: replaced with BL 0x42D650 (canonical reroll hook)
  • 0x42D650: wrote 100-byte canonical reroll hook (reroll_attempts=529, retry_target=0x03A7BE)
  • 0x03AB34: replaced with BL 0x4150E4 (canonical fixed-personality wrapper A hook)
  • 0x4150E4: wrote 84-byte canonical fixed-personality wrapper A hook (reroll_attempts=529, retry_target=0x03AAFC)
  • 0x03AC32: replaced with BL 0x409A4C (canonical fixed-personality wrapper B hook)
  • 0x409A4C: wrote 84-byte canonical fixed-personality wrapper B hook (reroll_attempts=529, retry_target=0x03AB52)

Finished. OK: 1 FAIL: 0

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions