summaryrefslogtreecommitdiff
path: root/src/shyguy.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shyguy.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp
index 1e89a8a..5a5dc8d 100644
--- a/src/shyguy.cpp
+++ b/src/shyguy.cpp
@@ -154,7 +154,6 @@ daShyGuy *daShyGuy::build() {
extern "C" int SmoothRotation(short* rot, u16 amt, int unk2);
// extern "C" void addToList(StandOnTopCollider *self);
-
CREATE_STATE(daShyGuy, Walk);
CREATE_STATE(daShyGuy, Turn);
CREATE_STATE(daShyGuy, RealWalk);
@@ -297,6 +296,7 @@ daShyGuy *daShyGuy::build() {
return this->collisionCatD_Drill(apThis, apOther);
}
bool daShyGuy::collisionCat13_Hammer(ActivePhysics *apThis, ActivePhysics *apOther) {
+ StageE4::instance->spawnCoinJump(pos, 0, 2, 0);
return this->collisionCatD_Drill(apThis, apOther);
}
@@ -324,8 +324,8 @@ daShyGuy *daShyGuy::build() {
stateVar = &StateID_FireKnockBack;
}
else {
+ StageE4::instance->spawnCoinJump(pos, 0, 1, 0);
doStateChange(&StateID_DieSmoke);
- this->_vf14C();
}
}
else { // Ballooneers
@@ -335,8 +335,8 @@ daShyGuy *daShyGuy::build() {
if (this->damage > 1) {
nw4r::snd::SoundHandle handle;
PlaySoundWithFunctionB4(SoundRelatedClass, &handle, SE_EMY_DOWN, 1);
+ StageE4::instance->spawnCoinJump(pos, 0, 1, 0);
doStateChange(&StateID_DieSmoke);
- this->_vf14C();
}
else {
nw4r::snd::SoundHandle handle;
@@ -457,6 +457,7 @@ int daShyGuy::onCreate() {
allocator.link(-1, GameHeaps[0], 0, 0x20);
+ this->deleteForever = 1;
// Balloon Specifics
if (type == 6 || type == 7 || type == 8) {