made the poison berry work

it doesnt reset all the berries and the player like it does in the main
game but I'll probably fix that before release.
This commit is contained in:
Puppet committed 2025-10-10 13:22:16 -07:00
1 parent fdbbecc83a
commit 388c838d25
1 file changed
+4 -1
+4 -1
View File
@@ -26,7 +26,10 @@ public partial class BerryLogic : Node2D {
Globals.HighScore += ScoreAdder; Globals.HighScore += ScoreAdder;
} }
if (BerryType == "ultra") { if (BerryType == "poison") {
Globals.EffectTimer = 0f;
Globals.Score = 0;
} else if (BerryType == "ultra") {
if (Globals.ActiveEffect == "ultra") { if (Globals.ActiveEffect == "ultra") {
Globals.EffectTimer += 10f; Globals.EffectTimer += 10f;
} else { } else {