我改成连到并行公共事件也没效果
if @id == 1
if $game_switches[1]
return if @s
@s = true
if rand(2) == 1
$game_temp.common_event_id = 3
else
$game_temp.common_event_id = 4
end
else
@s = false
end
end
if @id == 6
if $game_switches[1]
unless @s
@t = 0
if rand(2) == 1
turn_right_90
@s = 1
else
turn_left_90
@s = 0
end
else
if @t > 10
case @s
when 0
turn_left_90
when 1
turn_right_90
end
@t -= 10
end
@t += 1
end
return if @s
else
@s = false
@t = 0
end
end