#ifndef COMPILE_H
#include "COMPILE.H"
#endif
#ifdef MEDIA042_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
#ifdef MEDIA007_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_S20E_S21E
int16_t G0000_ai_Graphic562_Box_SpellArea[4];
int16_t G0001_ai_Graphic562_Box_ActionArea[4];
int16_t G0002_ai_Graphic562_Box_MovementArrows[4];
int16_t G0003_ai_Graphic562_Box_Title_StrikesBack_Destination[4];
int16_t G0004_ai_Graphic562_Box_Title_StrikesBack_Source[4];
int16_t G0005_ai_Graphic562_Box_Title_Presents[4];
int16_t G0006_ai_Graphic562_Box_Entrance_DungeonView[4];
int16_t G0007_ai_Graphic562_Box_Entrance_OpeningDoorLeft[4];
int16_t G0008_ai_Graphic562_Box_Entrance_OpeningDoorRight[4];
int16_t G0009_ai_Graphic562_Box_Entrance_Doors[4]; /* = { 0, 231, 0, 160 } */
int16_t G0010_ai_Graphic562_Box_Entrance_ClosedDoorLeft[4];
int16_t G0011_ai_Graphic562_Box_Entrance_ClosedDoorRight[4];
int16_t G0012_ai_Graphic562_Box_Endgame_TheEnd[4];
int16_t G0013_ai_Graphic562_Box_Endgame_Restart_Outer[4];
int16_t G0014_ai_Graphic562_Box_Endgame_Restart_Inner[4];
int16_t G0015_ai_Graphic562_Box_Endgame_ChampionMirror[4];
int16_t G0016_ai_Graphic562_Box_Endgame_ChampionPortrait[4];
unsigned char G0017_auc_Graphic562_PaletteChanges_NoChanges[16];
int16_t G0018_ai_Graphic562_MandatoryGraphicIndices[M531_MANDATORY_GRAPHIC_COUNT]; /* Indices of graphics that must always be loaded */
unsigned int16_t G0019_aui_Graphic562_Palette_Credits[16];
unsigned int16_t G0020_aui_Graphic562_Palette_Entrance[16];
unsigned int16_t G0021_aaui_Graphic562_Palette_DungeonView[6][16];
int16_t G0022_i_Graphic562_IndirectStopExpiringEvent_CPSE; /* This variable is necessary even if NOCOPYPROTECTION is defined because a value is loaded for it from graphic #562 */
char G0023_aac_Graphic562_OrderedCellsToAttack[8][4];
unsigned char G0024_auc_Graphic562_WoundProbabilityIndexToWoundMask[4];
unsigned char G0025_auc_Graphic562_StealFromSlotIndices[8]; /* BUG0_00 Useless code. Unreferenced in versions 1.x and 2.x where it is replaced by G0394_auc_StealFromSlotIndices in F0193_GROUP_StealFromChampion */
int16_t G0026_ai_Graphic562_IconGraphicFirstIconIndex[7];
char G0027_auc_Graphic562_Box_Unreferenced[4]; /* BUG0_00 Useless code. Values 0 15 0 15. Probably a box for icon */
int16_t G0028_ai_Graphic562_Box_LeaderHandObjectName[4];
unsigned char G0029_auc_Graphic562_ChargeCountToTorchType[16];
SLOT_BOX G0030_as_Graphic562_SlotBoxes[46]; /* 8 for champion hands in status boxes, 30 for champion inventory, 8 for chest */
int16_t G0031_i_Graphic562_FuzzySectorAnalyzed_CPSE; /* This variable is necessary even if NOCOPYPROTECTION is defined because a value is loaded for it from graphic #562 */
int16_t G0032_ai_Graphic562_Box_Panel[4];
int16_t G0033_ai_Graphic562_Box_ArrowOrEye[4];
int16_t G0034_ai_Graphic562_Box_ObjectDescriptionCircle[4];
int16_t G0035_ai_Graphic562_Box_Food[4];
int16_t G0036_ai_Graphic562_Box_Water[4];
int16_t G0037_ai_Graphic562_Box_Poisoned[4];
int16_t G0038_ai_Graphic562_SlotMasks[38]; /* 30 for champion inventory, 8 for chest */
int16_t G0039_ai_Graphic562_LightPowerToLightAmount[16];
int16_t G0040_ai_Graphic562_PaletteIndexToLightAmount[6];
int16_t G0041_ai_Graphic562_Box_ViewportFloppyZzzCross[4];
unsigned char G0042_auc_Graphic562_Bitmap_ArrowPointer[M075_BITMAP_BYTE_COUNT(16, 16)]; /* = {
        0x00, 0x00, 0x00, 0x00, 0x3F, 0xFF, 0x3F, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x5F, 0xFF, 0x1F, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x6F, 0xFF, 0x0F, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x77, 0xFF, 0x07, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x7B, 0xFF, 0x03, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x7D, 0xFF, 0x01, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x7E, 0xFF, 0x00, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x7F, 0x7F, 0x00, 0x7F,
        0x00, 0x00, 0x00, 0x00, 0x7F, 0xBF, 0x00, 0x3F,
        0x00, 0x00, 0x00, 0x00, 0x7C, 0x3F, 0x00, 0x3F,
        0x00, 0x00, 0x00, 0x00, 0x6D, 0xFF, 0x01, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x56, 0xFF, 0x10, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x36, 0xFF, 0x30, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0xFB, 0x7F, 0xF8, 0x7F,
        0x00, 0x00, 0x00, 0x00, 0xFB, 0x7F, 0xF8, 0x7F,
        0x00, 0x00, 0x00, 0x00, 0xFC, 0x7F, 0xFC, 0x7F } */
unsigned char G0043_auc_Graphic562_Bitmap_HandPointer[M075_BITMAP_BYTE_COUNT(16, 16)]; /* = {
        0x00, 0x00, 0x00, 0x00, 0xDF, 0xFF, 0x1F, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0x6A, 0xFF, 0x00, 0xFF,
        0x00, 0x00, 0x00, 0x00, 0xB5, 0x5F, 0x80, 0x1F,
        0x00, 0x00, 0x00, 0x00, 0xDA, 0xAF, 0xC0, 0x0F,
        0x00, 0x00, 0x00, 0x00, 0xED, 0x57, 0xE0, 0x07,
        0x00, 0x00, 0x00, 0x00, 0xEE, 0xAB, 0xE0, 0x03,
        0x00, 0x00, 0x00, 0x00, 0x37, 0xFB, 0x30, 0x03,
        0x00, 0x00, 0x00, 0x00, 0xD7, 0xFD, 0x10, 0x01,
        0x00, 0x00, 0x00, 0x00, 0x67, 0xFD, 0x00, 0x01,
        0x00, 0x00, 0x00, 0x00, 0x77, 0xFD, 0x00, 0x01,
        0x00, 0x00, 0x00, 0x00, 0xBF, 0xFD, 0x80, 0x01,
        0x00, 0x00, 0x00, 0x00, 0xBF, 0xFD, 0x80, 0x01,
        0x00, 0x00, 0x00, 0x00, 0xDF, 0xFE, 0xC0, 0x00,
        0x00, 0x00, 0x00, 0x00, 0xE7, 0xFF, 0xE0, 0x00,
        0x00, 0x00, 0x00, 0x00, 0xF9, 0xFF, 0xF8, 0x00,
        0x00, 0x00, 0x00, 0x00, 0xFE, 0xFF, 0xFE, 0x00 } */
unsigned char G0044_auc_Graphic562_PaletteChanges_MousePointerIcon[16];
unsigned char G0045_auc_Graphic562_PaletteChanges_MousePointerIconShadow[16];
unsigned char G0046_auc_Graphic562_ChampionColor[4];
unsigned char G0047_auc_Graphic562_Box_ChampionPortrait[4];
int16_t G0048_ai_Graphic562_Box_Mouth[4];
int16_t G0049_ai_Graphic562_Box_Eye[4];
unsigned char G0050_auc_Graphic562_WoundDefenseFactor[6];
char G0051_ac_Graphic562_UnderscoreCharacterString[2];
char G0052_ac_Graphic562_RenameChampionInputCharacterString[2];
char G0053_ac_Graphic562_ReincarnateSpecialCharacters[6];
int16_t G0054_ai_Graphic562_Box_ChampionIcons[16]; /* Array of 4 boxes */
unsigned int16_t G0055_aaaui_Graphic562_BarGraphMasks[4][3][2]; /* = {
{ { Mask 1, Mask 2 }, { Mask 1, Mask 2 }, { Mask 1, Mask 2 } }
{ { 0x0003, 0xC000 }, { 0x0780, 0x0000 }, { 0x000F, 0x0000 } },   Champion 0
{ { 0x1E00, 0x0000 }, { 0x003C, 0x0000 }, { 0x7800, 0x0000 } },   Champion 1
{ { 0x00F0, 0x0000 }, { 0x0001, 0xE000 }, { 0x03C0, 0x0000 } },   Champion 2
{ { 0x0007, 0x8000 }, { 0x0F00, 0x0000 }, { 0x001E, 0x0000 } } }; Champion 3 */
unsigned int16_t G0056_aaui_Graphic562_BarGraphByteOffsets[4][3]; /* = {
        { Health Bar, Mana Bar, Stamina Bar }
        {  16,  24,  24 }, Champion 0
        {  56,  56,  64 }, Champion 1
        {  88,  88,  96 }, Champion 2
        { 120, 128, 128 } }; Champion 3 */
int16_t G0057_ai_Graphic562_SlotDropOrder[30];
int16_t G0058_i_Graphic562_Useless_CPSD; /* BUG0_00 Useless code. This variable is necessary even if NOCOPYPROTECTION is defined because a value is loaded for it from graphic #562 */
unsigned char G0059_auc_Graphic562_SquareTypeToEventType[7]; /* 1 byte of padding inserted by compiler */
SOUND_DATA G0060_as_Graphic562_Sounds[M513_SOUND_COUNT];
int16_t G0061_ai_Graphic562_Box_ScreenTop[4];
int16_t G0062_ai_Graphic562_Box_ScreenRight[4];
int16_t G0063_ai_Graphic562_Box_ScreenBottom[4];
long G0064_al_Graphic562_PrintTextMasks2[4];
long G0065_al_Graphic562_PrintTextMasks1[4];
char G0066_ac_Graphic562_LineFeedCharacterString[2];
int16_t G0067_i_Graphic562Anchor;
#endif
#ifdef MEDIA351_G14ED_G20E_G21E
/* TO BE MERGED WITH DATA IN OTHER VERSIONS ONCE CONTENT IS VALIDATED */
int16_t G0000_ai_Graphic562_Box_SpellArea[4] = { 224, 319, 42, 74 };
int16_t G0001_ai_Graphic562_Box_ActionArea[4] = { 224, 319, 77, 121 };
int16_t G0002_ai_Graphic562_Box_MovementArrows[4] = { 224, 319, 124, 168 };
int16_t G0003_ai_Graphic562_Box_Title_StrikesBack_Destination[4] = { 0, 319, 118, 174 };
int16_t G0004_ai_Graphic562_Box_Title_StrikesBack_Source[4] = { 0, 319, 0, 56 };
int16_t G0005_ai_Graphic562_Box_Title_Presents[4] = { 0, 319, 90, 105 };
int16_t G0006_ai_Graphic562_Box_Entrance_DungeonView[4] = { 0, 223, 3, 138 };
int16_t G0007_ai_Graphic562_Box_Entrance_OpeningDoorLeft[4] = { 0, 100, 0, 160 };
int16_t G0008_ai_Graphic562_Box_Entrance_OpeningDoorRight[4] = { 109, 231, 0, 160 };
int16_t G0009_ai_Graphic562_Box_Entrance_Doors[4] = { 0, 231, 0, 160 };
int16_t G0010_ai_Graphic562_Box_Entrance_ClosedDoorLeft[4] = { 0, 104, 30, 190 };
int16_t G0011_ai_Graphic562_Box_Entrance_ClosedDoorRight[4] = { 105, 231, 30, 190 };
int16_t G0012_ai_Graphic562_Box_Endgame_TheEnd[4] = { 120, 199, 95, 108 };
int16_t G0013_ai_Graphic562_Box_Endgame_Restart_Outer[4] = { 103, 217, 145, 159 };
int16_t G0014_ai_Graphic562_Box_Endgame_Restart_Inner[4] = { 105, 215, 147, 157 };
int16_t G0015_ai_Graphic562_Box_Endgame_ChampionMirror[4] = { 11, 74, 7, 49 };
int16_t G0016_ai_Graphic562_Box_Endgame_ChampionPortrait[4] = { 27, 58, 13, 41 };
unsigned char G0017_auc_Graphic562_PaletteChanges_NoChanges[16] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
int16_t G0018_ai_Graphic562_MandatoryGraphicIndices[M531_MANDATORY_GRAPHIC_COUNT] = {
        C007_GRAPHIC_STATUS_BOX,
        C008_GRAPHIC_STATUS_BOX_DEAD_CHAMPION,
        C009_GRAPHIC_MENU_SPELL_AREA_BACKGROUND,
        C010_GRAPHIC_MENU_ACTION_AREA,
        C012_GRAPHIC_FONT,
        C013_GRAPHIC_MOVEMENT_ARROWS,
        C017_GRAPHIC_INVENTORY,
        C018_GRAPHIC_ARROW_FOR_CHEST_CONTENT,
        C019_GRAPHIC_EYE_FOR_OBJECT_DESCRIPTION,
        C020_GRAPHIC_PANEL_EMPTY,
#ifdef MEDIA388_G20E_G21E
        C021_GRAPHIC_CHECK_FUZZY_BITS_IN_FUZZY_SECTOR,
#endif
        C034_GRAPHIC_SLOT_BOX_WOUNDED,
        C033_GRAPHIC_SLOT_BOX_NORMAL,
        C035_GRAPHIC_SLOT_BOX_ACTING_HAND,
        C030_GRAPHIC_FOOD_LABEL,
        C031_GRAPHIC_WATER_LABEL,
        C032_GRAPHIC_POISONED_LABEL,
        C023_GRAPHIC_PANEL_OPEN_SCROLL,
        C025_GRAPHIC_PANEL_OPEN_CHEST,
        C042_GRAPHIC_OBJECT_ICONS_000_TO_031,
        C043_GRAPHIC_OBJECT_ICONS_032_TO_063,
        C044_GRAPHIC_OBJECT_ICONS_064_TO_095,
        C045_GRAPHIC_OBJECT_ICONS_096_TO_127,
        C046_GRAPHIC_OBJECT_ICONS_128_TO_159,
        C047_GRAPHIC_OBJECT_ICONS_160_TO_191,
        C048_GRAPHIC_OBJECT_ICONS_192_TO_223,
        M754_GRAPHIC_FLOOR_PIT_D3L,
        M755_GRAPHIC_FLOOR_PIT_D3C,
        M756_GRAPHIC_FLOOR_PIT_D2L,
        M757_GRAPHIC_FLOOR_PIT_D2C,
        M758_GRAPHIC_FLOOR_PIT_D1L,
        M759_GRAPHIC_FLOOR_PIT_D1C,
        M760_GRAPHIC_FLOOR_PIT_D0L,
        M761_GRAPHIC_FLOOR_PIT_D0C,
        M762_GRAPHIC_FLOOR_PIT_INVISIBLE_D2L,
        M763_GRAPHIC_FLOOR_PIT_INVISIBLE_D2C,
        M764_GRAPHIC_FLOOR_PIT_INVISIBLE_D1L,
        M765_GRAPHIC_FLOOR_PIT_INVISIBLE_D1C,
        M766_GRAPHIC_FLOOR_PIT_INVISIBLE_D0L,
        M767_GRAPHIC_FLOOR_PIT_INVISIBLE_D0C,
        C063_GRAPHIC_CEILING_PIT_D2L,
        C064_GRAPHIC_CEILING_PIT_D2C,
        C065_GRAPHIC_CEILING_PIT_D1L,
        C066_GRAPHIC_CEILING_PIT_D1C,
        C067_GRAPHIC_CEILING_PIT_D0L,
        C068_GRAPHIC_CEILING_PIT_D0C,
        C069_GRAPHIC_FIELD_MASK_D3R,
        C070_GRAPHIC_FIELD_MASK_D2R,
        C071_GRAPHIC_FIELD_MASK_D1R,
        C072_GRAPHIC_FIELD_MASK_D0R,
        C073_GRAPHIC_FIELD_TELEPORTER,
        C074_GRAPHIC_FIELD_FLUXCAGE,
        M639_GRAPHIC_FLOOR_ORNAMENT_15_D3L_FOOTPRINTS,
        M749_GRAPHIC_FLOOR_ORNAMENT_15_D3C_FOOTPRINTS,
        M750_GRAPHIC_FLOOR_ORNAMENT_15_D2L_FOOTPRINTS,
        M751_GRAPHIC_FLOOR_ORNAMENT_15_D2C_FOOTPRINTS,
        M752_GRAPHIC_FLOOR_ORNAMENT_15_D1L_FOOTPRINTS,
        M753_GRAPHIC_FLOOR_ORNAMENT_15_D1C_FOOTPRINTS,
        M649_GRAPHIC_DOOR_MASK_DESTROYED,
        C302_GRAPHIC_DOOR_MASK_THIEVES_EYE,
        C041_GRAPHIC_HOLE_IN_WALL,
        M648_GRAPHIC_INSCRIPTION_FONT,
        C028_GRAPHIC_CHAMPION_ICONS,
        C029_GRAPHIC_OBJECT_DESCRIPTION_CIRCLE,
        C014_GRAPHIC_DAMAGE_TO_CREATURE,
        C015_GRAPHIC_DAMAGE_TO_CHAMPION_SMALL,
        C016_GRAPHIC_DAMAGE_TO_CHAMPION_BIG,
        C037_GRAPHIC_BORDER_PARTY_SHIELD,
        C038_GRAPHIC_BORDER_PARTY_FIRESHIELD,
        C039_GRAPHIC_BORDER_PARTY_SPELLSHIELD }; /* Indices of graphics that must always be loaded */
