CLeanup, fixes for Assurance
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user