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

[Error] Help with an error in battles

  • 15
    Posts
    1
    Years
    • he/him
    • Seen yesterday
    Hello! Every time I start a battle, this bug shows up!

    * BUG *
    In pixman_region_union_rect: Invalid rectangle passed
    Set a breakpoint on '_pixman_log_error' to debug

    When in the battle, the opponent pokemon uses only the move struggle. I have set the moves for the pokemon to use, so I don't understand what's happening. This is the message appearing whenever the opponent pokemon uses the move struggle

    Exception `RuntimeError' at Section100:103 - Unknown ID STRUGGLE.

    When the battle ends, the first error shows back again.

    * BUG *
    In pixman_region_union_rect: Invalid rectangle passed
    Set a breakpoint on '_pixman_log_error' to debug

    Please, someone help me
     
    First things first, what version are you in?
    Have you changed/added any scripts or plugins? Have you edited any graphics like the battle screen or anything? The error is talking about invalid rectangles (?) And that feels like a graphic or a script for a graphic got messed with.
    Is your PBS installed properly? Since Struggle is definitely in the Essentials PBS, that could be the problem.
     
    I'm using the v21 with the berrypots plugin, BW gender selector and Bag screen with party. I edited some graphics yes, but don't deleted anything that wasn't substituted.

    I already tried recompiling the PBS files, but this didn't resolved the problem. I don't understand why the pokemons keep using only struggle, since they should know others moves and should have the PP to use it several times.
     
    If you are using the v21, the move is called "Struggle Bug" or STRUGGLEBUG, maybe it's the problem.
     
    Back
    Top