So you are searching for help on a file where you did try to transfer it to.
This would have been a better first post.
Probably yea a better post haha.
Yea, I am somehow try to understand the code in order to transfer it on other SW. I am not home now, but I will upload the code today and go through it. Maybe I missed something.
I remember the addresses:
7cd20 to 7cd9f - the als code
afec0 to afec3 - probably call function
10c31c to 10c31f - probably some other call function
I think there are missing variables (like RPM threshold, etc)