Problems merging 2 codes (blinking light and dfplayer)

If I delete that line

const byte sensor = 6;

(I actual renamed it to const byte trigger = 6) and renamed all stuff in the code to trigger instead of sensor.
Then it says this:
Conflicting declaration "int led1" from this line:

int led1 = 13; // led onboard for test  //ADDED FROM DISTANCE CODE

And thank you for your time!