I notice in Yanfly's plugins he puts
I am curious if this is a good practice? I'm assuming it's great for compatibility reasons, considering I've recently had to make one of my plugins compatible with Yanfly's Victory Aftermath and when I did this I did a conditional
to check if it's a plugin being used by the player and then proceeding to do rest of my code. My question's are, is it a good idea to do this for my own scripts or is
good enough, and can I do the same Imported if statement for all scripts?
JavaScript:
var Imported = Imported || {};Imported.YEP_VictoryAftermath = true;
Code:
if(Imported.YEP_VictoryAfterMath)
Code:
LTN = LTN || {}