summaryrefslogtreecommitdiff
path: root/src/bossFuzzyBear.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-09 13:54:17 -0600
committerColin Noga <Tempus@chronometry.ca>2012-03-09 13:54:17 -0600
commit6ddd772d6546758a2602a934a6b385757b77b48e (patch)
tree81e01b4361dd5e95caf76e263cead9d408e26c61 /src/bossFuzzyBear.cpp
parentd8eecb8815c3dc566f13c536f0a9cae4de752b45 (diff)
downloadkamek-6ddd772d6546758a2602a934a6b385757b77b48e.tar.gz
kamek-6ddd772d6546758a2602a934a6b385757b77b48e.zip
Bosses working once again - now slimmer and prettier than ever
Diffstat (limited to '')
-rw-r--r--src/bossFuzzyBear.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bossFuzzyBear.cpp b/src/bossFuzzyBear.cpp
index 8eaba1d..1661a29 100644
--- a/src/bossFuzzyBear.cpp
+++ b/src/bossFuzzyBear.cpp
@@ -699,7 +699,9 @@ void daFuzzyBear_c::beginState_Outro() {
void daFuzzyBear_c::executeState_Outro() {
if (this->dying == 1) {
- if (this->timer > 180) { ExitStage(WORLD_MAP, 0, BEAT_LEVEL, MARIO_WIPE); }
+ if (this->timer > 180) {
+ ExitStage(WORLD_MAP, 0, BEAT_LEVEL, MARIO_WIPE);
+ }
if (this->timer == 60) { PlayerVictoryCries(this); }
this->timer += 1;
@@ -709,7 +711,11 @@ void daFuzzyBear_c::executeState_Outro() {
bool ret;
ret = ShrinkBoss(this, &this->pos, 2.75, this->timer);
- if (ret) { BossExplode(this, &this->pos); }
+ if (ret == true) {
+ BossExplode(this, &this->pos);
+ this->dying = 1;
+ this->timer = 0;
+ }
this->timer += 1;