diff options
Diffstat (limited to '')
-rwxr-xr-x | src/growup.s | 19 |
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 |