From 47c19fd5889f9bf6ee12ca8603c52b9b9525efca Mon Sep 17 00:00:00 2001 From: vulcandth Date: Thu, 10 Aug 2023 17:26:32 -0500 Subject: [PATCH] Document fix about AI item pointer overflowing (pret/pokecrystal#1066) Co-Authored-By: Idain <54337884+Idain@users.noreply.github.com> --- engine/battle/ai/items.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/battle/ai/items.asm b/engine/battle/ai/items.asm index 20ba8a969..8ef55260f 100644 --- a/engine/battle/ai/items.asm +++ b/engine/battle/ai/items.asm @@ -164,6 +164,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]