think about the order these commands execute in.
in the first example the line "Amal 1..." never gets executed because the loop is looping forever.
in the second example the line "bob 1, SX, SY, GUY" only gets called before the start of the loop, so when SX is changed it doesn't update the bob's position to the new SX.
tbh i wouldn't mix AMAL with normal AMOS programming, it can only lead to confusion. Personally i never found AMAL very useful for in-game animation.
|