Fixed movfa and modified how delay works