decomp MOD52_021D74E0

This commit is contained in:
Rémi Calixte
2021-03-15 20:49:20 +01:00
parent 435054bfb3
commit 2583e31480
4 changed files with 15 additions and 14 deletions
+1
View File
@@ -899,6 +899,7 @@ Overlay MODULE_52
{
##Some kind of transition overlay for intro##
After arm9
Object module_52_c.o
Object module_52.o
}
+1
View File
@@ -8519,3 +8519,4 @@
.extern CARDi_InitCommon
.extern MonNotFaintedOrEgg
.extern CountAlivePokemon
.extern MOD52_021D74E0
-14
View File
@@ -3,20 +3,6 @@
.section .text
.balign 4, 0
thumb_func_start MOD52_021D74E0
MOD52_021D74E0: ; 0x021D74E0
push {r3, lr}
mov r2, #2
mov r0, #3
mov r1, #0x4d
lsl r2, r2, #0x10
bl FUN_0201681C
bl InitializeMainRNG
mov r0, #1
pop {r3, pc}
.align 2, 0
thumb_func_end MOD52_021D74E0
thumb_func_start MOD52_021D74F8
MOD52_021D74F8: ; 0x021D74F8
push {r3, lr}
+13
View File
@@ -0,0 +1,13 @@
#include "global.h"
#include "main.h"
extern void FUN_0201681C(u32 param0, u32 heap_id, u32 param2);
extern void MOD52_021D769C(u32 heap_id, u32 param1);
THUMB_FUNC int MOD52_021D74E0() {
FUN_0201681C(3, 0x4d, 2 << 16);
InitializeMainRNG();
return 1;
}