All pastes #265833 Raw Edit

squeakypants

public text v1 · immutable
·published 2006-12-03 18:08 UTC
rendered paste body
if (Wiimote.RawForceY - 9 > 0) then
	if (Wiimote.RawForceX + 13 = 0) then
		var.roll = 180
	else if (Wiimote.RawForceX + 13 > 0) then
		var.roll = (((Wiimote.RawForceX + 13)/29)*-90)+90
	else var.roll = (((Wiimote.RawForceX + 13)/29)*-90)-90
else var.roll = ((Wiimote.RawForceX + 13)/29)*-90
debug = var.roll