ROM Hack [Release] Animal Crossing New Leaf Multi Cheat NTR Plugin

  • Thread starter Thread starter RyDog
  • Start date Start date
  • Views Views 1,244,988
  • Replies Replies 4,613
  • Likes Likes 77
There's no "radio button" as you think since there's no button at all, but you can use the disableCheat function.
Code:
void    disableCheat(int index);
index is the position in the menu knowing that it's starting at the position 2.

Exemple:
Code:
new_unselectable_entry("ACNL NTR Cheats Ver 2.0.1 USA"); //<-- index = 2
    spoiler = new_spoiler("Enviroment Codes"); //<-- index = 3
        new_spoiled_entry(spoiler, "Water all flowers", quench_usa); //<-- index = 4
        new_spoiled_entry(spoiler, "Seeder", search_usa); //<-- index = 5
        new_spoiled_entry(spoiler, "Destroyer", destroy_usa); //<-- index = 6

So if I want to disable the seeder cheats:
Code:
void cheats(void)
{
        //doing some things
        disableCheat(5);
}
Ok I get it
So basically I would do this?
Code:
//Nook Upgrades

void    nook1_usa(void)
{
    WRITEU16(0x160146E0, 0x1010);
    disableCheat(21);
    disableCheat(22);
    disableCheat(23);
}

void    nook2_usa(void)
{
    WRITEU16(0x160146E0, 0x2020);   
    disableCheat(20);
    disableCheat(22);
    disableCheat(23);
}

void    nook3_usa(void)
{
    WRITEU16(0x160146E0, 0x3030);
    disableCheat(20);
    disableCheat(21);
    disableCheat(23);
}

void    nook4_usa(void)
{
    WRITEU16(0x160146E0, 0x4040);
    disableCheat(20);
    disableCheat(21);
    disableCheat(22);
}
Code:
void    usa_menu(void)
{
    t_spoil spoiler;

    new_unselectable_entry("ACNL NTR Cheats Ver 2.1 USA");
    spoiler = new_spoiler("Enviroment Codes");
        new_spoiled_entry(spoiler, "Water all flowers", quench_usa);
        new_spoiled_entry(spoiler, "Seeder", seed_usa);
        new_spoiled_entry(spoiler, "Search and Replace", search_usa);
        new_spoiled_entry(spoiler, "Grass", grass_usa);
        new_spoiled_entry(spoiler, "Desert", desert_usa);
        new_spoiled_entry(spoiler, "Remove all weeds", weeder_usa);
        new_spoiled_entry(spoiler, "Instant Tree", tree_usa);
    spoiler = new_spoiler("Inventory Codes");
        new_spoiled_entry(spoiler, "Text to Item", text2item_usa);
        new_spoiled_entry(spoiler, "Duplication", duplicate_usa);
    spoiler = new_spoiler("Movement Codes");
        new_spoiled_entry(spoiler, "Moon Jump", moonjump_usa);
        new_spoiled_entry(spoiler, "Teleport", teleport_usa);
        new_spoiled_entry(spoiler, "Coordinates Modifier", coord_usa);
        new_spoiled_entry(spoiler, "Speed Hack", speed_usa);
    spoiler = new_spoiler("Nookling Upgrades");
        new_spoiled_entry(spoiler, "T&T Mart", nook1_usa);
        new_spoiled_entry(spoiler, "Super T&T", nook2_usa);
        new_spoiled_entry(spoiler, "T.I.Y", nook3_usa);
        new_spoiled_entry(spoiler, "T&T Emporium", nook4_usa);//index 23
}
and the index are relative to the menu, like USA and EUR have the same index for their position in their function?
 
Using the code above it only shuts off codes that are above;
For example
if 23 is enabled, and you select 22, 21 or 20 it will turn off 23
if 22 is enabled, it will only work for 21 and 20
if 21 is enabled, it will only work for 20 and when 20 is enabled it won't shut off anything... maybe I should change the order?
 
2.1 is almost ready guys... I've been working on it all night :)
just tweaking the coordinates modifier (again) and it will be ready :yay3ds:
 
  • Like
