Kytag00 / Vrbox2 work, some cphase / kankyo doc (#1886)

* kytag00 work

* d_a_vrbox2 close to done

* rename cPhase enum values

* some enums from noclip / kankyo doc

* remove asm

* use macro

* uncomment ok-check.yml
This commit is contained in:
TakaRikka
2023-08-16 13:32:40 -07:00
committed by GitHub
parent 7fd7d0c1f3
commit 114582643f
42 changed files with 1534 additions and 968 deletions
+5 -5
View File
@@ -886,7 +886,7 @@ static BOOL cDyl_Initialized;
/* 800185C0-80018688 012F00 00C8+00 1/1 1/1 0/0 .text cDyl_LinkASync__Fs */
int cDyl_LinkASync(s16 i_ProfName) {
if (cDyl_Initialized == false) {
return cPhs_ZERO_e;
return cPhs_INIT_e;
}
if (i_ProfName >= ARRAY_SIZE(DMC)) {
@@ -905,7 +905,7 @@ int cDyl_LinkASync(s16 i_ProfName) {
return cPhs_ERROR_e;
}
} else {
return cPhs_ZERO_e;
return cPhs_INIT_e;
}
}
@@ -985,7 +985,7 @@ int cDylPhs::Link(request_of_phase_process_class* i_phase, s16 param_1) {
(request_of_phase_process_fn)cDylPhs::phase_03
};
if (i_phase->id == cPhs_TWO_e) {
if (i_phase->id == cPhs_NEXT_e) {
return cPhs_COMPLEATE_e;
}
@@ -997,9 +997,9 @@ int cDylPhs::Link(request_of_phase_process_class* i_phase, s16 param_1) {
int cDylPhs::Unlink(request_of_phase_process_class* i_phase, s16 i_ProfName) {
int ret;
if (i_phase->id == cPhs_TWO_e) {
if (i_phase->id == cPhs_NEXT_e) {
ret = cDyl_Unlink(i_ProfName);
i_phase->id = cPhs_ZERO_e;
i_phase->id = cPhs_INIT_e;
} else {
ret = 0;
}