加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 汪汪 于 2018-4-4 21:13 编辑
1.30版
// Break Loop Game_Interpreter.prototype.command113 = function() { while (this._index < this._list.length - 1) { this._index++; var command = this.currentCommand(); if (command.code === 413 && command.indent < this._indent) { break; } } return true; };
// Break Loop
Game_Interpreter.prototype.command113 = function() {
while (this._index < this._list.length - 1) {
this._index++;
var command = this.currentCommand();
if (command.code === 413 && command.indent < this._indent) {
break;
}
}
return true;
};
1.60版
// Break Loop Game_Interpreter.prototype.command113 = function () { var depth = 0; while (this._index < this._list.length - 1) { this._index++; var command = this.currentCommand(); if (command.code === 112) depth++; if (command.code === 413 && command.indent < this._indent) { if (depth > 0) depth--; else break; } } return true; };
// Break Loop
Game_Interpreter.prototype.command113 = function () {
var depth = 0;
while (this._index < this._list.length - 1) {
this._index++;
var command = this.currentCommand();
if (command.code === 112)
depth++;
if (command.code === 413 && command.indent < this._indent) {
if (depth > 0)
depth--;
else
break;
}
}
return true;
};
|