summaryrefslogtreecommitdiff
path: root/src/engine/booster_packs.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-02-27 14:26:41 +0100
committerxCrystal <rgr.crystal@gmail.com>2018-02-27 14:26:41 +0100
commitf608fd9e506f37b55fbb10f09476d148d53c9c64 (patch)
tree8a0f43d7c3729bfea2fe9cafdef0d784bf645491 /src/engine/booster_packs.asm
parent4485b77a5f5041e17ea6f349fd8fe677316afac9 (diff)
Document main menu and game event functions
Diffstat (limited to 'src/engine/booster_packs.asm')
-rw-r--r--src/engine/booster_packs.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/booster_packs.asm b/src/engine/booster_packs.asm
index 99dde3f..98692d8 100644
--- a/src/engine/booster_packs.asm
+++ b/src/engine/booster_packs.asm
@@ -4,7 +4,7 @@ GenerateBoosterPack: ; 1e1c4 (7:61c4)
push hl
push bc
push de
- ld [wBoosterIndex], a
+ ld [wBoosterPackID], a
.no_cards_found_loop
call InitBoosterData
call GenerateBoosterEnergies
@@ -524,10 +524,10 @@ InitBoosterData: ; 1e430 (7:6430)
ld [wBoosterAveragedTypeChances], a
ret
-; get the pointer to the data of the booster pack at [wBoosterIndex]
+; get the pointer to the data of the booster pack at [wBoosterPackID]
FindBoosterDataPointer: ; 1e46f (7:646f)
push bc
- ld a, [wBoosterIndex]
+ ld a, [wBoosterPackID]
add a
ld c, a
ld b, $0