From 74503035e13278c162ff7dc70a892e3a8d93384c Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Wed, 25 Dec 2024 19:47:09 +0100 Subject: [PATCH 1/2] Destiny Bond and OHKO moves are blocked by Dynamax --- src/battle_dynamax.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle_dynamax.c b/src/battle_dynamax.c index 17425b51d875..5d554cbaf33a 100644 --- a/src/battle_dynamax.c +++ b/src/battle_dynamax.c @@ -244,6 +244,8 @@ bool32 IsMoveBlockedByDynamax(u32 move) { case EFFECT_HEAT_CRASH: case EFFECT_LOW_KICK: + case EFFECT_OHKO: + case EFFECT_DESTINTY_BOND: return TRUE; } return FALSE; From ff78f317a826c940c98c114913a11164b07e52b4 Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Wed, 25 Dec 2024 20:05:08 +0100 Subject: [PATCH 2/2] fixes spelling --- src/battle_dynamax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_dynamax.c b/src/battle_dynamax.c index 5d554cbaf33a..13bed97de965 100644 --- a/src/battle_dynamax.c +++ b/src/battle_dynamax.c @@ -242,10 +242,10 @@ bool32 IsMoveBlockedByDynamax(u32 move) // TODO: Certain moves are banned in raids. switch (gMovesInfo[move].effect) { + case EFFECT_DESTINY_BOND: case EFFECT_HEAT_CRASH: case EFFECT_LOW_KICK: case EFFECT_OHKO: - case EFFECT_DESTINTY_BOND: return TRUE; } return FALSE;