Advertiser Content

Scripting Question What PKMN is fighting?

Started by REALMUGEN September 26th, 2019 11:43 AM
  • 1149 views
  • 5 replies
Seen 1 Day Ago
Posted 6 Days Ago
65 posts
3.2 Years
Check how Battle Bond works and edit for what you want:
https://www.pokecommunity.com/showthread.php?t=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'
Advertiser Content