diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/battle_script_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 23e988dd2..454daf1fc 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -2775,7 +2775,7 @@ void SetMoveEffect(bool8 primary, u8 certainArg) BattleScriptPush(gBattlescriptCurrInstr + 1); gBattlescriptCurrInstr = BattleScript_KnockedOff; - *CHOICED_MOVE(gEffectBattler) = 0; + *((u16 *)&gSharedMem[BSTRUCT_OFF(choicedMove) + gEffectBattler * 2]) = MOVE_NONE; } break; case 59: //overheat |