Add functionality to get and set event flags

This commit is contained in:
risingPhil
2024-07-29 00:51:54 +02:00
parent 80e8397b93
commit 4a3bc9de18
10 changed files with 343 additions and 3 deletions

View File

@@ -183,6 +183,15 @@ public:
* @brief Unlocks the GS Ball event in Pokemon crystal
*/
void unlockGsBallEvent();
/**
* @brief Retrieves the value of the given event flag
*/
bool getEventFlag(uint16_t flagNumber);
/**
* @brief Sets the value of the given event flag number
*/
void setEventFlag(uint16_t flagNumber, bool enabled);
protected:
private:
IRomReader &romReader_;