 static byte lives;
 static byte done[5];
 static byte homes[5] = { 24, 72, 120, 168, 216 };
-static int time;
+static int ti;
 
 void frog_start()
 {

  frogdir = 0;
  frogface = 0x0000;
  dying = 0;
  time = 120 << 7;
}

void level_start()


  if (dying) {
    if (++dying == 64) {
      if (--lives == 0 || ti == 0) {
        game_over();
        game_start();
        level_start();
