mirror of https://github.com/pret/pokecrystal.git
wLuckyNumberDigitsBuffer
This commit is contained in:
parent
0c746447e7
commit
8aa08addba
|
@ -127,14 +127,14 @@ CheckForLuckyNumberWinners:
|
|||
ld hl, wBuffer1
|
||||
lb bc, PRINTNUM_LEADINGZEROS | 2, 5
|
||||
call PrintNum
|
||||
ld hl, wLuckyNumberDigit1Buffer
|
||||
ld hl, wLuckyNumberDigitsBuffer
|
||||
ld de, wLuckyIDNumber
|
||||
lb bc, PRINTNUM_LEADINGZEROS | 2, 5
|
||||
call PrintNum
|
||||
ld b, 5
|
||||
ld c, 0
|
||||
ld hl, wLuckyNumberDigit5Buffer
|
||||
ld de, wBuffer5
|
||||
ld hl, wLuckyNumberDigitsBuffer + 4
|
||||
ld de, wBuffer1 + 4
|
||||
.loop
|
||||
ld a, [de]
|
||||
cp [hl]
|
||||
|
|
|
@ -268,7 +268,7 @@ Function4a9d7:
|
|||
call GetNick
|
||||
ld h, d
|
||||
ld l, e
|
||||
ld de, wEndFlypoint
|
||||
ld de, wd006
|
||||
ld bc, 6
|
||||
call CopyBytes
|
||||
ld a, [wd003]
|
||||
|
|
9
wram.asm
9
wram.asm
|
@ -1675,11 +1675,7 @@ wRadioTextEnd::
|
|||
|
||||
NEXTU ; d002
|
||||
; lucky number show
|
||||
wLuckyNumberDigit1Buffer:: db
|
||||
wLuckyNumberDigit2Buffer:: db
|
||||
wLuckyNumberDigit3Buffer:: db
|
||||
wLuckyNumberDigit4Buffer:: db
|
||||
wLuckyNumberDigit5Buffer:: db
|
||||
wLuckyNumberDigitsBuffer:: ds 5
|
||||
|
||||
NEXTU ; d002
|
||||
; movement buffer data
|
||||
|
@ -1731,7 +1727,8 @@ wd003:: db
|
|||
wd004:: db
|
||||
|
||||
; mobile?
|
||||
ds 3
|
||||
ds 1
|
||||
wd006:: ds 2
|
||||
wd008:: ds 2
|
||||
ds 2
|
||||
wd00c:: ds 1
|
||||
|
|
Loading…
Reference in New Issue