diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-07-04 20:43:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 20:43:35 +0100 |
commit | 97efa5f28e697c85d0a47c45f04b0b69dbf699b0 (patch) | |
tree | 11170461b662a3a82ee98b62c6759c220f9f1f42 /arm9/modules/05 | |
parent | bda7592e05336a32f102e3fa15ab1c345f5c716a (diff) | |
parent | 0eb6a485e0e3fba97fdc6f7157895f3ef607339a (diff) |
Merge pull request #422 from tgsm/map_header
Document more of map_header
Diffstat (limited to 'arm9/modules/05')
-rw-r--r-- | arm9/modules/05/asm/mod05_021D74E0.s | 2 | ||||
-rw-r--r-- | arm9/modules/05/asm/mod05_021D80E8.s | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arm9/modules/05/asm/mod05_021D74E0.s b/arm9/modules/05/asm/mod05_021D74E0.s index 9cea7a32..82339e4e 100644 --- a/arm9/modules/05/asm/mod05_021D74E0.s +++ b/arm9/modules/05/asm/mod05_021D74E0.s @@ -542,7 +542,7 @@ MOD05_021D79B4: ; 0x021D79B4 add r5, r0, #0 ldr r0, [r5, #0x1c] ldr r0, [r0] - bl MapHeader_MapIsOnOverworldMatrix + bl MapHeader_MapIsOnMainMatrix cmp r0, #0 beq _021D79FE ldr r0, [r5, #0xc] diff --git a/arm9/modules/05/asm/mod05_021D80E8.s b/arm9/modules/05/asm/mod05_021D80E8.s index bda94277..7af8c0ec 100644 --- a/arm9/modules/05/asm/mod05_021D80E8.s +++ b/arm9/modules/05/asm/mod05_021D80E8.s @@ -2216,11 +2216,11 @@ MOD05_021D9290: ; 0x021D9290 beq _021D92DA ldr r0, [r4, #0x1c] ldr r0, [r0] - bl MapHeader_MapIsOnOverworldMatrix + bl MapHeader_MapIsOnMainMatrix cmp r0, #1 bne _021D931C ldr r0, [sp, #8] - bl MapHeader_MapIsOnOverworldMatrix + bl MapHeader_MapIsOnMainMatrix cmp r0, #0 bne _021D931C ldr r0, [r4, #0x38] @@ -2246,11 +2246,11 @@ _021D92DA: beq _021D931C ldr r0, [r4, #0x1c] ldr r0, [r0] - bl MapHeader_MapIsOnOverworldMatrix + bl MapHeader_MapIsOnMainMatrix cmp r0, #1 bne _021D931C ldr r0, [sp, #8] - bl MapHeader_MapIsOnOverworldMatrix + bl MapHeader_MapIsOnMainMatrix cmp r0, #0 bne _021D931C ldr r0, [r4, #0x38] |