Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_bullet_foxprint_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
image_speed = 0;
3
alarm[0]
 = 20;
gml_Object_obj_bullet_foxprint_Alarm_0.gml

scr_lerp_imageblend(id, c_white, c_black, 12);
scr_lerpvar("image_alpha", 1, 0, 12);
active = false; alarm[1]
 = 12;
owner.direction = direction; with (obj_regularbullet) { if (sprite_index == spr_bullet_toebean) { if (owner == other.id) {
scr_lerpvar("speed", 0, 4 - (image_index / 2), 24);
destroyonhit = true; } } }
4
updateimageangle = 1;
5
sound_play_x(snd_bump, 0.7, 0.9);
6
destroyonhit = false;