ref: f65448a4c0d6c1b3877ceb8ad138e40669f97c86
parent: 959b8a924478df99506361c872ccdb97193b43a5
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Wed Aug 12 16:59:54 EDT 2020
Factor out gfx/pack/pack_menu.tilemap
--- a/engine/items/pack.asm
+++ b/engine/items/pack.asm
@@ -1409,23 +1409,9 @@
jr nz, .row
ret
-.tilemap
-; ITEM_POCKET
- db $00, $04, $04, $04, $01 ; top border
- db $06, $07, $08, $09, $0a ; Items
- db $02, $05, $05, $05, $03 ; bottom border
-; BALL_POCKET
- db $00, $04, $04, $04, $01 ; top border
- db $15, $16, $17, $18, $19 ; Balls
- db $02, $05, $05, $05, $03 ; bottom border
-; KEY_ITEM_POCKET
- db $00, $04, $04, $04, $01 ; top border
- db $0b, $0c, $0d, $0e, $0f ; Key Items
- db $02, $05, $05, $05, $03 ; bottom border
-; TM_HM_POCKET
- db $00, $04, $04, $04, $01 ; top border
- db $10, $11, $12, $13, $14 ; TM/HM
- db $02, $05, $05, $05, $03 ; bottom border
+.tilemap: ; 5x12
+; the 5x3 pieces correspond to *_POCKET constants
+INCBIN "gfx/pack/pack_menu.tilemap"
Pack_GetItemName:
ld a, [wCurItem]
binary files /dev/null b/gfx/pack/pack_menu.tilemap differ