From dc6677e6ad70618cd58143ad81483ccbde0e6a09 Mon Sep 17 00:00:00 2001 From: rexim Date: Fri, 22 Mar 2024 10:37:06 +0700 Subject: Make checkpoints refill the bombs --- game.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game.adb') diff --git a/game.adb b/game.adb index 97027e4..d60a1aa 100644 --- a/game.adb +++ b/game.adb @@ -226,7 +226,7 @@ procedure Game is Prev_Position: IVector2; Position: IVector2; Keys: Integer := 0; - Bombs: Integer := 1; + Bombs: Integer := 0; Bomb_Slots: Integer := 1; Dead: Boolean := False; end record; @@ -791,6 +791,7 @@ procedure Game is end if; when Item_Checkpoint => Game.Items.Delete(C); + Game.Player.Bombs := Game.Player.Bomb_Slots; Game_Save_Checkpoint(Game); end case; end if; @@ -1422,7 +1423,6 @@ end; -- TODO: Try MSAA (if too slow, don't) -- TODO: Rename executable to "eepers" -- TODO: Icon on for Windows build --- TODO: Checkpoints must refill the bombs -- TODO: Closed eyes should always point down -- TODO: Show Eeper Cooldown timer outside of the screen somehow -- TODO: Visual Clue that the Eeper is about to kill the Player when Completely outside of the Screen -- cgit v1.2.3