14 lines
425 B
C#
14 lines
425 B
C#
|
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
||
|
|
||
|
[Script(ScriptCategory.Move, "first_impression")]
|
||
|
public class FirstImpression : Script
|
||
|
{
|
||
|
public override void StopBeforeMove(IExecutingMove move, ref bool stop)
|
||
|
{
|
||
|
var battleData = move.User.BattleData;
|
||
|
if (battleData == null)
|
||
|
return;
|
||
|
if (battleData.SwitchInTurn != battleData.Battle.CurrentTurnNumber)
|
||
|
stop = true;
|
||
|
}
|
||
|
}
|