After messing with Codebreaker IF STATEMENTS, I realized something. It's using 16BIT for the If statements... and this is causing me major issues (might just go back to debugging, as I did manage to create some codes).
03004300 = Mario's Power-Up State Address
03004301 = Item Reserve Address
If Mario has no power up, Give him a cape. "THIS WORKS", if there is "No Item Reserve".
73004300 0000
33004300 0002
If there's an item in reserve, 73004300 does not Equal 0, but instead it equals 000x (x, being whatever is in the reserve. PS. might be 0x00 instead.. I forget the order).
If I could do an IF STATEMENT for only 8 bytes, this would not be an issue.
I run into the same problem, for the Level Timer, Coins (I think it's because Dragon Coins share the next byte over).
At this point, I feel like codebreaker is only meant for freezing values (Also sliding) & Joker Codes.
So, I might just go back to just freezing values, and go back to debugging.. as I had better luck with some debugging codes, once I learned the proper DIVIDE by 2 formula.
PS. Sorry, for the multiple daily topics. I'm also working on a SIMPLE tutorial.
Edit: Managed to make an infinite life & don't lose fire mario Action replax Max.. so I'm starting to get somewhere with the debugging part.
03004300 = Mario's Power-Up State Address
03004301 = Item Reserve Address
If Mario has no power up, Give him a cape. "THIS WORKS", if there is "No Item Reserve".
73004300 0000
33004300 0002
If there's an item in reserve, 73004300 does not Equal 0, but instead it equals 000x (x, being whatever is in the reserve. PS. might be 0x00 instead.. I forget the order).
If I could do an IF STATEMENT for only 8 bytes, this would not be an issue.
I run into the same problem, for the Level Timer, Coins (I think it's because Dragon Coins share the next byte over).
At this point, I feel like codebreaker is only meant for freezing values (Also sliding) & Joker Codes.
So, I might just go back to just freezing values, and go back to debugging.. as I had better luck with some debugging codes, once I learned the proper DIVIDE by 2 formula.
PS. Sorry, for the multiple daily topics. I'm also working on a SIMPLE tutorial.
Edit: Managed to make an infinite life & don't lose fire mario Action replax Max.. so I'm starting to get somewhere with the debugging part.
Last edited by gukingofheart,