1 |
function scr_recreate_heart_battle_menu_text_dummy_training_pacifistscr_recreate_heart_battle_menu_text_dummy_training_pacifistfunction scr_recreate_heart_battle_menu_text_dummy_training_pacifist() //gml_Script_scr_recreate_heart_battle_menu_text_dummy_training_pacifist
{
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
{
var 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
}
}
} () //gml_Script_scr_recreate_heart_battle_menu_text_dummy_training_pacifist |
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 |
7 |
{ |
8 |
var random_text_move_select = irandom_range(1, 3) |
9 |
if (random_text_move_select == 1) |
10 |
{ |
11 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_1) |
12 |
text_deadlock_contents_1 = 3020 |
13 |
text_deadlock_1 = true |
14 |
} |
15 |
else if (random_text_move_select == 2) |
16 |
{ |
17 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_2) |
18 |
text_deadlock_contents_1 = 3021 |
19 |
text_deadlock_1 = true |
20 |
} |
21 |
else if (random_text_move_select == 3) |
22 |
{ |
23 |
instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_3) |
24 |
text_deadlock_contents_1 = 3022 |
25 |
text_deadlock_1 = true |
26 |
} |
27 |
} |
28 |
} |