summaryrefslogtreecommitdiff
path: root/engine/menu
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-12 23:36:56 -0700
committerYamaArashi <shadow962@live.com>2015-07-12 23:36:56 -0700
commitbcfca2e267a6ee023271d90e27e4a7fde06f66fc (patch)
tree1634bd88b2aab601344a6bdbf8e6a9ec7a3c62c2 /engine/menu
parent4a8c9993ad182296131ef87111e1b6d6e2af4201 (diff)
movemon and removepokemon wram variables
Diffstat (limited to 'engine/menu')
-rw-r--r--engine/menu/bills_pc.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/menu/bills_pc.asm b/engine/menu/bills_pc.asm
index b4ac3680..530ab961 100644
--- a/engine/menu/bills_pc.asm
+++ b/engine/menu/bills_pc.asm
@@ -229,11 +229,11 @@ BillsPCDeposit:
ld a, [wcf91]
call GetCryData
call PlaySoundWaitForCurrent
- ld a, $1
- ld [wcf95], a
+ ld a, PARTY_TO_BOX
+ ld [wMoveMonType], a
call MoveMon
xor a
- ld [wcf95], a
+ ld [wRemoveMonFromBox], a
call RemovePokemon
call WaitForSoundToFinish
ld hl, wWhichTrade
@@ -281,11 +281,11 @@ Func_21618: ; 21618 (8:5618)
ld a, [wcf91]
call GetCryData
call PlaySoundWaitForCurrent
- xor a
- ld [wcf95], a
+ xor a ; BOX_TO_PARTY
+ ld [wMoveMonType], a
call MoveMon
- ld a, $1
- ld [wcf95], a
+ ld a, 1
+ ld [wRemoveMonFromBox], a
call RemovePokemon
call WaitForSoundToFinish
ld hl, MonIsTakenOutText
@@ -310,7 +310,7 @@ Func_21673: ; 21673 (8:5673)
and a
jr nz, .asm_21682
inc a
- ld [wcf95], a
+ ld [wRemoveMonFromBox], a
call RemovePokemon
call WaitForSoundToFinish
ld a, [wcf91]