Update debug_relocate.asm
This commit is contained in:
parent
942927aaa9
commit
3b2455cec5
|
@ -25,65 +25,65 @@ mov r15,r14
|
||||||
.pool
|
.pool
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if _debug ==1
|
; .if _debug ==1
|
||||||
.align 2
|
; .align 2
|
||||||
Debug_UnlockAllStages:
|
; Debug_UnlockAllStages:
|
||||||
push r0-r2,r14
|
; push r0-r2,r14
|
||||||
ldr r0,= 0x030046a8
|
; ldr r0,= 0x030046a8
|
||||||
ldr r0,[r0]
|
; ldr r0,[r0]
|
||||||
add r0,0x16
|
; add r0,0x16
|
||||||
mov r1,0x37
|
; mov r1,0x37
|
||||||
mov r2,4
|
; mov r2,4
|
||||||
@@fillstart:
|
; @@fillstart:
|
||||||
strb r2,[r0,r1]
|
; strb r2,[r0,r1]
|
||||||
sub r1,1
|
; sub r1,1
|
||||||
bge @@fillstart
|
; bge @@fillstart
|
||||||
pop r0-r2,r15
|
; pop r0-r2,r15
|
||||||
.pool
|
; .pool
|
||||||
|
|
||||||
Debug_UnlockAllMail:
|
; Debug_UnlockAllMail:
|
||||||
push r0-r2,r14
|
; push r0-r2,r14
|
||||||
ldr r0,=0x030046a8
|
; ldr r0,=0x030046a8
|
||||||
ldr r0,[r0]
|
; ldr r0,[r0]
|
||||||
ldr r1,=0x27B
|
; ldr r1,=0x27B
|
||||||
add r0,r0,r1
|
; add r0,r0,r1
|
||||||
mov r1,0x13
|
; mov r1,0x13
|
||||||
mov r2,1
|
; mov r2,1
|
||||||
@@fillstart:
|
; @@fillstart:
|
||||||
strb r2,[r0,r1]
|
; strb r2,[r0,r1]
|
||||||
sub r1,1
|
; sub r1,1
|
||||||
bge @@fillstart
|
; bge @@fillstart
|
||||||
pop r0-r2,r15
|
; pop r0-r2,r15
|
||||||
.pool
|
; .pool
|
||||||
|
|
||||||
Debug_99Medals:
|
; Debug_99Medals:
|
||||||
push r0-r1,r14
|
; push r0-r1,r14
|
||||||
ldr r0,=0x030046a8
|
; ldr r0,=0x030046a8
|
||||||
ldr r0,[r0]
|
; ldr r0,[r0]
|
||||||
ldr r1,=0x29E
|
; ldr r1,=0x29E
|
||||||
add r0,r0,r1
|
; add r0,r0,r1
|
||||||
mov r1,0xFF
|
; mov r1,0xFF
|
||||||
strb r1,[r0]
|
; strb r1,[r0]
|
||||||
pop r0-r1,r15
|
; pop r0-r1,r15
|
||||||
.pool
|
; .pool
|
||||||
|
|
||||||
Debug_UnlockAllStages_Hook:
|
; Debug_UnlockAllStages_Hook:
|
||||||
push r14
|
; push r14
|
||||||
bl Debug_UnlockAllStages
|
; bl Debug_UnlockAllStages
|
||||||
bl 0x080128B8
|
; bl 0x080128B8
|
||||||
pop r15
|
; pop r15
|
||||||
|
|
||||||
Debug_UnlockAllMail_Hook:
|
; Debug_UnlockAllMail_Hook:
|
||||||
push r14
|
; push r14
|
||||||
bl 0x0800C3B8
|
; bl 0x0800C3B8
|
||||||
bl Debug_UnlockAllMail
|
; bl Debug_UnlockAllMail
|
||||||
pop r15
|
; pop r15
|
||||||
|
|
||||||
Debug_99Medals_Hook:
|
; Debug_99Medals_Hook:
|
||||||
push r14
|
; push r14
|
||||||
bl Debug_99Medals
|
; bl Debug_99Medals
|
||||||
bl 0x0801D23C
|
; bl 0x0801D23C
|
||||||
pop r15
|
; pop r15
|
||||||
|
|
||||||
.endif
|
; .endif
|
||||||
;eof
|
;eof
|
||||||
|
|
Loading…
Reference in New Issue