file_progress_e documentation
This commit is contained in:
@@ -16,17 +16,17 @@ ActorInfo D_803731B0 = {
|
||||
int func_803616F0(Actor *this){
|
||||
switch(this->unkF4_8){
|
||||
case 1:// L80361728
|
||||
return func_8031FF1C(BKPROG_31_MM_OPEN) && !func_802D9220(LEVEL_1_MUMBOS_MOUNTAIN);
|
||||
return fileProgressFlag_get(FILEPROG_31_MM_OPEN) && !func_802D9220(LEVEL_1_MUMBOS_MOUNTAIN);
|
||||
case 2:// L80361750
|
||||
return func_8031FF1C(BKPROG_32_TTC_OPEN) && !func_802D9220(LEVEL_2_TREASURE_TROVE_COVE);
|
||||
return fileProgressFlag_get(FILEPROG_32_TTC_OPEN) && !func_802D9220(LEVEL_2_TREASURE_TROVE_COVE);
|
||||
case 3:// L80361778
|
||||
return func_8031FF1C(BKPROG_33_CC_OPEN) && !func_802D9220(LEVEL_3_CLANKERS_CAVERN);
|
||||
return fileProgressFlag_get(FILEPROG_33_CC_OPEN) && !func_802D9220(LEVEL_3_CLANKERS_CAVERN);
|
||||
case 4:// L803617A0
|
||||
return func_8031FF1C(BKPROG_34_BGS_OPEN) && !func_802D9220(LEVEL_4_BUBBLEGLOOP_SWAMP);
|
||||
return fileProgressFlag_get(FILEPROG_34_BGS_OPEN) && !func_802D9220(LEVEL_4_BUBBLEGLOOP_SWAMP);
|
||||
case 5:// L803617C8
|
||||
return func_8031FF1C(BKPROG_35_FP_OPEN) && !func_802D9220(LEVEL_5_FREEZEEZY_PEAK);
|
||||
return fileProgressFlag_get(FILEPROG_35_FP_OPEN) && !func_802D9220(LEVEL_5_FREEZEEZY_PEAK);
|
||||
case 6:// L803617F0
|
||||
return func_8031FF1C(BKPROG_36_GV_OPEN) && !func_802D9220(LEVEL_7_GOBIS_VALLEY);
|
||||
return fileProgressFlag_get(FILEPROG_36_GV_OPEN) && !func_802D9220(LEVEL_7_GOBIS_VALLEY);
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
@@ -47,8 +47,8 @@ void func_80361870(Actor *this){
|
||||
}
|
||||
|
||||
if(!this->unk138_24 && func_80329530(this, 400) && !func_80329530(this, 50)){
|
||||
if(this->unkF4_8 == 1 && !func_8031FF1C(BKPROG_31_MM_OPEN) && level_get() == LEVEL_6_LAIR){
|
||||
text_id = func_8031FF1C(BKPROG_A7_NEAR_PUZZLE_PODIUM_TEXT)? 0xF80 : 0xF7F;
|
||||
if(this->unkF4_8 == 1 && !fileProgressFlag_get(FILEPROG_31_MM_OPEN) && level_get() == LEVEL_6_LAIR){
|
||||
text_id = fileProgressFlag_get(FILEPROG_A7_NEAR_PUZZLE_PODIUM_TEXT)? 0xF80 : 0xF7F;
|
||||
if(func_80311480(text_id, 0, 0, 0, 0, 0)){
|
||||
this->unk138_24 = TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user