summaryrefslogtreecommitdiff
path: root/src/engine/bank01.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-07-02 16:50:41 +0200
committerxCrystal <rgr.crystal@gmail.com>2018-07-02 16:50:41 +0200
commitd201196bea11e71887a826b5b364d2d11f94abc9 (patch)
tree851e1a0b983e70bb1230d6f6c5d753f0e74f574e /src/engine/bank01.asm
parent8a46cabd88362fb1613a6b444d9ec8eaab08a405 (diff)
Consistent card id / card's deck index references in comments
Diffstat (limited to 'src/engine/bank01.asm')
-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 d459c81..6f1fe91 100644
--- a/src/engine/bank01.asm
+++ b/src/engine/bank01.asm
@@ -1072,7 +1072,7 @@ DuelMenu_Attack: ; 46fc (1:46fc)
ld d, $00
ld hl, wDuelTempList
add hl, de
- ld d, [hl] ; card index within the deck (0 to 59)
+ ld d, [hl] ; card's deck index (0 to 59)
inc hl
ld e, [hl] ; attack index (0 or 1)
call CopyMoveDataAndDamage_FromDeckIndex
@@ -1288,7 +1288,7 @@ CheckIfEnoughEnergiesToMove: ; 488f (1:488f)
ld d, $0
ld hl, wDuelTempList
add hl, de
- ld d, [hl] ; card index within the deck (0 to 59)
+ ld d, [hl] ; card's deck index (0 to 59)
inc hl
ld e, [hl] ; attack index (0 or 1)
call _CheckIfEnoughEnergiesToMove
@@ -1299,7 +1299,7 @@ CheckIfEnoughEnergiesToMove: ; 488f (1:488f)
; check if a pokemon card has enough energy attached to it in order to use a move
; input:
-; d = card index within the deck (0 to 59)
+; d = deck index of card (0 to 59)
; e = attack index (0 or 1)
; wAttachedEnergies and wTotalAttachedEnergies
; returns: carry if not enough energy, nc if enough energy.