Results 1 to 9 of 9

Thread: Animal Crossing: Wild World Seed Blocker [U 1.0] [AR]

  1. #1

    Default Animal Crossing: Wild World Seed Blocker [U 1.0] [AR]

    Found this in some old notes of mine:

    Code:
    E2000500 00000024
    4B058821 DB034299
    42994B04 8001DA00
    1C082101 47184B02
    00001000 00005000
    02037599 00000000
    02037590 47084900
    02037594 02000501
    No idea if it works online (or at all). If you test it, post the results here.

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

    Default

    If this works you basically just showed how much of a noob I still am >_< I'll test it XD
    Always willing to help with anything, code-related or not. :]

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

    Default

    It works At least I think so.
    I dropped a town hall seed and it didn't drop it.

    EDIT:
    But after you drop a seed you can't drop any other items.
    I'm guessing because it alters the instructions and they don't get changed back?

    EDIT again:
    Oh wait it doesn't let you drop any items at all XD
    Always willing to help with anything, code-related or not. :]

  4. #4

    Default

    Did you test it in no$gba by chance?

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

    Default

    I tested it on the actual game.
    Actually it might work...
    I tried dropping roses, and if I can read your code correctly..
    Checks if less than 1000, or greater than 5000

    so it might have caused a false positive

    Oh wait nevermind >.< sorry im tired XD
    Always willing to help with anything, code-related or not. :]

  6. #6

    Default

    Yeah, if the item is <$1000 or >=$5000 then it's blocked.

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

    Default

    I retested it. It works just like you said
    But you can't pick up any items now.
    Always willing to help with anything, code-related or not. :]

  8. #8

    Default

    Just tried it on a flash cart. I can pickup items, but they are not removed from the world since $FFF1 is > $5000.

    Edit: I could implement a check for $FFF1, if requested.

    Edit 2: I suppose you could say this code also prevents thieves.

    When I get some time, I'll fix up the code and port it to 1.1 and EU (if it's not already working).

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

    Default

    Late post, but....
    I thought this would be helpful for anyone trying to understand Virus's code (like Demonic, maybe?)
    Code:
    ldrh r1, [r4]
    ldrh r3, =0x1000
    cmp r1, r3
    blt DoNotStore  @so we can't store trees/rocks/etc
    ldrh r3, =0x5000
    cmp r1, r3
    bge DoNotStore  @so we can't store buildings/etc
    strh r1, [r0]
    DoNotStore:
    @replace the instructions we've overwritten
    mov r1, #0x1
    mov r0, r1
    @now return
    ldr r3,=0x2037599
    bx r3
    
    
    (modify instruction at store point in debugger code)
    @this will let us branch to our own ASM code
    ldr r1, =0x2000501
    bx r1
    Also, here's a better version. This one is the same length, but allows you to pick up items, dig holes, plant flowers, drop patterns, but not drop rocks/buildings
    /bricks/etc...it also prevents your buildings from being removed.
    Code:
    E2000500 00000028
    0B098801 D00A2905
    0B0C8821 D0062C05
    D004291B DD0129D2
    DB0029FC 20018001
    47184B00 02037599
    02037590 47084900
    02037594 02000501
    Last edited by dragonboy269; 04-26-2011 at 12:03 PM.
    Always willing to help with anything, code-related or not. :]

Posting Permissions

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