 #define CONTROL_RIGHT 2
 #define CONTROL_UP    4
 #define CONTROL_DOWN  8
+
+byte dazzler = 1, sf = 3;
 
 class Controller {
   public:

  static uint32_t counter;
  static int prevt;

  GD.Clear();
  GD.Tag(1);
  GD.BitmapHandle(SPRITES_HANDLE);
  GD.SaveContext();
  GD.ScissorSize(224, 256);
  GD.Begin(BITMAPS);
  GD.Vertex2ii(0, 0, BACKGROUND_HANDLE, 0);   // Background bitmap

  GD.wr(REG_TAG_X, frogx - 8);
  GD.wr(REG_TAG_Y, frogy);

  GD.Tag(2);
  GD.AlphaFunc(GREATER, 0); // on road, don't tag transparent pixels

  ti = max(0, ti - 1);
  if ((ti == 0) && (dying == 0))
    dying = 1;

  // Draw 'time remaining' by clearing a black rectangle
  {
    byte tw = 120 - (ti >> 7);
    byte tx = 72;
    GD.SaveContext();
    GD.ScissorXY(sf * tx, sf * 248);
    GD.ScissorSize(sf * tw, sf * 8);
    GD.Clear();
    GD.RestoreContext();
  }
