- Joined
- Apr 15, 2022
- Posts
- 61
I've been getting this error when I go to switch Pokemon at the end of a turn
The plugin also seems to be causing this error when my Pokemon faint and force a switch in even though it doesn't show.
I went back to 1.0.2 from the latest version and stopped getting those errors.
EDIT: nevermind I did a poor job of making sure the latest version was installed properly.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: ArgumentError
Message: wrong number of arguments (given 3, expected 1..2)
Backtrace:
[Level Caps EX] 001_Main.rb:187:in `pbSwitchInBetween'
Battle_ActionSwitching:173:in `block (2 levels) in pbEORSwitch'
Battle_ActionSwitching:151:in `each'
Battle_ActionSwitching:151:in `block in pbEORSwitch'
Battle_ActionSwitching:149:in `loop'
Battle_ActionSwitching:149:in `pbEORSwitch'
Battle_EndOfRoundPhase:705:in `pbEndOfRoundPhase'
Battle_Clauses:41:in `pbEndOfRoundPhase'
[Generation 9 Pack] [001] Battle.rb:157:in `pbEndOfRoundPhase'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:459:in `pbEndOfRoundPhase'
[v21.1 Hotfixes 1.0.9]
Exception: ArgumentError
Message: wrong number of arguments (given 3, expected 1..2)
Backtrace:
[Level Caps EX] 001_Main.rb:187:in `pbSwitchInBetween'
Battle_ActionSwitching:173:in `block (2 levels) in pbEORSwitch'
Battle_ActionSwitching:151:in `each'
Battle_ActionSwitching:151:in `block in pbEORSwitch'
Battle_ActionSwitching:149:in `loop'
Battle_ActionSwitching:149:in `pbEORSwitch'
Battle_EndOfRoundPhase:705:in `pbEndOfRoundPhase'
Battle_Clauses:41:in `pbEndOfRoundPhase'
[Generation 9 Pack] [001] Battle.rb:157:in `pbEndOfRoundPhase'
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:459:in `pbEndOfRoundPhase'
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: TypeError
Message: no implicit conversion from nil to integer
Backtrace:
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:329:in `pbMessagesOnReplace'
Battle_ActionSwitching:224:in `pbRecallAndReplace'
[[DBK] Dynamax] [011] Battle.rb:207:in `pbRecallAndReplace'
Battle_ActionSwitching:185:in `block (2 levels) in pbEORSwitch'
Battle_ActionSwitching:151:in `each'
Battle_ActionSwitching:151:in `block in pbEORSwitch'
Battle_ActionSwitching:149:in `loop'
Battle_ActionSwitching:149:in `pbEORSwitch'
Battle_EndOfRoundPhase:705:in `pbEndOfRoundPhase'
Battle_Clauses:41:in `pbEndOfRoundPhase'
[v21.1 Hotfixes 1.0.9]
Exception: TypeError
Message: no implicit conversion from nil to integer
Backtrace:
[Deluxe Battle Kit] [001] Midbattle Overwrites.rb:329:in `pbMessagesOnReplace'
Battle_ActionSwitching:224:in `pbRecallAndReplace'
[[DBK] Dynamax] [011] Battle.rb:207:in `pbRecallAndReplace'
Battle_ActionSwitching:185:in `block (2 levels) in pbEORSwitch'
Battle_ActionSwitching:151:in `each'
Battle_ActionSwitching:151:in `block in pbEORSwitch'
Battle_ActionSwitching:149:in `loop'
Battle_ActionSwitching:149:in `pbEORSwitch'
Battle_EndOfRoundPhase:705:in `pbEndOfRoundPhase'
Battle_Clauses:41:in `pbEndOfRoundPhase'
EDIT: nevermind I did a poor job of making sure the latest version was installed properly.
Last edited: