public static void DeathQuoteTextMessage(uint textid, List <ErrorSt> errors, Type cond, uint addr, uint tag = U.NOT_FOUND) { string text = FETextDecode.Direct(textid); string errorMessage = TextForm.CheckConversationTextMessage(text, TextForm.MAX_DEATH_QUOTE_WIDTH); if (errorMessage != "") { errors.Add(new FELint.ErrorSt(cond, U.toOffset(addr) , R._("TextID:{0}\r\n{1}", U.To0xHexString(textid), errorMessage), tag)); } }
public static void ConversationTextMessage(uint textid, List <ErrorSt> errors, Type cond, uint addr, uint tag = U.NOT_FOUND) { string text = FETextDecode.Direct(textid); string errorMessage = TextForm.CheckConversationTextMessage(text, textid, TextForm.MAX_SERIF_WIDTH); if (errorMessage != "") { if (IsVanillaGlitchForConversationTextMessage(text, textid, cond)) { return; } errors.Add(new FELint.ErrorSt(cond, U.toOffset(addr) , R._("TextID:{0}\r\n{1}", U.To0xHexString(textid), errorMessage), tag)); } }