unsigned int16_t G0019_aui_Graphic562_Palette_Credits[16] = {
        0x009, 0x0AA, 0xFF6, 0x840, 0xFF8, 0x000, 0x080, 0xA00, 0xC84, 0xFFA, 0xF84, 0xFC0, 0xFA0, 0x000, 0x620, 0xFFC };
        /* Atari ST: { 0x003, 0x055, 0x773, 0x420, 0x774, 0x000, 0x040, 0x500, 0x642, 0x775, 0x742, 0x760, 0x750, 0x000, 0x310, 0x776 }, RGB colors are different */
unsigned int16_t G0020_aui_Graphic562_Palette_Entrance[16] = {
        0x000, 0x666, 0x888, 0x840, 0xCA8, 0x0C0, 0x080, 0x0A0, 0x864, 0xF00, 0xA86, 0x642, 0x444, 0xAAA, 0x620, 0xFFF };
        /* Atari ST: { 0x000, 0x333, 0x444, 0x420, 0x654, 0x210, 0x040, 0x050, 0x432, 0x700, 0x543, 0x321, 0x222, 0x555, 0x310, 0x777 }, RGB colors are different */
unsigned int16_t G0347_aui_Palette_TopAndBottomScreen[16] = {
        0x000, 0x666, 0x888, 0x620, 0x0CC, 0x840, 0x080, 0x0C0, 0xF00, 0xFA0, 0xC86, 0xFF0, 0x444, 0xAAA, 0x00F, 0xFFF };
unsigned int16_t G0021_aaui_Graphic562_Palette_DungeonView[6][16] = {
        0x000, 0x666, 0x888, 0x620, 0x0CC, 0x840, 0x080, 0x0C0, 0xF00, 0xFA0, 0xC86, 0xFF0, 0x444, 0xAAA, 0x00F, 0xFFF,
        /* Atari ST: { 0x000, 0x333, 0x444, 0x310, 0x066, 0x420, 0x040, 0x060, 0x700, 0x750, 0x643, 0x770, 0x222, 0x555, 0x007, 0x777 }, RGB colors are different */
        0x000, 0x444, 0x666, 0x620, 0x0CC, 0x820, 0x060, 0x0A0, 0xC00, 0x000, 0x000, 0xFC0, 0x222, 0x888, 0x00C, 0xCCC,
        /* Atari ST: { 0x000, 0x222, 0x333, 0x310, 0x066, 0x410, 0x030, 0x050, 0x600, 0x640, 0x532, 0x760, 0x111, 0x444, 0x006, 0x666 }, RGB colors are different */
        0x000, 0x222, 0x444, 0x420, 0x0CC, 0x620, 0x040, 0x080, 0xA00, 0x000, 0x000, 0xFA0, 0x000, 0x666, 0x00A, 0xAAA,
        /* Atari ST: { 0x000, 0x111, 0x222, 0x210, 0x066, 0x310, 0x020, 0x040, 0x500, 0x530, 0x421, 0x750, 0x000, 0x333, 0x005, 0x555 }, RGB colors are different */
        0x000, 0x000, 0x222, 0x200, 0x0CC, 0x420, 0x020, 0x060, 0x800, 0x000, 0x000, 0xC80, 0x000, 0x444, 0x008, 0x888,
        /* Atari ST: { 0x000, 0x000, 0x111, 0x100, 0x066, 0x210, 0x010, 0x030, 0x400, 0x420, 0x310, 0x640, 0x000, 0x222, 0x004, 0x444 }, RGB colors are different */
        0x000, 0x000, 0x000, 0x000, 0x0CC, 0x200, 0x000, 0x040, 0x600, 0x000, 0x000, 0xA60, 0x000, 0x222, 0x006, 0x666,
        /* Atari ST: { 0x000, 0x000, 0x000, 0x000, 0x066, 0x100, 0x000, 0x020, 0x300, 0x310, 0x200, 0x530, 0x000, 0x111, 0x003, 0x333 }, RGB colors are different */
        0x000, 0x000, 0x000, 0x000, 0x0CC, 0x000, 0x000, 0x020, 0x400, 0x000, 0x000, 0x640, 0x000, 0x000, 0x004, 0x444 };
        /* Atari ST: { 0x000, 0x000, 0x000, 0x000, 0x066, 0x000, 0x000, 0x010, 0x200, 0x200, 0x100, 0x320, 0x000, 0x000, 0x002, 0x222 }, RGB colors are different */
#ifdef MEDIA388_G20E_G21E
int16_t G0022_i_Graphic562_IndirectStopExpiringEvent_CPSE = C00555_FALSE;
#endif
char G0023_aac_Graphic562_OrderedCellsToAttack[8][4] = {
        { 0, 1, 3, 2 },   /* Attack South from position Northwest or Southwest */
        { 1, 0, 2, 3 },   /* Attack South from position Northeast or Southeast */
        { 1, 2, 0, 3 },   /* Attack West from position Northwest or Northeast */
        { 2, 1, 3, 0 },   /* Attack West from position Southeast or Southwest */
        { 3, 2, 0, 1 },   /* Attack North from position Northwest or Southwest */
        { 2, 3, 1, 0 },   /* Attack North from position Southeast or Northeast */
        { 0, 3, 1, 2 },   /* Attack East from position Northwest or Northeast */
        { 3, 0, 2, 1 } }; /* Attack East from position Southeast or Southwest */
unsigned char G0024_auc_Graphic562_WoundProbabilityIndexToWoundMask[4] = { MASK0x0020_WOUND_FEET, MASK0x0010_WOUND_LEGS, MASK0x0008_WOUND_TORSO, MASK0x0004_WOUND_HEAD };
unsigned char G0025_auc_Graphic562_StealFromSlotIndices[8] = {
        C10_SLOT_NECK,
        C11_SLOT_POUCH_1,
        C13_SLOT_BACKPACK_LINE1_1,
        C12_SLOT_QUIVER_LINE1_1,
        C10_SLOT_NECK,
        C13_SLOT_BACKPACK_LINE1_1,
        C06_SLOT_POUCH_2,
        C13_SLOT_BACKPACK_LINE1_1 }; /* BUG0_00 Useless code. Unreferenced in versions 1.x and 2.x where it is replaced by G0394_auc_StealFromSlotIndices in F0193_GROUP_StealFromChampion */
int16_t G0026_ai_Graphic562_IconGraphicFirstIconIndex[7] = {
        0,     /* First icon index in graphic #42 */
        32,    /* First icon index in graphic #43 */
        64,    /* First icon index in graphic #44 */
        96,    /* First icon index in graphic #45 */
        128,   /* First icon index in graphic #46 */
        160,   /* First icon index in graphic #47 */
        192 }; /* First icon index in graphic #48 */
char G0027_auc_Graphic562_Box_Unreferenced[4] = { 0, 15, 0, 15 }; /* BUG0_00 Useless code. Values 0 15 0 15. Probably a box for icon */
int16_t G0028_ai_Graphic562_Box_LeaderHandObjectName[4] = { 233, 319, 33, 38 };
unsigned char G0029_auc_Graphic562_ChargeCountToTorchType[16] = { 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3 };
SLOT_BOX G0030_as_Graphic562_SlotBoxes[46] = { /* 8 for champion hands in status boxes, 30 for champion inventory, 8 for chest */
        {   4,  10, 0 }, /* Champion Status Box 0 Ready Hand */
        {  24,  10, 0 }, /* Champion Status Box 0 Action Hand */
        {  73,  10, 0 }, /* Champion Status Box 1 Ready Hand */
        {  93,  10, 0 }, /* Champion Status Box 1 Action Hand */
        { 142,  10, 0 }, /* Champion Status Box 2 Ready Hand */
        { 162,  10, 0 }, /* Champion Status Box 2 Action Hand */
        { 211,  10, 0 }, /* Champion Status Box 3 Ready Hand */
        { 231,  10, 0 }, /* Champion Status Box 3 Action Hand */
        {   6,  53, 0 }, /* Ready Hand */
        {  62,  53, 0 }, /* Action Hand */
        {  34,  26, 0 }, /* Head */
        {  34,  46, 0 }, /* Torso */
        {  34,  66, 0 }, /* Legs */
        {  34,  86, 0 }, /* Feet */
        {   6,  90, 0 }, /* Pouch 2 */
        {  79,  73, 0 }, /* Quiver Line2 1 */
        {  62,  90, 0 }, /* Quiver Line1 2 */
        {  79,  90, 0 }, /* Quiver Line2 2 */
        {   6,  33, 0 }, /* Neck */
        {   6,  73, 0 }, /* Pouch 1 */
        {  62,  73, 0 }, /* Quiver Line1 1 */
        {  66,  33, 0 }, /* Backpack Line1 1 */
        {  83,  16, 0 }, /* Backpack Line2 2 */
        { 100,  16, 0 }, /* Backpack Line2 3 */
        { 117,  16, 0 }, /* Backpack Line2 4 */
        { 134,  16, 0 }, /* Backpack Line2 5 */
        { 151,  16, 0 }, /* Backpack Line2 6 */
        { 168,  16, 0 }, /* Backpack Line2 7 */
        { 185,  16, 0 }, /* Backpack Line2 8 */
        { 202,  16, 0 }, /* Backpack Line2 9 */
        {  83,  33, 0 }, /* Backpack Line1 2 */
        { 100,  33, 0 }, /* Backpack Line1 3 */
        { 117,  33, 0 }, /* Backpack Line1 4 */
        { 134,  33, 0 }, /* Backpack Line1 5 */
        { 151,  33, 0 }, /* Backpack Line1 6 */
        { 168,  33, 0 }, /* Backpack Line1 7 */
        { 185,  33, 0 }, /* Backpack Line1 8 */
        { 202,  33, 0 }, /* Backpack Line1 9 */
        { 117,  59, 0 }, /* Chest 1 */
        { 106,  76, 0 }, /* Chest 2 */
        { 111,  93, 0 }, /* Chest 3 */
        { 128,  98, 0 }, /* Chest 4 */
        { 145, 101, 0 }, /* Chest 5 */
        { 162, 103, 0 }, /* Chest 6 */
        { 179, 104, 0 }, /* Chest 7 */
        { 196, 105, 0 } }; /* Chest 8 */
