text: // global_0.cpp
  
  #include "types.h"
  
  // address: 0x8011ABFC
  extern int NumOfMonsterListLevels;
  
  // address: 0x800B71D0
  // size: 0x80
  extern struct MonstLevel AllLevels[16];
  
  // address: 0x8011A8E8
  // size: 0x4
  static unsigned char NumsLEV1M1A[4];
  
  // address: 0x8011A8EC
  // size: 0x4
  static unsigned char NumsLEV1M1B[4];
  
  // address: 0x8011A8F0
  // size: 0x5
  static unsigned char NumsLEV1M1C[5];
  
  // address: 0x8011A8F8
  // size: 0x4
  static unsigned char NumsLEV2M2A[4];
  
  // address: 0x8011A8FC
  // size: 0x4
  static unsigned char NumsLEV2M2B[4];
  
  // address: 0x8011A900
  // size: 0x3
  static unsigned char NumsLEV2M2C[3];
  
  // address: 0x8011A904
  // size: 0x4
  static unsigned char NumsLEV2M2D[4];
  
  // address: 0x8011A908
  // size: 0x4
  static unsigned char NumsLEV2M2QA[4];
  
  // address: 0x8011A90C
  // size: 0x4
  static unsigned char NumsLEV2M2QB[4];
  
  // address: 0x8011A910
  // size: 0x4
  static unsigned char NumsLEV3M3A[4];
  
  // address: 0x8011A914
  // size: 0x4
  static unsigned char NumsLEV3M3B[4];
  
  // address: 0x8011A918
  // size: 0x4
  static unsigned char NumsLEV3M3C[4];
  
  // address: 0x8011A91C
  // size: 0x4
  static unsigned char NumsLEV3M3QA[4];
  
  // address: 0x8011A920
  // size: 0x4
  static unsigned char NumsLEV4M4A[4];
  
  // address: 0x8011A924
  // size: 0x4
  static unsigned char NumsLEV4M4B[4];
  
  // address: 0x8011A928
  // size: 0x4
  static unsigned char NumsLEV4M4C[4];
  
  // address: 0x8011A92C
  // size: 0x4
  static unsigned char NumsLEV4M4D[4];
  
  // address: 0x8011A930
  // size: 0x4
  static unsigned char NumsLEV4M4QA[4];
  
  // address: 0x8011A934
  // size: 0x5
  static unsigned char NumsLEV4M4QB[5];
  
  // address: 0x8011A93C
  // size: 0x5
  static unsigned char NumsLEV4M4QC[5];
  
  // address: 0x8011A944
  // size: 0x4
  static unsigned char NumsLEV5M5A[4];
  
  // address: 0x8011A948
  // size: 0x4
  static unsigned char NumsLEV5M5B[4];
  
  // address: 0x8011A94C
  // size: 0x4
  static unsigned char NumsLEV5M5C[4];
  
  // address: 0x8011A950
  // size: 0x4
  static unsigned char NumsLEV5M5D[4];
  
  // address: 0x8011A954
  // size: 0x4
  static unsigned char NumsLEV5M5E[4];
  
  // address: 0x8011A958
  // size: 0x3
  static unsigned char NumsLEV5M5F[3];
  
  // address: 0x8011A95C
  // size: 0x4
  static unsigned char NumsLEV5M5QA[4];
  
  // address: 0x8011A960
  // size: 0x5
  static unsigned char NumsLEV6M6A[5];
  
  // address: 0x8011A968
  // size: 0x3
  static unsigned char NumsLEV6M6B[3];
  
  // address: 0x8011A96C
  // size: 0x4
  static unsigned char NumsLEV6M6C[4];
  
  // address: 0x8011A970
  // size: 0x3
  static unsigned char NumsLEV6M6D[3];
  
  // address: 0x8011A974
  // size: 0x3
  static unsigned char NumsLEV6M6E[3];
  
  // address: 0x8011A978
  // size: 0x3
  static unsigned char NumsLEV6M6QA[3];
  
  // address: 0x8011A97C
  // size: 0x4
  static unsigned char NumsLEV7M7A[4];
  
  // address: 0x8011A980
  // size: 0x4
  static unsigned char NumsLEV7M7B[4];
  
  // address: 0x8011A984
  // size: 0x4
  static unsigned char NumsLEV7M7C[4];
  
  // address: 0x8011A988
  // size: 0x3
  static unsigned char NumsLEV7M7D[3];
  
  // address: 0x8011A98C
  // size: 0x3
  static unsigned char NumsLEV7M7E[3];
  
  // address: 0x8011A990
  // size: 0x2
  static unsigned char NumsLEV8M8A[2];
  
  // address: 0x8011A994
  // size: 0x4
  static unsigned char NumsLEV8M8B[4];
  
  // address: 0x8011A998
  // size: 0x3
  static unsigned char NumsLEV8M8C[3];
  
  // address: 0x8011A99C
  // size: 0x2
  static unsigned char NumsLEV8M8D[2];
  
  // address: 0x8011A9A0
  // size: 0x2
  static unsigned char NumsLEV8M8QA[2];
  
  // address: 0x8011A9A4
  // size: 0x4
  static unsigned char NumsLEV9M9A[4];
  
  // address: 0x8011A9A8
  // size: 0x3
  static unsigned char NumsLEV9M9B[3];
  
  // address: 0x8011A9AC
  // size: 0x2
  static unsigned char NumsLEV9M9C[2];
  
  // address: 0x8011A9B0
  // size: 0x2
  static unsigned char NumsLEV9M9D[2];
  
  // address: 0x8011A9B4
  // size: 0x3
  static unsigned char NumsLEV10M10A[3];
  
  // address: 0x8011A9B8
  // size: 0x3
  static unsigned char NumsLEV10M10B[3];
  
  // address: 0x8011A9BC
  // size: 0x2
  static unsigned char NumsLEV10M10C[2];
  
  // address: 0x8011A9C0
  // size: 0x2
  static unsigned char NumsLEV10M10D[2];
  
  // address: 0x8011A9C4
  // size: 0x3
  static unsigned char NumsLEV10M10QA[3];
  
  // address: 0x8011A9C8
  // size: 0x3
  static unsigned char NumsLEV11M11A[3];
  
  // address: 0x8011A9CC
  // size: 0x3
  static unsigned char NumsLEV11M11B[3];
  
  // address: 0x8011A9D0
  // size: 0x3
  static unsigned char NumsLEV11M11C[3];
  
  // address: 0x8011A9D4
  // size: 0x2
  static unsigned char NumsLEV11M11D[2];
  
  // address: 0x8011A9D8
  // size: 0x2
  static unsigned char NumsLEV11M11E[2];
  
  // address: 0x8011A9DC
  // size: 0x3
  static unsigned char NumsLEV12M12A[3];
  
  // address: 0x8011A9E0
  // size: 0x3
  static unsigned char NumsLEV12M12B[3];
  
  // address: 0x8011A9E4
  // size: 0x3
  static unsigned char NumsLEV12M12C[3];
  
  // address: 0x8011A9E8
  // size: 0x3
  static unsigned char NumsLEV12M12D[3];
  
  // address: 0x8011A9EC
  // size: 0x3
  static unsigned char NumsLEV13M13A[3];
  
  // address: 0x8011A9F0
  // size: 0x2
  static unsigned char NumsLEV13M13B[2];
  
  // address: 0x8011A9F4
  // size: 0x2
  static unsigned char NumsLEV13M13C[2];
  
  // address: 0x8011A9F8
  // size: 0x3
  static unsigned char NumsLEV13M13D[3];
  
  // address: 0x8011A9FC
  // size: 0x3
  static unsigned char NumsLEV13M13QB[3];
  
  // address: 0x8011AA00
  // size: 0x3
  static unsigned char NumsLEV14M14A[3];
  
  // address: 0x8011AA04
  // size: 0x3
  static unsigned char NumsLEV14M14B[3];
  
  // address: 0x8011AA08
  // size: 0x2
  static unsigned char NumsLEV14M14C[2];
  
  // address: 0x8011AA0C
  // size: 0x2
  static unsigned char NumsLEV14M14D[2];
  
  // address: 0x8011AA10
  // size: 0x2
  static unsigned char NumsLEV14M14E[2];
  
  // address: 0x8011AA14
  // size: 0x3
  static unsigned char NumsLEV14M14QB[3];
  
  // address: 0x8011AA18
  // size: 0x2
  static unsigned char NumsLEV15M15A[2];
  
  // address: 0x8011AA1C
  // size: 0x3
  static unsigned char NumsLEV15M15B[3];
  
  // address: 0x8011AA20
  // size: 0x2
  static unsigned char NumsLEV15M15C[2];
  
  // address: 0x8011AA24
  // size: 0x2
  static unsigned char NumsLEV15M15QA[2];
  
  // address: 0x8011AA28
  // size: 0x3
  static unsigned char NumsLEV16M16D[3];
  
  // address: 0x800B6D00
  // size: 0x30
  static struct MonstList ChoiceListLEV1[3];
  
  // address: 0x800B6D30
  // size: 0x60
  static struct MonstList ChoiceListLEV2[6];
  
  // address: 0x800B6D90
  // size: 0x40
  static struct MonstList ChoiceListLEV3[4];
  
  // address: 0x800B6DD0
  // size: 0x70
  static struct MonstList ChoiceListLEV4[7];
  
  // address: 0x800B6E40
  // size: 0x70
  static struct MonstList ChoiceListLEV5[7];
  
  // address: 0x800B6EB0
  // size: 0x60
  static struct MonstList ChoiceListLEV6[6];
  
  // address: 0x800B6F10
  // size: 0x50
  static struct MonstList ChoiceListLEV7[5];
  
  // address: 0x800B6F60
  // size: 0x50
  static struct MonstList ChoiceListLEV8[5];
  
  // address: 0x800B6FB0
  // size: 0x40
  static struct MonstList ChoiceListLEV9[4];
  
  // address: 0x800B6FF0
  // size: 0x50
  static struct MonstList ChoiceListLEV10[5];
  
  // address: 0x800B7040
  // size: 0x50
  static struct MonstList ChoiceListLEV11[5];
  
  // address: 0x800B7090
  // size: 0x40
  static struct MonstList ChoiceListLEV12[4];
  
  // address: 0x800B70D0
  // size: 0x50
  static struct MonstList ChoiceListLEV13[5];
  
  // address: 0x800B7120
  // size: 0x60
  static struct MonstList ChoiceListLEV14[6];
  
  // address: 0x800B7180
  // size: 0x40
  static struct MonstList ChoiceListLEV15[4];
  
  // address: 0x800B71C0
  // size: 0x10
  static struct MonstList ChoiceListLEV16[1];
  
  // address: 0x8011C750
  // size: 0x5C
  static struct TASK *GameTaskPtr;
  
  // address: 0x800B7250
  // size: 0x348
  extern struct LOAD_IMAGE_ARGS AllArgs[30];
  
  // address: 0x8011AC0C
  extern int ArgsSoFar;
  
  // address: 0x8011AC1C
  extern unsigned long *ThisOt;
  
  // address: 0x8011AC20
  // size: 0x28
  extern struct POLY_FT4 *ThisPrimAddr;
  
  // address: 0x8011C754
  static long hndPrimBuffers;
  
  // address: 0x8011C758
  // size: 0x1C
  static struct PRIM_BUFFER *PrimBuffers;
  
  // address: 0x8011C75C
  static unsigned char BufferDepth;
  
  // address: 0x8011C75D
  static unsigned char WorkRamId;
  
  // address: 0x8011C75E
  static unsigned char ScrNum;
  
  // address: 0x8011C760
  // size: 0x70
  static struct SCREEN_ENV *Screens;
  
  // address: 0x8011C764
  // size: 0x1C
  static struct PRIM_BUFFER *PbToClear;
  
  // address: 0x8011C768
  static unsigned char BufferNum;
  
  // address: 0x8011AC24
  // size: 0x28
  extern struct POLY_FT4 *AddrToAvoid;
  
  // address: 0x8011C769
  static unsigned char LastBuffer;
  
  // address: 0x8011C76C
  // size: 0x14
  static struct DISPENV *DispEnvToPut;
  
  // address: 0x8011C770
  static int ThisOtSize;
  
  // address: 0x8011AC28
  // size: 0x8
  static struct RECT ScrRect;
  
  // address: 0x8011C774
  static int VidWait;
  
  // address: 0x8011CC30
  // size: 0xE0
  static struct SCREEN_ENV screen[2];
  
  // address: 0x8011C778
  static void (*VbFunc)();
  
  // address: 0x8011C77C
  static unsigned long VidTick;
  
  // address: 0x8011C780
  static int VXOff;
  
  // address: 0x8011C784
  static int VYOff;
  
  // address: 0x8011AC30
  static bool DBufferFlag;
  
  // address: 0x8011AC40
  // size: 0x20
  extern struct LNK_OPTS *Gaz;
  
  // address: 0x8011AC44
  extern int LastFmem;
  
  // address: 0x8011AC34
  extern unsigned int GSYS_MemStart;
  
  // address: 0x8011AC38
  extern unsigned int GSYS_MemEnd;
  
  // address: 0x800B7598
  // size: 0x28
  static struct MEM_INIT_INFO PsxMem;
  
  // address: 0x800B75C0
  // size: 0x28
  static struct MEM_INIT_INFO PsxFastMem;
  
  // address: 0x8011AC3C
  extern int LowestFmem;
  
  // address: 0x8011AC54
  extern int FileSYS;
  
  // address: 0x8011C788
  // size: 0x14
  static struct FileIO *FileSystem;
  
  // address: 0x8011C78C
  // size: 0x14
  static struct FileIO *OverlayFileSystem;
  
  // address: 0x8011AC64
  extern unsigned long LastAddr;
  
  // address: 0x8011AC7A
  extern short DavesPad;
  
  // address: 0x8011AC7C
  extern short DavesPadDeb;
  
  // address: 0x8011AC80
  // size: 0x8
  extern long PDosh[2];
  
  // address: 0x8011AC74
  extern int DaveDebCount;
  
  // address: 0x800B75E8
  // size: 0x32
  extern char _6FileIO_FileToLoad[50];
  
  // address: 0x800B761C
  // size: 0x10
  extern char STREAM_DIR[16];
  
  // address: 0x800B762C
  // size: 0x10
  extern char STREAM_BIN[16];
  
  // address: 0x800B763C
  // size: 0x190
  extern unsigned char EAC_DirectoryCache[400];
  
  // address: 0x8011ACC8
  extern unsigned long BL_NoLumpFiles;
  
  // address: 0x8011ACCC
  extern unsigned long BL_NoStreamFiles;
  
  // address: 0x8011ACD0
  // size: 0x14
  extern struct STRHDR *LFileTab;
  
  // address: 0x8011ACD4
  // size: 0x14
  extern struct STRHDR *SFileTab;
  
  // address: 0x8011ACD8
  extern unsigned char FileLoaded;
  
  // address: 0x8011ACD9
  extern unsigned char NoQuedAsyncs;
  
  // address: 0x8011ACDA
  extern unsigned char CurrAsync;
  
  // address: 0x8011ACFC
  extern int NoTAllocs;
  
  // address: 0x800B77CC
  // size: 0x1E0
  extern struct MEMSTRUCT MemBlock[60];
  
  // address: 0x8011C790
  static bool CanPause;
  
  // address: 0x8011C794
  static bool Paused;
  
  // address: 0x8011AD0C
  // size: 0x5C
  extern struct TASK *TPtr;
  
  // address: 0x8011CD10
  // size: 0x10
  static struct Dialog PBack;
  
  // address: 0x800B7B84
  // size: 0x22
  extern unsigned char RawPadData0[34];
  
  // address: 0x800B7BA8
  // size: 0x22
  extern unsigned char RawPadData1[34];
  
  // address: 0x800B7BCC
  // size: 0x384
  extern unsigned char demo_buffer[900];
  
  // address: 0x8011AD1C
  extern int demo_pad_time;
  
  // address: 0x8011AD20
  extern int demo_pad_count;
  
  // address: 0x800B79AC
  // size: 0xEC
  extern struct CPad Pad0;
  
  // address: 0x800B7A98
  // size: 0xEC
  extern struct CPad Pad1;
  
  // address: 0x8011AD24
  extern unsigned long demo_finish;
  
  // address: 0x8011AD28
  extern int demo_start;
  
  // address: 0x8011AD2C
  extern int cac_pad;
  
  // address: 0x8011AD4C
  // size: 0x28
  extern struct POLY_FT4 *CharFt4;
  
  // address: 0x8011AD50
  extern int CharFrm;
  
  // address: 0x8011AD39
  extern unsigned char WHITER;
  
  // address: 0x8011AD3A
  extern unsigned char WHITEG;
  
  // address: 0x8011AD3B
  extern unsigned char WHITEB;
  
  // address: 0x8011AD3C
  extern unsigned char BLUER;
  
  // address: 0x8011AD3D
  extern unsigned char BLUEG;
  
  // address: 0x8011AD3E
  extern unsigned char BLUEB;
  
  // address: 0x8011AD3F
  extern unsigned char REDR;
  
  // address: 0x8011AD40
  extern unsigned char REDG;
  
  // address: 0x8011AD41
  extern unsigned char REDB;
  
  // address: 0x8011AD42
  extern unsigned char GOLDR;
  
  // address: 0x8011AD43
  extern unsigned char GOLDG;
  
  // address: 0x8011AD44
  extern unsigned char GOLDB;
  
  // address: 0x800B7F50
  // size: 0x21C
  extern struct CFont MediumFont;
  
  // address: 0x800B816C
  // size: 0x21C
  extern struct CFont LargeFont;
  
  // address: 0x8011AD48
  extern bool buttoncol;
  
  // address: 0x800B8388
  // size: 0x1C8
  extern struct FontItem LFontTab[114];
  
  // address: 0x800B8550
  // size: 0x10
  extern struct FontTab LFont;
  
  // address: 0x800B8560
  // size: 0x1D8
  extern struct FontItem MFontTab[118];
  
  // address: 0x800B8738
  // size: 0x10
  extern struct FontTab MFont;
  
  // address: 0x8011AD65
  extern unsigned char DialogRed;
  
  // address: 0x8011AD66
  extern unsigned char DialogGreen;
  
  // address: 0x8011AD67
  extern unsigned char DialogBlue;
  
  // address: 0x8011AD68
  extern unsigned char DialogTRed;
  
  // address: 0x8011AD69
  extern unsigned char DialogTGreen;
  
  // address: 0x8011AD6A
  extern unsigned char DialogTBlue;
  
  // address: 0x8011AD6C
  // size: 0x70
  extern struct TextDat *DialogTData;
  
  // address: 0x8011AD70
  extern int DialogBackGfx;
  
  // address: 0x8011AD74
  extern int DialogBackW;
  
  // address: 0x8011AD78
  extern int DialogBackH;
  
  // address: 0x8011AD7C
  extern int DialogBorderGfx;
  
  // address: 0x8011AD80
  extern int DialogBorderTLW;
  
  // address: 0x8011AD84
  extern int DialogBorderTLH;
  
  // address: 0x8011AD88
  extern int DialogBorderTRW;
  
  // address: 0x8011AD8C
  extern int DialogBorderTRH;
  
  // address: 0x8011AD90
  extern int DialogBorderBLW;
  
  // address: 0x8011AD94
  extern int DialogBorderBLH;
  
  // address: 0x8011AD98
  extern int DialogBorderBRW;
  
  // address: 0x8011AD9C
  extern int DialogBorderBRH;
  
  // address: 0x8011ADA0
  extern int DialogBorderTW;
  
  // address: 0x8011ADA4
  extern int DialogBorderTH;
  
  // address: 0x8011ADA8
  extern int DialogBorderBW;
  
  // address: 0x8011ADAC
  extern int DialogBorderBH;
  
  // address: 0x8011ADB0
  extern int DialogBorderLW;
  
  // address: 0x8011ADB4
  extern int DialogBorderLH;
  
  // address: 0x8011ADB8
  extern int DialogBorderRW;
  
  // address: 0x8011ADBC
  extern int DialogBorderRH;
  
  // address: 0x8011ADC0
  extern int DialogBevelGfx;
  
  // address: 0x8011ADC4
  extern int DialogBevelCW;
  
  // address: 0x8011ADC8
  extern int DialogBevelCH;
  
  // address: 0x8011ADCC
  extern int DialogBevelLRW;
  
  // address: 0x8011ADD0
  extern int DialogBevelLRH;
  
  // address: 0x8011ADD4
  extern int DialogBevelUDW;
  
  // address: 0x8011ADD8
  extern int DialogBevelUDH;
  
  // address: 0x8011ADDC
  extern int MY_DialogOTpos;
  
  // address: 0x8011C798
  static unsigned char DialogGBack;
  
  // address: 0x8011C799
  static char GShadeX;
  
  // address: 0x8011C79A
  static char GShadeY;
  
  // address: 0x8011C7A0
  // size: 0x8
  static unsigned char RandBTab[8];
  
  // address: 0x800B8788
  // size: 0x70
  extern int Cxy[28];
  
  // address: 0x8011AD5F
  extern unsigned char BORDERR;
  
  // address: 0x8011AD60
  extern unsigned char BORDERG;
  
  // address: 0x8011AD61
  extern unsigned char BORDERB;
  
  // address: 0x8011AD62
  extern unsigned char BACKR;
  
  // address: 0x8011AD63
  extern unsigned char BACKG;
  
  // address: 0x8011AD64
  extern unsigned char BACKB;
  
  // address: 0x800B8748
  // size: 0x40
  static char GShadeTab[64];
  
  // address: 0x8011AD5D
  static char GShadePX;
  
  // address: 0x8011AD5E
  static char GShadePY;
  
  // address: 0x8011ADE9
  extern unsigned char PlayDemoFlag;
  
  // address: 0x8011CD30
  // size: 0xC
  static int dx[3];
  
  // address: 0x8011CD40
  // size: 0xC
  static int dy[3];
  
  // address: 0x8011C7A8
  static bool InfraFlag;
  
  // address: 0x8011C7AC
  static int blockr;
  
  // address: 0x8011C7B0
  static int blockg;
  
  // address: 0x8011C7B4
  static int blockb;
  
  // address: 0x8011AE48
  extern int OldSp;
  
  // address: 0x8011AE4C
  extern int ax;
  
  // address: 0x8011AE50
  extern int ay;
  
  // address: 0x8011AE14
  extern int PosAdj;
  
  // address: 0x8011ADF5
  extern unsigned char P1ObjSelCount;
  
  // address: 0x8011ADF6
  extern unsigned char P2ObjSelCount;
  
  // address: 0x8011ADF7
  extern unsigned char P12ObjSelCount;
  
  // address: 0x8011ADF8
  extern unsigned char P1ItemSelCount;
  
  // address: 0x8011ADF9
  extern unsigned char P2ItemSelCount;
  
  // address: 0x8011ADFA
  extern unsigned char P12ItemSelCount;
  
  // address: 0x8011ADFB
  extern unsigned char P1MonstSelCount;
  
  // address: 0x8011ADFC
  extern unsigned char P2MonstSelCount;
  
  // address: 0x8011ADFD
  extern unsigned char P12MonstSelCount;
  
  // address: 0x8011ADFE
  static unsigned short P1ObjSelCol;
  
  // address: 0x8011AE00
  static unsigned short P2ObjSelCol;
  
  // address: 0x8011AE02
  static unsigned short P12ObjSelCol;
  
  // address: 0x8011AE04
  static unsigned short P1ItemSelCol;
  
  // address: 0x8011AE06
  static unsigned short P2ItemSelCol;
  
  // address: 0x8011AE08
  static unsigned short P12ItemSelCol;
  
  // address: 0x8011AE0A
  static unsigned short P1MonstSelCol;
  
  // address: 0x8011AE0C
  static unsigned short P2MonstSelCol;
  
  // address: 0x8011AE0E
  static unsigned short P12MonstSelCol;
  
  // address: 0x8011AE10
  // size: 0x108
  extern struct CBlocks *CurrentBlocks;
  
  // address: 0x8011AE18
  static int LightMethod;
  
  // address: 0x800B87F8
  // size: 0x14
  extern struct TownToCreature TownConv[10];
  
  // address: 0x8011AE2C
  extern int OtShift;
  
  // address: 0x8011AE30
  extern int OldLighting;
  
  // address: 0x8011AE34
  extern int GMXAdj2;
  
  // address: 0x8011AE38
  extern int GMYAdj2;
  
  // address: 0x8011AE3C
  extern int Adjust;
  
  // address: 0x8011CD50
  // size: 0x28
  static struct POLY_FT4 MyFT4;
  
  // address: 0x800B90CC
  // size: 0x5D0
  extern struct TextDat *AllDats[372];
  
  // address: 0x8011AE84
  extern int TpW;
  
  // address: 0x8011AE88
  extern int TpH;
  
  // address: 0x8011AE8C
  extern int TpXDest;
  
  // address: 0x8011AE90
  extern int TpYDest;
  
  // address: 0x800B969C
  // size: 0x34
  extern struct POLY_GT4 MyGT4;
  
  // address: 0x800B880C
  // size: 0x8C0
  extern struct TextDat DatPool[20];
  
  // address: 0x8011AE78
  extern int wank;
  
  // address: 0x8011AE9C
  // size: 0x4
  extern enum OVER_TYPE CurrentOverlay;
  
  // address: 0x801107C8
  // size: 0xC
  static unsigned long HaltTab[3];
  
  // address: 0x8011CD78
  // size: 0x10
  static struct Overlay FrontEndOver;
  
  // address: 0x8011CD88
  // size: 0x10
  static struct Overlay PregameOver;
  
  // address: 0x8011CD98
  // size: 0x10
  static struct Overlay GameOver;
  
  // address: 0x8011CDA8
  // size: 0x10
  static struct Overlay FmvOver;
  
  // address: 0x8011C7C0
  static int OWorldX;
  
  // address: 0x8011C7C4
  static int OWorldY;
  
  // address: 0x8011C7C8
  static int WWorldX;
  
  // address: 0x8011C7CC
  static int WWorldY;
  
  // address: 0x8011C7D0
  static int TimePerFrame;
  
  // address: 0x8011C7D4
  static int CpuStart;
  
  // address: 0x8011C7D8
  static int CpuTime;
  
  // address: 0x8011C7DC
  static int DrawTime;
  
  // address: 0x8011C7E0
  static int DrawStart;
  
  // address: 0x8011C7E4
  static int LastCpuTime;
  
  // address: 0x8011C7E8
  static int LastDrawTime;
  
  // address: 0x8011C7EC
  static int DrawArea;
  
  // address: 0x8011AEC8
  extern bool ProfOn;
  
  // address: 0x8011090C
  // size: 0x32
  static unsigned short Level2Bgdata[25];
  
  // address: 0x800B96D0
  // size: 0x11
  extern unsigned char LevPals[17];
  
  // address: 0x8011AEE4
  static int CutScreen;
  
  // address: 0x800B96E4
  // size: 0x58
  extern struct PanelXY DefP1PanelXY;
  
  // address: 0x800B973C
  // size: 0x58
  extern struct PanelXY DefP1PanelXY2;
  
  // address: 0x800B9794
  // size: 0x58
  extern struct PanelXY DefP2PanelXY;
  
  // address: 0x800B97EC
  // size: 0x58
  extern struct PanelXY DefP2PanelXY2;
  
  // address: 0x8011AEF4
  extern int hof;
  
  // address: 0x8011AEF8
  extern int mof;
  
  // address: 0x8011AEFC
  static int SpdCol0;
  
  // address: 0x8011AF00
  static int SpdCol1;
  
  // address: 0x8011AF04
  static int SpdCol2;
  
  // address: 0x8011AF08
  static int SpdCol3;
  
  // address: 0x8011AF0C
  static int SpdColInc0;
  
  // address: 0x8011AF10
  static int SpdColInc1;
  
  // address: 0x8011AF14
  static int SpdColInc2;
  
  // address: 0x8011AF18
  static int SpdColInc3;
  
  // address: 0x800B9844
  // size: 0x12
  static unsigned char DurColors[3][6];
  
  // address: 0x800B9858
  // size: 0x108
  extern struct SFXHDR SFXTab[2];
  
  // address: 0x800B9960
  // size: 0x12000
  extern unsigned long STR_Buffer[18432];
  
  // address: 0x8011AF50
  extern unsigned long Time;
  
  // address: 0x8011AF54
  extern bool CDWAIT;
  
  // address: 0x800CB960
  // size: 0x40
  extern struct SpuVoiceAttr voice_attr;
  
  // address: 0x800CB9A0
  // size: 0x84
  extern struct SFXHDR STRSave;
  
  // address: 0x8011C7F0
  static bool SavePause;
  
  // address: 0x8011AF25
  extern char NoActiveStreams;
  
  // address: 0x8011AF28
  static bool STRInit;
  
  // address: 0x8011AF2C
  static int frame_rate;
  
  // address: 0x8011AF30
  static unsigned char CDAngle;
  
  // address: 0x8011AF34
  extern int my_spurate;
  
  // address: 0x8011AF70
  extern char SFXNotPlayed;
  
  // address: 0x8011AF71
  extern char SFXNotInBank;
  
  // address: 0x8011CDB8
  // size: 0x108
  static char spu_management[264];
  
  // address: 0x8011CEC8
  // size: 0x14
  static struct SpuReverbAttr rev_attr;
  
  // address: 0x8011C7F8
  static unsigned short NoSfx;
  
  // address: 0x8011CEE8
  // size: 0x30
  static unsigned short CHStatus[24];
  
  // address: 0x8011AF64
  static long OffsetHandle;
  
  // address: 0x8011AF68
  static int BankBase;
  
  // address: 0x80110B98
  // size: 0x78
  static unsigned short SFXRemapTab[60];
  
  // address: 0x8011AF6C
  static int NoSNDRemaps;
  
  // address: 0x800CBA24
  // size: 0x1EC
  extern struct PalCollection ThePals;
  
  // address: 0x8011AF8C
  extern unsigned short ShadClut;
  
  // address: 0x80110C44
  // size: 0x50
  static struct InitPos InitialPositions[20];
  
  // address: 0x8011AFF0
  extern int demo_level;
  
  // address: 0x8011AFF4
  // size: 0x4
  extern enum GM_SPEEDS speedstore;
  
  // address: 0x8011CF18
  // size: 0x28
  static int buff[10];
  
  // address: 0x8011AFF8
  extern int old_val;
  
  // address: 0x8011AFFC
  // size: 0x5C
  extern struct TASK *DemoTask;
  
  // address: 0x8011B000
  // size: 0x5C
  extern struct TASK *DemoGameTask;
  
  // address: 0x8011B004
  // size: 0x5C
  extern struct TASK *tonys;
  
  // address: 0x8011AFA4
  extern int demo_load;
  
  // address: 0x8011AFA8
  extern int demo_record_load;
  
  // address: 0x8011AFAC
  extern int level_record;
  
  // address: 0x8011AFB0
  extern char demo_fade_finished;
  
  // address: 0x8011AFB1
  extern unsigned char demo_which;
  
  // address: 0x8011AFB4
  // size: 0x5
  extern unsigned char demo_level_num[5];
  
  // address: 0x8011AFBC
  // size: 0x5
  extern unsigned char demo_level_player[5];
  
  // address: 0x8011AFC4
  // size: 0x5
  extern unsigned char demo_level_spell1[5];
  
  // address: 0x8011AFCC
  // size: 0x5
  extern unsigned char demo_level_spell2[5];
  
  // address: 0x8011AFD4
  // size: 0x5
  extern unsigned char demo_level_clothe[5];
  
  // address: 0x8011AFB2
  extern unsigned char quest_cheat_num;
  
  // address: 0x8011AFB3
  extern unsigned char cheat_quest_flag;
  
  // address: 0x8011AF9C
  extern int tony_poll;
  
  // address: 0x8011AFA0
  extern int moo_moo;
  
  // address: 0x8011AFDC
  // size: 0x5
  extern unsigned char demo_level_dam[5];
  
  // address: 0x8011AFE4
  // size: 0x5
  extern unsigned char demo_level_dex[5];
  
  // address: 0x8011AFE9
  extern unsigned char demo_flash;
  
  // address: 0x8011AFEC
  extern int tonys_Task;
  
  // address: 0x8011B168
  extern bool DoShowPanel;
  
  // address: 0x8011B16C
  extern bool DoDrawBg;
  
  // address: 0x8011C7FC
  static bool GlueFinished;
  
  // address: 0x8011C800
  static bool DoHomingScroll;
  
  // address: 0x8011C804
  // size: 0x70
  static struct TextDat *TownerGfx;
  
  // address: 0x8011C808
  static int CurrentMonsterList;
  
  // address: 0x8011C80C
  static int QuakeTime;
  
  // address: 0x8011C810
  static int QuakeAmount;
  
  // address: 0x800CBC10
  // size: 0x3CC
  extern struct PInf PlayerInfo[81];
  
  // address: 0x8011B170
  // size: 0x4
  static char ArmourChar[4];
  
  // address: 0x80110D38
  // size: 0xA
  static char WepChar[10];
  
  // address: 0x8011B174
  // size: 0x4
  static char CharChar[4];
  
  // address: 0x8011B158
  static unsigned char JustLoadedPlayer;
  
  // address: 0x8011B15C
  static bool GameStarted;
  
  // address: 0x8011C814
  static char ctrl_select_line;
  
  // address: 0x8011C815
  static char ctrl_select_side;
  
  // address: 0x8011C816
  static char ckeyheld;
  
  // address: 0x8011C81C
  // size: 0x8
  static struct RECT CtrlRect;
  
  // address: 0x8011B188
  extern unsigned char ctrlflag;
  
  // address: 0x800CC084
  // size: 0x140
  extern struct KEY_ASSIGNS txt_actions[20];
  
  // address: 0x800CBFDC
  // size: 0xA8
  extern struct pad_assigns pad_txt[14];
  
  // address: 0x8011B184
  static int toppos;
  
  // address: 0x8011CF40
  // size: 0x10
  static struct Dialog CtrlBack;
  
  // address: 0x800CC1C4
  // size: 0xA0
  static int AdvancedDefaults[2][20];
  
  // address: 0x800CC264
  // size: 0xA0
  static int BeginnerDefaults[2][20];
  
  // address: 0x8011B1D4
  static bool waitnomore;
  
  // address: 0x8011B218
  extern bool penta_cycle;
  
  // address: 0x8011B200
  extern int gr_scrxoff;
  
  // address: 0x8011B204
  extern int gr_scryoff;
  
  // address: 0x8011B20C
  extern unsigned short water_clut;
  
  // address: 0x8011B210
  extern char visible_level;
  
  // address: 0x8011B1FD
  extern char last_type;
  
  // address: 0x8011B208
  extern unsigned int water_count;
  
  // address: 0x8011B20E
  extern unsigned short penta_clut;
  
  // address: 0x8011B211
  extern char daylight;
  
  // address: 0x8011B214
  extern int daytimer;
  
  // address: 0x8011B228
  static int TitleAnimCount;
  
  // address: 0x8011B22C
  static int flametick;
  
  // address: 0x800CC304
  // size: 0x18
  static int frmlist[6];
  
  // address: 0x800CC31C
  // size: 0x18
  static int xoff[6];
  
  // address: 0x8011B230
  extern int flamecol;
  
  // address: 0x800CC354
  // size: 0x90
  extern struct SPELLFX_DAT SpellFXDat[2];
  
  // address: 0x8011CF50
  // size: 0x240
  static struct Particle PartArray[16];
  
  // address: 0x8011C824
  static int partOtPos;
  
  // address: 0x8011C828
  static int partmonst;
  
  // address: 0x8011B24C
  extern int SetParticle;
  
  // address: 0x8011B250
  static int p1partexecnum;
  
  // address: 0x8011B254
  static int p2partexecnum;
  
  // address: 0x800CC334
  // size: 0x20
  static int JumpArray[8];
  
  // address: 0x8011B258
  static int partjumpflag;
  
  // address: 0x8011B25C
  static int partglowflag;
  
  // address: 0x8011B260
  static int partcolour;
  
  // address: 0x8011B264
  static bool anyfuckingmenus;
  
  // address: 0x8011B285
  extern unsigned char select_flag;
  
  // address: 0x8011C82C
  // size: 0x8
  static struct RECT SelectRect;
  
  // address: 0x8011C834
  static char item_select;
  
  // address: 0x8011B288
  // size: 0x2
  extern char QSpell[2];
  
  // address: 0x8011B28C
  // size: 0x2
  extern char _spltotype[2];
  
  // address: 0x8011B278
  // size: 0x90
  extern struct CPlayer *gplayer;
  
  // address: 0x8011D190
  // size: 0x10
  static struct Dialog SelectBack;
  
  // address: 0x8011B27C
  // size: 0x4
  static char mana_order[4];
  
  // address: 0x8011B280
  // size: 0x5
  static char health_order[5];
  
  // address: 0x8011D1A0
  // size: 0x28
  static struct TextDat *DecRequestors[10];
  
  // address: 0x8011C838
  static unsigned short progress;
  
  // address: 0x800CC3E4
  // size: 0x7C
  extern struct CScreen CutScr;
  
  // address: 0x8011B2A8
  extern bool TitleFlag;
  
  // address: 0x80110E78
  // size: 0x18
  static unsigned short Level2CutScreen[12];
  
  // address: 0x8011B2AC
  // size: 0x5C
  static struct TASK *CutScreenTSK;
  
  // address: 0x8011B2B0
  static bool GameLoading;
  
  // address: 0x8011B2B4
  static bool BootScreen;
  
  // address: 0x8011B2B8
  static int ThisLev;
  
  // address: 0x800CC460
  // size: 0x80
  extern unsigned char block_buf[128];
  
  // address: 0x8011B330
  extern unsigned int card_ev0;
  
  // address: 0x8011B334
  extern unsigned int card_ev1;
  
  // address: 0x8011B338
  extern unsigned int card_ev2;
  
  // address: 0x8011B33C
  extern unsigned int card_ev3;
  
  // address: 0x8011B340
  extern unsigned int card_ev10;
  
  // address: 0x8011B344
  extern unsigned int card_ev11;
  
  // address: 0x8011B348
  extern unsigned int card_ev12;
  
  // address: 0x8011B34C
  extern unsigned int card_ev13;
  
  // address: 0x8011B350
  // size: 0x8
  extern int card_dirty[2];
  
  // address: 0x8011B358
  // size: 0x5C
  extern struct TASK *MemcardTask;
  
  // address: 0x8011B35C
  extern int save_blocks;
  
  // address: 0x8011B360
  extern int card_event;
  
  // address: 0x8011B364
  extern int cardondelay;
  
  // address: 0x8011B368
  // size: 0x8
  extern int card_active[2];
  
  // address: 0x8011B370
  extern char *Savefilename;
  
  // address: 0x8011B374
  extern char *Loadfilename;
  
  // address: 0x8011B378
  // size: 0x8
  extern bool new_card_flag[2];
  
  // address: 0x8011B2DC
  extern void (*mem_card_event_handler)();
  
  // address: 0x8011B2C8
  extern bool MemCardActive;
  
  // address: 0x8011B2EC
  extern bool DoLoadedGame;
  
  // address: 0x8011B2CC
  extern bool MemcardOverlay;
  
  // address: 0x8011B2E0
  extern int saveflag;
  
  // address: 0x8011B2E4
  extern int loadflag;
  
  // address: 0x8011B2E8
  extern int formatflag;
  
  // address: 0x8011B2D4
  extern int countdownloadcharblock;
  
  // address: 0x8011B2F0
  // size: 0x8
  extern int card_side_empty[2];
  
  // address: 0x8011B2F8
  // size: 0x8
  extern int card_side_read[2];
  
  // address: 0x8011B300
  // size: 0x8
  extern int card_side_nogame[2];
  
  // address: 0x8011B308
  // size: 0x8
  extern int card_side_noopt[2];
  
  // address: 0x8011B310
  // size: 0x8
  extern int card_side_nocha[2];
  
  // address: 0x8011B320
  // size: 0x8
  extern int card_side_load[2];
  
  // address: 0x8011B318
  // size: 0x8
  extern int card_side_save[2];
  
  // address: 0x8011B328
  // size: 0x8
  extern int card_side_format[2];
  
  // address: 0x8011B2D0
  extern int NewCardFlag;
  
  // address: 0x8011B2D8
  static int never_hooked_events;
  
  // address: 0x8011B3E0
  extern unsigned long MasterVol;
  
  // address: 0x8011B3E4
  extern unsigned long MusicVol;
  
  // address: 0x8011B3E8
  extern unsigned long SoundVol;
  
  // address: 0x8011B3EC
  extern unsigned long VideoVol;
  
  // address: 0x8011B3F0
  extern unsigned long SpeechVol;
  
  // address: 0x8011C83C
  // size: 0x70
  static struct TextDat *Slider;
  
  // address: 0x8011C840
  static int sw;
  
  // address: 0x8011C844
  static int sx;
  
  // address: 0x8011C848
  static int sy;
  
  // address: 0x8011C84C
  static unsigned char Adjust_addr_8011C84C;
  
  // address: 0x8011C84D
  static unsigned char qspin;
  
  // address: 0x8011C84E
  static unsigned char lqspin;
  
  // address: 0x8011C850
  // size: 0x4
  static enum LANG_TYPE OrigLang;
  
  // address: 0x8011C854
  // size: 0x4
  static enum LANG_TYPE OldLang;
  
  // address: 0x8011C858
  // size: 0x4
  static enum LANG_TYPE NewLang;
  
  // address: 0x8011B3F4
  extern int ReturnMenu;
  
  // address: 0x8011C85C
  // size: 0x8
  static struct RECT ORect;
  
  // address: 0x8011C864
  // size: 0x8
  static char *McState[2];
  
  // address: 0x8011B3F8
  extern int they_pressed;
  
  // address: 0x8011B3B0
  extern bool optionsflag;
  
  // address: 0x8011B3A4
  extern int cmenu;
  
  // address: 0x8011B3B8
  extern int options_pad;
  
  // address: 0x8011B3AC
  extern bool allspellsflag;
  
  // address: 0x800CCF58
  // size: 0x80
  extern short Circle[64];
  
  // address: 0x8011B38C
  extern bool goldcheat;
  
  // address: 0x8011B3BC
  extern int OptionsSeed;
  
  // address: 0x8011B3C0
  extern bool OptionsSetSeed;
  
  // address: 0x8011B3A8
  extern bool CharacterBlockLoaded;
  
  // address: 0x8011B390
  extern unsigned char Qfromoptions;
  
  // address: 0x8011B394
  static int Spacing;
  
  // address: 0x8011B398
  static int cs;
  
  // address: 0x8011B39C
  static int lastcs;
  
  // address: 0x8011B3A0
  static int lastlastcs;
  
  // address: 0x8011B3B4
  extern int ReturnCards;
  
  // address: 0x8011B3C4
  extern bool DiabloDieFlag;
  
  // address: 0x8011B3C8
  extern bool PadFrig;
  
  // address: 0x8011B3CC
  // size: 0x5C
  extern struct TASK *DrawOptionsTask;
  
  // address: 0x800CC4E0
  // size: 0xA8
  extern struct OMENUITEM MainMenu[7];
  
  // address: 0x800CC588
  // size: 0x120
  extern struct OMENUITEM GameMenu[12];
  
  // address: 0x800CC6A8
  // size: 0x60
  extern struct OMENUITEM GameSpeedMenu[4];
  
  // address: 0x800CC708
  // size: 0x48
  extern struct OMENUITEM GameOverMenu[3];
  
  // address: 0x800CC750
  // size: 0x60
  extern struct OMENUITEM MemcardLoadGameOverMenu[4];
  
  // address: 0x800CC7B0
  // size: 0xA8
  extern struct OMENUITEM SoundMenu[7];
  
  // address: 0x800CC858
  // size: 0x48
  extern struct OMENUITEM CentreMenu[3];
  
  // address: 0x800CC8A0
  // size: 0x90
  extern struct OMENUITEM LangMenu[6];
  
  // address: 0x800CC930
  // size: 0x60
  extern struct OMENUITEM QuitMenu[4];
  
  // address: 0x800CC990
  // size: 0x60
  extern struct OMENUITEM AreYouSureMenu[4];
  
  // address: 0x800CC9F0
  // size: 0xA8
  extern struct OMENUITEM MemcardMenu[7];
  
  // address: 0x800CCA98
  // size: 0x60
  extern struct OMENUITEM MemcardLoadGameMenu[4];
  
  // address: 0x800CCAF8
  // size: 0x60
  extern struct OMENUITEM MemcardSaveGameMenu[4];
  
  // address: 0x800CCB58
  // size: 0x60
  extern struct OMENUITEM MemcardSaveOptionsMenu[4];
  
  // address: 0x800CCBB8
  // size: 0x60
  extern struct OMENUITEM MemcardLoadOptionsMenu[4];
  
  // address: 0x800CCC18
  // size: 0x60
  extern struct OMENUITEM MemcardCharacterMenu[4];
  
  // address: 0x800CCC78
  // size: 0xC0
  extern struct OMENUITEM MemcardSelectCard1[8];
  
  // address: 0x800CCD38
  // size: 0xC0
  extern struct OMENUITEM MemcardSelectCard2[8];
  
  // address: 0x800CCDF8
  // size: 0x60
  extern struct OMENUITEM MemcardFormatMenu[4];
  
  // address: 0x800CCE58
  // size: 0x60
  extern struct OMENUITEM SaveConfirmMenu[4];
  
  // address: 0x800CCEB8
  // size: 0xA0
  extern struct OMENULIST MenuList[20];
  
  // address: 0x8011B3D0
  extern int MonoX;
  
  // address: 0x8011B3D4
  static bool debounce;
  
  // address: 0x8011B3D8
  static unsigned char KeyPos;
  
  // address: 0x800CCFD8
  // size: 0x14
  static unsigned short KeyTab[10];
  
  // address: 0x8011B3DC
  extern int old_pad;
  
  // address: 0x800CCFEC
  // size: 0x180
  extern struct BIRDSTRUCT BirdList[16];
  
  // address: 0x8011C86C
  // size: 0x8
  static int last_seenx[2];
  
  // address: 0x8011C874
  // size: 0x8
  static int last_seeny[2];
  
  // address: 0x8011B405
  extern char hop_height;
  
  // address: 0x8011B408
  // size: 0x8
  static struct Perch perches[4];
  
  // address: 0x8011B410
  static bool BirdFrig;
  
  // address: 0x800CD16C
  // size: 0x30
  extern struct FMVDAT FmvTab[6];
  
  // address: 0x8011C87C
  // size: 0x4
  static enum KANJI_FRMS KanjiCacheType;
  
  // address: 0x8011D1C8
  // size: 0x320
  static struct vbuffS KanjiList[200];
  
  // address: 0x8011C880
  // size: 0xC
  static struct ALL_DECOMP_BUFFERS *KanjiBuffers;
  
  // address: 0x8011C884
  // size: 0xC
  static struct FRAME_HDR *KanjiPalFrame;
  
  // address: 0x8011D4E8
  // size: 0x48DA
  static unsigned char KanjiFontData[18650];
  
  // address: 0x8011B42C
  // size: 0x70
  static struct TextDat *KanjiGfxTData;
  
  // address: 0x8011B430
  // size: 0x4
  static struct vbuffS *KanjiCache;
  
  // address: 0x8011B434
  static int CacheLen;
  
  // address: 0x8011B438
  static bool KanjiLoaded;
  
  // address: 0x8011C888
  // size: 0x8
  static struct RECT HelpRect;
  
  // address: 0x8011C890
  static unsigned char HelpTop;
  
  // address: 0x8011C891
  static char help_select_line;
  
  // address: 0x8011B460
  extern bool displayinghelp;
  
  // address: 0x80121DD8
  // size: 0x10
  static struct Dialog HelpBack;
  
  // address: 0x8011B448
  static bool helpflag;
  
  // address: 0x800CD19C
  // size: 0x12C
  static struct HelpStruct HelpList[25];
  
  // address: 0x800CD2C8
  // size: 0x30
  static int AutoSpellList[12];
  
  // address: 0x8011B4CC
  extern int FeBackX;
  
  // address: 0x8011B4D0
  extern int FeBackY;
  
  // address: 0x8011B4D4
  extern int FeBackW;
  
  // address: 0x8011B4D8
  extern int FeBackH;
  
  // address: 0x8011B4DC
  extern unsigned char FeFlag;
  
  // address: 0x800CD7F0
  // size: 0x780
  extern struct FeStruct FeBuffer[80];
  
  // address: 0x8011B4E0
  extern int FePlayerNo;
  
  // address: 0x8011C894
  // size: 0x24
  static struct FE_CREATE *CStruct;
  
  // address: 0x8011B4E4
  extern int FeBufferCount;
  
  // address: 0x8011B4E8
  extern int FeMaxBufferCount;
  
  // address: 0x8011B4EC
  extern int FeNoOfPlayers;
  
  // address: 0x8011B4F0
  // size: 0x2
  extern unsigned char FePadInTab[2];
  
  // address: 0x8011B4F2
  extern unsigned char FePadInFlag;
  
  // address: 0x8011B4F4
  // size: 0x8
  extern int FeChrClass[2];
  
  // address: 0x800CDF70
  // size: 0x16
  extern char FePlayerName[11][2];
  
  // address: 0x8011B4FC
  // size: 0x1C
  extern struct FeTable *FeCurMenu;
  
  // address: 0x8011B500
  extern int FeEnterLang;
  
  // address: 0x8011B504
  // size: 0x2
  extern unsigned char FePlayerNameFlag[2];
  
  // address: 0x8011B508
  extern unsigned long FeCount;
  
  // address: 0x8011B50C
  extern int fileselect;
  
  // address: 0x8011B510
  extern int BookMenu;
  
  // address: 0x8011B514
  extern int FMVPress;
  
  // address: 0x8011B488
  // size: 0x70
  extern struct TextDat *FeTData;
  
  // address: 0x8011B4A0
  extern bool JustQuitQText;
  
  // address: 0x8011B490
  // size: 0x8
  extern bool LoadedChar[2];
  
  // address: 0x8011B48C
  // size: 0x70
  extern struct TextDat *FlameTData;
  
  // address: 0x8011B498
  extern unsigned char FeIsAVirgin;
  
  // address: 0x8011B49C
  extern int FeMenuDelay;
  
  // address: 0x800CD2F8
  // size: 0x1C
  extern struct FeTable DummyMenu;
  
  // address: 0x800CD314
  // size: 0x1C
  extern struct FeTable FeMainMenu;
  
  // address: 0x800CD330
  // size: 0x1C
  extern struct FeTable FeNewGameMenu;
  
  // address: 0x800CD34C
  // size: 0x1C
  extern struct FeTable FeNewP1ClassMenu;
  
  // address: 0x800CD368
  // size: 0x1C
  extern struct FeTable FeNewP1NameMenu;
  
  // address: 0x800CD384
  // size: 0x1C
  extern struct FeTable FeNewP2ClassMenu;
  
  // address: 0x800CD3A0
  // size: 0x1C
  extern struct FeTable FeNewP2NameMenu;
  
  // address: 0x800CD3BC
  // size: 0x1C
  extern struct FeTable FeDifficultyMenu;
  
  // address: 0x800CD3D8
  // size: 0x1C
  extern struct FeTable FeBackgroundMenu;
  
  // address: 0x800CD3F4
  // size: 0x1C
  extern struct FeTable FeBook1Menu;
  
  // address: 0x800CD410
  // size: 0x1C
  extern struct FeTable FeBook2Menu;
  
  // address: 0x800CD42C
  // size: 0x1C
  extern struct FeTable FeLoadCharMenu;
  
  // address: 0x800CD448
  // size: 0x1C
  extern struct FeTable FeLoadChar1Menu;
  
  // address: 0x800CD464
  // size: 0x1C
  extern struct FeTable FeLoadChar2Menu;
  
  // address: 0x8011B4A4
  static int fadeval;
  
  // address: 0x800CD480
  // size: 0x78
  extern struct FeMenuTable FeMainMenuTable[5];
  
  // address: 0x800CD4F8
  // size: 0x48
  extern struct FeMenuTable FeNewGameMenuTable[3];
  
  // address: 0x800CD540
  // size: 0x78
  extern struct FeMenuTable FePlayerClassMenuTable[5];
  
  // address: 0x800CD5B8
  // size: 0x28
  extern unsigned char FeNameEngMenuTable[40];
  
  // address: 0x800CD5E0
  // size: 0x48
  extern struct FeMenuTable FeMemcardMenuTable[3];
  
  // address: 0x800CD628
  // size: 0x60
  extern struct FeMenuTable FeDifficultyMenuTable[4];
  
  // address: 0x800CD688
  // size: 0x60
  extern struct FeMenuTable FeBackgroundMenuTable[4];
  
  // address: 0x800CD6E8
  // size: 0x78
  extern struct FeMenuTable FeBook1MenuTable[5];
  
  // address: 0x800CD760
  // size: 0x90
  extern struct FeMenuTable FeBook2MenuTable[6];
  
  // address: 0x8011B4B0
  static bool DrawBackOn;
  
  // address: 0x8011B4B4
  extern int FeAttractMode;
  
  // address: 0x8011B4B8
  extern int AttractNo;
  
  // address: 0x8011B4BC
  extern unsigned long AttractTitleDelay;
  
  // address: 0x8011B4C0
  extern unsigned long AttractMainDelay;
  
  // address: 0x8011B4C4
  extern int FMVEndPad;
  
  // address: 0x8011B4C8
  static int JustInCredits;
  
  // address: 0x8011B524
  extern int InCredits;
  
  // address: 0x8011B528
  extern int CreditTitleNo;
  
  // address: 0x8011B52C
  extern int CreditSubTitleNo;
  
  // address: 0x8011B544
  // size: 0x8
  extern int card_status[2];
  
  // address: 0x8011B54C
  // size: 0x8
  extern int card_usable[2];
  
  // address: 0x8011B554
  // size: 0x8
  extern int card_files[2];
  
  // address: 0x8011B55C
  // size: 0x8
  extern int card_changed[2];
  
  // address: 0x8011B564
  // size: 0x8
  extern int last_card_status[2];
  
  // address: 0x8011B530
  extern int to_ascii_invalid_char;
  
  // address: 0x8011B543
  extern char dirflag;
  
  // address: 0x8011B5C0
  extern int AlertTxt;
  
  // address: 0x8011B5C4
  extern int StatusTxt;
  
  // address: 0x8011B5C8
  extern int current_card;
  
  // address: 0x8011B5CC
  extern int LoadType;
  
  // address: 0x8011B5D0
  extern int McMenuPos;
  
  // address: 0x8011B5D4
  // size: 0x1C
  extern struct FeTable *McCurMenu;
  
  // address: 0x8011B590
  extern bool fileinfoflag;
  
  // address: 0x8011B578
  extern char *DiabloGameFile;
  
  // address: 0x8011B57C
  extern char *DiabloOptionFile;
  
  // address: 0x8011B580
  extern char *DiabloCharacterFile;
  
  // address: 0x8011B588
  // size: 0x8
  extern char *McState_addr_8011B588[2];
  
  // address: 0x8011B6A8
  // size: 0x8
  extern int mdec_audio_buffer[2];
  
  // address: 0x8011B6B0
  extern int mdec_audio_sec;
  
  // address: 0x8011B6B4
  extern int mdec_audio_offs;
  
  // address: 0x8011B6B8
  extern int mdec_audio_playing;
  
  // address: 0x8011B6BC
  extern int mdec_audio_rate_shift;
  
  // address: 0x8011B6C0
  // size: 0x8
  extern char *vlcbuf[2];
  
  // address: 0x8011B6C8
  extern int slice_size;
  
  // address: 0x8011B6CC
  // size: 0x8
  extern struct RECT slice;
  
  // address: 0x8011B6D4
  extern int slice_inc;
  
  // address: 0x8011B6D8
  extern int area_pw;
  
  // address: 0x8011B6DC
  extern int area_ph;
  
  // address: 0x8011B6E0
  // size: 0x2
  extern char tmdc_pol_dirty[2];
  
  // address: 0x8011B6E4
  // size: 0x8
  extern int num_pol[2];
  
  // address: 0x8011B6EC
  extern int mdec_cx;
  
  // address: 0x8011B6F0
  extern int mdec_cy;
  
  // address: 0x8011B6F4
  extern int mdec_w;
  
  // address: 0x8011B6F8
  extern int mdec_h;
  
  // address: 0x8011B6FC
  // size: 0x8
  extern int mdec_pw[2];
  
  // address: 0x8011B704
  // size: 0x8
  extern int mdec_ph[2];
  
  // address: 0x8011B70C
  extern int move_x;
  
  // address: 0x8011B710
  extern int move_y;
  
  // address: 0x8011B714
  extern int move_scale;
  
  // address: 0x8011B718
  extern int stream_frames;
  
  // address: 0x8011B71C
  extern int last_stream_frame;
  
  // address: 0x8011B720
  extern int mdec_framecount;
  
  // address: 0x8011B724
  extern int mdec_speed;
  
  // address: 0x8011B728
  extern int mdec_stream_starting;
  
  // address: 0x8011B72C
  extern int mdec_last_frame;
  
  // address: 0x8011B730
  extern int mdec_sectors_per_frame;
  
  // address: 0x8011B734
  extern unsigned short *vlctab;
  
  // address: 0x8011B738
  extern unsigned char *mdc_buftop;
  
  // address: 0x8011B73C
  extern unsigned char *mdc_bufstart;
  
  // address: 0x8011B740
  extern int mdc_bufleft;
  
  // address: 0x8011B744
  extern int mdc_buftotal;
  
  // address: 0x8011B748
  extern int ordertab_length;
  
  // address: 0x8011B74C
  extern int time_in_frames;
  
  // address: 0x80121E38
  // size: 0x20
  static char FMVName[32];
  
  // address: 0x8011B750
  extern int stream_chunksize;
  
  // address: 0x8011B754
  extern int stream_bufsize;
  
  // address: 0x8011B758
  extern int stream_subsec;
  
  // address: 0x8011B75C
  extern int stream_secnum;
  
  // address: 0x8011B760
  extern int stream_last_sector;
  
  // address: 0x8011B764
  extern int stream_startsec;
  
  // address: 0x8011B768
  extern int stream_opened;
  
  // address: 0x8011B76C
  extern int stream_last_chunk;
  
  // address: 0x8011B770
  extern int stream_got_chunks;
  
  // address: 0x8011B774
  extern int stream_subcode;
  
  // address: 0x8011B778
  extern int streampos;
  
  // address: 0x8011B77C
  extern int last_sector;
  
  // address: 0x8011B780
  extern int cdstream_resetsec;
  
  // address: 0x8011B784
  extern int last_handler_event;
  
  // address: 0x80121E58
  // size: 0x30
  static int CreateEnv[12];
  
  // address: 0x8011C8A4
  static char *Passedfilename;
  
  // address: 0x8011C8A8
  static int Passedw;
  
  // address: 0x8011C8AC
  static int Passedh;
  
  // address: 0x80121E88
  // size: 0xC800
  static unsigned char TempStack[51200];
  
  // address: 0x8011B64C
  extern bool user_start;
  
  // address: 0x8011B5E4
  extern unsigned char *vlc_tab;
  
  // address: 0x8011B5E8
  extern unsigned char *vlc_buf;
  
  // address: 0x8011B5EC
  extern unsigned char *img_buf;
  
  // address: 0x8011B5F0
  extern int vbuf;
  
  // address: 0x8011B5F4
  extern int last_fn;
  
  // address: 0x8011B5F8
  extern int last_mdc;
  
  // address: 0x8011B5FC
  extern int slnum;
  
  // address: 0x8011B600
  extern int slices_to_do;
  
  // address: 0x8011B604
  extern int mbuf;
  
  // address: 0x8011B608
  extern int mfn;
  
  // address: 0x8011B60C
  extern int last_move_mbuf;
  
  // address: 0x8011B610
  extern int move_request;
  
  // address: 0x8011B614
  extern int mdec_scale;
  
  // address: 0x8011B618
  extern int do_brightness;
  
  // address: 0x8011B61C
  extern int frame_decoded;
  
  // address: 0x8011B620
  extern int mdec_streaming;
  
  // address: 0x8011B624
  extern int mdec_stream_size;
  
  // address: 0x8011B628
  extern int first_stream_frame;
  
  // address: 0x8011B62C
  extern int stream_frames_played;
  
  // address: 0x8011B630
  extern int num_mdcs;
  
  // address: 0x8011B634
  extern int mdec_head;
  
  // address: 0x8011B638
  extern int mdec_tail;
  
  // address: 0x8011B63C
  extern int mdec_waiting_tail;
  
  // address: 0x8011B640
  extern int mdecs_queued;
  
  // address: 0x8011B644
  extern int mdecs_waiting;
  
  // address: 0x8011B648
  extern int sfx_volume;
  
  // address: 0x8011B650
  static unsigned char DiabEnd;
  
  // address: 0x8011B654
  // size: 0x4
  extern int (*stream_buf)[504];
  
  // address: 0x8011B658
  // size: 0x20
  extern struct strheader *stream_bufh;
  
  // address: 0x8011B65C
  extern int stream_chunks_in;
  
  // address: 0x8011B660
  extern int stream_chunks_total;
  
  // address: 0x8011B664
  extern int stream_in;
  
  // address: 0x8011B668
  extern int stream_out;
  
  // address: 0x8011B66C
  extern int stream_stalled;
  
  // address: 0x8011B670
  extern int stream_ending;
  
  // address: 0x8011B674
  extern int stream_open;
  
  // address: 0x8011B678
  extern int stream_handler_installed;
  
  // address: 0x8011B67C
  extern int stream_chunks_borrowed;
  
  // address: 0x8011B680
  extern int _get_count;
  
  // address: 0x8011B684
  extern int _discard_count;
  
  // address: 0x8011B688
  extern void (*old_cdready_handler)();
  
  // address: 0x8011B68C
  extern int cdready_calls;
  
  // address: 0x8011B690
  extern int cdready_errors;
  
  // address: 0x8011B694
  extern int cdready_out_of_sync;
  
  // address: 0x8011B698
  extern int cdstream_resetting;
  
  // address: 0x8011B69C
  extern int sector_dma;
  
  // address: 0x8011B6A0
  extern int sector_dma_in;
  
  // address: 0x8011B6A4
  extern int first_handler_event;
  
  // address: 0x8011B814
  extern unsigned char *pStatusPanel;
  
  // address: 0x8011B818
  extern unsigned char *pGBoxBuff;
  
  // address: 0x8011B81C
  extern unsigned char dropGoldFlag;
  
  // address: 0x8011B820
  // size: 0x2
  extern unsigned char _pinfoflag[2];
  
  // address: 0x800CE488
  // size: 0x200
  extern char _infostr[256][2];
  
  // address: 0x8011B824
  // size: 0x2
  extern char _infoclr[2];
  
  // address: 0x800CE688
  // size: 0x100
  extern char tempstr[256];
  
  // address: 0x8011B826
  extern unsigned char drawhpflag;
  
  // address: 0x8011B827
  extern unsigned char drawmanaflag;
  
  // address: 0x8011B828
  extern unsigned char chrflag;
  
  // address: 0x8011B829
  extern unsigned char drawbtnflag;
  
  // address: 0x8011B82A
  extern unsigned char panbtndown;
  
  // address: 0x8011B82B
  extern unsigned char panelflag;
  
  // address: 0x8011B82C
  extern unsigned char chrbtndown;
  
  // address: 0x8011B82D
  extern unsigned char lvlbtndown;
  
  // address: 0x8011B82E
  extern unsigned char sbookflag;
  
  // address: 0x8011B82F
  extern unsigned char talkflag;
  
  // address: 0x8011B830
  extern int dropGoldValue;
  
  // address: 0x8011B834
  extern int initialDropGoldValue;
  
  // address: 0x8011B838
  extern int initialDropGoldIndex;
  
  // address: 0x8011B83C
  extern unsigned char *pPanelButtons;
  
  // address: 0x8011B840
  extern unsigned char *pPanelText;
  
  // address: 0x8011B844
  extern unsigned char *pManaBuff;
  
  // address: 0x8011B848
  extern unsigned char *pLifeBuff;
  
  // address: 0x8011B84C
  extern unsigned char *pChrPanel;
  
  // address: 0x8011B850
  extern unsigned char *pChrButtons;
  
  // address: 0x8011B854
  extern unsigned char *pSpellCels;
  
  // address: 0x8012E688
  // size: 0x500
  static char _panelstr[64][10][2];
  
  // address: 0x8012EB88
  // size: 0x50
  static int _pstrjust[10][2];
  
  // address: 0x8011C8B0
  // size: 0x8
  static int _pnumlines[2];
  
  // address: 0x8011B858
  // size: 0x8
  extern struct RECT *InfoBoxRect;
  
  // address: 0x8011B85C
  // size: 0x8
  extern struct RECT CSRect;
  
  // address: 0x8011C8C0
  // size: 0x8
  static int _pSpell[2];
  
  // address: 0x8011C8C8
  // size: 0x8
  static int _pSplType[2];
  
  // address: 0x8011B864
  extern int numpanbtns;
  
  // address: 0x8011B868
  extern unsigned char *pDurIcons;
  
  // address: 0x8011B86C
  extern unsigned char drawdurflag;
  
  // address: 0x8011C8D0
  // size: 0x8
  static unsigned char chrbtn[4][2];
  
  // address: 0x8011B86D
  extern unsigned char chrbtnactive;
  
  // address: 0x8011B870
  extern unsigned char *pSpellBkCel;
  
  // address: 0x8011B874
  extern unsigned char *pSBkBtnCel;
  
  // address: 0x8011B878
  extern unsigned char *pSBkIconCels;
  
  // address: 0x8011B87C
  extern int sbooktab;
  
  // address: 0x8011B880
  // size: 0x8
  extern int cur_spel[2];
  
  // address: 0x8011C8D8
  // size: 0x8
  static int my_cur_spel[2];
  
  // address: 0x8011C8E0
  static long talkofs;
  
  // address: 0x8012EBE8
  // size: 0x50
  static char sgszTalkMsg[80];
  
  // address: 0x8011C8E4
  static unsigned char sgbTalkSavePos;
  
  // address: 0x8011C8E5
  static unsigned char sgbNextTalkSave;
  
  // address: 0x8011C8E6
  // size: 0x2
  static unsigned char sgbPlrTalkTbl[2];
  
  // address: 0x8011C8E8
  static unsigned char *pTalkPanel;
  
  // address: 0x8011C8EC
  static unsigned char *pMultiBtns;
  
  // address: 0x8011C8F0
  static unsigned char *pTalkBtns;
  
  // address: 0x8011C8F4
  // size: 0x3
  static unsigned char talkbtndown[3];
  
  // address: 0x800CDF9C
  // size: 0x25
  extern char SpellITbl[37];
  
  // address: 0x8011B791
  extern unsigned char DrawLevelUpFlag;
  
  // address: 0x8011B7B8
  // size: 0x8
  extern struct TASK *_spselflag[2];
  
  // address: 0x8011B7B4
  extern unsigned char spspelstate;
  
  // address: 0x8011B7D4
  extern bool initchr;
  
  // address: 0x8011B794
  static int SPLICONNO;
  
  // address: 0x8011B798
  static int SPLICONY;
  
  // address: 0x8011C8B8
  static int SPLICONRIGHT;
  
  // address: 0x8011B79C
  static int scx;
  
  // address: 0x8011B7A0
  static int scy;
  
  // address: 0x8011B7A4
  static int scx1;
  
  // address: 0x8011B7A8
  static int scy1;
  
  // address: 0x8011B7AC
  static int scx2;
  
  // address: 0x8011B7B0
  static int scy2;
  
  // address: 0x8011B7C0
  extern char SpellCol;
  
  // address: 0x800CDF88
  // size: 0x12
  extern unsigned char SpellColors[18];
  
  // address: 0x800CDFC4
  // size: 0x64
  extern int SpellPages[5][5];
  
  // address: 0x8011B7C4
  static int lus;
  
  // address: 0x8011B7C8
  static int CsNo;
  
  // address: 0x8011B7CC
  static char plusanim;
  
  // address: 0x8012EBD8
  // size: 0x10
  static struct Dialog CSBack;
  
  // address: 0x8011B7D0
  static int CS_XOFF;
  
  // address: 0x800CE028
  // size: 0x460
  extern struct CSDATA CS_Tab[28];
  
  // address: 0x8011B7D8
  extern int NoCSEntries;
  
  // address: 0x8011B7DC
  static int SPALOFF;
  
  // address: 0x8011B7E0
  static int paloffset1;
  
  // address: 0x8011B7E4
  static int paloffset2;
  
  // address: 0x8011B7E8
  static int paloffset3;
  
  // address: 0x8011B7EC
  static int paloffset4;
  
  // address: 0x8011B7F0
  static int pinc1;
  
  // address: 0x8011B7F4
  static int pinc2;
  
  // address: 0x8011B7F8
  static int pinc3;
  
  // address: 0x8011B7FC
  static int pinc4;
  
  // address: 0x8011B808
  // size: 0x2
  static unsigned char CrossCount[2];
  
  // address: 0x8011B898
  // size: 0x8
  extern int _pcurs[2];
  
  // address: 0x8011B8A0
  extern int cursW;
  
  // address: 0x8011B8A4
  extern int cursH;
  
  // address: 0x8011B8A8
  extern int icursW;
  
  // address: 0x8011B8AC
  extern int icursH;
  
  // address: 0x8011B8B0
  extern int icursW28;
  
  // address: 0x8011B8B4
  extern int icursH28;
  
  // address: 0x8011B8B8
  extern int cursmx;
  
  // address: 0x8011B8BC
  extern int cursmy;
  
  // address: 0x8011B8C0
  // size: 0x8
  extern int _pcursmonst[2];
  
  // address: 0x8011B8C8
  // size: 0x2
  extern char _pcursobj[2];
  
  // address: 0x8011B8CC
  // size: 0x2
  extern char _pcursitem[2];
  
  // address: 0x8011B8D0
  // size: 0x2
  extern char _pcursinvitem[2];
  
  // address: 0x8011B8D4
  // size: 0x2
  extern char _pcursplr[2];
  
  // address: 0x8011B894
  extern int sel_data;
  
  // address: 0x800CE788
  // size: 0x174
  extern struct DeadStruct dead[31];
  
  // address: 0x8011B8D8
  extern int spurtndx;
  
  // address: 0x8011B8DC
  extern int stonendx;
  
  // address: 0x8011B8E0
  extern unsigned char *pSquareCel;
  
  // address: 0x8011B948
  extern unsigned char svgamode;
  
  // address: 0x8011B94C
  extern int MouseX;
  
  // address: 0x8011B950
  extern int MouseY;
  
  // address: 0x8011B954
  extern long gv1;
  
  // address: 0x8011B958
  extern long gv2;
  
  // address: 0x8011B95C
  extern long gv3;
  
  // address: 0x8011B960
  extern long gv4;
  
  // address: 0x8011B964
  extern long gv5;
  
  // address: 0x8011B968
  extern unsigned char gbProcessPlayers;
  
  // address: 0x800CE8FC
  // size: 0x28
  extern int DebugMonsters[10];
  
  // address: 0x800CE924
  // size: 0xAB0
  extern unsigned char pMegaTiles[2736];
  
  // address: 0x800CF3D4
  // size: 0x44
  extern unsigned long glSeedTbl[17];
  
  // address: 0x800CF418
  // size: 0x44
  extern int gnLevelTypeTbl[17];
  
  // address: 0x8011B969
  extern unsigned char gbDoEnding;
  
  // address: 0x8011B96A
  extern unsigned char gbRunGame;
  
  // address: 0x8011B96B
  extern unsigned char gbRunGameResult;
  
  // address: 0x8011B96C
  extern unsigned char gbGameLoopStartup;
  
  // address: 0x8012EC38
  // size: 0x44
  static int glEndSeed[17];
  
  // address: 0x8012EC88
  // size: 0x44
  static int glMid1Seed[17];
  
  // address: 0x8012ECD8
  // size: 0x44
  static int glMid2Seed[17];
  
  // address: 0x8012ED28
  // size: 0x44
  static int glMid3Seed[17];
  
  // address: 0x8011C8F8
  static long *sg_previousFilter;
  
  // address: 0x8012ED78
  // size: 0x30
  static int CreateEnv_addr_8012ED78[12];
  
  // address: 0x8011C8FC
  static int Passedlvldir;
  
  // address: 0x8011C900
  static unsigned char *TempStack_addr_8011C900;
  
  // address: 0x8011C904
  static bool pauseo;
  
  // address: 0x8011B8F0
  extern unsigned long ghMainWnd;
  
  // address: 0x8011B8F4
  extern unsigned char fullscreen;
  
  // address: 0x8011B8F8
  extern int force_redraw;
  
  // address: 0x8011B90C
  extern unsigned char PauseMode;
  
  // address: 0x8011B90D
  extern unsigned char FriendlyMode;
  
  // address: 0x8011B8FD
  extern unsigned char visiondebug;
  
  // address: 0x8011B8FF
  extern unsigned char light4flag;
  
  // address: 0x8011B900
  extern unsigned char leveldebug;
  
  // address: 0x8011B901
  extern unsigned char monstdebug;
  
  // address: 0x8011B908
  extern int debugmonsttypes;
  
  // address: 0x8011B8FC
  static unsigned char cineflag;
  
  // address: 0x8011B8FE
  extern unsigned char scrollflag;
  
  // address: 0x8011B902
  extern unsigned char trigdebug;
  
  // address: 0x8011B904
  extern int setseed;
  
  // address: 0x8011B910
  static int sgnTimeoutCurs;
  
  // address: 0x8011B914
  extern unsigned char sgbMouseDown;
  
  // address: 0x8011B940
  extern int LastFrCount;
  
  // address: 0x8011B944
  // size: 0x4
  extern enum GM_SPEEDS GameSpeed;
  
  // address: 0x800CFAF8
  // size: 0xC40
  extern struct TownerStruct towner[16];
  
  // address: 0x8011B984
  extern int numtowners;
  
  // address: 0x8011B988
  extern unsigned char storeflag;
  
  // address: 0x8011B989
  extern unsigned char boyloadflag;
  
  // address: 0x8011B98A
  extern unsigned char bannerflag;
  
  // address: 0x8011B98C
  extern unsigned char *pCowCels;
  
  // address: 0x8011C908
  static unsigned long sgdwCowClicks;
  
  // address: 0x8011C90C
  static int sgnCowMsg;
  
  // address: 0x800CF838
  // size: 0x2C0
  extern int Qtalklist[16][11];
  
  // address: 0x8011B97C
  extern unsigned long CowPlaying;
  
  // address: 0x800CF45C
  // size: 0x378
  extern char AnimOrder[148][6];
  
  // address: 0x800CF7D4
  // size: 0xC
  extern int TownCowX[3];
  
  // address: 0x800CF7E0
  // size: 0xC
  extern int TownCowY[3];
  
  // address: 0x800CF7EC
  // size: 0xC
  extern int TownCowDir[3];
  
  // address: 0x800CF7F8
  // size: 0x20
  extern int cowoffx[8];
  
  // address: 0x800CF818
  // size: 0x20
  extern int cowoffy[8];
  
  // address: 0x8011B9B8
  extern int sfxdelay;
  
  // address: 0x8011B9BC
  extern int sfxdnum;
  
  // address: 0x8011B99C
  // size: 0x84
  extern struct SFXHDR *sghStream;
  
  // address: 0x800D0738
  // size: 0xF80
  extern struct TSFX sgSFX[992];
  
  // address: 0x8011B9A0
  // size: 0x4
  extern struct TSFX *sgpStreamSFX;
  
  // address: 0x8011B9A4
  static int SFXX;
  
  // address: 0x8011B9A8
  static int SFXY;
  
  // address: 0x8011B9AC
  static int SFXW;
  
  // address: 0x8011B9B0
  static int SFXH;
  
  // address: 0x8011B9B4
  extern int mypan;
  
  // address: 0x8011B9C0
  extern long orgseed;
  
  // address: 0x8011C910
  static long sglGameSeed;
  
  // address: 0x8011B9C4
  extern int SeedCount;
  
  // address: 0x8011C914
  // size: 0x4
  static struct CCritSect sgMemCrit;
  
  // address: 0x8011C918
  static int sgnWidth;
  
  // address: 0x8011B9D3
  extern char msgflag;
  
  // address: 0x8011B9D4
  extern char msgdelay;
  
  // address: 0x800D1768
  // size: 0x50
  extern char msgtable[80];
  
  // address: 0x800D16B8
  // size: 0xB0
  extern int MsgStrings[44];
  
  // address: 0x8011B9D1
  extern char msgholdflag;
  
  // address: 0x8011B9D2
  extern char msgcnt;
  
  // address: 0x8011C91C
  static unsigned long sgdwProgress;
  
  // address: 0x8011C920
  static unsigned long sgdwXY;
  
  // address: 0x800D17B8
  // size: 0x9D
  extern unsigned char AllItemsUseable[157];
  
  // address: 0x8011154C
  // size: 0x13A0
  extern struct ItemDataStruct AllItemsList[157];
  
  // address: 0x801128EC
  // size: 0xD20
  extern struct PLStruct PL_Prefix[84];
  
  // address: 0x8011360C
  // size: 0xF00
  extern struct PLStruct PL_Suffix[96];
  
  // address: 0x8011450C
  // size: 0x1DDC
  extern struct UItemStruct UniqueItemList[91];
  
  // address: 0x800D19CC
  // size: 0x3600
  extern struct ItemStruct item[128];
  
  // address: 0x800D4FCC
  // size: 0x7F
  extern char itemactive[127];
  
  // address: 0x800D504C
  // size: 0x7F
  extern char itemavail[127];
  
  // address: 0x800D50CC
  // size: 0x80
  extern unsigned char UniqueItemFlag[128];
  
  // address: 0x8011BA28
  extern unsigned char uitemflag;
  
  // address: 0x8011C924
  static int tem;
  
  // address: 0x8012EDA8
  // size: 0x6C
  static struct ItemStruct curruitem;
  
  // address: 0x8012EE18
  // size: 0x9
  static unsigned char itemhold[3][3];
  
  // address: 0x8012EE28
  // size: 0x7F
  static char itemactivelist[127];
  
  // address: 0x8011BA2C
  extern int ScrollType;
  
  // address: 0x800D514C
  // size: 0x80
  extern char OutStr[128];
  
  // address: 0x8011BA30
  // size: 0x20
  extern struct ItemDataStruct *itemsave;
  
  // address: 0x8011B9F0
  extern long numitems;
  
  // address: 0x8011B9F4
  extern int gnNumGetRecords;
  
  // address: 0x800D1928
  // size: 0x8C
  extern int ItemInvSnds[35];
  
  // address: 0x800D1858
  // size: 0xA9
  extern unsigned char ItemCAnimTbl[169];
  
  // address: 0x80116320
  // size: 0x40
  extern short SinTab[32];
  
  // address: 0x8011636C
  // size: 0x46
  static short Item2Frm[35];
  
  // address: 0x800D1904
  // size: 0x23
  extern unsigned char ItemAnimLs[35];
  
  // address: 0x8011B9F8
  extern int *ItemAnimSnds;
  
  // address: 0x8011B9FC
  extern int idoppely;
  
  // address: 0x8011BA00
  // size: 0x8
  extern int ScrollFlag[2];
  
  // address: 0x800D19B4
  // size: 0x18
  extern int premiumlvladd[6];
  
  // address: 0x8011BA24
  extern bool FIRSTTIME;
  
  // address: 0x800D5F78
  // size: 0x280
  extern struct LightListStruct2 LightList[80];
  
  // address: 0x800D61F8
  // size: 0x50
  extern unsigned char lightactive[80];
  
  // address: 0x8011BA60
  extern int numlights;
  
  // address: 0x8011BA64
  extern char lightmax;
  
  // address: 0x800D6248
  // size: 0x1C0
  extern struct LightListStruct VisionList[32];
  
  // address: 0x8011BA68
  extern int numvision;
  
  // address: 0x8011BA6C
  extern unsigned char dovision;
  
  // address: 0x8011BA70
  extern int visionid;
  
  // address: 0x8011C928
  static int disp_mask;
  
  // address: 0x8011C92C
  static int weird;
  
  // address: 0x8011C930
  static int disp_tab_r;
  
  // address: 0x8011C934
  static int dispy_r;
  
  // address: 0x8011C938
  static int disp_tab_g;
  
  // address: 0x8011C93C
  static int dispy_g;
  
  // address: 0x8011C940
  static int disp_tab_b;
  
  // address: 0x8011C944
  static int dispy_b;
  
  // address: 0x8011C948
  static int radius;
  
  // address: 0x8011C94C
  static int bright;
  
  // address: 0x8011C950
  static int max_bright;
  
  // address: 0x8012EEA8
  // size: 0x80
  static unsigned char mult_tab[128];
  
  // address: 0x800D5C8C
  // size: 0x2B2
  extern unsigned char vCrawlTable[30][23];
  
  // address: 0x800D5F40
  // size: 0x17
  extern unsigned char RadiusAdj[23];
  
  // address: 0x800D51CC
  // size: 0xABD
  extern char CrawlTable[2749];
  
  // address: 0x8011BA44
  extern int restore_r;
  
  // address: 0x8011BA48
  extern int restore_g;
  
  // address: 0x8011BA4C
  extern int restore_b;
  
  // address: 0x8011BA50
  // size: 0x5
  extern char light_level[5];
  
  // address: 0x8011BA58
  // size: 0x5
  extern char level_lamp[5];
  
  // address: 0x8011BA40
  extern int weird_cheat;
  
  // address: 0x800D5F58
  // size: 0x10
  static char radius_tab[16];
  
  // address: 0x800D5F68
  // size: 0x10
  static char bright_tab[16];
  
  // address: 0x8011BAAC
  extern unsigned char qtextflag;
  
  // address: 0x8011BAB0
  extern int qtextSpd;
  
  // address: 0x8011C954
  static unsigned char *pMedTextCels;
  
  // address: 0x8011C958
  static unsigned char *pTextBoxCels;
  
  // address: 0x8011C95C
  static char *qtextptr;
  
  // address: 0x8011C960
  static int qtexty;
  
  // address: 0x8011C964
  static unsigned long qtextDelay;
  
  // address: 0x8011C968
  static unsigned long sgLastScroll;
  
  // address: 0x8011C96C
  static unsigned long scrolltexty;
  
  // address: 0x800D6418
  // size: 0x50
  extern char MtPrevText[80];
  
  // address: 0x8011C970
  static int TextNum;
  
  // address: 0x8011C974
  static bool qtextonflag;
  
  // address: 0x8011BA80
  static bool qtbodge;
  
  // address: 0x800D6408
  // size: 0x10
  extern struct Dialog QBack;
  
  // address: 0x8011BA84
  static int textadj;
  
  // address: 0x8011BA88
  static int fetextadj;
  
  // address: 0x8011BA8C
  static char FadeState;
  
  // address: 0x8011BA90
  static bool MusicFading;
  
  // address: 0x8011BA94
  static int iBookName;
  
  // address: 0x8011BAA0
  extern int mytx;
  
  // address: 0x8011BAA4
  extern int myty;
  
  // address: 0x8011BAA8
  extern int TextWait;
  
  // address: 0x800D6468
  // size: 0x660
  extern struct MissileData missiledata[68];
  
  // address: 0x800D6BD8
  // size: 0xEB
  extern struct MisFileData misfiledata[47];
  
  // address: 0x800D6AC8
  // size: 0x110
  extern void (*MissPrintRoutines[68])();
  
  // address: 0x800D6E34
  // size: 0x1130
  extern struct LocalLevel sgLocals[22];
  
  // address: 0x8012EF28
  // size: 0x20
  static struct DJunk sgJunk;
  
  // address: 0x8011C979
  static unsigned char sgbRecvCmd;
  
  // address: 0x8011C97C
  static unsigned long sgdwRecvOffset;
  
  // address: 0x8011C980
  static unsigned char sgbDeltaChunks;
  
  // address: 0x8011C981
  static unsigned char sgbDeltaChanged;
  
  // address: 0x8011C984
  static unsigned long sgdwOwnerWait;
  
  // address: 0x8011C988
  // size: 0x7D08
  static struct TMegaPkt *sgpMegaPkt;
  
  // address: 0x8011C98C
  // size: 0x7D08
  static struct TMegaPkt *sgpCurrPkt;
  
  // address: 0x8011C990
  static int sgnCurrMegaPlayer;
  
  // address: 0x8011BAC9
  extern unsigned char deltaload;
  
  // address: 0x8011BACA
  extern unsigned char gbBufferMsgs;
  
  // address: 0x8011BACC
  // size: 0x4
  extern struct NoComp CompNoComp;
  
  // address: 0x8011BAD0
  // size: 0x4
  extern struct PakComp CompPakComp;
  
  // address: 0x8011BAD4
  // size: 0x4
  extern struct CrunchComp CompCrunchComp;
  
  // address: 0x800D6CC4
  // size: 0x170
  extern struct CompLevelMaps GameMaps;
  
  // address: 0x8011BAD8
  extern unsigned long dwRecCount;
  
  // address: 0x8011BAEE
  extern unsigned char gbMaxPlayers;
  
  // address: 0x8011BAEF
  extern unsigned char gbActivePlayers;
  
  // address: 0x8011BAF0
  extern unsigned char gbGameDestroyed;
  
  // address: 0x8011BAF1
  extern unsigned char gbDeltaSender;
  
  // address: 0x8011BAF2
  extern unsigned char gbSelectProvider;
  
  // address: 0x8011BAF3
  extern unsigned char gbSomebodyWonGameKludge;
  
  // address: 0x8011C994
  static unsigned char sgbSentThisCycle;
  
  // address: 0x8011C998
  static unsigned long sgdwGameLoops;
  
  // address: 0x8011C99C
  // size: 0x4
  static unsigned short sgwPackPlrOffsetTbl[2];
  
  // address: 0x8011C9A0
  // size: 0x2
  static unsigned char sgbPlayerLeftGameTbl[2];
  
  // address: 0x8011C9A4
  // size: 0x8
  static unsigned long sgdwPlayerLeftReasonTbl[2];
  
  // address: 0x8011C9AC
  // size: 0x2
  static unsigned char sgbSendDeltaTbl[2];
  
  // address: 0x8011C9B4
  // size: 0x8
  static struct _gamedata sgGameInitInfo;
  
  // address: 0x8011C9BC
  static unsigned char sgbTimeout;
  
  // address: 0x8011C9C0
  static long sglTimeoutStart;
  
  // address: 0x8011BAE8
  // size: 0x5
  extern char gszVersionNumber[5];
  
  // address: 0x8011BAED
  static unsigned char sgbNetInited;
  
  // address: 0x800D7F64
  // size: 0x1C4
  extern int ObjTypeConv[113];
  
  // address: 0x800D8128
  // size: 0x6F6
  extern struct ObjDataStruct AllObjects[99];
  
  // address: 0x80116B68
  // size: 0xE0
  extern struct OBJ_LOAD_INFO ObjMasterLoadList[56];
  
  // address: 0x800D88C4
  // size: 0x15D4
  extern struct ObjectStruct object[127];
  
  // address: 0x8011BB18
  extern long numobjects;
  
  // address: 0x800D9E98
  // size: 0x7F
  extern char objectactive[127];
  
  // address: 0x800D9F18
  // size: 0x7F
  extern char objectavail[127];
  
  // address: 0x8011BB1C
  extern unsigned char InitObjFlag;
  
  // address: 0x8011BB20
  extern int trapid;
  
  // address: 0x800D9F98
  // size: 0x28
  extern char ObjFileList[40];
  
  // address: 0x8011BB24
  extern int trapdir;
  
  // address: 0x8011BB28
  extern int leverid;
  
  // address: 0x8011BB0C
  extern int numobjfiles;
  
  // address: 0x800D8820
  // size: 0x20
  extern int bxadd[8];
  
  // address: 0x800D8840
  // size: 0x20
  extern int byadd[8];
  
  // address: 0x800D8894
  // size: 0x1A
  extern char shrineavail[26];
  
  // address: 0x800D8860
  // size: 0x34
  extern unsigned short shrinestrs[26];
  
  // address: 0x800D88B0
  // size: 0x12
  extern unsigned short StoryBookName[9];
  
  // address: 0x8011BB10
  extern int myscale;
  
  // address: 0x8011BB3C
  extern unsigned char gbValidSaveFile;
  
  // address: 0x8011BB38
  extern bool DoLoadedChar;
  
  // address: 0x800DA1B0
  // size: 0x33D0
  extern struct PlayerStruct plr[2];
  
  // address: 0x8011BB54
  extern int myplr;
  
  // address: 0x8011BB58
  extern unsigned char deathflag;
  
  // address: 0x8011C9C4
  // size: 0x2
  static char deathdelay2[2];
  
  // address: 0x8011BB59
  extern char light_rad;
  
  // address: 0x8011BB5C
  // size: 0x8
  extern int PlayerDeathCount[2];
  
  // address: 0x8011BB64
  // size: 0x8
  extern int PlayerEar[2];
  
  // address: 0x800DA0B0
  // size: 0x30
  extern int MaxStats[4][3];
  
  // address: 0x8011BB4C
  static int PlrStructSize;
  
  // address: 0x8011BB50
  static int ItemStructSize;
  
  // address: 0x800D9FC0
  // size: 0x24
  extern int plrxoff[9];
  
  // address: 0x800D9FE4
  // size: 0x24
  extern int plryoff[9];
  
  // address: 0x800DA008
  // size: 0x24
  extern int plrxoff2[9];
  
  // address: 0x800DA02C
  // size: 0x24
  extern int plryoff2[9];
  
  // address: 0x800DA050
  // size: 0x21
  extern char PlrGFXAnimLens[11][3];
  
  // address: 0x800DA074
  // size: 0xC
  extern int StrengthTbl[3];
  
  // address: 0x800DA080
  // size: 0xC
  extern int MagicTbl[3];
  
  // address: 0x800DA08C
  // size: 0xC
  extern int DexterityTbl[3];
  
  // address: 0x800DA098
  // size: 0xC
  extern int VitalityTbl[3];
  
  // address: 0x800DA0A4
  // size: 0xC
  extern int ToBlkTbl[3];
  
  // address: 0x800DA0E0
  // size: 0xCC
  extern long ExpLvlsTbl[51];
  
  // address: 0x800DD6B8
  // size: 0x140
  extern struct QuestStruct quests[16];
  
  // address: 0x8011BB9C
  extern unsigned char *pQLogCel;
  
  // address: 0x8011BBA0
  extern int ReturnLvlX;
  
  // address: 0x8011BBA4
  extern int ReturnLvlY;
  
  // address: 0x8011BBA8
  extern int ReturnLvl;
  
  // address: 0x8011BBAC
  extern int ReturnLvlT;
  
  // address: 0x8011BBB0
  extern unsigned char rporttest;
  
  // address: 0x8011BBB4
  extern int qline;
  
  // address: 0x8011BBB8
  extern int numqlines;
  
  // address: 0x8011BBBC
  extern int qtopline;
  
  // address: 0x8012EF48
  // size: 0x40
  static int qlist[16];
  
  // address: 0x8011C9C8
  // size: 0x8
  static struct RECT QSRect;
  
  // address: 0x8011BB75
  extern unsigned char questlog;
  
  // address: 0x800DD580
  // size: 0x100
  extern struct QuestData questlist[16];
  
  // address: 0x8011BB78
  extern int ALLQUESTS;
  
  // address: 0x800DD694
  // size: 0xC
  extern int QuestGroup1[3];
  
  // address: 0x800DD6A0
  // size: 0xC
  extern int QuestGroup2[3];
  
  // address: 0x800DD6AC
  // size: 0xC
  extern int QuestGroup3[3];
  
  // address: 0x8011BB7C
  // size: 0x8
  extern int QuestGroup4[2];
  
  // address: 0x8011BB94
  extern bool WaterDone;
  
  // address: 0x800DD680
  // size: 0x14
  extern int questtrigstr[5];
  
  // address: 0x8011BB84
  static int QS_PX;
  
  // address: 0x8011BB88
  static int QS_PY;
  
  // address: 0x8011BB8C
  static int QS_PW;
  
  // address: 0x8011BB90
  static int QS_PH;
  
  // address: 0x8012EF88
  // size: 0x10
  static struct Dialog QSBack;
  
  // address: 0x8011BB98
  static int qtoffset;
  
  // address: 0x800DD7F8
  // size: 0x784
  extern struct SpellData spelldata[37];
  
  // address: 0x8011BC00
  extern int StorePlrNo;
  
  // address: 0x800DE0A0
  // size: 0x10E0
  extern struct ItemStruct _smithitem[20][2];
  
  // address: 0x800DF180
  // size: 0x510
  extern struct ItemStruct _premiumitem[6][2];
  
  // address: 0x8011BC04
  // size: 0x8
  extern int _numpremium[2];
  
  // address: 0x8011BC0C
  // size: 0x8
  extern int _premiumlevel[2];
  
  // address: 0x800DF690
  // size: 0x10E0
  extern struct ItemStruct _witchitem[20][2];
  
  // address: 0x8011BC14
  // size: 0x8
  extern int _NoWitchItems[2];
  
  // address: 0x8011BC1C
  // size: 0x8
  extern int _WitchIdxOfs[2];
  
  // address: 0x800E0770
  // size: 0xD8
  extern struct ItemStruct _boyitem[2];
  
  // address: 0x8011BC24
  // size: 0x8
  extern int _boylevel[2];
  
  // address: 0x800E0848
  // size: 0x10E0
  extern struct ItemStruct _healitem[20][2];
  
  // address: 0x800E1928
  // size: 0xD8
  extern struct ItemStruct _golditem[2];
  
  // address: 0x8011BC2C
  extern char stextflag;
  
  // address: 0x8011BC2D
  extern char stextsize;
  
  // address: 0x8011BC2E
  extern unsigned char stextscrl;
  
  // address: 0x8011C9D0
  static int stextsel;
  
  // address: 0x8011C9D4
  static int stextlhold;
  
  // address: 0x8011C9D8
  static int stextshold;
  
  // address: 0x8011C9DC
  static int stextvhold;
  
  // address: 0x8011C9E0
  static int stextsval;
  
  // address: 0x8011C9E4
  static int stextsmax;
  
  // address: 0x8011C9E8
  static int stextup;
  
  // address: 0x8011C9EC
  static int stextdown;
  
  // address: 0x8011C9F0
  static char stextscrlubtn;
  
  // address: 0x8011C9F1
  static char stextscrldbtn;
  
  // address: 0x8011C9F2
  static char SItemListFlag;
  
  // address: 0x8012EF98
  // size: 0xD20
  static struct STextStruct stext[24];
  
  // address: 0x8011C9F4
  static int storenumh;
  
  // address: 0x8011C9F8
  static int gossipstart;
  
  // address: 0x8011C9FC
  static int gossipend;
  
  // address: 0x8011CA00
  // size: 0x8
  static struct RECT StoreBackRect;
  
  // address: 0x8011CA08
  // size: 0x8
  static struct RECT StoreBackRectClipper;
  
  // address: 0x8011BC30
  extern int SmithItemCount;
  
  // address: 0x800E1A00
  // size: 0x1440
  extern struct ItemStruct storehold[48];
  
  // address: 0x800E2E40
  // size: 0x30
  extern char storehidx[48];
  
  // address: 0x8011BC34
  extern int SellIdx;
  
  // address: 0x8011CA10
  static int talker;
  
  // address: 0x8011BC38
  extern int SWrapCount;
  
  // address: 0x8011BBE4
  extern unsigned char *pSTextBoxCels;
  
  // address: 0x8011BBE8
  extern unsigned char *pSTextSlidCels;
  
  // address: 0x8011BBF0
  extern int *SStringY;
  
  // address: 0x800DDF7C
  // size: 0x10
  extern struct Dialog SBack;
  
  // address: 0x8011BBEC
  extern char WStaffFlag;
  
  // address: 0x8011BBED
  extern char WFlag;
  
  // address: 0x800DDF8C
  // size: 0x50
  extern int SStringYNorm[20];
  
  // address: 0x800DDFDC
  // size: 0x50
  extern int SStringYBuy0[20];
  
  // address: 0x800DE02C
  // size: 0x50
  extern int SStringYBuy1[20];
  
  // address: 0x800DE07C
  // size: 0x24
  extern int talkname[9];
  
  // address: 0x8011BBFF
  extern unsigned char InStoreFlag;
  
  // address: 0x80117D88
  // size: 0xC9C
  extern struct TextDataStruct alltext[269];
  
  // address: 0x8011BC48
  extern unsigned long gdwAllTextEntries;
  
  // address: 0x8011CA14
  static unsigned char *P3Tiles;
  
  // address: 0x8011BC58
  extern int tile;
  
  // address: 0x8011BCC0
  // size: 0x2
  extern unsigned char _trigflag[2];
  
  // address: 0x800E3044
  // size: 0x50
  extern struct TriggerStruct trigs[5];
  
  // address: 0x8011BCC4
  extern int numtrigs;
  
  // address: 0x8011BCC8
  // size: 0x3
  extern unsigned char townwarps[3];
  
  // address: 0x8011BCCC
  extern int TWarpFrom;
  
  // address: 0x800E3094
  // size: 0x200
  extern short TrigList[64][4];
  
  // address: 0x800E3294
  // size: 0x280
  extern struct BLOCK BlockList[160];
  
  // address: 0x8011BC94
  extern bool FRIGFLAG;
  
  // address: 0x800E2E70
  // size: 0x16
  extern short TownDownList[11];
  
  // address: 0x800E2E88
  // size: 0x1A
  extern short TownWarp1List[13];
  
  // address: 0x800E2EA4
  // size: 0x2E
  extern short TownWarp2List[23];
  
  // address: 0x800E2ED4
  // size: 0x22
  extern short TownWarp3List[17];
  
  // address: 0x800E2EF8
  // size: 0x18
  extern short L1UpList[12];
  
  // address: 0x800E2F10
  // size: 0x14
  extern short L1DownList[10];
  
  // address: 0x8011BC68
  // size: 0x6
  extern short L2UpList[3];
  
  // address: 0x800E2F24
  // size: 0xA
  extern short L2DownList[5];
  
  // address: 0x8011BC70
  // size: 0x6
  extern short L2TWarpUpList[3];
  
  // address: 0x800E2F30
  // size: 0x1E
  extern short L3UpList[15];
  
  // address: 0x800E2F50
  // size: 0x12
  extern short L3DownList[9];
  
  // address: 0x800E2F64
  // size: 0x1C
  extern short L3TWarpUpList[14];
  
  // address: 0x8011BC78
  // size: 0x8
  extern short L4UpList[4];
  
  // address: 0x800E2F80
  // size: 0xC
  extern short L4DownList[6];
  
  // address: 0x8011BC80
  // size: 0x8
  extern short L4TWarpUpList[4];
  
  // address: 0x800E2F8C
  // size: 0x42
  extern short L4PentaList[33];
  
  // address: 0x800E2FD0
  // size: 0x52
  extern short L1BlockList[41];
  
  // address: 0x800E3024
  // size: 0x12
  extern short L2BlockList[9];
  
  // address: 0x800E3038
  // size: 0xA
  extern short L3BlockList[5];
  
  // address: 0x8011BC88
  // size: 0x4
  extern short L4BlockList[2];
  
  // address: 0x8011BC8C
  static int NoBlocks;
  
  // address: 0x8011BC90
  static short *levlist;
  
  // address: 0x8011BC98
  static int FRIGCheat;
  
  // address: 0x8011BC9C
  static int FRIGTime;
  
  // address: 0x8011BCA0
  static int FRIGState;
  
  // address: 0x8011BCA4
  static int FRIGFlip;
  
  // address: 0x8011BCA8
  static int FRIGFlipit;
  
  // address: 0x8011BCAC
  static int FRIGFirst;
  
  // address: 0x8011BCB0
  extern int FRIGX;
  
  // address: 0x8011BCB4
  extern int FRIGY;
  
  // address: 0x8011BCB8
  extern int FRIGZ;
  
  // address: 0x8011BCBC
  extern int fot;
  
  // address: 0x8011BCE5
  extern unsigned char gbSndInited;
  
  // address: 0x8011BCE8
  extern long sglMasterVolume;
  
  // address: 0x8011BCEC
  extern long sglMusicVolume;
  
  // address: 0x8011BCF0
  extern long sglSoundVolume;
  
  // address: 0x8011BCF4
  extern long sglSpeechVolume;
  
  // address: 0x8011BCF8
  extern int sgnMusicTrack;
  
  // address: 0x8011BCFC
  extern bool MONO;
  
  // address: 0x8011BCE6
  extern unsigned char gbDupSounds;
  
  // address: 0x8011BD00
  // size: 0x84
  extern struct SFXHDR *sghMusic;
  
  // address: 0x800E3514
  // size: 0xC
  extern unsigned short sgszMusicTracks[6];
  
  // address: 0x8011BD20
  // size: 0x8
  extern int _pcurr_inv[2];
  
  // address: 0x800E3520
  // size: 0x3C
  extern struct found_objects _pfind_list[10][2];
  
  // address: 0x8011BD28
  // size: 0x2
  extern char _pfind_index[2];
  
  // address: 0x8011BD2A
  extern unsigned char automapmoved;
  
  // address: 0x8011BD0D
  extern unsigned char flyflag;
  
  // address: 0x8011BD10
  // size: 0x2
  extern unsigned char _SpdBeltSelFlag[2];
  
  // address: 0x8011BD1C
  extern bool ignore_buttons;
  
  // address: 0x8012FCB8
  // size: 0xD4
  static struct GamePad GPad1;
  
  // address: 0x8012FD98
  // size: 0xD4
  static struct GamePad GPad2;
  
  // address: 0x8011BD14
  static int HappyManFlag;
  
  // address: 0x8011BD18
  static char seen_combo;
  
  // address: 0x8011CA18
  static unsigned long (*CurrentProc)();
  
  // address: 0x80118D40
  // size: 0x58
  static struct MESSAGE_STR AllMsgs[11];
  
  // address: 0x8011BD64
  extern int NumOfStrings;
  
  // address: 0x8011BD40
  extern char **TextPtr;
  
  // address: 0x8011BD38
  // size: 0x4
  extern enum LANG_TYPE LanguageType;
  
  // address: 0x8011BD3C
  extern long hndText;
  
  // address: 0x8011BD44
  // size: 0x4
  extern enum LANG_DB_NO LangDbNo;
  
  // address: 0x8011BD74
  // size: 0x70
  extern struct TextDat *MissDat;
  
  // address: 0x800E363C
  // size: 0x10
  extern char MlTab[16];
  
  // address: 0x800E364C
  // size: 0x10
  extern char QlTab[16];
  
  // address: 0x8012FE70
  // size: 0x60
  static struct CINDER Cinders[16];
  
  // address: 0x800E365C
  // size: 0x188
  extern struct POLY_FT4 *(*ObjPrintFuncs[98])();
  
  // address: 0x8011BD90
  static int lasttick;
  
  // address: 0x8011BD94
  static bool FireInit;
  
  // address: 0x8011BD98
  static bool FirstFire;
  
  // address: 0x800E37E4
  // size: 0x40
  extern struct DoorOff DoorOffsets[4][4];
  
  // address: 0x8011BD9C
  extern int lox;
  
  // address: 0x8011BDA0
  extern int loy;
  
  // address: 0x8011BDA4
  extern int lot;
  
  // address: 0x8011BDB1
  static unsigned char sgbFadedIn;
  
  // address: 0x8011BDB2
  static unsigned char screenbright;
  
  // address: 0x8011BDB4
  static int faderate;
  
  // address: 0x8011BDB8
  static bool fading;
  
  // address: 0x8011BDBC
  static int FADE_OT;
  
  // address: 0x8011BDC8
  // size: 0x8
  static unsigned char FadeCoords[8];
  
  // address: 0x8011BDD0
  // size: 0x8
  static unsigned char FadeCoords2[8];
  
  // address: 0x8011BDC0
  extern int st;
  
  // address: 0x8011BDC4
  extern int mode;
  
  // address: 0x800E3824
  // size: 0x10
  extern unsigned char AmLTab[16];
  
  // address: 0x800E3834
  // size: 0x10
  extern unsigned char AmRTab[16];
  
  // address: 0x800E3864
  // size: 0x30
  extern struct PortalStruct portal[4];
  
  // address: 0x8011CA1C
  static int portalindex;
  
  // address: 0x800E3844
  // size: 0x10
  static int WarpDropX[4];
  
  // address: 0x800E3854
  // size: 0x10
  static int WarpDropY[4];
  
  // address: 0x800E3894
  // size: 0x78
  extern char MyVerString[120];
  
  // address: 0x8011BF60
  extern int Year;
  
  // address: 0x8011BF64
  extern int Day;
  
  // address: 0x8011BF80
  extern bool iscflag;
  
  // address: 0x8011BF90
  extern short *dPiece;
  
  // address: 0x8011CA20
  static unsigned char *tbuff;
  
  // address: 0x800E3938
  // size: 0x300
  extern unsigned char IconBuffer[768];
  
  // address: 0x800E390C
  // size: 0xB
  static char DiabloStr[11];
  
  // address: 0x800E3918
  // size: 0x13
  static char SaveCharName[19];
  
  // address: 0x800E392C
  // size: 0xB
  static char OptSaveName[11];
  
  // address: 0x8011BFA6
  extern unsigned char ADirtyFlagThatGaryWillLove;
  
  // address: 0x8011BFA8
  extern int DirtyVidx;
  
  // address: 0x8011BFAC
  extern int DirtyVidY;
  
  // address: 0x8011CA24
  static unsigned char HR1;
  
  // address: 0x8011CA25
  static unsigned char HR2;
  
  // address: 0x8011CA26
  static unsigned char HR3;
  
  // address: 0x8011CA27
  static unsigned char VR1;
  
  // address: 0x8011CA28
  static unsigned char VR2;
  
  // address: 0x8011CA29
  static unsigned char VR3;
  
  // address: 0x8011C014
  // size: 0x18
  extern struct NODE *pHallList;
  
  // address: 0x8011C018
  extern int nRoomCnt;
  
  // address: 0x8011C01C
  extern int nSx1;
  
  // address: 0x8011C020
  extern int nSy1;
  
  // address: 0x8011C024
  extern int nSx2;
  
  // address: 0x8011C028
  extern int nSy2;
  
  // address: 0x8011BFC8
  extern int Area_Min;
  
  // address: 0x8011BFCC
  extern int Room_Max;
  
  // address: 0x8011BFD0
  extern int Room_Min;
  
  // address: 0x8011BFD4
  // size: 0x6
  extern unsigned char BIG3[6];
  
  // address: 0x8011BFDC
  // size: 0x6
  extern unsigned char BIG4[6];
  
  // address: 0x8011BFE4
  // size: 0x6
  extern unsigned char BIG6[6];
  
  // address: 0x8011BFEC
  // size: 0x6
  extern unsigned char BIG7[6];
  
  // address: 0x8011BFF4
  // size: 0x4
  extern unsigned char RUINS1[4];
  
  // address: 0x8011BFF8
  // size: 0x4
  extern unsigned char RUINS2[4];
  
  // address: 0x8011BFFC
  // size: 0x4
  extern unsigned char RUINS3[4];
  
  // address: 0x8011C000
  // size: 0x4
  extern unsigned char RUINS4[4];
  
  // address: 0x8011C004
  // size: 0x4
  extern unsigned char RUINS5[4];
  
  // address: 0x8011C008
  // size: 0x4
  extern unsigned char RUINS6[4];
  
  // address: 0x8011C00C
  // size: 0x4
  extern unsigned char RUINS7[4];
  
  // address: 0x8011C010
  extern int myk;
  
  // address: 0x8011CA2C
  static int abyssx;
  
  // address: 0x8011CA30
  static unsigned char lavapool;
  
  // address: 0x8011C0B4
  extern int lockoutcnt;
  
  // address: 0x8011C038
  // size: 0x6
  static unsigned char L3TITE12[6];
  
  // address: 0x8011C040
  // size: 0x6
  static unsigned char L3TITE13[6];
  
  // address: 0x8011C048
  // size: 0x6
  static unsigned char L3CREV1[6];
  
  // address: 0x8011C050
  // size: 0x6
  static unsigned char L3CREV2[6];
  
  // address: 0x8011C058
  // size: 0x6
  static unsigned char L3CREV3[6];
  
  // address: 0x8011C060
  // size: 0x6
  static unsigned char L3CREV4[6];
  
  // address: 0x8011C068
  // size: 0x6
  static unsigned char L3CREV5[6];
  
  // address: 0x8011C070
  // size: 0x6
  static unsigned char L3CREV6[6];
  
  // address: 0x8011C078
  // size: 0x6
  static unsigned char L3CREV7[6];
  
  // address: 0x8011C080
  // size: 0x6
  static unsigned char L3CREV8[6];
  
  // address: 0x8011C088
  // size: 0x6
  static unsigned char L3CREV9[6];
  
  // address: 0x8011C090
  // size: 0x6
  static unsigned char L3CREV10[6];
  
  // address: 0x8011C098
  // size: 0x6
  static unsigned char L3CREV11[6];
  
  // address: 0x8011C0A0
  // size: 0x4
  static unsigned char L3XTRA1[4];
  
  // address: 0x8011C0A4
  // size: 0x4
  static unsigned char L3XTRA2[4];
  
  // address: 0x8011C0A8
  // size: 0x4
  static unsigned char L3XTRA3[4];
  
  // address: 0x8011C0AC
  // size: 0x4
  static unsigned char L3XTRA4[4];
  
  // address: 0x8011C0B0
  // size: 0x4
  static unsigned char L3XTRA5[4];
  
  // address: 0x8011C0C8
  extern int diabquad1x;
  
  // address: 0x8011C0CC
  extern int diabquad2x;
  
  // address: 0x8011C0D0
  extern int diabquad3x;
  
  // address: 0x8011C0D4
  extern int diabquad4x;
  
  // address: 0x8011C0D8
  extern int diabquad1y;
  
  // address: 0x8011C0DC
  extern int diabquad2y;
  
  // address: 0x8011C0E0
  extern int diabquad3y;
  
  // address: 0x8011C0E4
  extern int diabquad4y;
  
  // address: 0x8011C0E8
  extern int SP4x1;
  
  // address: 0x8011C0EC
  extern int SP4y1;
  
  // address: 0x8011C0F0
  extern int SP4x2;
  
  // address: 0x8011C0F4
  extern int SP4y2;
  
  // address: 0x8011C0F8
  extern int l4holdx;
  
  // address: 0x8011C0FC
  extern int l4holdy;
  
  // address: 0x8011CA34
  static unsigned char *lpSetPiece1;
  
  // address: 0x8011CA38
  static unsigned char *lpSetPiece2;
  
  // address: 0x8011CA3C
  static unsigned char *lpSetPiece3;
  
  // address: 0x8011CA40
  static unsigned char *lpSetPiece4;
  
  // address: 0x8011CA44
  static unsigned char *lppSetPiece2;
  
  // address: 0x8011CA48
  static unsigned char *lppSetPiece3;
  
  // address: 0x8011CA4C
  static unsigned char *lppSetPiece4;
  
  // address: 0x8011C0C4
  static int recurs;
  
  // address: 0x8011C10C
  // size: 0x8
  static unsigned char SkelKingTrans1[8];
  
  // address: 0x8011C114
  // size: 0x8
  static unsigned char SkelKingTrans2[8];
  
  // address: 0x800E3C38
  // size: 0x14
  static unsigned char SkelKingTrans3[20];
  
  // address: 0x800E3C4C
  // size: 0x1C
  static unsigned char SkelKingTrans4[28];
  
  // address: 0x800E3C68
  // size: 0x14
  static unsigned char SkelChamTrans1[20];
  
  // address: 0x8011C11C
  // size: 0x8
  static unsigned char SkelChamTrans2[8];
  
  // address: 0x800E3C7C
  // size: 0x24
  static unsigned char SkelChamTrans3[36];
  
  // address: 0x8011C208
  static bool DoUiForChooseMonster;
  
  // address: 0x800E3CA0
  // size: 0x88
  static char *MgToText[34];
  
  // address: 0x800E3D28
  // size: 0x12
  extern unsigned short StoryText[3][3];
  
  // address: 0x800E3D3C
  // size: 0x1200
  extern unsigned short dungeon[48][48];
  
  // address: 0x800E4F3C
  // size: 0x640
  extern unsigned char pdungeon[40][40];
  
  // address: 0x8011C230
  extern int setpc_x;
  
  // address: 0x8011C234
  extern int setpc_y;
  
  // address: 0x8011C238
  extern int setpc_w;
  
  // address: 0x8011C23C
  extern int setpc_h;
  
  // address: 0x8011C240
  extern unsigned char setloadflag;
  
  // address: 0x800E557C
  // size: 0x801
  extern unsigned char nBlockTable[2049];
  
  // address: 0x800E5D80
  // size: 0x801
  extern unsigned char nSolidTable[2049];
  
  // address: 0x800E6584
  // size: 0x801
  extern unsigned char nMissileTable[2049];
  
  // address: 0x800E6D88
  // size: 0x801
  extern unsigned char nTrapTable[2049];
  
  // address: 0x8011C244
  extern int dminx;
  
  // address: 0x8011C248
  extern int dminy;
  
  // address: 0x8011C24C
  extern int dmaxx;
  
  // address: 0x8011C250
  extern int dmaxy;
  
  // address: 0x8011C254
  extern int gnDifficulty;
  
  // address: 0x8011C258
  extern unsigned char currlevel;
  
  // address: 0x8011C259
  extern unsigned char leveltype;
  
  // address: 0x8011C25A
  extern unsigned char setlevel;
  
  // address: 0x8011C25B
  extern unsigned char setlvlnum;
  
  // address: 0x8011C25C
  extern unsigned char setlvltype;
  
  // address: 0x8011C260
  extern int ViewX;
  
  // address: 0x8011C264
  extern int ViewY;
  
  // address: 0x8011C268
  extern int ViewDX;
  
  // address: 0x8011C26C
  extern int ViewDY;
  
  // address: 0x8011C270
  extern int ViewBX;
  
  // address: 0x8011C274
  extern int ViewBY;
  
  // address: 0x800E758C
  // size: 0x14
  extern struct ScrollStruct ScrollInfo;
  
  // address: 0x8011C278
  extern int LvlViewX;
  
  // address: 0x8011C27C
  extern int LvlViewY;
  
  // address: 0x8011C280
  extern int btmbx;
  
  // address: 0x8011C284
  extern int btmby;
  
  // address: 0x8011C288
  extern int btmdx;
  
  // address: 0x8011C28C
  extern int btmdy;
  
  // address: 0x8011C290
  extern int MicroTileLen;
  
  // address: 0x8011C294
  extern char TransVal;
  
  // address: 0x800E75A0
  // size: 0x100
  extern unsigned char TransList[256];
  
  // address: 0x8011C298
  extern int themeCount;
  
  // address: 0x800E76A0
  // size: 0x18800
  extern struct map_info dung_map[112][112];
  
  // address: 0x800FFEA0
  // size: 0xC40
  extern unsigned char dung_map_r[56][56];
  
  // address: 0x80100AE0
  // size: 0xC40
  extern unsigned char dung_map_g[56][56];
  
  // address: 0x80101720
  // size: 0xC40
  extern unsigned char dung_map_b[56][56];
  
  // address: 0x80102360
  // size: 0xAA
  extern struct MINIXY MinisetXY[17];
  
  // address: 0x8011C224
  extern unsigned char *mydflags;
  
  // address: 0x8011C228
  extern unsigned char *pSetPiece;
  
  // address: 0x8011C22C
  extern int DungSize;
  
  // address: 0x8010252C
  // size: 0x190
  extern struct ThemeStruct theme[50];
  
  // address: 0x8011C2D8
  extern int numthemes;
  
  // address: 0x8011C2DC
  extern int zharlib;
  
  // address: 0x8011C2E0
  extern unsigned char armorFlag;
  
  // address: 0x8011C2E1
  extern unsigned char bCrossFlag;
  
  // address: 0x8011C2E2
  extern unsigned char weaponFlag;
  
  // address: 0x8011C2E4
  extern int themex;
  
  // address: 0x8011C2E8
  extern int themey;
  
  // address: 0x8011C2EC
  extern int themeVar1;
  
  // address: 0x8011C2F0
  extern unsigned char bFountainFlag;
  
  // address: 0x8011C2F1
  extern unsigned char cauldronFlag;
  
  // address: 0x8011C2F2
  extern unsigned char mFountainFlag;
  
  // address: 0x8011C2F3
  extern unsigned char pFountainFlag;
  
  // address: 0x8011C2F4
  extern unsigned char tFountainFlag;
  
  // address: 0x8011C2F5
  extern unsigned char treasureFlag;
  
  // address: 0x8011C2F8
  // size: 0x4
  extern unsigned char ThemeGoodIn[4];
  
  // address: 0x8010240C
  // size: 0x10
  extern int ThemeGood[4];
  
  // address: 0x8010241C
  // size: 0x64
  extern int trm5x[25];
  
  // address: 0x80102480
  // size: 0x64
  extern int trm5y[25];
  
  // address: 0x801024E4
  // size: 0x24
  extern int trm3x[9];
  
  // address: 0x80102508
  // size: 0x24
  extern int trm3y[9];
  
  // address: 0x8011C34C
  // size: 0x70
  extern struct TextDat *AutoMapTData;
  
  // address: 0x8012FED0
  // size: 0x200
  static unsigned char AmpBuffer[512];
  
  // address: 0x8011C3D4
  extern int nummissiles;
  
  // address: 0x80102744
  // size: 0xFA
  extern short missileactive[125];
  
  // address: 0x80102840
  // size: 0xFA
  extern short missileavail[125];
  
  // address: 0x8011C3D8
  extern unsigned char MissilePreFlag;
  
  // address: 0x8010293C
  // size: 0x2710
  extern struct MissileStruct missile[125];
  
  // address: 0x8011C3D9
  extern unsigned char ManashieldFlag;
  
  // address: 0x8011C3DA
  extern unsigned char ManashieldFlag2;
  
  // address: 0x8010504C
  // size: 0x80
  extern char dMissArray[4][32];
  
  // address: 0x801026BC
  // size: 0x20
  extern int XDirAdd[8];
  
  // address: 0x801026DC
  // size: 0x20
  extern int YDirAdd[8];
  
  // address: 0x8011C3A1
  extern unsigned char fadetor;
  
  // address: 0x8011C3A2
  extern unsigned char fadetog;
  
  // address: 0x8011C3A3
  extern unsigned char fadetob;
  
  // address: 0x801026FC
  // size: 0x10
  extern unsigned char ValueTable[16];
  
  // address: 0x8010270C
  // size: 0x36
  extern unsigned char StringTable[9][6];
  
  // address: 0x8010526C
  // size: 0x5028
  extern struct MonsterStruct monster[190];
  
  // address: 0x8011C418
  extern long nummonsters;
  
  // address: 0x8010A294
  // size: 0x17C
  extern short monstactive[190];
  
  // address: 0x8010A410
  // size: 0x17C
  extern short monstkills[190];
  
  // address: 0x8010A58C
  // size: 0x1C0
  extern struct CMonster Monsters[16];
  
  // address: 0x8011C41C
  extern long monstimgtot;
  
  // address: 0x8011C420
  extern unsigned char totalmonsters;
  
  // address: 0x8011C424
  extern int uniquetrans;
  
  // address: 0x8011CA50
  static unsigned char sgbSaveSoundOn;
  
  // address: 0x8011C3F4
  // size: 0x8
  extern char offset_x[8];
  
  // address: 0x8011C3FC
  // size: 0x8
  extern char offset_y[8];
  
  // address: 0x8011C3E8
  extern int nummtypes;
  
  // address: 0x8011C3EC
  // size: 0x7
  extern char animletter[7];
  
  // address: 0x801050CC
  // size: 0x120
  extern int MWVel[3][24];
  
  // address: 0x801051EC
  // size: 0x80
  extern void (*AiProc[32])();
  
  // address: 0x8010A964
  // size: 0x308
  extern int UniqTransPals[194];
  
  // address: 0x8010AD6C
  // size: 0x1A7C
  extern struct MonsterData monsterdata[113];
  
  // address: 0x8010C7E8
  // size: 0x80
  extern char MonstConvTbl[128];
  
  // address: 0x8010C868
  // size: 0x70
  extern char MonstAvailTbl[112];
  
  // address: 0x8010C8D8
  // size: 0x900
  extern struct UniqMonstStruct UniqMonst[96];
  
  // address: 0x8010A74C
  // size: 0x218
  extern int TransPals[134];
  
  // address: 0x8010AC6C
  // size: 0x100
  extern struct STONEPAL StonePals[32];
  
  // address: 0x8011C478
  extern unsigned char invflag;
  
  // address: 0x8011C479
  extern unsigned char drawsbarflag;
  
  // address: 0x8011C47C
  extern int InvBackY;
  
  // address: 0x8011C480
  extern int InvCursPos;
  
  // address: 0x8011C484
  extern int InvPageNo;
  
  // address: 0x8011C488
  extern int InvPageFlag;
  
  // address: 0x8010D850
  // size: 0x49
  extern unsigned char InvSlotTable[73];
  
  // address: 0x8011C48C
  extern int InvBackAY;
  
  // address: 0x8011C490
  extern int InvSel;
  
  // address: 0x8011C494
  extern int ItemW;
  
  // address: 0x8011C498
  extern int ItemH;
  
  // address: 0x8011C49C
  extern int ItemNo;
  
  // address: 0x8011C4A0
  // size: 0x8
  extern struct RECT BRect;
  
  // address: 0x8011C454
  // size: 0x70
  extern struct TextDat *InvPanelTData;
  
  // address: 0x8011C458
  // size: 0x70
  extern struct TextDat *InvGfxTData;
  
  // address: 0x8010D448
  // size: 0x2A0
  extern int InvGfxTable[168];
  
  // address: 0x8011C440
  static int clipit;
  
  // address: 0x8011C444
  static int backot;
  
  // address: 0x8011C448
  static int slotot;
  
  // address: 0x8011C44C
  static int slotbackot;
  
  // address: 0x8011C450
  static int itemot;
  
  // address: 0x8010D1D8
  // size: 0x28
  extern int AP2x2Tbl[10];
  
  // address: 0x8010D200
  // size: 0x248
  extern struct InvXY InvRect[73];
  
  // address: 0x8010D6E8
  // size: 0xB4
  extern unsigned char InvItemWidth[180];
  
  // address: 0x8010D79C
  // size: 0xB4
  extern unsigned char InvItemHeight[180];
  
  // address: 0x8011C45C
  extern int CursGlow;
  
  // address: 0x8011C460
  extern int CursGlowDx;
  
  // address: 0x8011C470
  static bool InvOn;
  
  // address: 0x8011C474
  static unsigned long sgdwLastTime;
  
  // address: 0x8011C4C7
  extern unsigned char automapflag;
  
  // address: 0x8010D8B4
  // size: 0xC8
  extern unsigned char automapview[40][5];
  
  // address: 0x8010D97C
  // size: 0x400
  extern unsigned short automaptype[512];
  
  // address: 0x8011C4C8
  extern int AutoMapX;
  
  // address: 0x8011C4CC
  extern int AutoMapY;
  
  // address: 0x8011C4D0
  extern int AutoMapXOfs;
  
  // address: 0x8011C4D4
  extern int AutoMapYOfs;
  
  // address: 0x8011C4D8
  extern int AMPlayerX;
  
  // address: 0x8011C4DC
  extern int AMPlayerY;
  
  // address: 0x8011C4E0
  // size: 0x8
  extern int AMPx[2];
  
  // address: 0x8011C4E8
  // size: 0x8
  extern int AMPy[2];
  
  // address: 0x8011C4B4
  extern int AutoMapScale;
  
  // address: 0x8011C4B8
  static int AutoMapOt;
  
  // address: 0x8010D89C
  // size: 0x18
  static int SetLevelName[6];
  
  // address: 0x8011CAD8
  // size: 0x5C
  static struct TASK *ActiveTasks;
  
  // address: 0x8011CADC
  // size: 0x5C
  static struct TASK *CurrentTask;
  
  // address: 0x8011CAE0
  // size: 0x5C
  static struct TASK *T;
  
  // address: 0x8011CAE4
  static unsigned long MemTypeForTasker;
  
  // address: 0x801326F0
  // size: 0x30
  static int SchEnv[12];
  
  // address: 0x8011CAE8
  static unsigned long ExecId;
  
  // address: 0x8011CAEC
  static unsigned long ExecMask;
  
  // address: 0x8011CAF0
  static int TasksActive;
  
  // address: 0x8011CAF4
  static void (*EpiFunc)();
  
  // address: 0x8011CAF8
  static void (*ProFunc)();
  
  // address: 0x8011CAFC
  static unsigned long EpiProId;
  
  // address: 0x8011CB00
  static unsigned long EpiProMask;
  
  // address: 0x8011CB04
  static void (*DoTasksPrologue)();
  
  // address: 0x8011CB08
  static void (*DoTasksEpilogue)();
  
  // address: 0x8011CB0C
  static void (*StackFloodCallback)();
  
  // address: 0x8011CB10
  static unsigned char ExtraStackProtection;
  
  // address: 0x8011CB14
  static int ExtraStackSizeLongs;
  
  // address: 0x8011CBAC
  extern unsigned long GazTick;
  
  // address: 0x80135338
  // size: 0x18
  extern unsigned long RndTabs[6];
  
  // address: 0x800B5FD4
  // size: 0x18
  extern unsigned long DefaultRnd[6];
  
  // address: 0x8011CBD4
  extern void (*PollFunc)();
  
  // address: 0x8011CBB8
  extern void (*MsgFunc)();
  
  // address: 0x8011CC04
  extern void (*ErrorFunc)();
  
  // address: 0x8011CBC0
  extern void *LastPtr;
  
  // address: 0x800B600C
  // size: 0x8
  extern struct MEM_INFO WorkMemInfo;
  
  // address: 0x8011CB18
  // size: 0x28
  static struct MEM_INIT_INFO *MemInitBlocks;
  
  // address: 0x80132720
  // size: 0x15E0
  static struct MEM_HDR MemHdrBlocks[200];
  
  // address: 0x8011CB1C
  // size: 0x1C
  static struct MEM_HDR *FreeBlocks;
  
  // address: 0x8011CB20
  // size: 0x4
  static enum GAL_ERROR_CODE LastError;
  
  // address: 0x8011CB24
  static int TimeStamp;
  
  // address: 0x8011CB28
  static unsigned char FullErrorChecking;
  
  // address: 0x8011CB2C
  static unsigned long LastAttemptedAlloc;
  
  // address: 0x8011CB30
  static unsigned long LastDeallocedBlock;
  
  // address: 0x8011CB34
  // size: 0x4
  static enum GAL_VERB_LEV VerbLev;
  
  // address: 0x8011CB38
  static int NumOfFreeHdrs;
  
  // address: 0x8011CB3C
  static unsigned long LastTypeAlloced;
  
  // address: 0x8011CB40
  static void (*AllocFilter)();
  
  // address: 0x800B6014
  // size: 0x28
  extern char *GalErrors[10];
  
  // address: 0x800B603C
  // size: 0x28
  extern struct MEM_INIT_INFO PhantomMem;
  
  // address: 0x80133D00
  // size: 0x1380
  static char buf[4992];
  
  // address: 0x800B6064
  // size: 0x7
  static char NULL_REP[7];
  
  