diff --git a/Export_Code/gml_Object_oMultiHitbox_Destroy_0.gml b/Export_Code/gml_Object_oMultiHitbox_Destroy_0.gml new file mode 100644 index 0000000..ecd1d4f --- /dev/null +++ b/Export_Code/gml_Object_oMultiHitbox_Destroy_0.gml @@ -0,0 +1,26 @@ +if (absorb && (!absorbDone)) +{ + absorbDone = 1 + with (oCharacter) + speedmultiresettimer = 0 + global.enablecontrol = 1 + if (global.item[11] == 0) + { + global.item[11] = 1 + global.ibeam = 1 + } + with (instance_find(oFXTrail, (instance_number(oFXTrail) - 1))) + { + if (sprite_index == sScrewSpark) + { + visible = true + sprite_index = sScrewAttack + image_index = other.screwattackpickupframe + image_alpha = 1 + image_angle = other.screwattackpickupangle + image_blend = c_white + image_xscale = 1 + image_yscale = 1 + } + } +} diff --git a/Export_Object/oMultiHitbox.json b/Export_Object/oMultiHitbox.json index 5af7386..d6db10c 100644 --- a/Export_Object/oMultiHitbox.json +++ b/Export_Object/oMultiHitbox.json @@ -42,7 +42,28 @@ ] } ], - [], + [ + { + "event_subtype": 0, + "actions": [ + { + "lib_id": 0, + "id": 0, + "kind": 0, + "use_relative": false, + "is_question": false, + "use_apply_to": false, + "exe_type": 0, + "action_name": null, + "code_id": "gml_Object_oMultiHitbox_Destroy_0", + "argument_count": 0, + "who": 0, + "relative": false, + "is_not": false + } + ] + } + ], [], [ {