mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
wLuckyNumberDigitsBuffer
This commit is contained in:
parent
0c746447e7
commit
8aa08addba
@ -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]
|
||||||
|
@ -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]
|
||||||
|
9
wram.asm
9
wram.asm
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user