My mate installed a D16Y (Vtec) into his D15 EG Sedan. Everything bolted in and being an EG would mean he had a different gearbox?

I would have assumed the Engine will always be the same