#ifdef MEDIA388_G20E_G21E
int16_t G0031_i_Graphic562_FuzzySectorAnalyzed_CPSE = C00255_FALSE;
#endif
int16_t G0032_ai_Graphic562_Box_Panel[4] = { 80, 223, 52, 124 };
int16_t G0033_ai_Graphic562_Box_ArrowOrEye[4] = { 83, 98, 57, 65 };
int16_t G0034_ai_Graphic562_Box_ObjectDescriptionCircle[4] = { 105, 136, 53, 79 };
int16_t G0035_ai_Graphic562_Box_Food[4] = { 112, 159, 60, 68 };
int16_t G0036_ai_Graphic562_Box_Water[4] = { 112, 159, 83, 91 };
int16_t G0037_ai_Graphic562_Box_Poisoned[4] = { 112, 207, 105, 119 };
int16_t G0038_ai_Graphic562_SlotMasks[38] = { /* 30 for champion inventory, 8 for chest */
        MASK0xFFFF_ANY_SLOT,                     /* Ready Hand */
        MASK0xFFFF_ANY_SLOT,                     /* Action Hand */
        MASK0x0002_HEAD,                         /* Head */
        MASK0x0008_TORSO,                        /* Torso */
        MASK0x0010_LEGS,                         /* Legs */
        MASK0x0020_FEET,                         /* Feet */
        MASK0x0100_POUCH_AND_PASS_THROUGH_DOORS, /* Pouch 2 */
        MASK0x0080_QUIVER_LINE2,                 /* Quiver Line2 1 */
        MASK0x0080_QUIVER_LINE2,                 /* Quiver Line1 2 */
        MASK0x0080_QUIVER_LINE2,                 /* Quiver Line2 2 */
        MASK0x0004_NECK,                         /* Neck */
        MASK0x0100_POUCH_AND_PASS_THROUGH_DOORS, /* Pouch 1 */
        MASK0x0040_QUIVER_LINE1,                 /* Quiver Line1 1 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 1 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 2 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 3 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 4 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 5 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 6 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 7 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 8 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 9 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 2 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 3 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 4 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 5 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 6 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 7 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 8 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 9 */
        MASK0x0400_CONTAINER,                    /* Chest 1 */
        MASK0x0400_CONTAINER,                    /* Chest 2 */
        MASK0x0400_CONTAINER,                    /* Chest 3 */
        MASK0x0400_CONTAINER,                    /* Chest 4 */
        MASK0x0400_CONTAINER,                    /* Chest 5 */
        MASK0x0400_CONTAINER,                    /* Chest 6 */
        MASK0x0400_CONTAINER,                    /* Chest 7 */
        MASK0x0400_CONTAINER };                  /* Chest 8 */
int16_t G0039_ai_Graphic562_LightPowerToLightAmount[16] = { 0, 5, 12, 24, 33, 40, 46, 51, 59, 68, 76, 82, 89, 94, 97, 100 };
int16_t G0040_ai_Graphic562_PaletteIndexToLightAmount[6] = { 99, 75, 50, 25, 1, 0 };
int16_t G0041_ai_Graphic562_Box_ViewportFloppyZzzCross[4] = { 174, 218, 2, 12 };
unsigned char G0042_auc_Graphic562_Bitmap_ArrowPointer[2][66] = {
        { 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00,
          0xFB, 0xF0, 0x00, 0x00, 0x00, 0x00,
          0xFB, 0xBF, 0x00, 0x00, 0x00, 0x00,
          0xFB, 0xBB, 0xF0, 0x00, 0x00, 0x00,
          0xFB, 0xBB, 0xBF, 0x00, 0x00, 0x00,
          0xFB, 0xBB, 0xBB, 0xF0, 0x00, 0x00,
          0xFB, 0xBB, 0xBB, 0xBF, 0x00, 0x00,
          0xFB, 0xBB, 0xBB, 0xBB, 0xF0, 0x00,
          0xFB, 0xBF, 0xBB, 0xFF, 0x00, 0x00,
          0xFF, 0xF0, 0xFB, 0xBF, 0x00, 0x00,
          0x00, 0x00, 0x0F, 0xFF, 0x00, 0x00 },
        { 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00,
          0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00,
          0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
          0xFF, 0xFF, 0xF0, 0x00, 0x00, 0x00,
          0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
          0xFF, 0xFF, 0xFF, 0xF0, 0x00, 0x00,
          0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00,
          0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x00,
          0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00,
          0xFF, 0xF0, 0xFF, 0xFF, 0x00, 0x00,
          0x00, 0x00, 0x0F, 0xFF, 0x00, 0x00 } };
unsigned char G0043_auc_Graphic562_Bitmap_HandPointer[2][128] = {
        { 0xBB, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0xFB, 0xBF, 0xBF, 0xBF, 0x00, 0x00, 0x00, 0x00,
          0x0F, 0xBB, 0xFB, 0xFB, 0xFB, 0xF0, 0x00, 0x00,
          0x00, 0xFB, 0xBF, 0xBF, 0xBF, 0xBF, 0x00, 0x00,
          0x00, 0x0F, 0xBB, 0xFB, 0xFB, 0xFB, 0xF0, 0x00,
          0x00, 0x0F, 0xBB, 0xBF, 0xBF, 0xBF, 0xBF, 0x00,
          0xFF, 0x00, 0xFB, 0xBB, 0xBB, 0xBB, 0xBF, 0x00,
          0xBB, 0xF0, 0xFB, 0xBB, 0xBB, 0xBB, 0xBB, 0xF0,
          0xFB, 0xBF, 0xFB, 0xBB, 0xBB, 0xBB, 0xBB, 0xF0,
          0xFB, 0xBB, 0xFB, 0xBB, 0xBB, 0xBB, 0xBB, 0xF0,
          0x0F, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xF0,
          0x0F, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xF0,
          0x00, 0xFB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBF,
          0x00, 0x0F, 0xFB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB,
          0x00, 0x00, 0x0F, 0xFB, 0xBB, 0xBB, 0xBB, 0xBB,
          0x00, 0x00, 0x00, 0x0F, 0xBB, 0xBB, 0xBB, 0xBB },
        { 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
          0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x00, 0x00,
          0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00,
          0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x00,
          0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
          0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
          0xFF, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0,
          0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0,
          0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0,
          0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0,
          0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0,
          0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
          0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
          0x00, 0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
          0x00, 0x00, 0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF } };
