From fd45b383b18fe6134f16dc84614acd0f810fff8b Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Fri, 22 Dec 2023 23:38:57 +0100 Subject: [PATCH] Fix Photon Geyser (#3803) Co-authored-by: Bassoonian --- src/battle_script_commands.c | 1 + src/data/battle_moves.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index e2705433ca..7ac373b154 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -6111,6 +6111,7 @@ static void Cmd_moveend(void) gBattleStruct->zmove.effect = EFFECT_HIT; gBattleStruct->hitSwitchTargetFailed = FALSE; gBattleStruct->isAtkCancelerForCalledMove = FALSE; + gBattleStruct->swapDamageCategory = FALSE; gBattleStruct->enduredDamage = 0; gBattleScripting.moveendState++; break; diff --git a/src/data/battle_moves.h b/src/data/battle_moves.h index 6710af8e39..49f5a87847 100644 --- a/src/data/battle_moves.h +++ b/src/data/battle_moves.h @@ -11728,7 +11728,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT_DYNAMAX] = .accuracy = 100, .pp = 5, .secondaryEffectChance = 0, - .target = MOVE_TARGET_FOES_AND_ALLY, + .target = MOVE_TARGET_SELECTED, .priority = 0, .split = SPLIT_SPECIAL, .zMoveEffect = Z_EFFECT_NONE,