Fixed Getting Stuck in Absorb

pull/9/head
DodoBirb 4 years ago
parent 7ba20044cc
commit d908adf44e

@ -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
}
}
}

@ -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
}
]
}
],
[],
[
{

Loading…
Cancel
Save