diff options
author | YamaArashi <shadow962@live.com> | 2017-02-03 16:44:06 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2017-02-03 16:44:06 -0800 |
commit | e2b834d21d96332c5bcf788b390a09e285c7a5cb (patch) | |
tree | 03034791bdc8e08ccbeeec1bce4777305c46e486 /asm/load_save.s | |
parent | ae1f731e60360437044c724675627c56bf404f25 (diff) |
begin decompiling main.s
Diffstat (limited to 'asm/load_save.s')
-rw-r--r-- | asm/load_save.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/load_save.s b/asm/load_save.s index 7d1ea5efa..9bf3e44b2 100644 --- a/asm/load_save.s +++ b/asm/load_save.s @@ -13,14 +13,14 @@ CheckForFlashMemory: @ 8076B68 lsls r0, 16 cmp r0, 0 bne _08076B84 - ldr r1, =gUnknown_03005D88 + ldr r1, =gFlashMemoryPresent movs r0, 0x1 str r0, [r1] bl StartFlashMemoryTimer b _08076B8A .pool _08076B84: - ldr r1, =gUnknown_03005D88 + ldr r1, =gFlashMemoryPresent movs r0, 0 str r0, [r1] _08076B8A: @@ -102,7 +102,7 @@ saveblock_randomize_and_relocate: @ 8076C2C mov r5, r8 push {r5-r7} sub sp, 0x8 - ldr r5, =gUnknown_030022C0 + ldr r5, =gMain ldr r0, [r5, 0xC] str r0, [sp] ldr r1, [r5, 0x10] |