mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
smol optimization by setting default color value for DisplayOffTextNr
This commit is contained in:
+2
-4
@@ -1594,8 +1594,8 @@ RandomizeOffensiveText
|
||||
|
||||
sta TextNumberOff
|
||||
ldy TankNr
|
||||
mva #$ff plot4x4color
|
||||
jsr DisplayOffensiveTextNr
|
||||
lda #$ff
|
||||
jsr DisplayOffensiveTextNr.notZero
|
||||
|
||||
AfterOffensiveText
|
||||
mva #0 LaserFlag ; $ff - Laser
|
||||
@@ -1651,7 +1651,6 @@ ShotUnderGround
|
||||
;here we clear offensive text (after a shoot)
|
||||
ClearOffensiveText
|
||||
ldy TankNr
|
||||
mva #$00 plot4x4color
|
||||
jmp DisplayOffensiveTextNr
|
||||
; rts
|
||||
.endp
|
||||
@@ -2472,7 +2471,6 @@ MIRValreadyAll
|
||||
|
||||
;first clean the offensive text...
|
||||
ldy TankNr
|
||||
mva #$00 plot4x4color
|
||||
jsr DisplayOffensiveTextNr
|
||||
|
||||
; temporary removing tanks from the screen (otherwise they will fall down with soil)
|
||||
|
||||
Reference in New Issue
Block a user