Jump to content

Sword & Shield (v1.2.0) | Live RAM Encounter Edits


Recommended Posts

Hello all,

For those who do not know me, I studied under a video game development program in the early 2000's. While I did not end up pursuing development as a career, I still actively apply the knowledge to trying to understand what's under the hood of the franchise that first made me want to go into video game development: Pokémon. I am not a code hunter. I am more of enthusiast who enjoys sharing this information with the masses so we all can maintain a database of LIVE RAM Edits for  the insight and befenfit of the community as a whole to increase the overall understanding of what is and isn't possible with the games.

The Atmosphere CFW OS for CFW uses a built-in cheat app called Edizon which means every single CFW Switch owner with Atmosphere OS are forced to use it. The homebrew app Edizon does not allow for a manual ON/OFF of individual codes which means people interested in experimenting have to maintain their own database of codes and go through the hassle of deleting and re-adding codes to the .TXT file for the codes for the game on a FREQUENT basis. The Atmosphere OS Live requires codes to be located under a specific system folder which is sorted into folders under the TitleID of each game with separate .TXT file for each BuildID (aka version of the game):

Game TitleID BuildID (for v1.2.0)
Pokémon Shield 01008db008c2c000 e38a27bc77702548
Pokémon Sword 0100abf008968000 5a7eebf172343616

