mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
lufia2ac: prevent using party member items if party is full
This commit is contained in:
@@ -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.
Reference in New Issue
Block a user