I once again come to you with what is probably a pretty obvious mistake, but I can't figure it out. So when I start my game normally (new game) everything works just fine. What I want to do is modify:
So I add the following code:
As far as I can tell this code should literally do nothing. Right now it should just intercept the normal call for 'Scene_Map.prototype.isReady' and then call the actual function 'Scene_Map.prototype.isReady' and looking at the debugger, that is what is happening.
However, my game won't start anymore. If I start a new game with the only change being that added bit of code the game will get stuck in an indefinite loading screen.
What is going on here? Why does it do that and how do I prevent it from getting stuck in an infinite loop?
JavaScript:
Scene_Map.prototype.isReady
So I add the following code:
JavaScript:
_DynamicCharacterSprite__Scene_Map_prototype_isReady = Scene_Map.prototype.isReady;
Scene_Map.prototype.isReady = function(){
_DynamicCharacterSprite__Scene_Map_prototype_isReady.call(this);
}
As far as I can tell this code should literally do nothing. Right now it should just intercept the normal call for 'Scene_Map.prototype.isReady' and then call the actual function 'Scene_Map.prototype.isReady' and looking at the debugger, that is what is happening.
However, my game won't start anymore. If I start a new game with the only change being that added bit of code the game will get stuck in an indefinite loading screen.
What is going on here? Why does it do that and how do I prevent it from getting stuck in an infinite loop?