1 |
function scr_recreate_heart_battle_menu_text_martlet_genocide_finalscr_recreate_heart_battle_menu_text_martlet_genocide_finalfunction scr_recreate_heart_battle_menu_text_martlet_genocide_final() //gml_Script_scr_recreate_heart_battle_menu_text_martlet_genocide_final
{
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 = 3004
text_deadlock_1 = true
}
else
{
var random_text_move_select = irandom_range(1, 7)
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 = 3020
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 = 3021
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 = 3022
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 = 3023
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 = 3024
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 = 3025
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 = 3026
text_deadlock_1 = true
}
}
} () //gml_Script_scr_recreate_heart_battle_menu_text_martlet_genocide_final |
2 |
{ |
3 |
var last_text_move_select = global.last_text_move_select |
4 |
if (text_deadlock_1 == true) |
5 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), text_deadlock_contents_1) |
6 |
else if (last_text_move_select == 0) |
7 |
{ |
8 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_intro) |
9 |
text_deadlock_contents_1 = 3004 |
10 |
text_deadlock_1 = true |
11 |
} |
12 |
else |
13 |
{ |
14 |
var random_text_move_select = irandom_range(1, 7) |
15 |
if (random_text_move_select == 1) |
16 |
{ |
17 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_1) |
18 |
text_deadlock_contents_1 = 3020 |
19 |
text_deadlock_1 = true |
20 |
} |
21 |
else if (random_text_move_select == 2) |
22 |
{ |
23 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_2) |
24 |
text_deadlock_contents_1 = 3021 |
25 |
text_deadlock_1 = true |
26 |
} |
27 |
else if (random_text_move_select == 3) |
28 |
{ |
29 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_3) |
30 |
text_deadlock_contents_1 = 3022 |
31 |
text_deadlock_1 = true |
32 |
} |
33 |
else if (random_text_move_select == 4) |
34 |
{ |
35 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_4) |
36 |
text_deadlock_contents_1 = 3023 |
37 |
text_deadlock_1 = true |
38 |
} |
39 |
else if (random_text_move_select == 5) |
40 |
{ |
41 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_5) |
42 |
text_deadlock_contents_1 = 3024 |
43 |
text_deadlock_1 = true |
44 |
} |
45 |
else if (random_text_move_select == 6) |
46 |
{ |
47 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_6) |
48 |
text_deadlock_contents_1 = 3025 |
49 |
text_deadlock_1 = true |
50 |
} |
51 |
else if (random_text_move_select == 7) |
52 |
{ |
53 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_7) |
54 |
text_deadlock_contents_1 = 3026 |
55 |
text_deadlock_1 = true |
56 |
} |
57 |
} |
58 |
} |