Undefined Method <= for nil:NilClass Yanfly Battle Engine

Hello there guys.

Once again, another problem.

I attached a screenshot of it.

The actual line it refers to is this:

return if @battler.pseudo_ani_id <= 0What is going on?

It never happened to me before...

I just recently switched the main character and that's it...

But I did it many times before and it never happened. I tried to see if it's the random encounters generating it, and nope... It still happens the same.

Please help!

Error.jpg
Solved by myself, thanks anyway. This thread can be deleted.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


LuciferSynd, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Next time you need help with a script, post it in the correct forum (RGSSx Script Support - which is where I'll move this to now), and include a link to the script.

Original thread: https://forums.rpgmakerweb.com/threads/undefined-method-for-nil-nilclass-yanfly-battle-engine.19418/