1 | stretchwidth = global.monsterinstance[global.mytarget].sprite_width; |
2 | stretchfactor = stretchwidth / global.monstermaxhp[global.mytarget]; |
3 | apparenthp = global.monsterhp[global.mytarget]; |
4 | actualhp = global.monsterhp[global.mytarget]; |
5 | maxhp = global.monstermaxhp[global.mytarget]; |
6 | negative = 0; |
7 | dmg = global.damage; |
8 | draw_set_color(c_red); |
9 | alarm[0] = 2; |
10 | i = 1; |
11 | if (dmg != 0) |
12 | { |
13 | vspeed = -4; |
14 | gravity = 0.5; |
15 | gravity_direction = 270; |
16 | } |