unsigned char G0045_auc_Graphic562_PaletteChanges_MousePointerIconShadow[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0 };
unsigned char G0044_auc_Graphic562_PaletteChanges_MousePointerIcon[16] = { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 12, 4, 4, 4 };
unsigned char G4010_auc_PaletteChanges_CursorMask[16] = { 15, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
unsigned char G4011_auc_PaletteChanges[16] = { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 0, 2, 1, 0 };
unsigned char G4013_auc_PaletteChanges_CursorMask[16] = { 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 15, 15, 15 };
unsigned char G0046_auc_Graphic562_ChampionColor[4] = { 7, 11, 8, 14 };
unsigned char G0047_auc_Graphic562_Box_ChampionPortrait[4] = { 0, 31, 0, 28 };
int16_t G0048_ai_Graphic562_Box_Mouth[4] = { 55, 72, 12, 29 };
int16_t G0049_ai_Graphic562_Box_Eye[4] = { 11, 28, 12, 29 };
unsigned char G0050_auc_Graphic562_WoundDefenseFactor[6] = { 5, 5, 4, 6, 3, 1 };
char G0051_ac_Graphic562_UnderscoreCharacterString[2] = "_";
char G0052_ac_Graphic562_RenameChampionInputCharacterString[2] = " ";
char G0053_ac_Graphic562_ReincarnateSpecialCharacters[6] = { ',', '.', ';', ':', ' ' };
int16_t G0054_ai_Graphic562_Box_ChampionIcons[16] = { /* Array of 4 boxes */
        281, 299,  0, 13,
        301, 319,  0, 13,
        301, 319, 15, 28,
        281, 299, 15, 28 };
int16_t G0057_ai_Graphic562_SlotDropOrder[30] = {
        C05_SLOT_FEET,
        C04_SLOT_LEGS,
        C09_SLOT_QUIVER_LINE2_2,
        C08_SLOT_QUIVER_LINE1_2,
        C07_SLOT_QUIVER_LINE2_1,
        C12_SLOT_QUIVER_LINE1_1,
        C06_SLOT_POUCH_2,
        C11_SLOT_POUCH_1,
        C03_SLOT_TORSO,
        C13_SLOT_BACKPACK_LINE1_1,
        C14_SLOT_BACKPACK_LINE2_2,
        C15_SLOT_BACKPACK_LINE2_3,
        C16_SLOT_BACKPACK_LINE2_4,
        C17_SLOT_BACKPACK_LINE2_5,
        C18_SLOT_BACKPACK_LINE2_6,
        C19_SLOT_BACKPACK_LINE2_7,
        C20_SLOT_BACKPACK_LINE2_8,
        C21_SLOT_BACKPACK_LINE2_9,
        C22_SLOT_BACKPACK_LINE1_2,
        C23_SLOT_BACKPACK_LINE1_3,
        C24_SLOT_BACKPACK_LINE1_4,
        C25_SLOT_BACKPACK_LINE1_5,
        C26_SLOT_BACKPACK_LINE1_6,
        C27_SLOT_BACKPACK_LINE1_7,
        C28_SLOT_BACKPACK_LINE1_8,
        C29_SLOT_BACKPACK_LINE1_9,
        C10_SLOT_NECK,
        C02_SLOT_HEAD,
        C00_SLOT_READY_HAND,
        C01_SLOT_ACTION_HAND };
#ifdef MEDIA388_G20E_G21E
int16_t G0058_i_Graphic562_Useless_CPSD = 19; /* BUG0_00 Useless code */
#endif
unsigned char G0059_auc_Graphic562_SquareTypeToEventType[7] = {
        C06_EVENT_WALL,
        C05_EVENT_CORRIDOR,
        C09_EVENT_PIT,
        C00_EVENT_NONE,
        C10_EVENT_DOOR,
        C08_EVENT_TELEPORTER,
        C07_EVENT_FAKEWALL }; /* 1 byte of padding inserted by compiler */
SOUND_DATA G0060_as_Graphic562_Sounds[M513_SOUND_COUNT] = {
        { 533, 0, 112,  11, 0, 3, 6 }, /* C00_SOUND_METALLIC_THUD */
        { 534, 0, 112,  15, 0, 0, 3 }, /* C01_SOUND_SWITCH */
        { 535, 0, 112,  72, 0, 3, 6 }, /* C02_SOUND_DOOR_RATTLE */
        { 550, 0, 112,  60, 0, 3, 5 }, /* C03_SOUND_ATTACK_PAIN_RAT_HELLHOUND_RED_DRAGON */
        { 536, 0, 112,  10, 0, 3, 6 }, /* C04_SOUND_WOODEN_THUD_ATTACK_TROLIN_ANTMAN_STONE_GOLEM */
        { 537, 0, 112,  99, 0, 3, 7 }, /* C05_SOUND_STRONG_EXPLOSION */
        { 539, 0, 112, 110, 0, 3, 6 }, /* M561_SOUND_SCREAM */
        { 551, 0, 112,  55, 0, 3, 5 }, /* C07_SOUND_ATTACK_MUMMY_GHOST_RIVE */
        { 540, 0, 112,   2, 0, 3, 6 }, /* C08_SOUND_SWALLOW */
        { 541, 0, 112,  80, 0, 3, 6 }, /* C09_SOUND_CHAMPION_0_DAMAGED */
        { 542, 0, 112,  82, 0, 3, 6 }, /* C10_SOUND_CHAMPION_1_DAMAGED */
        { 543, 0, 112,  84, 0, 3, 6 }, /* C11_SOUND_CHAMPION_2_DAMAGED */
        { 544, 0, 112,  86, 0, 3, 6 }, /* C12_SOUND_CHAMPION_3_DAMAGED */
        { 545, 0, 112,  95, 0, 3, 6 }, /* M542_SOUND_SPELL */
        { 552, 0, 112,  57, 0, 3, 5 }, /* C14_SOUND_ATTACK_SCREAMER_OITU */
        { 553, 0, 112,  52, 0, 3, 5 }, /* C15_SOUND_ATTACK_GIANT_SCORPION_SCORPION */
        { 546, 0, 112,  40, 0, 2, 4 }, /* M563_SOUND_COMBAT_ATTACK_SKELETON_ANIMATED_ARMOUR_DETH_KNIGHT */
        { 547, 0, 112,  70, 0, 1, 4 }, /* M560_SOUND_BUZZ */
#ifdef MEDIA349_G14ED
        { 549, 0, 112,  75, 0, 3, 6 }, /* M562_SOUND_PARTY_DAMAGED */
#endif
#ifdef MEDIA388_G20E_G21E
        { 549, 0, 138,  75, 0, 3, 6 }, /* M562_SOUND_PARTY_DAMAGED */
#endif
        { 554, 0, 112,  50, 0, 3, 5 }, /* C19_SOUND_ATTACK_MAGENTA_WORM_WORM */
        { 537, 0, 112,  98, 0, 0, 4 }, /* M541_SOUND_WEAK_EXPLOSION */
        { 555, 0, 112,  96, 0, 2, 4 }, /* C21_SOUND_ATTACK_GIGGLER */
#ifdef MEDIA349_G14ED
        { 563, 0, 138,  20, 0, 0, 4 }, /* C22_SOUND_MOVE_ANIMATED_ARMOUR_DETH_KNIGHT Atari ST: not present */
        { 564, 0, 138,  20, 0, 0, 4 }, /* C23_SOUND_MOVE_COUATL_GIANT_WASP_MUNCHER Atari ST: not present */
        { 565, 0, 138,  20, 0, 0, 4 }, /* C24_SOUND_MOVE_MUMMY_TROLIN_ANTMAN_STONE_GOLEM_GIGGLER_VEXIRK_DEMON Atari ST: not present */
        { 566, 0, 138,  20, 0, 0, 4 }, /* M620_SOUND_BLOW_HORN Atari ST: not present */
        { 567, 0, 138,  20, 0, 0, 4 }, /* C26_SOUND_MOVE_SCREAMER_ROCK_ROCKPILE_MAGENTA_WORM_WORM_PAIN_RAT_HELLHOUND_RUSTER_GIANT_SCORPION_SCORPION_OITU Atari ST: not present */
        { 568, 0, 138,  20, 0, 0, 4 }, /* C27_SOUND_MOVE_SWAMP_SLIME_SLIME_DEVIL_WATER_ELEMENTAL Atari ST: not present */
        { 569, 0, 138,  20, 0, 0, 4 }  /* M619_SOUND_WAR_CRY Atari ST: not present */
#endif
#ifdef MEDIA388_G20E_G21E
        { 563, 0, 138,  24, 0, 0, 4 }, /* C22_SOUND_MOVE_ANIMATED_ARMOUR_DETH_KNIGHT Atari ST: not present */
        { 564, 0, 138,  21, 0, 0, 4 }, /* C23_SOUND_MOVE_COUATL_GIANT_WASP_MUNCHER Atari ST: not present */
        { 565, 0, 138,  23, 0, 0, 4 }, /* C24_SOUND_MOVE_MUMMY_TROLIN_ANTMAN_STONE_GOLEM_GIGGLER_VEXIRK_DEMON Atari ST: not present */
        { 566, 0, 138, 105, 0, 0, 4 }, /* M620_SOUND_BLOW_HORN Atari ST: not present */
        { 567, 0, 138,  27, 0, 0, 4 }, /* C26_SOUND_MOVE_SCREAMER_ROCK_ROCKPILE_MAGENTA_WORM_WORM_PAIN_RAT_HELLHOUND_RUSTER_GIANT_SCORPION_SCORPION_OITU Atari ST: not present */
        { 568, 0, 138,  28, 0, 0, 4 }, /* C27_SOUND_MOVE_SWAMP_SLIME_SLIME_DEVIL_WATER_ELEMENTAL Atari ST: not present */
        { 569, 0, 138, 106, 0, 0, 4 }  /* M619_SOUND_WAR_CRY Atari ST: not present */
                                     ,
        { 570, 0, 138,  56, 0, 0, 4 }, /* C29_SOUND_ATTACK_ROCK_ROCKPILE Atari ST: not present */
        { 571, 0, 138,  58, 0, 0, 4 }, /* C30_SOUND_ATTACK_WATER_ELEMENTAL Atari ST: not present */
        { 572, 0, 112,  53, 0, 0, 4 }, /* C31_SOUND_ATTACK_COUATL Atari ST: not present */
        { 573, 0, 138,  29, 0, 0, 4 }, /* C32_SOUND_MOVE_RED_DRAGON Atari ST: not present */
        { 574, 0, 150,  22, 0, 0, 4 }  /* C33_SOUND_MOVE_SKELETON Atari ST: not present */
#endif
        };
int16_t G0061_ai_Graphic562_Box_ScreenTop[4] = { 0, 319, 0, 32 };
int16_t G0062_ai_Graphic562_Box_ScreenRight[4] = { 224, 319, 33, 169 };
int16_t G0063_ai_Graphic562_Box_ScreenBottom[4] = { 0, 319, 169, 199 };
long G0064_al_Graphic562_PrintTextMasks2[4] = { 0xFFF0FFF0, 0xFFF8FFF8, 0xFFFCFFFC, 0xFFFEFFFE };
long G0065_al_Graphic562_PrintTextMasks1[4] = { 0x7FFF7FFF, 0x3FFF3FFF, 0x1FFF1FFF, 0x0FFF0FFF };
char G0066_ac_Graphic562_LineFeedCharacterString[2] = "\n";
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
int16_t G0000_ai_Graphic562_Box_SpellArea[4] = { 224, 319, 42, 74 };
int16_t G0001_ai_Graphic562_Box_ActionArea[4] = { 224, 319, 77, 121 };
int16_t G0002_ai_Graphic562_Box_MovementArrows[4] = { 224, 319, 124, 168 };
int16_t G1075_ai_Box_Title_Dungeon_Chaos[4] = { 0, 319, 0, 79 };
#endif
#ifdef MEDIA419_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB
int16_t G0003_ai_Graphic562_Box_Title_StrikesBack_Destination[4] = { 0, 319, 118, 174 };
int16_t G0004_ai_Graphic562_Box_Title_StrikesBack_Source[4] = { 0, 319, 0, 56 };
int16_t G0005_ai_Graphic562_Box_Title_Presents[4] = { 0, 319, 90, 105 };
int16_t G0006_ai_Graphic562_Box_Entrance_DungeonView[4] = { 0, 223, 3, 138 };
int16_t G0007_ai_Graphic562_Box_Entrance_OpeningDoorLeft[4] = { 0, 100, 0, 160 };
int16_t G0008_ai_Graphic562_Box_Entrance_OpeningDoorRight[4] = { 109, 231, 0, 160 };
#endif
#ifdef MEDIA508_F20E_F20J_X30J_P20JA_P20JB
int16_t G0009_ai_Graphic562_Box_Entrance_Doors[4] = { 0, 231, 0, 160 };
#endif
#ifdef MEDIA487_F20E
int16_t G0010_ai_Graphic562_Box_Entrance_ClosedDoorLeft[4] = { 0, 104, 30, 190 };
int16_t G0011_ai_Graphic562_Box_Entrance_ClosedDoorRight[4] = { 105, 231, 30, 190 };
int16_t G0013_ai_Graphic562_Box_Endgame_Restart_Outer[4] = { 103, 217, 145, 159 };
int16_t G0014_ai_Graphic562_Box_Endgame_Restart_Inner[4] = { 105, 215, 147, 157 };
#endif
#ifdef MEDIA569_F20J_X30J_P20JA_P20JB
int16_t G0010_ai_Graphic562_Box_Entrance_ClosedDoorLeft[4] = { 0, 104, 28, 188 };
int16_t G0011_ai_Graphic562_Box_Entrance_ClosedDoorRight[4] = { 105, 231, 28, 188 };
int16_t G0013_ai_Graphic562_Box_Endgame_Restart_Outer[4] = { 123, 196, 140, 164 };
int16_t G0014_ai_Graphic562_Box_Endgame_Restart_Inner[4] = { 125, 194, 142, 162 };
#endif
#ifdef MEDIA508_F20E_F20J_X30J_P20JA_P20JB
int16_t G3000_ai_Box_Screen[4] = { 0, 319, 0, 199 };
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
int16_t G1076_ai_Box_Entrance_DoorsUpperHalf[4] = { 0, 231, 0, 80 }; /* Partially replaces G0009_ai_Graphic562_Box_Entrance_Doors */
int16_t G1133_ai_Box_Entrance_DoorsLowerHalf[4] = { 0, 231, 81, 160 }; /* Partially replaces G0009_ai_Graphic562_Box_Entrance_Doors */
int16_t G0010_ai_Graphic562_Box_Entrance_ClosedDoorLeft[4] = { 0, 104, 30, 190 };
int16_t G0011_ai_Graphic562_Box_Entrance_ClosedDoorRight[4] = { 105, 231, 30, 190 };
int16_t G0012_ai_Graphic562_Box_Endgame_TheEnd[4] = { 120, 199, 95, 108 };
#ifdef MEDIA430_A20ED_A20E_A21E_A22E
int16_t G0013_ai_Graphic562_Box_Endgame_Restart_Outer[4] = { 103, 217, 145, 159 };
int16_t G0014_ai_Graphic562_Box_Endgame_Restart_Inner[4] = { 105, 215, 147, 157 };
#endif
#ifdef MEDIA446_A20G_A22G
int16_t G0013_ai_Graphic562_Box_Endgame_Restart_Outer[4] = { 82, 238, 145, 159 };
int16_t G0014_ai_Graphic562_Box_Endgame_Restart_Inner[4] = { 84, 236, 147, 157 };
#endif
#ifdef MEDIA443_A20F
int16_t G0013_ai_Graphic562_Box_Endgame_Restart_Outer[4] = { 100, 220, 145, 159 };
int16_t G0014_ai_Graphic562_Box_Endgame_Restart_Inner[4] = { 102, 218, 147, 157 };
#endif
int16_t G0015_ai_Graphic562_Box_Endgame_ChampionMirror[4] = { 11, 74, 7, 49 };
int16_t G0016_ai_Graphic562_Box_Endgame_ChampionPortrait[4] = { 27, 58, 13, 41 };
unsigned char G0017_auc_Graphic562_PaletteChanges_NoChanges[16] = { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150 };
#endif
#ifdef MEDIA618_A31E
int16_t G2019_ai_XYZ_Endgame_Restart_Outer[4] = { 103, 145, 115, 15 }; /* G0013_ai_Graphic562_Box_Endgame_Restart_Outer */
int16_t G2020_ai_XYZ_Endgame_Restart_Inner[4] = { 105, 147, 111, 11 }; /* G0014_ai_Graphic562_Box_Endgame_Restart_Inner */
#endif
#ifdef MEDIA689_F31J_X31J_P31J
int16_t G2021_ai_XYZ_Endgame_Quit_Outer[4] = { 139, 170,  42, 25 };
int16_t G2022_ai_XYZ_Endgame_Quit_Inner[4] = { 141, 172,  38, 21 };
int16_t G2019_ai_XYZ_Endgame_Restart_Outer[4] = { 123, 135, 74, 25 }; /* G0013_ai_Graphic562_Box_Endgame_Restart_Outer */
int16_t G2020_ai_XYZ_Endgame_Restart_Inner[4] = { 125, 137, 70, 21 }; /* G0014_ai_Graphic562_Box_Endgame_Restart_Inner */
#endif
#ifdef MEDIA707_I34E_I34M
int16_t G2021_ai_XYZ_Endgame_Quit_Outer[4] = { 127, 165,  67, 15 };
int16_t G2022_ai_XYZ_Endgame_Quit_Inner[4] = { 129, 167,  63, 11 };
#endif
#ifdef MEDIA669_F31E
int16_t G2021_ai_XYZ_Endgame_Quit_Outer[4] = { 142, 165,  37, 15 };
int16_t G2022_ai_XYZ_Endgame_Quit_Inner[4] = { 144, 167,  33, 11 };
#endif
#ifdef MEDIA710_I34E_I34M_F31E
int16_t G2019_ai_XYZ_Endgame_Restart_Outer[4] = { 103, 140, 115, 15 }; /* G0013_ai_Graphic562_Box_Endgame_Restart_Outer */
int16_t G2020_ai_XYZ_Endgame_Restart_Inner[4] = { 105, 142, 111, 11 }; /* G0014_ai_Graphic562_Box_Endgame_Restart_Inner */
#endif
#ifdef MEDIA419_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB
int16_t G0018_ai_Graphic562_MandatoryGraphicIndices[M531_MANDATORY_GRAPHIC_COUNT] = {
        C007_GRAPHIC_STATUS_BOX,
        C008_GRAPHIC_STATUS_BOX_DEAD_CHAMPION,
        C009_GRAPHIC_MENU_SPELL_AREA_BACKGROUND,
        C010_GRAPHIC_MENU_ACTION_AREA,
        C012_GRAPHIC_FONT,
        C013_GRAPHIC_MOVEMENT_ARROWS,
        C017_GRAPHIC_INVENTORY,
        C018_GRAPHIC_ARROW_FOR_CHEST_CONTENT,
        C019_GRAPHIC_EYE_FOR_OBJECT_DESCRIPTION,
        C020_GRAPHIC_PANEL_EMPTY,
#ifdef MEDIA433_A20E_A20F_A20G_A21E_A22E_A22G
        C021_GRAPHIC_CHECK_FUZZY_BITS_IN_FUZZY_SECTOR,
#endif
        C034_GRAPHIC_SLOT_BOX_WOUNDED,
        C033_GRAPHIC_SLOT_BOX_NORMAL,
        C035_GRAPHIC_SLOT_BOX_ACTING_HAND,
        C030_GRAPHIC_FOOD_LABEL,
        C031_GRAPHIC_WATER_LABEL,
        C032_GRAPHIC_POISONED_LABEL,
        C023_GRAPHIC_PANEL_OPEN_SCROLL,
        C025_GRAPHIC_PANEL_OPEN_CHEST,
        C042_GRAPHIC_OBJECT_ICONS_000_TO_031,
        C043_GRAPHIC_OBJECT_ICONS_032_TO_063,
        C044_GRAPHIC_OBJECT_ICONS_064_TO_095,
        C045_GRAPHIC_OBJECT_ICONS_096_TO_127,
        C046_GRAPHIC_OBJECT_ICONS_128_TO_159,
        C047_GRAPHIC_OBJECT_ICONS_160_TO_191,
        C048_GRAPHIC_OBJECT_ICONS_192_TO_223,
        M754_GRAPHIC_FLOOR_PIT_D3L,
        M755_GRAPHIC_FLOOR_PIT_D3C,
        M756_GRAPHIC_FLOOR_PIT_D2L,
        M757_GRAPHIC_FLOOR_PIT_D2C,
        M758_GRAPHIC_FLOOR_PIT_D1L,
        M759_GRAPHIC_FLOOR_PIT_D1C,
        M760_GRAPHIC_FLOOR_PIT_D0L,
        M761_GRAPHIC_FLOOR_PIT_D0C,
        M762_GRAPHIC_FLOOR_PIT_INVISIBLE_D2L,
        M763_GRAPHIC_FLOOR_PIT_INVISIBLE_D2C,
        M764_GRAPHIC_FLOOR_PIT_INVISIBLE_D1L,
        M765_GRAPHIC_FLOOR_PIT_INVISIBLE_D1C,
        M766_GRAPHIC_FLOOR_PIT_INVISIBLE_D0L,
        M767_GRAPHIC_FLOOR_PIT_INVISIBLE_D0C,
        C063_GRAPHIC_CEILING_PIT_D2L,
        C064_GRAPHIC_CEILING_PIT_D2C,
        C065_GRAPHIC_CEILING_PIT_D1L,
        C066_GRAPHIC_CEILING_PIT_D1C,
        C067_GRAPHIC_CEILING_PIT_D0L,
        C068_GRAPHIC_CEILING_PIT_D0C,
        C069_GRAPHIC_FIELD_MASK_D3R,
        C070_GRAPHIC_FIELD_MASK_D2R,
        C071_GRAPHIC_FIELD_MASK_D1R,
        C072_GRAPHIC_FIELD_MASK_D0R,
        C073_GRAPHIC_FIELD_TELEPORTER,
        C074_GRAPHIC_FIELD_FLUXCAGE,
        M639_GRAPHIC_FLOOR_ORNAMENT_15_D3L_FOOTPRINTS,
        M749_GRAPHIC_FLOOR_ORNAMENT_15_D3C_FOOTPRINTS,
        M750_GRAPHIC_FLOOR_ORNAMENT_15_D2L_FOOTPRINTS,
        M751_GRAPHIC_FLOOR_ORNAMENT_15_D2C_FOOTPRINTS,
        M752_GRAPHIC_FLOOR_ORNAMENT_15_D1L_FOOTPRINTS,
        M753_GRAPHIC_FLOOR_ORNAMENT_15_D1C_FOOTPRINTS,
        M649_GRAPHIC_DOOR_MASK_DESTROYED,
        C302_GRAPHIC_DOOR_MASK_THIEVES_EYE,
        C041_GRAPHIC_HOLE_IN_WALL,
        M648_GRAPHIC_INSCRIPTION_FONT,
        C028_GRAPHIC_CHAMPION_ICONS,
        C029_GRAPHIC_OBJECT_DESCRIPTION_CIRCLE,
        C014_GRAPHIC_DAMAGE_TO_CREATURE,
        C015_GRAPHIC_DAMAGE_TO_CHAMPION_SMALL,
        C016_GRAPHIC_DAMAGE_TO_CHAMPION_BIG,
        C037_GRAPHIC_BORDER_PARTY_SHIELD,
        C038_GRAPHIC_BORDER_PARTY_FIRESHIELD,
        C039_GRAPHIC_BORDER_PARTY_SPELLSHIELD }; /* Indices of graphics that must always be loaded */
#endif
#ifdef MEDIA720_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
int16_t G0018_ai_Graphic562_MandatoryGraphicIndices[M531_MANDATORY_GRAPHIC_COUNT] = {
        C007_GRAPHIC_STATUS_BOX,
        C008_GRAPHIC_STATUS_BOX_DEAD_CHAMPION,
        C009_GRAPHIC_MENU_SPELL_AREA_LINES,
        C010_GRAPHIC_MENU_ACTION_AREA,
        C013_GRAPHIC_MOVEMENT_ARROWS,
        C017_GRAPHIC_INVENTORY,
        C018_GRAPHIC_ARROW_FOR_CHEST_CONTENT,
        C019_GRAPHIC_EYE_FOR_OBJECT_DESCRIPTION,
        C020_GRAPHIC_PANEL_EMPTY,
#ifdef MEDIA626_A31E_A31M_A33M_A35E_A35M
        C021_GRAPHIC_CHECK_FUZZY_BITS_IN_FUZZY_SECTOR,
#endif
        C034_GRAPHIC_SLOT_BOX_WOUNDED,
        C033_GRAPHIC_SLOT_BOX_NORMAL,
        C035_GRAPHIC_SLOT_BOX_ACTING_HAND,
        C030_GRAPHIC_FOOD_LABEL,
        C031_GRAPHIC_WATER_LABEL,
        C032_GRAPHIC_POISONED_LABEL,
#ifdef MEDIA629_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
        C012_GRAPHIC_MAGIC_MAP_ICONS,
        C024_GRAPHIC_PANEL_MAGIC_MAP,
#endif
        C023_GRAPHIC_PANEL_OPEN_SCROLL,
        C025_GRAPHIC_PANEL_OPEN_CHEST,
        C042_GRAPHIC_OBJECT_ICONS_000_TO_031,
        C043_GRAPHIC_OBJECT_ICONS_032_TO_063,
        C044_GRAPHIC_OBJECT_ICONS_064_TO_095,
        C045_GRAPHIC_OBJECT_ICONS_096_TO_127,
        C046_GRAPHIC_OBJECT_ICONS_128_TO_159,
        C047_GRAPHIC_OBJECT_ICONS_160_TO_191,
        C048_GRAPHIC_OBJECT_ICONS_192_TO_223,
        C049_GRAPHIC_FLOOR_PIT_D3L2,
        M754_GRAPHIC_FLOOR_PIT_D3L,
        M755_GRAPHIC_FLOOR_PIT_D3C,
        M756_GRAPHIC_FLOOR_PIT_D2L,
        M757_GRAPHIC_FLOOR_PIT_D2C,
        M758_GRAPHIC_FLOOR_PIT_D1L,
        M759_GRAPHIC_FLOOR_PIT_D1C,
        M760_GRAPHIC_FLOOR_PIT_D0L,
        M761_GRAPHIC_FLOOR_PIT_D0C,
        M762_GRAPHIC_FLOOR_PIT_INVISIBLE_D2L,
        M763_GRAPHIC_FLOOR_PIT_INVISIBLE_D2C,
        M764_GRAPHIC_FLOOR_PIT_INVISIBLE_D1L,
        M765_GRAPHIC_FLOOR_PIT_INVISIBLE_D1C,
        M766_GRAPHIC_FLOOR_PIT_INVISIBLE_D0L,
        M767_GRAPHIC_FLOOR_PIT_INVISIBLE_D0C,
        C064_GRAPHIC_CEILING_PIT_D2L,
        C065_GRAPHIC_CEILING_PIT_D2C,
        C066_GRAPHIC_CEILING_PIT_D1L,
        C067_GRAPHIC_CEILING_PIT_D1C,
        C068_GRAPHIC_CEILING_PIT_D0L,
        C069_GRAPHIC_CEILING_PIT_D0C,
        C070_GRAPHIC_FIELD_MASK_D3L2,
        C071_GRAPHIC_FIELD_MASK_D3L,
        C072_GRAPHIC_FIELD_MASK_D2L2,
        C073_GRAPHIC_FIELD_MASK_D2L,
        C074_GRAPHIC_FIELD_MASK_D1L,
        C075_GRAPHIC_FIELD_MASK_D0L,
        C076_GRAPHIC_FIELD_TELEPORTER,
        C077_GRAPHIC_FIELD_FLUXCAGE,
        M639_GRAPHIC_FLOOR_ORNAMENT_15_D3L_FOOTPRINTS,
        M749_GRAPHIC_FLOOR_ORNAMENT_15_D3C_FOOTPRINTS,
        M750_GRAPHIC_FLOOR_ORNAMENT_15_D2L_FOOTPRINTS,
        M751_GRAPHIC_FLOOR_ORNAMENT_15_D2C_FOOTPRINTS,
        M752_GRAPHIC_FLOOR_ORNAMENT_15_D1L_FOOTPRINTS,
        M753_GRAPHIC_FLOOR_ORNAMENT_15_D1C_FOOTPRINTS,
        M649_GRAPHIC_DOOR_MASK_DESTROYED,
        C440_GRAPHIC_DOOR_MASK_THIEVES_EYE,
        C041_GRAPHIC_HOLE_IN_WALL,
        M648_GRAPHIC_INSCRIPTION_FONT,
        C028_GRAPHIC_CHAMPION_ICONS,
        C029_GRAPHIC_OBJECT_DESCRIPTION_CIRCLE,
        C014_GRAPHIC_DAMAGE_TO_CREATURE,
        C015_GRAPHIC_DAMAGE_TO_CHAMPION_SMALL,
        C016_GRAPHIC_DAMAGE_TO_CHAMPION_BIG,
        C037_GRAPHIC_BORDER_PARTY_SHIELD,
        C038_GRAPHIC_BORDER_PARTY_FIRESHIELD,
        C039_GRAPHIC_BORDER_PARTY_SPELLSHIELD }; /* Indices of graphics that must always be loaded */
#endif
#ifdef MEDIA746_A36M_A31E_A31M_A33M_A35E_A35M
unsigned char* G0348_Bitmap_Screen;
unsigned long G0349_ul_LastRandomNumber;
#endif
#ifdef MEDIA422_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_A31E
unsigned int16_t G1055_aui_Palette_Swoosh[16] = {
        0x000, 0xFFF, 0xFFF, 0xFFF, 0xFFF, 0xFFF, 0xFFF, 0xFFF, 0x000, 0xFFF, 0xAAA, 0xFFF, 0xAAA, 0x444, 0xFF0, 0xFF0 }; /* Identical to the palette at the end of the swoosh palette animation */
unsigned int16_t G1131_aui_Palette_MousePointer[16] = {
        0x000, 0x666, 0x888, 0x620, 0x0CC, 0x840, 0x080, 0x0C0, 0xF00, 0xFA0, 0xC86, 0xFF0, 0x000, 0xAAA, 0x00F, 0xFFF };
#endif
#ifdef MEDIA746_A36M_A31E_A31M_A33M_A35E_A35M
unsigned int16_t G3079_aui_Palette_PreTitle2[16] = {
        0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0xFFF };
unsigned int16_t G3080_aui_Palette_PreTitle3[16] = {
        0x006, 0x006, 0x006, 0xCA4, 0xA64, 0xEC4, 0xC64, 0xEE6, 0xFF4, 0x006, 0x006, 0x842, 0x006, 0x006, 0x006, 0xFFF };
unsigned int16_t G3081_aui_Palette_PreTitle4[16] = {
        0x006, 0x006, 0x006, 0xCA4, 0xA64, 0xEC4, 0xC64, 0xEE6, 0xFF4, 0x006, 0x000, 0x842, 0xF00, 0x006, 0x006, 0xFFF };
#endif
#ifdef MEDIA424_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_A36M
unsigned int16_t G0019_aui_Graphic562_Palette_Credits[16] = {
        0x006, 0x0AA, 0xFF6, 0x840, 0xFF8, 0x000, 0x080, 0xA00, 0xC84, 0xFFA, 0xF84, 0xFC0, 0xFA0, 0x000, 0x620, 0xFFC };
        /* Atari ST: { 0x003, 0x055, 0x773, 0x420, 0x774, 0x000, 0x040, 0x500, 0x642, 0x775, 0x742, 0x760, 0x750, 0x000, 0x310, 0x776 }, RGB colors are different */
unsigned int16_t G0020_aui_Graphic562_Palette_Entrance[16] = {
        0x000, 0x666, 0x888, 0x840, 0xCA8, 0x0C0, 0x080, 0x0A0, 0x864, 0xF00, 0xA86, 0x642, 0x444, 0xAAA, 0x620, 0xFFF };
        /* Atari ST: { 0x000, 0x333, 0x444, 0x420, 0x654, 0x210, 0x040, 0x050, 0x432, 0x700, 0x543, 0x321, 0x222, 0x555, 0x310, 0x777 }, RGB colors are different */
#endif
#ifdef MEDIA626_A31E_A31M_A33M_A35E_A35M
unsigned int16_t G0019_aui_Graphic562_Palette_Credits[16] = {
        0x000, 0xC62, 0x741, 0xA52, 0xF00, 0xB00, 0x00B, 0x00F, 0x555, 0x777, 0xBBB, 0xDDD, 0x864, 0xA85, 0xC96, 0xEA7 };
unsigned int16_t G0020_aui_Graphic562_Palette_Entrance[16] = {
        0x000, 0x666, 0x888, 0x840, 0xCA8, 0x422, 0x080, 0x0A0, 0x864, 0xF00, 0xA86, 0x642, 0x444, 0xAAA, 0x620, 0xFFF };
#endif
#ifdef MEDIA577_X30J
unsigned int16_t G0019_aui_Graphic562_Palette_Credits[16] = {
        0x0001, 0xA029, 0xFFD9, 0x4401, 0xFFE1, 0x0001, 0x8001, 0x0501, 0x8611, 0xFFE9, 0x87D1, 0xC7C1, 0xA7C1, 0x0001, 0x2301, 0xFFF1 }; /* RGB colors are different */
unsigned int16_t G0020_aui_Graphic562_Palette_Entrance[16] = {
        0x0001, 0x6319, 0x8421, 0x4C41, 0xA621, 0xC001, 0x8001, 0xA001, 0x6411, 0x07C1, 0x8519, 0x4309, 0x4211, 0xA529, 0x2301, 0xFFFF }; /* RGB colors are different */
#endif
#ifdef MEDIA692_X31J
unsigned int16_t G0019_aui_Graphic562_Palette_Credits[16] = {
        0x0001, 0x6609, 0x4385, 0x5509, 0x07C1, 0x0581, 0x002D, 0x003F, 0x5295, 0x739D, 0xB5AD, 0xD6B5, 0x6411, 0x8515, 0x9619, 0xA75D }; /* RGB colors are different */
unsigned int16_t G0020_aui_Graphic562_Palette_Entrance[16] = {
        0x0001, 0x6319, 0x8421, 0x4C41, 0xA621, 0x2209, 0x8001, 0xA001, 0x6411, 0x07C1, 0x8519, 0x4309, 0x4211, 0xA529, 0x2301, 0xFFFF }; /* RGB colors are different */
unsigned int16_t G3129_aui_Palette_[16] = {
        0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0xFFFF };
unsigned int16_t G3130_aui_Palette_[16] = {
        0x0001, 0x0001, 0x0001, 0xA611, 0x6511, 0xC711, 0x6611, 0xE719, 0xFFD1, 0x0001, 0x0001, 0x4409, 0x0001, 0x0001, 0x0001, 0xFFFF };
unsigned int16_t G3131_aui_Palette_[16] = {
        0x0001, 0x0001, 0x0001, 0xA611, 0x6511, 0xC711, 0x6611, 0xE719, 0xFFD1, 0x0001, 0x0001, 0x4409, 0x07C1, 0x0001, 0x0001, 0xFFFF };
#endif
#ifdef MEDIA746_A36M_A31E_A31M_A33M_A35E_A35M
unsigned int16_t G3078_aui_Palette_PreTitle[16] = {
        0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006, 0x006 };
#endif
#ifdef MEDIA607_X30J_X31J
unsigned int16_t G3088_aui_Palette_TopAndBottomScreen[16] = {
        0x0001, 0x6319, 0x8421, 0x2301, 0xC031, 0x4401, 0x8001, 0xC001, 0x07C1, 0xA7C1, 0x8619, 0xFFC1, 0x4211, 0xA529, 0x003F, 0xFFFF };
unsigned int16_t G3087_aui_Palette_Blank[16] = {
        0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001 };
unsigned int16_t G3075_aui_Palette_DarkBlue[16] = {
        0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001 };
#endif
#ifdef MEDIA425_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_A36M_A31E_A31M_A33M_A35E_A35M
unsigned int16_t G0021_aaui_Graphic562_Palette_DungeonView[6][16] = {
        0x000, 0x666, 0x888, 0x620, 0x0CC, 0x840, 0x080, 0x0C0, 0xF00, 0xFA0, 0xC86, 0xFF0, 0x444, 0xAAA, 0x00F, 0xFFF,
        /* Atari ST: { 0x000, 0x333, 0x444, 0x310, 0x066, 0x420, 0x040, 0x060, 0x700, 0x750, 0x643, 0x770, 0x222, 0x555, 0x007, 0x777 }, RGB colors are different */
        0x000, 0x444, 0x666, 0x620, 0x0CC, 0x820, 0x060, 0x0A0, 0xC00, 0x000, 0x000, 0xFC0, 0x222, 0x888, 0x00C, 0xCCC,
        /* Atari ST: { 0x000, 0x222, 0x333, 0x310, 0x066, 0x410, 0x030, 0x050, 0x600, 0x640, 0x532, 0x760, 0x111, 0x444, 0x006, 0x666 }, RGB colors are different */
        0x000, 0x222, 0x444, 0x420, 0x0CC, 0x620, 0x040, 0x080, 0xA00, 0x000, 0x000, 0xFA0, 0x000, 0x666, 0x00A, 0xAAA,
        /* Atari ST: { 0x000, 0x111, 0x222, 0x210, 0x066, 0x310, 0x020, 0x040, 0x500, 0x530, 0x421, 0x750, 0x000, 0x333, 0x005, 0x555 }, RGB colors are different */
        0x000, 0x000, 0x222, 0x200, 0x0CC, 0x420, 0x020, 0x060, 0x800, 0x000, 0x000, 0xC80, 0x000, 0x444, 0x008, 0x888,
        /* Atari ST: { 0x000, 0x000, 0x111, 0x100, 0x066, 0x210, 0x010, 0x030, 0x400, 0x420, 0x310, 0x640, 0x000, 0x222, 0x004, 0x444 }, RGB colors are different */
        0x000, 0x000, 0x000, 0x000, 0x0CC, 0x200, 0x000, 0x040, 0x600, 0x000, 0x000, 0xA60, 0x000, 0x222, 0x006, 0x666,
        /* Atari ST: { 0x000, 0x000, 0x000, 0x000, 0x066, 0x100, 0x000, 0x020, 0x300, 0x310, 0x200, 0x530, 0x000, 0x111, 0x003, 0x333 }, RGB colors are different */
        0x000, 0x000, 0x000, 0x000, 0x0CC, 0x000, 0x000, 0x020, 0x400, 0x000, 0x000, 0x640, 0x000, 0x000, 0x004, 0x444 };
        /* Atari ST: { 0x000, 0x000, 0x000, 0x000, 0x066, 0x000, 0x000, 0x010, 0x200, 0x200, 0x100, 0x320, 0x000, 0x000, 0x002, 0x222 }, RGB colors are different */
#endif
#ifdef MEDIA607_X30J_X31J
unsigned int16_t G0021_aaui_Graphic562_Palette_DungeonView[6][16] = {
        0x0001, 0x6319, 0x8421, 0x2301, 0xC031, 0x4401, 0x8001, 0xC001, 0x07C1, 0xA7C1, 0x8619, 0xFFC1, 0x4211, 0xA529, 0x003F, 0xFFFF, /* RGB colors are different */
        0x0001, 0x4211, 0x6319, 0x2301, 0xC031, 0x3301, 0x6001, 0xA001, 0x0601, 0x8601, 0x6511, 0xC7C1, 0x2109, 0x8421, 0x0031, 0xC631, /* RGB colors are different */
        0x0001, 0x2109, 0x4211, 0x2201, 0xC031, 0x2301, 0x4001, 0x8001, 0x0501, 0x6501, 0x4409, 0xA7C1, 0x0001, 0x6319, 0x0029, 0xA529, /* RGB colors are different */
        0x0001, 0x0001, 0x2109, 0x0101, 0xC031, 0x2201, 0x2001, 0x6001, 0x0401, 0x4401, 0x2301, 0x8601, 0x0001, 0x4211, 0x0021, 0x8421, /* RGB colors are different */
        0x0001, 0x0001, 0x0001, 0x0001, 0xC031, 0x0101, 0x0001, 0x4001, 0x0301, 0x2301, 0x0201, 0x6501, 0x0001, 0x2109, 0x0019, 0x6319, /* RGB colors are different */
        0x0001, 0x0001, 0x0001, 0x0001, 0xC031, 0x0001, 0x0001, 0x2001, 0x0201, 0x0201, 0x0101, 0x4301, 0x0001, 0x0001, 0x0011, 0x4211 }; /* RGB colors are different */
#endif
#ifdef MEDIA671_F31E_F31J_P31J
int16_t G2098_i_CreditsPaletteIndex = 27;
int16_t G2189_i_EntrancePaletteIndex = 28;
#endif
#ifdef MEDIA494_F20E_F20J_P20JA_P20JB_I34E_I34M
int16_t G2098_i_CreditsPaletteIndex = 6;
int16_t G2189_i_EntrancePaletteIndex = 7;
#endif
#ifdef MEDIA496_F20E_F20J_P20JA_P20JB_I34E_I34M_F31E_F31J_P31J
int16_t G2099_i_InterfacePaletteIndex = 9;
int16_t G2100_i_BlackPaletteIndex = 10;
int16_t G2101_i_BluePaletteIndex = 11;
int16_t G2190_i_TitlePresentsPaletteIndex = 12;
int16_t G2191_i_TitleDungeonPaletteIndex = 13;
int16_t G2192_i_TitleMasterPaletteIndex = 14;
#endif
#ifdef MEDIA436_A20E_A20F_A20G_A21E_A22E_A22G_X30J_P20JA_P20JB_A31E_A31M_A33M_A35E_A35M_X31J /* Not included in Amiga DM DEMO 2.0 EN */
#ifndef NOCOPYPROTECTION
int16_t G0022_i_Graphic562_IndirectStopExpiringEvent_CPSE = C00555_FALSE;
#endif
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
char G0023_aac_Graphic562_OrderedCellsToAttack[8][4] = {
        { 0, 1, 3, 2 },   /* Attack South from position Northwest or Southwest */
        { 1, 0, 2, 3 },   /* Attack South from position Northeast or Southeast */
        { 1, 2, 0, 3 },   /* Attack West from position Northwest or Northeast */
        { 2, 1, 3, 0 },   /* Attack West from position Southeast or Southwest */
        { 3, 2, 0, 1 },   /* Attack North from position Northwest or Southwest */
        { 2, 3, 1, 0 },   /* Attack North from position Southeast or Northeast */
        { 0, 3, 1, 2 },   /* Attack East from position Northwest or Northeast */
        { 3, 0, 2, 1 } }; /* Attack East from position Southeast or Southwest */
unsigned char G0024_auc_Graphic562_WoundProbabilityIndexToWoundMask[4] = { MASK0x0020_WOUND_FEET, MASK0x0010_WOUND_LEGS, MASK0x0008_WOUND_TORSO, MASK0x0004_WOUND_HEAD };
unsigned char G0025_auc_Graphic562_StealFromSlotIndices[8] = {
#endif
#ifdef MEDIA416_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_P20JA
        C10_SLOT_NECK,
        C11_SLOT_POUCH_1,
        C13_SLOT_BACKPACK_LINE1_1,
        C12_SLOT_QUIVER_LINE1_1,
        C10_SLOT_NECK,
        C13_SLOT_BACKPACK_LINE1_1,
        C06_SLOT_POUCH_2,
        C13_SLOT_BACKPACK_LINE1_1 }; /* BUG0_00 Useless code. Unreferenced in versions 1.x and 2.x where it is replaced by G0394_auc_StealFromSlotIndices in F0193_GROUP_StealFromChampion */
#endif
#ifdef MEDIA602_X30J_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
        C01_SLOT_ACTION_HAND,
        C00_SLOT_READY_HAND,
        C00_SLOT_READY_HAND,
        C00_SLOT_READY_HAND,
        C00_SLOT_READY_HAND,
        C00_SLOT_READY_HAND,
        C00_SLOT_READY_HAND,
        C00_SLOT_READY_HAND };
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
int16_t G0026_ai_Graphic562_IconGraphicFirstIconIndex[7] = {
        0,     /* First icon index in graphic #42 */
        32,    /* First icon index in graphic #43 */
        64,    /* First icon index in graphic #44 */
        96,    /* First icon index in graphic #45 */
        128,   /* First icon index in graphic #46 */
        160,   /* First icon index in graphic #47 */
        192 }; /* First icon index in graphic #48 */
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
int16_t G1074_ai_IconGraphicHeight[7] = { 32, 32, 32, 32, 32, 32, 32 };
char G0027_auc_Graphic562_Box_Unreferenced[4] = { 0, 15, 0, 15 }; /* BUG0_00 Useless code. Values 0 15 0 15. Probably a box for icon */
int16_t G0028_ai_Graphic562_Box_LeaderHandObjectName[4] = { 233, 319, 33, 38 };
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
unsigned char G0029_auc_Graphic562_ChargeCountToTorchType[16] = { 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3 };
SLOT_BOX G0030_as_Graphic562_SlotBoxes[46] = { /* 8 for champion hands in status boxes, 30 for champion inventory, 8 for chest */
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
        {   4,  10, 0 }, /* Champion Status Box 0 Ready Hand */
        {  24,  10, 0 }, /* Champion Status Box 0 Action Hand */
        {  73,  10, 0 }, /* Champion Status Box 1 Ready Hand */
        {  93,  10, 0 }, /* Champion Status Box 1 Action Hand */
        { 142,  10, 0 }, /* Champion Status Box 2 Ready Hand */
        { 162,  10, 0 }, /* Champion Status Box 2 Action Hand */
        { 211,  10, 0 }, /* Champion Status Box 3 Ready Hand */
        { 231,  10, 0 }, /* Champion Status Box 3 Action Hand */
        {   6,  53, 0 }, /* Ready Hand */
        {  62,  53, 0 }, /* Action Hand */
        {  34,  26, 0 }, /* Head */
        {  34,  46, 0 }, /* Torso */
        {  34,  66, 0 }, /* Legs */
        {  34,  86, 0 }, /* Feet */
        {   6,  90, 0 }, /* Pouch 2 */
        {  79,  73, 0 }, /* Quiver Line2 1 */
        {  62,  90, 0 }, /* Quiver Line1 2 */
        {  79,  90, 0 }, /* Quiver Line2 2 */
        {   6,  33, 0 }, /* Neck */
        {   6,  73, 0 }, /* Pouch 1 */
        {  62,  73, 0 }, /* Quiver Line1 1 */
        {  66,  33, 0 }, /* Backpack Line1 1 */
        {  83,  16, 0 }, /* Backpack Line2 2 */
        { 100,  16, 0 }, /* Backpack Line2 3 */
        { 117,  16, 0 }, /* Backpack Line2 4 */
        { 134,  16, 0 }, /* Backpack Line2 5 */
        { 151,  16, 0 }, /* Backpack Line2 6 */
        { 168,  16, 0 }, /* Backpack Line2 7 */
        { 185,  16, 0 }, /* Backpack Line2 8 */
        { 202,  16, 0 }, /* Backpack Line2 9 */
        {  83,  33, 0 }, /* Backpack Line1 2 */
        { 100,  33, 0 }, /* Backpack Line1 3 */
        { 117,  33, 0 }, /* Backpack Line1 4 */
        { 134,  33, 0 }, /* Backpack Line1 5 */
        { 151,  33, 0 }, /* Backpack Line1 6 */
        { 168,  33, 0 }, /* Backpack Line1 7 */
        { 185,  33, 0 }, /* Backpack Line1 8 */
        { 202,  33, 0 }, /* Backpack Line1 9 */
        { 117,  59, 0 }, /* Chest 1 */
        { 106,  76, 0 }, /* Chest 2 */
        { 111,  93, 0 }, /* Chest 3 */
        { 128,  98, 0 }, /* Chest 4 */
        { 145, 101, 0 }, /* Chest 5 */
        { 162, 103, 0 }, /* Chest 6 */
        { 179, 104, 0 }, /* Chest 7 */
        { 196, 105, 0 } }; /* Chest 8 */
