issues with EBS (16.2)

ArchyArc

Lead Developer of Pokemon Sacred Johto
Member
Joined
May 10, 2017
Posts
37
so i've been away from my project but ive not touched how balls work in ages. suddenly my trainer battles are broken (on send out all the pokeballs appear onscreen and get the error below)

Code:
---------------------------
Pokemon: Sacred Johto
---------------------------
Exception: NoMethodError

Message: undefined method `*' for nil:NilClass

EliteBattle_Scene:1112:in `pbTrainerSendOut'

EliteBattle_Scene:1103:in `each'

EliteBattle_Scene:1103:in `pbTrainerSendOut'

EliteBattle_Battle:265:in `pbSendOutInitial'

EliteBattle_Battle:155:in `pbStartBattleCore'

PokeBattle_Battle:4165:in `pbStartBattle'


This exception was logged in

C:\Users\User\Saved Games/Pokemon_ Sacred Johto/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK   
---------------------------

the * refers to
"balltype[m] = 0 if balltype[m]*41 >= @sprites["pokeball#{i}"].bitmap.width"
in the EliteBattle_Scene script page.

im unsure what ive done, i've compared to a fresh ebs script (of _Scene) and even then it breaks. could anything be effecting this?

(i am having an issue with the user one-shotting everything but thats most likely not related)
 

catwithnojob

yes a cat helps run this website
Administrator
Joined
Jan 30, 2018
Posts
44
Age
23
I don't know if anyone supports 16.2 or that version of EBS, especially since 17.2 has been out for a little over two years now. I approved your thread just in case anyone can help you, but updating is the advice I'd give you.
 

ArchyArc

Lead Developer of Pokemon Sacred Johto
Member
Joined
May 10, 2017
Posts
37
update: using older encypted version the issue doesnt persist, but using that versions script section (entire script) it causes the issue. at this point im even more unsure.

edit: it seem to have solved itself, i think it was down to a compiling issue of the data. while im not sure im thinking its that (ill mark this as solved but if anyone can confirm or not if im right, it would help in the future)
 
Last edited:
Top