--コマンド表
--214技は421技暴発対策に試験的にwaitを導入

function lvr236(button)
	key_on(ACT_DOWN);yield();
	key_on(front);yield();
	key_off(ACT_DOWN);yield();
	key_off(front);
	if button>=0 and button<=9 then
		key_event(button);
	end
end

function lvr623(button)
	key_on(front);yield();key_off(front);
	key_on(ACT_DOWN);yield();
	key_on(front);yield();
	key_off(ACT_DOWN);key_off(front);
	if button>=0 and button<=9 then
		key_event(button);
	end
end

function lvr214a(button)
	key_on(ACT_DOWN);yield();
	key_on(back);yield();
	key_off(ACT_DOWN);yield();
	key_off(back);
	if button>=0 and button<=9 then
		key_event(button);
	end
end

function lvr214b(button)
	key_on(ACT_DOWN);yield();
	key_on(back);yield();
	key_off(ACT_DOWN);yield();
	key_off(back);
	wait(5);
	if button>=0 and button<=9 then
		key_event(button);
	end
end

function lvr421(button)
	key_on(back);yield();key_off(back);
	key_on(ACT_DOWN);yield();
	key_on(back);yield();
	key_off(ACT_DOWN);key_off(back);
	if button>=0 and button<=9 then
		key_event(button);
	end
end

function lvr22(button)
	key_on(ACT_DOWN);yield();key_off(ACT_DOWN);yield();
	key_on(ACT_DOWN);yield();key_off(ACT_DOWN);
	if button>=0 and button<=9 then
		key_event(button);
	end
end