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

ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

Ok well, I've tried every which way to replicate this error, and I'm still not getting it to occur. I've replicated the paralysis scenario you outlined, and I still didn't get any errors, so I'm just gonna chalk this up to some weird fluke.

So that means error is not common ?
 
So that means error is not common ?

That means that the error is probably not due to a "normal" usage of ZUD, probably because another script is doing something we didn't expect.

In the function:
Code:
  def pbFindTargets(choice,move,user)
below the line:
Code:
    preTarget = choice[3]   # A target that was already chosen
paste this:
Code:
    if preTarget == nil
      pbMessage("Error is being replicated!")
      pbMessage(_INTL("DEBUG: choice[0]={1}, choice[1]={2}, choice[2]={3}, choice[3]={4}", choice[0], choice[1], choice[2], choice[3]))
      pbMessage(_INTL("DEBUG: move={1}, user={2}", move.name, user.pbThis(true)))
    end
Then try to get that error again. If you get the message "Error is being replicated", take a screenshot of the next two messages that the game shows, and post them here.
 
I think I may have found the rule of the error.
When the Z-move has no effect on my pokemon.
The error happen.
The first time I get the error: My pokemon is Morgrem and oppose pokemon is Necrozma with Ultranecrozium Z.
The second time I get it:My pokemon is Tyranitar and oppose pokemon is Girafarig with Psychium Z.
 
I think I may have found the rule of the error.
When the Z-move has no effect on my pokemon.
The error happen.
The first time I get the error: My pokemon is Morgrem and oppose pokemon is Necrozma with Ultranecrozium Z.
The second time I get it:My pokemon is Tyranitar and oppose pokemon is Girafarig with Psychium Z.

Ohhhh, I see. I figured out what the issue was. You're right, it was related to type immunities. The Pokemon is forced to Z-Move if the Pokemon has more than half its HP, but it won't pick a target if none of the available Pokemon would take damage from the attack. So it's trying to use a Z-Move without a target. I fixed this so that now if no eligible target is available, it won't try to use a Z-Move and will instead use a regular move.

The ZUD_02 script has been updated in the download.
 
Hi I am getting this error when i was testing max raid species battle in pokegear while switching pokemon and all appears black and yes it is on fresh essentials with gen 8 please tell me what to do ?
https://drive.google.com/file/d/1-XjsJ2Mw5kbv9-lB70LF0UomByFloRHB/view?usp=drivesdk

Your initial post stated that you made script changes that led to this issue. You edited your post to remove that detail. Did you or did you not edit any scripts before getting this error?

If you did, just undo whatever script edits you made that caused that error and work backwards to isolate the issue. I'll provide help if this issue is something that occurs solely as a consequence of the ZUD Plugin, but once you start editing scripts you're on your own. I'm betting you did make edits, because this isn't an issue that I can replicate.
 
Your initial post stated that you made script changes that led to this issue. You edited your post to remove that detail. Did you or did you not edit any scripts before getting this error?

If you did, just undo whatever script edits you made that caused that error and work backwards to isolate the issue. I'll provide help if this issue is something that occurs solely as a consequence of the ZUD Plugin, but once you start editing scripts you're on your own. I'm betting you did make edits, because this isn't an issue that I can replicate.

Well thats because I tried it on fresh version of essentials but I was getting the error again I think I have missed something ? Can you guys tell ?
 
Well thats because I tried it on fresh version of essentials but I was getting the error again I think I have missed something ? Can you guys tell ?

Have you tested if this error occurs if you attempt to switch in normal battle situations, or does it only happen in raids?
 
Hey I think the error is related with PScreen_Party so can I replace the PScreen Party script with dynamax script (V18.1) installed with the new ZUD Installed PScreenParty
 
Hey now everything works but now a bulbasaur in raid den is using Max Wyrwind and Razor Leaf 😂. So is this normal ?
 
Hey now everything works but now a bulbasaur in raid den is using Max Wyrwind and Razor Leaf 😂. So is this normal ?

Yes. Raid Pokemon can use both Max Moves and normal moves in battle, just like the main series.
 
Minor Update
I made a variety of small changes and bug fixes related to the Max Raid scripts. Please reinstall ZUD_MaxRaid_01 and ZUD_MaxRaid_02 to apply these changes.

Change Log:
  • Fixed a bug related to the Cheer command that would return an error when the healing effect was selected in certain situations.
  • Raid Pokemon now have infinite PP in battle. After testing, it became clear that Raid Pokemon too quickly deplete their PP and resort to Struggling because of how they use multiple attacks per turn. Now the fights should play out more naturally.
  • Fixed a problem with Max Raid Dens where losing the fight would send you to a Pokemon Center after losing. You are now instead just returned outside the den with your party healed, as intended.
  • The moves Reflect and Light Screen have been added to the pool of eligible support moves Raid Pokemon may have in battle. This gives support options to a ton of Pokemon that previously had no support options.
  • Fixed a potential issue related to Rotom's forms in Raid Battles. Rotom's specific form moves are now also properly listed as Primary moves instead of Support moves in the Raid Database.
  • Phione has been added to the list of banned Raid species. It's far too weak to appear in Legendary Raids as it's intended to be, and allowing it in lower raids makes it too easily available.
 
Hey friend I am getting a problem whenever I try to select Show Region option in Max Raid Database I get an error
 
Hey friend I am getting a problem whenever I try to select Show Region option in Max Raid Database I get an error

You really need to be more specific than that.
 
HI everyone I am new to this community
My english is not good
This script is very good.
I want add dynamax clouds when Pokemon dynamaxed or gigantamaxe.
Like this
[PokeCommunity.com] ZUD plugin - Z-moves, Ultra-Burst, Dynamax, Dynamax adventures [v18]

How do I do that?
 
Last edited:
HI everyone I am new to this community
My english is not good
This script is very good.
I want add dynamax clouds when Pokemon dynamaxed or gigantamaxed
How do I do that?

This will require some scripting + graphics making.
First, you need to have the sprite of clouds.
Second, you need to display the sprite with some scripting, probably by altering:
Code:
  def setPokemonBitmap(pkmn,back=false,oldpkmn=nil)
or
Code:
def pbLoadPokemonBitmapSpecies(pokemon,species,back=false,oldpkmn=nil)
 
Hey friend I am getting this error
Spoiler:

When I am try to access Show Region option in Max Raid Data Base and yes I am in debug mode
 
Back
Top