Spectrophotometric determination of total alkaloids with bromocresol green method.
The BCG can reat with a certain class of alkaloids ( that have nitrogen inside structure) and amine or amid alkaloids does not react with this reagent.
Your observation is right. The acid and basic forms of this dye have an isosbestic point in their UV-Visible spectrum, around 515 nm, indicate that the two forms interconvert directly without forming any other substance.
It seems you have a little misconception, BCG reacts with the protonated nitrogen, so the ion-pair complex will be formed between the basic nitrogen of the alkaloid and BCG. thereby, according to the pH of the medium (pH of the buffer), the nitrogen will be protonated. yet, maybe the molecule contains more than one nitrogen atom protonation will be related to the difference of basicity between those atoms. then, you have to check the pH of the medium and the pKas of your alkaloid to know which one will be protonated.