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

Battle Debug Menu v19.1 1.0.0.0

Pokémon Essentials Version
v19.1 ➖
Battle Debug Menu Plugin for Essentials v19.1
Looking for a version for Essentials v18.1? Click here.

Ever tested a new ability or move for your game and hat to restart the battle over and over just because the conditions were just not quite right? Or wanted to simulate a specific situation and couldn't get the AI to put your Pokemon to sleep? Then this Battle Debug Menu is for you! (It also is, if you just want to mess around a bit)

What you can do with the debug menu:

  • About a battler:
    • Change HP
    • Change Status
    • Change Level
    • Change Ability
    • Change Moves
    • Change Item
    • Change Types
    • Set Stat Changes
    • Set Battler Effects (Aqua Ring and such)
    • Show Summary (will reflect made changes)
  • About the battle field:
    • Change Weather
    • Change Terrain
    • Set Field Effects (Wonder Room and such)
  • Set Side Effects ( Aurora Veil and such)
  • Set Battle Meta Data (Exp Gain, Opponents Items and such)

This menu provides color coded values and converts some effects to more understandable values (e.g. instead of showing only the move ID it will show the moves name).

Some effects were intentionally left out, as there is no point in changing them for various reasons. These include effects that rely on abilities.

Some changes (like type changes) only apply to that battle and are not permanent. The debug menu works for all battle types (1v2,2v2,1v3, etc)


How to install:
1) Unpack the contents into your Plugin folder
2) Make sure that your folder structure looks like this:
  • Project Root Folder
    • Plugins
      • Battle Debug Menu
3) Done! Pressing F9 during battle will now open the Battle Debug Menu

Not sure how to install Plugins? Check this video out, made by Luka S.J.


Adding new effects

Adding new effects is fairly simple, as long as they only store a number, true/false, battler index or move ID.

The following steps assume that you have already set up the effects to the appropriate places! If you want to add a battle meta data make sure it is added to the PokeBattle_Battle class. The variables are only a "map" to that holds all effects that should be shown, as well as their display name.
Exception: Weather, Terrain and Status Conditions are using whatever is registered. They do not need to be added seperately.


For all types there is a constant in Debug_Battle_Constants. Here is a table that describes these constants and what format they expect.

ConstantDescriptionFormat
BATTLER_EFFECTSEffects that apply to a battlerPBEffects::EffectName => {:name => "Displayed name", :type => type*}
SIDE_EFFECTSEffects that apply to a side (player side, opposing side)PBEffects::EffectName => {:name => "Displayed name", :type => type*}
FIELD_EFFECTSEffects that apply to the whole fieldPBEffects::EffectName => {:name => "Displayed name", :type => type*}
BATTLE_METADATAInformation about the battle itself (turn counts, etc.):variableName (e.g. @turnCount becomes :turnCount)
BATTLE_STATSStats that can increase during the battlePBEffects::EffectName => {:name => "Displayed name"}

*The type field is optional and only needs to be present if the value is not just a number or true/false value. It can be one of the following:

:MOVEID = This effect holds a move id and therefore will display the move name in the menu. It will also open the selection of the battlers moves.
It can be used for side effects, field effects and meta data as well, but requires further coding. By default these effects do not select a user and therefore cannot choose a move for it.

:USERINDEX = This effect holds the index of the user of a move etc and therefore will display the name of the battler. It will also open the selection of an active battler.
It is also available for side effects, field effects and meta data.

[2021-04-09] 12_01_43.426.png

[2021-04-09] 12_03_57.236.png

[2021-04-09] 12_06_13.039.png

[2021-04-09] 12_04_45.621.png

For questions and bug reports visit our Discord channel https://discord.gg/7msDPaN or post them here.
Credits
Battle Debug Menu Structure and Logic by Hollow_Ego
Maruno and his team for all code that was resused from base Essentials
Plugin Manager by Marin
Author
Hollow_Ego
Downloads
653
Views
3,675
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Hollow_Ego

Back
Top