Hacking ROM Hack Pokemon Legends Z-A Cheat Database

  • Thread starter Thread starter OblivionReign
  • Start date Start date
  • Views Views 1,073,425
  • Replies Replies 7,131
  • Likes Likes 85
Been Trying to figure out the corruption issue heres screen caps of the folder structure and heres my notes thus far.

From Test Info Doc

"Tests performed each time on a fresh save with all save data deleted. Each save is played til first pokemon center.


Test 1 Money Cheat No Effect Possible Cause. Result Not the cause

Test 2 Checking if jksv was the cause Result Not the cause

Test 3 Checking the Infinite item cheat used consistently in each instance of save corruption Result "

I'm hoping this helps find a fix. My testings ongoing. "
We've been able to establish that some of the early item cheats were causing save corruption because they were incrementing an item that didn't exist within the save data. It worked during gameplay just fine, but when the game went to write the data to save, it broke because it had 999 of nothing. If you already had the item you were cheating in, it was not a problem, but if you tried to cheat an item you hadn't found yet, it corrupted your save.

The 'No Item Decrease' cheat corrupts the save for a similar reason. It keeps the items count fixed, but doesn't prevent other actions that may happen when an item count reaches 0.

Item codes that look like this have been confirmed safe, as they first add the item to the internal inventory, then increment its value:
Code:
[990x Rare Candy]
580F0000 041F0A60
780F0000 00000338
640F0000 00000008 00000002
580F0000 041F0A60
780F0000 0000033C
640F0000 00000008 000003DE
 
  • Like
Reactions: AsherTheModder
We've been able to establish that some of the early item cheats were causing save corruption because they were incrementing an item that didn't exist within the save data. It worked during gameplay just fine, but when the game went to write the data to save, it broke because it had 999 of nothing. If you already had the item you were cheating in, it was not a problem, but if you tried to cheat an item you hadn't found yet, it corrupted your save.

The 'No Item Decrease' cheat corrupts the save for a similar reason. It keeps the items count fixed, but doesn't prevent other actions that may happen when an item count reaches 0.

Item codes that look like this have been confirmed save, as they first add the item to the internal inventory, then increment its value:
Code:
[990x Rare Candy]
580F0000 041F0A60
780F0000 00000338
640F0000 00000008 00000002
580F0000 041F0A60
780F0000 0000033C
640F0000 00000008 000003DE
So if we don't for example have a rare candy, and we add the cheat code for 999x, that means the save and or game will get corrupted? If that's the case, what is the code to get 1 rare candy and then we can multiply it?
 
So if we don't for example have a rare candy, and we add the cheat code for 999x, that means the save and or game will get corrupted? If that's the case, what is the code to get 1 rare candy and then we can multiply it?
We have codes that both add the item to the internal inventory and then increment it now. This issue only affects the codes that were published shortly after the game was leaked.

I have published a repository full of item codes that I have personally tested and proven safe: https://github.com/entropiccode/legends_za_item_codes

@TwilightxSaga @AsherTheModder You can find working and safe Master ball (and all other ball) codes in this repo. Do note that all balls cheated in will have issues when loading a save for the first time where they're not available for selection when throwing a ball. All codes behave this way, my guess is it has something to do with how the game registers the balls as valid choices in the quick menu. There are workarounds posted elsewhere in the thread.
 
Has the patch 1.0.1 been fixed for some of the emulators where there were initially crashes on 1.01 with Ryujinx as an example? I am playing the game 1.0.0 and so far no crashes but if the cheats don't work on 1.00 then I am wondering what the best way is to have the game run on Ryujinx with the 1.0.1 patch and then apply some cheats.

Looks like I need to collect XS and S candies in order to use the 999x code. These Alpha Pokemon are getting tougher haha. Haven't even started the W rank battle yet as I am in the low 20s, literally level 20 to 21 as the game didn't give an opportunity to train between the last two matches. Went through Wild Zone 1 and there was an Alpha Spewpa and then in Wild Zone 5 an Alpha Bellsprout. No chance whatsoever haha.
Post automatically merged:

We have codes that both add the item to the internal inventory and then increment it now. This issue only affects the codes that were published shortly after the game was leaked.

I have published a repository full of item codes that I have personally tested and proven safe: https://github.com/entropiccode/legends_za_item_codes

@TwilightxSaga @AsherTheModder You can find working and safe Master ball (and all other ball) codes in this repo. Do note that all balls cheated in will have issues when loading a save for the first time where they're not available for selection when throwing a ball. All codes behave this way, my guess is it has something to do with how the game registers the balls as valid choices in the quick menu. There are workarounds posted elsewhere in the thread.
Thanks for confirming. I am also assuming these are meant for 1.0.1 and not 1.0.0? I am using 1.0.0 on Ryujinx as 1.0.1 kept on crashing the game, where it would not load.
 
Has the patch 1.0.1 been fixed for some of the emulators where there were initially crashes on 1.01 with Ryujinx as an example? I am playing the game 1.0.0 and so far no crashes but if the cheats don't work on 1.00 then I am wondering what the best way is to have the game run on Ryujinx with the 1.0.1 patch and then apply some cheats.

Looks like I need to collect XS and S candies in order to use the 999x code. These Alpha Pokemon are getting tougher haha. Haven't even started the W rank battle yet as I am in the low 20s, literally level 20 to 21 as the game didn't give an opportunity to train between the last two matches. Went through Wild Zone 1 and there was an Alpha Spewpa and then in Wild Zone 5 an Alpha Bellsprout. No chance whatsoever haha.
I've been told the codes in my repository work on 1.0.0 Ryujinx.
 
  • Like
Reactions: emzine
This code just crash the game, for me at least.


(BACKUP SAVE FIRST) All items 900 + Key Items]
040A0000 00152794 14B9D2B0
040A0000 02FC7254 52807094
040A0000 02FC7258 B9000514
040A0000 02FC725C A9405514
040A0000 02FC7260 17462D4E
 
u have some cheat for delete all balls?
That's pretty easy to do. Grab the codes for the balls you want to delete from here: https://github.com/entropiccode/legends_za_item_codes/blob/main/pokeballs.txt

Then, in your cheat file, replace '3DE' at the end of each code with '000' (for 0 items) or '001' (for 1 item). I would recommend going down to 1 instead of 0, as I'm not certain how clean fully removing all of your items via code is.

For example, to set Cherish Balls to 1, the code is:
Code:
[1x Cherish Ball]
580F0000 041F0A60
780F0000 00000118
640F0000 00000008 00000002
580F0000 041F0A60
780F0000 0000011C
640F0000 00000008 00000001

The code name in brackets is literally just that, you don't have to update it.
 
All tested and confirmed to have no save corruption.

I've been using a number of them myself and my save is going on 13 hours now.
Thx for your codes... all of they are working, but, how can i use pokeballs spawned from your cheat?

edit: nvm, they began to be magically selectable XD
 
Last edited by rizakh,

Site & Scene News

Popular threads in this forum