- 2
- Posts
- 9
- Years
- Seen May 12, 2016
Fixed thanks to mej71 on Reddit! If anyone else has this problem replace
with
in PokeBattle_MoveEffects on line 3829.
Tried with Gen 6 battle mechanics both off and on (if that would make any difference.)
Code:
@effects[PBEffects::Embargo]>0 ||
Code:
attacker.effects[PBEffects::Embargo]>0 ||
Code:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokeBattle_MoveEffects:3829:in `pbOnStartUse'
PokeBattle_Battler:3014:in `pbUseMove'
PokeBattle_Battler:3348:in `pbProcessTurn'
PokeBattle_Battler:3347:in `logonerr'
PokeBattle_Battler:3347:in `pbProcessTurn'
PokeBattle_Battle:2944:in `pbAttackPhase'
PokeBattle_Battle:2941:in `each'
PokeBattle_Battle:2941:in `pbAttackPhase'
PokeBattle_Battle:2929:in `times'
PokeBattle_Battle:2929:in `pbAttackPhase'
This exception was logged in
C:\Users\Owner\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Last edited: