Cleanup Asar warnings with deprecated #$ format in tables

This commit is contained in:
scawful
2024-09-29 22:01:34 -04:00
parent 76d08711f0
commit 42ce2c4ee2
9 changed files with 153 additions and 181 deletions

View File

@@ -17,10 +17,10 @@ endwhile
; ZS does not clear message data when bank is changed
; So the end of the data bank is not as easily searchable.
org $0EEE75
db #$80
db $80
org !addr+1
db #$80
db $80
org $0ED436
JML MessageExpand
@@ -30,22 +30,22 @@ org $2F8000
MessageExpand:
{
; are we already in expanded bank?
LDA.b $02 : AND.w #$00FF : CMP.w #$000E : BNE +
LDA.b $02 : AND.w #$00FF : CMP.w #$000E : BNE +
LDA.w #MessageExpandedData : STA.b $00
LDA.w #MessageExpandedData>>16 : STA.b $02
JML $0ED3FC ; go back to original read message code pointers
JML $0ED3FC ; go back to original read message code pointers
+
; Restore vanilla code
; Restore vanilla code
LDA.w #$DF40 : STA.b $00
LDA.w #$000E : STA.b $02
JML $0ED3FC ; go back to original read message code pointers
JML $0ED3FC ; go back to original read message code pointers
}
MessageExpandedData:
Message_18D:
db $13, $B0, $2C, $59, $B5, $59, $BE, $2C, $2C, $1A
db $20, $1E, $59, $35, $3C, $03, $59, $A9, $26, $59
db $1B, $93, $24, $75, $37, $3A, $59, $3C, $34, $36
db $20, $1E, $59, $35, $3C, $03, $59, $A9, $26, $59
db $1B, $93, $24, $75, $37, $3A, $59, $3C, $34, $36
db $3A, $7F
db $FF ; end of message pointers checks