Set a wild Pokémon as a guaranteed shiny but get the below error
The code I'm trying is
undefined method `shiny' for #<Pokemon RATTATA Lv.5>
The code I'm trying is
Code:
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
pokemon.shiny if $game_switches[107]
}
Last edited: