mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-26 04:51:54 -05:00
Fix Forewarn and Symbiosis (#1201)
This commit is contained in:
@@ -599,7 +599,7 @@ class BattleTextParser {
|
||||
} else if (!arg4 && [
|
||||
'grudge', 'forewarn', 'magnitude', 'sketch', 'persistent', 'symbiosis', 'safetygoggles', 'matblock', 'safetygoggles', 'leppaberry',
|
||||
].includes(id)) {
|
||||
[target, arg4] = [pokemon, target];
|
||||
[target, arg4] = [kwArgs.of, target];
|
||||
} else if (!target && ['hyperspacefury', 'hyperspacehole', 'phantomforce', 'shadowforce', 'feint'].includes(id)) {
|
||||
[pokemon, target] = [kwArgs.of, pokemon];
|
||||
if (!pokemon) pokemon = target;
|
||||
|
||||
Reference in New Issue
Block a user