Make valuable items all look like shields, implement a few NPCs

This commit is contained in:
2026-02-01 23:16:30 -06:00
parent f609727647
commit f6c0de88fb
5 changed files with 171 additions and 98 deletions

View File

@@ -90,6 +90,8 @@ SmallChest_ShieldCheck:
RTL
ShieldCheck:
PHP
REP #$30
PHX
LDA.b $0C
AND.w #$00FF
@@ -98,6 +100,7 @@ ShieldCheck:
AND.w #$00FF
BNE .replace
PLX
PLP
SEC
RTL
@@ -110,6 +113,7 @@ ShieldCheck:
LDA.w #$0004
STA.b $0C
PLX
PLP
SEC
RTL
@@ -118,13 +122,16 @@ ShieldCheck:
LDA.b #$3C
STA.w $012E
PHY
LDA.b #$98
LDY.b #$01
JSL Sprite_ShowMessageUnconditional
PLY
REP #$30
PLX
PLP
CLC
RTL