We tried to pick simple, fast and easy to implement smart codes.
Smart Unstuck
This code is used to push out an object if overlapped.
In this case if player gets stuck in a wall, it will gently push it out of it.
{
// in collision event with whatever object...
var_dir = point_direction(x,y,other.x,other.y)
x = x+lengthdir_x(-1,var_dir)
y = y+lengthdir_y(-1,var_dir)
}