1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-03-23 10:29:18 +00:00

Fixed Sister's spawn location on Switch

This commit is contained in:
dawnDus 2022-01-25 23:32:47 -05:00
parent fba36467ea
commit 7448ce0e59
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -21,7 +21,7 @@ impl BossNPC {
self.parts[0].direction = Direction::Left;
self.parts[0].action_num = 10;
self.parts[0].exp = 0;
self.parts[0].x = 0x14000;
self.parts[0].x = if !state.constants.is_switch { 0x14000 } else { 0x1A000 };
self.parts[0].y = 0x10000;
self.parts[0].display_bounds = Rect::new(0x1000, 0x1000, 0x10000, 0x1000);
self.parts[0].hit_bounds = Rect::new(0x1000, 0x1000, 0x1000, 0x1000);