mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 06:39:46 +02:00
ListOfWeapons is now 32 and it works
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ OptionsScreenEnd
|
|||||||
ListOfWeapons
|
ListOfWeapons
|
||||||
; 0123456789012345678901234567890123456789
|
; 0123456789012345678901234567890123456789
|
||||||
; :number_of_offensives dta d" "
|
; :number_of_offensives dta d" "
|
||||||
:33 dta d" "
|
:32 dta d" "
|
||||||
ListOfWeapons1End
|
ListOfWeapons1End
|
||||||
ListOfDefensiveWeapons
|
ListOfDefensiveWeapons
|
||||||
; :number_of_defensives dta d" "
|
; :number_of_defensives dta d" "
|
||||||
|
|||||||
BIN
Binary file not shown.
+4
-3
@@ -702,12 +702,13 @@ WeHaveOffset
|
|||||||
adw xbyte #ListOfWeapons
|
adw xbyte #ListOfWeapons
|
||||||
ldy #0
|
ldy #0
|
||||||
ClearList1
|
ClearList1
|
||||||
|
cpw xbyte #ListOfWeapons1End
|
||||||
|
beq ListCleared1
|
||||||
tya
|
tya
|
||||||
sta (xbyte),y
|
sta (xbyte),y
|
||||||
inw xbyte
|
inw xbyte
|
||||||
cpw xbyte #ListOfWeapons1End
|
jmp ClearList1
|
||||||
bne ClearList1
|
ListCleared1
|
||||||
|
|
||||||
; And the same we do with the second list
|
; And the same we do with the second list
|
||||||
|
|
||||||
; Multiply number on list 1 by 32 and set address
|
; Multiply number on list 1 by 32 and set address
|
||||||
|
|||||||
Reference in New Issue
Block a user