//Set the size of your level here. Should be the same width
//and height as your .gif files.
userWidth=160
userHeight=239

// Set the spawn point for the level.
// Keep in mind, the point that the player starts at is
// at the bottom of the sprite between the legs
custom_x=4
custom_y=28

// Don't mess with this, this is just making sure that the
// Respawn object starts where you do.
respawn_obj.x=custom_x
respawn_obj.y=custom_y
global.StartX=custom_x
global.StartY=custom_y

room_set_width(level2_play,userWidth)
room_set_height(level2_play,userHeight)