ludum-dare-23/objects/obj_enemy/Destroy_0.gml

27 lines
407 B
Plaintext
Executable File

var __b__;
__b__ = action_if_dice(50);
if __b__
{
{
if tagx > 30
{
if tagx < 450
{
if tagy > 30
{
if tagy < 290
{
iii = instance_create(x,y,obj_powerups)
with (iii)
{
tagspeed = 3
tagdir = choose(45,135,225,315)
}
}
}
}
}
}
}