Same here, the result of bmap_to_alpha() is not looks like "flare" flag in C-script.