From 9ae51a4c210b8f01718e21eda592c498715a642b Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 11 Mar 2026 23:44:13 +0100 Subject: Initial implementation for items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This now only supports the appearance of shuttle parts and the fact that the player can collect them at a very specific order and drop them so to stack up the final shuttle. This is of course just the skeleton and there's a bunch of TODO's left. Signed-off-by: Miquel Sabaté Solà --- src/over.s | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'src/over.s') diff --git a/src/over.s b/src/over.s index 6d8ed8d..cb59ef8 100644 --- a/src/over.s +++ b/src/over.s @@ -144,6 +144,53 @@ dex bne @clear_ground_loop + ;; The low part of the rocket. + bit PPU::m_status + ldx #$2B + stx PPU::m_address + ldx #$15 + stx PPU::m_address + sta PPU::m_data + sta PPU::m_data + + ;; High part of the rocket. + bit PPU::m_status + ldy #$2A + sty PPU::m_address + ldx #$75 + stx PPU::m_address + sta PPU::m_data + sta PPU::m_data + + bit PPU::m_status + sty PPU::m_address + ldx #$95 + stx PPU::m_address + sta PPU::m_data + sta PPU::m_data + + bit PPU::m_status + sty PPU::m_address + ldx #$B5 + stx PPU::m_address + sta PPU::m_data + sta PPU::m_data + + ;; Middle part of the rocket. + bit PPU::m_status + sty PPU::m_address + ldx #$D5 + stx PPU::m_address + sta PPU::m_data + sta PPU::m_data + + bit PPU::m_status + sty PPU::m_address + ldx #$F5 + stx PPU::m_address + sta PPU::m_data + sta PPU::m_data + rts .endproc -- cgit v1.2.3