Label wPokemonWithdrawDepositParameter of RemoveMonFromPartyOrBox
It takes a clearly different parameter, completely unrelated and different in function to PC_DEPOSIT and PC_WITHDRAW.
This commit is contained in:
@@ -5410,7 +5410,7 @@ Function1023c6: ; 1023c6
|
||||
ld a, [wcd4c]
|
||||
dec a
|
||||
ld [wCurPartyMon], a
|
||||
xor a
|
||||
xor a ; REMOVE_PARTY
|
||||
ld [wPokemonWithdrawDepositParameter], a
|
||||
farcall RemoveMonFromPartyOrBox
|
||||
ld hl, wPartyCount
|
||||
|
@@ -7323,7 +7323,7 @@ Function11b5c0: ; 11b5c0
|
||||
ld a, [wcd82]
|
||||
dec a
|
||||
ld [wCurPartyMon], a
|
||||
xor a
|
||||
xor a ; REMOVE_PARTY
|
||||
ld [wPokemonWithdrawDepositParameter], a
|
||||
farcall RemoveMonFromPartyOrBox
|
||||
farcall Function170807
|
||||
|
Reference in New Issue
Block a user