Adds assist and assurance, fixes
This commit is contained in:
		
							
								
								
									
										7
									
								
								gen_7_scripts/src/moves/after_you.rs
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										7
									
								
								gen_7_scripts/src/moves/after_you.rs
									
									
									
									
									
										
										
										Normal file → Executable 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 | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user