Dynamic Gravity (CTGP 200cc) [JoshuaMK]
#1
Dynamic Gravity (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.



(NTSC-U)
C25801FC 00000002
3D808142 D00300F4
D00C0800 00000000
C2590400 00000007
3D608142 3C804088
908B0804 C14B0804
C1AB0800 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000

(PAL)
C2586A20 00000002
3D808142 D00300F4
D00C0800 00000000
C2596C24 00000007
3D608142 3C804088
908B0804 C14B0804
C1AB0800 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000

(NTSC-J)
C25863A0 00000002
3D808142 D00300F4
D00C0800 00000000
C25965A4 00000007
3D608142 3C804088
908B0804 C14B0804
C1AB0800 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000

(NTSC-K)
C2574A78 00000002
3D808142 D00300F4
D00C0800 00000000
C2584C7C 00000007
3D608142 3C804088
908B0804 C14B0804
C1AB0800 EDAD02B2
C03F0000 FD400890
EC21682A FF815040
409C0008 FC205090
60000000 00000000



#ASM

#~~~~~~~~~~~~#
#Inject > 805801FC#
#~~~~~~~~~~~#

lis r12, 0x8142
stfs f0, 0x00F4 (r3)
stfs f0, 0x0800 (r12)

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

lis r11, 0x8142
lis r4, 0x4088
stw r4, 0x0804 (r11)
lfs f10, 0x0804 (r11)
lfs f13, 0x0800 (r11)
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
Code Contributors: Hamster35000vr (Gravity Float Address)
(10-14-2019, 11:55 PM)Vega Wrote: Was lucky enough to be one of few to learn proper ASM. Now I just post random garbage on Make it to a 1000 thread.
Was lucky enough to be one of few to learn proper ASM. Now I'm writing codes that I hope amaze!  Tongue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)