chore: rename code91E10 prefix to previous gcquiz

This commit is contained in:
Bl00D4NGEL
2024-10-08 23:55:59 +02:00
parent 236253ee18
commit 8009f5b3a9
10 changed files with 123 additions and 123 deletions

View File

@@ -71,7 +71,7 @@ void gzquiz_initGruntyQuestions(void) {
if (fileProgressFlag_get(FILEPROG_5C_FF_PATTERN_SET) && !volatileFlag_get(VOLATILE_FLAG_62_FF_GRUNTY_QUESTIONS_INITIALIZED)) {
rand_seed(fileProgressFlag_getN(FILEPROG_D3_FF_PATTERN, 8));
for(i = 0; i < code91E10_getLastIndexOfQuestionType(FFQT_3_GRUNTY); i++){
for(i = 0; i < gcquiz_getLastIndexOfQuestionType(FFQT_3_GRUNTY); i++){
question_id = VOLATILE_FLAG_26_FF_GRUNTY_QUESTIONS + 2 * i;
pattern = randi2(0, 3);

View File

@@ -548,7 +548,7 @@ void func_8038CCEC(void)
free(D_8037DCB8);
D_8037DCB8 = NULL;
code_91E10_free();
gcquiz_free();
quizQuestionAskedBitfield_free();
func_802C5994();
}
@@ -590,7 +590,7 @@ void func_8038CE28(void)
{
s32 i;
code_91E10_init();
gcquiz_init();
D_8037DCB8 = malloc(sizeof(struct FF_StorageStruct));
quizQuestionAskedBitfield_init();
@@ -911,7 +911,7 @@ void func_8038D670(enum FF_Action next_state) {
func_8028F918(2);
if (D_8037DCB8->ffQuestionType != FFQT_4_MINIGAME) {
func_8038CE00();
code_91E10_func_8031A154(D_8037DCB8->ffQuestionType, D_8037DCB8->unkD, D_8037DCB8->unkE, __code5ED0_getQuizQuestionTime(D_8037DCB8->ffQuestionType, D_8037DCB8->unkC), 0, &func_8038D3F0);
gcquiz_func_8031A154(D_8037DCB8->ffQuestionType, D_8037DCB8->unkD, D_8037DCB8->unkE, __code5ED0_getQuizQuestionTime(D_8037DCB8->ffQuestionType, D_8037DCB8->unkC), 0, &func_8038D3F0);
} else {
func_8038D4BC();
}
@@ -942,7 +942,7 @@ void func_8038D670(enum FF_Action next_state) {
break;
}//L8038D91C
}
code91E10_func_8031A48C();
gcquiz_func_8031A48C();
break;
case FFA_6_TRIGGER_QUESTION_POST_EFFECTS: //L8038D940
@@ -1156,7 +1156,7 @@ void lair_func_8038E0B0(void) {
&& (D_8037DCB8 != NULL)
&& (D_8037DCB8->unk0 != NULL)
){
code_91E10_func_80319EA4();
gcquiz_func_80319EA4();
func_8038C9D0();
func_8024E55C(0, sp48);
func_8024E60C(0, sp3C);
@@ -1327,7 +1327,7 @@ void lair_func_8038E768(Gfx **dl, Mtx **m, Vtx **v)
if (map_get() != MAP_8E_GL_FURNACE_FUN)
return;
code91E10_draw(dl, m, v);
gcquiz_draw(dl, m, v);
gczoombox_draw(D_8037DCB8->unk20, dl, m, v);
}

View File

@@ -131,7 +131,7 @@ void func_80390E28(Actor *this) {
switch (this->state) {
case 0:
if( code91E10_isNotInInitialState() == FALSE && (sp38 < 2) && (randf() < 0.1) && !mapSpecificFlags_get(0xA) && !volatileFlag_get(VOLATILE_FLAG_1F_IN_CHARACTER_PARADE)) {
if( gcquiz_isNotInInitialState() == FALSE && (sp38 < 2) && (randf() < 0.1) && !mapSpecificFlags_get(0xA) && !volatileFlag_get(VOLATILE_FLAG_1F_IN_CHARACTER_PARADE)) {
sp38++;
mapSpecificFlags_setN(0, sp38, 2);
func_80390D3C(this, (randf() < 0.5) ? 2 :1);

View File

@@ -240,7 +240,7 @@ void func_80391B04(Actor *this) {
func_8038E9A4(local->unk10, this->position);
switch (this->state) { /* irregular */
case 1:
if (code91E10_isNotInInitialState() || mapSpecificFlags_get(0xA)) {
if (gcquiz_isNotInInitialState() || mapSpecificFlags_get(0xA)) {
func_80391810(this, 4);
break;
}

View File

@@ -86,7 +86,7 @@ void func_80392700(Actor *this) {
this->marker->unk2C_2 = TRUE;
}
}
this->unk58_0 = !code91E10_isNotInInitialState();
this->unk58_0 = !gcquiz_isNotInInitialState();
}