Closed someone2639 closed 2 months ago
I wouldn't call it completely 100% obsolete given the use cases of custom level scripts and the fact that idk if fast64 really even touches that stuff. I'm admittedly not huge on those scripts.h defines btw but I don't have a great alternative suggestion.
the scripts.h changes are necessary otherwise fast64 would actually cause compilation errors lol
Figured that might be the case...unforch.
In that case, I'd just ditch the A and B macros tbh
macros are consolidated except for LOAD_COMMON0
and LOAD_COMMON0_FULL
because floombas break if you load every model from common0 for some reason
That sounds like a bug, how is that even possible
it does a jump to null and crashes, I think it's because the scripts segment is not loaded yet so you can't jump to the data formerly known as script_func_global_1
I think there's water in my theory from above, as copying the contents of common0_load_geolayouts
into the intro script works fine but the jump link doesnt
Also just a forewarning, there's a strong chance a new fast64 version will handle placing geo loads for you. In other words, common1 and group0 are probably not going to work with jump scripts.
Gonna close this for now; i don't see a good way to do this cleanly (and safely) that's worth the change atm, especially when fast64 might handle object banks in the future and/or we ditch object banks completely.
(NEEDS TESTING)
LOAD_GROUPA
andLOAD_GROUPB
seem unused, would like to hear from users of these macros if they existExample Usage would look something like this (only have to write that one command instead of 3)![image](https://github.com/HackerN64/HackerSM64/assets/9752483/93dc81fe-cee6-4067-9387-088e8442ed0f)