- 1,748
- Posts
- 15
- Years
- Age 28
- Nearby my feet.
- Seen Apr 18, 2021
Alright here I'll show you my tutorial on rotom form changing
call with pbRotomForm1
# Start here
def pbRotomForm1 # Defines the call method
pkmn=pbFirstAblePokemon # get's the first pokemon that has 1hp+
if pkmn!=479 # checks if the pokemon is rotom.
Kernel.pbMessage(_INTL("Your text here if not rotom.")) # text if you don't have rotom first in your party.
return false # exits the script as false
end # ends the if branch
Kernel.pbMessage(_INTL("Your text here if pokemon = rotom.")) # text if you have rotom in the first slot with 1+ hp.
pkmn.form=x # (change form by replacing x 0 is normal 1+ is different forms, it is different for each kit.)
end # ends the script.
###End Script###
Well it's as simple as that!
call with pbRotomForm1
# Start here
def pbRotomForm1 # Defines the call method
pkmn=pbFirstAblePokemon # get's the first pokemon that has 1hp+
if pkmn!=479 # checks if the pokemon is rotom.
Kernel.pbMessage(_INTL("Your text here if not rotom.")) # text if you don't have rotom first in your party.
return false # exits the script as false
end # ends the if branch
Kernel.pbMessage(_INTL("Your text here if pokemon = rotom.")) # text if you have rotom in the first slot with 1+ hp.
pkmn.form=x # (change form by replacing x 0 is normal 1+ is different forms, it is different for each kit.)
end # ends the script.
###End Script###
Well it's as simple as that!