lufia2ac: prevent using party member items if party is full
This commit is contained in:
parent
b83aec5c12
commit
ff9c11d772
|
@ -273,6 +273,9 @@ SpecialItemUse:
|
||||||
ADC.w #$FD2E
|
ADC.w #$FD2E
|
||||||
STA $09B7 ; set pointer to L2SASM join script
|
STA $09B7 ; set pointer to L2SASM join script
|
||||||
SEP #$20
|
SEP #$20
|
||||||
|
LDA $07A9 ; load EV register $11 (party counter)
|
||||||
|
CMP.b #$03
|
||||||
|
BPL + ; abort if party full
|
||||||
LDA.b #$8E
|
LDA.b #$8E
|
||||||
STA $09B9
|
STA $09B9
|
||||||
PHK
|
PHK
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue