wLuckyNumberDigitsBuffer

This commit is contained in:
Rangi 2018-07-29 01:13:25 -04:00
parent 0c746447e7
commit 8aa08addba
3 changed files with 7 additions and 10 deletions

View File

@ -127,14 +127,14 @@ CheckForLuckyNumberWinners:
ld hl, wBuffer1 ld hl, wBuffer1
lb bc, PRINTNUM_LEADINGZEROS | 2, 5 lb bc, PRINTNUM_LEADINGZEROS | 2, 5
call PrintNum call PrintNum
ld hl, wLuckyNumberDigit1Buffer ld hl, wLuckyNumberDigitsBuffer
ld de, wLuckyIDNumber ld de, wLuckyIDNumber
lb bc, PRINTNUM_LEADINGZEROS | 2, 5 lb bc, PRINTNUM_LEADINGZEROS | 2, 5
call PrintNum call PrintNum
ld b, 5 ld b, 5
ld c, 0 ld c, 0
ld hl, wLuckyNumberDigit5Buffer ld hl, wLuckyNumberDigitsBuffer + 4
ld de, wBuffer5 ld de, wBuffer1 + 4
.loop .loop
ld a, [de] ld a, [de]
cp [hl] cp [hl]

View File

@ -268,7 +268,7 @@ Function4a9d7:
call GetNick call GetNick
ld h, d ld h, d
ld l, e ld l, e
ld de, wEndFlypoint ld de, wd006
ld bc, 6 ld bc, 6
call CopyBytes call CopyBytes
ld a, [wd003] ld a, [wd003]

View File

@ -1675,11 +1675,7 @@ wRadioTextEnd::
NEXTU ; d002 NEXTU ; d002
; lucky number show ; lucky number show
wLuckyNumberDigit1Buffer:: db wLuckyNumberDigitsBuffer:: ds 5
wLuckyNumberDigit2Buffer:: db
wLuckyNumberDigit3Buffer:: db
wLuckyNumberDigit4Buffer:: db
wLuckyNumberDigit5Buffer:: db
NEXTU ; d002 NEXTU ; d002
; movement buffer data ; movement buffer data
@ -1731,7 +1727,8 @@ wd003:: db
wd004:: db wd004:: db
; mobile? ; mobile?
ds 3 ds 1
wd006:: ds 2
wd008:: ds 2 wd008:: ds 2
ds 2 ds 2
wd00c:: ds 1 wd00c:: ds 1