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