diff options
| author | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2024-12-16 10:35:55 -0500 |
|---|---|---|
| committer | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2024-12-16 10:35:55 -0500 |
| commit | 67084c9d261c5ab88c52b2dd99c8a767be831805 (patch) | |
| tree | ac60df11741ef7e8a101982ae6860690f4eafb08 /engine/events/poison.asm | |
| parent | Use "gray", not "grey" (diff) | |
| download | pokeyellow-67084c9d261c5ab88c52b2dd99c8a767be831805.tar.gz pokeyellow-67084c9d261c5ab88c52b2dd99c8a767be831805.tar.xz pokeyellow-67084c9d261c5ab88c52b2dd99c8a767be831805.zip | |
Remove redundant parentheses
Diffstat (limited to 'engine/events/poison.asm')
| -rw-r--r-- | engine/events/poison.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/poison.asm b/engine/events/poison.asm index bd79ad16..c0b4a18f 100644 --- a/engine/events/poison.asm +++ b/engine/events/poison.asm @@ -15,7 +15,7 @@ ApplyOutOfBattlePoisonDamage: ld de, wPartySpecies .applyDamageLoop ld a, [hl] - and (1 << PSN) + and 1 << PSN jr z, .nextMon2 ; not poisoned dec hl dec hl @@ -79,7 +79,7 @@ ApplyOutOfBattlePoisonDamage: ld e, 0 .countPoisonedLoop ld a, [hl] - and (1 << PSN) + and 1 << PSN or e ld e, a ld bc, wPartyMon2 - wPartyMon1 |
