summaryrefslogtreecommitdiff
path: root/engine/battle/b_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/b_2.asm')
-rwxr-xr-xengine/battle/b_2.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/b_2.asm b/engine/battle/b_2.asm
index 00510ec7..6ec58cc0 100755
--- a/engine/battle/b_2.asm
+++ b/engine/battle/b_2.asm
@@ -86,13 +86,13 @@ DuplicateBitsTable: ; 2fea8 (b:7ea8)
PayDayEffect_ ; 2feb8 (b:7eb8)
xor a
- ld hl, $cd6d
+ ld hl, wcd6d
ld [hli], a
ld a, [$fff3]
and a
- ld a, [$d022]
+ ld a, [W_PLAYERMONLEVEL]
jr z, .asm_2fec8 ; 0x2fec3 $3
- ld a, [$cff3]
+ ld a, [W_ENEMYMONLEVEL]
.asm_2fec8
add a
ld [$ff98], a
@@ -118,7 +118,7 @@ PayDayEffect_ ; 2feb8 (b:7eb8)
ld a, [$ff99]
add b
ld [hl], a
- ld de, $cce7
+ ld de, wcce7
ld c, $3
ld a, $b ; AddBCDPredef
call Predef