That means the transistor is probably good.
Not knowing the exact circuit, if a TIP31 fits (I know it is bigger) I would try it. The gain is not the same but the circuit is probably a blocking oscillator and wouldn't care.
I don't know what transistors are commonly available in your town, but now that you have said you are in India, perhaps one of the forum members who can help will speak.