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

v20.1 Essentials Deluxe [v20.1] [DEPRECATED] v1.2.8

This resource pertains to version 20.1 of Pokémon Essentials.
  • Fixed a bug that would cause crashes with certain Battle Facility features.
  • Added new miscellaneous code in preparation for future plugin releases.

If you are using the ZUD Plugin, please update that plugin to its latest version (v1.0.5) as well.

Note: When updating, please make a copy of any custom work you've added to Midbattle_Config. Updating the plugin will overwrite any of your additions.
  • Fixed a bug related to the effect of G-Max Steelsurge being checked for even if the ZUD Plugin is not installed.
  • Added the :trainer midbattle key. You may set this to a battler index to set which opposing trainer should appear on screen during dialogue. This is only applicable in double or triple battles with multiple opponents. This may be used to specify which trainer should appear on screen during dialogue, even if their Pokemon wasn't the one who triggered a mid-battle property, as shown in this example:

    PaDPlYG.gif


    To set this, set :trainer equal to a battler index (in the same way the :battler key is used), before a :speech key, except the battler indexes in this case must only be ones owned by an opponent. Here is an example of the hash used to produce the above gif:
    Code:
    Expand Collapse Copy
    "turnCommand" => {
      :trainer   => 1,
      :speech    => "I'll speak first!",
      :trainer_1 => 3,
      :speech_1  => "I'll speak second!",
      :trainer_2 => 5,
      :speech_2  => "I'll speak third!"
    }

Note: When updating, please make a copy of any custom work you've added to Midbattle_Config. Updating the plugin will overwrite any of your additions.
  • Like
Reactions: Mashirosakura
  • Expanded the compiler functions, allowing other plugins that depend on Essentials Deluxe to easily edit existing PBS data.
  • Added extra midbattle functionality when using the Focus Meter plugin, allowing you to edit the Focus Styles of Pokemon mid-battle.
  • Tweaked the DEMO_WILD_ROTOM code in Midbattle_Config to demonstrate some of the new midbattle additions below.
  • Added a new midbattle trigger "halfhp". This functions identically to the "lowhp" trigger, except this one triggers at 50% HP or lower.
  • Added the :wait midbattle key. Set this to a number to pause the battle for that many number of frames (more details found in the tutorial).
  • Tweaked the :bgm midbattle key so that it no longer fades out the current battle music. Instead, you can enter a number to set how long the fade duration should be (more details found in the tutorial).
  • Added the :delay midbattle key. Set this to a trigger name to delay this trigger from activating until the named trigger has been checked for. For example:
    Code:
    Expand Collapse Copy
    "attack_foe_repeat_alt" => {
          :delay => "halfhp_foe",
          :stats  => [:SPEED, 1]
        }
    This will increase an attacking foe's Speed stat every other turn, but only AFTER "halfhp_foe" has been triggered. More details can be found in the tutorial.

Note: When updating, please make a copy of any custom work you've added to Midbattle_Config. Updating the plugin will overwrite any of your additions.
If you are using the ZUD or Focus Meter plugins, you will have to download the latest update for those plugins as well. Older versions will no longer be compatible with Essentials Deluxe.
  • Made various tweaks to the DEMO_SPEECH in Midbattle_Config.
  • Added animations to the demo battles found in Midbattle_Config.
  • Updated code related to the Fight Menu, Command Menu, and Databoxes in preparation for the release of the Focus Meter System plugin.
  • Changed how Trainer schema is saved so that existing schema aren't overwritten. This allows for better compatibility with other plugins.
  • Fixed a typo when determining the file names for Pokemon sprites. This may have caused compatibility issues with other plugins.
  • Updated the :stats key used in a midbattle trigger so that you may now reset the stat stages of a battler. Further details added to the tutorial.
Added some new functionality for Midbattle options:

Triggers
  • You may now add "random" to a midbattle trigger to have it trigger randomly one time. For example, "fainted_foe_random" may randomly trigger once per battle whenever a foe's Pokemon faints.
  • You may combine "repeat" and "random" with a midbattle trigger to have it repeatedly trigger at random intervals. For example, "attack_foe_repeat_random" will continuously trigger at random whenever an opponent attacks you.
  • You may now add "repeat_alt" to a midbattle trigger to have it repeat continuously, but only on even-numbered turns. This allows you to set up an effect that happens every other turn if you combine it with a turn trigger, such as "turnEnd_repeat_alt".

Effects
  • You may now use the :anim key within a midbattle trigger hash to cause an animation to play when triggered. This is limited to Common Animations and Move Animations. Set this equal to the name of a Common Animation (ex. "Shiny") or a move ID (ex. :LIGHTSCREEN) to play that animation in battle (more info added to the midbattle tutorial section).
  • You may now use the :useitem key within a midbattle trigger hash to make a trainer use an item on a battler. You can set this to any item you want; it doesn't have to be an item they have in their inventory, and it doesn't subtract from their inventory count even if they do own the item. Using an item in this way will also not use up the trainer's action for the turn, allowing them to still attack.

This update also fixes a bug with the :form key not properly recognizing form numbers when set. This plugin now also requires v1.0.3 of the Hotfixes plugin.
Fixed an overlooked issue that still caused compatibility issues with Visible Overworld Encounters. Hopefully that's the last of it.
Sorry for the back-to-back updates. This is just a minor update that tweaks a few things in preparation for the release of the ZUD Plugin.
Essentials Deluxe has received its first minor update. New code has been added to ensure that this plugin is now compatible with plugins that deal with overworld sprites, particularly Following Pokemon EX and Visible Overworld Encounters. Overworld sprites will now be recognized by this plugin and no longer cause conflicts. I've even set up compatibility for a future plugin ideas that relate to overworld sprites. The meta.txt file for this plugin has also been updated to ensure that these two plugins may no longer accidentally overwrite this compatibility.
Back
Top