1 | if (image_alpha < 1) |
2 | { |
3 | image_alpha += 0.2 |
4 | if (image_alpha >= 1) |
5 | { |
6 | image_alpha = 1 |
7 | if (can_jump == false && (!alarm[0])) |
8 | alarm[0] = 30 |
9 | } |
10 | } |
11 | if (vspeed > 6) |
12 | vspeed = 8 |
13 | if ((bbox_bottom + vspeed) >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 8)) |
14 | { |
15 | if (bounce_count > 0) |
16 | { |
17 | bounce_count -= 1 |
18 | vspeed = (-vspeed) * 0.5 |
19 | hspeed *= 0.5 |
20 | } |
21 | else |
22 | { |
23 | y = obj_dialogue_box_battle_transformation_any.bbox_bottom |
24 | hspeed = 0 |
25 | vspeed = 0 |
26 | gravity = 0 |
27 | } |
28 | } |