• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] What PKMN is fighting?

We need to know why you want to use it. We have Charjabug's abilities, Pusle and Minus.
Anyway, are you tryibg to make a move, ability or item to trigger or use into the battle?
 
Check how Battle Bond works and edit for what you want:
https://www.pokecommunity.com/threads/417208

I am trying this on EBS, for example

if isConst?(species,PBSpecies,:PIKACHU)
@battle.pbDisplay(_INTL("¡Pikachu no!",pbThis))
end

And I get this error

---------------------------
Pokemon Anthology
---------------------------
[Pokémon Essentials version 17.2]

Exception: NameError

Message: undefined local variable or method `species' for #<PokeBattle_Scene:0xec83120>

EliteBattle_1:688:in `pbFainted'

PokeBattle_Battler:790:in `pbFaint'

PokeBattle_Battler:3370:in `pbProcessMoveAgainstTarget_ebs'

EliteBattle_0:475:in `pbProcessMoveAgainstTarget'

PokeBattle_Battler:3830:in `pbUseMove_ebs'

PokeBattle_Battler:3810:in `loop'

PokeBattle_Battler:3833:in `pbUseMove_ebs'

EliteBattle_0:510:in `pbUseMove'

PokeBattle_Battler:4042:in `pbProcessTurn'

PokeBattle_Battler:4041:in `logonerr'
 
Last edited:
Back
Top