The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Eventing Question Start event if party length=1

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 3 Days Ago (4:44 PM).
Tortussa Tortussa is offline
     
    Join Date: Oct 2018
    Posts: 18
    I don't know how to make a battle start only if i have exactly 1 pokemon in the party
    Reply With Quote
      #2    
    Old 2 Days Ago (12:21 AM).
    mgriffin's Avatar
    mgriffin mgriffin is offline
       
      Join Date: Apr 2014
      Posts: 136
      Read the wiki. It says
      Quote:
      $Trainer.pokemonCount Returns the number of Pokémon in the player's party (unfainted and fainted).
      Reply With Quote
        #3    
      Old 2 Days Ago (1:06 AM).
      Tortussa Tortussa is offline
         
        Join Date: Oct 2018
        Posts: 18
        Quote:
        Originally Posted by mgriffin View Post
        Read the wiki. It says
        i don't get what to do, conditional branch $Trainer.pokemonCount=1 ?
        Reply With Quote
          #4    
        Old 2 Days Ago (1:09 AM).
        mgriffin's Avatar
        mgriffin mgriffin is offline
           
          Join Date: Apr 2014
          Posts: 136
          Quote:
          Originally Posted by Tortussa View Post
          i don't get what to do, conditional branch $Trainer.pokemonCount=1 ?
          Exactly. $Trainer.pokemonCount==1 should work (note the two equals signs—x=y is "set x to y", x==y is "is x equal y?")
          Reply With Quote
          Reply

          Quick Reply

          Join the conversation!

          Create an account to post a reply in this thread, participate in other discussions, and more!

          Create a PokéCommunity Account
          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 11:08 PM.