summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-03-16 09:58:32 +0100
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-03-16 09:58:32 +0100
commitd0d866e6b7478d051e3943fdfaa3fc5ff0a5b5dd (patch)
tree4c2c90017647302cd3f7eb7a3c7c7c09a0a608b1
parentb37cbfed36a331b574c3a17c557293ccd187874d (diff)
decomp FUN_02024EC0
-rw-r--r--arm9/asm/unk_02024E64.s7
-rw-r--r--arm9/global.inc3
-rw-r--r--arm9/src/unk_02024E64_c.c5
3 files changed, 7 insertions, 8 deletions
diff --git a/arm9/asm/unk_02024E64.s b/arm9/asm/unk_02024E64.s
index 8f726e3d..b45ae679 100644
--- a/arm9/asm/unk_02024E64.s
+++ b/arm9/asm/unk_02024E64.s
@@ -4,13 +4,6 @@
.text
- thumb_func_start FUN_02024EC0
-FUN_02024EC0: ; 0x02024EC0
- ldr r3, _02024EC8 ; =FUN_02022634
- mov r1, #0xa
- bx r3
- nop
-_02024EC8: .word FUN_02022634
thumb_func_start FUN_02024ECC
FUN_02024ECC: ; 0x02024ECC
diff --git a/arm9/global.inc b/arm9/global.inc
index 54e64ba2..022195ce 100644
--- a/arm9/global.inc
+++ b/arm9/global.inc
@@ -8521,4 +8521,5 @@
.extern CountAlivePokemon
.extern FUN_02024E64
.extern FUN_02024E6C
-.extern FUN_02024EB4 \ No newline at end of file
+.extern FUN_02024EB4
+.extern FUN_02024EC0 \ No newline at end of file
diff --git a/arm9/src/unk_02024E64_c.c b/arm9/src/unk_02024E64_c.c
index 08982a4f..04c26f16 100644
--- a/arm9/src/unk_02024E64_c.c
+++ b/arm9/src/unk_02024E64_c.c
@@ -25,4 +25,9 @@ THUMB_FUNC void FUN_02024E6C(void *param0)
THUMB_FUNC void *FUN_02024EB4(struct SaveBlock2 *sav2)
{
return SavArray_get(sav2, 0xa);
+}
+
+THUMB_FUNC void *FUN_02024EC0(struct SaveBlock2 *sav2)
+{
+ return FUN_02022634(sav2, 0xa);
} \ No newline at end of file