8018fe68 IsOnGround__25eSimulatedBipedC rlwinm. r0, r0, 0, 31, 31 (00000001) [0x1 on the ground; 0x0 not on the ground]
Ye bit 31 is the IsGround bit.
You should try fiddling with the other bits and see what they do. Be sure to restore back to 0x1A0 (r3) if so.
I would try messing with bits 28 thru 30. They appear to go high when you're on the ground.
Could try something like....
And have it button activated
0418fe68 540007FF
28675572 00000100
C218FE68 00000002
540C07F6 B18301A0
540007FF 00000000
E0000000 80008000
Ye bit 31 is the IsGround bit.
- High = Yes
- Low = No
You should try fiddling with the other bits and see what they do. Be sure to restore back to 0x1A0 (r3) if so.
I would try messing with bits 28 thru 30. They appear to go high when you're on the ground.
Could try something like....
Code:
#Address = 8018fe68
#Set bits 28 thru 30 low and store updated value back to memory, let's see what happens
rlwinm r12, r0, 0, 31, 27
sth r12, 0x1A0 (r3)
#Orignal Instruction (extract IsGround bit and set CR)
rlwinm. r0, r0, 0, 31, 31 #clrlwi. r0, r0, 31
And have it button activated
0418fe68 540007FF
28675572 00000100
C218FE68 00000002
540C07F6 B18301A0
540007FF 00000000
E0000000 80008000