From 4fc8ff1304191ed75efc4aca6d5102792a09e96c Mon Sep 17 00:00:00 2001 From: Zoey Kitt Date: Sun, 17 Nov 2024 15:48:09 -0600 Subject: I forgor --- scenes/main.gd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scenes/main.gd') diff --git a/scenes/main.gd b/scenes/main.gd index 7269b4a..2cdf075 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -18,7 +18,7 @@ func _process(delta: float) -> void: func _on_microgame_spawn_timer_timeout() -> void: # Spawn a microgame window var window_instance = null - if (randf() < -10.25): + if (randf() < 0.25): var window_scene = preload("res://scenes/microgames/microgame_window.tscn") window_instance = window_scene.instantiate() @@ -67,6 +67,10 @@ func _on_microgame_lose(window: MicrogameWindow): print("noooooo") $LosingSoundEffect.play() $"Score window (real)/Score window".net_worth.timesEquals(0.8) + if window.get_children()[0] is Fishin: + pass + else: + $Clippette/AnimationPlayer.play("ad_click") func _on_fishin_win(fish_caught: Fishin.FishType) -> void: -- cgit v1.2.3