Skip to content

Commit

Permalink
Document fix about AI item pointer overflowing (pret/pokecrystal#1066)
Browse files Browse the repository at this point in the history
Co-Authored-By: Idain <54337884+Idain@users.noreply.github.com>
  • Loading branch information
vulcandth and Idain committed Aug 10, 2023
1 parent a4aa972 commit 47c19fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/battle/ai/items.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 47c19fd

Please sign in to comment.