mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 05:33:02 +00:00
fix missing muscle doctor action and sue teleport sound
This commit is contained in:
parent
b1d578c0b4
commit
8c70e1a13d
|
@ -929,6 +929,16 @@ impl NPC {
|
|||
self.face_player(player);
|
||||
}
|
||||
}
|
||||
501 => {
|
||||
self.anim_num = 9;
|
||||
|
||||
self.action_counter += 1;
|
||||
if self.action_counter / 2 % 2 != 0 {
|
||||
self.x = self.target_x;
|
||||
} else {
|
||||
self.x = self.x.wrapping_add(0x200);
|
||||
}
|
||||
}
|
||||
510 | 511 => {
|
||||
if self.action_num == 510 {
|
||||
self.action_num = 511;
|
||||
|
|
|
@ -291,6 +291,7 @@ impl NPC {
|
|||
self.anim_counter = 0;
|
||||
self.x += 0xc00;
|
||||
self.target_x = self.x;
|
||||
state.sound_manager.play_sfx(29);
|
||||
}
|
||||
|
||||
self.action_counter += 1;
|
||||
|
|
Loading…
Reference in a new issue