Jump to content

SWSH Blocks and Save Research


Recommended Posts

Note: before we begin, this isn't a thread to ask for stuff or request stuff.
It's purely for documenting the info.

Event/Promoted Raids and Dynamax Crystal data

Spoiler

Lengths stay the same (thus far) across versions.
drop_rewards (length 0x426C)
dai_encount (length 0x1241C) [Dynamax crystal encounters]
normal_encount (length 0x23D4) [Event/Promoted Raid Nest]
bonus_rewards (length 0x116C4)

These files are exact copies of the filename found in the BCAT.

*Object KDropRewards is for drop_rewards
*Object KDaiEncount is for dai_encount
*Object KNormalEncount is for normal_encount
*Object KBonusRewards is for bonus_rewards

 

I simply had to place the existing those files into a fresh save with hacked in Dynamax Crystals, and those Crystals appear to spawn the mon just fine.
Note: We have uploaded the wild area event files. You can check our Event Gallery for it.

 

also tested shiny values for normal_encount
00 - Default
01 - Cannot Be Shiny
02 - Forced Square Shiny
03 - No Notable Purpose
04 - No Notable Purpose
05 - testing
06 - No Notable Purpose
etc.

 

Download Rules data

Spoiler

While the download rules does not appear to have a fixed block, they are all the same size: 0x2304

The blocks that occupied the rules are:
*Object KDownloadRules1
*Object KDownloadRules2
*Object KDownloadRules3
*Object KDownloadRules4
*Object KDownloadRules5
*Object KDownloadRules6

I simply had to place the existing 6 rules on a fresh save into those 6 blocks, and those 6 rules became usable on Link Battles.

While it is presently not known, these blocks share the same size:
*Object KDownloadRulesU1
*Object KDownloadRulesU2



Official Competition Data

Spoiler

Any text that Official Competitions will use, are in block *Object KOfficialCompetition

Once the competition ends and you try to view it (process of unlocking Mystery Gift tied to the competition), it will unlock the battle team you used, and this block is purged.

 

Fashion

Quote

Block key: *Object Fashion

Note: These are only potentially the changes, for Male save.
The bytes I documented seems accurate; the clothing gets unlocked for a fresh save.
For some scenarios, you gotta flip the binaries for existing values.

Sports Tracksuit
0x380: 0x01
0x400: 0x01
0x500: 0x01
0x583: Add 00000010 (binary)   [0x90 -> 0x92]
0x603: 0x01
0x683: Add 00000100 (binary)   [0x10 -> 0x14]


Quest Tee
0x48D: 0x01


Pikachu and Eevee uniform
0x482: Add 00110000 (binary)   [0xC8 -> 0xF8]
0x582: Add 01100000 (binary)   [0x90 -> 0xF0]
0x601: Add 00110000 (binary)   [0xC8 -> 0xF8]
0x682: Add 00110000 (binary)   [0xC8 -> 0xF8]
0x702: 0x18
0xC02: Add 00110000 (binary)   [0xC8 -> 0xF8]
0xD82: Add 00110000 (binary)   [0xC8 -> 0xF8]
0xF01: Add 00000010 (binary)   [0xA8 -> 0xAA]
 

Gold Studded Bagpack
0x505: 0x20
 

 

More to come.. maybe?

note: this page isn’t a FAQ. Go to the appropriate thread for that.

  • Like 9
  • Thanks 1
Link to post
Share on other sites
  • 4 months later...

Update:
0E615A8C - 0255 Object 0x23D4 contains normal_encount_rigel


Edit: I've been informed that, depending on whether your save took the path 1.0.0 -> 1.2.0 or 1.0.0 -> 1.1.0 -> 1.2.0,
the key ID name may actually be different.

In that case, look for a Object 0x23D4
  • Like 1
Link to post
Share on other sites
  • 4 months later...

For my save file,

6F66951C, 6F669A35, and 6F6696CF is the nat dex number of the Legendary Pokemon saved for the Max Lair

and changing these from bool2 to bool1 lets me catch these legends again in Max Lair

Solgaleo - F75B3E5F - 5001 Bool
Xerneas - F75830BB - 4995 Bool 

Edit:

These are the rest of the legends:

The TRUE ones are those checked manually the rest are most likely correct though

image.thumb.png.48762e10ab1cbdad19d69cab65ab2b9c.png

My save file is Sword (1.0 -> 1.2 -> 1.3 Save) btw

Edited by stealth742
Add Info
Link to post
Share on other sites

Spiritomb to appear overworld via having players interacted online
image.png
31A13425 - 1047 UInt32 0 Or
*UInt32 KPlayersInteractedOnline
(Full name in block editor, may depend on PKHeX version)

Value 32 or higher for this block, then interact with the gravestone for Spiritomb.
This value basically stores interacted with players online.

Note editing for Legendaries in Dynamax Adventures
image.png
6F669A35 - 2226 UInt32 0 or
*UInt32 KMaxLairSpeciesID1Noted
(Full name in block editor, may depend on PKHeX version)

You basically edit in the Pokedex ID. And you can only edit in entries that can be found in Dynamax entries.
If you edit in the ID of other species, the lady just treats it as tho there's no notes for that slot.

[Block names and numbers may differ if your save performed a different jump from v1.2->v1.3, for example v1.0->v1.3]
 

credits @ReignOfComputer

Link to post
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...