Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 69

Thread: I've started trying ASM finally

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

    Default

    Quote Originally Posted by Maniac View Post
    Perhaps you should have it store the item into the first open slot. Even though I've already done this for some unreleased code it should be good practice.
    I'll try that next I'll look it over

  2. #32
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default

    Alright, good luck and as always if you have questions feel free to ask.

    Say what you mean, mean what you say, and let your actions speak for you.


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

    Default

    Nevermind, I think I understand how. I'll try it now (thanks to your brick seed removal code XD)
    Last edited by dragonboy269; 01-18-2009 at 03:47 PM.

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

    Default

    Well, loops are confusing but once I learn these I'll be able to make more complicated codes. Anyway, he is the source that I have. It freezes DX
    Any help?
    Code:
    removed
    Last edited by dragonboy269; 04-28-2009 at 06:18 PM.

  5. #35
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default

    Code:
    ldr r1, slot
    add r2, r1, #0x28
    ldrh r0, pitfall
    ldrh r3, check
    
    Loop:
    cmp r1, r2
    bge End <----
    ldrh r4, [r1]
    cmp r4, r3
    beq Store
    add r1, r1, #0x2
    b loop
    
    Store:
    strh r0, [r1]
    End:
    bx lr
    
    slot:
    .long 0x21D88FE
    check:
    .short 0xFFF1
    pitfall:
    .short 0x1566
    May help.

    Say what you mean, mean what you say, and let your actions speak for you.


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

    Default

    Quote Originally Posted by Maniac View Post
    Code:
    ldr r1, slot
    add r2, r1, #0x28
    ldrh r0, pitfall
    ldrh r3, check
    
    Loop:
    cmp r1, r2
    bge End <----
    ldrh r4, [r1]
    cmp r4, r3
    beq Store
    add r1, r1, #0x2
    b loop
    
    Store:
    strh r0, [r1]
    End:
    bx lr
    
    slot:
    .long 0x21D88FE
    check:
    .short 0xFFF1
    pitfall:
    .short 0x1566
    May help.
    It didn't help, it still freezes 0_o

  7. #37
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default

    I never said it would fix it >__>

    Say what you mean, mean what you say, and let your actions speak for you.


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

    Default

    Quote Originally Posted by Maniac View Post
    I never said it would fix it >__>
    Well, I'll try a few other codes and then try that again.
    Here's a simple duplication code:
    Code:
    removed
    I know it can be done without ASM but I don't care XD
    Last edited by dragonboy269; 04-28-2009 at 06:18 PM.

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

    Default

    I made another simple code, for a game called NinjaTown. My friend asked me to make an "infinite health" code but I had a better idea I made a "press L+R to restore health" code. I forgot where I put my source though >_> but it's simple. I only have it working for one Ninja right now, because I didn't play long enough to find each Ninja's address (or the difference between them, if they go by 2 or 4 or more)

    Code:
    removed
    Last edited by dragonboy269; 04-28-2009 at 06:18 PM.

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

    Default

    (sorry for triple post, if you want me to post all my codes in one post then tell me and I'll start doing that)
    I made a text activated code now Type "fa" and send it to put a bag of 99k bells in your first inventory slot.
    Code:
    removed
    Last edited by dragonboy269; 04-28-2009 at 06:19 PM. Reason: added new code

Posting Permissions

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