Dynamic Gravity v3.1 (CTGP 200cc) [JoshuaMK]
#1
Dynamic Gravity v3.1 (CTGP 200cc) [JoshuaMK]

A modded Dynamic Gravity code made to work as closely to CTGP's dynamic gravity as possible. Only real difference is with this code, you can't cheese blue shells by abusing the gravity, which in my opinion makes this code superior to the one in CTGP.

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

IT IS RECOMMENDED TO USE THE TERMINAL VELOCITY CODE HERE ALONG WITH THIS ONE. SET "TERMINAL" TO 3FC00000: https://mkwii.com/showthread.php?tid=1512



(NTSC-U)
C2590400 00000007
48000009 40240000
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000

(PAL)
C2596C24 00000007
48000009 40240000
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000

(NTSC-J)
C25965A4 00000007
48000009 40240000
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000

(NTSC-K)
C2584C7C 00000007
48000009 40240000
7D8802A6 C14C0000
C1A3FF90 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000



#~~~~~~~~~~~~#
#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)
fmr f10, f1
fadds f1, f1, f13
fcmpo cr7, f1, f10
bge cr7, the_end
fmr f1, f10
the_end:



Code Creator: JoshuaMK  Heart 
Code Contributors: Hamster35000vr (Gravity Float Address)
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply


Messages In This Thread
Dynamic Gravity v3.1 (CTGP 200cc) [JoshuaMK] - by JoshuaMK - 01-08-2020, 02:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)