From 7a9b7d07190e22209dae7630433f473f012d1367 Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Mon, 8 Jan 2018 12:10:59 +0000 Subject: [PATCH] Reverse delta of obstacles in a more conventional way upon bounce. --- eg/proto-game.60p | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/eg/proto-game.60p b/eg/proto-game.60p index 371b699..b6405be 100644 --- a/eg/proto-game.60p +++ b/eg/proto-game.60p @@ -359,9 +359,14 @@ routine enemy_logic trash y trash a } else { - copy word 0, compare_target - sub compare_target, delta - copy compare_target, delta + copy delta, compare_target + st on, c + sub compare_target, word 40 + if not z { + copy word 40, delta + } else { + copy $ffd8, delta + } trash compare_target }