1. all events must be four digits long (and in numerical order!), and padded out with a 0 at the start - ie. #0003, #0030, #0300 etc - this is what's causing your issue, as if either of these formats are not followed it leads to weird and wacky unpredictable results
2. also all events must have a designated 'stop' command that either ends or transitions to another event - <END, <TRA, <EVE etc - so your #0202 will need an <END otherwise weird and wacky unpredictable things will also happen
3. you don't need to add a <MSG for every newline; it's not gonna break anything but it's only relevant at the beginning of dialogue to call the textbox or after it's been closed with <CLO... also, i'm unsure why you're adding <CLR to each newline? ignore this if it's just a personal preference, but the game will automatically scroll text, the only thing you need to manually add is linebreaks