ref: 9afacc7842a733770ec73893bb6c14d434c828e7
parent: 03570a514e0bd4c64205b904b528b00d888a6d7f
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun May 20 13:50:53 EDT 2018
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)
--- a/engine/items/pack.asm
+++ b/engine/items/pack.asm
@@ -571,11 +571,11 @@
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 @@
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 files a/gfx/pack/pack_menu.png b/gfx/pack/pack_menu.png differ