local LIST_SCALE = .8
local Image_sets = {
title = {frames = {"ui_txt_adv_title_1", "ui_txt_adv_title_2"}, sheet = "ui_bms_txt_adv_title"},
}
--[[
Scene COL_TXT_ADV_01_SC_01 -- The screen the text adventure is on
Choice COL_TXT_ADV_01_SC_01_CH1 -- The choice available to the player
Continue COL_TXT_ADV_NEXT -- A generic CONTINUE button for screens that have enough text to require two screens
To be continued... COL_TXT_ADV_END -- A final last option at the end of a text adventure
Try Again COL_TXT_ADV_RETRY -- An option for when you hit a fail state in the adventure and have to go back
]]--
--TESTING
--Cur_text_adv = 18
local Screen_width = 860
local Data = {}
local COLOR_TEXT_ADVENTURE_PRIMARY = {R = 255/255, G = 255/255, B = 255/255}
local COLOR_TEXT_ADVENTURE_SECONDARY = {R = 120/255, G = 120/255, B = 120/255}
local COLOR_TEXT_ADVENTURE_TERTIARY = {R = 255/255, G = 255/255, B = 255/255}
local Text_buffer = {}
local Max_text_buffer_length = 6
local Input_tracker
local Mouse_input_tracker
local Col_text_adventure_doc_handle = -1
local Cur_scen = 1
local Cur_audio_id = -1
local Action = {}
local Image_h = -1
local Prev_image = {}
local Image_frames_table = -1
local Hint_bar
Col_text_adventure_list = -1
function col_text_adventure_init()
--Get doc handle
Col_text_adventure_doc_handle = vint_document_find("col_text_adventure")
--Handle Input Tracker
Input_tracker = Vdo_input_tracker:new()
Input_tracker:add_input("nav_up", "col_text_adventure_nav_up", 50)
Input_tracker:add_input("nav_down", "col_text_adventure_nav_down", 50)
Input_tracker:add_input("select", "col_text_adventure_button_a", 50)
Input_tracker:add_input("back", "col_text_adventure_button_b", 50)
Input_tracker:subscribe(true)
--Setup megalist
Col_text_adventure_list = Vdo_mega_list:new("choice_list", 0, Col_text_adventure_doc_handle, "col_text_adventure.lua", "Col_text_adventure_list")
Col_text_adventure_list:set_highlight_color(COLOR_TEXT_ADVENTURE_TERTIARY,COLOR_TEXT_ADVENTURE_TERTIARY,COLOR_STORE_VEHICLE_TERTIARY)
--set up image
Image_h = vint_object_find("image", 0, Col_text_adventure_doc_handle)
--Hint Bar
Hint_bar = Vdo_hint_bar:new("hint_bar", 0, Col_text_adventure_doc_handle)
local hint_data = {
{CTRL_MENU_BUTTON_B, "MENU_BACK"},
}
Hint_bar:set_hints(hint_data)
Hint_bar:set_visible(true)
-- Add mouse input subscriptions for the PC
if game_get_platform() == "PC" then
Hint_bar:set_highlight(0)
Mouse_input_tracker = Vdo_input_tracker:new()
Hint_bar:add_mouse_inputs("col_text_adventure", Mouse_input_tracker, 700000)
Mouse_input_tracker:subscribe(false)
end
--Hide base text
local base_text = vint_object_find("base_text", 0, Col_text_adventure_doc_handle)
vint_set_property(base_text, "visible", false)
if vint_is_std_res() then
Screen_width = 800
--vint_set_property(base_text, "wrap_width", 815)
else
Screen_width = 860
--vint_set_property(base_text, "wrap_width", 860)
end
local cursor_blink = Vdo_anim_object:new("cursor_blink", 0, Col_text_adventure_doc_handle)
cursor_blink:play(0)
local cursor_h = vint_object_find("cursor", 0, Col_text_adventure_doc_handle)
local prompt_txt_h = vint_object_find("prompt_txt", 0, Col_text_adventure_doc_handle)
if Cur_text_adv >= 21 then
vint_set_property(cursor_h, "visible", false)
vint_set_property(prompt_txt_h, "visible", false)
else
vint_set_property(cursor_h, "visible", true)
vint_set_property(prompt_txt_h, "visible", true)
end
if Cur_text_adv == 1 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_01_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_01_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_01_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_01_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_01_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
}
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_01_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_01_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_01_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_01_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_01_SC_06_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_01_SC_06_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_01_SC_06_CH3",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_01_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_01_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_01_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_01_SC_09_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_01_SC_09_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_01_SC_09_CH3",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_01_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_01_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_01_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_01_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 2 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_02_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_02_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_02_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_02_SC_02_CH2",
target = 5,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_02_SC_02_CH3",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_02_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_02_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_02_SC_04_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_02_SC_04_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_02_SC_04_CH3",
target = 9,
type = TYPE_BUTTON,
},
[4] = {
label = "COL_TXT_ADV_02_SC_04_CH4",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_02_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_02_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_02_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_02_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_02_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_02_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_02_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_02_SC_11_CH1",
target = 12,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_02_SC_11_CH2",
target = 13,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_02_SC_11_CH3",
target = 16,
type = TYPE_BUTTON,
},
[4] = {
label = "COL_TXT_ADV_02_SC_11_CH4",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_02_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_02_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_02_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_02_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_02_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_02_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 3 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_03_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_03_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_03_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_03_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_03_SC_02_CH3",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_03_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_03_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_03_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_03_SC_05_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_03_SC_05_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_03_SC_05_CH3",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_03_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_03_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_03_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_03_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_03_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_03_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_03_SC_11_CH1",
target = 12,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_03_SC_11_CH2",
target = 13,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_03_SC_11_CH3",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_03_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_03_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_03_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_03_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 4 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_04_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_04_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_04_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_04_SC_03_CH1",
target = 4,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_04_SC_03_CH2",
target = 5,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_04_SC_03_CH3",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_04_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_04_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_04_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 7,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_04_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_04_SC_07_CH1",
target = 8,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_04_SC_07_CH2",
target = 10,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_04_SC_07_CH3",
target = 12,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_04_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_04_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_04_SC_09_CH1",
target = 14,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_04_SC_09_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_04_SC_09_CH3",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_04_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_04_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_04_SC_11_CH1",
target = 18,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_04_SC_11_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_04_SC_11_CH3",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_04_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_04_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_04_SC_13_CH1",
target = 20,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_04_SC_13_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_04_SC_13_CH3",
target = 21,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_04_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_04_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_04_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_04_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_04_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[19] = {
scenario = "COL_TXT_ADV_04_SC_19",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[20] = {
scenario = "COL_TXT_ADV_04_SC_20",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[21] = {
scenario = "COL_TXT_ADV_04_SC_21",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 5 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_05_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_05_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_05_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_05_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_05_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_05_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_05_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_05_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_05_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 7,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_05_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_05_SC_07_CH1",
target = 8,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_05_SC_07_CH2",
target = 9,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_05_SC_07_CH3",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_05_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 7,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_05_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_05_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_05_SC_10_CH1",
target = 12,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_05_SC_10_CH2",
target = 14,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_05_SC_10_CH3",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_05_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 7,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_05_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_05_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_05_SC_13_CH1",
target = 16,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_05_SC_13_CH2",
target = 17,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_05_SC_13_CH3",
target = 18,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_05_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_05_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_05_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_05_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_05_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 6 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_06_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_06_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_06_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_06_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_06_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_06_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_06_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_06_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_06_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_06_SC_06_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_06_SC_06_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_06_SC_06_CH3",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_06_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_06_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_06_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_06_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_06_SC_10_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_06_SC_10_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_06_SC_10_CH3",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_06_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_06_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_06_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_06_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_06_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_06_SC_15_CH1",
target = 16,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_06_SC_15_CH2",
target = 17,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_06_SC_15_CH3",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_06_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_06_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 18,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_06_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[19] = {
scenario = "COL_TXT_ADV_06_SC_19",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 7 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_07_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_07_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_07_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_07_SC_02_CH2",
target = 5,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_07_SC_02_CH3",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_07_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_07_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_07_SC_04_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_07_SC_04_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_07_SC_04_CH3",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_07_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_07_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_07_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_07_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_07_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_07_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_07_SC_10_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_07_SC_10_CH2",
target = 14,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_07_SC_10_CH3",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_07_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 12,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_07_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_07_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_07_SC_13_CH1",
target = 16,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_07_SC_13_CH2",
target = 18,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_07_SC_13_CH3",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_07_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_07_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_07_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_07_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_07_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[19] = {
scenario = "COL_TXT_ADV_07_SC_19",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 8 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_08_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_08_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_08_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_08_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_08_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_08_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_08_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_08_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_08_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_08_SC_06_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_08_SC_06_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_08_SC_06_CH3",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_08_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_08_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_08_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_08_SC_09_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_08_SC_09_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_08_SC_09_CH3",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_08_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_08_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_08_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_08_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_08_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_08_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_08_SC_15_CH1",
target = 16,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_08_SC_15_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_08_SC_15_CH3",
target = 16,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_08_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_08_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 18,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_08_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[19] = {
scenario = "COL_TXT_ADV_08_SC_19",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 20,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[20] = {
scenario = "COL_TXT_ADV_08_SC_20",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 21,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[21] = {
scenario = "COL_TXT_ADV_08_SC_21",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_08_SC_21_CH1",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
------------------------------
--Xmas Text Adventures
------------------------------
elseif Cur_text_adv == 11 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_11_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_11_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_11_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_11_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_11_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_11_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_11_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_11_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_11_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_11_SC_06_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_11_SC_06_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_11_SC_06_CH3",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_11_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_11_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_11_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_11_SC_09_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_11_SC_09_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_11_SC_09_CH3",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_11_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_11_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_11_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_11_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_11_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_11_SC_14_CH1",
target = 15,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_11_SC_14_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_11_SC_14_CH3",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_11_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_11_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_11_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
---------------------------------
elseif Cur_text_adv == 12 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_12_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_12_SC_01_CH1",
target = 2,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_12_SC_01_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_12_SC_01_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_12_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_12_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_12_SC_03_CH1",
target = 6,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_12_SC_03_CH2",
target = 7,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_12_SC_03_CH3",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_12_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_12_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_12_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_12_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_12_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_12_SC_08_CH1",
target = 10,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_12_SC_08_CH2",
target = 11,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_12_SC_08_CH3",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_12_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_12_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_12_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 12,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_12_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_12_SC_12_CH1",
target = 14,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_12_SC_12_CH2",
target = 15,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_12_SC_12_CH3",
target = 16,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_12_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_12_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_12_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 12,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_12_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 12,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
---------------------------------
elseif Cur_text_adv == 13 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_13_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_13_SC_01_CH1",
target = 2,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_13_SC_01_CH2",
target = 3,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_13_SC_01_CH3",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_13_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_13_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_13_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_13_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_13_SC_05_CH1",
target = 6,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_13_SC_05_CH2",
target = 7,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_13_SC_05_CH3",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_13_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_13_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_13_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_13_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_13_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_13_SC_10_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_13_SC_10_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_13_SC_10_CH3",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_13_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_13_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_13_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_13_SC_13_CH1",
target = 15,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_13_SC_13_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_13_SC_13_CH3",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_13_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_13_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_13_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_13_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 18,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_13_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
---------------------------------
elseif Cur_text_adv == 14 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_14_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_14_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_14_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_14_SC_02_CH2",
target = 5,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_14_SC_02_CH3",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_14_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_14_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_14_SC_04_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_14_SC_04_CH2",
target = 9,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_14_SC_04_CH3",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_14_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_14_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_14_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_14_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_14_SC_08_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_14_SC_08_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_14_SC_08_CH3",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_14_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_14_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_14_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_14_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_14_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_14_SC_13_CH1",
target = 14,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_14_SC_13_CH2",
target = 15,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_14_SC_13_CH3",
target = 16,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_14_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_14_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_14_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
---------------------------------
elseif Cur_text_adv == 15 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_15_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_15_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_15_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_15_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_15_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_15_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_15_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_15_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_15_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_15_SC_06_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_15_SC_06_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_15_SC_06_CH3",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_15_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_15_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_15_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_15_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_15_SC_10_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_15_SC_10_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_15_SC_10_CH3",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_15_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_15_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_15_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_15_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_15_SC_14_CH1",
target = 15,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_15_SC_14_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_15_SC_14_CH3",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_15_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_15_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_15_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
---------------------------------
elseif Cur_text_adv == 16 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_16_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_16_SC_01_CH1",
target = 2,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_16_SC_01_CH2",
target = 3,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_16_SC_01_CH3",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_16_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_16_SC_02_CH1",
target = 5,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_16_SC_02_CH2",
target = 7,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_16_SC_02_CH3",
target = 8,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_16_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_16_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_16_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_16_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_16_SC_06_CH1",
target = 9,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_16_SC_06_CH2",
target = 10,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_16_SC_06_CH3",
target = 12,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_16_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_16_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_16_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_16_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_16_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_16_SC_11_CH1",
target = 13,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_16_SC_11_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_16_SC_11_CH3",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_16_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_16_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_16_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_16_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_16_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_16_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 11,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
---------------------------------
elseif Cur_text_adv == 17 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_17_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_17_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_17_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_17_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_17_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_17_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_17_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_17_SC_04_CH1",
target = 6,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_17_SC_04_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_17_SC_04_CH3",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_17_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_17_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 7,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_17_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_17_SC_07_CH1",
target = 10,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_17_SC_07_CH2",
target = 11,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_17_SC_07_CH3",
target = 12,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_17_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_17_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_17_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 7,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_17_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 7,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_17_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_17_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_17_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_17_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_17_SC_15_CH1",
target = 16,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_17_SC_15_CH2",
target = 17,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_17_SC_15_CH3",
target = 18,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_17_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_17_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 15,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_17_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[19] = {
scenario = "COL_TXT_ADV_17_SC_19",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 20,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[20] = {
scenario = "COL_TXT_ADV_17_SC_20",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 21,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[21] = {
scenario = "COL_TXT_ADV_17_SC_21",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_END",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
---------------------------------
elseif Cur_text_adv == 18 then
Data = {
[1] = {
scenario = "COL_TXT_ADV_18_SC_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Scenario",
},
[2] = {
scenario = "COL_TXT_ADV_18_SC_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_18_SC_02_CH1",
target = 3,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_18_SC_02_CH2",
target = 4,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_18_SC_02_CH3",
target = 5,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_TXT_ADV_18_SC_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_TXT_ADV_18_SC_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[5] = {
scenario = "COL_TXT_ADV_18_SC_05",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[6] = {
scenario = "COL_TXT_ADV_18_SC_06",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_18_SC_06_CH1",
target = 7,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_18_SC_06_CH2",
target = 8,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_18_SC_06_CH3",
target = 9,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[7] = {
scenario = "COL_TXT_ADV_18_SC_07",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[8] = {
scenario = "COL_TXT_ADV_18_SC_08",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 6,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[9] = {
scenario = "COL_TXT_ADV_18_SC_09",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[10] = {
scenario = "COL_TXT_ADV_18_SC_10",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_18_SC_10_CH1",
target = 11,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_18_SC_10_CH2",
target = 12,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_18_SC_10_CH3",
target = 14,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[11] = {
scenario = "COL_TXT_ADV_18_SC_11",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[12] = {
scenario = "COL_TXT_ADV_18_SC_12",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[13] = {
scenario = "COL_TXT_ADV_18_SC_13",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_18_SC_13_CH1",
target = 15,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_18_SC_13_CH2",
target = 16,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_18_SC_13_CH3",
target = 17,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[14] = {
scenario = "COL_TXT_ADV_18_SC_14",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 10,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[15] = {
scenario = "COL_TXT_ADV_18_SC_15",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[16] = {
scenario = "COL_TXT_ADV_18_SC_16",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 13,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[17] = {
scenario = "COL_TXT_ADV_18_SC_17",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 18,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[18] = {
scenario = "COL_TXT_ADV_18_SC_18",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[19] = {
scenario = "COL_TXT_ADV_18_SC_19",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_18_SC_19_CH1",
target = 20,
type = TYPE_BUTTON,
},
[2] = {
label = "COL_TXT_ADV_18_SC_19_CH2",
target = 21,
type = TYPE_BUTTON,
},
[3] = {
label = "COL_TXT_ADV_18_SC_19_CH3",
target = 26,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[20] = {
scenario = "COL_TXT_ADV_18_SC_20",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[21] = {
scenario = "COL_TXT_ADV_18_SC_21",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 22,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[22] = {
scenario = "COL_TXT_ADV_18_SC_22",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 23,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[23] = {
scenario = "COL_TXT_ADV_18_SC_23",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 24,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[24] = {
scenario = "COL_TXT_ADV_18_SC_24",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 25,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[25] = {
scenario = "COL_TXT_ADV_18_SC_25",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_18_SC_25_CH1",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[26] = {
scenario = "COL_TXT_ADV_18_SC_26",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_RETRY",
target = 19,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
------------------------------
--Xmas Letters to Santa
------------------------------
elseif Cur_text_adv == 21 then
Data = {
[1] = {
scenario = "COL_LETTER_PIERCE_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_PIERCE_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_PIERCE_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 22 then
Data = {
[1] = {
scenario = "COL_LETTER_KINZIE_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_KINZIE_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_KINZIE_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_LETTER_KINZIE_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 23 then
Data = {
[1] = {
scenario = "COL_LETTER_ASHA_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_ASHA_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 24 then
Data = {
[1] = {
scenario = "COL_LETTER_CID_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_CID_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_CID_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 25 then
Data = {
[1] = {
scenario = "COL_LETTER_GAT_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_GAT_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_GAT_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 26 then
Data = {
[1] = {
scenario = "COL_LETTER_KING_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_KING_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_KING_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 27 then
Data = {
[1] = {
scenario = "COL_LETTER_SHAUNDI_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_SHAUNDI_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_SHAUNDI_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_LETTER_SHAUNDI_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 28 then
Data = {
[1] = {
scenario = "COL_LETTER_MATT_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_MATT_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_MATT_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 29 then
Data = {
[1] = {
scenario = "COL_LETTER_KEITH_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
elseif Cur_text_adv == 30 then
Data = {
[1] = {
scenario = "COL_LETTER_BOSS_01",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 2,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[2] = {
scenario = "COL_LETTER_BOSS_02",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 3,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[3] = {
scenario = "COL_LETTER_BOSS_03",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = 4,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
[4] = {
scenario = "COL_LETTER_BOSS_04",
image = Image_sets.title,
choices = {
[1] = {
label = "COL_TXT_ADV_NEXT",
target = -1,
type = TYPE_BUTTON,
},
},
sfx = "Neutral",
},
}
end
col_text_adventure_update(Data)
end
function col_text_adventure_cleanup()
for i = 1, #Text_buffer do
Text_buffer[i]:object_destroy()
end
Input_tracker:subscribe(false)
if Mouse_input_tracker ~= nil then
Mouse_input_tracker:subscribe(false)
end
end
function col_text_adventure_update(data)
local base_text = vint_object_find("base_txt", 0, Col_text_adventure_doc_handle)
vint_set_property(base_text, "visible", false)
--If we're on the first page play typing audio
if Cur_scen == 1 then
audio_stop(Cur_audio_id)
Cur_audio_id = audio_object_post_event("Text_Adventure", "Mission_16_Text_Adventure", Data[Cur_scen].sfx)
end
--Make current text first in the queue
if Text_buffer[1] ~= nil then
for i = Max_text_buffer_length, 1, -1 do
if Text_buffer[i] ~= nil then
Text_buffer[i+1] = Text_buffer[i]
end
end
end
Text_buffer[1] = Vdo_base_object:clone(base_text)
Text_buffer[1]:set_text(data[Cur_scen].scenario)
Text_buffer[1]:set_visible(true)
--grant acheivement for completing xmas text adv
if data[Cur_scen].scenario == "COL_TXT_ADV_18_SC_25" then
game_award_achievement("A World without Christmas")
end
local move_width, move_height = Text_buffer[1]:get_actual_size()
local text_x, text_y
--Scroll text up if text exist
if Text_buffer[2] ~= nil then
text_x, text_y = Text_buffer[2]:get_anchor()
Text_buffer[2]:set_anchor(text_x, text_y - move_height)
Text_buffer[2]:set_color(COLOR_TEXT_ADVENTURE_TERTIARY.R,COLOR_TEXT_ADVENTURE_TERTIARY.G,COLOR_TEXT_ADVENTURE_TERTIARY.B)
--hide last choice if its a letter
if Cur_text_adv >= 21 then
Text_buffer[2]:set_visible(false)
end
--Delete items that go off the screen
if text_y < -200 then
Text_buffer[2]:object_destroy()
end
end
--Populate megalist
Col_text_adventure_list:draw_items(data[Cur_scen].choices, 1, Screen_width, 4, LIST_SCALE, true, false)
--Update inputs if on pc...
if game_get_platform() == "PC" then
Mouse_input_tracker:remove_all()
Col_text_adventure_list:add_mouse_inputs("col_text_adventure", Mouse_input_tracker)
Hint_bar:add_mouse_inputs("col_text_adventure", Mouse_input_tracker)
Mouse_input_tracker:subscribe(true)
end
end
function col_text_adventure_button_b(event, acceleration)
pop_screen()
end
function col_text_adventure_button_a(event, acceleration)
if Col_text_adventure_list:list_is_playing() == false then
--What choice did they pick?
local user_choice = Col_text_adventure_list:get_selection()
local previous_scen = Cur_scen
--Set cur_scene to target
Cur_scen = Data[Cur_scen].choices[user_choice].target
if Cur_scen == -1 then
--col_text_adventure_set_screen(35) -- count the success as a 35th screen
pop_screen()
return
end
--col_text_adventure_set_screen(Cur_scen)
audio_stop(Cur_audio_id)
Cur_audio_id = audio_object_post_event("Text_Adventure", "Mission_16_Text_Adventure", Data[Cur_scen].sfx)
--What is the string for that choice?
Action = Col_text_adventure_list:return_selected_data()
Text_buffer[1]:set_text(Action.label)
if Text_buffer[2] ~= nil then
Text_buffer[2]:object_destroy()
end
--Update text
col_text_adventure_update(Data)
end
end
function col_text_adventure_nav_up(event, acceleration)
Col_text_adventure_list:move_cursor(-1)
Cur_audio_id = audio_object_post_event("Text_Adventure", "Mission_16_Text_Adventure", "Navigation")
end
function col_text_adventure_nav_down(event, acceleration)
Col_text_adventure_list:move_cursor(1)
Cur_audio_id = audio_object_post_event("Text_Adventure", "Mission_16_Text_Adventure", "Navigation")
end
-------------------------------------------------------------------------------
-- Mouse inputs
--
function col_text_adventure_mouse_click(event, target_handle)
if Col_text_adventure_list:list_is_playing() == false then
--Click item in megalist...
local new_index = Col_text_adventure_list:get_button_index(target_handle)
if new_index ~= 0 then
-- Enter an option if the target_handle is in the List
Col_text_adventure_list:set_selection(new_index)
col_text_adventure_button_a()
end
end
local hint_index = Hint_bar:get_hint_index(target_handle)
if hint_index == 1 then
col_text_adventure_button_b()
end
end
function col_text_adventure_mouse_move(event, target_handle)
if Col_text_adventure_list:list_is_playing() == false then
--nav item in megalist...
local new_index = Col_text_adventure_list:get_button_index(target_handle)
if new_index ~= 0 then
-- Set the button as the new selected highlight
Col_text_adventure_list:set_selection(new_index)
Col_text_adventure_list:move_cursor(0, true)
end
end
Hint_bar:set_highlight(0)
local hint_index = Hint_bar:get_hint_index(target_handle)
if hint_index ~= 0 then
Hint_bar:set_highlight(hint_index)
end
end