sub_80E9A90
This commit is contained in:
parent
84a9441267
commit
49f3ccaf29
2 changed files with 10 additions and 21 deletions
|
@ -5,27 +5,6 @@
|
|||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_80E9A90
|
||||
sub_80E9A90: @ 80E9A90
|
||||
push {r4-r6,lr}
|
||||
ldr r5, =gSaveBlock1Ptr
|
||||
ldr r0, [r5]
|
||||
ldr r4, =0x00001aaa
|
||||
adds r1, r0, r4
|
||||
ldrh r6, [r1]
|
||||
ldr r1, =0x00001a9c
|
||||
adds r0, r1
|
||||
bl sub_80E8AF0
|
||||
ldr r0, [r5]
|
||||
adds r0, r4
|
||||
strh r6, [r0]
|
||||
bl sub_80E9728
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_80E9A90
|
||||
|
||||
thumb_func_start sub_80E9AC0
|
||||
sub_80E9AC0: @ 80E9AC0
|
||||
push {lr}
|
||||
|
|
|
@ -850,3 +850,13 @@ __attribute__((naked)) void sub_80E9914(void)
|
|||
"\t.pool");
|
||||
}
|
||||
#endif
|
||||
|
||||
void sub_80E9A90(void)
|
||||
{
|
||||
u16 sbr_e;
|
||||
|
||||
sbr_e = gSaveBlock1Ptr->secretBases[0].sbr_field_e;
|
||||
sub_80E8AF0(&gSaveBlock1Ptr->secretBases[0]);
|
||||
gSaveBlock1Ptr->secretBases[0].sbr_field_e = sbr_e;
|
||||
sub_80E9728();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue