Fixed "bad type on operand stack" ASM on energy items