IfSpawned
  SetTurnModeToSpin
  DisableExport

  IfStateIs1
    tmpargument = 1
    ChangeArmor
  IfStateIs2
    tmpargument = 2
    ChangeArmor
  IfStateIs3
    tmpargument = 0 -1
    SetRedShift
    SetGreenShift
    SetBlueShift
  IfStateIs4
    tmpargument = 3
    ChangeArmor

IfTimeOut
  // Make sparklies
  SpawnPoof
  tmpargument = 10
  SetTime
End					// All done
