Fixed a bug with Energy Breaker using a sprite on a subscreen that conflicted with the previous logic rework of the sprite with subscreen code.
This commit is contained in:
@@ -2552,12 +2552,17 @@ NEWSYM drawbg4linepr116b
|
|||||||
; FillSubScr bit 0 sets to 1 if there is no subscreen present
|
; FillSubScr bit 0 sets to 1 if there is no subscreen present
|
||||||
; ms,wms,wm,ws
|
; ms,wms,wm,ws
|
||||||
; FillSubScr scadtng
|
; FillSubScr scadtng
|
||||||
NEWSYM drawsprng16b
|
<NEWSYM drawsprng16b
|
||||||
test byte[BGMS1+ebx*2],10h
|
test byte[BGMS1+ebx*2],10h
|
||||||
jz .nosubmain
|
jz .nosubmain
|
||||||
mov edi,[CSubWinScr]
|
mov edi,[CSubWinScr]
|
||||||
|
test byte[FillSubScr+ebx],2
|
||||||
|
jnz near drawsprng16bt
|
||||||
|
jmp .nosubmain
|
||||||
|
mov edi,[CMainWinScr]
|
||||||
cmp byte[edi+ebx+4*256],0
|
cmp byte[edi+ebx+4*256],0
|
||||||
je .nosubmain
|
je .nosubmain
|
||||||
|
.submain
|
||||||
test byte[FillSubScr+ebx],1
|
test byte[FillSubScr+ebx],1
|
||||||
jnz near drawsprng16bt
|
jnz near drawsprng16bt
|
||||||
.nosubmain
|
.nosubmain
|
||||||
|
|||||||
Reference in New Issue
Block a user