Schala crashes the game!!

Yes.


The order for the check doesn't really matter. You can use:

Code:
if target_enemy && user

or



if user && target_enemy


as well. Both should work.



What about the new crashing?
I did not test this at all, but you can try to put this script below all of the Schala scripts:


http://pastebin.com/ENiCUiK9


I made a nil check before every method which calls 'fade'. In theory, it should fix that error.


If not, than it comes from a script call again, so you should do the nil checks there manually, the same way you did with the 'user' and 'target_enemy' script calls.

Original thread: https://forums.rpgmakerweb.com/threads/schala-crashes-the-game.54887/