If you get a Rayquaza with Action Replay can you still catch the one in Sky Pillar and will it mess up your game?

I Believe it depends on what code, If you're talking about using a code to get it in the grass, You Should be able to get him in sky pillar, No idea about it messing up your game though.