dw null_item
null_item:
- itemdef 0, 0, 0, ITEM_ATTR_STR, 0, 0
+ itemdef 0, 0, 0, ITEM_ATTR_STR, 0, 0, NULL
; $1: type
; $2: flags
; $3: damage
- ; $5: proficency attribute
- ; $6: proficency attribute value
- ; $7: damage type
- ; $8: attribute ptr (may be NULL)
+ ; $4: proficency attribute
+ ; $5: proficency attribute value
+ ; $6: damage type
+ ; $7: attribute ptr (may be NULL)
#macro itemdef
- .db $1, $2, $3, $4, $5
- dw $6
+ .db $1, $2, $3, $4, $5, $6
+ dw $7
#endmacro
; defines an overlay sprite