- const __FlashStringHelper* popupText;
-
- int toScreenX(int x) {
- return x / SCALE - cameraX;
- }
-
- int toScreenY(int y) {
- return y / SCALE - cameraY;
- }
-
- ///////////////////////////////////////////// SOUNDS
-
- const uint16_t player_damage_sound[] PROGMEM = {0x0045, 0x564, 0x0000};
- const uint16_t revolver_sound[] PROGMEM = {0x0045, 0x7049, 0x17C, 0x784D, 0x42C, 0x0000};
- const uint16_t grenade_sound[] PROGMEM = {0x0045, 0x012C, 0x0000};
- const uint16_t machinegun_sound[] PROGMEM = {0x0045, 0x140, 0x8141, 0x7849, 0x788D, 0x52C, 0x0000};
- const uint16_t rocket_sound[] PROGMEM = {0x8045, 0x8001, 0x8889, 0x3C5C, 0x0000};
- const uint16_t blast_sound[] PROGMEM = {0x0045, 0x7849, 0x784D, 0xA28, 0x0000};
- const uint16_t power_up_sound[] PROGMEM = {0x0005, 0x140, 0x150, 0x15C, 0x170, 0x180, 0x16C, 0x154, 0x160, 0x174, 0x184, 0x14C, 0x15C, 0x168, 0x17C, 0x18C, 0x0000};
- const uint16_t enemy_death_sound[] PROGMEM = {0x0045, 0x184, 0x0000};
- const uint16_t jump_sound[] PROGMEM = {0x0005, 0x7049, 0x884D, 0x354, 0x0000};