From 3dbb096393c840a030706570e83af1cc561f4cf9 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Wed, 28 Apr 2021 21:50:23 -0300 Subject: [PATCH] Added Gravity's missing acc boost --- src/battle_script_commands.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index df3e8da3d9..13ee08b3d0 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1573,6 +1573,9 @@ u32 GetTotalAccuracy(u32 battlerAtk, u32 battlerDef, u32 move) calc = (calc * 120) / 100; // 20% acc boost } + if (gFieldStatuses & STATUS_FIELD_GRAVITY) + calc = (calc * 5) / 3; // 1.66 Gravity acc boost + return calc; }