| 1 | if (green == 0) |
| 2 | scr_damagestandard_x(); |
| 3 | if (green == 1) |
| 4 | { |
| 5 | instance_destroy(); |
| 6 | snd_play(snd_heal_c); |
| 7 | if (global.hp < global.maxhp) |
| 8 | global.hp += 1; |
| 9 | with (obj_vegetoid) |
| 10 | { |
| 11 | if (eat == 1) |
| 12 | { |
| 13 | ate = 1; |
| 14 | mercymod = 90; |
| 15 | } |
| 16 | } |
| 17 | with (obj_parsnik) |
| 18 | { |
| 19 | if (eat == 1) |
| 20 | { |
| 21 | ate = 1; |
| 22 | mercymod = 90; |
| 23 | } |
| 24 | } |
| 25 | } |