 
 void printer(uint8_t character) { 
  col++;
- if(col > 20) {  display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); display.println(); col = 0; } 
+ if(col > 20) {  display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); display.println(); col = 0; 
+ #if SERIAL == ON
+ Serial.print("\n"); 
+ #endif
+ } 
  if(character == 10) { display.fillRect(display.getCursorX(),display.getCursorY(),8,8,BLACK); col = 0; } 
  display.print((char)character);
- if(sound == 1) { display.tunes.tone(1318, 2); } 
+ #if SOUND == ON
+ display.tunes.tone(1318, 2);
+ #endif
  display.fillRect(display.getCursorX(),display.getCursorY(),8,8,WHITE); 
- display.display(); 
+ display.display();
+ #if SERIAL == ON
+ Serial.print((char)character);
+ #endif 
  delay(50);
 }
 
 uint8_t select() { 
-  uint8_t c = 0; uint8_t blink = 0; if(sound == 1) { 
+  uint8_t c = 0; uint8_t blink = 0; 
+  #if SOUND == ON
      display.tunes.tone(1318, 50);  delay(50);
     display.tunes.tone(400, 50); delay(50);
-    display.tunes.tone(600, 50); delay(50); } 
+    display.tunes.tone(600, 50); delay(50); 
+  #endif
   while(1) { 
    if(display.pressed(FIRE_BUTTON)) { return 1; } 
    if(display.pressed(JUMP_BUTTON)) { return 0; } 

#include <avr/pgmspace.h>
Arduboy display;

#define FIRE_BUTTON 1
#define JUMP_BUTTON 2
#define RIGHT 4

#define UP 16
#define LEFT 32

// Init system variables

uint8_t state = 0;
uint16_t room = 0;
uint8_t inst = 0;
uint8_t col = 0;
uint8_t row = 0;
uint8_t effect = 0;

extern const unsigned char arduino[];
