diff --git a/asm/code_801EE10.s b/asm/code_801EE10.s index 885373fed..404df9899 100644 --- a/asm/code_801EE10.s +++ b/asm/code_801EE10.s @@ -218,7 +218,7 @@ _0801EFCA: adds r4, 0x1C ldr r0, [r0, 0x10] adds r1, r6, 0 - bl sub_8092E54 + bl unk_FindMoveEnabledForAIAfter8_v2 b _0801EFF8 .align 2, 0 _0801EFE0: .4byte gUnknown_203B270 @@ -231,7 +231,7 @@ _0801EFE4: adds r4, 0x1C ldr r0, [r0, 0x10] adds r1, r6, 0 - bl sub_8092EEC + bl unk_FindMoveEnabledForAIBefore8_v2 _0801EFF8: adds r1, r0, 0 adds r0, r4, 0 diff --git a/asm/code_805D8C8.s b/asm/code_805D8C8.s index 1f802342a..2862f6515 100644 --- a/asm/code_805D8C8.s +++ b/asm/code_805D8C8.s @@ -10886,7 +10886,7 @@ _080630BA: lsls r0, 1 add r0, r9 adds r1, r6, 0 - bl sub_8092D80 + bl unk_FindMoveEnabledForAIAfter4 adds r1, r0, 0 ldr r0, _08063118 bl sub_8013780 @@ -12701,7 +12701,7 @@ _08063EEC: ldrsh r4, [r1, r2] adds r0, r7, 0 adds r1, r4, 0 - bl sub_8092E1C + bl unk_FindMoveEnabledForAIAfter8 adds r1, r0, 0 mov r0, r8 bl sub_8013780 @@ -12724,7 +12724,7 @@ _08063F2A: ldrsh r4, [r1, r2] adds r0, r7, 0 adds r1, r4, 0 - bl sub_8092E8C + bl unk_FindMoveEnabledForAIBefore8 adds r1, r0, 0 mov r0, r8 bl sub_8013780 diff --git a/src/moves.c b/src/moves.c index 6c41d9366..334fe03fa 100644 --- a/src/moves.c +++ b/src/moves.c @@ -343,7 +343,7 @@ void sub_8092D54(u8 *buffer, struct Move *move) // this function is the same as the two after the next one // except this one is for 4, and the other 2 for 8 and 8_v2 -int sub_8092D80(struct Move* moves, int index) { +int unk_FindMoveEnabledForAIAfter4(struct Move* moves, int index) { int i; for (i = 0; i < 4; i++) { @@ -398,7 +398,7 @@ int sub_8092DB8(struct Move* moves, int index) { return 0; } -int sub_8092E1C(struct Move* moves, int index) { +int unk_FindMoveEnabledForAIAfter8(struct Move* moves, int index) { int i; for (i = 0; i < 8; i++) { @@ -420,7 +420,7 @@ int sub_8092E1C(struct Move* moves, int index) { return 0; } -int sub_8092E54(struct Move* moves, int index) { +int unk_FindMoveEnabledForAIAfter8_v2(struct Move* moves, int index) { int i; for (i = 0; i < 8; i++) { @@ -444,7 +444,7 @@ int sub_8092E54(struct Move* moves, int index) { // the next 2 functions are the same // should be 8 and 8_v2 -int sub_8092E8C(struct Move* moves, int index) { +int unk_FindMoveEnabledForAIBefore8(struct Move* moves, int index) { int i, j; for (i = 0; i < 8; i++) { @@ -477,7 +477,7 @@ int sub_8092E8C(struct Move* moves, int index) { return 0; } -int sub_8092EEC(struct Move* moves, int index) { +int unk_FindMoveEnabledForAIBefore8_v2(struct Move* moves, int index) { int i, j; for (i = 0; i < 8; i++) {