Skip to content

Feature: Subroutine Randomization

Drew Litherland edited this page Sep 16, 2025 · 1 revision

Many things in Melee's code use what are known as Subroutines which are basically a script that other scripts can call and use sort of like a function. However, these are not stored in any subaction and from what I can tell, nothing in the .dat files make reference to where these are located. These are used for things like Rapid Jabs and Angled Forward Smashes/Tilts, but also lots of special attacks use them and lots of other random stuff. It would be possible to randomize even more things if we can find a way to handle these, whether it be by adding more functionality to the DAT class for it, or hard coding in the offsets and sizes of all of them for each fighter.

Rapid Jabs doing hundreds of knockback could be amusing.

Clone this wiki locally