aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorstrager <strager.nds@gmail.com>2023-09-20 12:43:27 -0700
committerGitHub <noreply@github.com>2023-09-20 15:43:27 -0400
commit30c244ae4f1acc6f018499ceaa9b138367d7bedf (patch)
tree0f830ded4c97b6d4476dbb15fd664b6573d753d6 /engine
parentFix wPlayerHPBarColor type (#429) (diff)
downloadpokeyellow-30c244ae4f1acc6f018499ceaa9b138367d7bedf.tar.gz
pokeyellow-30c244ae4f1acc6f018499ceaa9b138367d7bedf.tar.xz
pokeyellow-30c244ae4f1acc6f018499ceaa9b138367d7bedf.zip
Use PSN constant in PoisonEffect routine (#426)
Diffstat (limited to 'engine')
-rw-r--r--engine/battle/effects.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/effects.asm b/engine/battle/effects.asm
index aaaf20d0..e89d19f3 100644
--- a/engine/battle/effects.asm
+++ b/engine/battle/effects.asm
@@ -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]