add greyed out rings to quest menu

This commit is contained in:
scawful
2024-07-05 16:48:10 -04:00
parent 902ffd4f49
commit e3ae050a4c
2 changed files with 15 additions and 2 deletions

View File

@@ -731,19 +731,31 @@ Menu_DrawMagicBag:
Menu_DrawMagicRings:
{
LDA.l $7EF3D8 : AND.w #$00FF : CMP.w #$0001 : BCC .no_attack
LDA.w #$0002 : BRA .draw_storms
.no_attack
LDA.w #$0001
.draw_storms
STA.w MenuItemValueSpoof : LDA.w #MenuItemValueSpoof
LDX.w #menu_offset(17,14)
LDY.w #RingGFX
JSR DrawMenuItem
LDA.w #$0003
LDA.l $7EF3D8 : AND.w #$00FF : CMP.w #$0001 : BCC .no_defense
LDA.w #$0003 : BRA .draw_defense
.no_defense
LDA.w #$0001
.draw_defense
STA.w MenuItemValueSpoof : LDA.w #MenuItemValueSpoof
LDX.w #menu_offset(17,17)
LDY.w #RingGFX
JSR DrawMenuItem
LDA.w #$0002
LDA.l $7EF3D8 : AND.w #$00FF : CMP.w #$0001 : BCC .no_luck
LDA.w #$0004 : BRA .draw_luck
.no_luck
LDA.w #$0001
.draw_luck
STA.w MenuItemValueSpoof : LDA.w #MenuItemValueSpoof
LDX.w #menu_offset(17,20)
LDY.w #RingGFX

View File

@@ -190,6 +190,7 @@ BananaGFX:
dw $341E, $341F, $342E, $342F ; Banana
RingGFX:
dw $3049, $304A, $B049, $B04A ; Gray Ring
dw $2449, $244A, $A449, $A44A ; Red Ring
dw $2C49, $2C4A, $AC49, $AC4A ; Blue Ring
dw $3C49, $3C4A, $BC49, $BC4A ; Green Ring