More moves implemented

This commit is contained in:
Deukhoofd committed 2025-02-03 11:40:26 +01:00
1 parent 0c5ca487d7
commit 51dfc4d07e
40 files changed
+639 -65

No files matched your search

@@ -1,11 +1,12 @@
using System;
using System.Linq;
using PkmnLib.Static.Utils;
namespace PkmnLib.Plugin.Gen7.Scripts.Utils;
public static class TurnChoiceHelper
{
public static IMoveChoice CreateMoveChoice(IPokemon owner, string moveName, byte targetSide, byte targetPosition)
public static IMoveChoice CreateMoveChoice(IPokemon owner, StringKey moveName, byte targetSide, byte targetPosition)
{
var move = owner.Moves.FirstOrDefault(x => x?.MoveData.Name == moveName);
if (move == null)