• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

Script: Enhanced Battle UI [DBK Add-On] [v21.1]

  • 1,517
    Posts
    10
    Years
    • Seen today
    Enhanced Battle UI for v21.1
    An expansion plugin for the Deluxe Battle Kit to improve your battle UI!
    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]
    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]

    Overview
    This plugin adds new windows to the battle scene which you can toggle in order to view detailed information about your Pokemon's moves, general information about each battler, and even a Poke Ball shortcut menu. For move info, this allows you to view things like a move's real typing/category, its real base power after calculating things like STAB, as well as any move flags associated with the move. For battlers, this allows you to see their stat changes, in-battle typing, and a variety of effects that are currently in play. This is just some of the information that can be viewed!

    -DOWNLOAD LINK-

    Installation
    • First, please install the latest version of the Deluxe Battle Kit. This plugin functions as an add-on to that kit.
    • Next, download this plugin using the link provided and extract its contents to your root Essentials folder so that both the Graphics and Plugins folders in the download merge with their equivalent folders in your project.
    • Start your game in debug mode and make sure you 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 (v2.0.6)
    Spoiler:



    Plugin Tutorial


    Please refer to the add-on page for this plugin in the Deluxe Battle Kit Tutorial.

     
    Last edited:
    Minor Update (v1.0.1)
    • Fixed the hidden damage displays for moves that should have it.
    • Moves that deal fixed damage should no longer display STAB highlighting on their displayed Power.
    • Tweaked some of the effect description text for more accuracy.
    • Made some minor adjustments in preparation for the release of the Terastallization add-on.
     
    Major Update (v1.0.2)
    • Fixed a crash that could occur in Safari Zone battles while in debug mode.
    • Made various tweaks in preparation for the release of the Dynamax add-on.
    • The typing of the opposing Pokemon will now be viewable in the Battler Info UI during PvP/Battle Tower battles, even if the player has never registered that species in the Pokedex.
    • The Tera types of the opposing Pokemon will now be viewable in the Battler Info UI only when it should be revealed.
     
    Last edited:
    Major Update (v2.0)
    • Overhauled how the plugin opens each UI page on the backend to make the code more efficient.
    • Improved the sprite outliner utilities so that it may now add outlines to item sprites, not just Pokemon icons.
    • Made some minor tweaks to Tera type displays so that a Pokemon that is unable to use Terastallization will no longer display a Tera type in the Battler Info UI.
    • Added button prompts to the battle scene to make the player aware of which button opens which UI. This may be disabled with the SHOW_UI_PROMPTS setting.
    • Added a brand new Poke Ball shortcut UI that allows you to quickly select a Poke Ball to use in battle, like in Scarlet & Violet.
    Here's an example of the new UI features added:
    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]
     
    Last edited:
    Major Update (v2.0.1)
    • Fixed a potential bug related to the display of active weather in the battler UI in niche scenarios.
    • Made some minor adjustments related to displaying Shadow Pokemon overlays in the selection window.
    • Made some minor adjustments in preparation for the release of the Wonder Launcher add-on.
     
    Minor Update (v2.0.3)
    • Fixed an issue with the Poke Ball UI menu being accessible during Bug Catching contests.
    • Fixed an issue where the wrong move info may be displayed in the Move Info UI when toggling Dynamax and an effect is in play that would change the type of Max Move the user's move would convert into.
    • Replaced all graphics added by the plugin to remove fuzzy pixels.
    • Critical Hit boosts now only track up to 3 stages in the Battler Info UI. It previously displayed up to 4 stages, which was redundant since Critical Hit stages already max out at 100% crit at +3 stages.
    • Improved some of the effect descriptions in the Battler Info UI.
    • The Battler Info UI will now track and display descriptions for the following effects:
      • Helping Hand
      • Power Trick
      • Electrify
      • Ion Deluge
      • Sky Drop
      • Powder
      • Healing Wish
      • Lunar Dance
      • Endure
      • Substitute
      • Magic Coat
      • Crafty Shield
      • Quick Guard
      • Wide Guard
      • Smack Down
      • Changes to the user's Weight
      • Protect/Spiky Shield/Baneful Bunker
      • King's Shield/Obstruct/Silk Trap/Burning Bulwark/Mat Block
    • The Move Info UI will now display a move's priority level in addition to its other attributes.
    • The Move Info UI will now factor in bonuses to a move's attributes from the user's Ability. For example, the Sharpness ability will be factored into the Power displayed on the user's slicing moves. Bonus messages will appear under the move's description to indicate these ability modifiers.
    • Replaced the SHOW_UI_PROMPTS setting with UI_PROMPT_DISPLAY. This may now be set to a number to set a variety of different display styles.
    • The UI_PROMPT_DISPLAY is now set to 2 by default. This makes it so the UI prompts will now naturally hide from view when remaining idle on the command window for 2 seconds.
    • The UI prompts graphic no longer has the A and S keys drawn directly on the sprite, but is now displayed through text via code. This means you can edit the code to have it display whatever text you'd like.
    • A new setting called USE_MOVE_TYPE_BACKGROUNDS has been added. When true, the window used for the Move Info UI will reflect the color of the type of each move. You can set this to false to disable this.
     
    Minor Update (v2.0.4)
    • Fixed several issues that would cause crashes while in the Safari Zone.
    • Overhauled all of the visuals and graphics for all UI's added by this plugin.
    • Changed how sprites for move flags are stored to make it easier to add sprites for new custom move flags.
    • Changes to a move's properties from the user's held item will now display messages to indicate its effects, similar to Abilities.
    Here are some examples of the new UI designs:
    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]
    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]

    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]
    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]
     
    Hi, I tried to install this plugin but when I try to see the information of the pokémon on the field the game shows me this message, than it remains in overlay above the commands and skips the turn for all the pokémon.
    What should I do?

    [PokeCommunity.com] Enhanced Battle UI [DBK Add-On] [v21.1]
     
    Last edited:
    Hi, I tried to install this plugin but when I try to see the information of the pokémon on the field the game shows me this message, than it remains in overlay above the commands and skips the turn for all the pokémon.
    What should I do?

    View attachment 167652
    I would have to know what effects are in play during the specific battles this happens on. There's no way that this triggers on *every* battle, it must only occur when a *specific* effect is in play. The issue is basically that it's trying to draw the description text for an effect currently in play, but no description text exists. Which itself shouldn't be possible unless you have some custom effects going on in your game that overlap in an unexpected way with this plugin, though I can't imagine what that would be tbh.
     
    I would have to know what effects are in play during the specific battles this happens on. There's no way that this triggers on *every* battle, it must only occur when a *specific* effect is in play. The issue is basically that it's trying to draw the description text for an effect currently in play, but no description text exists. Which itself shouldn't be possible unless you have some custom effects going on in your game that overlap in an unexpected way with this plugin, though I can't imagine what that would be tbh.
    Now that you point it out to me, it gives me this error only when there is one of the two custom weather I have created.
    What should I do to add a description?
     
    Now that you point it out to me, it gives me this error only when there is one of the two custom weather I have created.
    What should I do to add a description?
    Never mind, I found a way to solve it
     
    Minor Update (v2.0.5)
    • Fixed an issue with the move Triple Kick causing errors when viewed in the Move Info UI.
    • Added placeholder effect description text for custom weather/terrain so that it doesn't cause errors when viewing the Battler Info UI.
    • Battlers that have damage caps set via the "battlerHPCap" midbattle command will now display this in their list of effects in the Battler Info UI.
    • When you have a partner trainer with you in battle, you can now see the Tera Type of their Pokemon in the Battler Info UI if the Terastallization add-on is installed.
    • Made various additions in preparation for the Raid Battles add-on plugin.
     
    It's been really exciting to see you adding more features that support Shadow Pokemon across your plugin set!
    I've been horribly failing at getting a visual indicator on the UI for when a Shadow Pokemon enters hyper mode, so I thought to ask you for your take on the feature.
     
    I love this add-on you did and I would like to know is there a way to check and see if a move gets further buffed or nerfed by a terrain to show its final power?
     
    I love this add-on you did and I would like to know is there a way to check and see if a move gets further buffed or nerfed by a terrain to show its final power?
    The plugin only indicates effects that directly influence the actual properties of the moves themselves, not how much damage will be dealt by the moves.

    For example, holding the Charcoal item will literally increase the BP of a Fire-type move by 20%. So a Fire-type move with 100 BP will instead have 120 BP. This will be accurately depicted by the plugin.

    In contrast, holding the Choice Band item would increase the user's power by 50%, it makes no changes whatsoever to the properties of the selected move itself. Similarly, holding the Life Orb would increase the final damage dealt by the user by 30%. Again, it makes no actual changes to the properties of the selected move itself.

    Effects like Weather, Terrain, etc. all fall into that same category. None of them change anything about the move being used, they just affect damage calculation. The plugin only reveals the bonuses that a highlighted move itself is receiving.
     
    Minor Update (v2.0.6)
    • Fixed an issue with the Hail weather displaying the wrong description in the battler UI in certain conditions.
    • Gender icons and level for Raid bosses will now be hidden in the selection and battler UI's.
     
    Back
    Top