Dynamic Gravity v1.1 (GCN) [JoshuaMK] - Printable Version +- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com) +-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51) +--- Forum: Incomplete & Outdated Codes (https://mariokartwii.com/forumdisplay.php?fid=60) +--- Thread: Dynamic Gravity v1.1 (GCN) [JoshuaMK] (/showthread.php?tid=1286) |
Dynamic Gravity v1.1 (GCN) [JoshuaMK] - JoshuaMK - 09-19-2019 Dynamic Gravity v1.1 (GCN) [JoshuaMK] NOTE: Outdated by newer version. This version takes your analog input and adds it onto the gravity float, meaning this is far more fluent/precise than the original. It also allows the code to be almost half the length it used to be. X and Y values simply determine how drastic the gravity changes are. This code affects CPUs too. (NTSC-U) C2576FC0 00000002 901D0218 3D808142 900C0200 00000000 C2590400 0000000B 3D808034 618CC203 3D608142 3C803F80 908B0204 808B0200 2C04001E 41800034 898C0000 398CFF78 38A0000X 28050001 41820010 38A0000Y 7D8C2BD6 48000008 1D8C000Y A0AB0204 7CA56214 B0AB0204 C02B0204 00000000 (PAL) C257D824 00000002 901D0218 3D808142 900C0200 00000000 C2596C24 0000000B 3D808034 618CC203 3D608142 3C803F80 908B0204 808B0200 2C04001E 41800034 898C0000 398CFF78 38A0000X 28050001 41820010 38A0000Y 7D8C2BD6 48000008 1D8C000Y A0AB0204 7CA56214 B0AB0204 C02B0204 00000000 (NTSC-J) C257D1A4 00000002 901D0218 3D808142 900C0200 00000000 C25965A4 0000000B 3D808034 618CC203 3D608142 3C803F80 908B0204 808B0200 2C04001E 41800034 898C0000 398CFF78 38A0000X 28050001 41820010 38A0000Y 7D8C2BD6 48000008 1D8C000Y A0AB0204 7CA56214 B0AB0204 C02B0204 00000000 (NTSC-K) C256B87C 00000002 901D0218 3D808142 900C0200 00000000 C2584C7C 0000000B 3D808034 618CC203 3D608142 3C803F80 908B0204 808B0200 2C04001E 41800034 898C0000 398CFF78 38A0000X 28050001 41820010 38A0000Y 7D8C2BD6 48000008 1D8C000Y A0AB0204 7CA56214 B0AB0204 C02B0204 00000000 Guide X = 0/1 (0 = Divide, 1 = Multiply) Y = 1 to 9 (How much to multiply/divide by) It is recommended to do X = 0, Y = 2, to achieve something that feels the most like CTGP's. #~~~~~~~~~~~~~~~~~# #Inject > 80576FC0# #~~~~~~~~~~~~~~~~~# stw r0, 0x0218 (r29) lis r12, 0x8142 stw r0, 0x0200 (r12) #~~~~~~~~~~~~~~~~~# #Inject > 80590400# #~~~~~~~~~~~~~~~~~# lis r12, 0x8034 ori r12, r12, 0xC203 lis r11, 0x8142 lis r4, 0x3F80 stw r4, 0x0204 (r11) lwz r4, 0x0200 (r11) cmpwi r4, 30 blt skip_gravity_mod lbz r12, 0 (r12) subi r12, r12, 0x88 li r5, X cmplwi r5, 1 beq multiply li r5, Y divw r12, r12, r5 b maths multiply: mulli r12, r12, Y maths: lhz r5, 0x0204 (r11) add r5, r5, r12 sth r5, 0x0204 (r11) skip_gravity_mod: lfs f1, 0x0204 (r11) Code Creator: JoshuaMK Code Contributors: Hamster35000vr (Gravity Address) |