I have attempted to do it two ways, neither of which has worked.
Window_MenuCommand.prototype.isIngame = function() { return $gameSwitches[1] === true; // Second approach: return $gameSwitches[1]};Can anyone lend a hand? Thanks in advance!
edit: tried double equals ($gameSwitches[1] == true😉 still doesn't work.
Window_MenuCommand.prototype.isIngame = function() { return $gameSwitches[1] === true; // Second approach: return $gameSwitches[1]};Can anyone lend a hand? Thanks in advance!
edit: tried double equals ($gameSwitches[1] == true😉 still doesn't work.