diff options
Diffstat (limited to 'include/game.h')
-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];
|