summaryrefslogtreecommitdiff
path: root/soh/src
diff options
context:
space:
mode:
authorPhilip Dubé <serprex@users.noreply.github.com>2025-05-23 21:03:20 +0000
committerGitHub <noreply@github.com>2025-05-23 14:03:20 -0700
commitca32dfd2468d4d84bbfd2d88b9cb65c494c8fb41 (patch)
tree2856ce1d0db5ac5b2891d4f04f182a113dea8be7 /soh/src
parent24013e2e5c2c8db47e46180818e1a11b0c7266f4 (diff)
Dampe Fire (#5521)
* No Dampe Fire * spicy * bikeshed
Diffstat (limited to 'soh/src')
-rw-r--r--soh/src/overlays/actors/ovl_En_Po_Relay/z_en_po_relay.c4
1 files changed, 3 insertions, 1 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 41ee2d5c6..d850021a4 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
@@ -8,6 +8,8 @@
#include "overlays/actors/ovl_En_Honotrap/z_en_honotrap.h"
#include "objects/object_tk/object_tk.h"
#include "soh/ResourceManagerHelpers.h"
+#include "soh/Enhancements/game-interactor/GameInteractor.h"
+#include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h"
#define FLAGS \
(ACTOR_FLAG_ATTENTION_ENABLED | ACTOR_FLAG_FRIENDLY | ACTOR_FLAG_UPDATE_CULLING_DISABLED | \
@@ -197,7 +199,7 @@ void EnPoRelay_Race(EnPoRelay* this, PlayState* play) {
if (this->actionTimer != 0) {
this->actionTimer--;
}
- if (this->actionTimer == 0 && Rand_ZeroOne() < 0.03f) {
+ if (GameInteractor_Should(VB_DAMPE_DROP_FLAME, this->actionTimer == 0 && Rand_ZeroOne() < 0.03f, this)) {
this->actionTimer = 32;
if (this->pathIndex < 23) {
speed = Rand_ZeroOne() * 3.0f;