def build_control_tags_string
      str = ""
      valid_control_tag_codes = [0, 1, 4, 5, 12, 18, 19, 26, 28, 43, 45, 70, 72]
      @control_tags.each do |t|
        next unless valid_control_tag_codes.include? t.code
        if @idmap[t.refer_character_id]
          str << t.rawdata_with_refer_character_id(@idmap[t.refer_character_id])
        else
          str << t.rawdata
        end
      end
      str
    end
def build_control_tags_string
      str = ""
      valid_control_tag_codes = [0, 1, 4, 5, 12, 18, 19, 26, 28, 43, 45, 70, 72]
      @control_tags.each do |t|
        next unless valid_control_tag_codes.include? t.code
        if @idmap[t.refer_character_id]
          str << t.rawdata_with_refer_character_id(@idmap[t.refer_character_id])
        else
          str << t.rawdata
        end
      end
      str
    end
DefineSpriteに埋め込むためのControl tagsのみを抽出する.
 参照先のcharacter_idを変更する必要がある場合は付け替える.