I want to cut out few pixel of game_player's character sprite,where around feet.
Cutting will occur temporarily when a variable > 0 and reback to normal when the same variable == 0
How to do that?
You reduce the sprite's source rectangle's height first and then increase it after the time is over.
Wouldn't it be easier to just have a second version of the sprite, and when the variable is turned on/off, use a Change Actor Sprite command?
in your example, you didn't cut the height of the sprite - you moved the reference point of the sprite instead while retaining the full height. That is why the missing parts of the height are filled from the cell above the one where you moved the reference point.
cutting height is a bit more difficult than just changing a few numbers, but unfortunately I don't know enough of the Ace scripts to tell you where and what to do instead.
If you want a thread closed, report your first post and let the mods know your question is answered.