CLeanup, fixes for Assurance

This commit is contained in:
Deukhoofd committed 2022-09-10 10:07:26 +02:00
1 parent 365bdc8aec
commit 4275816fd9
3 files changed
+19 -24

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ impl Script for AssuranceData {
_old_health: u32,
_new_health: u32,
) {
if pokemon.battle_side_index() == self.for_position {
if pokemon.battle_index() == self.for_position {
self.has_hit.store(true, Ordering::Relaxed);
}
}