#################################### # ¸Þ½ÃÁö â ƯÁ¤ ´Ü¾î »ö ÀÚµ¿À¸·Î ¹Ù²Ù±â # \C[n]ÁÖÀΰø\C[0] <- ÀÌ ³ë°¡´Ù¸¦ ÁÙÀÌ´Â # ½ºÅ©¸³Æ®¸¦ ¸¸µé¾î ºÃ½À´Ï´Ù. # by X.66 # #################################### class Window_Message < Window_Selectable def convert_special_characters_ggaggagga # Ç׸ñº° ±ÛÀÚ »ö ¼³Á¤ ºÎºÐ actor_color = 2 # ¾×ÅÍ¸í »ö±ò <- »ö (¼ýÀÚ) ¹Ù²ãµµ µË´Ï´Ù. map_color = 3 # Áö¸í »ö±ò <- À̰͵µ... item_color = 4 # ¾ÆÀÌÅÛ¸í »ö±ò <- À̰͵µ... custom_color = 5 # ±âŸ¸íĪ »ö±ò <- À̰͵µ... # À̸§ µî·Ï ºÎºÐ _ ÀÌ °÷¿¡ ¸íĪÀ» Ãß°¡ÇØÁÖ¼¼¿ä # # ÇÑ ÁÙÀÌ ³Ñ¾î°¥ °æ¿ì¿¡´Â ÀÌ·± ½Ä À¸·Î # ¿¹Á¦) # actor = [ "·¹º§", "±âŸ", "±âŸ", "±âŸ", # "±âŸ", "±âŸ", "±âŸ", "±âŸ" ] #################################### actor = [] map = [] item = [] custom = [] #################################### for i in 0 ... actor.size @text.gsub!(actor[i]) { "\\c[#{actor_color}]#{actor[i]}\\c[0]"} end for i in 0 ... map.size @text.gsub!(map[i]) { "\\c[#{map_color}]#{map[i]}\\c[0]"} end for i in 0 ... item.size @text.gsub!(item[i]) { "\\c[#{item_color}]#{item[i]}\\c[0]"} end for i in 0 ... custom.size @text.gsub!(custom[i]) { "\\c[#{custom_color}]#{custom[i]}\\c[0]"} end end def start_message @text = "" for i in 0...$game_message.texts.size @text += "¡¡¡¡" if i >= $game_message.choice_start @text += $game_message.texts[i].clone + "\x00" end @item_max = $game_message.choice_max convert_special_characters_ggaggagga convert_special_characters reset_window new_page end end