aboutsummaryrefslogtreecommitdiff
path: root/src/player.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.s')
-rw-r--r--src/player.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/player.s b/src/player.s
index aac5dd0..c7b65af 100644
--- a/src/player.s
+++ b/src/player.s
@@ -110,6 +110,9 @@
;; How many frames are we allowing for each walk animation state?
WALK_COUNTER_MAX = (HZ / 10)
+ ;; Number of sprites from which the player is made of.
+ PLAYER_SPRITES_COUNT = 6
+
;; Initialize the player's sprite. Note that for the sprite to look
;; correctly on screen you still need to call `Player::update` afterwards.
.proc init