summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-30 13:18:42 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-30 13:18:42 -0400
commit628a4e6bf8290a8c29c0b1f9dc67797e30ccbfbf (patch)
treeaccb5f33f5fdfd8fc9c853f53c35652588f64cfd /src
parentf6abfb424c677e289ee962b3e89760314d42908b (diff)
Fix unmigrated macro in NONMATCHING
Diffstat (limited to 'src')
-rw-r--r--src/battle_script_commands.c2
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