18 lines
351 B
Plaintext
18 lines
351 B
Plaintext
if (invuln <= 0) {
|
|
hp -= 1;
|
|
invuln = 90;
|
|
target_speed = 12;
|
|
dspeed = 12;
|
|
target_direction = point_direction(other.x,other.y,x,y);
|
|
direction = target_direction;
|
|
audio_play_sound(snd_ow, 10, false);
|
|
}
|
|
|
|
if (hp < 1) {
|
|
global.cutscene_mode = false;
|
|
global.cutscene_number = CUTSCENE_NOSCENE;
|
|
global.dialogue_mode = false;
|
|
room_goto(rm_game);
|
|
}
|
|
|