summaryrefslogtreecommitdiff
path: root/arm9/asm/unk_0206439C.s
blob: 76ea9f7f9ce74a4483bff5cc80c73d0c5acaa106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
    .include "asm/macros.inc"
    .include "global.inc"

	.text

	thumb_func_start FUN_0206439C
FUN_0206439C: ; 0x0206439C
	push {r4-r6, lr}
	add r5, r1, #0x0
	add r6, r2, #0x0
	mov r1, #0x8
	bl AllocFromHeapAtEnd
	add r4, r0, #0x0
	add r0, r6, #0x0
	bl FUN_0206BB1C
	add r1, r5, #0x0
	bl GetPartyMonByIndex
	str r0, [r4, #0x0]
	mov r0, #0x0
	str r0, [r4, #0x4]
	add r0, r4, #0x0
	pop {r4-r6, pc}