Document fix about AI item pointer overflowing (#1066)

This commit is contained in:
Idain
2023-08-10 13:29:03 -04:00
committed by GitHub
parent 768b3bdec1
commit 6926900f0f
2 changed files with 29 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ AI_TryItem:
ld b, h
ld c, l
ld hl, AI_Items
; BUG: AI might use its base reward value as an item (see docs/bugs_and_glitches.md)
ld de, wEnemyTrainerItem1
.loop
ld a, [hl]