2021-06-09 01:48:21 -07:00
|
|
|
if ( hp <= 0 || obj_dialogue.dialogue_mode ) {
|
2021-06-07 01:52:09 -07:00
|
|
|
instance_destroy();
|
2021-06-09 01:48:21 -07:00
|
|
|
if ( !obj_dialogue.dialogue_mode ) {
|
|
|
|
//TODO: point system for kills
|
|
|
|
}
|
2021-06-07 22:27:44 -07:00
|
|
|
}
|
2021-06-11 04:39:22 -07:00
|
|
|
if ( obj_wriggle.emergency && !temp_speed ) {
|
2021-06-07 22:27:44 -07:00
|
|
|
temp_speed = speed;
|
|
|
|
speed = 0;
|
2021-06-11 04:39:22 -07:00
|
|
|
} else if ( !obj_wriggle.emergency && temp_speed ) {
|
2021-06-07 22:27:44 -07:00
|
|
|
speed = temp_speed;
|
|
|
|
temp_speed = 0;
|
2021-06-07 01:52:09 -07:00
|
|
|
}
|