| 1 |
function scr_recreate_heart_battle_menu_text_goosic_a() |
| 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 = 3004; |
| 12 |
text_deadlock_1 = true; |
| 13 |
} |
| 14 |
else if (global.enemy_low_hp == true) |
| 15 |
{ |
| 16 |
var random_number = irandom_range(1, 2); |
| 17 |
if (random_number == 1) |
| 18 |
{ |
| 19 |
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_low_hp_1); |
| 20 |
text_deadlock_contents_1 = 3016; |
| 21 |
} |
| 22 |
else if (random_number == 2) |
| 23 |
{ |
| 24 |
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_low_hp_1_v2); |
| 25 |
text_deadlock_contents_1 = 3018; |
| 26 |
} |
| 27 |
text_deadlock_1 = true; |
| 28 |
} |
| 29 |
else if (global.enemy_sparing == true) |
| 30 |
{ |
| 31 |
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_sparing); |
| 32 |
text_deadlock_contents_1 = 3030; |
| 33 |
text_deadlock_1 = true; |
| 34 |
} |
| 35 |
else |
| 36 |
{ |
| 37 |
var random_text_move_select = irandom_range(1, 4); |
| 38 |
if (random_text_move_select == 1) |
| 39 |
{ |
| 40 |
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_1); |
| 41 |
text_deadlock_contents_1 = 3020; |
| 42 |
text_deadlock_1 = true; |
| 43 |
} |
| 44 |
else if (random_text_move_select == 2) |
| 45 |
{ |
| 46 |
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_2); |
| 47 |
text_deadlock_contents_1 = 3021; |
| 48 |
text_deadlock_1 = true; |
| 49 |
} |
| 50 |
else if (random_text_move_select == 3) |
| 51 |
{ |
| 52 |
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_3); |
| 53 |
text_deadlock_contents_1 = 3022; |
| 54 |
text_deadlock_1 = true; |
| 55 |
} |
| 56 |
else if (random_text_move_select == 4) |
| 57 |
{ |
| 58 |
instance_create(obj_dialogue_box_battle.x + 20, obj_dialogue_box_battle.x + 20, obj_dialogue_battle_move_select_4); |
| 59 |
text_deadlock_contents_1 = 3023; |
| 60 |
text_deadlock_1 = true; |
| 61 |
} |
| 62 |
} |
| 63 |
} |