replace in your codes

level_load("small.hmp");

to

level_load("small.x");

(not sure about that if 3dgs supports .x or you need to change it wmb. but try as i told first)