What level does Porygon 2 evolve in fire red?

porygon evolves into porygon 2 when traded holding upgrade.porygon 2 evolves into porygon z when trade holding dubious disk, but the second evolution is only available from gen 4 onward.