summaryrefslogtreecommitdiff
path: root/battle/ai/items.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-12 22:58:20 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-12 22:58:20 -0500
commit10eb426e40f48df3ae9b40e3ea3aa7e92f890090 (patch)
treecb15040e5a5ee30aa4d93e66b08fb6512de0f0ee /battle/ai/items.asm
parentc85587d973df6565f2863493acb9f9af88518662 (diff)
Document more bugs
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r--battle/ai/items.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/battle/ai/items.asm b/battle/ai/items.asm
index 5a292763e..5346bf8f2 100644
--- a/battle/ai/items.asm
+++ b/battle/ai/items.asm
@@ -749,7 +749,7 @@ TextJump_EnemyWithdrew: ; 384d0
Function384d5: ; This appears to be unused
call AIUsedItemSound
call AI_HealStatus
- ld a, X_SPEED
+ ld a, FULL_HEAL_RED ; X_SPEED
jp PrintText_UsedItemOn_AND_AIUpdateHUD
; 384e0
@@ -761,6 +761,10 @@ AI_HealStatus: ; 384e0
xor a
ld [hl], a
ld [EnemyMonStatus], a
+ ; Bug: this should reset SUBSTATUS_NIGHTMARE too
+ ; Uncomment the lines below to fix
+ ; ld hl, EnemySubStatus1
+ ; res SUBSTATUS_NIGHTMARE, [hl]
ld hl, EnemySubStatus5
res SUBSTATUS_TOXIC, [hl]
ret