From e8e8997fd8cef0e11b0b6d64d3435c91ae586e2c Mon Sep 17 00:00:00 2001 From: aMannus Date: Sun, 26 Feb 2023 21:32:35 +0100 Subject: [PATCH] Spicy dampe --- soh/src/overlays/actors/ovl_En_Po_Relay/z_en_po_relay.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/soh/src/overlays/actors/ovl_En_Po_Relay/z_en_po_relay.c b/soh/src/overlays/actors/ovl_En_Po_Relay/z_en_po_relay.c index e271da21a..700d8b819 100644 --- a/soh/src/overlays/actors/ovl_En_Po_Relay/z_en_po_relay.c +++ b/soh/src/overlays/actors/ovl_En_Po_Relay/z_en_po_relay.c @@ -189,12 +189,14 @@ void EnPoRelay_Race(EnPoRelay* this, PlayState* play) { Vec3f vec; f32 speed; f32 multiplier; + int16_t minFireTimer = 8.0f; + f32 chanceForFire = 1.0f; if (this->actionTimer != 0) { this->actionTimer--; } - if (this->actionTimer == 0 && Rand_ZeroOne() < 0.03f) { - this->actionTimer = 32; + if (this->actionTimer == 0 && Rand_ZeroOne() < chanceForFire) { + this->actionTimer = minFireTimer; if (this->pathIndex < 23) { speed = Rand_ZeroOne() * 3.0f; if (speed < 1.0f) {