Where is buck after you defeated heatran?

You find the legendary pokemon Heatran (after buck takes the rock you find there and you come back to that same room).