I think, problem with your Sptraits in wrong text editor. I'm always use for this Notepad, if you do so, you can see the special symbols like these:
These symbols means the end of caret. Using the other text editors will corrupt original text structure after saving.
Download this file, I include in it two good programs: Def Tool (for sprites) and Txt Tables Editor (for text files, if you can't use Notepad). And also - updated CPrS097S.bmp (problem was in wrong color used - RGB 2-254-254 instead of 0-255-255; check it next time):
Unfortunately, I can't help you with ERM, may be someone else can?