Closed Armasher5872 closed 9 months ago
Followup note:
While I have not solved the issue entirely, I have found that so far, only the throw status kinds cause a crash when attempting to directly transition into them. Additionally, this still happens even if attempting it via a vtable hook.
Figured out what seemingly fixed it:
For Luigi, it was reimplementing all of his vanilla grab statuses to permit him to grab properly.
Certain code used to imitate the functionality of command grabs that was utilized in Smashline 1 now immediately crash upon attempting to change status. Said code looks like this:
The
FIGHTER_INSTANCE_WORK_ID_FLAG_HAS_CATCH
is a custom lua_const, although this issue also happens if using a mutable instance variable (likeHAS_CATCH[entry_id]
). Said flag gets enabled during the catch status if the previous status kind was Down Special, which can be seen here:I cannot say if it's due to my implementation, or if it's a Smashline 2 specific issue.
Here's the crash log: 01706216210_01006a800016e000.log
The game seems to be crashing on the pre status script of the move, which looks like this:
Here's where the PC linked to in main:
From my understanding, it's an issue regarding LinkModule::get_parent_lr, and could possibly be crashing because the game doesn't have a reference on what value it's supposed to put in the function (If this assumption is incorrect let me know).
I will need to perform further testing to determine if it's only the throw status that causes a crash, or if attempting to transition into any other status kind causes a crash.
If I manage to solve this issue, I will mention it in a followup on what solved it.