Skip to content

Commit

Permalink
Use PSN constant in PoisonEffect routine (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
strager authored Sep 20, 2023
1 parent c2d2cc4 commit 30c244a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/battle/effects.asm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ PoisonEffect:
ret nc
.inflictPoison
dec hl
set 3, [hl] ; mon is now poisoned
set PSN, [hl]
push de
dec de
ldh a, [hWhoseTurn]
Expand Down

0 comments on commit 30c244a

Please sign in to comment.