Skip to content

Commit

Permalink
Fix [from] message (#10796)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebastosdias authored Jan 6, 2025
1 parent e93b150 commit 5468a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/battle-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export class BattleActions {

let movename = move.name;
if (move.id === 'hiddenpower') movename = 'Hidden Power';
if (sourceEffect) attrs += `|[from]${sourceEffect.fullname}`;
if (sourceEffect) attrs += `|[from] ${sourceEffect.fullname}`;
if (zMove && move.isZ === true) {
attrs = '|[anim]' + movename + attrs;
movename = 'Z-' + movename;
Expand Down

0 comments on commit 5468a36

Please sign in to comment.