Quote from: nitwit on August 03, 2022, 09:07:23 pmTreat it like a range (0 to 4), basically? I could accomplish that by bit shifting it and masking out the parts I don't need, though I don't know if that would be simpler in ASM than dealing with bits and branches.
You might achieve that, but still the weapon and the shield section are peculiar. Shield section check the 2 hands, weapon section too, but it compare the two weapons to choose the one to break... So in the end you'll have to deal with some branches i guess.