Mario Kart Wii Gecko Codes, Cheats, & Hacks
Dynamic Gravity v3.1 [JoshuaMK] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Offline Non-Item (https://mariokartwii.com/forumdisplay.php?fid=53)
+--- Thread: Dynamic Gravity v3.1 [JoshuaMK] (/showthread.php?tid=1416)



Dynamic Gravity v3.1 [JoshuaMK] - JoshuaMK - 01-08-2020

Dynamic Gravity v3.1 [JoshuaMK]

This is the final update to Dynamic Gravity/Fast Falling, which fixes a de-sync bug when racing ghosts, and also shortens the code to almost half of the length of v2.0.

EDIT: v3.1 released, which fixes the bug of mega mushrooms and stars lasting forever.



(NTSC-U)
C2590400 00000005
48000009 GRAVITY
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 EC21682A
60000000 00000000

(PAL)
C2596C24 00000005
48000009 GRAVITY
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 EC21682A
60000000 00000000

(NTSC-J)
C25965A4 00000005
48000009 GRAVITY
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 EC21682A
60000000 00000000

(NTSC-K)
C2584C7C 00000005
48000009 GRAVITY
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 EC21682A
60000000 00000000



GRAVITY = Gravity Multiplier (Recommended value = 40240000 // Values higher than 40480000 WILL cause unwanted side effects)



#~~~~~~~~~~~#
#Inject > 80590400#
#~~~~~~~~~~~#

.set GRAVITY, 0x40240000

bl float

.long GRAVITY

float:
mflr r12
lfs f10, 0 (r12)
lfs f13, -0x70 (r3)
fmuls f13, f13, f10
lfs f1, 0 (r31)
fadds f1, f1, f13



Code Creator: JoshuaMK  Heart
Code Contributors: Hamster35000vr (Gravity Float Address)