|
1
|
function scr_dialogue_battle_action_selected_action_2_insomnitot_bscr_dialogue_battle_action_selected_action_2_insomnitot_b
function scr_dialogue_battle_action_selected_action_2_insomnitot_b()
{
var action_2_selected_count_2 = global.action_2_selected_count_2;
if (global.enemy_low_hp_2 == true)
{
message[0] = "* You inform Insomnitot that it's# time for bed.";
global.last_action_selected = "Nothing";
global.last_action_selected_2 = "Action 2 Low HP";
global.last_action_selected_3 = "Nothing";
}
else if (global.enemy_sparing_2 == true)
{
message[0] = "* You list the health benefits of# brushing your teeth.#* Insomnitot can't hear you.";
global.last_action_selected = "Nothing";
global.last_action_selected_2 = "Action 2 Sparing";
global.last_action_selected_3 = "Nothing";
}
else
{
random_number = irandom_range(0, 1);
if (random_number == 0)
{
message[0] = "* You inform Insomnitot of the# dangers of sleep deprivation.#* It ignores you.";
global.last_action_selected = "Nothing";
global.last_action_selected_2 = "Action 2 Message 0";
global.last_action_selected_3 = "Nothing";
}
else if (random_number == 1)
{
message[0] = "* You inform Insomnitot of the# benefits of a good night's sleep.#* It ignores you.";
global.last_action_selected = "Nothing";
global.last_action_selected_2 = "Action 2 Message 0";
global.last_action_selected_3 = "Nothing";
}
}
} ()
|
|
2
|
{
|
|
3
|
var action_2_selected_count_2 = global.action_2_selected_count_2;
|
|
4
|
if (global.enemy_low_hp_2 == true)
|
|
5
|
{
|
|
6
|
message[0] = "* You inform Insomnitot that it's# time for bed.";
|
|
7
|
global.last_action_selected = "Nothing";
|
|
8
|
global.last_action_selected_2 = "Action 2 Low HP";
|
|
9
|
global.last_action_selected_3 = "Nothing";
|
|
10
|
}
|
|
11
|
else if (global.enemy_sparing_2 == true)
|
|
12
|
{
|
|
13
|
message[0] = "* You list the health benefits of# brushing your teeth.#* Insomnitot can't hear you.";
|
|
14
|
global.last_action_selected = "Nothing";
|
|
15
|
global.last_action_selected_2 = "Action 2 Sparing";
|
|
16
|
global.last_action_selected_3 = "Nothing";
|
|
17
|
}
|
|
18
|
else
|
|
19
|
{
|
|
20
|
random_number = irandom_range(0, 1);
|
|
21
|
if (random_number == 0)
|
|
22
|
{
|
|
23
|
message[0] = "* You inform Insomnitot of the# dangers of sleep deprivation.#* It ignores you.";
|
|
24
|
global.last_action_selected = "Nothing";
|
|
25
|
global.last_action_selected_2 = "Action 2 Message 0";
|
|
26
|
global.last_action_selected_3 = "Nothing";
|
|
27
|
}
|
|
28
|
else if (random_number == 1)
|
|
29
|
{
|
|
30
|
message[0] = "* You inform Insomnitot of the# benefits of a good night's sleep.#* It ignores you.";
|
|
31
|
global.last_action_selected = "Nothing";
|
|
32
|
global.last_action_selected_2 = "Action 2 Message 0";
|
|
33
|
global.last_action_selected_3 = "Nothing";
|
|
34
|
}
|
|
35
|
}
|
|
36
|
}
|