if (touched == 0) { global.flag[388] = 1; touched = 1; alarm[0] = 1; obj_mainchara.hspeed = 0; obj_mainchara.vspeed = 0; }