summaryrefslogtreecommitdiff
path: root/src/bossBridgeBowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bossBridgeBowser.cpp')
-rw-r--r--src/bossBridgeBowser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bossBridgeBowser.cpp b/src/bossBridgeBowser.cpp
index 9663882..d4bda5d 100644
--- a/src/bossBridgeBowser.cpp
+++ b/src/bossBridgeBowser.cpp
@@ -17,12 +17,16 @@ extern "C" void *BowserDamageEnd(dEn_c *);
int HP = 2;
int lastBomb = 0;
+extern bool HackyBombDropVariable;
+
void BowserDoomSpriteCollision(dEn_c *bowser, ActivePhysics *apThis, ActivePhysics *apOther) {
// If you collide with something or other, call the fireball collision
if (apOther->owner->name == 674) {
if (lastBomb == apOther->owner->id) { return; }
+ if (!HackyBombDropVariable) return;
+ HackyBombDropVariable = false;
// void * bowserClass = (void*)(((u32)bowser) + 0x5F8);
// int HP = *(int*)(((u32)bowserClass) + 4);