From fe4d9688d522d4c68d84ed58d949ad4573d1a614 Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Thu, 12 May 2016 17:42:59 +1000 Subject: [PATCH] hide sprites during message screen --- 028.bs/game1.s | 2 ++ 028.bs/items.s | 1 + 2 files changed, 3 insertions(+) diff --git a/028.bs/game1.s b/028.bs/game1.s index 534aab2..13e524e 100644 --- a/028.bs/game1.s +++ b/028.bs/game1.s @@ -743,7 +743,9 @@ BigBang: bsr HoriScrollPlayfield jsr SwitchBuffers jsr UpdatePlayerFallingAnimation + jsr PrepareItemSpriteData + move.l foregroundMapPtr,a2 move.l foregroundScrollX,d0 lsr.l #FOREGROUND_SCROLL_TILE_INDEX_CONVERT,d0 diff --git a/028.bs/items.s b/028.bs/items.s index 45a92a2..03db444 100644 --- a/028.bs/items.s +++ b/028.bs/items.s @@ -100,6 +100,7 @@ ResetItems: add.l #ITEM_STRUCT_SIZE,a1 ; multiply by 16 (item control structure size) dbra d1,.loop1 move.l #0,itemSpritesEnabled + bsr PrepareItemSpriteData rts