Skip to content

Commit 058848f

Browse files
committed
Fix constant in PrintPlayAreaCardAttachedEnergies
1 parent 5296c49 commit 058848f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/engine/duel/core.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5567,8 +5567,8 @@ PrintPlayAreaCardAttachedEnergies:
55675567
call GetPlayAreaCardAttachedEnergies
55685568
ld hl, wDefaultText
55695569
push hl
5570-
ld c, NUM_TYPES
5571-
xor a
5570+
ld c, 8 ; maximum number of symbols that will be printed
5571+
xor a ; SYM_SPACE
55725572
.empty_loop
55735573
ld [hli], a
55745574
dec c
@@ -5599,7 +5599,7 @@ PrintPlayAreaCardAttachedEnergies:
55995599
pop bc
56005600
call BCCoordToBGMap0Address
56015601
ld hl, wDefaultText
5602-
ld b, NUM_TYPES
5602+
ld b, 8
56035603
call SafeCopyDataHLtoDE
56045604
ret
56055605

0 commit comments

Comments
 (0)