Fixed heavy press cutscene on switch

This commit is contained in:
dawnDus 2022-01-15 16:35:57 -05:00
parent cd049fd378
commit 375c72cfbd
No known key found for this signature in database
GPG Key ID: 972AABDE81848F21
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ impl BossNPC {
if self.parts[0].action_num == 20 {
self.parts[0].action_num = 21;
self.parts[0].damage = 0;
self.parts[0].x = 0x14000;
self.parts[0].x = if !state.constants.is_switch { 0x14000 } else { 0x1A000 };
self.parts[0].y = 0x33A00;
self.parts[0].npc_flags.set_solid_hard(false);
self.parts[1].cond.set_alive(false);
@ -110,7 +110,7 @@ impl BossNPC {
if self.parts[0].action_num == 30 {
self.parts[0].action_num = 31;
self.parts[0].anim_num = 2;
self.parts[0].x = 0x14000;
self.parts[0].x = if !state.constants.is_switch { 0x14000 } else { 0x1A000 };
self.parts[0].y = 0x8000;
}
self.parts[0].y += 0x800;