ROM Hack Pokemon Sword and Shield Cheats/Hacks/PKHex

Avakan

Member
Newcomer
Joined
Jul 11, 2020
Messages
5
Trophies
0
Age
39
XP
37
Country
United States
Put the codes you use frequently on top of the cheat list thats best way I can explain it. The entire cheat list wont be visible and honestly most of the encounter codes will just make the pkmn illegal if you care about that. Or you can just delete codes you know you aren't going to use. If cheats aren't showing then you might wanna inform the OP.
Oh my bad I should say what cheat is instead of number, [27# Other Items(2) x999],[28# All tm and tr] are only two I wanted to use.
I deleted rest of codes and left those 2. Finally those 2 showed up and I check boxed. [27# Other Items(2) x999] shows bunch of error texted item, [28# All tm and tr] tr wasn't refilled at all, I only got 1~85tm but 86~99 were gone.

I am not interested in encounter cheats just those two [27# Other Items(2) x999],[28# All tm and tr]
 

MasterJ360

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
2,801
Trophies
1
Age
35
XP
3,448
Country
United States
Oh my bad I should say what cheat is instead of number, [27# Other Items(2) x999],[28# All tm and tr] are only two I wanted to use.
I deleted rest of codes and left those 2. Finally those 2 showed up and I check boxed. [27# Other Items(2) x999] shows bunch of error texted item, [28# All tm and tr] tr wasn't refilled at all, I only got 1~85tm but 86~99 were gone.

I am not interested in encounter cheats just those two [27# Other Items(2) x999],[28# All tm and tr]
So those 2 code just arent working properly. Well a good alternative to get 999 items and TR's is through pkhex save editing until someone fixes those codes
 

Th3Alic3

Well-Known Member
Member
Joined
Jan 3, 2020
Messages
345
Trophies
0
Age
41
XP
859
Country
Canada
Pokémon Sword - Update 4 (v1.2.1)
[(v1.2.1) Eggs Hatch Faster (on)]
04000000 00DB8874 52801FF8
04000000 00DB889C 52801FF8
[(v1.2.1) Eggs Hatch Faster (off)]
04000000 00DB8874 321F03F8
04000000 00DB889C 320003F8

[(v1.2.1) Nursey Staff Always Have an Egg (on)]
04000000 013DE884 D503201F
04000000 013DE9D4 D503201F
[(v1.2.1) Nursey Staff Always Have an Egg (off)]
04000000 013DE884 7102D53F
04000000 013DE9D4 540000C2

[(v1.2.1) Active Purple Beam at Non-Active Den (Hold R)]
04000000 01403224 B9400068
04000000 0140322C B9400068
80000080
04000000 01403224 52800048
04000000 0140322C 52800048
20000000

[(v1.2.1) Deactivate Beam at Den (Hold L)]
04000000 014032A4 39C1C900
80000040
04000000 014032A4 52800000
20000000

[(v1.2.1) 999x Item on Pickup (on)]
04000000 013FDA6C D503201F
04000000 013FDA80 1A8B3168
04000000 013FDAB0 1A8A814A
[(v1.2.1) 999x Item on Pickup (off)]
04000000 013FC52C 710F9D7F
04000000 013FDA80 1A8B3108
04000000 013FDAB0 1A8B814A

For Shield: Most cheats should be +0x30 or the same

The above Nursey & Den cheats work on Shield with a +30 offset.

Pokémon Sword - Update 4 (v1.2.1)
[(v1.2.1) Instakill (Hold ZR)]
04000000 008028C0 7900E808
80000200
04000000 008028C0 7900E81F
20000000

[(v1.2.1) Catch Rate set to 100% Capture]
04000000 0076CD98 529FFFE0

For Shield: Most cheats should be +0x30 or the same

Hey @Falo!

I have tested several of the cheats you provided. The above list are all cheats working in Sword and in Shield with the +0x30 memory shift. The second set of quoted cheats pertaining to in-game battles are 100% working in Sword however do not work in Shield with the +0x30 memory shift. The in-game battles cheats work on Shield without the +0x30 memory shift.

(I believe it is safe to assume encounter generation & in-battle cheats will not require any memory shift going forward.)

Just need that Raid Battle Catch Rate code and we would be golden! (I know from talking with the dataminer's there's a mutlipler to the Species Rate if it's GMax and we all know there's some kind of modifer for it you are Host of a non-promoted. If you could trick the code into thinking the Raid is the host and it's not promoted in the catch calculation it should be 100% catch.)
 
Last edited by Th3Alic3,

Th3Alic3

Well-Known Member
Member
Joined
Jan 3, 2020
Messages
345
Trophies
0
Age
41
XP
859
Country
Canada
Idk what I´m doing wrong. The cheat codes are not shown in Edizon since the update.

@MetroBoomin:

The games are identified by the Nintendo Switch by 2 unique set of ID's:
  1. Title ID : This is a unique ID assigned to each game out there.
  2. Build ID : This is a uinique ID assigned to each game for each individual version.
This means that the Build ID for every version of Sword and Shield are unique (including from each other.)

The way your Atmosphere OS stores cheats for a game is within text files. There are a series of folders on your CFW Switch SD card each named after a Title ID and within those folders are text files named after individual Build IDs (AKA a cheat code file FOR EACH version of the game.)

In order to ensure you are running codes for the correct game & version, EdiZon ONLY shows you cheats you have on your CFW Switch SD for the MATCHING version. This means everytime Sword & Shield update NOT only will you need to find all the new codes you want to use (as many will have changed due to the game's code changing) BUT you will also need to create new cheat code file with the CORRECT Build ID file name for EdiZon to see it and you use it.
 
Last edited by Th3Alic3,

mc711

Well-Known Member
Newcomer
Joined
Mar 28, 2008
Messages
75
Trophies
1
XP
704
Country
United States
here is a updated crashless cheat file for sword 1.2.1. since encounter codes are still the same, i just copy and pasted from my 1.2.0 file. i included all updated codes from falo as well. i chose to remove encounter codes, because they are pretty useless when you can just use pkhex. also bag codes aren't working so i excluded the bag cheat file as well.

if something doesn't work, just let me know. i downgraded back to 1.2.0 until more cheats are converted.
 

Attachments

  • 157ABFB96262AEB9.txt
    8 KB · Views: 300

j0hnnyj0hns

Well-Known Member
Member
Joined
Jun 3, 2016
Messages
358
Trophies
0
Age
34
XP
1,681
Country
United States
here is a updated crashless cheat file for sword 1.2.1. since encounter codes are still the same, i just copy and pasted from my 1.2.0 file. i included all updated codes from falo as well. i chose to remove encounter codes, because they are pretty useless when you can just use pkhex. also bag codes aren't working so i excluded the bag cheat file as well.

if something doesn't work, just let me know. i downgraded back to 1.2.0 until more cheats are converted.

Do you have a cheat file for shield and sword 1.2.0 that will work with edizon
 

JibieTenpu

Well-Known Member
Newcomer
Joined
Dec 14, 2019
Messages
89
Trophies
0
XP
241
Country
Papua New Guinea
uu Ok Thank you so much

"[IV ATK Max]
04000000 00770AE0 528003E1
[IV ATK 0]
04000000 00770AE0 528003E0"
This code to set IV individually to 31 or 0 is very good and convenient.
Is there a way to make Speed IV delicate number such as 4 or 5 for adjust Speed?
 

Th3Alic3

Well-Known Member
Member
Joined
Jan 3, 2020
Messages
345
Trophies
0
Age
41
XP
859
Country
Canada
make ... IV delicate number such as 4 or 5

The current codes @Falo provide are not setting the IVs to a specific 0~31 roll, otherwise, there would be a difference of HEX "1F" (31 more) between the two codes. Instead, the difference between the two codes is only a 0 & 1 (essentially an on/off.) This means the current codes for IVs you are referring to are NOT setting a specific value BUT instead are turning on the FORCED 31 IV flags for the individual stats. (These flags are wild Pokemon with the yellow aura have so 1~3 IVs forced to 31 OR how Raid Pokemon have 1~4 IVs forced to 31.)

@Falo would need make new codes for each of the 6 IVs for your request. (The code would also have to disable the FORCED 31 IV flag for that stat.) After that, you would plug 00 to 1F (OR F1 depending upon the sepecific code) to set the specific value.

(@JibieTenpu, you do not require a new cheat if you are looking for this JUST for breeding. You just need more than 1 Ditto and the existing codes.)
 
  • Like
Reactions: JibieTenpu

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,627
Country
Germany
528003E1 = mov w1, #0x1f
528003E0 = mov w0, #0x1f

technically, the second code should not work, because the original code is "LDRB W1, [X19,#0x38]"

the correct code for 0 IV would be
"mov w1, #0x0" = 52800001
or
"mov w1, WZR" = 2A1F03E1

but doesn't matter, just use https://armconverter.com/ to generate the correct value.
note: you need to reverse the value this website gives you

"mov w1, #0x4" = 52800081
"mov w1, #0x5" = 528000A1

Edit for other IV's:

Code:
.text:0000000000770AD4 61 DA 40 39                 LDRB            W1, [X19,#0x36]
.text:0000000000770AD8 E0 03 00 91                 MOV             X0, SP
.text:0000000000770ADC 3D 28 00 94                 BL              Pokemon__SetIvHp
.text:0000000000770AE0 61 E2 40 39                 LDRB            W1, [X19,#0x38]
.text:0000000000770AE4 E0 03 00 91                 MOV             X0, SP
.text:0000000000770AE8 8E 28 00 94                 BL              Pokemon__SetIvAtk
.text:0000000000770AEC 61 EA 40 39                 LDRB            W1, [X19,#0x3A]
.text:0000000000770AF0 E0 03 00 91                 MOV             X0, SP
.text:0000000000770AF4 DF 28 00 94                 BL              Pokemon__SetIvDef
.text:0000000000770AF8 61 F2 40 39                 LDRB            W1, [X19,#0x3C]
.text:0000000000770AFC E0 03 00 91                 MOV             X0, SP
.text:0000000000770B00 30 29 00 94                 BL              Pokemon__SetIvSpAtk
.text:0000000000770B04 61 FA 40 39                 LDRB            W1, [X19,#0x3E]
.text:0000000000770B08 E0 03 00 91                 MOV             X0, SP
.text:0000000000770B0C 81 29 00 94                 BL              Pokemon__SetIvSpDef
.text:0000000000770B10 61 02 41 39                 LDRB            W1, [X19,#0x40]
.text:0000000000770B14 E0 03 00 91                 MOV             X0, SP
.text:0000000000770B18 D2 29 00 94                 BL              Pokemon__SetIvSpeed

addresses:
770AD4 = IvHP
770AE0 = IvAtk
770AEC = IvDef
770AF8 = IvSpAtk
770B04 = IvSpDef
770B10 = IvSpeed

value is the same for all.
 
Last edited by Falo,
  • Like
Reactions: JibieTenpu

Th3Alic3

Well-Known Member
Member
Joined
Jan 3, 2020
Messages
345
Trophies
0
Age
41
XP
859
Country
Canada
technically, the second code should not work

Hey @Falo,

I was experimenting under the assumption that the last value ("528003E1") was setting the FORCED IV flag when when I was fiddling around with shifting the value. I was not expecting the result but as a competitive player there is extreme value of being able to assign 0 to an IV Stat so I shared the 0 IV "code" ("528003E0"). Either which way, the game clearly requires that last value set to "1" to assign the stat.

I feel so silly now not having seen the "3E" value. #facepalm
 

habla2k

Well-Known Member
Member
Joined
Oct 14, 2019
Messages
163
Trophies
0
Age
38
XP
681
Country
Germany
So i want to add all basic (first form) Pokemon from shield to my sword savegame. Is there a faster way to do this without manully creating every pokemon in Pkhex? it seems to be hard because you need to find legit stats, moves etc.

Just want them to have a full pokedex by the end of sword.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: good night