- Pokémon Essentials Version
- v18.1 ➖
is just a script to get berrys with other form, nothing special... the parameters of this function are:
All of this options are optional and you can put only the function (pbShakeTreeEncounter), the berry default parameter is :ORANBERRY, the maxBerry default parameter is 2, the minBerry default parameter is 1 and maxJolting is 3.
If your map have this funtion, you need to define the pokemon that can appear in this tree, you can make this in the debug mode > information editors > edit wild encounters and set the tree pokemons of the map.
To avoid the unlimitd shakes, just call this function like this:
(if i wrote something wrong, sorry, i still learning english)
- berry: the berry that the tree will drop.
- maxBerry: the max berry that the tree can drop per 'jolting'.
- minBerry: the min berry that the tree can drop per 'jolting'.
- maxJolting: the limit of jorting that the player can shake, if the player shake more of the limit, a wild pokemon will appear.
All of this options are optional and you can put only the function (pbShakeTreeEncounter), the berry default parameter is :ORANBERRY, the maxBerry default parameter is 2, the minBerry default parameter is 1 and maxJolting is 3.
If your map have this funtion, you need to define the pokemon that can appear in this tree, you can make this in the debug mode > information editors > edit wild encounters and set the tree pokemons of the map.
To avoid the unlimitd shakes, just call this function like this:
(if i wrote something wrong, sorry, i still learning english)
- Credits
- if you want to give Credits:
Dracrixco.