summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-01-25 23:55:58 +0100
committerTreeki <treeki@gmail.com>2013-01-25 23:55:58 +0100
commited317da2d37c1f6b91068c02190d4eb75dfb1453 (patch)
treee168828299cd338c4f780912ffd25ab19e838bba
parent15afe4d423d3966b90f6c72b9cdc06914b0ac363 (diff)
downloadkamek-ed317da2d37c1f6b91068c02190d4eb75dfb1453.tar.gz
kamek-ed317da2d37c1f6b91068c02190d4eb75dfb1453.zip
add a couple of things to the linker script and game.h
-rwxr-xr-xinclude/game.h2
-rw-r--r--kamek_pal.x3
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;