メニューのステータス画面でのキャラクターを切り替えるボタンなのですが、
デフォルトですとQ、Wキー(pageupとpagedown)になっており
左右キーで切り替えられるように変更したいのですが、上手くいかず困っております。
rpg_scenes.js内部の
コード: 全て選択
Scene_Status.prototype.create = function() {
Scene_MenuBase.prototype.create.call(this);
this._statusWindow = new Window_Status();
this._statusWindow.setHandler('cancel', this.popScene.bind(this));
this._statusWindow.setHandler('pageup', this.nextActor.bind(this));
this._statusWindow.setHandler('pagedown', this.previousActor.bind(this));
this.addWindow(this._statusWindow);
this.refreshActor();
解決法があればご教授お願い致します。
既出であれば大変申し訳ありません(検索をかけてみましたが見つけられませんでした)