• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Dynamax & Max Raid Battles [Essentials v18.1]

StCooler

Mayst thou thy peace discover.
9,301
Posts
4
Years
    • Seen May 5, 2024

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    There is any way to set up an event like A wild Charizard battle ( not max raid den) But it can gmax or dmax because idont wanna create a max raid den I want to create max raid battle. I want to remove max den Pokemon screen.
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    There is any way to set up an event like A wild Charizard battle ( not max raid den) But it can gmax or dmax because idont wanna create a max raid den I want to create max raid battle. I want to remove max den Pokemon screen.
    That's a good question actually.

    Paste this code somewhere in the Dynamax Max Raid Event script:
    Code:
    def pbMaxRaidBattleSimple(species, lvl, gmax)
      # species = PBSpecies constant (of the form: PBSpecies::KABUTOPS for example)
      # lvl = Pokémon level (will be converted to a rank level).
      # gmax = boolean
      setBattleRule("canLose")
      setBattleRule("cannotRun")
      setBattleRule("noPartner")
      setBattleRule(sprintf("%dv%d",MAXRAID_SIZE,1))
      
      s = pbGetSpeciesFromFSpecies(species)
      $game_switches[MAXRAID_SWITCH] = true 
      $game_variables[MAXRAID_PKMN] = s + [nil,lvl,gmax]
      pbWildBattleCore(species, lvl)
      pbResetBattle
      $PokemonTemp.clearBattleRules
      for i in $Trainer.party; i.heal; end
    end
    For example, if I want a Max Battle against a Caterpie, I set an event:
    Code:
    pbMaxRaidBattleSimple(PBSpecies::CATERPIE, 50, false)

    I didn't test it much though.
     
    30
    Posts
    3
    Years
  • Hi, in the last post i was talkimg about can we battle mega evolved pokemon in max raid and i already send the link but that doesnt work here is the another link
    Dynamax & Max Raid Battles [Essentials v18.1]



    https://drive.google.com/file/d/1-LGVlXJYFUh0t7LrUGD3_lb3ZfkT-p-p/view?usp=drivesdk

    https://drive.google.com/file/d/1-LGUmRGbujWqSfGBPs9wUJAsVbYA_u_L/view?usp=drivesdk
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    That's a good question actually.

    Paste this code somewhere in the Dynamax Max Raid Event script:
    Spoiler:
    Spoiler:


    ThankYou Friend I Will Also Credit You.
    I Was Thinking Because It Is Annoying To Only Have Max Raid Den But ThankYou I Will Try Tomorrow. if an issue I will tell you
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Plz SomeOne Help Icons Are Not coming Like In Summary Screen when I use max soup on gmax Pokemon it can gmax but in summary screen gmax logo and Dynamax level icon also not coming.
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    Plz SomeOne Help Icons Are Not coming Like In Summary Screen when I use max soup on gmax Pokemon it can gmax but in summary screen gmax logo and Dynamax level icon also not coming.
    What summary screen? The screen before a raid or the summary in the party?
     
    1,408
    Posts
    10
    Years
    • Seen today
    Plz SomeOne Help Icons Are Not coming Like In Summary Screen when I use max soup on gmax Pokemon it can gmax but in summary screen gmax logo and Dynamax level icon also not coming.

    You dont have to post your questions AND message me every issue you have. Pick one or the other. Like I responded to you, if none of the summary icons are appearing then you likely installed it incorrectly, or have another script installed that is overwriting the Summary.
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    That's a good question actually.

    Paste this code somewhere in the Dynamax Max Raid Event script:
    Code:
    def pbMaxRaidBattleSimple(species, lvl, gmax)
      # species = PBSpecies constant (of the form: PBSpecies::KABUTOPS for example)
      # lvl = Pokémon level (will be converted to a rank level).
      # gmax = boolean
      setBattleRule("canLose")
      setBattleRule("cannotRun")
      setBattleRule("noPartner")
      setBattleRule(sprintf("%dv%d",MAXRAID_SIZE,1))
      
      s = pbGetSpeciesFromFSpecies(species)
      $game_switches[MAXRAID_SWITCH] = true 
      $game_variables[MAXRAID_PKMN] = s + [nil,lvl,gmax]
      pbWildBattleCore(species, lvl)
      pbResetBattle
      $PokemonTemp.clearBattleRules
      for i in $Trainer.party; i.heal; end
    end
    For example, if I want a Max Battle against a Caterpie, I set an event:
    Code:
    pbMaxRaidBattleSimple(PBSpecies::CATERPIE, 50, false)

    I didn't test it much though.

    it works but when start battle a line says caterpie lurks out of den idon want this line
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Do you get the dynamax frame and no blue/pink small bars, or you don't get anything?

    hey I m also getting this error during battle all icons come but in my pokemon summary gmax and dynamax level logo not coming
    here is my pscreensummary script
    Spoiler:
     
    1,408
    Posts
    10
    Years
    • Seen today
    if @pokemon.shiny?
    #===========================================================================
    # Dynamax - Displays Dynamax Levels and G-Max Factor
    #===========================================================================
    pbDisplayGMaxFactor if defined?(@pokemon.dynamax?)
    pbDisplayDynamaxMeter if defined?(@pokemon.dynamax?)
    #===========================================================================
    imagepos.push([sprintf("Graphics/Pictures/shiny"),2,134])
    end

    Like I said, you didn't install it correctly. You set it up so that Dynamax info is only shown if the Pokemon is shiny. The instructions say to install these lines AFTER the code for shinyness, not IN it. Move it after the "end".
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    Like I said, you didn't install it correctly. You set it up so that Dynamax info is only shown if the Pokemon is shiny. The instructions say to install these lines AFTER the code for shinyness, not IN it. Move it after the "end".

    it works thank you
     

    StCooler

    Mayst thou thy peace discover.
    9,301
    Posts
    4
    Years
    • Seen May 5, 2024
    it works but when start battle a line says caterpie lurks out of den idon want this line
    I'm not helping with that. You should look for the function pbStartBattleSendOut() and do stuff by yourself.

    hey I m also getting this error during battle all icons come but in my pokemon summary gmax and dynamax level logo not coming
    here is my pscreensummary script
    The error is here:
    Code:
        # Show shininess star
        if @pokemon.shiny?
          #===========================================================================
          # Dynamax - Displays Dynamax Levels and G-Max Factor
          #===========================================================================
          pbDisplayGMaxFactor if defined?(@pokemon.dynamax?)
          pbDisplayDynamaxMeter if defined?(@pokemon.dynamax?)
          #===========================================================================
          imagepos.push([sprintf("Graphics/Pictures/shiny"),2,134])
        end
    This code should be:
    Code:
        # Show shininess star
        if @pokemon.shiny?
          imagepos.push([sprintf("Graphics/Pictures/shiny"),2,134])
        end
        #===========================================================================
        # Dynamax - Displays Dynamax Levels and G-Max Factor
        #===========================================================================
        pbDisplayGMaxFactor if defined?(@pokemon.dynamax?)
        pbDisplayDynamaxMeter if defined?(@pokemon.dynamax?)
        #===========================================================================
    because in the installation guide, it says:
    11) In PScreen_Summary, add the following lines:

    After code for "if @pokemon.shiny?":
    Paste this:
    Code:
        #===========================================================================
        # Dynamax - Displays Dynamax Levels and G-Max Factor
        #===========================================================================
        pbDisplayGMaxFactor   if defined?(@pokemon.dynamax?)
        pbDisplayDynamaxMeter if defined?(@pokemon.dynamax?)
        #===========================================================================
    I admit it may be ambiguous, but here Lucidious means "after the whole code in the "if"".
     
    Last edited:

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    I'm not helping with that. You should look for the function pbStartBattleSendOut() and do stuff by yourself.

    no I'm talking in simplemaxraid battle that you made

    The error is here:
    Code:
        # Show shininess star
        if @pokemon.shiny?
          #===========================================================================
          # Dynamax - Displays Dynamax Levels and G-Max Factor
          #===========================================================================
          pbDisplayGMaxFactor if defined?(@pokemon.dynamax?)
          pbDisplayDynamaxMeter if defined?(@pokemon.dynamax?)
          #===========================================================================
          imagepos.push([sprintf("Graphics/Pictures/shiny"),2,134])
        end
    This code should be:
    Code:
        # Show shininess star
        if @pokemon.shiny?
          imagepos.push([sprintf("Graphics/Pictures/shiny"),2,134])
        end
        #===========================================================================
        # Dynamax - Displays Dynamax Levels and G-Max Factor
        #===========================================================================
        pbDisplayGMaxFactor if defined?(@pokemon.dynamax?)
        pbDisplayDynamaxMeter if defined?(@pokemon.dynamax?)
        #===========================================================================
    because in the installation guide, it says:

    I admit it may be ambiguous, but here Lucidious means "after the whole code in the "if"".

    i fix it
     

    YashPokeFan123

    #PokeFan
    283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 18.1.dev]

    Exception: NoMethodError

    Message: undefined method `[]=' for 0:Fixnum



    Backtrace:

    Dynamax Mechanics:1628:in `pbDynamaxTimer'

    Dynamax Mechanics:1620:in `eachBattler'

    PokeBattle_Battle:421:in `each'

    PokeBattle_Battle:421:in `eachBattler'

    Dynamax Mechanics:1639:in `pbDynamaxTimer'

    Battle_Phase_EndOfRound:698:in `__clauses__pbEndOfRoundPhase'

    PokeBattle_Clauses:40:in `pbEndOfRoundPhase'

    Battle_StartAndEnd:341:in `pbBattleLoop'

    Battle_StartAndEnd:341:in `logonerr'

    Battle_StartAndEnd:341:in `pbBattleLoop'



    This exception was logged in

    C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
    I'm getting this error
    and

    also this
    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 18.1.dev]

    Exception: NoMethodError

    Message: undefined method `[]=' for 0:Fixnum



    Backtrace:

    Dynamax Mechanics:1194:in `pbRaidKOCounter'

    Dynamx Compability:202:in `pbFaint'

    Battler_UseMove:731:in `pbProcessMoveHit'

    Battler_UseMove:731:in `each'

    Battler_UseMove:731:in `pbProcessMoveHit'

    Battler_UseMove:437:in `pbUseMove'

    Battler_UseMove:429:in `each'

    Battler_UseMove:429:in `pbUseMove'

    Battler_UseMove:60:in `pbProcessTurn'

    Battler_UseMove:59:in `logonerr'



    This exception was logged in

    C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
    Back
    Top