diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-29 15:22:33 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-29 15:22:33 -0400 |
commit | d172b9ed71485e45f4896beb637ab536e10cc138 (patch) | |
tree | 05b1a4fd706d30cf065aa76017975ac7dba133bf /src/script_pokemon_util_80F99CC.c | |
parent | 0117d43fa758bfc12a8bf5c3dd09a625556a644c (diff) |
Merge structs at 02019348
Diffstat (limited to 'src/script_pokemon_util_80F99CC.c')
-rw-r--r-- | src/script_pokemon_util_80F99CC.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script_pokemon_util_80F99CC.c b/src/script_pokemon_util_80F99CC.c index 89c803a8b..f0d51a163 100644 --- a/src/script_pokemon_util_80F99CC.c +++ b/src/script_pokemon_util_80F99CC.c @@ -301,7 +301,7 @@ void ScrSpecial_GetPokemonNicknameAndMoveName(void) StringCopy(gStringVar2, gMoveNames[data]); } -void sub_80F9FDC(struct Pokemon *pkmn, u8 moveIndex1, u8 moveIndex2) +static void SwapMoveSlots(struct Pokemon *pkmn, u8 moveIndex1, u8 moveIndex2) { u16 move1 = GetMonData(pkmn, MON_DATA_MOVE1 + moveIndex1); u16 move2 = GetMonData(pkmn, MON_DATA_MOVE1 + moveIndex2); @@ -331,7 +331,7 @@ void DeleteMonMove(void) RemoveMonPPBonus(&gPlayerParty[gSpecialVar_0x8004], gSpecialVar_0x8005); for (i = gSpecialVar_0x8005; i < 3; i++) - sub_80F9FDC(&gPlayerParty[gSpecialVar_0x8004], i, i + 1); + SwapMoveSlots(&gPlayerParty[gSpecialVar_0x8004], i, i + 1); } void IsSelectedMonEgg(void) |