Thank you so much for your help ;)
At the moment the investigation was paused, but any help is welcome :D
As I don't know very much about ASM I was unable to search about that. Another thing that would be great to fix is the display of the amount of TM left...
Thanks for the help anyway :)