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

[Error] Error in Max Raid Battles

Shashu-Greninja

"With great power comes great responsibility"- Whe
  • 99
    Posts
    4
    Years
    Hi Pokecommunity,
    I am facing a bug with the max raid battles. After I start a max raid battle and select the moves for all three of my pokemon, I get this error:-
    Spoiler:

    In my project I use the dynamax, z-move and the gen 8 project. Thanks in Advance to those who help me out with this problem :)
     
    My line 451 is pbAttackPhaseMegaEvolution, which does not contain a bracket call.
    Can you post your pbAttackPhase function? (And tell us which line is 451)
    (Post the pbAttackPhase function from Dynamax_Compatibility)

    PS: Next time, please post these errors in the Dynamax topic (I use plural because it's not the first time). You're lucky I roam the forum like I'm a Raikou, but Lucidious probably don't.
     
    My line 451 is pbAttackPhaseMegaEvolution, which does not contain a bracket call.
    Can you post your pbAttackPhase function? (And tell us which line is 451)
    (Post the pbAttackPhase function from Dynamax_Compatibility)

    PS: Next time, please post these errors in the Dynamax topic (I use plural because it's not the first time). You're lucky I roam the forum like I'm a Raikou, but Lucidious probably don't.

    My pbAttackPhase is:-
    Spoiler:

    PS: Next time, please post these errors in the Dynamax topic (I use plural because it's not the first time). You're lucky I roam the forum like I'm a Raikou, but Lucidious probably don't.
    OK Sorry, from the next time i will surely post there.
     
    My pbAttackPhase is:-
    <CODE>

    Whoops, I realised I looked at the wrong version of the Dynamax compatibility file ^^"
    I took a clean version and I get the same error.

    Just above line 451, paste this:
    Code:
    next if !b || b.fainted?
     
    Back
    Top