So, I'm trying to use background image in my menu since SRD_MenuBackground has a bug. But the image appers above all windows. I want the image to load, then the windows. Here's the code:
Scene_Skill.prototype.create = function() {
Scene_ItemBase.prototype.create.call(this);
this._backgroundSprite = new Sprite(ImageManager.loadPicture("MenuHabilidades"));
this.addChild(this._backgroundSprite);
this.createHelpWindow();
this.createSkillTypeWindow();
this.createStatusWindow();
this.createItemWindow();
this.createActorWindow();
};
Scene_Skill.prototype.create = function() {
Scene_ItemBase.prototype.create.call(this);
this._backgroundSprite = new Sprite(ImageManager.loadPicture("MenuHabilidades"));
this.addChild(this._backgroundSprite);
this.createHelpWindow();
this.createSkillTypeWindow();
this.createStatusWindow();
this.createItemWindow();
this.createActorWindow();
};