From 9935798b98d30036424b0b18f6cb09f60efb7238 Mon Sep 17 00:00:00 2001 From: Mark Moxon Date: Tue, 28 Feb 2023 11:50:28 +0000 Subject: [PATCH] Updated comments in modification script --- src/elite-flicker-free.asm | 6 ++++-- src/elite-modify.py | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/elite-flicker-free.asm b/src/elite-flicker-free.asm index 4d19c1f..ba8aeac 100644 --- a/src/elite-flicker-free.asm +++ b/src/elite-flicker-free.asm @@ -41,7 +41,7 @@ GUARD $CE00 \ Guard against assembling over memory used by game \ \ ****************************************************************************** -XX1 = $0009 +XX1 = $0009 \ Variables for flicker-free ships INWK = $0009 XX19 = $002A K3 = $0035 @@ -64,7 +64,7 @@ LL75 = $9FB8 LL30 = $AB91 Y = 72 -K = $0077 +K = $0077 \ Variables for flicker-free planets LSP = $007E K5 = $0085 K6 = $0089 @@ -548,6 +548,8 @@ SAVE "wpls2.bin", WPLS2, P% ORG $CCE0 +GUARD $CE00 + .LLX30 LDY XX14 \ Set Y = XX14, to get the offset within the ship line diff --git a/src/elite-modify.py b/src/elite-modify.py index f1f5eb5..8660220 100644 --- a/src/elite-modify.py +++ b/src/elite-modify.py @@ -370,8 +370,8 @@ print("[ Modify ] append file extra.bin") # We now move on to the routines for drawing flicker-free planets -# Set the addresses for the extra routines (LLX30, PATCH1, PATCH2) that we will -# append to the end of the main game code (where there is a bit of free space) +# Set the addresses for the extra routines (EraseRestOfPlanet, PATCH4, PATCH5) +# that we will insert into the sprite area (where there is a bit of free space) erasep = 0xCD3B patch4 = 0x69D0