[Bug] Wrong Code Number in Game_Interpreter

User: 8ik9ol
Bug: Typo in rpg_objects.js, line 10497: this.nextEventCode() === 655 is nonexistent
How to Replicate the Bug:
  • // Script
    Game_Interpreter.prototype.command355 = function() {
    var script = this.currentCommand().parameters[0] + '\n';
    while (this.nextEventCode() === 655) {
    this._index++;
    script += this.currentCommand().parameters[0] + '\n';
    }
    eval(script);
    return true;
    };
  • I'm just guessing that '655' is supposed to be '355' here.
  • That way the Game_Interpreter would combine two or more scripts into one (for better performance?)
  • However, since Code 655 in nonexistent, that line does nothing.

Original thread: https://forums.rpgmakerweb.com/threads/bug-wrong-code-number-in-game_interpreter.119955/