Skip to content

Commit

Permalink
Revert "added slime sound"
Browse files Browse the repository at this point in the history
This reverts commit 9d7c33e.
  • Loading branch information
zabayrer committed May 20, 2024
1 parent 9b807bf commit a7c528d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions character_scripts/slime.gd
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
extends Enemy
class_name Slime

@onready var squish = $Sqiush

func _ready():
spawn_delay = 1.5
spawn_delay_rand_range = 0.5
Expand All @@ -24,10 +22,6 @@ func _ready():
await on_enemy_ready()

func _process(delta):
if is_dead:
#squish.volume_db = -99999
squish.stop()

if !on_enemy_process():
return;

Expand All @@ -43,8 +37,7 @@ func _process(delta):
$AnimatedSprite2D.flip_h = true
else:
$AnimatedSprite2D.flip_h = false



func _on_area_entered(area):
if !is_dead:
on_enemy_area_entered(area)
Expand Down

0 comments on commit a7c528d

Please sign in to comment.