Relic Castle

Apologies if this is in essentials wiki somewhere but I looked and couldn't find anything. Basically what I want is to have an event pokemon which is subject to the in-game set rate of shiny chance, and if it IS shiny, have the event overworld be a shiny pokemon, and if not, have it be of the regular form. So I think I need a conditional branch in the event to check whether the pokemon is shiny and then if so have it display the correct overworld, but I'm not sure what that script section of the conditional branch should look like. Can anyone help me out?

Also let me know if this isn't clear enough. I can try to rephrase the question if need be
Top