var d101 = Game_Interpreter.prototype.command101; // 暂存对话命令 Game_Interpreter.prototype.command101 = function() {     if (!$gameMessage.isBusy()) {         if ($gameSwitches._data[m]) // 仅当m号开关开启时播放音效             SoundManager.playSystemSound(N); // N为0-23的任何一个整数         // 也可以用 $gameVariables._data[n] 取用n号变量值来实现不同时候播放不同音效         return d101.call(this); // 正常执行对话命令     } else         return false; } 
 
 var d101 = Game_Interpreter.prototype.command101; // 暂存对话命令  
Game_Interpreter.prototype.command101 = function() {  
    if (!$gameMessage.isBusy()) {  
        if ($gameSwitches._data[m]) // 仅当m号开关开启时播放音效  
            SoundManager.playSystemSound(N); // N为0-23的任何一个整数  
        // 也可以用 $gameVariables._data[n] 取用n号变量值来实现不同时候播放不同音效  
        return d101.call(this); // 正常执行对话命令  
    } else  
        return false;  
}  
 
  |