1 |
if (inwater == 0) |
2 |
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, image_angle, image_blend, image_alpha); |
3 |
if (inwater == 1) |
4 |
{ |
5 |
draw_sprite_part_ext(sprite_index, image_index, 0, 0, sprite_width, sprite_height - 5, x, y + 5, 1, 1, c_white, image_alpha); |
6 |
if (obj_mainchara.image_index == 1 || obj_mainchara.image_index == 3) |
7 |
{ |
8 |
snd_play(snd_splash); |
9 |
mp = 0; |
10 |
} |
11 |
draw_sprite(spr_waterripple, 0, x, y); |
12 |
} |
13 |
if (room == room_water_waterfall3) |
14 |
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, image_angle, c_black, image_alpha); |