Memory layout

This commit is contained in:
Pecusx
2022-11-14 19:31:49 +01:00
parent 927163f41d
commit 43ae88673c
5 changed files with 34 additions and 32 deletions
-30
View File
@@ -2537,36 +2537,6 @@ NextChar02
rts
.endp
;-------------------------------------------------
.proc CheckTankCheat
; puts name of the tank on the screen
ldy #$07
lda TankNr
asl
asl
asl ; 8 chars per name
tax
@
lda tanksnames,x
cmp CheatName,y
bne NoCheat
inx
dey
bpl @-
YesCheat
ldx TankNr
lda TanksWeaponsTableL,x
sta temp
lda TanksWeaponsTableH,x
sta temp+1
lda #99
@ iny
sta (temp),y
cpy #(last_defensive_____ - first_offensive____)
bne @-
NoCheat
rts
.endp
;-------------------------------------------------
.proc RoundOverSprites
; fill sprites with bytes
ldy numberOfPlayers