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.


Reply
 
Thread Tools
  #1    
Old September 23rd, 2012, 05:09 AM
nuzamaki90's Avatar
nuzamaki90
Knight of The Volt
 
Join Date: Feb 2008
Location: North Carolina
Age: 20
Gender: Male
Nature: Relaxed
Hi peeps, I was wondering if there was a script on essentials that asked the player to pick 3 PkMn out of their current team to battle like in the Battle Frontier, Battle Tent, Battle Subway, ect.

I need to know because I'm trying to add this 3v3 thing in my game but I don't know whether or not if there is a script that does this.

Edit: I would also like to know if another mechanic, where when the player loses, instead of sending them to the Pokemon Center or whatever, the game continues with the Battle Escort..err person telling you that you lost and you're disqualified and takes you out, back into the lobby.

Thanks as always -Nuza
Reply With Quote
  #2    
Old September 23rd, 2012, 05:36 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
I done something similar, I know that this isn't the best way and is a little bizarre. Create in some place:

Code:
def sampleRules3Pokemon
  ret=PokemonChallengeRules.new
  ret.setLevelAdjustment( OpenLevelAdjustment.new(PBExperience::MAXLEVEL))
  ret.setNumber(3)
  return ret
end

def useThreePokemon
  pbBattleChallenge.set("sampleRules3Pokemon",7,sampleRules3Pokemon)
  pbEntryScreen(8,100)
  oldParty=$Trainer.party
  newParty=pbBattleChallenge.getParty
  pbBattleChallenge.pbCancel
  $Trainer.party=newParty
  ret=yield
  $Trainer.party=oldParty
  return ret
end
So, instead of calling something like: 'pbTrainerBattle(PBTrainers::TRAINER,"Dave",_I("No!!!"))', calls 'useThreePokemon{pbTrainerBattle(PBTrainers::TRAINER,"Dave",_I("No!!!"))}'. Untested.
__________________
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:39 PM.


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.