- Joined
- Jun 5, 2019
- Posts
- 6
Hey I am building my own fangame (currently in a really early stage), and I am running into two really annoying issues.
1. When I battle a Pokemon in the wild, instead of getting the EV gain as defined in the PBS, I get 1 EV added to all EVs. This is not supposed to happen, or did this change with V18.1? I have changed nothing regarding EVs. The only thing I changed was the FRLG summary screen.
2. Whenever I battle I get a NoMethodError pbEnemyShouldUseItem? error. Really no clue where to start there.
This is what the error says:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18.1]
Exception: NoMethodError
Message: undefined method `pbEnemyShouldUseItem?' for #<PokeBattle_AI:0xe1ccac8>
Backtrace:
PokeBattle_AI:63:in `pbDefaultChooseEnemyCommand'
Battle_Phase_Command:200:in `pbCommandPhaseLoop'
Battle_Phase_Command:191:in `loop'
Battle_Phase_Command:248:in `pbCommandPhaseLoop'
Battle_Phase_Command:183:in `pbCommandPhase'
Battle_StartAndEnd:320:in `pbBattleLoop'
Battle_StartAndEnd:320:in `logonerr'
Battle_StartAndEnd:320:in `pbBattleLoop'
Battle_StartAndEnd:308:in `loop'
Battle_StartAndEnd:329:in `pbBattleLoop'
This exception was logged in
C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Can anyone please help? Any help would be greatly appreciated!
1. When I battle a Pokemon in the wild, instead of getting the EV gain as defined in the PBS, I get 1 EV added to all EVs. This is not supposed to happen, or did this change with V18.1? I have changed nothing regarding EVs. The only thing I changed was the FRLG summary screen.
2. Whenever I battle I get a NoMethodError pbEnemyShouldUseItem? error. Really no clue where to start there.
This is what the error says:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18.1]
Exception: NoMethodError
Message: undefined method `pbEnemyShouldUseItem?' for #<PokeBattle_AI:0xe1ccac8>
Backtrace:
PokeBattle_AI:63:in `pbDefaultChooseEnemyCommand'
Battle_Phase_Command:200:in `pbCommandPhaseLoop'
Battle_Phase_Command:191:in `loop'
Battle_Phase_Command:248:in `pbCommandPhaseLoop'
Battle_Phase_Command:183:in `pbCommandPhase'
Battle_StartAndEnd:320:in `pbBattleLoop'
Battle_StartAndEnd:320:in `logonerr'
Battle_StartAndEnd:320:in `pbBattleLoop'
Battle_StartAndEnd:308:in `loop'
Battle_StartAndEnd:329:in `pbBattleLoop'
This exception was logged in
C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Can anyone please help? Any help would be greatly appreciated!
Last edited: