Trouble replacing 8bit values with gateshark

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by onepiecefreak, Dec 28, 2015.

  1. onepiecefreak
    OP

    onepiecefreak The Special One

    Member
    381
    129
    Aug 12, 2015
    Germany
    Hey,

    I have a little problem.
    I now create some codes for Legend of Zelda Ocarina of Time 3D EUR. If you now want to refill your magic bar (address 0058799F) then you have to write a code like this:
    0058799F 00000060

    But now comes the problem. At address 005879A0 is the value for the ruppees written. If I use the code above it will overwrite address 0058799F with 60 and the next 3 with 00. That means you refill your magic, but set your ruppees on 0.

    The question is: How can I only set the value of address 0058799F and don't influence the values after it?
     
  2. dsrules

    dsrules GBAtemp Psycho!

    Member
    3,611
    499
    Sep 20, 2005
    read the .txt file that comes with 3.6 to see which codetype it supports
    as for your question, 8 bit write starts with 2xxxxxxxx
    2058799F 00000060
     
  3. onepiecefreak
    OP

    onepiecefreak The Special One

    Member
    381
    129
    Aug 12, 2015
    Germany
    Oh, that what it means. I readed it but can't really get the meaning of it. But thx.