summaryrefslogtreecommitdiff
path: root/src/engine/bank01.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-05-09 15:40:25 -0500
committerGitHub <noreply@github.com>2020-05-09 15:40:25 -0500
commit53bab0a246719227b1558dfce636e7d0b21d6db0 (patch)
treec314fc99467d6c65cc4f46b0848cde3746396517 /src/engine/bank01.asm
parent8fb0069491e06d994e4d1ce122b4758eb2c6ef5f (diff)
parent29ed945c4adce0b6bc45be3964f95393d8248390 (diff)
Merge pull request #68 from anmart/master
they are of arbitrary length, many are 1 bit though _Originally posted by @anmart in https://github.com/pret/poketcg/pull/68/files_
Diffstat (limited to 'src/engine/bank01.asm')
-rw-r--r--src/engine/bank01.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/bank01.asm b/src/engine/bank01.asm
index b73b47c..51fb0ef 100644
--- a/src/engine/bank01.asm
+++ b/src/engine/bank01.asm
@@ -6288,10 +6288,10 @@ DiscardSavedDuelData: ; 6785 (1:6785)
; 0x6793
; loads a player deck (sDeck*Cards) from SRAM to wPlayerDeck
-; s0b700 determines which sDeck*Cards source (0-3)
+; sCurrentlySelectedDeck determines which sDeck*Cards source (0-3)
LoadPlayerDeck: ; 6793 (1:6793)
call EnableSRAM
- ld a, [s0b700]
+ ld a, [sCurrentlySelectedDeck]
ld l, a
ld h, sDeck2Cards - sDeck1Cards
call HtimesL