summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hardMode.s2
-rw-r--r--src/shyguy.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/hardMode.s b/src/hardMode.s
index 95b6f80..aa51357 100644
--- a/src/hardMode.s
+++ b/src/hardMode.s
@@ -24,7 +24,7 @@ TimerAdjustments:
cmpwi r10, 0
beq NoTimerAdjust
- li r10, 300
+ li r10, 250
slwi r10, r10, 0xC
cmp r3, r10
blt NoTimerAdjust
diff --git a/src/shyguy.cpp b/src/shyguy.cpp
index 7e3889d..32928c0 100644
--- a/src/shyguy.cpp
+++ b/src/shyguy.cpp
@@ -491,7 +491,7 @@ int daShyGuy::onCreate() {
this->type = this->settings >> 28 & 0xF;
int baln = this->settings >> 24 & 0xF;
- // this->distance = this->settings >> 12 & 0xF;
+ this->distance = this->settings >> 12 & 0xF;
stillFalling = 0;
@@ -1375,6 +1375,9 @@ bool daShyGuy::willWalkOntoSuitableGround() {
SpawnEffect("Wm_en_explosion_ln", 0, &(Vec){this->pos.x, this->pos.y - 32.0, 0}, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0});
PlaySound(this, SE_PLY_BALLOON_BRAKE);
+ if (this->type != 8)
+ this-distance == 0;
+
type = 0;
}
void daShyGuy::executeState_BalloonDrop() {