 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()
 {


  prevt = t;
  t++;
  time = max(0, time - 1);
  if ((time == 0) && (dying == 0))
    dying = 1;
 
  // Draw 'time remaining' by clearing a black rectangle
  {
    byte tw = 120 - (time >> 7);
    byte tx = 72;
    GD.SaveContext();
    GD.ScissorXY(tx, 248);

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

void level_start()
