Hello, I've been looking at both the wiki and the PokemonMultipleForms scripts. I think I understand how to make alterate forms, but I have no idea how to trigger certain form changes happen (like Deoxys and Rotom), so my question is:
How do I make an event that changes Deoxys or Rotom's forms by interacting with it (being a meteorite, appliance, etc)?
# This change all Deoxys form in your party.
# You can use pbChoosePokemon(1,3) for individuals
# Put this script above main. Use by command:
# 'Kernel.pbMessage(_INTL("Something happened")) if changeForm(PBSpecies::DEOXYS,4)'
for pokemon in $Trainer.party
next if pokemon.egg?
pokemon.form==(form_amount-1) ? pokemon.form=0 : pokemon.form+=1