I'm trying to follow a guide to give me infinite energy in castlevania 3.

http://www.angelfire.com/games2/codehut/AdvancedGGTips.txt

It says to do this.
Search for A5 aa ?? ?? ?? 85 aa.

Then change the 85 to A5 for infinite amount.
First, I did the mem write for $003C which shows
$828A 85 $sta 3C = 38
It says to change those values, but doesn't say how.
I also have a program called "gamegenie code converter" so I can convert the data to give me a gamegenie code.
I can easily find addresses and cheat that way but I also want to learn how to make a gamegenie code.
I get some of those symbols but what I haven't been able to do is to test anything.