Fix bug with magic bean prog time check

This commit is contained in:
scawful
2024-12-21 16:45:04 -05:00
parent b9fc66d047
commit f0920bb35a

View File

@@ -217,7 +217,8 @@ CheckForSongOfTime:
CheckForDailyQuests: CheckForDailyQuests:
{ {
LDA.l MagicBeanProg : AND.b #$7F : BEQ .bean_done LDA.l MagicBeanProg : AND.b #$7F : BNE .bean_done
AND.b #$01 : BEQ .bean_done
AND.b #$08 : BNE .not_first AND.b #$08 : BNE .not_first
LDA.b #$08 : JMP + LDA.b #$08 : JMP +
.not_first .not_first
@@ -228,6 +229,7 @@ CheckForDailyQuests:
LDA.b #$20 LDA.b #$20
+ +
ORA.l MagicBeanProg : STA.l MagicBeanProg ORA.l MagicBeanProg : STA.l MagicBeanProg
LDA.b #$1B : STA.w $012F
.bean_done .bean_done
RTS RTS
} }