summaryrefslogtreecommitdiff
path: root/src/bossMegaGoomba.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bossMegaGoomba.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/bossMegaGoomba.cpp b/src/bossMegaGoomba.cpp
index e67caac..448c543 100644
--- a/src/bossMegaGoomba.cpp
+++ b/src/bossMegaGoomba.cpp
@@ -65,6 +65,8 @@ class daMegaGoomba_c : public dEn_c {
void stunPlayers();
void unstunPlayers();
+ bool hackOfTheCentury;
+
bool playerStunned[4];
void removeMyActivePhysics();
@@ -349,13 +351,6 @@ void daMegaGoomba_c::setupCollision() {
this->pos_delta2.y = 16.0;
this->pos_delta2.z = 0.0;
- this->spriteSomeRectX = 32.0;
- this->spriteSomeRectY = 32.0;
- this->_320 = 0.0;
- this->_324 = 16.0;
- this->_328 = 80.0;
- this->_32C = 256.0;
-
this->pos.z = (foo == 0) ? 1500.0 : -2500.0;
this->_518 = 2;
@@ -419,7 +414,11 @@ int daMegaGoomba_c::onDelete() {
int daMegaGoomba_c::onExecute() {
//80033450
acState.execute();
- checkZoneBoundaries(0);
+ if (!hackOfTheCentury) {
+ hackOfTheCentury = true;
+ } else {
+ checkZoneBoundaries(0);
+ }
updateModelMatrices();
return true;
@@ -632,7 +631,9 @@ void daMegaGoomba_c::dieOther_End() {
void daMegaGoomba_c::dieOther_Execute() {
bodyModel._vf1C();
- if (counter_500 == 0)
+ if (counter_500 == 0) {
+ SpawnEffect("Wm_ob_icebreaksmk", 0, &pos, &(S16Vec){0,0,0}, &(Vec){5.0f, 5.0f, 5.0f});
Delete(1);
+ }
}