Code: Select all
#List of cube types, start and length
%patch $2102 $2149W $81 $44 $0004W $10 $83 $54 $0006W
The first word says where the list of types can be found. This list is a collection of locations where the actual code can be found for each icecube:
Code: Select all
#Cube behavior list
%patch $2148 $00 $2104W $2119W $2125W $2131W
This is easy to modify, changing the location of the list allows me to slot it anywhere I like and potentially make many more types of icecube.
The second word is how long the list is, in words, the third what sprite number the icecubes start at. (Thus cubes are sprites 6, 7, 8 and 9.) Modifying *those* I can make as many or as few different cube types as I want and have space for.
HOWEVER; when I alter these two words... nothing changes. If I mess up the code, the game crashes, but entering insane values for the 2nd and 3rd word seems to have no effect at all. Is this something wrong with my patch setup? If not, why aren't these two values doing what I KNOW they must? Can anyone explain?