Originally posted by OldSchoolGamer
View Post
Code:
if (Address == 6) //Our address is 9966 and our compare value is 06.
{
Address=7; //This would write 07 if the compare above were true.
{
else
{
//Do nothing and the value at that address would remain the same.
}
So in your example if 06 had not been at that address initially then the code would not have written 07 and basically you would see no effect in game because the code did not apply the new value. Remember this is just a safety precaution so that codes don't crash your game when used on different revisions of a game or when the game changes it's asm routines on the fly. And yes your conversion to game genie is correct "YAVPVPTA".
.
Leave a comment: