Skip to content

Commit

Permalink
lufia2ac: prevent double checks (#3154)
Browse files Browse the repository at this point in the history
  • Loading branch information
el-u authored Apr 18, 2024
1 parent ffff63e commit 233eba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/lufia2ac/basepatch/basepatch.asm
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ TX:
BEQ +
JSR ReportLocationCheck
SEP #$20
JML $8EC331 ; skip item get process
JML $8EC2DC ; skip item get process; consider chest emptied
+: BIT.w #$4200 ; test for blue chest flag
BEQ +
LDA $F02048 ; load total blue chests checked
Expand All @@ -155,7 +155,7 @@ TX:
INC ; increment check counter
STA $F02040 ; store check counter
SEP #$20
JML $8EC331 ; skip item get process
JML $8EC2DC ; skip item get process; consider chest emptied
+: SEP #$20
JML $8EC1EF ; continue item get process

Expand Down Expand Up @@ -952,7 +952,7 @@ Shop:
STZ $05A9
PHB
PHP
JML $80A33A ; open shop menu
JML $80A33A ; open shop menu (eventually causes return by reaching existing PLP : PLB : RTL at $809DB0)
+: RTL

; shop item select
Expand Down
Binary file modified worlds/lufia2ac/basepatch/basepatch.bsdiff4
Binary file not shown.

0 comments on commit 233eba6

Please sign in to comment.