diff options
| author | Treeki <treeki@gmail.com> | 2012-12-08 04:48:21 +0100 | 
|---|---|---|
| committer | Treeki <treeki@gmail.com> | 2012-12-08 04:48:21 +0100 | 
| commit | e7801309b3862b052e6cb43946fea889cd297cd9 (patch) | |
| tree | c8440795e60670535ccb6cc7bdb25307a96f774d /src | |
| parent | 25036071a20ed6d8e343818cfb8f87eddcb4dd75 (diff) | |
| download | kamek-e7801309b3862b052e6cb43946fea889cd297cd9.tar.gz kamek-e7801309b3862b052e6cb43946fea889cd297cd9.zip | |
I will hate the gigoomba until the day I die
Diffstat (limited to '')
| -rw-r--r-- | src/bossMegaGoomba.cpp | 19 | 
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); +	}  } | 
