lufia2ac: prevent double checks (#3154)
This commit is contained in:
parent
ffff63e6f3
commit
233eba6681
|
@ -145,7 +145,7 @@ TX:
|
||||||
BEQ +
|
BEQ +
|
||||||
JSR ReportLocationCheck
|
JSR ReportLocationCheck
|
||||||
SEP #$20
|
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
|
+: BIT.w #$4200 ; test for blue chest flag
|
||||||
BEQ +
|
BEQ +
|
||||||
LDA $F02048 ; load total blue chests checked
|
LDA $F02048 ; load total blue chests checked
|
||||||
|
@ -155,7 +155,7 @@ TX:
|
||||||
INC ; increment check counter
|
INC ; increment check counter
|
||||||
STA $F02040 ; store check counter
|
STA $F02040 ; store check counter
|
||||||
SEP #$20
|
SEP #$20
|
||||||
JML $8EC331 ; skip item get process
|
JML $8EC2DC ; skip item get process; consider chest emptied
|
||||||
+: SEP #$20
|
+: SEP #$20
|
||||||
JML $8EC1EF ; continue item get process
|
JML $8EC1EF ; continue item get process
|
||||||
|
|
||||||
|
@ -952,7 +952,7 @@ Shop:
|
||||||
STZ $05A9
|
STZ $05A9
|
||||||
PHB
|
PHB
|
||||||
PHP
|
PHP
|
||||||
JML $80A33A ; open shop menu
|
JML $80A33A ; open shop menu (eventually causes return by reaching existing PLP : PLB : RTL at $809DB0)
|
||||||
+: RTL
|
+: RTL
|
||||||
|
|
||||||
; shop item select
|
; shop item select
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue