summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-02-22 21:35:11 +0100
committermid-kid <esteve.varela@gmail.com>2018-02-22 21:36:14 +0100
commit3d34f5a5a371ad2b9979ae36763cdfb52c581dab (patch)
treea4039e1486138bfc4f84d2e6c8b9119b7677e1d1 /mobile
parenta22343d32c9f81b9cd2a4f2ff49725cfbed6671d (diff)
Label wPokemonWithdrawDepositParameter of RemoveMonFromPartyOrBox
It takes a clearly different parameter, completely unrelated and different in function to PC_DEPOSIT and PC_WITHDRAW.
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_40.asm2
-rwxr-xr-xmobile/mobile_46.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm
index b96e6c470..1c1ae16ee 100644
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -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
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm
index 3d8a126f7..73d92b21f 100755
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -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