Implements several new move scripts.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
3
Scripts/Interfaces/BattleParty.as
Normal file
3
Scripts/Interfaces/BattleParty.as
Normal file
@@ -0,0 +1,3 @@
|
||||
shared interface BattleParty {
|
||||
Party@ Party { get const; }
|
||||
}
|
||||
@@ -3,4 +3,5 @@ shared interface ExecutingMove {
|
||||
bool IsPokemonTarget(Pokemon@ pkmn) const;
|
||||
Pokemon@ User { get const; }
|
||||
LearnedMove@ Move { get const; }
|
||||
MoveData@ UseMove { get const; }
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
4
Scripts/Interfaces/Party.as
Normal file
4
Scripts/Interfaces/Party.as
Normal file
@@ -0,0 +1,4 @@
|
||||
shared interface Party {
|
||||
Pokemon@ GetAtIndex(int index) const;
|
||||
int Length { get const; }
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user