Adds assist and assurance, fixes

This commit is contained in:
2022-09-09 20:09:56 +02:00
parent 05430c5e84
commit 365bdc8aec
57 changed files with 533 additions and 95 deletions

7
gen_7_scripts/src/moves/after_you.rs Normal file → Executable file
View File

@@ -1,3 +1,4 @@
use core::any::Any;
use pkmn_lib_interface::app_interface::{ExecutingMove, Pokemon};
use pkmn_lib_interface::handling::{Script, ScriptCapabilities};
@@ -14,7 +15,7 @@ impl Script for AfterYou {
Self {}
}
fn get_name() -> &'static str {
fn get_name(&self) -> &'static str {
Self::get_const_name()
}
@@ -32,4 +33,8 @@ impl Script for AfterYou {
mv.get_hit_data(&target, hit).fail()
}
}
fn as_any(&self) -> &dyn Any {
self
}
}