summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-05-12 22:53:28 +0200
committerTreeki <treeki@gmail.com>2013-05-12 22:53:28 +0200
commit712180ba86839aa0c7b50bca41ed385dd6405772 (patch)
treef0630a644a7e2f70aa3a6bbb74d18a9b628d09bd /include
parentcb7cc05946dc0b43066f479e42afdcf03895655c (diff)
downloadkamek-712180ba86839aa0c7b50bca41ed385dd6405772.tar.gz
kamek-712180ba86839aa0c7b50bca41ed385dd6405772.zip
unbubble sprite fixes
Diffstat (limited to '')
-rwxr-xr-xinclude/game.h4
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];