Exemple #1
0
        private static Boolean ReadEmbadedText(Int32 fieldZoneId, out String[] text)
        {
            String path = EmbadedTextResources.GetCurrentPath("/Field/" + FF9TextTool.GetFieldTextFileName(fieldZoneId) + ".mes");
            String raw  = EmbadedSentenseLoader.LoadText(path);

            if (raw != null)
            {
                raw  = TextOpCodeModifier.Modify(raw);
                text = FF9TextTool.ExtractSentense(raw);
                return(true);
            }

            text = null;
            return(false);
        }