• 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!
  • 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.

[Other Question] Pokemon wild battle ends even if the two active pokemon aren't fainted

  • 4
    Posts
    4
    Years
    • Seen Dec 16, 2022
    I don't know if it's a bug. But In my project made with not modified essentials v17.2, sometime when there is a programmed wild encounter, the battle ends before that one of two active pokemon is fainted. I have insered the wild battle in a conditional branch, and after the not finished battle, is like i have win the battle.
    In particular i've seen thet it happens when my pokemon and the opposite pokemon (in my case Dragonite) have few hp (hp bar orange or red).

    (solved)
     
    Last edited:
    I don't know how to provide a debug log of the battle. It seems that the battle ends if Dragonite (that is the wild opponed pokemon ) has at least orange hp bar, use the move "dragon tail" and lowers the hp bar of my pokemon at the red color. Then the battle fade out and the game procedes with the conditional brench of the winned battle. If Dragonite uses another move and my hp are green or orange, this bug does not occur, and the battle continues. In this case I can olso defeat Dragonite or i can lose tha battle. In fact I noticed this bug when I tried to take them off a little energy at a time to capture it.
     
    This is my final debug log of a battle. The battle is not over. But in the game is over. Battle screen fade out (first that he say that i won and first that give me exp point), and then i can continue to play. It procedes in the winning conditional branch.

    ******************************************

    ***Round 1***
    [AI] The wild Dragonite's moves: Dragon Rage=100, Slam=100, Agility=100, Dragon Tail=100
    [AI] Will use Agility
    [Priority] Espeon (0), the wild Dragonite (1)
    Espeon used Psychic
    Move's damage calculated to be 48
    [HP change] The wild Dragonite lost 48 HP (107=>59)
    [Move effect triggered] Psychic's added effect
    [Stat change] The wild Dragonite's Special Defense fell by 1 stage(s) (was 0, now -1)
    Move did 1 hit(s), total damage=48
    The wild Dragonite used Agility
    [Stat change] The wild Dragonite's Speed rose by 2 stage(s) (was 0, now 2)
    [End of round]

    ***Round 2***
    [AI] The wild Dragonite's moves: Dragon Rage=100, Slam=100, Agility=100, Dragon Tail=100
    [AI] Will use Slam
    [Priority] The wild Dragonite (1), Espeon (0)
    The wild Dragonite used Slam
    Move's damage calculated to be 34
    [HP change] Espeon lost 34 HP (110=>76)
    Move did 1 hit(s), total damage=34
    Espeon used Covet
    Move's damage calculated to be 20
    [HP change] The wild Dragonite lost 20 HP (59=>39)
    Move did 1 hit(s), total damage=20
    [End of round]

    ***Round 3***
    [AI] The wild Dragonite's moves: Dragon Rage=100, Slam=100, Agility=100, Dragon Tail=100
    [AI] Will use Dragon Tail
    [Priority] Espeon (0), the wild Dragonite (1)
    [Withdrew Pokémon] Player withdrew Espeon
    [Send out Pokémon] Player sent out Beedrill in position 0
    The wild Dragonite used Dragon Tail
    Move's damage calculated to be 69
    [HP change] Beedrill lost 69 HP (74=>5)
    Move did 1 hit(s), total damage=69
     
    Last edited:
    I have read the link and i understood. Thank you for your support. I'll teach him another set of moves.
     
    Back
    Top