mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
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:
parent
03570a514e
commit
9afacc7842
@ -571,11 +571,11 @@ RegisterItem: ; 103c2
|
|||||||
ld a, [wCurrPocket]
|
ld a, [wCurrPocket]
|
||||||
rrca
|
rrca
|
||||||
rrca
|
rrca
|
||||||
and $c0
|
and REGISTERED_POCKET
|
||||||
ld b, a
|
ld b, a
|
||||||
ld a, [wCurItemQuantity]
|
ld a, [wCurItemQuantity]
|
||||||
inc a
|
inc a
|
||||||
and $3f
|
and REGISTERED_NUMBER
|
||||||
or b
|
or b
|
||||||
ld [wWhichRegisteredItem], a
|
ld [wWhichRegisteredItem], a
|
||||||
ld a, [wCurItem]
|
ld a, [wCurItem]
|
||||||
@ -1283,7 +1283,7 @@ DrawPackGFX: ; 1089d
|
|||||||
ld a, [wCurrPocket]
|
ld a, [wCurrPocket]
|
||||||
maskbits NUM_POCKETS
|
maskbits NUM_POCKETS
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, $0
|
ld d, 0
|
||||||
ld a, [wBattleType]
|
ld a, [wBattleType]
|
||||||
cp BATTLETYPE_TUTORIAL
|
cp BATTLETYPE_TUTORIAL
|
||||||
jr z, .male_dude
|
jr z, .male_dude
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 356 B |
Loading…
Reference in New Issue
Block a user