1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-07-04 02:47:04 +00:00

Switch offset for Quote in ending cutscene

This commit is contained in:
dawnDus 2022-03-10 21:54:26 -05:00
parent ef99809c95
commit f50760d9c6
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -2587,9 +2587,13 @@ impl NPC {
if let Some(npc) = self.get_parent_ref_mut(npc_list) { if let Some(npc) = self.get_parent_ref_mut(npc_list) {
self.x = npc.x - 0xe00; self.x = npc.x - 0xe00;
if state.constants.is_switch {
self.y = npc.y - 0x2200;
} else {
self.y = npc.y - 0x2600; self.y = npc.y - 0x2600;
} }
} }
}
(_, Direction::Bottom) => { (_, Direction::Bottom) => {
self.spritesheet_id = 23; self.spritesheet_id = 23;
self.anim_num = 3; self.anim_num = 3;