#endif
#ifdef MEDIA529_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
        { C211_ZONE_SLOT_BOX_00_CHAMPION_0_STATUS_BOX_READY_HAND, 0 },
        { C212_ZONE_SLOT_BOX_01_CHAMPION_0_STATUS_BOX_ACTION_HAND, 0 },
        { C213_ZONE_SLOT_BOX_02_CHAMPION_1_STATUS_BOX_READY_HAND, 0 },
        { C214_ZONE_SLOT_BOX_03_CHAMPION_1_STATUS_BOX_ACTION_HAND, 0 },
        { C215_ZONE_SLOT_BOX_04_CHAMPION_2_STATUS_BOX_READY_HAND, 0 },
        { C216_ZONE_SLOT_BOX_05_CHAMPION_2_STATUS_BOX_ACTION_HAND, 0 },
        { C217_ZONE_SLOT_BOX_06_CHAMPION_3_STATUS_BOX_READY_HAND, 0 },
        { C218_ZONE_SLOT_BOX_07_CHAMPION_3_STATUS_BOX_ACTION_HAND, 0 },
        { C507_ZONE_SLOT_BOX_08_INVENTORY_READY_HAND, 0 },
        { C508_ZONE_SLOT_BOX_09_INVENTORY_ACTION_HAND, 0 },
        { C509_ZONE_SLOT_BOX_10_INVENTORY_HEAD, 0 },
        { C510_ZONE_SLOT_BOX_11_INVENTORY_TORSO, 0 },
        { C511_ZONE_SLOT_BOX_12_INVENTORY_LEGS, 0 },
        { C512_ZONE_SLOT_BOX_13_INVENTORY_FEET, 0 },
        { C513_ZONE_SLOT_BOX_14_INVENTORY_POUCH_2, 0 },
        { C514_ZONE_SLOT_BOX_15_INVENTORY_QUIVER_LINE2_1, 0 },
        { C515_ZONE_SLOT_BOX_16_INVENTORY_QUIVER_LINE1_2, 0 },
        { C516_ZONE_SLOT_BOX_17_INVENTORY_QUIVER_LINE2_2, 0 },
        { C517_ZONE_SLOT_BOX_18_INVENTORY_NECK, 0 },
        { C518_ZONE_SLOT_BOX_19_INVENTORY_POUCH_1, 0 },
        { C519_ZONE_SLOT_BOX_20_INVENTORY_QUIVER_LINE1_1, 0 },
        { C520_ZONE_SLOT_BOX_21_INVENTORY_BACKPACK_LINE1_1, 0 },
        { C521_ZONE_SLOT_BOX_22_INVENTORY_BACKPACK_LINE2_2, 0 },
        { C522_ZONE_SLOT_BOX_23_INVENTORY_BACKPACK_LINE2_3, 0 },
        { C523_ZONE_SLOT_BOX_24_INVENTORY_BACKPACK_LINE2_4, 0 },
        { C524_ZONE_SLOT_BOX_25_INVENTORY_BACKPACK_LINE2_5, 0 },
        { C525_ZONE_SLOT_BOX_26_INVENTORY_BACKPACK_LINE2_6, 0 },
        { C526_ZONE_SLOT_BOX_27_INVENTORY_BACKPACK_LINE2_7, 0 },
        { C527_ZONE_SLOT_BOX_28_INVENTORY_BACKPACK_LINE2_8, 0 },
        { C528_ZONE_SLOT_BOX_29_INVENTORY_BACKPACK_LINE2_9, 0 },
        { C529_ZONE_SLOT_BOX_30_INVENTORY_BACKPACK_LINE1_2, 0 },
        { C530_ZONE_SLOT_BOX_31_INVENTORY_BACKPACK_LINE1_3, 0 },
        { C531_ZONE_SLOT_BOX_32_INVENTORY_BACKPACK_LINE1_4, 0 },
        { C532_ZONE_SLOT_BOX_33_INVENTORY_BACKPACK_LINE1_5, 0 },
        { C533_ZONE_SLOT_BOX_34_INVENTORY_BACKPACK_LINE1_6, 0 },
        { C534_ZONE_SLOT_BOX_35_INVENTORY_BACKPACK_LINE1_7, 0 },
        { C535_ZONE_SLOT_BOX_36_INVENTORY_BACKPACK_LINE1_8, 0 },
        { C536_ZONE_SLOT_BOX_37_INVENTORY_BACKPACK_LINE1_9, 0 },
        { C537_ZONE_SLOT_BOX_38_CHEST_1, 0 },
        { C538_ZONE_SLOT_BOX_39_CHEST_2, 0 },
        { C539_ZONE_SLOT_BOX_40_CHEST_3, 0 },
        { C540_ZONE_SLOT_BOX_41_CHEST_4, 0 },
        { C541_ZONE_SLOT_BOX_42_CHEST_5, 0 },
        { C542_ZONE_SLOT_BOX_43_CHEST_6, 0 },
        { C543_ZONE_SLOT_BOX_44_CHEST_7, 0 },
        { C544_ZONE_SLOT_BOX_45_CHEST_8, 0 } };
