diff --git a/th02/main/player/player.h b/th02/main/player/player.h index 41fde9e2..9113bcb3 100644 --- a/th02/main/player/player.h +++ b/th02/main/player/player.h @@ -2,9 +2,11 @@ #define PLAYER_H 48 // Grants invincibility when >0. Decrements by 1 each frame in that case. -// Works independently from [player_invincible_via_bomb]. +// In TH02, this works independently from [player_invincible_via_bomb]. extern unsigned char player_invincibility_time; -// Grants invincibility as long as it's true. Works independently from -// [player_invincibility_time]. -extern bool player_invincible_via_bomb; +#if (GAME == 2) + // Grants invincibility as long as it's true. Works independently from + // [player_invincibility_time]. + extern bool player_invincible_via_bomb; +#endif