|
1
|
function scr_recreate_heart_battle_menu_text_el_bailadorscr_recreate_heart_battle_menu_text_el_bailador
function scr_recreate_heart_battle_menu_text_el_bailador()
{
var last_text_move_select = global.last_text_move_select;
if (text_deadlock_1 == true)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, text_deadlock_contents_1);
}
else if (last_text_move_select == 0)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_intro);
text_deadlock_contents_1 = 3005;
text_deadlock_1 = true;
}
else
{
var random_text_move_select = irandom_range(1, 8);
if (global.route == 3)
random_text_move_select = irandom_range(1, 5);
if (random_text_move_select == 1)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_1);
text_deadlock_contents_1 = 3021;
text_deadlock_1 = true;
}
else if (random_text_move_select == 2)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_2);
text_deadlock_contents_1 = 3022;
text_deadlock_1 = true;
}
else if (random_text_move_select == 3)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_3);
text_deadlock_contents_1 = 3023;
text_deadlock_1 = true;
}
else if (random_text_move_select == 4)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_4);
text_deadlock_contents_1 = 3024;
text_deadlock_1 = true;
}
else if (random_text_move_select == 5)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_5);
text_deadlock_contents_1 = 3025;
text_deadlock_1 = true;
}
else if (random_text_move_select == 6)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_6);
text_deadlock_contents_1 = 3026;
text_deadlock_1 = true;
}
else if (random_text_move_select == 7)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_7);
text_deadlock_contents_1 = 3027;
text_deadlock_1 = true;
}
else if (random_text_move_select == 8)
{
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_8);
text_deadlock_contents_1 = 3029;
text_deadlock_1 = true;
}
}
} ()
|
|
2
|
{
|
|
3
|
var last_text_move_select = global.last_text_move_select;
|
|
4
|
if (text_deadlock_1 == true)
|
|
5
|
{
|
|
6
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, text_deadlock_contents_1);
|
|
7
|
}
|
|
8
|
else if (last_text_move_select == 0)
|
|
9
|
{
|
|
10
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_intro);
|
|
11
|
text_deadlock_contents_1 = 3005;
|
|
12
|
text_deadlock_1 = true;
|
|
13
|
}
|
|
14
|
else
|
|
15
|
{
|
|
16
|
var random_text_move_select = irandom_range(1, 8);
|
|
17
|
if (global.route == 3)
|
|
18
|
random_text_move_select = irandom_range(1, 5);
|
|
19
|
if (random_text_move_select == 1)
|
|
20
|
{
|
|
21
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_1);
|
|
22
|
text_deadlock_contents_1 = 3021;
|
|
23
|
text_deadlock_1 = true;
|
|
24
|
}
|
|
25
|
else if (random_text_move_select == 2)
|
|
26
|
{
|
|
27
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_2);
|
|
28
|
text_deadlock_contents_1 = 3022;
|
|
29
|
text_deadlock_1 = true;
|
|
30
|
}
|
|
31
|
else if (random_text_move_select == 3)
|
|
32
|
{
|
|
33
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_3);
|
|
34
|
text_deadlock_contents_1 = 3023;
|
|
35
|
text_deadlock_1 = true;
|
|
36
|
}
|
|
37
|
else if (random_text_move_select == 4)
|
|
38
|
{
|
|
39
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_4);
|
|
40
|
text_deadlock_contents_1 = 3024;
|
|
41
|
text_deadlock_1 = true;
|
|
42
|
}
|
|
43
|
else if (random_text_move_select == 5)
|
|
44
|
{
|
|
45
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_5);
|
|
46
|
text_deadlock_contents_1 = 3025;
|
|
47
|
text_deadlock_1 = true;
|
|
48
|
}
|
|
49
|
else if (random_text_move_select == 6)
|
|
50
|
{
|
|
51
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_6);
|
|
52
|
text_deadlock_contents_1 = 3026;
|
|
53
|
text_deadlock_1 = true;
|
|
54
|
}
|
|
55
|
else if (random_text_move_select == 7)
|
|
56
|
{
|
|
57
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_7);
|
|
58
|
text_deadlock_contents_1 = 3027;
|
|
59
|
text_deadlock_1 = true;
|
|
60
|
}
|
|
61
|
else if (random_text_move_select == 8)
|
|
62
|
{
|
|
63
|
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_8);
|
|
64
|
text_deadlock_contents_1 = 3029;
|
|
65
|
text_deadlock_1 = true;
|
|
66
|
}
|
|
67
|
}
|
|
68
|
}
|