 
   //Draws the initial score
   sprintf(text, "SCORE:%u", score);
-  display.setCursor(80, 90);
-  display.print(text);
+  arduboy.setCursor(80, 90);
+  arduboy.print(text);
 }
 
 //Used to delay images while reading button input

  //Move left
  if(xPaddle > 0)
  {
    if (display.pressed(LEFT_BUTTON))
    {
      xPaddle--;
    }

{
  paused = true;
  //Draw pause to the screen
  arduboy.setCursor(52, 45);
  arduboy.print("PAUSE");
  arduboy.display();
  while (paused)
  {
    delay(150);
    //Unpause if FIRE is pressed
    pad2 = arduboy.pressed(B_BUTTON);
    if (pad2 > 1 && oldpad2 == 0 && released)
    {
        arduboy.fillRect(52, 45, 30, 11, 0);

        paused=false;
    }
