summaryrefslogtreecommitdiff
path: root/src/bossBridgeBowser.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-12 02:20:23 +0100
committerTreeki <treeki@gmail.com>2013-02-12 02:20:23 +0100
commit629307bf47f6b7097128352999bd789cfeb93402 (patch)
treefde3b412a563a1768a38de7936a751b45dc9fe2e /src/bossBridgeBowser.cpp
parentbcedcedeba831e4b5199303ccbf565a0f1be170f (diff)
downloadkamek-629307bf47f6b7097128352999bd789cfeb93402.tar.gz
kamek-629307bf47f6b7097128352999bd789cfeb93402.zip
lotsa fixes and updates to the final battle
Diffstat (limited to '')
-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);