add leftFrames for whip attack

This commit is contained in:
2025-03-01 01:48:15 +00:00
parent 693630a655
commit e9e9d80a78
3 changed files with 87 additions and 9 deletions

View File

@@ -112,9 +112,7 @@ struct
val boxes =
case facing of
FACING_RIGHT => Vector.sub (Whip.rightFrames, frame)
| FACING_LEFT =>
(* todo: replace rightFrames with leftFrames *)
Vector.sub (Whip.rightFrames, frame)
| FACING_LEFT => Vector.sub (Whip.leftFrames, frame)
in
helpAttackEnemies
( player