mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 14:49:40 +02:00
wrong array range
This commit is contained in:
+2
-2
@@ -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
Binary file not shown.
Reference in New Issue
Block a user