mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-06-01 05:01:11 -05:00
17 lines
252 B
ArmAsm
17 lines
252 B
ArmAsm
.include "asm/macros.inc"
|
|
.include "global.inc"
|
|
|
|
.public MI_SetWramBank
|
|
|
|
.text
|
|
|
|
arm_func_start MI_Init
|
|
MI_Init: ; 0x020D502C
|
|
stmdb sp!, {r3, lr}
|
|
mov r0, #3
|
|
bl MI_SetWramBank
|
|
mov r0, #0
|
|
bl MI_StopDma
|
|
ldmia sp!, {r3, pc}
|
|
arm_func_end MI_Init
|