Changing script behavior from CC steps to full semitones

I think i need to Re formulate my question as i have made some observations on the behavior of the MIDI CC oparation with helix.

I would like to modify the script to follow a specific change between click on the bottom
i.e.:

if current CC is 127, when click on down (the red button on my screenshot) then go to 124, if cc is 124 is active and down pressed, then go to CC 119 or if up is pressed then go to CC 124.

Is it possible to specify this on the current script?

Thanks