- 23
- Posts
- 10
- Years
- Seen Dec 18, 2018
For rotom what script do i need to have placed where, and how do i call it in pkmn essentials. All i have is this from an old post i found, and don't know where to place it or how to call it.
# 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=1 # (change form by replacing x 0 is normal 1+ is different forms, it is different for each kit.)
end # ends the script.
###End Script###
# 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=1 # (change form by replacing x 0 is normal 1+ is different forms, it is different for each kit.)
end # ends the script.
###End Script###