PIXI Controls: Enable by default

This commit is contained in:
OleSTEEP 2024-02-08 16:18:10 +03:00
parent bdd4aa7762
commit a7ed8b3239
3 changed files with 34 additions and 64 deletions

View file

@ -112,6 +112,8 @@ Scene_OmoriTitleScreen.prototype.create = function () {
// Super Call
Scene_BaseEX.prototype.create.call(this);
// ONSControls
ONSControls.initialize();
this.createFilters();
// Create Background
@ -132,6 +134,7 @@ Scene_OmoriTitleScreen.prototype.create = function () {
this.createGeneralOptionsWindow();
this.createAudioOptionsWindow();
this.createControllerOptionsWindow();
this.createONSControlsOptionsWindow(); // ONSControls Settings
this.createSystemOptionsWindow();
this.createExitPromptWindow();
this.createOptionCategoriesWindow();

View file

@ -770,39 +770,6 @@ Window_OmoMenuOptionsONSControls.prototype.add = function () {
Scene_OmoriTitleScreen.prototype.optionWindows = function () {
return [this._generalOptionsWindow, this._audioOptionsWindow, this._controlOptionsWindow, this._onscontrolsOptionsWindow, this._systemOptionsWindow]
}
Scene_OmoriTitleScreen.prototype.create = function () {
// Super Call
Scene_BaseEX.prototype.create.call(this);
this.createFilters();
// Create Background
this.createBackground();
// Create Omori Sprite
this.createOmoriSprite();
// Create Title Sprites
this.createTitleSprites();
// Create Title Commands
this.createTitleCommands();
// Create Command Hints
this.createCommandHints();
// Create Version Text
this.createVersionText();
// Create Options Windows
this.createOptionWindowsContainer();
this.createHelpWindow();
this.createGeneralOptionsWindow();
this.createAudioOptionsWindow();
this.createControllerOptionsWindow();
this.createONSControlsOptionsWindow();
this.createSystemOptionsWindow();
this.createExitPromptWindow();
this.createOptionCategoriesWindow();
// Update world bitmaps
this.updateWorldBitmaps();
this.playBgm();
this.playBgs();
// this._backgroundSprite.filters = [this._glitchFilter]
};
Scene_OmoMenuOptions.prototype.create = function () {
// Super Call
Scene_OmoMenuBase.prototype.create.call(this);