From 5728d0141793d832476b3f7b5c0844166fa7c242 Mon Sep 17 00:00:00 2001 From: "Colton G. Rushton" Date: Sat, 4 Jan 2020 17:52:08 -0400 Subject: Add and simplify bugfixes in bugs_and_glitches.md (#664) Add extra fixes for bugs covered on Bulbapedia (and simplify others) --- engine/battle/ai/items.asm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'engine') 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 -- cgit v1.2.3