I've looked through the translation for that line and event but I can't find anything wrong on my end. I'm really not sure why some people experience this bug and others don't, sorry
It seems I have found a way to fix this problem.
During testing, I discovered that the problem was indeed with the translation, or more specifically with the English and Japanese characters.
I took the original Japanese string, deleted part of the Japanese text, and replaced it with another language. I compiled the game, tested it, and the error did not appear. I came to the conclusion that as long as there are Japanese characters in the string, everything works fine.
To fix the problem, you just need to replace this string:
\c[0 >Knocked out! \c[0]Experience Points\font[1]\c[2]\cdb[1:0:11]\font[0]\c[0]EXP Gained!
with this string:
\c[0] >Knocked out!\c[0]Experience Points\font[1]\c[2]\cdb[1:0:11]\font[0]\c[0]EXP Gained!
These two strings differ only in the “!” character. As I understand it, if you simply leave the Japanese “!” character, the game engine will think that there are Japanese characters in the string and no errors will occur.
I admit that it may also be due to the fact that the first “!” sign is before this expression \c[0], and this also plays a role, but it doesn't matter because everything works.
This method worked for me, and I hope it works for you too.