(mirror-action "buttjump-right"))
(action
+ (name "backflip-right")
+ (fps 15.0)
+ (hitbox 5 62 0 0)
+ (images "flip/empty.png"))
+
+ (action
+ (name "backflip-left")
+ (fps 15.0)
+ (hitbox 27 62 0 0)
+ (mirror-action "backflip-right"))
+
+ (action
(name "idle-right")
(fps 1.0)
(hitbox 6 31 0 0)
if (!on_ground())
return;
- // TODO: we don't have an animation for firetux backflipping, so let's revert to bigtux
- set_bonus(GROWUP_BONUS, true);
-
backflip_direction = (dir == LEFT)?(+1):(-1);
backflipping = true;
do_jump(-580);