Skip to content

Commit 4adb00d

Browse files
committed
Fix INV_TOP_Y()
The previous value was too small, and made the targeting sprite disappear from the bottom tile.
1 parent 5fa2c29 commit 4adb00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inventory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// Hide sprites under this y position, so they aren't displayed on top of the
1010
// inventory
11-
#define INV_TOP_Y() (WY_REG + 9)
11+
#define INV_TOP_Y() (WY_REG + 12)
1212

1313
void inv_init(void);
1414
void inv_update(void);

0 commit comments

Comments
 (0)