1 | var battle_flag = global.hotland_flag[2] |
2 | if (instance_exists(obj_ceroba_phase_2_shield) && obj_ceroba_phase_2_shield.scene >= 9) |
3 | return; |
4 | switch battle_flag |
5 | { |
6 | case 0: |
7 | global.attack_cycle += 1 |
8 | if (global.attack_cycle > global.attack_cycle_max) |
9 | global.attack_cycle = 1 |
10 | break |
11 | case 1: |
12 | global.attack_cycle += 1 |
13 | if (global.attack_cycle > global.attack_cycle_max) |
14 | global.attack_cycle = 11 |
15 | break |
16 | case 2: |
17 | global.attack_cycle = 18 |
18 | break |
19 | case 3: |
20 | global.attack_cycle = 18 |
21 | break |
22 | } |