Separate more Bank $0A stuff, and remove shim system

This commit is contained in:
Alieneer
2026-06-15 12:19:02 -04:00
committed by Rangi
parent d063fca509
commit b923cb652c
17 changed files with 340 additions and 245 deletions

View File

@@ -59,7 +59,7 @@ DebugMart_BuyMenuHeader:
db STATICMENU_WRAP
db 4, 8 ; rows, columns
db SCROLLINGMENU_ITEMS_NORMAL
dbw 0, wcd60
dbw 0, wCurMartCount
dba PlaceMenuItemName
dba .PrintAmount
dba UpdateItemDescription
@@ -273,7 +273,7 @@ DebugMart_Sell:
done
DebugMart_LoadItems:
ld hl, wcd60
ld hl, wCurMartCount
.load_loop
ld a, [de]
inc de
@@ -281,7 +281,7 @@ DebugMart_LoadItems:
cp -1
jr nz, .load_loop
ld hl, wcc3a
ld de, wcd60 + 1
ld de, wCurMartCount + 1
.load_loop2
ld a, [de]
inc de

View File

@@ -61,7 +61,7 @@ ENDM
unused_check_bit wcdc4
unused_check_bit wcdc5
unused_check_bit wcdc6
unused_check_bit wcdc7
unused_check_bit wLinkBattleRNPreamble
ret
.CheckBit: