All pastes #265806 Raw Edit

squeakypants

public text v1 · immutable
·published 2006-12-03 17:40 UTC
rendered paste body
if (Wiimote.RawForceY + 13 < 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