enemy now moves smooth when switching G