Some more functionality for battling, check if choice is valid, implement target resolvers.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-06-14 19:11:24 +02:00
parent 8746f03500
commit a33369afcc
8 changed files with 305 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ pub struct Pokemon<'a> {
battle_data: Option<PokemonBattleData<'a>>,
moves: [Option<LearnedMove>; MAX_MOVES],
moves: [Option<LearnedMove<'a>>; MAX_MOVES],
allowed_experience: bool,
types: Vec<u8>,