From 2eb1e5888f184601a0575c432d6ad3069ffe719c Mon Sep 17 00:00:00 2001 From: Randy Thiemann Date: Fri, 20 Oct 2023 08:57:12 +0200 Subject: [PATCH] Bit of polish --- src/constants.asm | 8 +++++--- src/state_gameplay.asm | 8 ++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/constants.asm b/src/constants.asm index ac03e61..6f3902a 100644 --- a/src/constants.asm +++ b/src/constants.asm @@ -43,9 +43,11 @@ CHARMAP "?", 103 SECTION "Static Data", ROM0 -sLeady:: db " READY? " -sGo:: db " GO " -sGameOver:: db "GAME OVER!" +sLeady:: db " READY? " +sGo:: db " GO " +sGameOver:: db "GAME OVER!" +sGameOver2:: db " RETRY A " +sGameOver3:: db " QUIT B " sPieceXOffsets:: ; How to draw each piece. X-offsets of the sprites. db 0, 8, 16, 24 ; I db 0, 8, 8, 16 ; Z diff --git a/src/state_gameplay.asm b/src/state_gameplay.asm index b90cdb4..f2d113d 100644 --- a/src/state_gameplay.asm +++ b/src/state_gameplay.asm @@ -267,6 +267,14 @@ gameOverMode: ld hl, wField+(10*10) ld bc, 10 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? ldh a, [hAState]