minor comments about state code in 2FEA0.c and 30640.c

This commit is contained in:
ProjectRevoTPP
2024-10-18 23:39:06 -04:00
parent 5c689ff118
commit a4e5e0125d
2 changed files with 4 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ void func_8002F2A0(void) {
FRAGMENT_LOAD(fragment3);
var_s0 = FRAGMENT_LOAD_AND_CALL(fragment14, 0, 0);
break;
case 10: // doesnt seem to load... crashes the game
case 10: // seems to be the "snap mode" code. However, the asset UI isnt loaded, so this call will crash.
FRAGMENT_LOAD(fragment3);
var_s0 = FRAGMENT_LOAD_AND_CALL(fragment15, 0, 0);
break;
@@ -75,7 +75,7 @@ void func_8002F2A0(void) {
FRAGMENT_LOAD(fragment5);
var_s0 = FRAGMENT_LOAD_AND_CALL(fragment16, 0, 0);
break;
case 12: // also crashes.
case 12: // crashes. This fragment is the "Demo" cutscene bin, but this code passes an invalid demo ID, which doesnt exist.
FRAGMENT_LOAD(fragment3);
var_s0 = FRAGMENT_LOAD_AND_CALL(fragment17, 0, 0);
break;
@@ -87,7 +87,7 @@ void func_8002F2A0(void) {
FRAGMENT_LOAD(fragment3);
var_s0 = FRAGMENT_LOAD_AND_CALL(fragment19, 0, 0);
break;
case 15: //
case 15: // metapod minigame
FRAGMENT_LOAD(fragment3);
var_s0 = FRAGMENT_LOAD_AND_CALL(fragment20, 0, 0);
break;

View File

@@ -79,6 +79,7 @@ void func_8002FA40(void) {
FRAGMENT_LOAD(fragment3);
FRAGMENT_LOAD(fragment31);
// determine if this is "How to Snap" or regular Snap Mode.
if (var_s5 == 1) {
var_s0 = 0;
} else {