• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Eventing Question] Handling battle loss

  • 4
    Posts
    4
    Years
    • Seen Jan 13, 2021
    I want to change the events after you lose a wild Pokemon battle so you don't faint and run to the nearest Pokemon center.
     
    This is from the Essentials Docs:

    pbWildBattle(:species,level,result,escape,canlose)
    "species" - The internal name of the species of the Pokémon to be encountered. Note the colon before it.
    "level" - The level of the Pokémon
    "result" - Optional. A Game Variable number in which the outcome of the battle will be recorded (1=won, 2=lost, 3=run, 4=caught, 5=draw).
    "escape" - Optional. false if the player is not allowed to flee from the battle (true by default).
    "canlose" - Optional. true if the game continues even if the player loses the battle (with the player's party fully healed) (false by default; the player will black out if they lose).

    You would have to change the canlose parameter to TRUE.
     
    Back
    Top