It (1258) is moving. With a speed of 100 as set in its Bullet properties.
Its bullets angle of motion gets changed when its instance variable 'direction' is set to some action in a str.
Instance variable 'direction' is a random choice when instance variable 'direction2' is some action in a str.
So far i am with you. Besides that it is a complex system and it is impossible to know if you made a typo in there. Bet lets assume you did't.
Instance variable 'direction2' gets its value based on the relation between 1258 and sprite43. Sprite43 seems to be the player and has the platform behaviour.
There are 2 events covering this. But i was stuck allready on the first one.
That first event starts with a pick by comparing: abs(Sprite1258.X-Sprite43.X) = 0
Meaning, when they almost are exact on the same place (on the X axes).
But 1258 moves to the right, as a bullet. Can i move 43 and have it on practical the exact X as the always moving 1258 ? Hmm, is that even possible ? I made cap and tried this. It is like impossible. You could have done this for yourself.
So that event can only be true if the player is played by a supercomputer. In my opinion.
Then the sub events. 2 Groups. But i only need to look a the first group.
That first subevent: A compare 1258's X when its X > Sprite43.x then ...
Since this also had to meet the previous topcondition abs(Sprite1258.X-Sprite43.X) = 0, that gives maximum a difference of 1/2 pixel between 43 and 1258 to compare for. Wich is, i have to admid possible. But the subevent on that ....
Again a comparing of the 1258's, this time if its X = Sprite43.X+600. I had to read it 5 times. Really ? Its X = Sprite43.X+600 ? Not ">" or "<" but '=' !
So if 1258's X (wich is a moving bullet) is exacty Sprite43.X+600 (wich is a platformcontrolled object) then set direction 2 to some action ?
So lets do the math. Lets say i am able to catchup the bullet 1258 with a platform based 43. In way that abs(Sprite1258.X-Sprite43.X) = 0. Meaning. In a way that their X's differend less then a pixel. Lets assume that it is possible. So Sprite1258.X = 10.2 and Sprite43.X = 10.1
Then the sub event: Is Sprite1258.X > Sprite43.X ? ah yes it is. Its is 0.1 PIXEL bigger.
Next sub-subevent: Is Sprite1258.X = Sprite43.X+600 ? Uh. No. not in a lifetime. They should be practical at the same place to meet the top condition.
Well i feel dumb for looking at this. And in a last resort i renamed 1258 to "CockyOne". But that did't work either.
Greetings.