summaryrefslogtreecommitdiff
path: root/arm9/modules/05
diff options
context:
space:
mode:
authorCharles D <gogume1er@gmail.com>2021-07-04 22:17:19 +0200
committerGitHub <noreply@github.com>2021-07-04 22:17:19 +0200
commit042e8e5a558d3fb9470234f1ffdfa42d3556d5d3 (patch)
treeb4d547f092ec9fedf15c2e2a4fb0be4e55b438e5 /arm9/modules/05
parent50d1f49f2b2b73663c447ae09e0fb3c602a1a973 (diff)
parent97efa5f28e697c85d0a47c45f04b0b69dbf699b0 (diff)
Merge branch 'master' into map_matrix
Diffstat (limited to 'arm9/modules/05')
-rw-r--r--arm9/modules/05/asm/mod05_021D74E0.s2
-rw-r--r--arm9/modules/05/asm/mod05_021D80E8.s8
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 e523b28d..1aad5cc7 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]