; At the start of the code create the X and Y offsets
set %ClickXOffset #clixres / 2 + 14
set %ClickYoffset #cliyres / 2 + 18
; later in the Charm subroutine:
...
gosub flutechecker
set %ClickX #clileft + %ClickXoffset
set %Clicky #clitop + %ClickYoffset
click %ClickX %ClickY mc
...