summaryrefslogtreecommitdiff
path: root/asm/code_8090208.s
diff options
context:
space:
mode:
authorDennis <dhilhorst2000@gmail.com>2021-08-01 21:09:13 +0200
committerGitHub <noreply@github.com>2021-08-01 12:09:13 -0700
commit26e5708818765e2abaab29b6ffdfa8f01a5600b7 (patch)
tree28fe7891cad7a46da5e88f0293e2a9f855e14203 /asm/code_8090208.s
parent645c45431b0e091234699c3706ff90d1654cfb57 (diff)
More pokemon related decomp (#48)
* add struct names * decompile SaveRecruitedPokemon * decompile ReadRecruitedPokemon * decomp anotha one * some renaming * another save function * more backup functions * sub_808E400 * only one function left in pokemon_2.s * decomp one more function * merge 2 structs
Diffstat (limited to 'asm/code_8090208.s')
-rw-r--r--asm/code_8090208.s20
1 files changed, 10 insertions, 10 deletions
diff --git a/asm/code_8090208.s b/asm/code_8090208.s
index 19e7efa..05fb931 100644
--- a/asm/code_8090208.s
+++ b/asm/code_8090208.s
@@ -60,25 +60,25 @@ _080902EE:
bx r1
thumb_func_end sub_80902C8
- thumb_func_start sub_80902F4
-sub_80902F4:
+ thumb_func_start xxx_save_poke_sub_4_80902F4
+xxx_save_poke_sub_4_80902F4:
push {r4,r5,lr}
adds r5, r0, 0
adds r4, r1, 0
movs r2, 0x7
- bl sub_809488C
+ bl SaveIntegerBits
adds r4, 0x1
adds r0, r5, 0
adds r1, r4, 0
movs r2, 0x7
- bl sub_809488C
+ bl SaveIntegerBits
pop {r4,r5}
pop {r0}
bx r0
- thumb_func_end sub_80902F4
+ thumb_func_end xxx_save_poke_sub_4_80902F4
- thumb_func_start sub_8090314
-sub_8090314:
+ thumb_func_start xxx_restore_poke_sub_4_8090314
+xxx_restore_poke_sub_4_8090314:
push {r4,r5,lr}
adds r5, r0, 0
adds r4, r1, 0
@@ -87,16 +87,16 @@ sub_8090314:
strb r0, [r4, 0x1]
adds r0, r5, 0
movs r2, 0x7
- bl sub_8094924
+ bl RestoreIntegerBits
adds r4, 0x1
adds r0, r5, 0
adds r1, r4, 0
movs r2, 0x7
- bl sub_8094924
+ bl RestoreIntegerBits
pop {r4,r5}
pop {r0}
bx r0
- thumb_func_end sub_8090314
+ thumb_func_end xxx_restore_poke_sub_4_8090314
thumb_func_start sub_809033C
sub_809033C: