Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials tutorial] How to make a rotom change form event with tutorial

Notices
For all updates, view the main page.

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 (07:47 AM).
Umbreon's Avatar
Umbreon Umbreon is offline
Gold Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 18
Gender: Male
Nature: Calm
Posts: 1,586
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
  #2    
Old April 10th, 2011 (01:39 AM).
p.claydon p.claydon is offline
 
Join Date: Jan 2011
Gender:
Posts: 300
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 UTC -8. The time now is 06:52 PM.