• 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!
  • 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.

[Scripting Question] Elite Battle System - "pbDisplay" messages not working on battle entry, and how to add the Ability splash for some abilities

  • 10
    Posts
    16
    Years
    • Seen Sep 7, 2023
    I've noticed while using Elite Battle System (EBS4) that the ability splash graphic (the tab that shows up when an ability activates, e.g. for Intimidate or Trace on switch in) doesn't appear for certain abilities like Shields Down, Zen Mode, etc.

    I'm also noticing an issue where the "@battle.pbDisplay" messages for in-battle effects aren't showing at the start of a battle (e.g. when Groudon is sent in and triggers "Drought", or when Ditto uses "Imposter"). It just shows the ability splash but doesn't display the pbDisplay message "Groudon's Drought intensified the sun's rays!" etc in the battle text at all, despite being in the PokéBattle_Battler script and being untouched. The text for attacks and so on once the battle starts displays just fine.

    I'm quite unfamiliar with Elite Battle System and how it might be supressing these messages or how I could alter it to include more ability splash triggers. Some pointers would be appreciated, if possible. I can share any files required to solve the issue on request, and I've managed to open the EBS4 Scripts in a separate project so I can look at them at least. I just don't understand how a lot of it works.
     
    Hi!

    For the pbDisplay abilites, go to the Script Editor and search for EliteBattle_0 or find "pbAbilitiesOnSwitchIn_ebs". There look if you have all the abilites that activate by switching pokemon where it says "self.checkForAbilities(:FRISK,:FOREWARN,:BADDREAMS,:MOODY,:HARVEST,:TRACE,:INTIMIDATE)". If you go down, you'll see that there's also the display for the different scenarios like inmunities, effects after hit, etc. So add the respective abilites where they should be.

    The text issue, I have the same problem and I haven't figure it out how to fix it, Im sorry :(

    I hope this answer helps. Good luck!
     
    Back
    Top