Hacking ROM Hack Pokemon Legends Z-A Cheat Database

  • Thread starter Thread starter OblivionReign
  • Start date Start date
  • Views Views 1,097,846
  • Replies Replies 7,136
  • Likes Likes 85
The pokemon doesn't spawn though. I have both cheats selected.
are you on console or emulator i am on console using the cheats however here is some info on how to make it work

>>> How Always Encounter Level 10 Pokemon
I made that az floette code to show both form and species in one line.
I changed it from 040A0000 to 080A0000 to make a 64 bit write refer to atmosphere code type zero https://github.com/Atmosphere-NX/At...md#code-type-0x0-store-static-value-to-memory

Which when you look at the main spawn cheat itself last 6 lines.
040A0000 02FC7FEC 1774D09A
040A0000 02FC7FF0 00000000
040A0000 02FC7FF4 00000000
040A0000 02FC7FF8 00000000
040A0000 02FC7FFC 0000000A
040A0000 00CFC250 148B2F5D

I marked out what each do
0x02FC7FF0 = Species id
0x02FC7FF4 = Form id
0x02FC7FF8 = item id
0x02FC7FFC = level

040A0000 02FC7FF0 00000000 is the first 32bits
Now if i change to 64 bit write it will use the next 4 bytes (the form id line)

So as per the atmosphere documents
I add that line into the cheat to include form id.

>>> Floette
040A0000 02FC7FF0 0000029E

>>> AZFloette
080A0000 02FC7FF0 00000005 0000029E

>>> Always Encounter Level 10 Pokemon (Change First)
040A0000 02FC7FC4 18000161
040A0000 02FC7FC8 34000041
040A0000 02FC7FCC 790067E1
040A0000 02FC7FD0 18000121
040A0000 02FC7FD4 79006BE1
040A0000 02FC7FD8 18000101
040A0000 02FC7FDC 79006FE1
040A0000 02FC7FE0 180000E1
040A0000 02FC7FE4 390103E1
040A0000 02FC7FE8 F9403A60
040A0000 02FC7FEC 1774D09A
040A0000 02FC7FF0 00000000 <---- Change species id
040A0000 02FC7FF4 00000000 <---- Change form number
040A0000 02FC7FF8 00000000 <---- Change item id here
040A0000 02FC7FFC 0000000A <---- Change spawn level here
040A0000 00CFC250 148B2F5D

the species id is the pokemon encounter changer once enabled it takes a few seconds for the pokemon to spawn but it has to be used with this cheat above
 
[0718 Zygarde]
080A0000 02FC7FF0 00000001 000002CE

[0718 Zygarde]
080A0000 02FC7FF0 00000002 000002CE

[0718 Zygarde]
080A0000 02FC7FF0 00000003 000002CE

[0718 Zygarde]
080A0000 02FC7FF0 00000004 000002CE

[0718 Zygarde]
080A0000 02FC7FF0 00000005 000002CE

Don't know which is which assuming the first one is 10%
ive tried these and it just doesnt seem to want to switch forms
 
Hey folks, I know this isn't items but I see a lot of requests for this, so I went ahead and generated a full list of Pokemon Encounter codes for the Pokemon we know are currently implemented:

https://github.com/entropiccode/legends_za_item_codes/blob/main/pokemon_encounter_codes.txt

I haven't tested all of these as I generated them using a script to convert the Pokedex number to hex (which is what the code uses) and then print the code, however the ones that have already been posted and confirmed to work line up with what my script generated, so they should all be correct.

I'm going to work on getting codes for specific forms working, I just need to do some testing with those.
 
The "Always Encounter Pokemon" code is the core of the entire thing. The smaller codes after that modify the "Always Encounter Pokemon" code. Without the "Always Encounter Pokemon" code, best case you just won't spawn the desired Pokemon, worst case you cause crashes.
Hey is there any way for me to use this code on ryujinx emulator? Because I have no clue how to
 
Should work, I mean you can get rid of the nature you don't need.
just tested.. can confirm my file appears all of them!! tysm for the help! and ty everyone who provided help and the codes! those are all i need for my playthrough.. ill just wait for pkhex now! Happy playthrough peeps!
 
Hey is there any way for me to use this code on ryujinx emulator? Because I have no clue how to
I can't help with emulation specifically, but my understanding is the use of the codes should be very similar, it is just the file structure for the cheat codes that is different.
Post automatically merged:

Whelp, figured out the Zygarde form spawning while I was testing stuff.

Code:
[Encounter Zygarde 50%]
040A0000 02FC7FF4 00000000
040A0000 02FC7FF0 000002CE

[Encounter Zygarde 10%]
040A0000 02FC7FF4 00000001
040A0000 02FC7FF0 000002CE

[Encounter Zygarde 100%]
040A0000 02FC7FF4 00000004
040A0000 02FC7FF0 000002CE

Use these with the "Always Encounter Pokemon" codes from the first post in this thread.
 
hi, i just added the cheats for the game, but when activating them via overlay menu, the console crashes and asks me to reboot to payload, any ideas about what i might be doing wrong? I followed the steps on first page "First time setup" link

I'm on firmware 20.1.1 and AMS1.9.5|E
 
Here's what I was using when I caught that Mewtwo:

Code:
[Force Shiny]
040A0000 0069B780 1400000E
040A0000 0069B7D0 D503201F
040A0000 0069B80C D503201F
040A0000 0069B820 14000031

[6IV On]
040A0000 00CFC324 528003E1
040A0000 00CFC330 528003E1
040A0000 00CFC33C 528003E1
040A0000 00CFC348 528003E1
040A0000 00CFC354 528003E1
040A0000 00CFC360 528003E1

[Always Encounter Pokemon]
040A0000 02FC7FC4 18000161
040A0000 02FC7FC8 34000041
040A0000 02FC7FCC 790067E1
040A0000 02FC7FD0 18000121
040A0000 02FC7FD4 79006BE1
040A0000 02FC7FD8 18000101
040A0000 02FC7FDC 79006FE1
040A0000 02FC7FE0 180000E1
040A0000 02FC7FE4 390103E1
040A0000 02FC7FE8 F9403A60
040A0000 02FC7FEC 1774D09A
040A0000 02FC7FF0 00000000
040A0000 02FC7FF4 00000000
040A0000 02FC7FF8 00000000
040A0000 02FC7FFC 0000000A
040A0000 00CFC250 148B2F5D

[Always Level 1]
040A0000 00CFC498 52800022

[Encounter 150 Mewtwo]
040A0000 02FC7FF0 00000096

[Encounter Item Masterball]
040A0000 02FC7FF8 00000001

I toggled all of those on standing inside Hotel Z, then ran outside into Area 1, where all spawned Pokemon were shiny Mewtwo (the first Pokemon I caught happened to be an Alpha, I wasn't using a code for Alphas).

Once you are done catching Pokemon, you should disable all the codes in use and then toggle the Restore Code on.

Code:
[Restore Code]
040A0000 00859534 3903C288
040A0000 027C6100 B9004008
040A0000 027C6128 B9004008
040A0000 007AAC98 F9000102
040A0000 00D1A344 1A9F27E0
040A0000 0069B780 540001C1
040A0000 0069B7D0 540001A1
040A0000 0069B80C 540003A0
040A0000 0069B820 54000621
040A0000 00152794 A9405514
040A0000 00CFC324 394143E1
040A0000 00CFC330 39414BE1
040A0000 00CFC33C 394153E1
040A0000 00CFC348 39415BE1
040A0000 00CFC354 394163E1
040A0000 00CFC360 39416BE1
040A0000 00CFC2B0 79408BE1
040A0000 00CFC2BC 79408FE1
040A0000 002E7798 BD01AA61
040A0000 00CFC498 394103E2
040A0000 00BFE310 4E21C400
040A0000 00CFC250 F9403A60
040A0000 004491C4 12001C08
040A0000 00BB301C 0B160108
040A0000 02BD7E74 B50000A0
Encounter cheat works well on Ryujinx, thanks!

Captura de tela 2025-10-17 221845.png
 
hi, i just added the cheats for the game, but when activating them via overlay menu, the console crashes and asks me to reboot to payload, any ideas about what i might be doing wrong? I followed the steps on first page "First time setup" link

If you got other sysmodule running shut them off.
 
how is this toggled using ultrahand+edizon plugin i tried it and nothing changed even went to a wild zone to change location nothing
What codes did you use? Toggling the codes on should add the items to your inventory right away, although Pokeballs will require a save and reload for them to appear in the throwing menu.
Post automatically merged:

whats the item called maybe i can get a cheat for it
You can disregard my prior statement, I got form change spawn codes working, check a few posts back.
 

Site & Scene News

Popular threads in this forum