Reactions: Deleted User
2.1 Released: (on this site this time)
-Using @Nanquitas new library for a lot more pleasant look and advanced code selection. (More cheat entries and spoilers!)
-Added Search and Replace
-Added more teleport locations to store
-Added keypresses for grass, desert and water flowers code
-Added Nook upgrades (be careful using these)
-Added Player 1 max tan
-More tweaks if I didn't list them
-Press Select to access cheat menu from now on
 
2.1 Released: (on this site this time)

Doesn't matter for me, I have to switch some button triggers around because L is broken on my 3DS so I have to use the source anyway. :P
EDIT: Also, the game only softlocks in the cheat menu when outside. It messes the acres up. So go into a house while changing cheats and you SHOULD be fine.
 
Last edited by herolarcio,
  • Like
Reactions: Deleted User
I can, but Mega-Mew's code is once you press B it instantly sets the player's velocity to 0x41A79DB3.... which looks weird if you're not moving.
Would you like it to be just like Mega-Mew's code?

or would you like me to change it so it recognizes that your player is moving?

well, it's easy to fix
 
  • Like
Reactions: Deleted User
Can the Japanese version of the ANCL Multi Cheat?
I'm working on Japanese now. Expect a release to be released by the end of the week.
well, it's easy to fix
Yes, I fixed it. I made it so if velocity != 0 then add the value 0x00100000 gradually to velocity so it gives it a more realistic running feel. Also made it so it caps at 0x41A79DB3.
Aww man, it's too bad you can't spawn trees/rocks in other people's towns online ( ͡° ͜ʖ ͡° )
It could be possible.... But I don't know how well cheat protection is for ACNL. I found out that the inventory is at a different offset when you're online, so I just got to find the offset.
 
It could be possible.... But I don't know how well cheat protection is for ACNL. I found out that the inventory is at a different offset when you're online, so I just got to find the offset.
You'd be responsible for the return of the infamous "rock seeding" from ACWW, (where hackers place rocks to block the people in town from entering/exiting the town gate (station in NL) or the town hall, essentially making your town useless) so I advise not fixing the seeder or search and replace online for that very reason.
Text to item is harmless though since ACNL removes invalid items from the inventory automatically, in fact I'd LOVE that online offset to be added to the code.
 
  • Like
Reactions: Deleted User
You'd be responsible for the return of the infamous "rock seeding" from ACWW, (where hackers place rocks to block the people in town from entering/exiting the town gate (station in NL) or the town hall, essentially making your town useless) so I advise not fixing the seeder or search and replace online for that very reason.
Text to item is harmless though since ACNL removes invalid items from the inventory automatically, in fact I'd LOVE that online offset to be added to the code.
I don't think seeder is possible online anyways. ACWW and AC: population growing, all items were available to put in your pocket essentially making it possible for rocks, trees, etc. being carried over to someone else's town. Nintendo patched that in ACCF, I believe... since you're not able to pocket those items.
I think all RAM is untouchable when you visit someone else's town so you can't mess with their town.
What concerns me is what is available to us when there is a visitor. I bet that it's saved in RAM, and you could potentially edit a visitor's inventory.
My hypothesis has not been proven, but I'd like to test it out for shits and giggles when I get a new 3ds.
 
It would be quite interesting if you could edit others' inventories.
But even then it could be used malaciously. ("Oh you got a golden axe? WELL FUCK YOU!" *deletes the axe from their inventory*)
 
Nintendo patched that in ACCF, I believe...
48ir9Bd.gif
Fun fact, code for trees is 0026 as it is in NL. :P
 
Using the code above it only shuts off codes that are above;
For example
if 23 is enabled, and you select 22, 21 or 20 it will turn off 23
if 22 is enabled, it will only work for 21 and 20
if 21 is enabled, it will only work for 20 and when 20 is enabled it won't shut off anything... maybe I should change the order?
Oh yeah... It's because of the order the cheats are done.
The cheats are executed from the index 2 to the last entry, so it'll cause problem...
I'll think of a solution. ;)
 
  • Like
Reactions: RyDog
How come Nookling Junction is missing from the store list?
The convince store is 0x0101 and the next upgrade is 0x0202, but if you do 0x0000, it completely deletes Nooklings and will either crash or corrupt your save.

--------------------- MERGED ---------------------------

48ir9Bd.gif
Fun fact, code for trees is 0026 as it is in NL. :P
Huh, I thought that didnt work because t2i refused you to put that in your inventory
 

Site & Scene News

Popular threads in this forum