update gamma

pull/25/head v1
Jesright73 5 years ago
parent 21a3242e55
commit 34be958e8a

@ -63,6 +63,9 @@ if (myhealth <= 0)
instance_destroy() instance_destroy()
} }
global.event[331] = 3 global.event[331] = 3
xVel = 0
yVel = 0
speed = 0
state = 20 state = 20
statetime = 0 statetime = 0
sfx_play(sndMGammaDeath) sfx_play(sndMGammaDeath)

@ -564,9 +564,9 @@ if (state == 20)
facing = 1 facing = 1
else if (x > 304) else if (x > 304)
facing = -1 facing = -1
if floor(distance_to_point(304, 432) != 0) if floor(distance_to_point(304, 432) > 0)
move_towards_point(304, 432, 1) move_towards_point(304, 432, 1)
if floor((distance_to_point(304, 432) == 0 || statetime == 600)) if floor((distance_to_point(304, 432) < 1 || statetime == 300))
{ {
x = 304 x = 304
y = 432 y = 432
@ -603,5 +603,8 @@ if (myid == 52 && global.event[331] >= 3 && (!dead) && state < 20)
myhealth = 0 myhealth = 0
state = 20 state = 20
statetime = -1 statetime = -1
xVel = 0
yVel = 0
speed = 0
dead = 1 dead = 1
} }

Loading…
Cancel
Save