#--------------------------------------------------------------------------
# ● 操作开关
#--------------------------------------------------------------------------
def command_121
(@params[0]..@params[1]).each do |i|
$game_switches[i] = (@params[2] == 0)
character = get_character(0)
if character && @params[2] == 0
case i
when 1
character.animation_id = 1
when 2
character.animation_id = 2
when 3
character.animation_id = 3
when 4
character.animation_id = 4
when 5
character.animation_id = 5
end
end
end
end