Script Trouble! - Transition not found?

Hello, everyone. ZoroarX here again having trouble in using Scripts.

Yeah, I'm a noob in using Scrpits, but here it goes. Well, I was working with some new scripts for my RPG but when I was playing, I was about to begin a battle and then, this appears right before the battle intro is showed (Note: The used script was MOG_Transition_EX):

Script 'MOG_Transition_EX' line 174: NoMethodError ocurred.

undefine method `between?' for nil:NilClass

3IZ0H.png


How do I fix this error?

And sorry, moderators, if I didn't post this thread in the right topic.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Have a look at that script, on line 174. Whatever it is that's before the between? has not been defined - so the method is being called incorrectly, or at the wrong time, or something else is going wrong.


When you ask for help with a script, at least give a link to the script so people don't have to go hunting for it. You'll find it much easier to get help that way (and if, for some reason, you feel the need to actually copy and paste the script, make sure you enclose it in spoiler and code tags, as some scripters won't even consider helping you if you make it hard to read - but it's better to give a link to the original you downloaded).

Original thread: https://forums.rpgmakerweb.com/threads/script-trouble-transition-not-found.15754/