#endif
#ifdef MEDIA436_A20E_A20F_A20G_A21E_A22E_A22G_X30J_P20JA_P20JB_A31E_A31M_A33M_A35E_A35M_X31J /* Not included in Amiga DM DEMO 2.0 EN */
#ifndef NOCOPYPROTECTION
int16_t G0031_i_Graphic562_FuzzySectorAnalyzed_CPSE = C00255_FALSE;
#endif
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
int16_t G0032_ai_Graphic562_Box_Panel[4] = { 80, 223, 52, 124 };
int16_t G0033_ai_Graphic562_Box_ArrowOrEye[4] = { 83, 98, 57, 65 };
int16_t G0034_ai_Graphic562_Box_ObjectDescriptionCircle[4] = { 105, 136, 53, 79 };
#ifdef MEDIA430_A20ED_A20E_A21E_A22E
int16_t G0035_ai_Graphic562_Box_Food[4] = { 112, 159, 60, 68 };
int16_t G0036_ai_Graphic562_Box_Water[4] = { 112, 159, 83, 91 };
#endif
#ifdef MEDIA446_A20G_A22G
int16_t G0035_ai_Graphic562_Box_Food[4] = { 112, 175, 60, 68 };
int16_t G0036_ai_Graphic562_Box_Water[4] = { 112, 175, 83, 91 };
#endif
#ifdef MEDIA443_A20F
int16_t G0035_ai_Graphic562_Box_Food[4] = { 112, 207, 60, 68 };
int16_t G0036_ai_Graphic562_Box_Water[4] = { 112, 143, 83, 91 };
#endif
int16_t G0037_ai_Graphic562_Box_Poisoned[4] = { 112, 207, 105, 119 };
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
int16_t G0038_ai_Graphic562_SlotMasks[38] = { /* 30 for champion inventory, 8 for chest */
        MASK0xFFFF_ANY_SLOT,                     /* Ready Hand */
        MASK0xFFFF_ANY_SLOT,                     /* Action Hand */
        MASK0x0002_HEAD,                         /* Head */
        MASK0x0008_TORSO,                        /* Torso */
        MASK0x0010_LEGS,                         /* Legs */
        MASK0x0020_FEET,                         /* Feet */
        MASK0x0100_POUCH_AND_PASS_THROUGH_DOORS, /* Pouch 2 */
        MASK0x0080_QUIVER_LINE2,                 /* Quiver Line2 1 */
        MASK0x0080_QUIVER_LINE2,                 /* Quiver Line1 2 */
        MASK0x0080_QUIVER_LINE2,                 /* Quiver Line2 2 */
        MASK0x0004_NECK,                         /* Neck */
        MASK0x0100_POUCH_AND_PASS_THROUGH_DOORS, /* Pouch 1 */
        MASK0x0040_QUIVER_LINE1,                 /* Quiver Line1 1 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 1 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 2 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 3 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 4 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 5 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 6 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 7 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 8 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line2 9 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 2 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 3 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 4 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 5 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 6 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 7 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 8 */
        MASK0xFFFF_ANY_SLOT,                     /* Backpack Line1 9 */
        MASK0x0400_CONTAINER,                    /* Chest 1 */
        MASK0x0400_CONTAINER,                    /* Chest 2 */
        MASK0x0400_CONTAINER,                    /* Chest 3 */
        MASK0x0400_CONTAINER,                    /* Chest 4 */
        MASK0x0400_CONTAINER,                    /* Chest 5 */
        MASK0x0400_CONTAINER,                    /* Chest 6 */
        MASK0x0400_CONTAINER,                    /* Chest 7 */
        MASK0x0400_CONTAINER };                  /* Chest 8 */
