- 1,517
- Posts
- 10
- Years
- Seen today
Deluxe Battle Kit for v21.1
A battle expansion kit which adds a ton of new features and allows you to completely customize your battles!
Overview
This plugin is the spiritual successor to the Essentials Deluxe plugin, which previously released for v20.1. However, this iteration is far more streamlined, and designed entirely around expanding what is possible with the Pokemon battle system. This kit will grant you the ability to design entirely unique encounters for your games that were previously impossible. There's practically no limit to what you can do beyond your own imagination! In addition, this kit will act as the foundation for other battle plugins I release going forward. This includes things like SOS Battles, Raid Battles, as well as generational battle gimmicks such as Z-Moves, Dynamax, and Terastallization. Each of those mechanics will act as expansions for this kit, and will expand what it can do and how it can be used.
Plugin Features
- Adds an assortment of brand new Battle Rules to customize your battle events with.
- Adds the ability to set up special boss encounters with wild Pokemon that have increased HP pools as well as unique immunities to make them more challenging.
- Adds the ability to set damage thresholds on Pokemon that prevents their HP from being lowered after they reach a certain damage range, mimicking Raid boss mechanics.
- Allows you to set up Raid-style capture sequences vs wild Pokemon where you are prompted to throw a ball upon defeating them.
- Adds new animation for wild Pokemon that flee from battle.
- Adds mid-battle scripting functionality to allow for dialogue during battle, as well as allowing you to set up scripted battle scenarios.
- Adds new animations for in-battle trainer dialogue, as well as name plates to display the speaker of each line of dialogue.
- Adds new animations for Mega Evolution and Primal Reversion, as well as animation utilities to be used by add-on battle mechanics.
- Implements a new battle icon for Mega Evolution, as well as a held item icon for Mega Stones.
- Introduces a toggleable feature that shortens the names of really long move names so that they fit properly in the battle UI.
- Allows for compatibility between many other plugins that build on this kit to add unique battle features.
-DOWNLOAD LINK-
Installation
- First, download and install the latest version of the v21.1 Hotfixes plugin, if you don't already have it.
- Next, download this plugin using the link provided and extract its contents to your root Essentials folder so that the
Audio
,Graphics
andPlugins
folders in the download merge with their equivalent folders in your project. - Start your game in debug mode. If the plugin doesn't appear the list of installed plugins within the console window, make sure you installed everything properly and then force the game to recompile by holding down the CTRL key while the game is booting up. If the console says "Game data was not compiled", then you didn't hold down the key long enough, or don't have the game window in focus.
Changelog (v1.2.4)
Spoiler:
- 1.2.4
- Fixed a visual bug with the
"playAnim"
midbattle command that made fainted Pokemon visible again in certain situations. - Fixed a visual bug with HP bars when using the
"changeDatabox"
midbattle command in certain situations. - Fixed an oversight that prevented the
"VariableOver"
and"VariableUnder"
midbattle triggers from being recognized.
- Fixed a visual bug with the
- 1.2.3
- Fixed an issue that would cause a crash when the Purify Chamber UI was opened.
- Fixed an issue with raid-style captures that would cause an error if the Pokemon was KO'd by the moves Ice Fang, Fire Fang or Thunder Fang.
- Fixed an issue with the
"BattlerFainted"
midbattle trigger behaving in unintended ways when multiple battlers are KO'd simultaneously. - Added the
"battlerType"
midbattle command which allows you to change a battler's typing during battle. - Added an icon that displays on a Shadow Pokemon's databox in battle when they enter Hyper Mode.
- Added a Battle Rule applicator in the "Deluxe plugin options..." in the debug menu.
- Added a Partner Trainer applicator in the "Deluxe plugin options..." in the debug menu.
- Made various tweaks and additions in preparation for the Raid Battles plugin.
- 1.2.2
- Fixed an issue with databox styles that would crash the game in the Safari Zone.
- Fixed an issue with databox styles that would cause an error if the Z-Power add-on is not installed.
- Fixed a bug with the
"battlerMoves"
midbattle command that would cause an error in certain situations. - Added the new midbattle command,
"changeDataboxes"
. This allows you to alter databox styles mid-battle. - Added new animations when changing databox styles mid-battle.
- 1.2.1
- Fixed a damage calc error with the move Psyblade.
- Fixed HP calculations not properly ignoring IV/EV's when the
DISABLE_IVS_AND_EVS
setting is enabled. - Fixed an issue with low HP music being permanently disabled for all battles if a battle rule is used to disable it for a specific battle.
- Fixed an issue related to cloning Pokemon objects that would erase the EV's and other attributes of the original Pokemon.
- Fixed an issue where set damage moves like Sonic Boom would be unable to trigger certain mid-battle triggers.
- Fixed an issue where multi-hit moves like Fury Swipes would be unable to trigger certain mid-battle triggers.
- Implemented a fix for an issue in base Essentials where partner trainers don't inherit the inventories set in their PBS data like they should.
- Updated the code for all DBK battle animations (such as for Mega Evolution) so that these animations will now be compatible with trainer sprites of any size.
- Improved the organization of various debug menu options added by DBK and other supported add-on plugins.
- Made the plugin utilize Substitute doll animations in more places (if Animated Pokemon add-on is installed).
- Improved the raid-style capture animations and prompts to be a little more cinematic.
- Changed how the
"battlerHP"
and"battlerHPCap"
midbattle commands work so that you can directly set the HP percentages, rather than needing to do complex math with negative numbers. For example, if you want a Pokemon to restore 66% of their HP, you can just do"battlerHP" => 66
. - Added a new
"battlerSpecies"
midbattle trigger. This can be used to change a battler's species during battle. - Added a new
"battlerEvolve"
midbattle trigger. This can be used to force a battler to evolve during battle. - Implemented a new
"databoxStyle"
Battle Rule. This can be used to set custom databoxes for specific battles. The plugin includes two custom databoxes by default. - Made various tweaks and additions in preparation for the Raid Battles plugin.
- 1.2
- Fixed an error that would occur when the AI attempted to use a Self-KO move.
- Fixed an error that would occur when a wild boss Pokemon was given immunity to indirect damage.
- Added a new audio file for the correct item sound effect when a trainer uses items from the inventory on a battler.
- Made it so that both the AI and player can now Terastallize and/or Dynamax their Pokemon in battle in more situations.
- 1.1.9
- Fixed some issues that would cause crashes in the Safari Zone.
- Added the
"inverseBattle"
Battle Rule. This will make your next battle operate under Inverse Battle rules, like in Gen 5.
- 1.1.8
- Fixed another bug with pbAttract that would cause crashes.
- Fixed a bug that would prevent the Pokemon's cry from playing during the Mega Evolution and Primal Reversion animations.
- Fixed issues with the Deluxe Animation utilities that could display Pokemon sprites off-center during DBK-style animations (Mega Evolution, Primal Reversion, etc.)
- 1.1.7
- Fixed a bug with
pbAttract
not having the correct number of arguments. - Added a new plugin setting called
HIDE_DATABOXES_DURING_MOVES
that will hide battler databoxes during move animations when enabled, like in the Gen 5+ games. - Improved the coordinates of sprites that slide upwards during the battle intro when the
"setSlideSprite"
Battle Rule is used and set to"bottom"
. - Transform and Imposter will now fail if the user is Terastallized into the Stellar-type (as stated by Bulbapedia).
- Spinda will now correctly display its spot patterns during various DBK-style animations (Dynamax, Terastallization, etc.)
- Fixed a compatibility issue with the Animated Pokemon System add-on that would prevent some sprites from displaying their correct Super Shiny hue during various DBK-style animations (Mega Evolution, Primal Reversion, etc.).
- Fixed a bug with
- 1.1.6
- Fixed a bug that would cause a crash when Origin Forme Palkia used Spacial Rend.
- Shadow Pokemon icons will now have the proper overlay patterns applied when viewed in the PC Storage UI.
- Added the following Midbattle Trigger Keys:
BattlerStatusCured
,BattlerConfusionStart
,BattlerConfusionEnd
,BattlerAttractStart
,BattlerAttractEnd
- Added the following Midbattle Command Key:
pause
- Made some minor adjustments in preparation for the release of the Animated Pokemon System add-on.
- 1.1.5
- Added the
"noBag"
Battle Rule that disables the ability to use items from the inventory for all trainers in a battle. - Added the
"tempBag"
Battle Rule that gives the player a temporary bag for this battle only with items of your choosing. - Added the
"disableItems"
midbattle Command Key that disables the ability to use items from the inventory for all trainers. - Implemented a new battle animation and sound effects to play when a trainer uses an item on a battler.
- Improved the item announcement text when using items in battle so it now specifies the Pokemon or battler name that the item is being used on.
- Added new functionality that allows you to set an overlay on Shadow Pokemon sprites so you can differentiate Shadow forms without having to create unique sprites for each species. This overlay is also animated by default.
- Midbattle scripts will now display exactly what they're doing in the console when battle logging is enabled.
- Included a new
cursor_command
graphic that replaces the default graphic. This is to ensure compatibility with future plugins that will utilize this. - Made some slight adjustments in preparation for the release of the Wonder Launcher add-on.
- Fixed various bugs.
- Added the
- 1.1.4
- Made some minor adjustments for compatibility with v2.0 of the Enhanced Battle UI add-on.
- 1.1.3
- Fixed a crash that could occur when setting custom music for a battle through a battle rule.
- Fixed an issue with low HP music ending when Pokemon with critical HP is on the field, but a healthy partner Pokemon is sent out, or a partner Pokemon is healed out of the critical HP zone.
- Added the
"endBGM"
Command Key to be used in a midbattle hash. This can be used to fade out and end the current BGM without immediately playing a new one.
- 1.1.2
- Fixed an issue with low HP music continuing to play when the user's HP increased above the critical zone due to leveling up.
- Fixed the "But it failed!" message from not displaying correctly when using the move Spite.
- Fixed a bug that prevented the
:Choose
,:Random
, and:Forced
inputs from working with the"switchOut"
Command Key in midbattle scripting.
- 1.1.1
- Fixed damage calculations related to certain Gen 9 abilities.
Removed Relic Castle link from the meta file.
- Fixed damage calculations related to certain Gen 9 abilities.
- 1.1.0
- Fixed a bug introduced in the last update that misaligned battle text after midbattle speech.
- 1.0.9
- Tweaked the refactored damage calculations to fix some errors and prevent some future potential errors.
- Made it so that battle music that was changed with a midbattle script will be restored after low HP music ends.
- 1.0.8
- Fixed an issue that would prevent battlers from updating their ability after Mega Evolution or Primal Reversion.
- 1.0.7
- Fixed some AI damage calcs when using moves added by the Terastallization add-on.
- Tidied up some animation utilities.
- 1.0.6
- Made some slight adjustments for compatibility with the (broken link removed) plugin.
- Fixed a crash that would occur when a battle is triggered in the Safari Zone.
- Fixed an issue where entering your party in the Hall of Fame would delete all their moves.
- Fixed an oversight that would prevent Attract from appropriately failing on targets, even if they should be unaffected.
- Made various tweaks in preparation for the release of the Dynamax add-on.
- Added global midbattle script functionality.
- Added a global midbattle script that implements low HP music to play when the HP of the player's Pokemon is low.
- Added a new audio file in
Audio/BGM
named "Battle low HP." - Added a new plugin setting named
PLAY_LOW_HP_MUSIC
to toggle the low HP music feature. - Added the
"lowHealthBGM"
Battle Rule to set custom tracks for low HP music. - Added several new midbattle Trigger Keys.
- Added several new midbattle Command Keys.
- 1.0.5
- Made some slight adjustments for better compatibility with the (broken link removed) plugin.
- Fixed an issue that may have caused errors with moves that have a heightened critical hit ratio flag.
- 1.0.4
- Fixed a bug that would cause the moves Sketch and Mimic to cause errors.
- Added some missing Gen 9 effects to the PBEffect hash.
- Made it so that the AI for wild Pokemon is improved when using a battle rule for certain wild battle modes (wild Mega Pokemon, wild Tera Pokemon, etc.)
- Tweaked the opponent slide sprite animation so that the Pokemon's shadow sprite fades in if they slide in from the top of the screen.
- Tweaked the wording of certain debug menu text.
- Made various tweaks in preparation for the release of the Z-Power add-on.
- 1.0.3
- Tweaked some compiler code to avoid errors in situations where there is missing PBS data.
- Added a new battle rule called "setSlideSprite" which allows you to customize how the opponent's sprite slides on to screen at the start of a battle.
- 1.0.2
- Fixed a bug with the move Transform/Imposter that could cause errors.
- Reworked some of the Damage Calc Refactor scripts.
- Tweaked some animation utilities.
- The "wildMegaEvolution" battle rule now sets a scripted battle scenario vs wild Mega Evolved Pokemon, instead of just flagging them as Mega-capable.
- Introduced a new game stat tracker
$stats.wild_mega_battles_won
to track how many battles the player won vs wild Mega Evolved Pokemon. - Made some minor adjustments in preparation for the release of the Terastallization add-on.
- 1.0.1
- Healing done by the
"battlerHP"
Command Key on a wild boss Pokemon with boosted HP will no longer be scaled down. - Updated which PBEffects can be set with midbattle commands.
- Fixed a bug with the Forewarn ability.
- Minor preparations for the Enhanced Battle UI plugin.
- Healing done by the
Plugin Tutorial
For all information and guides on how to use this and all supported plugins, please refer to the Deluxe Battle Kit Tutorial.
Last edited: