diff options
Diffstat (limited to 'Scenes/Player.gd')
-rw-r--r-- | Scenes/Player.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Scenes/Player.gd b/Scenes/Player.gd index 0e05204..7ffb1dd 100644 --- a/Scenes/Player.gd +++ b/Scenes/Player.gd @@ -154,3 +154,7 @@ func cor_shake(args : Array): break yield(get_tree(), "idle_frame") + +func cor_damage(args : Array): + $Damage.play() + yield(cor_shake(args), "completed") |