Implements several new move scripts.

This commit is contained in:
2021-05-13 14:32:56 +02:00
parent 76f62d6c2d
commit 5071f309f3
10 changed files with 136 additions and 4 deletions

View File

@@ -10,4 +10,6 @@ shared interface Battle {
void ClearWeather(const constString &in name) const;
const constString& GetWeatherName() const;
BattleSide@ GetBattleSide(uint8 index);
BattleParty@ GetParty(uint8 index);
BattleParty@ FindPartyForPokemon(Pokemon@ pokemon);
}

View File

@@ -0,0 +1,3 @@
shared interface BattleParty {
Party@ Party { get const; }
}

View File

@@ -3,4 +3,5 @@ shared interface ExecutingMove {
bool IsPokemonTarget(Pokemon@ pkmn) const;
Pokemon@ User { get const; }
LearnedMove@ Move { get const; }
MoveData@ UseMove { get const; }
}

View File

@@ -1,6 +1,6 @@
shared interface MoveTurnChoice {
TurnChoiceKind Kind { get const; }
const Pokemon@ User { get const; }
Pokemon@ User { get const; }
LearnedMove@ Move { get const; }
int8 Priority { get const; }
BaseTurnChoice@ opImplCast();

View File

@@ -0,0 +1,4 @@
shared interface Party {
Pokemon@ GetAtIndex(int index) const;
int Length { get const; }
}

View File

@@ -31,4 +31,7 @@ shared interface Pokemon {
void RemoveVolatile(const constString &in name) const;
Battle@ Battle { get const; }
BattleSide@ BattleSide { get const; }
const constString& Status { get const; }
void ClearStatus() const;
void SetStatus(const constString &inout name);
}