From d1e9cb8939c2020cfd5416d68b4bd4de90f14d6d Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 13 Feb 2026 22:36:21 +0100 Subject: Update values on the RNG table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way enemies are a bit more off from the boundaries, avoiding visually distracting scenarios. Signed-off-by: Miquel Sabaté Solà --- bin/rand.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/rand.rb b/bin/rand.rb index b781b6e..a3e7e41 100644 --- a/bin/rand.rb +++ b/bin/rand.rb @@ -10,9 +10,10 @@ # Whenever you update values on background.s, you are supposed to call this # script again and replace the values on 'valid_y_rand_table' in prng.s. -# See values on background.s -UPPER_MARGIN_Y_COORD = 0x1A -GROUND_Y_COORD = 0xC8 - 32 # NOTE: As in background.s - twice the size of the enemy. +# See values on background.s. They are the same +/- some margin so enemies are +# not right on the border. +UPPER_MARGIN_Y_COORD = 0x1A + 32 +GROUND_Y_COORD = 0xC8 - 64 # The available values for the Y axis for enemies are above ground, below the # sky, and avoiding the left-most and right-most platforms. -- cgit v1.2.3