• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
ZUD Plugin [v20.1]

v20.1 ZUD Plugin [v20.1] v1.2.5

This resource pertains to version 20.1 of Pokémon Essentials.
ATTENTION! Final Update!
With the release of Essentials v21, this will be the final update for the ZUD Plugin for v20.1. Going forward I will instead be fully focused on v21, so I will no longer be updating or supporting this plugin. I intend to take a break before I even start thinking about how or when I'm going to start working on a v21 iteration of the plugin, so don't ask me about a time frame for release. I will keep this plugin available in the meantime. But this iteration of the plugin will eventually be removed once a v21 successor is released and takes its place. I will give fair warning before this happens, so don't panic.

See you all in v21!


Final Update (v1.2.5)

  • Made various tweaks for better compatibility with the newest update to the Gen 9 Pack.
  • This is the final update for this plugin. Going forward, my focus will now be on adapting this plugin for v21.
  • Fixed a bug related to capturing Pokemon in the Safari Zone introduced in the last update.
  • Fixed an oversight that may have recorded Super Shiny G-Max forms in the Pokedex even if no sprites for these forms exist.
  • Fixed an oversight that would erroneously record Pokemon captured in a Dynamax Adventure in the Pokedex instead of waiting until selecting a Pokemon to keep at the end of the adventure to record only the selected Pokemon.
  • Removed a lot of redundant code and streamlined things with Essentials Deluxe.
  • Reworked some of the code related to Max Raid battles for more efficiency.
  • Tweaked some of the battle text related to Max Raid battles.
  • Pokemon found in Rank 6 Max Raids will now spawn with the "Mightiest Mark" if the Improved Mementos plugin is installed.
  • Made various improvements to the Max Raid Database and raid_ranks.txt for better compatibility with the Generation 9 Pack.
  • Made it so Super Shiny Gigantamax forms may now appear in the forms page in the Pokedex.
  • Fixed a bug that would accidentally set all of the Dynamax attributes of a Pokemon back to their base values after they've had their stats recalculated in certain scenarios. This would unintentionally do things such as flag a Pokemon as ineligible for Dynamax, removing G-Max Factor, or resetting their Dynamax Level. This should no longer happen unless the Pokemon shouldn't be allowed to Dynamax in the first place, such as with Zacian or Zamazenta.
  • Like
Reactions: A.I.R
  • Fixed a visual error in the Summary that would display the G-Max Factor icon on a higher layer than other UI's that are meant to overlap it. This would cause conflicts with other plugins that edit the Summary, such as the Improved Mementos plugin.
IMPORTANT This update requires v1.2.5 of Essentials Deluxe to be installed. That update requires that you start a new game. IMPORTANT


  • Max Raid Pokemon will now generate with a size value between 200-255.
  • When choosing to capture a weakened Max Raid Pokemon, the screen will now properly fade into the bag menu when selecting a ball.
  • A fleeing animation will now play when a Max Raid Pokemon isn't captured and it escapes into the den.
  • If a Raid Pokemon KO's multiple Pokemon in one turn with a spread move that reduces the raid's KO counter to zero, the "You were blown out of the den" message now only displays after all Pokemon have fainted, instead of repeating itself for each fainted Pokemon.
  • Fixed a bug with Raid Battles where it would still prompt you to capture the Raid Pokemon if you somehow lost the raid on the same turn that you defeated the Raid Pokemon. The capture prompt will no longer occur in these cases, and any situation where the battle ends in a "draw", it will still count as a loss.
  • The following statistics are now tracked by the game, and can be accessed with the following scripts:
    • $stats.zmove_count: Tracks the total number of times the player has used a Z-Move.
    • $stats.status_zmove_count: Tracks the total number of times the player has specifically used a Z-Powered status move.
    • $stats.ultra_burst_count: Tracks the total number of times the player has used Ultra Burst.
    • $stats.dynamax_count: Tracks the total number of times the player has used Dynamax.
    • $stats.gigantamax_count: Tracks the total number of times the player has Gigantamaxed a Pokemon.
    • $stats.total_dynamax_lvls_gained: Tracks the total number of Dynamax Levels gained by the player's Pokemon by the use of Dynamax Candies.
    • $stats.total_gmax_factors_given: Tracks the total number of times G-Max Factor has been gained by the player's Pokemon by the use of Max Soup.
    • $stats.max_raid_dens_entered: Tracks the total number of times the player has entered a Max Raid Den.
    • $stats.max_raid_dens_cleared: Tracks the total number of times the player has successfully cleared a Max Raid Den.
    • $stats.max_lairs_entered: Tracks the total number of times the player has entered a Max Lair to begin a Dynamax Adventure.
    • $stats.dark_lairs_entered: Tracks the total number of times the player has entered a Dark Lair to begin a Dynamax Adventure.
    • $stats.endless_lairs_entered: Tracks the total number of times the player has entered a Max Lair in Endless Mode.
    • $stats.max_lairs_cleared: Tracks the total number of times the player has successfully cleared a Max Lair or Dark Lair during a Dynamax Adventure.
    • $stats.endless_lair_records: Tracks the total number of times the player has set a new Endless Mode record during a Dynamax Adventure.
  • Like
