1 |
with (obj_battle_enemy_attack_martlet_wing_gust_junk) |
2 |
instance_destroy() |
3 |
if instance_exists(obj_martlet_body) |
4 |
{ |
5 |
with (obj_martlet_body) |
6 |
{ |
7 |
id_martlet_wing_gust = -4 |
8 |
event_user(0) |
9 |
} |
10 |
} |
11 |
else if instance_exists(obj_martlet_g_body) |
12 |
{ |
13 |
with (obj_martlet_g_body) |
14 |
{ |
15 |
id_martlet_wing_gust = -4 |
16 |
event_user(0) |
17 |
} |
18 |
} |
19 |
with (obj_battle_enemy_attack_martlet_wind_gust_wind) |
20 |
instance_destroy() |
21 |
with (obj_dialogue_box_battle_transformation_any) |
22 |
{ |
23 |
if (instance_exists(obj_martlet_body) && global.enemy_mode == 5 && global.turns_passed == 4) |
24 |
script_execute(gml_Script_scr_start_during_attack_dialogue_martlet_pacifist) |
25 |
else |
26 |
event_user(0) |
27 |
} |