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


Sir sorry to disturb I tried to fix this error myself but its again and again showing the syntax error I did all possible editing at line 1363. But it again and again shows the syntax error in the last line. Sir please teach me how can I fix this error myself.
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?)
    #===========================================================================

Code:
def pbStartChooseMoveScreen(party,partyindex,message)
    ret = -1
    @scene.pbStartForgetScene(party,partyindex,0)
    pbMessage(message) { @scene.pbUpdate }
    loop do
      ret = @scene.pbChooseMoveToForget(0)
      if ret<0
        pbMessage(_INTL("You must choose a move!")) { @scene.pbUpdate }
      else
        break
      end
    end
    @scene.pbEndScene
    return
  end
end
 

Attachments

  • [PokeCommunity.com] Dynamax & Max Raid Battles [Essentials v18.1]
    Screenshot 2021-01-19 084401.png
    53.3 KB · Views: 5
  • [PokeCommunity.com] Dynamax & Max Raid Battles [Essentials v18.1]
    Screenshot 2021-01-19 084437.png
    21 KB · Views: 3
Your Mega Slowbro form is most likely using form 1. The Dynamax script is designed assuming you're using the Gen 8 project, or v18.dev where Galarian Slowbro is form 1 instead, and Mega Slowbro is form 2. Swap these Slowbro forms in your PBS/graphics and you won't have this problem.

This is actually my fault, since I labeled this thread as a v18.1 project, which it is. But for compatibility with Gen 8 content, I swapped the Slowbro forms.
Oh thanks i got it
 
Sir sorry to disturb I tried to fix this error myself but its again and again showing the syntax error I did all possible editing at line 1363. But it again and again shows the syntax error in the last line. Sir please teach me how can I fix this error myself.
You're very lucky you screenshot your error!
Right before "class PokemonSummaryScreen", one "end" is missing.
 
[Lucidious89]
Friend, sorry for the inconvenience, it is me again because it will be that I give a mega stone to a pokemon and in combat it does not come out to mega evolve, it only comes out for dynamax ...... Sorry for my bad English is that I speak Spanish
 
[Lucidious89]
Friend, sorry for the inconvenience, it is me again because it will be that I give a mega stone to a pokemon and in combat it does not come out to mega evolve, it only comes out for dynamax ...... Sorry for my bad English is that I speak Spanish

Are you using v18.dev?
If yes, then it's a known bug. Here's the fix.
 
Last edited:
[Lucidious89]
Friend, sorry for the inconvenience, it is me again because it will be that I give a mega stone to a pokemon and in combat it does not come out to mega evolve, it only comes out for dynamax ...... Sorry for my bad English is that I speak Spanish

In my game I can mega evolution
just Place this script in Pokemon_MegaEvolution
Here is code :
Spoiler:


You can mega evolve
but I don't know how to make Charizard and Mewtwo Mega evo Method

Sorry for my bad English

And 1 things

why my dynamax pokemon can't revert to normal form?

Thank you!
 
Last edited:
In my game I can mega evolution
just Place this script in Pokemon_MegaEvolution
Example :

MultipleForms.register(:GYARADOS,{
"getSpecificMegaForm" => proc { |pkmn|
next 1 if (pkmn.hasItem?(:GYARADOSITE))
next
}
})


You can mega evolve Gyarados
but I don't know how to make Charizard and Mewtwo Mega evo Method

Sorry for my bad English

And 1 things

why my dynamax pokemon can't revert to normal form?

Thank you!

If your Pokemon arent reverting to normal, then that must mean you have some other script installed that is overwriting pbEndOfBattle. My guess is the Mid-Battle Dialogue script.
 
I see....
Thank's for the solution

Download the new version of the Mid-Battle Dialogue. Golisopod User updated his script to solve this problem.
 
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.

Well can we battle along partner trainers in 3 vs 1 with this code ?
 
Hi i havea question can we battle raid den pokemon with partner trainers ?

No. In fact, partner trainers are specifically turned off for raid battles. You'll have to add that functionality in yourself if you want that. IMO, adding AI partners seems like a lot of extra work for something that doesn't add anything substantial to the gameplay (or, imo, actually makes the gameplay worse), so I don't have any interest adding that functionality myself, which is why I havent supported it.
 
Just a suggestion.Have you ever considered putting Dynamax Adventures in the scripts?
 
I was just wandering if partner trainer can use his default AI , anyway I want to know about plugin is plugin going to be released in near future or you just dropped that idea
 
Just a suggestion.Have you ever considered putting Dynamax Adventures in the scripts?

Not really. You can more or less create a similar experience by just stringing several max raids together, so i dont particularly see a need to build anything specific for Dynamax Adventures. There's nothing particularly unique about it that cant already be emulated in some manner. Maybe down the line if I think of some interesting twist to it that makes including it seem like a worthy use of my time, ill think about adding it.
 
I was just wandering if partner trainer can use his default AI , anyway I want to know about plugin is plugin going to be released in near future or you just dropped that idea

Yes. Be patient. I wouldn't have mentioned it unless I planned on having it released at some point. It'll be done when its done.
 
Yes. Be patient. I wouldn't have mentioned it unless I planned on having it released at some point. It'll be done when its done.

Great , I was thinking that you dropped the plan but now it is going to release then i hope it should release very soon
 
Hlw everyone I am new to this community , I tried this script and all works well and I was thinking to just give a feedback to creator of the script but after reading some last posts I found that there is some plugin related script , well what is this and when it will be released ?
 
Hlw everyone I am new to this community , I tried this script and all works well and I was thinking to just give a feedback to creator of the script but after reading some last posts I found that there is some plugin related script , well what is this and when it will be released ?

You are welcome to give any feedback.

The plugin you are refering to is a compatibility script containing Dynamax + Z-moves + Ultra-Burst. Lucidious and I are working on it. We will release it when it is ready.

PS: DO NOT message us to get updates on the plugin. We will release it when it is ready. (This is not directed at you in particular)
 
Last edited:
Back
Top