Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -36,7 +36,7 @@ public class Sleep : Script, IScriptPreventMove, IAIInfoScriptNumberTurnsLeft
|
||||
return;
|
||||
}
|
||||
|
||||
if (move.UseMove.HasFlag("usable_while_asleep"))
|
||||
if (move.UseMove.HasFlag(MoveFlags.UsableWhileAsleep))
|
||||
return;
|
||||
|
||||
var args = new CustomTriggers.BypassSleepArgs(move, false);
|
||||
|
||||
Reference in New Issue
Block a user