FFI for Pokemon class

This commit is contained in:
2022-10-14 13:59:04 +02:00
parent a840605bf7
commit 9efe1b4e22
10 changed files with 439 additions and 59 deletions

View File

@@ -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,