summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpinksylveon <shakibafzali@gmail.com>2021-01-07 19:17:49 -0500
committerpinksylveon <shakibafzali@gmail.com>2021-01-07 19:17:49 -0500
commitae562657482209c6a1bc03713270ce51a4982382 (patch)
tree8db1dbfb3ec23377c49ee6cf2736e8b306b862f0 /src
parent43a2f7484c864b710e9a9b97b760c04ecf909c5e (diff)
Fixed some things
Diffstat (limited to 'src')
-rw-r--r--src/engine/bank01.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/bank01.asm b/src/engine/bank01.asm
index 53e2ffa..e92a83a 100644
--- a/src/engine/bank01.asm
+++ b/src/engine/bank01.asm
@@ -5703,7 +5703,7 @@ Func_6435:
ld hl, wDuelTempList + 1
add hl, de
ld a, [hld]
- cp POKEMON_POWER
+ cp $04
jr nz, .asm_6447
ld a, [hl]
ldh [hTempCardIndex_ff98], a
@@ -5745,7 +5745,7 @@ Func_64b0: ; 64b0 (1:64b0)
call LoadDuelCheckPokemonScreenTiles
ld de, wDuelTempList
call SetListPointer
- ld a, LOW(wPlayerNumberOfPokemonInPlayArea)
+ ld a, DUELVARS_NUMBER_OF_POKEMON_IN_PLAY_AREA
call GetTurnDuelistVariable
ld c, a
ld b, $00
@@ -5785,7 +5785,7 @@ Func_64fc: ; 64fc (1:64fc)
ld a, [wCurPlayAreaY]
inc a
ld e, a
- ld d, POKEMON_POWER
+ ld d, $04
ld hl, wLoadedCard1Move1Name
call InitTextPrinting_ProcessTextFromPointerToID
ret