From: Lukas Krickl Date: Sat, 17 Jan 2026 07:49:48 +0000 (+0100) Subject: macros: fixed itemdef macro X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=96864be59dd7dafadfd713a1c5260384344499df;p=gbrg%2F.git macros: fixed itemdef macro --- diff --git a/src/item.s b/src/item.s index b2fcc7f..ce36576 100644 --- a/src/item.s +++ b/src/item.s @@ -8,4 +8,4 @@ items_ring: dw null_item null_item: - itemdef 0, 0, 0, ITEM_ATTR_STR, 0, 0 + itemdef 0, 0, 0, ITEM_ATTR_STR, 0, 0, NULL diff --git a/src/macros.inc b/src/macros.inc index 91c22d6..0b0e075 100644 --- a/src/macros.inc +++ b/src/macros.inc @@ -228,13 +228,13 @@ $1: ; $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