Add an extra level of parenthesis around the comparisons:
`if ((a_EnchantmentLevel >= 34) && (a_EnchantmentLevel <= 54))`
Do this with all the following `if`s, too.