Summary: | Removed Bouncing Paragoomba RNG |
Description: | This patch makes the waiting time before a Winged goomba bounces again constant and not RNG. |
Tags: | bouncing paragoomba, goomba, rng, winged goomba |
Code: | !bounce = $50 Org $018D96 ;|\ remove Winged goomba rng LDA #!bounce ;|| constant RNG Vanilla Get a random number of frames (#$50-#$7F) to wait before hopping again. NOP #6 ;|/ |
Submitted: | by Maw |
Hi and thanks for submitting this -- paragoomba RNG removal would definitely be a handy tweak to have -- but I have to reject it for one main issue.
First, per the submission guidelines:
Quote
3. Tweaks may not add any new defines.
Use only those defines that appear in the base tweak patch header. Use parameters to include user-configurable values.
Use only those defines that appear in the base tweak patch header. Use parameters to include user-configurable values.
In particular, here, the bounce time value should be configurable as a tweak parameter, rather than as a define.
Also, as some less important side notes: if you're going to replace code with a bunch of NOPs, you might as well include a branch around it. Also, the RNG value for the paragoomba is a bit weird -- there's a 50% chance of getting a value from $50-5F and a 50% chance of getting a value from $70-7F -- this might be worth noting in the description.