AbdyyEee / PylibMS

Library for Nintendo's LMS file formats (MSBT, MSBP) for Nintendo 3DS and Wii U.
GNU General Public License v3.0
6 stars 1 forks source link

Fix false positive in `is_tag` #2

Closed CebolaBros64 closed 6 months ago

CebolaBros64 commented 6 months ago

This PR aims to fix a false positive that could occur when identifying sections of a message as a MessageStudio tag.

Take for example this message from Tomodachi Collection Shin Seikatsu:

"touch_react_food_ultrabest_shout": "<\\Ecg=80><\\Ecl=3000><\\Spd=300>ウマーーーーーーイ\u0000",
<\Ecg=80><\Ecl=3000><\Spd=300>ウマーーーーーーイ

These are not MS tags, but PylibMS would still try to parse them as such.

Let me know if there's a better way to implement this fix.

AbdyyEee commented 6 months ago

Looks good to me.