summaryrefslogtreecommitdiff
path: root/asm/script_pokemon_util_80BF8FC.s
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-10-11 11:56:24 -0500
committerGitHub <noreply@github.com>2018-10-11 11:56:24 -0500
commitbd88c803793a6e5c8f5d2ac1a852c912e980ef1d (patch)
treed45390654cd3f80ffccd4af95760133ef77366bd /asm/script_pokemon_util_80BF8FC.s
parent10fff9c6f2d29899952d1751d3de827e7e98bb60 (diff)
parent05d03f7f3256b143a01506421c19964bcceaea5c (diff)
Merge pull request #18 from ProjectRevoTPP/pokemon
almost finish decompiling pokemon.c
Diffstat (limited to 'asm/script_pokemon_util_80BF8FC.s')
-rw-r--r--asm/script_pokemon_util_80BF8FC.s14
1 files changed, 7 insertions, 7 deletions
diff --git a/asm/script_pokemon_util_80BF8FC.s b/asm/script_pokemon_util_80BF8FC.s
index 81b861413..c2184904c 100644
--- a/asm/script_pokemon_util_80BF8FC.s
+++ b/asm/script_pokemon_util_80BF8FC.s
@@ -107,7 +107,7 @@ sub_80BF9BC: @ 80BF9BC
ldr r0, _080BF9F0 @ =gPlayerParty
ldr r1, _080BF9F4 @ =gUnknown_20370C0
ldrb r1, [r1]
- ldr r2, _080BF9F8 @ =gUnknown_2024029
+ ldr r2, _080BF9F8 @ =gPlayerPartyCount
ldrb r2, [r2]
subs r2, 0x1
lsls r2, 24
@@ -128,7 +128,7 @@ sub_80BF9BC: @ 80BF9BC
.align 2, 0
_080BF9F0: .4byte gPlayerParty
_080BF9F4: .4byte gUnknown_20370C0
-_080BF9F8: .4byte gUnknown_2024029
+_080BF9F8: .4byte gPlayerPartyCount
_080BF9FC: .4byte c2_exit_to_overworld_2_switch
_080BFA00: .4byte gUnknown_3005020
_080BFA04: .4byte sub_807DD24
@@ -304,23 +304,23 @@ sub_80BFAA8: @ 80BFAA8
mov r0, r8
ldr r1, [sp, 0x8]
mov r2, sp
- bl sub_804037C
+ bl SetMonData
mov r0, r8
ldr r1, [sp, 0xC]
ldr r2, [sp, 0x14]
- bl sub_804037C
+ bl SetMonData
mov r0, r8
ldr r1, [sp, 0x10]
mov r2, r10
- bl sub_804037C
+ bl SetMonData
mov r0, r8
ldr r1, [sp, 0x1C]
ldr r2, [sp, 0x18]
- bl sub_804037C
+ bl SetMonData
mov r0, r8
movs r1, 0x15
adds r2, r6, 0
- bl sub_804037C
+ bl SetMonData
add sp, 0x20
pop {r3-r5}
mov r8, r3