Skip to content

Commit 403a745

Browse files
committed
Bug fix Where Tri Attack can Freeze Even if Brostbite is Turned On.
1 parent 7759931 commit 403a745

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/battle_script_commands.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2962,6 +2962,8 @@ void SetMoveEffect(bool8 primary, u8 certain)
29622962
else
29632963
{
29642964
gBattleCommunication[MOVE_EFFECT_BYTE] = Random() % 3 + 3;
2965+
if (FlagGet(FLAG_USE_FROSTBITE) && gBattleCommunication[MOVE_EFFECT_BYTE] == MOVE_EFFECT_FREEZE)
2966+
gBattleCommunication[MOVE_EFFECT_BYTE] = MOVE_EFFECT_FROSTBITE;
29652967
SetMoveEffect(FALSE, 0);
29662968
}
29672969
break;

0 commit comments

Comments
 (0)