sSMPickup 0 0 0 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 targetx = x; targety = y; 1 603 7 0 0 -1 2 self 0 0 1 if (oMapCursor.state == 0 || oMapCursor.state == 2) { if (oControl.kUp > 0) targety -= 2; if (oControl.kDown > 0) targety += 2; if (oControl.kLeft > 0) targetx -= 2; if (oControl.kRight > 0) targetx += 2; if (targety < 120) targety = 120; if (targety > 448) targety = 448; if (targetx < 160) targetx = 160; if (targetx > 472) targetx = 472; } if (oMapCursor.state == true && instance_exists(oMapMarker)) { targetx = oMapMarker.x + 4; targety = oMapMarker.y + 4; } if (targetx != x) x += (targetx - x) / 8; if (targety != y) y += (targety - y) / 8; 1 603 7 0 0 -1 2 self 0 0 1 targetx = oMapCursor.x + 4; targety = oMapCursor.y + 4; 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1