For example my game genie code for Mario Bros 2 is E410:02?09
But if I try and use E410 in the code converter it doesn't work
console.log(encodeGG(0xE410, 0x09, 0x02))
outputs: PAOVAGZE (which does not work and is E418:02?09)
expected output: PAOTAGZE (which works and is E410:02?09)
For example my game genie code for Mario Bros 2 is E410:02?09
But if I try and use E410 in the code converter it doesn't work
console.log(encodeGG(0xE410, 0x09, 0x02)) outputs: PAOVAGZE (which does not work and is E418:02?09) expected output: PAOTAGZE (which works and is E410:02?09)
console.log(decodeGG(encodeGG(0xE410, 0x09, 0x02)).address, 0xE410) outputs 25624, 58384 expected outputs, 58384, 58384