int16_t G0039_ai_Graphic562_LightPowerToLightAmount[16] = { 0, 5, 12, 24, 33, 40, 46, 51, 59, 68, 76, 82, 89, 94, 97, 100 };
int16_t G0040_ai_Graphic562_PaletteIndexToLightAmount[6] = { 99, 75, 50, 25, 1, 0 };
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
int16_t G0041_ai_Graphic562_Box_ViewportFloppyZzzCross[4] = { 174, 218, 2, 12 };
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
unsigned char G0046_auc_Graphic562_ChampionColor[4] = { 7, 11, 8, 14 };
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
unsigned char G0047_auc_Graphic562_Box_ChampionPortrait[4] = { 0, 31, 0, 28 };
int16_t G0048_ai_Graphic562_Box_Mouth[4] = { 55, 72, 12, 29 };
int16_t G0049_ai_Graphic562_Box_Eye[4] = { 11, 28, 12, 29 };
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
unsigned char G0050_auc_Graphic562_WoundDefenseFactor[6] = { 5, 5, 4, 6, 3, 1 };
char G0051_ac_Graphic562_UnderscoreCharacterString[2] = "_";
char G0052_ac_Graphic562_RenameChampionInputCharacterString[2] = " ";
#endif
#ifdef MEDIA529_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
char G2047_ac_ChampionRenameCharacters[31] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ',', '.', ';', ':', ' ' };
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
char G0053_ac_Graphic562_ReincarnateSpecialCharacters[6] = { ',', '.', ';', ':', ' ' };
int16_t G0054_ai_Graphic562_Box_ChampionIcons[16] = { /* Array of 4 boxes */
        281, 299,  0, 13,
        301, 319,  0, 13,
        301, 319, 15, 28,
        281, 299, 15, 28 };
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
int16_t G0057_ai_Graphic562_SlotDropOrder[30] = {
        C05_SLOT_FEET,
        C04_SLOT_LEGS,
        C09_SLOT_QUIVER_LINE2_2,
        C08_SLOT_QUIVER_LINE1_2,
        C07_SLOT_QUIVER_LINE2_1,
        C12_SLOT_QUIVER_LINE1_1,
        C06_SLOT_POUCH_2,
        C11_SLOT_POUCH_1,
        C03_SLOT_TORSO,
        C13_SLOT_BACKPACK_LINE1_1,
        C14_SLOT_BACKPACK_LINE2_2,
        C15_SLOT_BACKPACK_LINE2_3,
        C16_SLOT_BACKPACK_LINE2_4,
        C17_SLOT_BACKPACK_LINE2_5,
        C18_SLOT_BACKPACK_LINE2_6,
        C19_SLOT_BACKPACK_LINE2_7,
        C20_SLOT_BACKPACK_LINE2_8,
        C21_SLOT_BACKPACK_LINE2_9,
        C22_SLOT_BACKPACK_LINE1_2,
        C23_SLOT_BACKPACK_LINE1_3,
        C24_SLOT_BACKPACK_LINE1_4,
        C25_SLOT_BACKPACK_LINE1_5,
        C26_SLOT_BACKPACK_LINE1_6,
        C27_SLOT_BACKPACK_LINE1_7,
        C28_SLOT_BACKPACK_LINE1_8,
        C29_SLOT_BACKPACK_LINE1_9,
        C10_SLOT_NECK,
        C02_SLOT_HEAD,
        C00_SLOT_READY_HAND,
        C01_SLOT_ACTION_HAND };
#endif
#ifdef MEDIA436_A20E_A20F_A20G_A21E_A22E_A22G_X30J_P20JA_P20JB_A31E_A31M_A33M_A35E_A35M_X31J /* Not included in Amiga DM DEMO 2.0 EN */
#ifndef NOCOPYPROTECTION
int16_t G0058_i_Graphic562_Useless_CPSD = 19; /* BUG0_00 Useless code */
#endif
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
unsigned char G0059_auc_Graphic562_SquareTypeToEventType[7] = {
        C06_EVENT_WALL,
        C05_EVENT_CORRIDOR,
        C09_EVENT_PIT,
        C00_EVENT_NONE,
        C10_EVENT_DOOR,
        C08_EVENT_TELEPORTER,
        C07_EVENT_FAKEWALL }; /* 1 byte of padding inserted by compiler */
SOUND_DATA G0060_as_Graphic562_Sounds[M513_SOUND_COUNT] = {
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
        { 533, 0, 112,  11, 0, 3, 6 }, /* C00_SOUND_METALLIC_THUD */
        { 534, 0, 112,  15, 0, 0, 3 }, /* C01_SOUND_SWITCH */
        { 535, 0, 112,  72, 0, 3, 6 }, /* C02_SOUND_DOOR_RATTLE */
        { 550, 0, 112,  60, 0, 3, 5 }, /* C03_SOUND_ATTACK_PAIN_RAT_HELLHOUND_RED_DRAGON */
        { 536, 0, 112,  10, 0, 3, 6 }, /* C04_SOUND_WOODEN_THUD_ATTACK_TROLIN_ANTMAN_STONE_GOLEM */
        { 537, 0, 112,  99, 0, 3, 7 }, /* C05_SOUND_STRONG_EXPLOSION */
        { 539, 0, 112, 110, 0, 3, 6 }, /* M561_SOUND_SCREAM */
        { 551, 0, 112,  55, 0, 3, 5 }, /* C07_SOUND_ATTACK_MUMMY_GHOST_RIVE */
        { 540, 0, 112,   2, 0, 3, 6 }, /* C08_SOUND_SWALLOW */
        { 541, 0, 112,  80, 0, 3, 6 }, /* C09_SOUND_CHAMPION_0_DAMAGED */
        { 542, 0, 112,  82, 0, 3, 6 }, /* C10_SOUND_CHAMPION_1_DAMAGED */
        { 543, 0, 112,  84, 0, 3, 6 }, /* C11_SOUND_CHAMPION_2_DAMAGED */
        { 544, 0, 112,  86, 0, 3, 6 }, /* C12_SOUND_CHAMPION_3_DAMAGED */
        { 545, 0, 112,  95, 0, 3, 6 }, /* M542_SOUND_SPELL */
        { 552, 0, 112,  57, 0, 3, 5 }, /* C14_SOUND_ATTACK_SCREAMER_OITU */
        { 553, 0, 112,  52, 0, 3, 5 }, /* C15_SOUND_ATTACK_GIANT_SCORPION_SCORPION */
        { 546, 0, 112,  40, 0, 2, 4 }, /* M563_SOUND_COMBAT_ATTACK_SKELETON_ANIMATED_ARMOUR_DETH_KNIGHT */
        { 547, 0, 112,  70, 0, 1, 4 }, /* M560_SOUND_BUZZ */
        { 549, 0, 138,  75, 0, 3, 6 }, /* M562_SOUND_PARTY_DAMAGED */
        { 554, 0, 112,  50, 0, 3, 5 }, /* C19_SOUND_ATTACK_MAGENTA_WORM_WORM */
        { 537, 0, 112,  98, 0, 0, 4 }, /* M541_SOUND_WEAK_EXPLOSION */
        { 555, 0, 112,  96, 0, 2, 4 }, /* C21_SOUND_ATTACK_GIGGLER */
        { 563, 0, 138,  24, 0, 0, 4 }, /* C22_SOUND_MOVE_ANIMATED_ARMOUR_DETH_KNIGHT Atari ST: not present */
        { 564, 0, 138,  21, 0, 0, 4 }, /* C23_SOUND_MOVE_COUATL_GIANT_WASP_MUNCHER Atari ST: not present */
        { 565, 0, 138,  23, 0, 0, 4 }, /* C24_SOUND_MOVE_MUMMY_TROLIN_ANTMAN_STONE_GOLEM_GIGGLER_VEXIRK_DEMON Atari ST: not present */
        { 566, 0, 138, 105, 0, 0, 4 }, /* M620_SOUND_BLOW_HORN Atari ST: not present */
        { 567, 0, 138,  27, 0, 0, 4 }, /* C26_SOUND_MOVE_SCREAMER_ROCK_ROCKPILE_MAGENTA_WORM_WORM_PAIN_RAT_HELLHOUND_RUSTER_GIANT_SCORPION_SCORPION_OITU Atari ST: not present */
        { 568, 0, 138,  28, 0, 0, 4 }, /* C27_SOUND_MOVE_SWAMP_SLIME_SLIME_DEVIL_WATER_ELEMENTAL Atari ST: not present */
        { 569, 0, 138, 106, 0, 0, 4 }, /* M619_SOUND_WAR_CRY Atari ST: not present */
        { 570, 0, 138,  56, 0, 0, 4 }, /* C29_SOUND_ATTACK_ROCK_ROCKPILE Atari ST: not present */
        { 571, 0, 138,  58, 0, 0, 4 }, /* C30_SOUND_ATTACK_WATER_ELEMENTAL Atari ST: not present */
        { 572, 0, 112,  53, 0, 0, 4 }, /* C31_SOUND_ATTACK_COUATL Atari ST: not present */
        { 573, 0, 138,  29, 0, 0, 4 }, /* C32_SOUND_MOVE_RED_DRAGON Atari ST: not present */
        { 574, 0, 150,  22, 0, 0, 4 } }; /* C33_SOUND_MOVE_SKELETON Atari ST: not present */
