Fix pot shuffle, implement map settings

This commit is contained in:
2026-01-02 03:36:12 -06:00
parent 58db28f8bf
commit 1b43799e6e
4 changed files with 86 additions and 55 deletions

View File

@@ -225,7 +225,7 @@ CheckPots:
LDA.b [$04], Y
CMP.w #$FFFF : BEQ .done
INX : INY : INY
BIT.w #$8000 : BNE .we_care ; marked as major item
BIT.w #$8000 : BNE .major_item ; marked as major item
LDA.b [$04], Y
AND.w #$00FF
CMP.w #$0008 : BEQ .small_key
@@ -234,10 +234,13 @@ CheckPots:
.small_key
LDA.w #$0024
.we_care
INY
BRA .continue
.major_item
LDA.b [$04], Y
.continue
PHA
PHX
INY
TXA : ASL A
EOR.w #$FFFF
CLC : ADC.w #$001F ; bit mask table is in opposite order of what we want