ROM Hack Pokemon Sword and Shield Cheats/Hacks/PKHex

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
Sword:
[500 Capture Count (on)]
04000000 01379660 52803E80
04000000 01379664 D65F03C0
[500 Capture Count (off)]
04000000 01379660 F81E0FF3
04000000 01379664 A9017BFD

Shield:
[500 Capture Count (on)]
04000000 01379690 52803E80
04000000 01379694 D65F03C0
[500 Capture Count (off)]
04000000 01379690 F81E0FF3
04000000 01379694 A9017BFD

Note: untested, this cheat patches the function to always return 500, should be temporary.
In the function for shiny rerolls there should also be a reference to a chain bonus. Details here:
If we could get that to return 25 then in combo with the 500 Battle Count that would give the highest shiny odds.
 

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,370
Country
Germany
Sword:
[500 Capture Count (on)]
04000000 01379660 52803E80
04000000 01379664 D65F03C0
[500 Capture Count (off)]
04000000 01379660 F81E0FF3
04000000 01379664 A9017BFD

Shield:
[500 Capture Count (on)]
04000000 01379690 52803E80
04000000 01379694 D65F03C0
[500 Capture Count (off)]
04000000 01379690 F81E0FF3
04000000 01379694 A9017BFD

Note: untested, this cheat patches the function to always return 500, should be temporary.

Thanks. this freezed my game.

--------------------- MERGED ---------------------------

Ok. Have to Activate the code when i´m in a Battle. Works Fantastic
 

habla2k

Well-Known Member
Member
Joined
Oct 14, 2019
Messages
163
Trophies
0
Age
38
XP
681
Country
Germany
In the function for shiny rerolls there should also be a reference to a chain bonus.
If we could get that to return 25 then in combo with the 500 Battle Count that would give the highest shiny odds.

But why? Isn't the "always shiny" code like more than enough? What else is this for?
 

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,370
Country
Germany
But why? Isn't the "always shiny" code like more than enough? What else is this for?

For Guys Wo dont want a Shiny code. ;)

Sword:
[500 Capture Count (on)]
04000000 01379660 52803E80
04000000 01379664 D65F03C0
[500 Capture Count (off)]
04000000 01379660 F81E0FF3
04000000 01379664 A9017BFD

Shield:
[500 Capture Count (on)]
04000000 01379690 52803E80
04000000 01379694 D65F03C0
[500 Capture Count (off)]
04000000 01379690 F81E0FF3
04000000 01379694 A9017BFD

Note: untested, this cheat patches the function to always return 500, should be temporary.

Woah The Code edit 500 Fights for all Pokes. :D
Amazing. Thanks Thanks Thanks
 
  • Like
Reactions: rainbowkittypaw

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,627
Country
Germany
In the function for shiny rerolls there should also be a reference to a chain bonus.
If we could get that to return 25 then in combo with the 500 Battle Count that would give the highest shiny odds.

These values are stored in .rodata (Sword):
Code:
.rodata:0000000001F24CB0 F4 01 00 00+BattleTable     DCD 500, 30, 6                    ; DATA XREF: sub_CDE2F0+1E0↑o
.rodata:0000000001F24CB0 1E 00 00 00+                                                  ; sub_CDE2F0+1E4↑o
.rodata:0000000001F24CB0 06 00 00 00+                DCD 300, 30, 5
.rodata:0000000001F24CB0 2C 01 00 00+                DCD 200, 30, 4
.rodata:0000000001F24CB0 1E 00 00 00+                DCD 100, 30, 3
.rodata:0000000001F24CB0 05 00 00 00+                DCD 50, 25, 2
.rodata:0000000001F24CB0 C8 00 00 00+                DCD 20, 20, 1
.rodata:0000000001F24CB0 1E 00 00 00+                DCD 1, 15, 1
.rodata:0000000001F24D04             ; _DWORD ChainTable[12]
.rodata:0000000001F24D04 19 00 00 00+ChainTable      DCD 25, 250, 0                    ; DATA XREF: sub_CDE2F0:loc_CDE3C0↑o
.rodata:0000000001F24D04 FA 00 00 00+                                                  ; sub_CDE2F0+D4↑o
.rodata:0000000001F24D04 00 00 00 00+                DCD 15, 100, 0
.rodata:0000000001F24D04 0F 00 00 00+                DCD 7, 50, 0
.rodata:0000000001F24D04 64 00 00 00+                DCD 3, 20, 0

so... just change them to 0,100,100 and 0,1000,0 or just use the shiny code...
 
  • Like
