| 赞 | 58  | 
 
| VIP | 37 | 
 
| 好人卡 | 59 | 
 
| 积分 | 12 | 
 
| 经验 | 66255 | 
 
| 最后登录 | 2023-5-29 | 
 
| 在线时间 | 1017 小时 | 
 
 
 
 
 
Lv3.寻梦者 
	- 梦石
 - 0 
 
        - 星屑
 - 1232 
 
        - 在线时间
 - 1017 小时
 
        - 注册时间
 - 2011-4-30
 
        - 帖子
 - 1516
 
 
 
 | 
	
 本帖最后由 汪汪 于 2016-2-27 10:42 编辑  
 
- (function() {
 
 - Scene_Menu.prototype.createCommandWindow = function() {
 
 -     this._commandWindow = new Window_MenuCommand(0, 0);
 
 -     this._commandWindow.setHandler('item',      this.commandItem.bind(this));
 
 -     this._commandWindow.setHandler('skill',     this.commandPersonal.bind(this));
 
 -     this._commandWindow.setHandler('equip',     this.commandPersonal.bind(this));
 
 -     this._commandWindow.setHandler('status',    this.commandPersonal.bind(this));
 
 -     this._commandWindow.setHandler('formation', this.commandFormation.bind(this));
 
 -     this._commandWindow.setHandler('options',   this.commandOptions.bind(this));
 
 -     this._commandWindow.setHandler('save',      this.commandSave.bind(this));
 
 -     this._commandWindow.setHandler('load',      this.commandLoad.bind(this));//修改
 
 -     this._commandWindow.setHandler('gameEnd',   this.commandGameEnd.bind(this));
 
 -     this._commandWindow.setHandler('cancel',    this.popScene.bind(this));
 
 -     this.addWindow(this._commandWindow);
 
 - };
 
 - Window_MenuCommand.prototype.makeCommandList = function() {
 
 -     this.addMainCommands();
 
 -     this.addFormationCommand();
 
 -     this.addOriginalCommands();
 
 -     this.addOptionsCommand();
 
 -     this.addSaveCommand();
 
 -     this.addLoadCommand();//修改
 
 -     this.addGameEndCommand();
 
 - };
 
 - //添加
 
  
- Scene_Menu.prototype.commandLoad = function() {
 
 -     SceneManager.push(Scene_Load);
 
 - };
 
  
- Window_MenuCommand.prototype.addLoadCommand = function() {
 
 -     if (this.needsCommand('save')) {//这个可以不要
 
 -         var enabled = this.isSaveEnabled();//或者 =true 允许 false 不允许
 
 -         this.addCommand(TextManager.load, 'load', enabled);
 
 -     }//上面那个不要那么这个也不能要
 
 - };
 
  
- })()
 
 
  复制代码 |   
 
评分
- 
查看全部评分
 
 
 
 
 
 |