Use PSN constant in PoisonEffect routine (#426)

This commit is contained in:
strager 2023-09-20 12:43:27 -07:00 committed by GitHub
parent c2d2cc4e11
commit 30c244ae4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]