I used a script to make the Aurora Ticket appear in my bag in Pokémon Emerald to travel to Birth Island to capture Deoxys. I have PKSM and wanted to use it to make the Deoxys I caught Shiny because I didn’t want to have to spend countless days constantly resetting the game to get a Shiny Deoxys. But as soon as I did that and checked its legality, It said ‘Invalid: Encounter type PID mismatch’. Can someone please tell me how to fix this issue? I’ll attach some photos so you can see(first three photos are before making it Shiny, and the last three are after making it Shiny)