upgrade submenus with hints, indicators, journal with X and rings with Y in menu

This commit is contained in:
scawful
2025-12-08 22:12:05 -05:00
parent 9b4ee7a9a1
commit 740571ca7f
4 changed files with 137 additions and 35 deletions

View File

@@ -529,15 +529,28 @@ Menu_DrawCharacterName:
}
Menu_DrawRingPrompt:
Menu_DrawButtonPrompt:
{
REP #$30
LDX.w #$0E
LDX.w #$1E ; 16 tiles (32 bytes - 2 = $1E)
.loop
LDA.w RingPromptTXT, X : STA.w $1254, X
LDA.w ButtonPromptTXT, X : STA.w $1254, X
DEX : DEX : BPL .loop
SEP #$30 ; Restore 8-bit mode before return
RTS
}
Menu_DrawRingBoxPrompt:
{
REP #$30
LDX.w #$1E ; 16 tiles (32 bytes - 2 = $1E)
.loop
LDA.w RingBoxPromptTXT, X : STA.w $1294, X ; One row below button prompt ($1254 + $40)
DEX : DEX : BPL .loop
SEP #$30
RTS
}