Decomped ov29_022DEB40

Decomped by ElectricGeorge
This commit is contained in:
AnonymousRandomPerson 2025-06-15 17:52:45 -05:00
parent 2aca93a387
commit dc245a1890
5 changed files with 16 additions and 31 deletions

View File

@ -101,6 +101,7 @@
.public ov29_022DE930
.public ov29_022DEA34
.public ov29_022DEADC
.public ov29_022DEB40
.public ov29_022E0434
.public ov29_022E081C
.public ov29_022E0DFC

View File

@ -1,37 +1,8 @@
.include "asm/macros.inc"
.include "overlay_29_022DEB40.inc"
.include "overlay_29_022DEBA4.inc"
.text
arm_func_start ov29_022DEB40
ov29_022DEB40: ; 0x022DEB40
stmdb sp!, {r3, lr}
mov r0, #2
mov r1, #0x4000
mov r2, #0
bl StartFadeDungeonWrapper
mov r0, #0
bl ov29_0234C738
mov r0, #1
bl ov29_0234C654
mov r0, #0
mov r1, r0
bl sub_020091B0
mov r0, #1
mov r1, #0
bl sub_020091B0
mov r0, #2
mov r1, #0
bl sub_020091B0
mov r0, #3
mov r1, #0
bl sub_020091B0
mov r0, #4
mov r1, #0
bl sub_020091B0
ldmia sp!, {r3, pc}
arm_func_end ov29_022DEB40
arm_func_start ov29_022DEBA4
ov29_022DEBA4: ; 0x022DEBA4
ldr ip, _022DEBAC ; =ov29_022DEADC

View File

@ -13,5 +13,6 @@ void DungeonZInit(void);
// Frees the dungeons struct pointer to by the master dungeon pointer, and nullifies the pointer.
void DungeonFree(void);
void ov29_022DEADC();
void ov29_022DEB40();
#endif //PMDSKY_OVERLAY_29_022DEAB0_H

View File

@ -266,7 +266,7 @@ Overlay OVY_29
Object src/overlay_29_022DC61C.o
Object asm/overlay_29_022DC65C.o
Object src/overlay_29_022DEAB0.o
Object asm/overlay_29_022DEB40.o
Object asm/overlay_29_022DEBA4.o
Object src/dg.o
Object asm/overlay_29_022E0378.o
Object src/overlay_29_022E1610.o

View File

@ -57,3 +57,15 @@ void ov29_022DEADC()
StartFadeDungeonWrapper(1, 0x4000, 0);
ov29_0234C738(0);
}
void ov29_022DEB40()
{
StartFadeDungeonWrapper(2, 0x4000, 0);
ov29_0234C738(0);
ov29_0234C654(1);
sub_020091B0(0, 0);
sub_020091B0(1, 0);
sub_020091B0(2, 0);
sub_020091B0(3, 0);
sub_020091B0(4, 0);
}