aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/poison.asm
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-25 16:46:37 -0500
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-25 16:53:04 -0500
commit47b784a4fbc7513ea6106877fbb7a54158e1b13b (patch)
tree301a856e76abb5dcb7bcc3986ddb4bbe4f70e88e /engine/events/poison.asm
parentFix comments around battle evolution code (#120) (diff)
parentUse `SERIAL_RNS_LENGTH` in `BattleRandom` (diff)
downloadpokeyellow-47b784a4fbc7513ea6106877fbb7a54158e1b13b.tar.gz
pokeyellow-47b784a4fbc7513ea6106877fbb7a54158e1b13b.tar.xz
pokeyellow-47b784a4fbc7513ea6106877fbb7a54158e1b13b.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/events/poison.asm')
-rw-r--r--engine/events/poison.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/poison.asm b/engine/events/poison.asm
index 467d1a5f..18546254 100644
--- a/engine/events/poison.asm
+++ b/engine/events/poison.asm
@@ -22,7 +22,7 @@ ApplyOutOfBattlePoisonDamage:
ld de, wPartySpecies
.applyDamageLoop
ld a, [hl]
- and (1 << PSN)
+ and 1 << PSN
jr z, .nextMon2 ; not poisoned
dec hl
dec hl
@@ -92,7 +92,7 @@ ApplyOutOfBattlePoisonDamage:
ld e, 0
.countPoisonedLoop
ld a, [hl]
- and (1 << PSN)
+ and 1 << PSN
or e
ld e, a
ld bc, wPartyMon2 - wPartyMon1
@@ -103,7 +103,7 @@ ApplyOutOfBattlePoisonDamage:
and a ; are any party members poisoned?
jr z, .skipPoisonEffectAndSound
ld b, $2
- predef ChangeBGPalColor0_4Frames ; change BG white to dark grey for 4 frames
+ predef ChangeBGPalColor0_4Frames ; change BG white to dark gray for 4 frames
ld a, SFX_POISONED
call PlaySound
.skipPoisonEffectAndSound