action_set_relative(1); var __b__; __b__ = action_if_variable(global.shield, 1, 1); if __b__ { { global.player_hp += -30; } } with (other) { action_kill_object(); } action_set_relative(0);