ROM Hack Pokemon Sword and Shield Cheats/Hacks/PKHex

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
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,392
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
687
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,392
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,412
Trophies
1
Age
28
Location
Hamburg
XP
3,738
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,009
Trophies
2
Age
36
XP
4,571
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,412
Trophies
1
Age
28
Location
Hamburg
XP
3,738
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
  • BigOnYa @ BigOnYa:
    6/10 rating on steam
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
  • K3Nv2 @ K3Nv2:
    Used this one 5 times already impossible to clean
  • BigOnYa @ BigOnYa:
    @K3Nv2 I didn't know Sonic serves they food in baking pans.
  • Psionic Roshambo @ Psionic Roshambo:
    Condoms are only meant to be used once Ken lol
    Psionic Roshambo @ Psionic Roshambo: Condoms are only meant to be used once Ken lol