Update src/battle_util.c
Changed an `if` to `else if` Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
c4b700a8e7
commit
517763bc9f
1 changed files with 1 additions and 1 deletions
|
@ -8371,7 +8371,7 @@ u8 GetBattleMoveSplit(u32 moveId)
|
|||
{
|
||||
if (gSwapDamageCategory == TRUE) // Photon Geyser, Shell Side Arm, Light That Burns the Sky
|
||||
return SPLIT_PHYSICAL;
|
||||
if (IS_MOVE_STATUS(moveId) || B_PHYSICAL_SPECIAL_SPLIT >= GEN_4)
|
||||
else if (IS_MOVE_STATUS(moveId) || B_PHYSICAL_SPECIAL_SPLIT >= GEN_4)
|
||||
return gBattleMoves[moveId].split;
|
||||
else if (gBattleMoves[moveId].type < TYPE_MYSTERY)
|
||||
return SPLIT_PHYSICAL;
|
||||
|
|
Loading…
Reference in a new issue