diff options
Diffstat (limited to 'src/shyguyGiants.cpp')
-rw-r--r-- | src/shyguyGiants.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/shyguyGiants.cpp b/src/shyguyGiants.cpp index 133610e..c4d7a77 100644 --- a/src/shyguyGiants.cpp +++ b/src/shyguyGiants.cpp @@ -183,7 +183,14 @@ daShyGuyGiant *daShyGuyGiant::build() { void daShyGuyGiant::collisionCat11_PipeCannon(ActivePhysics *apThis, ActivePhysics *apOther){ } void daShyGuyGiant::collisionCat13_Hammer(ActivePhysics *apThis, ActivePhysics *apOther) { } void daShyGuyGiant::collisionCat3_StarPower(ActivePhysics *apThis, ActivePhysics *apOther){ - dAcPy_vf3F8(apOther->owner, this, 3); + int hitType = usedForDeterminingStatePress_or_playerCollision(this, apThis, apOther, 0); + if (hitType == 1 || hitType == 3) { + PlaySound(this, SE_EMY_CMN_STEP); + bouncePlayerWhenJumpedOn(apOther->owner); + } else { + dAcPy_vf3F8(apOther->owner, this, 3); + } + this->counter_504[apOther->owner->which_player] = 0xA; } |