All pastes #265377 Raw Edit

squeakypants

public text v1 · immutable
·published 2006-12-03 07:00 UTC
rendered paste body
if ((Wiimote.RawForceX + 8) > 1)
	then var.roll = (((Wiimote.RawForceX + 7)/28)*(-90))+90
else if ((Wiimote.RawForceX + 8) < -1)
	then var.roll = (((Wiimote.RawForceX + 8)/28)*(-90))+90
else var.roll = ((Wiimote.RawForceX + 8)/28)*(-90)
debug = var.roll