I want to draw scores on the screen so that you can make the function of scoring.
I would like to take sprites number scores for 2 sections but I only available to the very mario sprites from 1 section.
I would like to place the sprites of 2 sections for number scores at $0250
I would like to take sprites number scores for 2 sections but I only available to the very mario sprites from 1 section.
Code:
LoadScores:
LDA #$20
STA $2006
LDA #$20
STA $2006
LDX #$00
LoadScoresLoops:
LDA scores, x
STA $2007, x
INX
CPX #$80
BNE LoadScoresLoops
LDA #$20
STA $2006
LDA #$20
STA $2006
LDX #$00
LoadScoresLoops:
LDA scores, x
STA $2007, x
INX
CPX #$80
BNE LoadScoresLoops
Code:
scores:
.db $40, $00, $00, $40
.db $40, $01, $00, $48
.db $48, $02, $00, $40
.db $48, $03, $00, $48
.db $40, $00, $00, $40
.db $40, $01, $00, $48
.db $48, $02, $00, $40
.db $48, $03, $00, $48
I would like to place the sprites of 2 sections for number scores at $0250