#==============================================================================
# ▼ Text Outline Code
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# -- Last Updated: 2013.31.08
# -- Level: Normal
# -- Requires: n/a
# -- Script by: Yami, Archeia_Nessiah
#==============================================================================
#==============================================================================
# ▼ Introduction
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This is a graphical enhancement script.
# It uses the color codes of your windowskin.
#
#==============================================================================
# ▼ Instructions
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ▼ Materials/素材 but above ▼ Main. Remember to save.
#
# Add \oc, with n being the color # from your windowskin, before the text
# message. For example: \ocHola Amigos!
#
#==============================================================================
# ▼ Compatibility
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This script is made strictly for RPG Maker VX Ace. It is highly unlikely that
# it will run with RPG Maker VX without adjusting.
#==============================================================================

class Window_Base < Window
alias outlinecode_process_escape_character process_escape_character
def process_escape_character(code, text, pos)
case code.upcase
when 'OC'
color = text_color(obtain_escape_param(text))
contents.font.out_color.set(color)
contents.font.out_color.alpha = 128
else
outlinecode_process_escape_character(code, text, pos)
end
end
end