| 1 | if (live_call()) |
| 2 | return global.live_result; |
| 3 | if (curr_fill != 0) |
| 4 | { |
| 5 | switch (global.action_2_selected_count) |
| 6 | { |
| 7 | case 1: |
| 8 | curr_fill = 5; |
| 9 | break; |
| 10 | case 2: |
| 11 | curr_fill = 4; |
| 12 | break; |
| 13 | case 3: |
| 14 | curr_fill = 3; |
| 15 | break; |
| 16 | case 4: |
| 17 | curr_fill = 2; |
| 18 | break; |
| 19 | case 5: |
| 20 | curr_fill = 1; |
| 21 | break; |
| 22 | } |
| 23 | } |
| 24 | if (global.enemy_attacking == true && curr_fill == prev_fill && global.action_2_selected_count < 5) |
| 25 | is_hidden = true; |
| 26 | else |
| 27 | is_hidden = false; |
| 28 | if (!is_hidden) |
| 29 | { |
| 30 | x = lerp(x, 30, 0.15); |
| 31 | y = 197; |
| 32 | } |
| 33 | else |
| 34 | { |
| 35 | x = lerp(x, -100, 0.25); |
| 36 | } |