Use REGISTERED_* constants

128px wide pack_menu.png matches BGB VRAM viewer, and rows+cols match hex tile IDs (e.g. $24 = row 3 col 5)
This commit is contained in:
Rangi 2018-05-20 17:50:53 -04:00
parent 03570a514e
commit 9afacc7842
2 changed files with 3 additions and 3 deletions

View File

@ -571,11 +571,11 @@ RegisterItem: ; 103c2
ld a, [wCurrPocket]
rrca
rrca
and $c0
and REGISTERED_POCKET
ld b, a
ld a, [wCurItemQuantity]
inc a
and $3f
and REGISTERED_NUMBER
or b
ld [wWhichRegisteredItem], a
ld a, [wCurItem]
@ -1283,7 +1283,7 @@ DrawPackGFX: ; 1089d
ld a, [wCurrPocket]
maskbits NUM_POCKETS
ld e, a
ld d, $0
ld d, 0
ld a, [wBattleType]
cp BATTLETYPE_TUTORIAL
jr z, .male_dude

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 356 B