The only A position calls I can see in the code are all "A45"
As there is a "G90" in the preamble, you are in absolute coordinate mode.
So the first "A45" call will position the A axis at 45 degrees, and subsequent "A45" calls will not move the A axis because it is already at that position.
Greg