       if (gAnimCounter == 1) {
         chaser_opt = (chaser_opt + 1) % 9;
       }
-      else if (gAnimCounter == 5 || gAnimCounter == 6) {
+      else if (gAnimCounter == 4 || gAnimCounter == 5) {
         chaser_opt = (chaser_opt + 1) % 6;
       }
-      else if (gAnimCounter == 10) {
+      else if (gAnimCounter == 9) {
         chaser_opt = (chaser_opt + 1) % 3;
       }
     }

        gPaletteCounter = (gPaletteCounter + 1) % numPalettes;
      }
      // Keep us from selecting certain palettes for certain animatinos
      if (gAnimCounter == 2 || gAnimCounter == 3 || gAnimCounter == 4 || gAnimCounter == 7 || gAnimCounter == 8 || gAnimCounter == 9) {
        while (gPaletteCounter == 0 || gPaletteCounter == 5 || gPaletteCounter == 6) {
          gPaletteCounter = (gPaletteCounter + 1) % numPalettes;
        }

uint8_t gHue;

// For animation switching, this number needs to be hard coded unforunately
const uint8_t numAnimation = 10;
uint8_t chaser_opt = 0; // For choosing the sub patterns on the animations that use chasers

void setup() {
