diff options
-rwxr-xr-x | include/game.h | 2 | ||||
-rw-r--r-- | kamek_pal.x | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h index 2a30ee7..5c7ac05 100755 --- a/include/game.h +++ b/include/game.h @@ -272,6 +272,8 @@ public: u32 GetLevelCondition(int world, int level);
bool CheckLevelCondition(int world, int level, int cond);
+ void SetLevelCondition(int world, int level, int cond);
+ void UnsetLevelCondition(int world, int level, int cond);
bool CheckIfCoinCollected(int world, int level, int num);
};
diff --git a/kamek_pal.x b/kamek_pal.x index 00904eb..9a0fee1 100644 --- a/kamek_pal.x +++ b/kamek_pal.x @@ -1143,10 +1143,13 @@ SECTIONS { GetLevelCondition__9SaveBlockFii = 0x800CE490; CheckLevelCondition__9SaveBlockFiii = 0x800CE4B0; + SetLevelCondition__9SaveBlockFiii = 0x800CE4E0; + UnsetLevelCondition__9SaveBlockFiii = 0x800CE500; _Z20CheckIfWeCantDoStuffv = 0x8076DB90; _Z15QueryGlobal5758j = 0x800B3B50; + UpdateSavefileChecksums = 0x800E05A0; |