Work on FFI, fixes for learned_move::restore_uses
This commit is contained in:
@@ -58,7 +58,7 @@ pub enum Event<'own> {
|
||||
/// The index of the Pokemon that got switched in/out on its side
|
||||
index: u8,
|
||||
/// The new Pokemon that will be on the spot. If none, the spot will now be empty.
|
||||
pokemon: Option<&'own Pokemon>,
|
||||
pokemon: Option<Arc<Pokemon>>,
|
||||
},
|
||||
/// A swap event happens when two Pokemon on a side swap positions. Note that this is rare.
|
||||
Swap {
|
||||
|
||||
Reference in New Issue
Block a user