[Always Encounter Modifier Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A20 18FFFE68
04000000 00770A4C 18FFFD01
04000000 00770A58 18FFFC81
04000000 00770B1C 18FFF680
04000000 00770B24 18FFF621
04000000 00770B80 18FFF360
04000000 00770B84 18FFF321

[* Note: This code alone is incomplete. The codes immediately below in combination with this code (WHICH must be placed immediately below this code in your CHEAT file) will modify all encounters to the selected Species & Form selected from below. Only one code below can be used with this code at the same time.]

+ (Encountered Wild/Egg/Fossil Pokemon)[/B][/U] Mythical  Pokemon
[Always #0151 Mew Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000097 00000000

[Always #0251 Celebi Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 000000FB 00000000

[Always #0385 Jirachi Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000181 00000000

[Always #0647 Keldeo Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000287 00000000

[Always #0801 Magearna Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000321 00000000

[Always #0801 Magearna (Original Color) Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000321 00000001

[Always #0802 Marshadow Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000322 00000000

[Always #0807 Zeraora Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000327 00000000

[Always #0808 Meltan Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000328 00000000

[Always #0809 Melmetal Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 00000329 00000000

[Always #0893 Zarude Wild/Egg/Fossil Pokemon (v1.2.0)]
08000000 007709E8 0000037D 00000000

[* Note: The third 8-digit HEX value establishes the Species by National Dex # and the fourth 8-digit HEX value established the form based upon the Sword & Shield version of the National Dex (which means 0 is the Galar form for those with Regional variants.)]

(New Encountered Wild/Egg/Fossil Pokemon) Shiny Codes
[Always Shiny Star Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 007702D4 1400003A
04000000 007702E4 14000036
04000000 00780E54 52000C29

[Always Shiny Square Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 007702D4 1400003A
04000000 007702E4 14000036
04000000 00780E54 2A0103E9

(New Encountered Wild/Egg/Fossil Pokemon) IV Codes (Custom)
[Always "Best" Hit Point (HP) IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AD4 528003E1

[Always "Worst" Hit Point (HP) IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AD4 528003E0

[Always "Best" Attack IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AE0 528003E1

[Always "Worst" Attack IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AE0 528003E0
 
[Always "Best" Defense IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AEC 528003E1

[Always "Worst" Defense IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AEC 528003E0
 
[Always "Best" Sp. Attack IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AF8 528003E1

[Always "Worst" Sp. Attack IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AF8 528003E0
 
[Always "Best" Sp. Defense IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770B04 528003E1

[Always "Worst" Sp. Defense IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770B04 528003E0
 
[Always "Best" Speed IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770B10 528003E1

[Always "Worst" Speed IV Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770B10 528003E0

(New Encountered Wild/Egg/Fossil Pokemon) IV Codes (Pre-Sets)
[Always 31/31/31/31/31/31 IVs Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AD4 528003E1
04000000 00770AE0 528003E1
04000000 00770AEC 528003E1
04000000 00770AF8 528003E1
04000000 00770B04 528003E1
04000000 00770B10 528003E1

[Always 31/0/31/31/31/31 IVs Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AD4 528003E1
04000000 00770AE0 528003E0
04000000 00770AEC 528003E1
04000000 00770AF8 528003E1
04000000 00770B04 528003E1
04000000 00770B10 528003E1

[Always 31/31/31/31/31/0 IVs Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AD4 528003E1
04000000 00770AE0 528003E1
04000000 00770AEC 528003E1
04000000 00770AF8 528003E1
04000000 00770B04 528003E1
04000000 00770B10 528003E0

[Always 31/0/31/31/31/0 IVs Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770AD4 528003E1
04000000 00770AE0 528003E0
04000000 00770AEC 528003E1
04000000 00770AF8 528003E1
04000000 00770B04 528003E1
04000000 00770B10 528003E0

(New Encountered Wild/Egg/Fossil Pokemon) Gender Codes
[Always Female Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A88 52800021

[Always Male Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A88 52800001

[Always Genderless Wild/Egg/Fossil Pokemon(v1.2.0)]
04000000 00770A88 52800041

[Always Species Default Gender Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A88 79406261

(New Encountered Wild/Egg/Fossil Pokemon) Nature Codes
[Always Adamant Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800061
04000000 00770A7C 52800061

[Always Bashful Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800241
04000000 00770A7C 52800241

[Always Bold Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528000A1
04000000 00770A7C 528000A1

[Always Brave Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800041
04000000 00770A7C 52800041

[Always Calm Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800281
04000000 00770A7C 52800281

[Always Careful Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528002E1
04000000 00770A7C 528002E1

[Always Docile Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528000C1
04000000 00770A7C 528000C1

[Always Gentle Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528002A1
04000000 00770A7C 528002A1

[Always Hardy Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800001
04000000 00770A7C 52800001

[Always Hasty Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800161
04000000 00770A7C 52800161

[Always Impish Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800101
04000000 00770A7C 52800101

[Always Jolly Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528001A1
04000000 00770A7C 528001A1

[Always Lax Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800121
04000000 00770A7C 52800121

[Always Lonely Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800021
04000000 00770A7C 52800021

[Always Mild Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800201
04000000 00770A7C 52800201

[Always Modest Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528001E1
04000000 00770A7C 528001E1

[Always Naive Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528001C1
04000000 00770A7C 528001C1

[Always Naughty Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800081
04000000 00770A7C 52800081

[Always Quiet Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800221
04000000 00770A7C 52800221

[Always Quirky Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800301
04000000 00770A7C 52800301

[Always Rash Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800261
04000000 00770A7C 52800261

[Always Relaxed Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528000E1
04000000 00770A7C 528000E1

[Always Sassy Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 528002C1
04000000 00770A7C 528002C1

[Always Serious Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800181
04000000 00770A7C 52800181

[Always Timid Nature Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770A70 79406661
04000000 00770A7C 79406661
04000000 00770A70 52800141
04000000 00770A7C 52800141

(New Encountered Wild/Egg/Fossil Pokemon) Ability Codes
[Always 1ST Ability Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770B20 3940D262
04000000 00770B38 3940D268
04000000 00770B4C 3940D268
04000000 00770B60 3940D268
04000000 00770B20 52800002
04000000 00770B38 52800008
04000000 00770B4C 52800008
04000000 00770B60 52800008

[Always 2ND Ability Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770B20 3940D262
04000000 00770B38 3940D268
04000000 00770B4C 3940D268
04000000 00770B60 3940D268
04000000 00770B20 52800022
04000000 00770B38 52800028
04000000 00770B4C 52800028
04000000 00770B60 52800028

[Always Hidden Ability Wild/Egg/Fossil Pokemon (v1.2.0)]
04000000 00770B20 3940D262
04000000 00770B38 3940D268
04000000 00770B4C 3940D268
04000000 00770B60 3940D268
04000000 00770B20 52800042
04000000 00770B38 52800048
04000000 00770B4C 52800048
04000000 00770B60 52800048

 

A Few Words about LIVE RAM Editing in Sword & Shield:

In order to accomodate new features in v1.2.0, the stored memory active in RAM witnessed drastic changes. The change from v1.1.1 to v1.2.0 shifted the location in memory of all the ENCOUNTERS handling BUT thankfully the entirety of it was moved together. The memory shift was found and applied to all the existing ENCOUNTERS related codes.

The Sword & Shield titles ONLY have error handling for "impossible" Pokémon. There are no such "legality" checks built into the mainline Pokémon games furthermore GameFreak currently has no such services immplimented on the Pokémon Home servers. There is an error handler for Pokémon encountering mons outside of the National Dex range which drops in a Pikachu called "Egg." There is also an error handler for illegal gendered Pokémon (for example: Female Mew OR Genderless Charmander) which is displayed in-game by replacing the 2D sprite shown in menus or on Raid preview screens with a 2D sprite of a black PokéBall symbol.

Since there's no error handling for "legit" Pokémon, the game is not tracking for LIVE RAM Edits. This means there's no error handling to correct a mistake you make (like that Genderless Charmander) and as such the game will allow it to occur.

When a new Pokémon is encountered (whether it's in-game trade, wild, Raid, or even newly discovered Egg), there's a module which puts together all of the pieces of data which make up that Pokémon in a single sector of memory. The single module uses the EXACT same sector of memory for ALL types of encountered Pokémon from in-game Gift Pokémon to Fossil Pokémon, from eggs to Pokémon in tall grass. The module checks for any all the known (predetermined information like how in-game Gift Pokémon have pre-determined IVs) and plugs those values in. Next, the module randomizes any of the unknowns (like Nature when not Synconized OR Ability two ability mons.) After assembling the COMPLETED the module sends the whole Pokémon back to the game's code to use. Since all Pokémon are passing throught the same sector of memory, we can apply LIVE RAM Edits/codes to set the results of one or more charactistics which over-writes randomization and predetermined values. (Once again, the game will not attempt to correct any mistakes you make like assigning a Hidden Ability to a Route 1 wild Pokémon.)

Since there's currently neither the mainline games nor Home are preforming any legality checking, you can VERY easily make ILLEGAL Pokémon. LIVE RAM Editing should be something in which is not taking lightly to ensure no ILLEGAL Pokémon spawn in-game as a result. While the game may not show your mistakes now, PKHeX will and down the road one day maybe even Pokémon Home will but when that happens chances are the mon will be deleted from the server.

Everyone here is against the creation and sharing of ILLEGAL Pokémon so keep that in mind!

Edited by AliceTheAlice
  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...