From 712180ba86839aa0c7b50bca41ed385dd6405772 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 12 May 2013 22:53:28 +0200 Subject: unbubble sprite fixes --- include/game.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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]; -- cgit v1.2.3