• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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: Deluxe Battle Kit [v21.1]

The much easier way to do it (and how I'll implement it in the plugin when I update it) is to just make a dummy method called def databoxStyle; return nil; end in the SafariBattle class in the plugin placeholders script.
I tried this method and now there is no black screen, but then a new error appear right before showing the "command/action box":

[2024-11-10 10:31:27 +0000]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `style' for #<Battle::Scene::SafariDataBox>

Backtrace:
[Deluxe Battle Kit] [008] Databox Styles.rb:342:in `createProcesses'
Battle_Scene_BaseAnimation:12:in `initialize'
Battle_Scene_Animations:186:in `initialize'
SafariBattle:222:in `new'
SafariBattle:222:in `pbSafariStart'
[Deluxe Battle Kit] [001] Animation Utilities.rb:296:in `pbStartBattle'
SafariZone:133:in `block (2 levels) in pbSafariBattle'
Overworld_BattleIntroAnim:55:in `pbSceneStandby'
SafariZone:133:in `block in pbSafariBattle'
Overworld_BattleIntroAnim:128:in `pbBattleAnimation'
 
I tried this method and now there is no black screen, but then a new error appear right before showing the "command/action box":

[2024-11-10 10:31:27 +0000]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `style' for #<Battle::Scene::SafariDataBox>

Backtrace:
[Deluxe Battle Kit] [008] Databox Styles.rb:342:in `createProcesses'
Battle_Scene_BaseAnimation:12:in `initialize'
Battle_Scene_Animations:186:in `initialize'
SafariBattle:222:in `new'
SafariBattle:222:in `pbSafariStart'
[Deluxe Battle Kit] [001] Animation Utilities.rb:296:in `pbStartBattle'
SafariZone:133:in `block (2 levels) in pbSafariBattle'
Overworld_BattleIntroAnim:55:in `pbSceneStandby'
SafariZone:133:in `block in pbSafariBattle'
Overworld_BattleIntroAnim:128:in `pbBattleAnimation'
I know. I've already fixed the issue. The update just isn't out yet.
 
Minor Update (v1.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.
Here is a demonstration of the new "changeDataboxes" midbattle command, which allows you to change databox styles mid-battle:
[PokeCommunity.com] Deluxe Battle Kit [v21.1]
 
Hey, I've been having an issue with making a midbattle module script run as intended.
The other two devs on the project can't get it to run either, despite trying multiple methods.
We would really appreciate your input on the script.

For context, this occurs during a 2v1 battle against a trainer with a shadow pokemon.
It functions as our catch tutorial. For readability I've removed the dialogue.
Spoiler:

Again, thank you so much for this plugin and your constant improvements to it.
 
Last edited:
Hey, I've been having an issue with making a midbattle module script run as intended.
The other two devs on the project can't get it to run either, despite trying multiple methods.
We would really appreciate your input on the script.

For context, this occurs during a 2v1 battle against a trainer with a shadow pokemon.
It functions as our catch tutorial. For readability I've removed the dialogue.
Spoiler:

Again, thank you so much for this plugin and your constant improvements to it.
You have two instances of "RoundEnd_player_repeat". So the second instance is just overwriting the first instance. You can't have two identical keys in the same hash, they just overwrite each other.
 
You have two instances of "RoundEnd_player_repeat". So the second instance is just overwriting the first instance. You can't have two identical keys in the same hash, they just overwrite each other.
Well, heck.
Thank you for your time, we'll work around that!
Reading back over the gitbook documentation, I see you even mention that in Section 4.B.7., I just wasn't aware that it also applied to trigger keys, as it did to command keys.
Again, love the plugin.
 
Well, heck.
Thank you for your time, we'll work around that!
Reading back over the gitbook documentation, I see you even mention that in Section 4.B.7., I just wasn't aware that it also applied to trigger keys, as it did to command keys.
Again, love the plugin.
Yeah, it works that way with any hash. It's not a plugin thing, it's just a coding thing in general. I would just find a way to merge what you want to happen in both triggers into a single trigger.
 
I got this error when fighting a Hisuian Typhlosion that knows Infernal Parade.
Here's the code and the error:
Code:
#===============================================================================
# Infernal Parade
#===============================================================================
Battle::AI::Handlers::MoveBasePower.add("DoublePowerIfTargetStatusProblemBurnTarget",
  proc { |power, move, user, target, ai, battle|
    next move.move.pbBaseDamage(power, user.battler, target.battler)
  }
)
Battle::AI::Handlers::MoveEffectAgainstTargetScore.add("DoublePowerIfTargetStatusProblemBurnTarget",
  proc { |score, move, user, target, ai, battle|
    burn_score = Battle::AI::Handlers.apply_move_effect_against_target_score("BurnTarget",
      0, move, user, b, ai, battle)
    if burn_score != Battle::AI::MOVE_USELESS_SCORE
      score += burn_score if burn_score != Battle::AI::MOVE_USELESS_SCORE
    end
    next score
  }
)
change b to target. This isn't DBK problem though.
 
Minor Update (v1.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.
 
Last edited:
Hey so I've been trying to make animations for the moves but when I do they just don't appear, is this a bug or something?
 
Hey so I've been trying to make animations for the moves but when I do they just don't appear, is this a bug or something?
This doesn't sound like this is relevant to this plugin.
 
Minor Update (v1.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.
 
Hey Ludicious89. It seems the website for the tutorial documentation is down. Is there a way to find that documentation?
 
PLEASE READ:

It has come to my attention that the Gitbook links to all of my plugin guides are currently suspended and can no longer be accessed. This isn't my doing, I suspect there must be some kind of ToS violation (copyright issues, maybe) that were reported and Gitbook took them down. Or maybe its just a glitch, idk yet.

I've contacted Gitbook about this, and I'm waiting on a response. I can still access all of my content, so it isn't all lost. I just can't create any shareable links to anything.

In the worst case scenario, I will have to find an alternative way to host all of my Gitbook content. Gitbook *does* allow you to convert your documents into PDF files which I could share instead, but doing so requires signing up for a subscription and id rather not have to pay money just to share documentation. I may choose to simply move all the docs to a different platform, but that would still be a lot of work that I honestly don't want to do.

Basically, everything is up in the air right now, so I don't have a ton of answers at the moment.
 
PLEASE READ:

It has come to my attention that the Gitbook links to all of my plugin guides are currently suspended and can no longer be accessed. This isn't my doing, I suspect there must be some kind of ToS violation (copyright issues, maybe) that were reported and Gitbook took them down. Or maybe its just a glitch, idk yet.

I've contacted Gitbook about this, and I'm waiting on a response. I can still access all of my content, so it isn't all lost. I just can't create any shareable links to anything.

In the worst case scenario, I will have to find an alternative way to host all of my Gitbook content. Gitbook *does* allow you to convert your documents into PDF files which I could share instead, but doing so requires signing up for a subscription and id rather not have to pay money just to share documentation. I may choose to simply move all the docs to a different platform, but that would still be a lot of work that I honestly don't want to do.

Basically, everything is up in the air right now, so I don't have a ton of answers at the moment.
Appreciate the quick reply! Is there any way to get some of the documentation in the mean time? I'm having a hard time creating the script the way I want for a wild Pokemon event with forced SOS calls in the middle of the battle.
 
UPDATE:

After contacting Gitbook, they have fixed the links to all of my documentation. The plugin guides and download links should now all be functional again.
 
Hey, incredible plugin and extremely useful, but I'm running into text misalignment after midbattle speech in version 1.2.4, but only when using "setSpeaker" and "editWindow" like so:
"setSpeaker" => :Self,
"editWindow" => ["name", "speech hgss 1"]
Just curious if this is only a me problem.
 
Hey, incredible plugin and extremely useful, but I'm running into text misalignment after midbattle speech in version 1.2.4, but only when using "setSpeaker" and "editWindow" like so:
"setSpeaker" => :Self,
"editWindow" => ["name", "speech hgss 1"]
Just curious if this is only a me problem.
Could you show an example of what you mean, exactly?
 
Back
Top