summaryrefslogtreecommitdiff
path: root/src/growup.s
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-11-05 04:33:49 -0500
committerColin Noga <Tempus@Spectrum-Song.local>2011-11-05 04:33:49 -0500
commit681bc9516533561fc0d07f80f1b1a2df16e79060 (patch)
treee526328523c2ac7699bcbb4a6b79c70d826ad589 /src/growup.s
parentc274d2173da36069855b191b93c831c1ad9bcb2b (diff)
downloadkamek-681bc9516533561fc0d07f80f1b1a2df16e79060.tar.gz
kamek-681bc9516533561fc0d07f80f1b1a2df16e79060.zip
changes and junk
Diffstat (limited to '')
-rwxr-xr-xsrc/growup.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/growup.s b/src/growup.s
index 0576ebe..d7923ac 100755
--- a/src/growup.s
+++ b/src/growup.s
@@ -147,6 +147,12 @@ ModelNoChanges:
.global ModifyGlobalSizes
ModifyGlobalSizes:
+ # Go back if it's 60
+ lhz r10, 8(r3)
+ cmpwi r10, 60
+ beq ModelNoChanges
+
+
# Go back if SizerOn is 0 (off)
lis r10, SizerOn@h
ori r10, r10, SizerOn@l
@@ -235,6 +241,10 @@ ModifySpeedUpdatesB:
cmpwi r10, 0x12
blt SpeedUpdatesNoChangesB
+ # Go back if it's 60
+ cmpwi r10, 60
+ beq SpeedUpdatesNoChangesB
+
# Go back if SizerOn is 0 (off)
lis r10, SizerOn@h
ori r10, r10, SizerOn@l
@@ -318,6 +328,10 @@ ModifySpeedUpdatesA:
cmpwi r10, 0x12
blt SpeedUpdatesNoChangesA
+ # Go back if it's 60
+ cmpwi r10, 60
+ beq SpeedUpdatesNoChangesA
+
# Go back if SizerOn is 0 (off)
lis r10, SizerOn@h
ori r10, r10, SizerOn@l
@@ -458,6 +472,11 @@ CollisionNoChanges:
.global ModifyCollision
ModifyCollision:
+ # Go back if it's 60
+ lhz r10, 8(r4)
+ cmpwi r10, 60
+ beq CollisionNoChanges
+
# Go back if SizerOn is 0 (off)
lis r10, SizerOn@h
ori r10, r10, SizerOn@l