Support for integration tests, fixes
This commit is contained in:
@@ -271,7 +271,7 @@ public interface IPokemon : IScriptSource
|
||||
/// <summary>
|
||||
/// Learn a move by name.
|
||||
/// </summary>
|
||||
void LearnMove(string moveName, MoveLearnMethod method, byte index);
|
||||
void LearnMove(StringKey moveName, MoveLearnMethod method, byte index);
|
||||
|
||||
/// <summary>
|
||||
/// Removes the current non-volatile status from the Pokemon.
|
||||
@@ -658,7 +658,7 @@ public class PokemonImpl : ScriptSource, IPokemon
|
||||
/// <remarks>
|
||||
/// If the index is 255, it will try to find the first empty move slot.
|
||||
/// </remarks>
|
||||
public void LearnMove(string moveName, MoveLearnMethod method, byte index)
|
||||
public void LearnMove(StringKey moveName, MoveLearnMethod method, byte index)
|
||||
{
|
||||
if (index == 255)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user