wrong array range

This commit is contained in:
Pecusx
2022-05-02 13:23:00 +02:00
parent 41747cfadd
commit ca7a61873c
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -619,8 +619,8 @@ PlayerXdeath .proc
MetodOfDeath MetodOfDeath
lda random lda random
and #%00011111 ; range 0-31 (reduced to 0 - 15 - why??? ) and #%00011111 ; range 0-31
cmp #19 ; we have 19 weapons in table cmp #20 ; we have 20 weapons in table (from 0 to 19)
bcs MetodOfDeath bcs MetodOfDeath
tay tay
lda weaponsOfDeath,y lda weaponsOfDeath,y
BIN
View File
Binary file not shown.