summaryrefslogtreecommitdiff
path: root/engine/mail.asm
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 /engine/mail.asm
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 'engine/mail.asm')
-rwxr-xr-xengine/mail.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/mail.asm b/engine/mail.asm
index c1a2db5aa..a8e9bd2c5 100755
--- a/engine/mail.asm
+++ b/engine/mail.asm
@@ -175,7 +175,7 @@ CheckPokeItem:: ; 44654
farcall CheckCurPartyMonFainted
ld a, POKEMAIL_LAST_MON
jr c, .close_sram_return
- xor a
+ xor a ; REMOVE_PARTY
ld [wPokemonWithdrawDepositParameter], a
farcall RemoveMonFromPartyOrBox
ld a, POKEMAIL_CORRECT