Looking at YoSniper's code... it looks like the Lemon code already has that? Maybe I'm missing something. ._.
if (!place_free(x+hspeed,y)) {
hspeed=-hspeed;
}
if (!place_free(x,y+vspeed+yspeed)) {
if (vspeed!=0) {
yspeed=-vspeed;
vspeed=0;
}
else {
vspeed=-yspeed;
yspeed=0;
}
}
y+=yspeed;
if (place_meeting(x,y-2,player)) {
player.y+=vspeed+yspeed;
with (player) {
if (place_free(x+other.hspeed,y)) player.x+=other.hspeed;
}
}
if (place_meeting(x,y+2,player2)) {
player2.y+=vspeed+yspeed;
with (player2) {
if (place_free(x+other.hspeed,y)) player2.x+=other.hspeed;
}
}
if (vspeed<0) {
yspeed=vspeed;
vspeed=0;
}
if (yspeed>0) {
vspeed=yspeed;
yspeed=0;
}