Bit of polish

This commit is contained in:
Randy Thiemann 2023-10-20 08:57:12 +02:00
parent 7b9f62d0ba
commit 2eb1e5888f
2 changed files with 13 additions and 3 deletions

View File

@ -46,6 +46,8 @@ SECTION "Static Data", ROM0
sLeady:: db " READY? " sLeady:: db " READY? "
sGo:: db " GO " sGo:: db " GO "
sGameOver:: db "GAME OVER!" sGameOver:: db "GAME OVER!"
sGameOver2:: db " RETRY A "
sGameOver3:: db " QUIT B "
sPieceXOffsets:: ; How to draw each piece. X-offsets of the sprites. sPieceXOffsets:: ; How to draw each piece. X-offsets of the sprites.
db 0, 8, 16, 24 ; I db 0, 8, 16, 24 ; I
db 0, 8, 8, 16 ; Z db 0, 8, 8, 16 ; Z

View File

@ -267,6 +267,14 @@ gameOverMode:
ld hl, wField+(10*10) ld hl, wField+(10*10)
ld bc, 10 ld bc, 10
call UnsafeMemCopy call UnsafeMemCopy
ld de, sGameOver2
ld hl, wField+(11*10)
ld bc, 10
call UnsafeMemCopy
ld de, sGameOver3
ld hl, wField+(12*10)
ld bc, 10
call UnsafeMemCopy
; Retry? ; Retry?
ldh a, [hAState] ldh a, [hAState]