gmc-jam-7/objects/obj_enemybase/Collision_obj_shot.gml

17 lines
247 B
Plaintext
Executable File

if light = 1 and global.ldmode = 1 //light = 2 with bosses; they can be hit in any form
{
exit;
}
if light = 0 and global.ldmode = 0
{
exit;
}
life -= 1
score += 10
with (other)
{
instance_destroy()
}