Fix massive monster spell/flag confusion (thanks Mondkalb)
Fix bitflag bug with shapechanging