You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
411 B
23 lines
411 B
if (active && other.state == 23 && other.xVel == 0 && global.event[172] == 1 && (!instance_exists(oGreenCrystal)))
|
|
{
|
|
with (other.id)
|
|
{
|
|
state = 60
|
|
statetime = 0
|
|
}
|
|
alarm[1] = 30
|
|
}
|
|
if (active && other.state == 60)
|
|
{
|
|
if (other.x > targetx)
|
|
{
|
|
with (other.id)
|
|
x -= 1
|
|
}
|
|
if (other.x < targetx)
|
|
{
|
|
with (other.id)
|
|
x += 1
|
|
}
|
|
}
|