eyesight_x: for (judger_y = eare_y1; judger_y <= eare_y2; judger_y ++) { $gameVariables.setValue(32, 1);/* */ for(judger_x = eare_x2; judger_x >= eare_x1; judger_x --) { $gameVariables.setValue(33, 1);/* */ if ($gameMap.terrainTag(judger_x,judger_y) = 1) { continue eyesight_x; } else if(judger_y == player_y && judger_x == player_x) { $gameSelfSwitches.setValue(key,true); break eyesight_x; } } } break;
eyesight_x:
for (judger_y = eare_y1; judger_y <= eare_y2; judger_y ++)
{
$gameVariables.setValue(32, 1);/* */
for(judger_x = eare_x2; judger_x >= eare_x1; judger_x --)
{
$gameVariables.setValue(33, 1);/* */
if ($gameMap.terrainTag(judger_x,judger_y) = 1)
{
continue eyesight_x;
}
else if(judger_y == player_y && judger_x == player_x)
{
$gameSelfSwitches.setValue(key,true);
break eyesight_x;
}
}
}
break;
eare_y2 > eare_y1 , eare_x2 > eare_x1,现在发现是这个部分没有执行,大佬能帮我看下原因吗?跪谢。 |