I've recently been making my own codes for mario kart ds, and i wanted to use an "if" block to make one of my codes.
However, my code uses a pointer, and for some reason using the offset in the "if" line won't work! if i use a normal address it works ok, but not for an offset.
I also tried using the 9 type code aswell but it gave the same result.
Can anyone help?
Also heres the code:
6217BC4C 00000000
B217BC4C 00000000
5000002C 00000002 <if line
0000002C 0000000C <code that should run when if above statement is true
D0000000 00000000
D2000000 00000000
However, my code uses a pointer, and for some reason using the offset in the "if" line won't work! if i use a normal address it works ok, but not for an offset.
I also tried using the 9 type code aswell but it gave the same result.
Can anyone help?
Also heres the code:
6217BC4C 00000000
B217BC4C 00000000
5000002C 00000002 <if line
0000002C 0000000C <code that should run when if above statement is true
D0000000 00000000
D2000000 00000000

Comment