- 19
- Posts
- 4
- Years
- Seen Oct 27, 2023
Post that in PField_EncounterModifiers
With this script is the Possibility that the encounter of the Players has a chance of 1 to 60 that that pokemon has it´s hidden ability.
2.If you want that an event encounter has a hidden ability post that also in PField_EncounterModifiers
HIDDENA is the Game_Switch I used. You also need to import the Game_Switch, in my case HIDDENA, in Settings under FISHINGENDCOMMONEVENT and behind the "=" the number of the Game_switch. It´s basically the same system with the shiny encounter switch.
Code:
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if rand(60) < 1
pokemon.setAbility(2)
end
}
With this script is the Possibility that the encounter of the Players has a chance of 1 to 60 that that pokemon has it´s hidden ability.
2.If you want that an event encounter has a hidden ability post that also in PField_EncounterModifiers
Code:
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if $game_switches[HIDDENA]
pokemon.setAbility(2)
end
}
HIDDENA is the Game_Switch I used. You also need to import the Game_Switch, in my case HIDDENA, in Settings under FISHINGENDCOMMONEVENT and behind the "=" the number of the Game_switch. It´s basically the same system with the shiny encounter switch.
Last edited by a moderator: