1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-05-21 22:31:23 +00:00

Properly fix balrog cutscene and undo NPC 0 change

This commit is contained in:
dawnDus 2022-03-07 08:51:12 -05:00
parent d2a671e04c
commit 4b0b667ed5
No known key found for this signature in database
GPG key ID: 972AABDE81848F21
2 changed files with 3 additions and 2 deletions

View file

@ -275,6 +275,7 @@ impl NPC {
if self.y < 0 {
self.npc_type = 0;
self.spritesheet_id = 20; // NpcSym
state.sound_manager.play_sfx(26);
state.quake_counter = 30;
}

View file

@ -24,8 +24,8 @@ impl NPC {
self.anim_rect.left = 0;
self.anim_rect.top = 0;
self.anim_rect.right = 0;
self.anim_rect.bottom = 0;
self.anim_rect.right = 16;
self.anim_rect.bottom = 16;
Ok(())
}