You have alerted the Hoard
Functions (and arrays) are So incredibly awsome that I couldnt fathom coding without them I’ve been able to take Some of my largest games from 12fps to nearly 40fps with one function
here is a post I made about Functions (and arrays)
Advance yo self