Skip to content

Commit

Permalink
Decomp AdventureFlags::Get_FlagsUnk_49
Browse files Browse the repository at this point in the history
  • Loading branch information
mike8699 committed Jan 9, 2025
1 parent 8f37353 commit a362121
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/Save/AdventureFlags.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class AdventureFlags : public SysObject {
bool func_ov00_02097bcc(s32 param2);
s32 func_ov00_02097c08();
bool Get_FlagsUnk_30_Flag(int index);
unk8 Get_FlagsUnk_49(int index);
u8 Get_FlagsUnk_49(s32 index);
unk8 Get_FlagsUnk_48(int index);
unk8 Get_FlagsUnk_4a(int index);
unk16 Get_FlagsUnk_42(int index);
Expand Down
6 changes: 5 additions & 1 deletion src/00_Core/Save/AdventureFlags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

extern void func_ov000_020980f8(CutsceneHandler *cutsceneHandler);
extern unk32 func_ov000_020980fc(CutsceneHandler *cutsceneHandler);
extern u8 data_ov000_020e3155[];

bool AdventureFlags::Exists() {
return gAdventureFlags != NULL;
Expand Down Expand Up @@ -40,7 +41,10 @@ bool AdventureFlags::Get_FlagsUnk_30_Flag(int index) {
return this->Get(unk30);
}

unk8 AdventureFlags::Get_FlagsUnk_49(int index) {}
u8 AdventureFlags::Get_FlagsUnk_49(s32 index) {
return data_ov000_020e3155[index * 0x4C];
}

unk8 AdventureFlags::Get_FlagsUnk_48(int index) {}
unk8 AdventureFlags::Get_FlagsUnk_4a(int index) {}
unk16 AdventureFlags::Get_FlagsUnk_42(int index) {}
Expand Down

0 comments on commit a362121

Please sign in to comment.