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:
mid-kid
2018-02-22 21:35:11 +01:00
parent a22343d32c
commit 3d34f5a5a3
9 changed files with 17 additions and 15 deletions

View File

@@ -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

View File

@@ -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