One trick if the transistor characteristics are very critical to the circuit,is to examine the schematic to see if they also use the same type in a non-critical application,such as turning on an LED,or whatever.
Very carefully remove that transistor,use it to replace the critical one,& fit a substitute part in the non-critical position.
Manufacturers frequently use one type of transistor both in circuits that need its special characteristics,& in other positions that don't,as a method of reducing inventory.
Of course,If the original transistor is in a non-critical position,just replace it with a substitute.