if (!init) { init = 1; if (r_pink) make_pink(); } image_speed = 0.5; if (instance_place(x, y, obj_climb_kris)) { var str = "F$"; if (is_pink) { str = "P$"; global.flag[1312] += 1; snd_play(snd_pink_coin); } else { global.flag[1411] += 1; snd_play(snd_flowery_coin); } var marker = -4; if (i_ex(obj_textmarker)) { with (obj_textmarker) { if (variable_instance_exists(id, "is_pink") && other.is_pink) { marker = self; break; } else if (!other.is_pink) { marker = self; break; } } marker = instance_find(obj_textmarker, 0); } else { marker = instance_create_depth(x + 20, y + 20, 1500, obj_textmarker); marker.value = 0; } with (marker) { if (value > 0) { with (doom) instance_destroy(); } x = other.x + 20; y = other.y + 20; if (other.is_pink) { value += 1; is_pink = true; font = global.damagefontpink; } else { value += 1; font = global.damagefontgold; } mystring = "+" + string(value) + str; hscale = other.image_xscale * 0.5; follow_camera = false; vspeed = -4; friction = 0.25; outline = false; doom = scr_doom(id, 30); } if (flag > 0) scr_flag_set_ext(flag, flagbit, 1); instance_destroy(); }