From b3cb545c6ebc43fbdd822f91c6536a5f8ae7bc27 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 19 Mar 2025 17:33:53 +0100 Subject: player: Update its sprites on heading and throttle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- src/title.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/title.s') diff --git a/src/title.s b/src/title.s index 3e6da61..40b9352 100644 --- a/src/title.s +++ b/src/title.s @@ -69,16 +69,16 @@ sta $200 jmp @set_timer_and_end + @down: + lda #SPRITE_Y_POSITION1 + sta $200 + @check_start: lda #Joypad::BUTTON_START and Joypad::zp_buttons1 beq @end JAL start - @down: - lda #SPRITE_Y_POSITION1 - sta $200 - @set_timer_and_end: lda #TIMER_INIT_VALUE sta zp_title_timer -- cgit v1.2.3