ListOfWeapons is now 32 and it works

This commit is contained in:
Pecusx
2022-08-29 12:05:51 +02:00
parent cc07bd52f2
commit 4a1c8aacda
3 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -702,12 +702,13 @@ WeHaveOffset
adw xbyte #ListOfWeapons
ldy #0
ClearList1
cpw xbyte #ListOfWeapons1End
beq ListCleared1
tya
sta (xbyte),y
inw xbyte
cpw xbyte #ListOfWeapons1End
bne ClearList1
jmp ClearList1
ListCleared1
; And the same we do with the second list
; Multiply number on list 1 by 32 and set address