If you meant the same custom code, then yes you can.
Just change the trigger, and you should be golden.