The first line of an AR code can define which buttons activate it.
I have been looking into the structure of the AR codes produced by Pokesav and found out the lines of code that dictate how to activate the code.
The code below, used to get the Secret Key, I made using Pokesav, and by default is activated when you press L and R.
Hovever, there are other ways to activate an AR code.
The Run through Walls code is activated when R and B are pressed, but is deactivated when L and B are pressed.
The Restore Health in Battle code is activated when you press Start.
The 1 Hit Kills in Battle code is activated when you press Select.
A code I found online to keep the Wall from crumbling in the Underground is activated when you hold R.
That is all I have for now.