summaryrefslogtreecommitdiff
path: root/battle/core.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-02-11 13:14:56 -0800
committeryenatch <yenatch@gmail.com>2015-02-11 13:14:56 -0800
commit3735185ec24dd73de6863c58be4ddd4fc86ba00c (patch)
treedda8d47fb4df494eeb7fe85e8a0907acdfe3e406 /battle/core.asm
parent11b5c4c4851752fef66c075697b201dbf0c7aa1f (diff)
Use PartyMon labels in GetPartyParamLocation arguments.
Diffstat (limited to 'battle/core.asm')
-rw-r--r--battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/battle/core.asm b/battle/core.asm
index 879ae211f..5c6742498 100644
--- a/battle/core.asm
+++ b/battle/core.asm
@@ -7366,7 +7366,7 @@ Function3ee3b: ; 3ee3b
.asm_3ee89
push hl
push bc
- ld a, $1c
+ ld a, PartyMon1PokerusStatus - PartyMon1
call GetPartyParamLocation
ld a, [hl]
and a
@@ -7673,7 +7673,7 @@ Function3ee3b: ; 3ee3b
cp b
jr z, .asm_3f0d1
ld [CurPartyMon], a
- ld a, $0
+ ld a, PartyMon1Species - PartyMon1
call GetPartyParamLocation
ld b, h
ld c, l