Hacking ROM Hack Pokemon Legends Z-A Cheat Database

  • Thread starter Thread starter OblivionReign
  • Start date Start date
  • Views Views 1,098,106
  • Replies Replies 7,136
  • Likes Likes 85
First I would like to say thank you for being very patient and helpful I really appreciate that. When I don’t modify it, it goes back to lvl 10 & when I use the example given it goes to lvl 1
 

Attachments

  • IMG_5631.jpeg
    IMG_5631.jpeg
    7.3 MB · Views: 29
First I would like to say thank you for being very patient and helpful I really appreciate that. When I don’t modify it, it goes back to lvl 10 & when I use the example given it goes to lvl 1
The "Always Encounter Pokemon" code, by default, will spawn Level 10 Pokemon, because that's what the related line in the code does. You use the smaller modifier codes to tweak that. If you want to set a custom level, convert the level you want to hex and modify the level code with it.

Code:
[Always Level x]
040A0000 00CFC498 528xxxx2

Replace the 4 'x's in the code above with the 0 padded hex value for the level you want. Level 52 should be 0034, for example.
 
  • Like
Reactions: Kuzan17
also is there a code for high friendship because no matter how many time i did cafe Riolu wont evolve
I had the exact same issue.
Unfortunately, you’ll probably need to start a new save and avoid using any codes that modify Pokémon data — especially ones that change Nature, IVs, or force Shiny Pokémon.

In my case, even after catching new Pokémon without cheats, the game still wouldn’t trigger the evolution, despite having max friendship (confirmed with the friendship checker). The evolution arrow never appeared.

You could also try catching another Riolu without any cheats and see if it evolves once its friendship increases. I probably corrupted my save somehow, but maybe you’ll have better luck.

Once I started a new game without any Pokémon-modifying codes, everything worked normally again — Pichu, Riolu, etc. evolved as expected.
 
Well now this is interesting. Looks like you can add unimplemented items to Wild Pokemon using the modifier codes:
2025101815314600-406E08C26FAE3D61E0FDD492A49B8D8E.jpg

Just to be clear, you cannot take the item off of the Pokemon as its an invalid item, and the equivalent item code doesn't give you anything.
 
The "Always Encounter Pokemon" code, by default, will spawn Level 10 Pokemon, because that's what the related line in the code does. You use the smaller modifier codes to tweak that. If you want to set a custom level, convert the level you want to hex and modify the level code with it.

Code:
[Always Level x]
040A0000 00CFC498 528xxxx2

Replace the 4 'x's in the code above with the 0 padded hex value for the level you want. Level 52 should be 0034, for example.
Do I need Always Encounter and Always Encounter Lvl 10 On?
 
Small update to my repo, I've added all of the Vivillon pattern codes to the encounter code list, labelled so that you can easily spawn a specific pattern if that's what you're after:

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

how do the items codes work? like do i need the item in my bag to get 990 of them?
If you're using the codes from my repo, you do not need to own the item to use the code.
 
Hey, i dont know if someone posted it, but you can also get Volcanion and Hoopa (they are the only Poke programmed in the game with Mewtwo and Diancie)

[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 00CFC250 148B2F5D

[Encounter Volcanion]
040A0000 02FC7FF0 000002D1

[Encounter Hoopa]
040A0000 02FC7FF0 000002D0

[Hoopa Prison Bottle]
580F0000 041F0A60
780F0000 00002FE8
640F0000 00000008 00000004
580F0000 041F0A60
780F0000 00002FEC
640F0000 00000008 00000001

Enjoy !
 
Ok cool so just take out the Always Encounter Lvl 10 and leave the Always Encounter code in the txt?
To be clear, leave the "Always Encounter Pokemon" code as is, no modification. You can remove any modification code that changes the level, just remember that by default the code will spawn level 10 Pokemon.
 
  • Like
Reactions: TwilightxSaga
Can someone please edit my save and get all the mega stones? For some reason, I can't do it on my Nintendo Switch Lite. Could a kind soul do this for me if it's not too much of a loss?
 
Alguém por favor pode editar meu save e pegar todas as mega stones? Por alguma razão, não consigo fazê-lo no meu Nintendo Switch Lite. Poderia uma alma bondosa fazer isso por mim se não for perda demais?
Vc esta usando a tradução da PKG? Por que os cheats de itens não funcionam com ela, vc tem que remover a tradução, ativar os cheats depois salvar o jogo e depois colocar a tradução de novo. No meu caso foi assim que eu fiz.
 
Last edited by JakeBelmont,
Okay, just wanted to make sure. Glad you got it figured out, I will update my list all the same as a handful of folks have requested the codes.

It looks like it goes Hex 01-13 with the last one being a pokeball coloration. Hex 0 and Hex 1 spawn the same coloration, but I'm guessing 0 is not a legit value.
 
It looks like it goes Hex 01-13 (1-19) with the last one being a pokeball coloration. Hex 0 and Hex 1 spawn the same coloration, but I'm guessing 0 is not a legit value.
I was able to confirm all patterns when testing, using the spawn code without modifying the spawn will spawn an Icy Snow Pattern Vivillon, then starting at 0x1 in the form code spawns a Polar Pattern, and so on.

https://github.com/entropiccode/legends_za_item_codes/blob/main/pokemon_encounter_codes.txt
 
I have some suggestions for more cheat codes:

-When in boxes screen, if R3 (right stick button) pressed, release the pokemon selected without confirmation
-When in boxes screen, if L3 (left stick button) pressed, auto sort the current box so no empty slot
- One for longer days (say the day will last 5X or 3X more)
- One for longer nights (say the night will last 5X or 3X more)
-Another to auto skip that night is over animation if you didnt go to any battle zones
 

Site & Scene News

Popular threads in this forum