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

Dynamax & Max Raid Battles [Essentials v18.1]

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.
 
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.
 
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
[PokeCommunity.com] 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
 
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
 
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.
 
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?
 
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.
 
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
 
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:
 
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".
 
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
 
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:
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
 
---------------------------
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