mirror of
https://github.com/pret/pokediamond.git
synced 2026-10-04 08:21:17 -04:00
decomp MOD52_021D74E0
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -8519,3 +8519,4 @@
|
||||
.extern CARDi_InitCommon
|
||||
.extern MonNotFaintedOrEgg
|
||||
.extern CountAlivePokemon
|
||||
.extern MOD52_021D74E0
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user