Results 1 to 2 of 2

Thread: I'm having a problem with a code I'm TRYING to make.

  1. #1

    Exclamation I'm having a problem with a code I'm TRYING to make.

    I'm trying to make a Item Duplication code that copies what's in Slot 1 to Slot 2. I properly should't try code type F but, I think, that's the codetype I should use to copy from slot 1 to slot 2

    D3000000 121D89FE
    F121D8800 ZZZZZZZ

    That's what I have so far. Anyway, I noticed in the wiki it says "ZZZZ is how many bytes to write" I've learned what bits are. Not bytes. I've tried messing round with that bit for awhile and it hasn't only reason why maybe it doesn't work is I've only tested it on my flashcart I havn't had time to edit my XML file and use NitroHax so, anyway. Noob Question... What are bytes and besides the ZZZZZZZZZ is there anything else wrong with my code?

    Thank you.
    Fatboy


  2. #2
    Member
    Join Date
    Aug 2008
    Location
    Arizona
    Posts
    1,073
    Blog Entries
    2

    Default

    Code:
    D3000000 021d88fe @set first inventory slot address as stored offset
    F21d8900 00000002 @copy 2 bytes from stored offset (slot 1) into slot 2
    1 byte = 2 digts = 8 bits
    2 byte = 4 digits = 16 bits
    etc


    Items are 16bit values, so
    you need to copy 2 bytes
    Oh and it'd help if you used an activator too

    I need to remake my text to AR code with this code type and a few more added

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •