From ac6120aa97ae2e22149efa65e994c60f282f6db1 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Thu, 8 Aug 2024 09:29:18 +0800 Subject: [PATCH] Reverted the destination tile changes in dcslave and mckarl (it was from UP because map_next_tile in denbus2.map was blocked, RP version of the map doesn't have this issue.) Fixed Karl not disappearing after walking out of view (due to mismatch of destination tile, he would disappear only on re-entering denbus2.) --- scripts_src/den/dcslave.ssl | 4 ++-- scripts_src/modoc/mckarl.ssl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts_src/den/dcslave.ssl b/scripts_src/den/dcslave.ssl index d29e4de9f8..657dd61b85 100644 --- a/scripts_src/den/dcslave.ssl +++ b/scripts_src/den/dcslave.ssl @@ -102,8 +102,8 @@ procedure timed_event_p_proc begin self_walk_to_tile(global_temp); end end else begin - if (tile_distance(self_tile,30302) > 3) then begin //edit by killap - was map_next_tile - anim_run_to_point_rate(30302, 5) + if (tile_distance(self_tile, map_next_tile) > 3) then begin + anim_run_to_point_rate(map_next_tile, 5) end else begin destroy_object(self_obj); end diff --git a/scripts_src/modoc/mckarl.ssl b/scripts_src/modoc/mckarl.ssl index 3d737e78f2..d5a90b9e09 100644 --- a/scripts_src/modoc/mckarl.ssl +++ b/scripts_src/modoc/mckarl.ssl @@ -166,7 +166,7 @@ end procedure critter_p_proc begin if (self_visible) then begin - if (self_tile == 30302) then begin //edit by killap - was map_exit_tile + if (self_tile == map_next_tile) then begin destroy_object(self_obj); end else if (karl_nuts) then begin anim_run_to_point_rate(map_next_tile, 4)