This is basic JS by now but I'm really feeling like I'm having a major obvious oversight that I can't seem to know.
I am a beginner coder, simply reading codes and making skills using JS
In my case I've been toying with calling a function in script call
I have this function right there as an example:
and I've tried to execute that function in script calls using
the game doesn't recognize my particular command function at all, simply throwing an error saying that this function is undefined.
Should I double check what's inside the function code? am I simply not understanding how it all works?
Any help would be really appreciated.
I am a beginner coder, simply reading codes and making skills using JS
In my case I've been toying with calling a function in script call
I have this function right there as an example:
Scene_Battle.prototype.command = function() { code };and I've tried to execute that function in script calls using
SceneManager._scene.command();the game doesn't recognize my particular command function at all, simply throwing an error saying that this function is undefined.
Should I double check what's inside the function code? am I simply not understanding how it all works?
Any help would be really appreciated.