summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-17 12:26:01 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-17 12:26:01 +0800
commit1862f70466d6047d1585fe2487de5aa4fa1e8324 (patch)
tree10a8695853bf02bc692db3f3d3840f8c818aba7d /src/battle_script_commands.c
parentf03807931fa6451c446dc931cd755c697f7177a4 (diff)
thru BattleIntroDrawTrainersOrMonsSprites
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index ecc8e3d36..46120085a 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -9515,7 +9515,7 @@ static void atkEF_handleballthrow(void)
else
{
if (gBattleResults.catchAttempts[gLastUsedItem - ITEM_ULTRA_BALL] < 0xFF)
- gBattleResults.catchAttempts[gLastUsedItem - ITEM_ULTRA_BALL]++;
+ ++gBattleResults.catchAttempts[gLastUsedItem - ITEM_ULTRA_BALL];
}
}
if (odds > 254) // mon caught