Reactions: A.I.R
  • Optimized how the Z-Crystal bag slot is added.
  • Aliased how all of the battle databox code is handled for better compatibility with other plugins and custom edits.
  • Fixed a bug that could cause an error when forcing a Pokemon to faint when using Deluxe Battle features.
  • Fixed a bug that would reset the Dynamax eligibility flag set on a Pokemon whenever its stats were recalculated.
  • Added new functionality that lets you flag opposing Pokemon as ineligible to Dynamax. This allows you to set up opponents who may use other battle mechanics such as Battle Styles and Terastallization even if Dynamax should normally out-prioritize these mechanics.
  • While playing in Debug mode, you may now flag whether or not individual trainers are capable of using ZUD mechanics through in in-battle debug tool.
  • Made it so that the following effects added by this plugin may now be edited in battle with the in-battle debug tools:
    • Z-Powered Healing (Z-Parting Shot, Z-Memento)
    • Max Guard
    • G-Max Vine Lash
    • G-Max Wildfire
    • G-Max Cannonade
    • G-Max Volcalith
    • G-Max Steelsurge
  • Fixed a bug that would cause a crash with Safari Zone encounters.
  • Made some small optimizations to the location of certain code.
  • Removed the restrictions on wild Pokemon utilizing ZUD mechanics. You may now set up wild Pokemon to use Z-Moves, Ultra Burst, or Dynamax without a trainer by simply flagging them as an "ace".
  • Edited the ZUD animations to now support wild Pokemon that trigger these mechanics without a trainer.
  • ZUD animations are now compatible with animated battler sprites.
  • Overhauled how Dynamax sprites are displayed, greatly simplifying the code, and making them easier to customize. Several chunks of code have been removed from various files in the plugin due to this.
  • Dynamax sprites are no longer given their reddish color through a code setting. Instead, Dynamaxed Pokemon sprites are overlayed with another graphic to achieve the same result much easier. This graphic is named "dynamax_pattern", and has been included in this update. A second graphic named "calyrex_pattern" is also included, which is, obviously, used specifically for Calyrex. If you want to customize the coloration for Dynamax sprites, you may now do so by simply editing this graphic.
  • Removed the DYNAMAX_COLOR and CALYREX_COLOR settings, as they are no longer used.
  • Tweaked how the move Transform and the ability Imposter save data for the target Pokemon to make changing Dynamax sprites easier.
  • Made it so that you may now add custom shadow sprites for specific species while they are Dynamaxed. This can be done by adding a file to Graphics/Pokemon/Shadow that is named using the specific species ID, followed by the suffix _dmax. For example, CALYREX_dmax.
  • Added custom Dynamax shadow sprites for Calyrex and all of its forms.
  • Made it so that Z-Moves and Max Moves that target multiple Pokemon will now deal reduced damage through Wide Guard, in the same way they do with Protect. This was previously overlooked since the only move this would normally affect is the Z-Move Clangorous Soulblaze.
  • Made it so that if the Gen 9 move Silk Trap exists and is implemented, it will now also reduce damage from Z-Moves and Max Moves as other Protect-like moves do.
  • Made various changes and updates in preparation of the release of the Terastal Phenomenon plugin.
  • Added the midbattle trigger "gmax" to be triggered when a Pokemon Gigantamaxes. More details are covered in the Essentials Deluxe plugin.
  • Expanded several midbattle triggers so that you may now specify specific species or types when triggered. More details are covered in the Essentials Deluxe plugin.
Back
Top