From 47dce452e95ca9e76895e2a74d294a7f78292821 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sun, 24 Feb 2019 10:04:21 +0100 Subject: [PATCH] Fix missing moves mentioning typechart --- src/battle_script_commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index d3be76bf61..f12583f674 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1264,7 +1264,8 @@ static void atk01_accuracycheck(void) else gBattleCommunication[6] = 0; - CalcTypeEffectivenessMultiplier(move, type, gBattlerAttacker, gBattlerTarget, TRUE); + if (gBattleMoves[move].power) + CalcTypeEffectivenessMultiplier(move, type, gBattlerAttacker, gBattlerTarget, TRUE); } JumpIfMoveFailed(7, move); }