new version was very buggy so i removed the new functions until its all working clean
Plugin Rollback to avoid the switch in error
Look for the lineHello, im getting an error message after deafeating a pokemon right when i should get exp.
lvl cap is set to 15 and works with exp candies.
the error says :
Exception: NameError
Message: undefined local variable or method `prefix' for #<Battle>
Backtrace:
[Level Caps EX] 001_Main.rb:126:in `pbGainExpOne'
Battle_ExpAndMoveLearning:39:in `block (2 levels) in pbGainExp'
Battle:411:in `block in eachInTeam'
Battle:411:in `each'
Battle:411:in `each_with_index'
Battle:411:in `eachInTeam'
Battle_ExpAndMoveLearning:35:in `block in pbGainExp'
Battle_ExpAndMoveLearning:13:in `each'
Battle_ExpAndMoveLearning:13:in `pbGainExp'
Battler_UseMove:514:in `pbUseMove'
any idea why this happen? Also the game doestn crash after that, i just dont get any exp.
if over_level_cap
in 001_Main.rbpbMessage
call. Just remove the prefix argument from therepbDisplayPaused(_INTL(message, pkmn.name, expGained))
. That was an error on my end.Worked like a charm :D Thank you very much!Look for the lineif over_level_cap
in 001_Main.rb
And below that there should be apbMessage
call. Just remove the prefix argument from there
Actually, change it topbDisplayPaused(_INTL(message, pkmn.name, expGained))
. That was an error on my end.
Forgot to remove it![]()
removed the lost prefix argument