Rolling and Scaling a FLATSPRITE

This code below is how I first figured that it would be done. Unfortunately, it didn't work and a bunch of variations didn't work either. Is there any way to do this?
Note: The 'DONE' state is being switched to with an ACS script so it is not the problem..
Note: The 'DONE' state is being switched to with an ACS script so it is not the problem..
- Code: Select all • Expand view
ACTOR Septagram_Floor 19201 {
Height 512
Radius 256
Scale 0.5 //128x128
+FLATSPRITE
//+ROLLSPRITE
+ROLLCENTER
States {
Spawn:
SEPT G 1 BRIGHT {
roll += 3;
}
Loop
Done:
SEPT G 1 BRIGHT {
roll += 3;
scaleX -= 0.05;
scaleY -= 0.05;
//A_SetScale(scaleX, scaleX);
if (scaleX <= 0.0){
return state("Null");
}else{
return state("Done");
}
}
Loop
}
}