diff --git a/Source/Contents/TipBoxTitles.cpp b/Source/Contents/TipBoxTitles.cpp index ea7d4bb7..31c1a9ad 100644 --- a/Source/Contents/TipBoxTitles.cpp +++ b/Source/Contents/TipBoxTitles.cpp @@ -157,3 +157,21 @@ std::string TipBoxTitles::Title(int id, std::string* abbreviated, int width) con return result; } + +// OFFSET: 0x007ACF50 + +// OFFSET: 0x007AD480 + +// OFFSET: 0x007AD890 +// FUNCTION: fn_09130 +bool CTipBoxMgr::IsLastTip() const { + return this->unknown_00B4 == static_cast(this->m_randomList.size() / 6) - 1; +} + +// OFFSET: 0x007AD8C0 + +// OFFSET: 0x007AD8D0 + +// OFFSET: 0x007AD940 + +// OFFSET: 0x007AE050 diff --git a/Source/Contents/TipBoxTitles.h b/Source/Contents/TipBoxTitles.h index 7532bafc..619a44dc 100644 --- a/Source/Contents/TipBoxTitles.h +++ b/Source/Contents/TipBoxTitles.h @@ -35,7 +35,13 @@ public: void AddParagraph(int id, std::string text); TipBoxEntry& SelectRandomTip(); const TipBoxEntry& GetTip(int id) const; - + void Sub7ACF50(); + void RegisterLuaFunctions(); + bool IsLastTip() const; + bool HasItems70() const; + bool HasItems18() const; + void Sub7AD940(int a); + bool SelectTip(int id); static bool Create(); static void Destroy();