Reactions: Stoned

Purple_Heart

GBATemp´s weirdest Individual
Member
Joined
Oct 11, 2015
Messages
4,401
Trophies
1
Age
28
Location
Hamburg
XP
3,725
Country
Germany
can someone send a pic of the last evolution if the water starter...in sword i took fire but grass evos are not my type i need to know the water evos...google doesnt show sh.....
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
These values are stored in .rodata (Sword):
Code:
.rodata:0000000001F24CB0 F4 01 00 00+BattleTable     DCD 500, 30, 6                    ; DATA XREF: sub_CDE2F0+1E0↑o
.rodata:0000000001F24CB0 1E 00 00 00+                                                  ; sub_CDE2F0+1E4↑o
.rodata:0000000001F24CB0 06 00 00 00+                DCD 300, 30, 5
.rodata:0000000001F24CB0 2C 01 00 00+                DCD 200, 30, 4
.rodata:0000000001F24CB0 1E 00 00 00+                DCD 100, 30, 3
.rodata:0000000001F24CB0 05 00 00 00+                DCD 50, 25, 2
.rodata:0000000001F24CB0 C8 00 00 00+                DCD 20, 20, 1
.rodata:0000000001F24CB0 1E 00 00 00+                DCD 1, 15, 1
.rodata:0000000001F24D04             ; _DWORD ChainTable[12]
.rodata:0000000001F24D04 19 00 00 00+ChainTable      DCD 25, 250, 0                    ; DATA XREF: sub_CDE2F0:loc_CDE3C0↑o
.rodata:0000000001F24D04 FA 00 00 00+                                                  ; sub_CDE2F0+D4↑o
.rodata:0000000001F24D04 00 00 00 00+                DCD 15, 100, 0
.rodata:0000000001F24D04 0F 00 00 00+                DCD 7, 50, 0
.rodata:0000000001F24D04 64 00 00 00+                DCD 3, 20, 0

so... just change them to 0,100,100 and 0,1000,0 or just use the shiny code...
Oh, perfect. Instead of having it return 500 and 25, we can mod the table to give the max bonuses on a battle and chain count of 0 instead. Thank you!
 

Evildood

Well-Known Member
Newcomer
Joined
Oct 20, 2019
Messages
48
Trophies
0
Location
Flavortown
XP
251
Country
United States
why you guys care legal pkm or not? are you guys about to go online? just ask
also, is it able to use shield cheats for sword and vice versa?

Cause people will transfer them to a 2nd legit copy and use them online/sell perfect stat shinys and shit which is whack but w.e,
Some of the codes seem to work with both as people have reported such
 
  • Like
Reactions: rocky_2016

Purple_Heart

GBATemp´s weirdest Individual
Member
Joined
Oct 11, 2015
Messages
4,401
Trophies
1
Age
28
Location
Hamburg
XP
3,725
Country
Germany
oh ok thats the reason then ill start new ...was infront of the starters to choose anyways

--------------------- MERGED ---------------------------

i need to delete sword save too...random crashes...but had 5 badges :cry:

--------------------- MERGED ---------------------------

do someone have a female save...atleast 3 badges? (sword)
 

BaNd1t

New Member
Newbie
Joined
Nov 14, 2019
Messages
1
Trophies
0
Age
44
XP
33
Country
United States
Is it possible that we could maybe get this as a pinned post with a download link that has the complete complied update codes text all in one file that would get updated as the codes come in or what not? If so it would be greatly appreciated. Thank You :-)
 
  • Like
Reactions: AlterZero

lane87

Active Member
Newcomer
Joined
Nov 15, 2018
Messages
32
Trophies
0
Age
37
XP
67
Country
United States
Pokemon shield randomizer:

[Random encounter]
021F0000 49bb4548 0000032D
021F0000 49bb45a6 0000032D
021F0000 49bb6238 0000032D
021F0000 49bb6296 0000032D
021F0000 49d8a490 0000032D
021F0000 8d45c160 0000032D
021F0000 8d45c390 0000032D
021F0000 8d4746b0 0000032D
021F0000 8d4748e0 0000032D
021F0000 8d756788 0000032D
021F0000 8d756a00 0000032D
021F0000 ac840848 0000032D

change 23d to any pokemon hex id

not working properly. Have to check this
Change 23d? Do you mean 32D? Do I change each 32D on each line to the HEX ID of a pokemon? But say Bulbasaur has a hex ID of 01..... Do I change that from 32D to 001 then on each line?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs