summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-10-16 12:25:44 -0700
committerYamaArashi <shadow962@live.com>2016-10-16 12:25:44 -0700
commit12fcc3c7c8462cd554f321cdef38dea7986b998b (patch)
tree1542df9d51233cda3d5e5a609478bc047e329aaf /data
parent38d28d2c9165e5b3e6c768feb6d00310f6323c34 (diff)
save section locations
Diffstat (limited to 'data')
-rw-r--r--data/data2.s26
1 files changed, 21 insertions, 5 deletions
diff --git a/data/data2.s b/data/data2.s
index 4f2fc9ccc..9c7eb20d9 100644
--- a/data/data2.s
+++ b/data/data2.s
@@ -25818,11 +25818,27 @@ gUnknown_08401D9C:: @ 8401D9C
.4byte sub_8123EB8
.4byte sub_8123F44
-gUnknown_08401DA4:: @ 8401DA4
- .incbin "baserom.gba", 0x00401da4, 0x70
-
-gUnknown_08401E14:: @ 8401E14
- .incbin "baserom.gba", 0x00401e14, 0x10
+ .align 2
+gSaveSectionLocations:: @ 8401DA4
+ .4byte gSaveBlock2, 0x890
+ .4byte gSaveBlock1 + 0xF80 * 0, 0xF80
+ .4byte gSaveBlock1 + 0xF80 * 1, 0xF80
+ .4byte gSaveBlock1 + 0xF80 * 2, 0xF80
+ .4byte gSaveBlock1 + 0xF80 * 3, 0xC40
+ .4byte gPokemonStorage + 0xF80 * 0, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 1, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 2, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 3, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 4, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 5, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 6, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 7, 0xF80
+ .4byte gPokemonStorage + 0xF80 * 8, 0x7D0
+
+ .align 2
+gHallOfFameSaveSectionLocations:: @ 8401E14
+ .4byte gHallOfFame + 0xF80 * 0, 0xF80
+ .4byte gHallOfFame + 0xF80 * 1, 0xF80
gUnknown_08401E24:: @ 8401E24
.byte 0x1E, 0x1F @ flash sectors