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 (5:09 AM).
nuzamaki90's Avatar
nuzamaki90 nuzamaki90 is offline
Knight of The Volt
     
    Join Date: Feb 2008
    Location: North Carolina
    Age: 23
    Gender: Male
    Nature: Relaxed
    Posts: 98
    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

    Relevant Advertising!

      #2    
    Old September 23rd, 2012 (5:36 AM).
    FL's Avatar
    FL FL is offline
    Pokémon Island Creator
       
      Join Date: Sep 2010
      Gender: Male
      Posts: 1,692
      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

      Forum Jump


      All times are GMT -8. The time now is 5:43 PM.