mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-06 15:38:11 +01:00
Update src/battle_script_commands.c
Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
This commit is contained in:
parent
d4a153bf14
commit
2cea541b2a
@ -1407,7 +1407,7 @@ static void Cmd_attackcanceler(void)
|
|||||||
gBattleCommunication[MULTISTRING_CHOOSER] = 0;
|
gBattleCommunication[MULTISTRING_CHOOSER] = 0;
|
||||||
if (BlocksPrankster(gCurrentMove, gBattlerTarget, gBattlerAttacker))
|
if (BlocksPrankster(gCurrentMove, gBattlerTarget, gBattlerAttacker))
|
||||||
{
|
{
|
||||||
// Opponent used a prankster'ed magic coat -> reflected status move should fail against a dark type attacker
|
// Opponent used a prankster'd magic coat -> reflected status move should fail against a dark-type attacker
|
||||||
gBattlerTarget = gBattlerAttacker;
|
gBattlerTarget = gBattlerAttacker;
|
||||||
gBattlescriptCurrInstr = BattleScript_MagicCoatBouncePrankster;
|
gBattlescriptCurrInstr = BattleScript_MagicCoatBouncePrankster;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user