twinblade-infinity/objects/obj_player_beams/Collision_obj_enemy_base.gml

21 lines
267 B
Plaintext
Raw Normal View History

action_set_relative(1);
var __b__;
__b__ = action_if_variable(other.shielded, 0, 0);
if __b__
{
{
with (other) {
hp += -1;
}
__b__ = action_if_variable(global.hypertime, 0, 2);
if __b__
{
with (other) {
hp += -4;
}
}
}
}
action_kill_object();
action_set_relative(0);