Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Reply
 
Thread Tools
  #1    
Old October 18th, 2010 (7:47 AM).
Umbra's Avatar
Umbra Umbra is offline
  • Platinum Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 20
Gender: Female
Nature: Calm
Posts: 1,745

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!

Reply With Quote

Relevant Advertising!

  #2    
Old April 10th, 2011 (1:39 AM).
p.claydon p.claydon is offline
     
    Join Date: Jan 2011
    Gender:
    Posts: 335

    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

    Reply With Quote
    Reply
    Quick Reply

    Sponsored Links
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -8. The time now is 3:37 PM.