//这代码在工程随便找个插件塞进去. 或者f12执行一下都行..
function CallInterpreter(list){
if(typeof $gameMap === "undefined" && $gameTroop === "undefined"){return;}
var target = $gameMap
if($gameTroop && $gameTroop._inBattle){
target = $gameTroop
}
if(list !== target._interpreter._list){
target._interpreter = new Game_Interpreter(0);
target._interpreter.setup(list,0);
}
target._interpreter._index = 0;
target._interpreter._params = list[0].parameters;
}
function CallCommonEv(i){
CallInterpreter($dataCommonEvents[i].list)
}
//这代码在工程随便找个插件塞进去. 或者f12执行一下都行..
function CallInterpreter(list){
if(typeof $gameMap === "undefined" && $gameTroop === "undefined"){return;}
var target = $gameMap
if($gameTroop && $gameTroop._inBattle){
target = $gameTroop
}
if(list !== target._interpreter._list){
target._interpreter = new Game_Interpreter(0);
target._interpreter.setup(list,0);
}
target._interpreter._index = 0;
target._interpreter._params = list[0].parameters;
}
function CallCommonEv(i){
CallInterpreter($dataCommonEvents[i].list)
}