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:
1 parent
fdbbecc83a
commit
388c838d25
1 file changed
+4
-1
@@ -26,7 +26,10 @@ public partial class BerryLogic : Node2D {
|
||||
Globals.HighScore += ScoreAdder;
|
||||
}
|
||||
|
||||
if (BerryType == "ultra") {
|
||||
if (BerryType == "poison") {
|
||||
Globals.EffectTimer = 0f;
|
||||
Globals.Score = 0;
|
||||
} else if (BerryType == "ultra") {
|
||||
if (Globals.ActiveEffect == "ultra") {
|
||||
Globals.EffectTimer += 10f;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user