1 |
fight_mode = true; |
2 |
starting_point_x = x; |
3 |
starting_point_y = y; |
4 |
starting_point_xscale = 1; |
5 |
starting_point_yscale = 1; |
6 |
draw_position_x = starting_point_x; |
7 |
draw_position_y = starting_point_y; |
8 |
draw_position_xscale = starting_point_xscale; |
9 |
draw_position_yscale = starting_point_yscale; |
10 |
sprite_index = spr_martlet_g_body; |
11 |
image_speed = 0; |
12 |
image_index = 0; |
13 |
image_xscale = 1; |
14 |
image_yscale = 1; |
15 |
global.enemy_target_x = obj_martlet_g_body.x - 10; |
16 |
sign_modifier_g = 1; |
17 |
time_elapsed_g = 0; |
18 |
time_max_g = 20; |
19 |
time_increase_g = 1; |
20 |
max_rise_g = 0.025; |
21 |
max_rise_ext_g = 0.01; |
22 |
head_displacement_y_multiplier_g = 2 / sprite_height; |
23 |
time_elapsed_decrease_head_g = 2; |
24 |
hand_left_displacement_y_multiplier_g = 20 / sprite_height; |
25 |
time_elapsed_decrease_hand_left_g = 0; |
26 |
hand_right_displacement_y_multiplier_g = 20 / sprite_height; |
27 |
time_elapsed_decrease_hand_right_g = 0; |
28 |
with (obj_martlet_g_head) |
29 |
{ |
30 |
x = obj_martlet_g_body.x - 10; |
31 |
y = obj_martlet_g_body.y - 132; |
32 |
starting_point_x = x; |
33 |
starting_point_y = y; |
34 |
starting_point_xscale = 1; |
35 |
starting_point_yscale = 1; |
36 |
draw_position_x = starting_point_x; |
37 |
draw_position_y = starting_point_y; |
38 |
draw_position_xscale = starting_point_xscale; |
39 |
draw_position_yscale = starting_point_yscale; |
40 |
sprite_index = spr_martlet_head_angry; |
41 |
image_speed = 0; |
42 |
image_index = 0; |
43 |
image_xscale = 1; |
44 |
image_yscale = 1; |
45 |
head_sprite = 309; |
46 |
} |
47 |
with (obj_martlet_g_hand_left) |
48 |
{ |
49 |
x = obj_martlet_g_body.x - 36; |
50 |
y = obj_martlet_g_body.y - 114; |
51 |
starting_point_x = x; |
52 |
starting_point_y = y; |
53 |
starting_point_xscale = 1; |
54 |
starting_point_yscale = 1; |
55 |
draw_position_x = starting_point_x; |
56 |
draw_position_y = starting_point_y; |
57 |
draw_position_xscale = starting_point_xscale; |
58 |
draw_position_yscale = starting_point_yscale; |
59 |
sprite_index = spr_martlet_g_hand_left; |
60 |
image_speed = 0; |
61 |
image_index = 0; |
62 |
image_xscale = 1; |
63 |
image_yscale = 1; |
64 |
hand_left_sprite = 2072; |
65 |
} |
66 |
with (obj_martlet_g_hand_right) |
67 |
{ |
68 |
x = obj_martlet_g_body.x + 14; |
69 |
y = obj_martlet_g_body.y - 114; |
70 |
starting_point_x = x; |
71 |
starting_point_y = y; |
72 |
starting_point_xscale = 1; |
73 |
starting_point_yscale = 1; |
74 |
draw_position_x = starting_point_x; |
75 |
draw_position_y = starting_point_y; |
76 |
draw_position_xscale = starting_point_xscale; |
77 |
draw_position_yscale = starting_point_yscale; |
78 |
sprite_index = spr_martlet_g_hand_right; |
79 |
image_speed = 0; |
80 |
image_index = 0; |
81 |
image_xscale = 1; |
82 |
image_yscale = 1; |
83 |
hand_left_sprite = 2074; |
84 |
} |