summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorColton G. Rushton <colton51919@gmail.com>2020-01-04 17:52:08 -0400
committerRangi <35663410+Rangi42@users.noreply.github.com>2020-01-04 16:52:08 -0500
commit5728d0141793d832476b3f7b5c0844166fa7c242 (patch)
treefb1cdc4bcbb5eaa06a35cd2cefeff2c44888c0e4 /engine
parente678eb78a171bcd9e6426b87104bf3cb8530acd4 (diff)
Add and simplify bugfixes in bugs_and_glitches.md (#664)
Add extra fixes for bugs covered on Bulbapedia (and simplify others)
Diffstat (limited to 'engine')
-rw-r--r--engine/battle/ai/items.asm8
1 files changed, 6 insertions, 2 deletions
diff --git a/engine/battle/ai/items.asm b/engine/battle/ai/items.asm
index 6ee026d28..a7443d165 100644
--- a/engine/battle/ai/items.asm
+++ b/engine/battle/ai/items.asm
@@ -725,10 +725,14 @@ AI_HealStatus:
xor a
ld [hl], a
ld [wEnemyMonStatus], a
- ; Bug: this should reset SUBSTATUS_NIGHTMARE too
- ; Uncomment the lines below to fix
+ ; Bug: this should reset SUBSTATUS_NIGHTMARE
+ ; Uncomment the 2 lines below to fix
; ld hl, wEnemySubStatus1
; res SUBSTATUS_NIGHTMARE, [hl]
+ ; Bug: this should reset SUBSTATUS_CONFUSED
+ ; Uncomment the 2 lines below to fix
+ ; ld hl, wEnemySubStatus3
+ ; res SUBSTATUS_CONFUSED, [hl]
ld hl, wEnemySubStatus5
res SUBSTATUS_TOXIC, [hl]
ret