The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.


Advertise here

Reply
 
Thread Tools
  #1    
Old November 14th, 2012, 06:13 PM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm

Advertise here
Alright so I want to make a part in my fangame that resembles the episode 56 in Season 1 of Pokemon. It's called the ultimate test. If you've seen it you know what i'm talking about. So I was wondering if there is a script or something that I can take all of the \PN's pokemon and set them aside and fill their party with pre-picked pokemon. any help?

I just want to know if there's already a script for this or if I need to write my own

Last edited by thor348; November 14th, 2012 at 08:17 PM.
Reply With Quote
  #2    
Old November 18th, 2012, 08:30 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
http://www.pokecommunity.com/showthread.php?t=290931

Just add the code in the module:
Code:
  def self.change(party)
    if !$PokemonGlobal.pokemonSelectionOriginalParty
      $PokemonGlobal.pokemonSelectionOriginalParty=$Trainer.party
    end
    $Trainer.party=party
  end
Calls 'PokemonSelection.change(party)' to change the trainer party and 'PokemonSelection.restore' to restore your original party. The party is an pokémon array. Example:

Code:
party=[PokeBattle_Pokemon.new(PBSpecies::BULBASAUR,5,$Trainer), PokeBattle_Pokemon.new(PBSpecies::CHARMANDER,5,$Trainer), PokeBattle_Pokemon.new(PBSpecies::SQUIRTLE,5,$Trainer)]
PokemonSelection.change(party)
Untested.
__________________
Reply With Quote
  #3    
Old November 21st, 2012, 10:02 PM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Quote:
Originally Posted by FL . View Post
Just add the code in the module:
Code:
  def self.change(party)
    if !$PokemonGlobal.pokemonSelectionOriginalParty
      $PokemonGlobal.pokemonSelectionOriginalParty=$Trainer.party
    end
    $Trainer.party=party
  end
why and where in the module do I add this?
Reply With Quote
  #4    
Old November 24th, 2012, 11:21 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by thor348 View Post
why and where in the module do I add this?
To you change the party. After the line 'module PokemonSelection'.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:19 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.