I don't use actions, because I don't use wed. This is a pure 2d game where a level is never loaded.
No external DLLs are loaded in this game.
Seems it was the name of the function again.
before it was called
yaob_function(...
then i changed it to
yaob_assignments(...
I left that function name the same and made it call another function with all the same stuff. this new function had a pure gibberish name.
You're response made me look at my code and see that there is another function I have that starts with "yaob" and see if changing it would fix it. I don't know that it did, as in the end that only thing that causes this crash is the "wait" function.