FFI for Pokemon class
This commit is contained in:
@@ -194,7 +194,7 @@ impl Battle {
|
||||
.library()
|
||||
.static_data()
|
||||
.types()
|
||||
.get_effectiveness(hit_type, target.types());
|
||||
.get_effectiveness(hit_type, &target.types());
|
||||
script_hook!(
|
||||
change_effectiveness,
|
||||
executing_move,
|
||||
|
||||
Reference in New Issue
Block a user