file select
This commit is contained in:
@@ -220,7 +220,7 @@ warnpc $31D001
|
||||
|
||||
org $31D000
|
||||
FileSelectNewGraphics:
|
||||
incbin "data/fileselect.chr.gfx"
|
||||
incbin "data/fileselectgfx.2bpp"
|
||||
warnpc $31E001
|
||||
|
||||
org $31E000
|
||||
|
||||
Binary file not shown.
BIN
data/fileselectgfx.png
Normal file
BIN
data/fileselectgfx.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -115,6 +115,50 @@ DrawPlayerFile:
|
||||
; re-enable Stripe Image format upload on this frame
|
||||
; Value loaded must match what gets set by AltBufferTable
|
||||
LDA.w #$0161 : STA.w GFXStripes+2
|
||||
|
||||
LDA.w #$C000>>1
|
||||
XBA
|
||||
STA.w GFXStripes+$0402
|
||||
|
||||
LDA.w #$C03E>>1
|
||||
XBA
|
||||
STA.w GFXStripes+$0408
|
||||
|
||||
LDA.w #$C000|57
|
||||
XBA
|
||||
STA.w GFXStripes+$0404
|
||||
STA.w GFXStripes+$040A
|
||||
|
||||
LDA.w #$12BF
|
||||
STA.w GFXStripes+$0406
|
||||
ORA.w #$4000
|
||||
STA.w GFXStripes+$040C
|
||||
|
||||
LDA.w #$C0C6>>1
|
||||
XBA
|
||||
STA.w GFXStripes+$040E
|
||||
|
||||
LDA.w #$4001
|
||||
XBA
|
||||
STA.w GFXStripes+$0410
|
||||
|
||||
LDA.l DisableFlashing
|
||||
AND.w #$00FF
|
||||
BEQ .flashing
|
||||
|
||||
LDA.w #$26BE
|
||||
BRA .draw_access_icon
|
||||
|
||||
.flashing
|
||||
LDA.w #$0188
|
||||
NOP ; 2 cycles wasted to be equal
|
||||
|
||||
.draw_access_icon
|
||||
STA.w GFXStripes+$0412
|
||||
|
||||
LDA.w #$FFFF
|
||||
STA.w GFXStripes+$0414
|
||||
|
||||
BRA .done
|
||||
.normal
|
||||
STZ.w SkipOAM ; ensure core animated tile updates are not suppressed
|
||||
|
||||
@@ -2496,3 +2496,9 @@ endif
|
||||
;--------------------------------------------------------------------------------
|
||||
org $008BE5 ; hijack stripes
|
||||
JSL.l TransferVRAMStripes
|
||||
|
||||
;===================================================================================================
|
||||
; Fix fairy palette on file select
|
||||
;===================================================================================================
|
||||
org $9BF029+1 : db $10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user