EventEncounters (Forms)

xUMG

Hoho-oh?
Member
Joined
Oct 16, 2017
Posts
114
iv'e been trying to find a way to make an event encounter for pokemon forms, and i can't find it at all.

Code:
pbWildBattle(:BURBASAUR,5)
 

xUMG

Hoho-oh?
Member
Joined
Oct 16, 2017
Posts
114
There's a bit about it on the wiki page for Event Encounters. Basically what it recommends is setting a certain switch flip to make the changes you want to all pokemon, but only flipping the switch ON and OFF direction before and after the battle you're setting up.
i have red that thread, now i have a new question is threre anyway on how to modify this script?

Code:
Events.onWildPokemonCreate+=proc {|sender,e|
   pokemon=e[0]
   if $game_switches[SHINY_WILD_POKEMON_SWITCH]
	 pokemon.makeShiny
   end
so basically it modifies it so when the pokemon im battling will be its form 1.
 
Well here's an example that I've done to make a wild Rotom appear in its' Oven form.
Code:
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if $game_switches[78]
pokemon.pbLearnMove(:OVERHEAT)
pokemon.formNoCall=1
end
}
The first part stays the same, but then I set the switch number that I want to use (In my case it was the Switch number 78). Then because this was Rotom, I made it learn the move Overheat. The next line about pokemon.formNoCall=1 makes it change form, and you can add even more modifications if you wanted to be really specific about ability, gender, or whatever.
 
Top