sMflash 0 -1 -10 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 if (instance_exists(oCharacter)) { if (oCharacter.aimdirection == 0) x += 2; if (oCharacter.aimdirection == 1) x -= 2; if (oCharacter.aimdirection == 2) { x += 3; y -= 3; } if (oCharacter.aimdirection == 3) { x -= 3; y -= 3; } if (oCharacter.aimdirection == 4) { x += 3; y += 3; } if (oCharacter.aimdirection == 5) { x -= 3; y += 3; } if (oCharacter.aimdirection == 6) y -= 2; if (oCharacter.aimdirection == 7) y += 2; } sprite_index = sMflash; if (global.wbeam) sprite_index = sWMflash; if (global.pbeam) sprite_index = sPMflash; if (global.ibeam) sprite_index = sIMflash; image_speed = 0.5; 1 603 7 0 0 -1 2 self 0 0 1 if (instance_exists(oCharacter)) { if (oCharacter.x != oCharacter.xprevious && image_index > 0) x += oCharacter.x - oCharacter.xprevious; if (oCharacter.y != oCharacter.yprevious && image_index > 0) y += oCharacter.y - oCharacter.yprevious; } 1 603 7 0 0 -1 2 self 0 0 1 instance_destroy(); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0