| 1 | if (image_alpha < 1) |
| 2 | { |
| 3 | image_alpha += 0.25; |
| 4 | if (image_alpha >= 1) |
| 5 | { |
| 6 | image_alpha = 1; |
| 7 | if (can_jump == false) |
| 8 | { |
| 9 | gravity = 0.5; |
| 10 | can_jump = true; |
| 11 | } |
| 12 | } |
| 13 | } |
| 14 | if (vspeed > 5) |
| 15 | vspeed = 5; |
| 16 | if (bbox_bottom >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 8)) |
| 17 | { |
| 18 | if (bounce_count > 0) |
| 19 | { |
| 20 | bounce_count -= 1; |
| 21 | vspeed = -5.5; |
| 22 | alarm[0] |
| 23 | } |
| 24 | } |
| 25 | if (bounce_count == 0) |
| 26 | image_angle += (5 * sign(320 - x)); |