mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-08 08:27:52 +01:00
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
@ -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…
x
Reference in New Issue
Block a user