no more restart :(

This commit is contained in:
pennyrigate 2024-06-15 21:52:16 -04:00
parent e25db2a638
commit 342e925f6b
4 changed files with 4 additions and 1 deletions

View file

@ -38,7 +38,6 @@ func _physics_process(delta: float) -> void:
state_chart.send_event("in_range")
if fmod(Game.time, 15.0) == 0.0:
Audio.play_sound(Audio.a_grumble,Audio.ac_boss)
print(hp)
func start_push() -> void:

View file

@ -69,6 +69,7 @@ onready var hitbox: Area2D = $"%Hitbox"
# OVERRIDES #
func _ready() -> void:
Game.can_restart = true
#set palette
var palette = load("res://graphics/player/palettes/%s.tex" % Game.current_palette)
sprite.material.set_shader_param("palette", palette)