mirror of
https://github.com/risingPhil/libpokemegb.git
synced 2026-09-12 10:57:50 -05:00
Add functionality to get and set event flags
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user