#endif
#ifdef MEDIA507_F20E_F20J_X30J_P20JA
        { 533, 0, 112,  11, 0, 3, 6 },
        { 534, 0, 112,  15, 0, 0, 3 },
        { 535, 0, 112,  72, 0, 3, 6 },
        { 550, 0, 112,  60, 0, 3, 5 },
        { 536, 0, 112,  10, 0, 3, 6 },
        { 537, 0, 112,  99, 0, 3, 7 },
        { 539, 0, 112, 110, 0, 3, 6 },
        { 551, 0, 112,  55, 0, 3, 5 },
        { 540, 0, 112,   2, 0, 3, 6 },
        { 541, 0, 112,  80, 0, 3, 6 },
        { 542, 0, 112,  82, 0, 3, 6 },
        { 543, 0, 112,  84, 0, 3, 6 },
        { 544, 0, 112,  86, 0, 3, 6 },
        { 545, 0, 112,  95, 0, 3, 6 },
        { 552, 0, 112,  57, 0, 3, 5 },
        { 553, 0, 112,  52, 0, 3, 5 },
        { 546, 0, 112,  40, 0, 2, 4 },
        { 547, 0, 112,  70, 0, 1, 4 },
        { 549, 0, 138,  75, 0, 3, 6 },
        { 554, 0, 112,  50, 0, 3, 5 },
        { 537, 0, 112,  98, 0, 0, 4 },
        { 555, 0, 112,  96, 0, 2, 4 } };
#endif
#ifdef MEDIA469_P20JB
        { 533, 0, 112,  11, 0, 3, 6, NULL }, /* C00_SOUND_METALLIC_THUD         19 base sounds (only differences with list below are graphic indices) */
        { 534, 0, 112,  15, 0, 0, 3, NULL }, /* */
        { 535, 0, 112,  72, 0, 3, 6, NULL }, /* */
        { 535, 0, 145,  72, 0, 3, 6, NULL }, /* */
        { 536, 0, 112,  10, 0, 3, 6, NULL }, /* */
        { 537, 0, 112,  99, 0, 3, 7, NULL }, /* */
        { 537, 0, 112,  98, 0, 0, 4, NULL }, /* */
        { 539, 0, 112, 110, 0, 3, 6, NULL }, /* */
        { 540, 0, 112,   2, 0, 3, 6, NULL }, /* */
        { 541, 0, 112,  80, 0, 3, 6, NULL }, /* */
        { 542, 0, 112,  82, 0, 3, 6, NULL }, /* */
        { 543, 0, 112,  84, 0, 3, 6, NULL }, /* */
        { 544, 0, 112,  86, 0, 3, 6, NULL }, /* */
        { 546, 0, 112,  40, 0, 2, 4, NULL }, /* */
        { 547, 0, 112,  70, 0, 1, 4, NULL }, /* */
        { 549, 0, 138,  75, 0, 3, 6, NULL }, /* */
        { 545, 0, 112,  95, 0, 3, 6, NULL }, /* */
        { 569, 0, 138, 106, 0, 0, 4, NULL }, /* */
        { 566, 0, 138, 105, 0, 0, 4, NULL }, /* */
        { 552, 0, 112,  57, 0, 3, 5, NULL }, /* 9 creature attack sounds */
        { 553, 0, 112,  52, 0, 3, 5, NULL }, /* */
        { 554, 0, 112,  50, 0, 3, 5, NULL }, /* */
        { 555, 0, 112,  96, 0, 2, 4, NULL }, /* */
        { 550, 0, 112,  60, 0, 3, 5, NULL }, /* */
        { 570, 0, 138,  56, 0, 0, 4, NULL }, /* */
        { 551, 0, 112,  55, 0, 3, 5, NULL }, /* */
        { 571, 0, 138,  58, 0, 0, 4, NULL }, /* */
        { 572, 0, 112,  53, 0, 0, 4, NULL }, /* */
        { 563, 0, 138,  24, 0, 0, 4, NULL }, /* 7 creature movement sounds */
        { 564, 0, 138,  21, 0, 0, 4, NULL }, /* */
        { 565, 0, 138,  23, 0, 0, 4, NULL }, /* */
        { 567, 0, 138,  27, 0, 0, 4, NULL }, /* */
        { 568, 0, 138,  28, 0, 0, 4, NULL }, /* */
        { 573, 0, 138,  29, 0, 0, 4, NULL }, /* */
        { 574, 0, 150,  22, 0, 0, 4, NULL } }; /* */
#endif
#ifdef MEDIA719_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_P31J
        { 671, 0, 112,  11, 0, 3, 6, NULL }, /* C00_SOUND_METALLIC_THUD         19 base sounds */
        { 672, 0, 112,  15, 0, 0, 3, NULL }, /* */
        { 673, 0, 112,  72, 0, 3, 6, NULL }, /* */
#ifdef MEDIA712_I34E_I34M_F31E_F31J_P31J
        { 673, 0, 145,  72, 0, 3, 6, NULL }, /* */
#endif
#ifdef MEDIA746_A36M_A31E_A31M_A33M_A35E_A35M
        { 673, 0,  79,  72, 0, 3, 6, NULL }, /* */
#endif
        { 674, 0, 112,  10, 0, 3, 6, NULL }, /* */
        { 675, 0, 112,  99, 0, 3, 7, NULL }, /* */
        { 675, 0, 112,  98, 0, 0, 4, NULL }, /* */
        { 677, 0, 112, 110, 0, 3, 6, NULL }, /* */
        { 678, 0, 112,   2, 0, 3, 6, NULL }, /* */
        { 679, 0, 112,  80, 0, 3, 6, NULL }, /* */
        { 680, 0, 112,  82, 0, 3, 6, NULL }, /* */
        { 681, 0, 112,  84, 0, 3, 6, NULL }, /* */
        { 682, 0, 112,  86, 0, 3, 6, NULL }, /* */
        { 684, 0, 112,  40, 0, 2, 4, NULL }, /* */
        { 685, 0, 112,  70, 0, 1, 4, NULL }, /* */
        { 687, 0, 138,  75, 0, 3, 6, NULL }, /* */
        { 683, 0, 112,  95, 0, 3, 6, NULL }, /* */
#ifdef MEDIA712_I34E_I34M_F31E_F31J_P31J
        { 707, 0, 138, 106, 0, 0, 4, NULL }, /* */
        { 704, 0, 138, 105, 0, 0, 4, NULL }, /* */
#endif
#ifdef MEDIA746_A36M_A31E_A31M_A33M_A35E_A35M
        { 707, 0, 120, 106, 0, 0, 4, NULL }, /* */
        { 704, 0,  86, 105, 0, 0, 4, NULL }, /* */
#endif
        { 690, 0, 112,  57, 0, 3, 5, NULL }, /* 9 creature attack sounds */
        { 691, 0, 112,  52, 0, 3, 5, NULL }, /* */
        { 692, 0, 112,  50, 0, 3, 5, NULL }, /* */
        { 693, 0, 112,  96, 0, 2, 4, NULL }, /* */
        { 688, 0, 112,  60, 0, 3, 5, NULL }, /* */
        { 708, 0, 138,  56, 0, 0, 4, NULL }, /* */
        { 689, 0, 112,  55, 0, 3, 5, NULL }, /* */
        { 709, 0, 138,  58, 0, 0, 4, NULL }, /* */
        { 710, 0, 112,  53, 0, 0, 4, NULL }, /* */
        { 701, 0, 138,  24, 0, 0, 4, NULL }, /* 7 creature movement sounds */
        { 702, 0, 138,  21, 0, 0, 4, NULL }, /* */
        { 703, 0, 138,  23, 0, 0, 4, NULL }, /* */
        { 705, 0, 138,  27, 0, 0, 4, NULL }, /* */
        { 706, 0, 138,  28, 0, 0, 4, NULL }, /* */
        { 711, 0, 138,  29, 0, 0, 4, NULL }, /* */
        { 712, 0, 150,  22, 0, 0, 4, NULL } }; /* */
#endif
#ifdef MEDIA692_X31J
        { 671, 0, 2,  11, 0, 3, 6, NULL }, /* C00_SOUND_METALLIC_THUD         19 base sounds */
        { 672, 0, 2,  15, 0, 0, 3, NULL }, /* */
        { 673, 0, 2,  72, 0, 3, 6, NULL }, /* */
        { 673, 0, 1,  72, 0, 3, 6, NULL }, /* */
        { 674, 0, 2,  10, 0, 3, 6, NULL }, /* */
        { 675, 0, 2,  99, 0, 3, 7, NULL }, /* */
        { 675, 0, 2,  98, 0, 0, 4, NULL }, /* */
        { 677, 0, 2, 110, 0, 3, 6, NULL }, /* */
        { 678, 0, 2,   2, 0, 3, 6, NULL }, /* */
        { 679, 0, 2,  80, 0, 3, 6, NULL }, /* */
        { 680, 0, 2,  82, 0, 3, 6, NULL }, /* */
        { 681, 0, 2,  84, 0, 3, 6, NULL }, /* */
        { 682, 0, 2,  86, 0, 3, 6, NULL }, /* */
        { 684, 0, 2,  40, 0, 2, 4, NULL }, /* */
        { 685, 0, 2,  70, 0, 1, 4, NULL }, /* */
        { 687, 0, 2,  75, 0, 3, 6, NULL }, /* */
        { 683, 0, 2,  95, 0, 3, 6, NULL }, /* */
        { 707, 0, 1, 106, 0, 0, 4, NULL }, /* */
        { 704, 0, 2, 105, 0, 0, 4, NULL }, /* */
        { 690, 0, 2,  57, 0, 3, 5, NULL }, /* 9 creature attack sounds */
        { 691, 0, 2,  52, 0, 3, 5, NULL }, /* */
        { 692, 0, 2,  50, 0, 3, 5, NULL }, /* */
        { 693, 0, 2,  96, 0, 2, 4, NULL }, /* */
        { 688, 0, 2,  60, 0, 3, 5, NULL }, /* */
        { 708, 0, 2,  56, 0, 0, 4, NULL }, /* */
        { 689, 0, 2,  55, 0, 3, 5, NULL }, /* */
        { 709, 0, 2,  58, 0, 0, 4, NULL }, /* */
        { 710, 0, 2,  53, 0, 0, 4, NULL }, /* */
        { 701, 0, 2,  24, 0, 0, 4, NULL }, /* 7 creature movement sounds */
        { 702, 0, 2,  21, 0, 0, 4, NULL }, /* */
        { 703, 0, 2,  23, 0, 0, 4, NULL }, /* */
        { 705, 0, 2,  27, 0, 0, 4, NULL }, /* */
        { 706, 0, 2,  28, 0, 0, 4, NULL }, /* */
        { 711, 0, 2,  29, 0, 0, 4, NULL }, /* */
        { 712, 0, 2,  22, 0, 0, 4, NULL } }; /* */
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
int16_t G0061_ai_Graphic562_Box_ScreenTop[4] = { 0, 319, 0, 32 };
int16_t G0062_ai_Graphic562_Box_ScreenRight[4] = { 224, 319, 33, 169 };
int16_t G0063_ai_Graphic562_Box_ScreenBottom[4] = { 0, 319, 169, 199 };
#endif
#ifdef MEDIA419_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB
long G0064_al_Graphic562_PrintTextMasks2[4] = { 0xFFF0FFF0, 0xFFF8FFF8, 0xFFFCFFFC, 0xFFFEFFFE };
long G0065_al_Graphic562_PrintTextMasks1[4] = { 0x7FFF7FFF, 0x3FFF3FFF, 0x1FFF1FFF, 0x0FFF0FFF };
#endif
#ifdef MEDIA420_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
char G0066_ac_Graphic562_LineFeedCharacterString[2] = "\n";
#endif
#ifdef MEDIA413_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
static char G1135_ac_Unreferenced[80];
AMIGA_DATA* G0734_ps_AmigaData;
BPTR DOSBase;
long* G0348_Bitmap_Screen;
unsigned long G0349_ul_LastRandomNumber;
#endif
#ifdef MEDIA423_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_A31E_A31M_A33M_A35E_A35M
#ifndef NOCOPYPROTECTION
int16_t G0625_i_FloppyDriveDMATimeout_CPSDF = 0; /* Possible values on Amiga (states):
-1: Timed out while waiting for disk drive to be ready
0: No ongoing read operation
1: Move head to track 0
2: Prepare sector read and install interrupt handler
3: Initiate DMA transfer for sector read
4: Wait until read is complete then stop motor and remove interrupt handler */
BOOLEAN G0624_B_FloppyDriveTurnedOn_CPSDF = C0_FALSE;
struct DiscResourceUnit* G1053_ps_DiscResourceUnit_CPSX = NULL;
struct MiscResource* G1054_ps_DiskResource_CPSX = NULL;
#ifdef MEDIA626_A31E_A31M_A33M_A35E_A35M
#ifndef NOCOPYPROTECTION
char G3171_c_ReadingCopyProtectionSector_CPSX;
#endif
#endif
void (*G0626_pfv_S0080_CPSDF_CheckDMATransferCompletion)();
void (*G0627_pfv_S0081_CPSDF_TurnOffFloppyDrive)();
#ifdef MEDIA626_A31E_A31M_A33M_A35E_A35M
#ifndef NOCOPYPROTECTION
BOOLEAN G3210_WaitForCopperInterrupt_CPSX;
#endif
#endif
#endif
#endif
#endif
