• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Essentials Tutorial] How to make a rotom change form event with tutorial

  • 1,723
    Posts
    15
    Years
    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!
     
    just a quick question how does this choose the image for the different form is there a file name format that needs to be followed or something
     
    Back
    Top