diff options
author | Treeki <treeki@gmail.com> | 2013-05-12 22:53:28 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-05-12 22:53:28 +0200 |
commit | 712180ba86839aa0c7b50bca41ed385dd6405772 (patch) | |
tree | f0630a644a7e2f70aa3a6bbb74d18a9b628d09bd /include/game.h | |
parent | cb7cc05946dc0b43066f479e42afdcf03895655c (diff) | |
download | kamek-712180ba86839aa0c7b50bca41ed385dd6405772.tar.gz kamek-712180ba86839aa0c7b50bca41ed385dd6405772.zip |
unbubble sprite fixes
Diffstat (limited to '')
-rwxr-xr-x | include/game.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h index 7035850..b032f40 100755 --- a/include/game.h +++ b/include/game.h @@ -3643,6 +3643,10 @@ extern u32 GlobalTickCount; // A hack, imported from tilesetfixer.cpp
extern void *BGDatClass, *StagePtr;
+inline int GetZoneNum() {
+ char *st = (char*)StagePtr;
+ return st[0x120F];
+}
inline int GetAreaNum() {
char *st = (char*)StagePtr;
return st[0x120E];
|