|
1
|
var cx = camerax();
|
|
2
|
var cy = cameray();
|
|
3
|
if (!is_active)
|
|
4
|
exit;
|
|
5
|
scr_draw_set_mask(true);
|
|
6
|
ossafe_fill_rectangle(cx + mask_x_pos, cy, cx + view_wport[0], cy + view_hport[0]);
|
|
7
|
scr_draw_in_mask_begin();
|
|
8
|
var set = [3235, 2, 1];
|
|
9
|
if (global.lang == "ja")
|
|
10
|
set = [3413, 1, 2];
|
|
11
|
draw_sprite_ext(set[0], type, cx + (sprite_get_width(set[0]) / set[2]), cy + (sprite_get_height(set[0]) / set[2]), set[1], set[1], 0, c_white, 1);
|
|
12
|
if (type == 1)
|
|
13
|
{
|
|
14
|
timer++;
|
|
15
|
if (i_ex(obj_dw_ranking_t_screens))
|
|
16
|
{
|
|
17
|
var pitcherror = obj_dw_ranking_t_screens.pitcherror;
|
|
18
|
timer += random_range(-pitcherror * 8, pitcherror);
|
|
19
|
}
|
|
20
|
draw_sprite_ext(spr_tenna_t_pose, timer / 4, cx + 320, cy + 124, 1, 0.25, image_angle, image_blend, image_alpha);
|
|
21
|
draw_sprite_ext(spr_tenna_t_pose, (timer / 4) + 2, cx + 390, cy + 200, 0.25, 0.25, image_angle, image_blend, image_alpha);
|
|
22
|
draw_sprite_ext(spr_tenna_t_pose, (timer / 5) - 1, cx + 320, cy + 480, 3, 2, image_angle, image_blend, image_alpha);
|
|
23
|
draw_sprite_ext(spr_tenna_t_pose, timer / 5, cx + 320, cy + 480, 3, 2, image_angle, image_blend, image_alpha);
|
|
24
|
draw_sprite_ext(spr_tenna_t_pose, (timer / 5) + 1, cx + 320, cy + 480, 3, 2, image_angle, image_blend, image_alpha);
|
|
25
|
draw_sprite_ext(spr_tenna_t_pose, (timer / 5) + 2, cx + 320, cy + 480, 3, 2, image_angle, image_blend, image_alpha);
|
|
26
|
}
|
|
27
|
scr_draw_in_mask_end();
|