Commits

Chris Beelby committed d270396

setup separate structs file

  • Participants
  • Parent commits 07108f1

Comments (0)

Files changed (6)

  
-var gc = NETHACK.globals.constants;
+var c = NETHACK.constants;
 
 // from include/align.h
 
-gc.A_NONE = -128;
-gc.A_CHAOTIC = -1;
-gc.A_NEUTRAL = 0;
-gc.A_LAWFUL = 1;
-gc.A_COALIGNED = 1;
-gc.A_OPALIGNED = -1;
-gc.A_CHAOTIC = -1;
-gc.A_NEUTRAL = 0;
-gc.A_LAWFUL = 1;
-gc.A_COALIGNED = 1;
-gc.A_OPALIGNED = -1;
-gc.AM_NONE = 0;
-gc.AM_CHAOTIC = 1;
-gc.AM_NEUTRAL = 2;
-gc.AM_LAWFUL = 4;
-gc.AM_MASK = 7;
-gc.AM_SPLEV_CO = 3;
-gc.AM_SPLEV_NONCO = 7;
+c.A_NONE = -128;
+c.A_CHAOTIC = -1;
+c.A_NEUTRAL = 0;
+c.A_LAWFUL = 1;
+c.A_COALIGNED = 1;
+c.A_OPALIGNED = -1;
+c.A_CHAOTIC = -1;
+c.A_NEUTRAL = 0;
+c.A_LAWFUL = 1;
+c.A_COALIGNED = 1;
+c.A_OPALIGNED = -1;
+c.AM_NONE = 0;
+c.AM_CHAOTIC = 1;
+c.AM_NEUTRAL = 2;
+c.AM_LAWFUL = 4;
+c.AM_MASK = 7;
+c.AM_SPLEV_CO = 3;
+c.AM_SPLEV_NONCO = 7;
+
+// from include/you.h
+
+c.ROLE_RACEMASK = 0x0ff8;
+c.ROLE_GENDMASK = 0xf000;
+c.ROLE_MALE = 0x1000;
+c.ROLE_FEMALE = 0x2000;
+c.ROLE_NEUTER = 0x4000;
+c.ROLE_ALIGNMASK = c.AM_MASK;
+c.ROLE_LAWFUL = c.AM_LAWFUL;
+c.ROLE_NEUTRAL = c.AM_NEUTRAL;
+c.ROLE_CHAOTIC = c.AM_CHAOTIC;
+c.ROLE_NONE = -1;
+c.ROLE_RANDOM = -2;
+c.ROLE_GENDERS = 2;
+c.ROLE_ALIGNS = 3;
+c.TT_BEARTRAP = 0;
+c.TT_PIT = 1;
+c.TT_WEB = 2;
+c.TT_LAVA = 3;
+c.TT_INFLOOR = 4;
+c.SICK_VOMITABLE = 0x01;
+c.SICK_NONVOMITABLE = 0x02;
+c.SICK_ALL = 0x03;
+c.BC_BALL = 0x01;
+c.BC_CHAIN = 0x02;
+c.CONVERT = 2;
+c.A_ORIGINAL = 1;
+c.A_CURRENT = 0;
+c.LUCKADD = 3;
+c.LUCKMAX = 10;
+c.LUCKMIN = -10;
 
 // from include/monflag.h
 
-gc.MS_SILENT = 0;
-gc.MS_BARK = 1;
-gc.MS_MEW = 2;
-gc.MS_ROAR = 3;
-gc.MS_GROWL = 4;
-gc.MS_SQEEK = 5;
-gc.MS_SQAWK = 6;
-gc.MS_HISS = 7;
-gc.MS_BUZZ = 8;
-gc.MS_GRUNT = 9;
-gc.MS_NEIGH = 10;
-gc.MS_WAIL = 11;
-gc.MS_GURGLE = 12;
-gc.MS_BURBLE = 13;
-gc.MS_ANIMAL = 13;
-gc.MS_SHRIEK = 15;
-gc.MS_BONES = 16;
-gc.MS_LAUGH = 17;
-gc.MS_MUMBLE = 18;
-gc.MS_IMITATE = 19;
-gc.MS_ORC = gc.MS_GRUNT;
-gc.MS_HUMANOID = 20;
-gc.MS_ARREST = 21;
-gc.MS_SOLDIER = 22;
-gc.MS_GUARD = 23;
-gc.MS_DJINNI = 24;
-gc.MS_NURSE = 25;
-gc.MS_SEDUCE = 26;
-gc.MS_VAMPIRE = 27;
-gc.MS_BRIBE = 28;
-gc.MS_CUSS = 29;
-gc.MS_RIDER = 30;
-gc.MS_LEADER = 31;
-gc.MS_NEMESIS = 32;
-gc.MS_GUARDIAN = 33;
-gc.MS_SELL = 34;
-gc.MS_ORACLE = 35;
-gc.MS_PRIEST = 36;
-gc.MS_SPELL = 37;
-gc.MS_WERE = 38;
-gc.MS_BOAST = 39;
-gc.MR_FIRE = 0x01;
-gc.MR_COLD = 0x02;
-gc.MR_SLEEP = 0x04;
-gc.MR_DISINT = 0x08;
-gc.MR_ELEC = 0x10;
-gc.MR_POISON = 0x20;
-gc.MR_ACID = 0x40;
-gc.MR_STONE = 0x80;
-gc.MR2_SEE_INVIS = 0x0100;
-gc.MR2_LEVITATE = 0x0200;
-gc.MR2_WATERWALK = 0x0400;
-gc.MR2_MAGBREATH = 0x0800;
-gc.MR2_DISPLACED = 0x1000;
-gc.MR2_STRENGTH = 0x2000;
-gc.MR2_FUMBLING = 0x4000;
-gc.M1_FLY = 0x00000001;
-gc.M1_SWIM = 0x00000002;
-gc.M1_AMORPHOUS = 0x00000004;
-gc.M1_WALLWALK = 0x00000008;  
-gc.M1_CLING = 0x00000010;
-gc.M1_TUNNEL = 0x00000020;
-gc.M1_NEEDPICK = 0x00000040;
-gc.M1_CONCEAL = 0x00000080;
-gc.M1_HIDE = 0x00000100;
-gc.M1_AMPHIBIOUS = 0x00000200;
-gc.M1_BREATHLESS = 0x00000400;
-gc.M1_NOTAKE = 0x00000800;
-gc.M1_NOEYES = 0x00001000;
-gc.M1_NOHANDS = 0x00002000;
-gc.M1_NOLIMBS = 0x00006000;
-gc.M1_NOHEAD = 0x00008000;
-gc.M1_MINDLESS = 0x00010000;
-gc.M1_HUMANOID = 0x00020000;
-gc.M1_ANIMAL = 0x00040000;
-gc.M1_SLITHY = 0x00080000;
-gc.M1_UNSOLID = 0x00100000;
-gc.M1_THICK_HIDE = 0x00200000;
-gc.M1_OVIPAROUS = 0x00400000;
-gc.M1_REGEN = 0x00800000;
-gc.M1_SEE_INVIS = 0x01000000;
-gc.M1_TPORT = 0x02000000;
-gc.M1_TPORT_CNTRL = 0x04000000;
-gc.M1_ACID = 0x08000000;
-gc.M1_POIS = 0x10000000;
-gc.M1_CARNIVORE = 0x20000000;
-gc.M1_HERBIVORE = 0x40000000;
-gc.M1_OMNIVORE = 0x60000000;
-gc.M1_METALLIVORE = 0x80000000;
-gc.M2_NOPOLY = 0x00000001;
-gc.M2_UNDEAD = 0x00000002;
-gc.M2_WERE = 0x00000004;
-gc.M2_HUMAN = 0x00000008;
-gc.M2_ELF = 0x00000010;
-gc.M2_DWARF = 0x00000020;
-gc.M2_GNOME = 0x00000040;
-gc.M2_ORC = 0x00000080;
-gc.M2_DEMON = 0x00000100;
-gc.M2_MERC = 0x00000200;
-gc.M2_LORD = 0x00000400;
-gc.M2_PRINCE = 0x00000800;
-gc.M2_MINION = 0x00001000;
-gc.M2_GIANT = 0x00002000;
-gc.M2_MALE = 0x00010000;
-gc.M2_FEMALE = 0x00020000;
-gc.M2_NEUTER = 0x00040000;
-gc.M2_PNAME = 0x00080000;
-gc.M2_HOSTILE = 0x00100000;
-gc.M2_PEACEFUL = 0x00200000;
-gc.M2_DOMESTIC = 0x00400000;
-gc.M2_WANDER = 0x00800000;
-gc.M2_STALK = 0x01000000;
-gc.M2_NASTY = 0x02000000;
-gc.M2_STRONG = 0x04000000;
-gc.M2_ROCKTHROW = 0x08000000;
-gc.M2_GREEDY = 0x10000000;
-gc.M2_JEWELS = 0x20000000;
-gc.M2_COLLECT = 0x40000000;
-gc.M2_MAGIC = 0x80000000;
-gc.M3_WANTSAMUL = 0x0001;
-gc.M3_WANTSBELL = 0x0002;
-gc.M3_WANTSBOOK = 0x0004;
-gc.M3_WANTSCAND = 0x0008;
-gc.M3_WANTSARTI = 0x0010;
-gc.M3_WANTSALL = 0x001f;
-gc.M3_WAITFORU = 0x0040;
-gc.M3_CLOSE = 0x0080;
-gc.M3_COVETOUS = 0x001f;
-gc.M3_WAITMASK = 0x00c0;
-gc.M3_INFRAVISION = 0x0100;
-gc.M3_INFRAVISIBLE = 0x0200;
-gc.MZ_TINY = 0;
-gc.MZ_SMALL = 1;
-gc.MZ_MEDIUM = 2;
-gc.MZ_HUMAN = gc.MZ_MEDIUM;
-gc.MZ_LARGE = 3;
-gc.MZ_HUGE = 4;
-gc.MZ_GIGANTIC = 7;
-gc.MH_HUMAN = gc.M2_HUMAN;
-gc.MH_ELF = gc.M2_ELF;
-gc.MH_DWARF = gc.M2_DWARF;
-gc.MH_GNOME = gc.M2_GNOME;
-gc.MH_ORC = gc.M2_ORC;
-gc.G_UNIQ = 0x1000;
-gc.G_NOHELL = 0x0800;
-gc.G_HELL = 0x0400;
-gc.G_NOGEN = 0x0200;
-gc.G_SGROUP = 0x0080;
-gc.G_LGROUP = 0x0040;
-gc.G_GENO = 0x0020;
-gc.G_NOCORPSE = 0x0010;
-gc.G_FREQ = 0x0007;
-gc.G_KNOWN = 0x0004;
-gc.G_GENOD = 0x0002;
-gc.G_EXTINCT = 0x0001;
-gc.G_GONE = (gc.G_GENOD | gc.G_EXTINCT);
-gc.MV_KNOWS_EGG = 0x0008;
+c.MS_SILENT = 0;
+c.MS_BARK = 1;
+c.MS_MEW = 2;
+c.MS_ROAR = 3;
+c.MS_GROWL = 4;
+c.MS_SQEEK = 5;
+c.MS_SQAWK = 6;
+c.MS_HISS = 7;
+c.MS_BUZZ = 8;
+c.MS_GRUNT = 9;
+c.MS_NEIGH = 10;
+c.MS_WAIL = 11;
+c.MS_GURGLE = 12;
+c.MS_BURBLE = 13;
+c.MS_ANIMAL = 13;
+c.MS_SHRIEK = 15;
+c.MS_BONES = 16;
+c.MS_LAUGH = 17;
+c.MS_MUMBLE = 18;
+c.MS_IMITATE = 19;
+c.MS_ORC = c.MS_GRUNT;
+c.MS_HUMANOID = 20;
+c.MS_ARREST = 21;
+c.MS_SOLDIER = 22;
+c.MS_GUARD = 23;
+c.MS_DJINNI = 24;
+c.MS_NURSE = 25;
+c.MS_SEDUCE = 26;
+c.MS_VAMPIRE = 27;
+c.MS_BRIBE = 28;
+c.MS_CUSS = 29;
+c.MS_RIDER = 30;
+c.MS_LEADER = 31;
+c.MS_NEMESIS = 32;
+c.MS_GUARDIAN = 33;
+c.MS_SELL = 34;
+c.MS_ORACLE = 35;
+c.MS_PRIEST = 36;
+c.MS_SPELL = 37;
+c.MS_WERE = 38;
+c.MS_BOAST = 39;
+c.MR_FIRE = 0x01;
+c.MR_COLD = 0x02;
+c.MR_SLEEP = 0x04;
+c.MR_DISINT = 0x08;
+c.MR_ELEC = 0x10;
+c.MR_POISON = 0x20;
+c.MR_ACID = 0x40;
+c.MR_STONE = 0x80;
+c.MR2_SEE_INVIS = 0x0100;
+c.MR2_LEVITATE = 0x0200;
+c.MR2_WATERWALK = 0x0400;
+c.MR2_MAGBREATH = 0x0800;
+c.MR2_DISPLACED = 0x1000;
+c.MR2_STRENGTH = 0x2000;
+c.MR2_FUMBLING = 0x4000;
+c.M1_FLY = 0x00000001;
+c.M1_SWIM = 0x00000002;
+c.M1_AMORPHOUS = 0x00000004;
+c.M1_WALLWALK = 0x00000008;  
+c.M1_CLING = 0x00000010;
+c.M1_TUNNEL = 0x00000020;
+c.M1_NEEDPICK = 0x00000040;
+c.M1_CONCEAL = 0x00000080;
+c.M1_HIDE = 0x00000100;
+c.M1_AMPHIBIOUS = 0x00000200;
+c.M1_BREATHLESS = 0x00000400;
+c.M1_NOTAKE = 0x00000800;
+c.M1_NOEYES = 0x00001000;
+c.M1_NOHANDS = 0x00002000;
+c.M1_NOLIMBS = 0x00006000;
+c.M1_NOHEAD = 0x00008000;
+c.M1_MINDLESS = 0x00010000;
+c.M1_HUMANOID = 0x00020000;
+c.M1_ANIMAL = 0x00040000;
+c.M1_SLITHY = 0x00080000;
+c.M1_UNSOLID = 0x00100000;
+c.M1_THICK_HIDE = 0x00200000;
+c.M1_OVIPAROUS = 0x00400000;
+c.M1_REGEN = 0x00800000;
+c.M1_SEE_INVIS = 0x01000000;
+c.M1_TPORT = 0x02000000;
+c.M1_TPORT_CNTRL = 0x04000000;
+c.M1_ACID = 0x08000000;
+c.M1_POIS = 0x10000000;
+c.M1_CARNIVORE = 0x20000000;
+c.M1_HERBIVORE = 0x40000000;
+c.M1_OMNIVORE = 0x60000000;
+c.M1_METALLIVORE = 0x80000000;
+c.M2_NOPOLY = 0x00000001;
+c.M2_UNDEAD = 0x00000002;
+c.M2_WERE = 0x00000004;
+c.M2_HUMAN = 0x00000008;
+c.M2_ELF = 0x00000010;
+c.M2_DWARF = 0x00000020;
+c.M2_GNOME = 0x00000040;
+c.M2_ORC = 0x00000080;
+c.M2_DEMON = 0x00000100;
+c.M2_MERC = 0x00000200;
+c.M2_LORD = 0x00000400;
+c.M2_PRINCE = 0x00000800;
+c.M2_MINION = 0x00001000;
+c.M2_GIANT = 0x00002000;
+c.M2_MALE = 0x00010000;
+c.M2_FEMALE = 0x00020000;
+c.M2_NEUTER = 0x00040000;
+c.M2_PNAME = 0x00080000;
+c.M2_HOSTILE = 0x00100000;
+c.M2_PEACEFUL = 0x00200000;
+c.M2_DOMESTIC = 0x00400000;
+c.M2_WANDER = 0x00800000;
+c.M2_STALK = 0x01000000;
+c.M2_NASTY = 0x02000000;
+c.M2_STRONG = 0x04000000;
+c.M2_ROCKTHROW = 0x08000000;
+c.M2_GREEDY = 0x10000000;
+c.M2_JEWELS = 0x20000000;
+c.M2_COLLECT = 0x40000000;
+c.M2_MAGIC = 0x80000000;
+c.M3_WANTSAMUL = 0x0001;
+c.M3_WANTSBELL = 0x0002;
+c.M3_WANTSBOOK = 0x0004;
+c.M3_WANTSCAND = 0x0008;
+c.M3_WANTSARTI = 0x0010;
+c.M3_WANTSALL = 0x001f;
+c.M3_WAITFORU = 0x0040;
+c.M3_CLOSE = 0x0080;
+c.M3_COVETOUS = 0x001f;
+c.M3_WAITMASK = 0x00c0;
+c.M3_INFRAVISION = 0x0100;
+c.M3_INFRAVISIBLE = 0x0200;
+c.MZ_TINY = 0;
+c.MZ_SMALL = 1;
+c.MZ_MEDIUM = 2;
+c.MZ_HUMAN = c.MZ_MEDIUM;
+c.MZ_LARGE = 3;
+c.MZ_HUGE = 4;
+c.MZ_GIGANTIC = 7;
+c.MH_HUMAN = c.M2_HUMAN;
+c.MH_ELF = c.M2_ELF;
+c.MH_DWARF = c.M2_DWARF;
+c.MH_GNOME = c.M2_GNOME;
+c.MH_ORC = c.M2_ORC;
+c.G_UNIQ = 0x1000;
+c.G_NOHELL = 0x0800;
+c.G_HELL = 0x0400;
+c.G_NOGEN = 0x0200;
+c.G_SGROUP = 0x0080;
+c.G_LGROUP = 0x0040;
+c.G_GENO = 0x0020;
+c.G_NOCORPSE = 0x0010;
+c.G_FREQ = 0x0007;
+c.G_KNOWN = 0x0004;
+c.G_GENOD = 0x0002;
+c.G_EXTINCT = 0x0001;
+c.G_GONE = (c.G_GENOD | c.G_EXTINCT);
+c.MV_KNOWS_EGG = 0x0008;
 
 // from include/attrib.h
 
-gc.A_STR = 0;
-gc.A_INT = 1;
-gc.A_WIS = 2;
-gc.A_DEX = 3;
-gc.A_CON = 4;
-gc.A_CHA = 5;
-gc.A_MAX = 6;
+c.A_STR = 0;
+c.A_INT = 1;
+c.A_WIS = 2;
+c.A_DEX = 3;
+c.A_CON = 4;
+c.A_CHA = 5;
+c.A_MAX = 6;
 
 // from include/onames.h
 
-gc.STRANGE_OBJECT = 0;
-gc.ARROW = 1;
-gc.ELVEN_ARROW = 2;
-gc.ORCISH_ARROW = 3;
-gc.SILVER_ARROW = 4;
-gc.YA = 5;
-gc.CROSSBOW_BOLT = 6;
-gc.DART = 7;
-gc.SHURIKEN = 8;
-gc.BOOMERANG = 9;
-gc.SPEAR = 10;
-gc.ELVEN_SPEAR = 11;
-gc.ORCISH_SPEAR = 12;
-gc.DWARVISH_SPEAR = 13;
-gc.SILVER_SPEAR = 14;
-gc.JAVELIN = 15;
-gc.TRIDENT = 16;
-gc.DAGGER = 17;
-gc.ELVEN_DAGGER = 18;
-gc.ORCISH_DAGGER = 19;
-gc.SILVER_DAGGER = 20;
-gc.ATHAME = 21;
-gc.SCALPEL = 22;
-gc.KNIFE = 23;
-gc.STILETTO = 24;
-gc.WORM_TOOTH = 25;
-gc.CRYSKNIFE = 26;
-gc.AXE = 27;
-gc.BATTLE_AXE = 28;
-gc.SHORT_SWORD = 29;
-gc.ELVEN_SHORT_SWORD = 30;
-gc.ORCISH_SHORT_SWORD = 31;
-gc.DWARVISH_SHORT_SWORD = 32;
-gc.SCIMITAR = 33;
-gc.SILVER_SABER = 34;
-gc.BROADSWORD = 35;
-gc.ELVEN_BROADSWORD = 36;
-gc.LONG_SWORD = 37;
-gc.TWO_HANDED_SWORD = 38;
-gc.KATANA = 39;
-gc.TSURUGI = 40;
-gc.RUNESWORD = 41;
-gc.PARTISAN = 42;
-gc.RANSEUR = 43;
-gc.SPETUM = 44;
-gc.GLAIVE = 45;
-gc.LANCE = 46;
-gc.HALBERD = 47;
-gc.BARDICHE = 48;
-gc.VOULGE = 49;
-gc.DWARVISH_MATTOCK = 50;
-gc.FAUCHARD = 51;
-gc.GUISARME = 52;
-gc.BILL_GUISARME = 53;
-gc.LUCERN_HAMMER = 54;
-gc.BEC_DE_CORBIN = 55;
-gc.MACE = 56;
-gc.MORNING_STAR = 57;
-gc.WAR_HAMMER = 58;
-gc.CLUB = 59;
-gc.RUBBER_HOSE = 60;
-gc.QUARTERSTAFF = 61;
-gc.AKLYS = 62;
-gc.FLAIL = 63;
-gc.BULLWHIP = 64;
-gc.BOW = 65;
-gc.ELVEN_BOW = 66;
-gc.ORCISH_BOW = 67;
-gc.YUMI = 68;
-gc.SLING = 69;
-gc.CROSSBOW = 70;
-gc.ELVEN_LEATHER_HELM = 71;
-gc.ORCISH_HELM = 72;
-gc.DWARVISH_IRON_HELM = 73;
-gc.FEDORA = 74;
-gc.CORNUTHAUM = 75;
-gc.DUNCE_CAP = 76;
-gc.DENTED_POT = 77;
-gc.HELMET = 78;
-gc.HELM_OF_BRILLIANCE = 79;
-gc.HELM_OF_OPPOSITE_ALIGNMENT = 80;
-gc.HELM_OF_TELEPATHY = 81;
-gc.GRAY_DRAGON_SCALE_MAIL = 82;
-gc.SILVER_DRAGON_SCALE_MAIL = 83;
-gc.RED_DRAGON_SCALE_MAIL = 84;
-gc.WHITE_DRAGON_SCALE_MAIL = 85;
-gc.ORANGE_DRAGON_SCALE_MAIL = 86;
-gc.BLACK_DRAGON_SCALE_MAIL = 87;
-gc.BLUE_DRAGON_SCALE_MAIL = 88;
-gc.GREEN_DRAGON_SCALE_MAIL = 89;
-gc.YELLOW_DRAGON_SCALE_MAIL = 90;
-gc.GRAY_DRAGON_SCALES = 91;
-gc.SILVER_DRAGON_SCALES = 92;
-gc.RED_DRAGON_SCALES = 93;
-gc.WHITE_DRAGON_SCALES = 94;
-gc.ORANGE_DRAGON_SCALES = 95;
-gc.BLACK_DRAGON_SCALES = 96;
-gc.BLUE_DRAGON_SCALES = 97;
-gc.GREEN_DRAGON_SCALES = 98;
-gc.YELLOW_DRAGON_SCALES = 99;
-gc.PLATE_MAIL = 100;
-gc.CRYSTAL_PLATE_MAIL = 101;
-gc.BRONZE_PLATE_MAIL = 102;
-gc.SPLINT_MAIL = 103;
-gc.BANDED_MAIL = 104;
-gc.DWARVISH_MITHRIL_COAT = 105;
-gc.ELVEN_MITHRIL_COAT = 106;
-gc.CHAIN_MAIL = 107;
-gc.ORCISH_CHAIN_MAIL = 108;
-gc.SCALE_MAIL = 109;
-gc.STUDDED_LEATHER_ARMOR = 110;
-gc.RING_MAIL = 111;
-gc.ORCISH_RING_MAIL = 112;
-gc.LEATHER_ARMOR = 113;
-gc.LEATHER_JACKET = 114;
-gc.HAWAIIAN_SHIRT = 115;
-gc.T_SHIRT = 116;
-gc.MUMMY_WRAPPING = 117;
-gc.ELVEN_CLOAK = 118;
-gc.ORCISH_CLOAK = 119;
-gc.DWARVISH_CLOAK = 120;
-gc.OILSKIN_CLOAK = 121;
-gc.ROBE = 122;
-gc.ALCHEMY_SMOCK = 123;
-gc.LEATHER_CLOAK = 124;
-gc.CLOAK_OF_PROTECTION = 125;
-gc.CLOAK_OF_INVISIBILITY = 126;
-gc.CLOAK_OF_MAGIC_RESISTANCE = 127;
-gc.CLOAK_OF_DISPLACEMENT = 128;
-gc.SMALL_SHIELD = 129;
-gc.ELVEN_SHIELD = 130;
-gc.URUK_HAI_SHIELD = 131;
-gc.ORCISH_SHIELD = 132;
-gc.LARGE_SHIELD = 133;
-gc.DWARVISH_ROUNDSHIELD = 134;
-gc.SHIELD_OF_REFLECTION = 135;
-gc.LEATHER_GLOVES = 136;
-gc.GAUNTLETS_OF_FUMBLING = 137;
-gc.GAUNTLETS_OF_POWER = 138;
-gc.GAUNTLETS_OF_DEXTERITY = 139;
-gc.LOW_BOOTS = 140;
-gc.IRON_SHOES = 141;
-gc.HIGH_BOOTS = 142;
-gc.SPEED_BOOTS = 143;
-gc.WATER_WALKING_BOOTS = 144;
-gc.JUMPING_BOOTS = 145;
-gc.ELVEN_BOOTS = 146;
-gc.KICKING_BOOTS = 147;
-gc.FUMBLE_BOOTS = 148;
-gc.LEVITATION_BOOTS = 149;
-gc.RIN_ADORNMENT = 150;
-gc.RIN_GAIN_STRENGTH = 151;
-gc.RIN_GAIN_CONSTITUTION = 152;
-gc.RIN_INCREASE_ACCURACY = 153;
-gc.RIN_INCREASE_DAMAGE = 154;
-gc.RIN_PROTECTION = 155;
-gc.RIN_REGENERATION = 156;
-gc.RIN_SEARCHING = 157;
-gc.RIN_STEALTH = 158;
-gc.RIN_SUSTAIN_ABILITY = 159;
-gc.RIN_LEVITATION = 160;
-gc.RIN_HUNGER = 161;
-gc.RIN_AGGRAVATE_MONSTER = 162;
-gc.RIN_CONFLICT = 163;
-gc.RIN_WARNING = 164;
-gc.RIN_POISON_RESISTANCE = 165;
-gc.RIN_FIRE_RESISTANCE = 166;
-gc.RIN_COLD_RESISTANCE = 167;
-gc.RIN_SHOCK_RESISTANCE = 168;
-gc.RIN_FREE_ACTION = 169;
-gc.RIN_SLOW_DIGESTION = 170;
-gc.RIN_TELEPORTATION = 171;
-gc.RIN_TELEPORT_CONTROL = 172;
-gc.RIN_POLYMORPH = 173;
-gc.RIN_POLYMORPH_CONTROL = 174;
-gc.RIN_INVISIBILITY = 175;
-gc.RIN_SEE_INVISIBLE = 176;
-gc.RIN_PROTECTION_FROM_SHAPE_CHAN = 177;
-gc.AMULET_OF_ESP = 178;
-gc.AMULET_OF_LIFE_SAVING = 179;
-gc.AMULET_OF_STRANGULATION = 180;
-gc.AMULET_OF_RESTFUL_SLEEP = 181;
-gc.AMULET_VERSUS_POISON = 182;
-gc.AMULET_OF_CHANGE = 183;
-gc.AMULET_OF_UNCHANGING = 184;
-gc.AMULET_OF_REFLECTION = 185;
-gc.AMULET_OF_MAGICAL_BREATHING = 186;
-gc.FAKE_AMULET_OF_YENDOR = 187;
-gc.AMULET_OF_YENDOR = 188;
-gc.LARGE_BOX = 189;
-gc.CHEST = 190;
-gc.ICE_BOX = 191;
-gc.SACK = 192;
-gc.OILSKIN_SACK = 193;
-gc.BAG_OF_HOLDING = 194;
-gc.BAG_OF_TRICKS = 195;
-gc.SKELETON_KEY = 196;
-gc.LOCK_PICK = 197;
-gc.CREDIT_CARD = 198;
-gc.TALLOW_CANDLE = 199;
-gc.WAX_CANDLE = 200;
-gc.BRASS_LANTERN = 201;
-gc.OIL_LAMP = 202;
-gc.MAGIC_LAMP = 203;
-gc.EXPENSIVE_CAMERA = 204;
-gc.MIRROR = 205;
-gc.CRYSTAL_BALL = 206;
-gc.LENSES = 207;
-gc.BLINDFOLD = 208;
-gc.TOWEL = 209;
-gc.SADDLE = 210;
-gc.LEASH = 211;
-gc.STETHOSCOPE = 212;
-gc.TINNING_KIT = 213;
-gc.TIN_OPENER = 214;
-gc.CAN_OF_GREASE = 215;
-gc.FIGURINE = 216;
-gc.MAGIC_MARKER = 217;
-gc.LAND_MINE = 218;
-gc.BEARTRAP = 219;
-gc.TIN_WHISTLE = 220;
-gc.MAGIC_WHISTLE = 221;
-gc.WOODEN_FLUTE = 222;
-gc.MAGIC_FLUTE = 223;
-gc.TOOLED_HORN = 224;
-gc.FROST_HORN = 225;
-gc.FIRE_HORN = 226;
-gc.HORN_OF_PLENTY = 227;
-gc.WOODEN_HARP = 228;
-gc.MAGIC_HARP = 229;
-gc.BELL = 230;
-gc.BUGLE = 231;
-gc.LEATHER_DRUM = 232;
-gc.DRUM_OF_EARTHQUAKE = 233;
-gc.PICK_AXE = 234;
-gc.GRAPPLING_HOOK = 235;
-gc.UNICORN_HORN = 236;
-gc.CANDELABRUM_OF_INVOCATION = 237;
-gc.BELL_OF_OPENING = 238;
-gc.TRIPE_RATION = 239;
-gc.CORPSE = 240;
-gc.EGG = 241;
-gc.MEATBALL = 242;
-gc.MEAT_STICK = 243;
-gc.HUGE_CHUNK_OF_MEAT = 244;
-gc.MEAT_RING = 245;
-gc.KELP_FROND = 246;
-gc.EUCALYPTUS_LEAF = 247;
-gc.APPLE = 248;
-gc.ORANGE = 249;
-gc.PEAR = 250;
-gc.MELON = 251;
-gc.BANANA = 252;
-gc.CARROT = 253;
-gc.SPRIG_OF_WOLFSBANE = 254;
-gc.CLOVE_OF_GARLIC = 255;
-gc.SLIME_MOLD = 256;
-gc.LUMP_OF_ROYAL_JELLY = 257;
-gc.CREAM_PIE = 258;
-gc.CANDY_BAR = 259;
-gc.FORTUNE_COOKIE = 260;
-gc.PANCAKE = 261;
-gc.LEMBAS_WAFER = 262;
-gc.CRAM_RATION = 263;
-gc.FOOD_RATION = 264;
-gc.K_RATION = 265;
-gc.C_RATION = 266;
-gc.TIN = 267;
-gc.POT_GAIN_ABILITY = 268;
-gc.POT_RESTORE_ABILITY = 269;
-gc.POT_CONFUSION = 270;
-gc.POT_BLINDNESS = 271;
-gc.POT_PARALYSIS = 272;
-gc.POT_SPEED = 273;
-gc.POT_LEVITATION = 274;
-gc.POT_HALLUCINATION = 275;
-gc.POT_INVISIBILITY = 276;
-gc.POT_SEE_INVISIBLE = 277;
-gc.POT_HEALING = 278;
-gc.POT_EXTRA_HEALING = 279;
-gc.POT_GAIN_LEVEL = 280;
-gc.POT_ENLIGHTENMENT = 281;
-gc.POT_MONSTER_DETECTION = 282;
-gc.POT_OBJECT_DETECTION = 283;
-gc.POT_GAIN_ENERGY = 284;
-gc.POT_SLEEPING = 285;
-gc.POT_FULL_HEALING = 286;
-gc.POT_POLYMORPH = 287;
-gc.POT_BOOZE = 288;
-gc.POT_SICKNESS = 289;
-gc.POT_FRUIT_JUICE = 290;
-gc.POT_ACID = 291;
-gc.POT_OIL = 292;
-gc.POT_WATER = 293;
-gc.SCR_ENCHANT_ARMOR = 294;
-gc.SCR_DESTROY_ARMOR = 295;
-gc.SCR_CONFUSE_MONSTER = 296;
-gc.SCR_SCARE_MONSTER = 297;
-gc.SCR_REMOVE_CURSE = 298;
-gc.SCR_ENCHANT_WEAPON = 299;
-gc.SCR_CREATE_MONSTER = 300;
-gc.SCR_TAMING = 301;
-gc.SCR_GENOCIDE = 302;
-gc.SCR_LIGHT = 303;
-gc.SCR_TELEPORTATION = 304;
-gc.SCR_GOLD_DETECTION = 305;
-gc.SCR_FOOD_DETECTION = 306;
-gc.SCR_IDENTIFY = 307;
-gc.SCR_MAGIC_MAPPING = 308;
-gc.SCR_AMNESIA = 309;
-gc.SCR_FIRE = 310;
-gc.SCR_EARTH = 311;
-gc.SCR_PUNISHMENT = 312;
-gc.SCR_CHARGING = 313;
-gc.SCR_STINKING_CLOUD = 314;
-gc.SCR_MAIL = 319;
-gc.SCR_BLANK_PAPER = 320;
-gc.SPE_DIG = 321;
-gc.SPE_MAGIC_MISSILE = 322;
-gc.SPE_FIREBALL = 323;
-gc.SPE_CONE_OF_COLD = 324;
-gc.SPE_SLEEP = 325;
-gc.SPE_FINGER_OF_DEATH = 326;
-gc.SPE_LIGHT = 327;
-gc.SPE_DETECT_MONSTERS = 328;
-gc.SPE_HEALING = 329;
-gc.SPE_KNOCK = 330;
-gc.SPE_FORCE_BOLT = 331;
-gc.SPE_CONFUSE_MONSTER = 332;
-gc.SPE_CURE_BLINDNESS = 333;
-gc.SPE_DRAIN_LIFE = 334;
-gc.SPE_SLOW_MONSTER = 335;
-gc.SPE_WIZARD_LOCK = 336;
-gc.SPE_CREATE_MONSTER = 337;
-gc.SPE_DETECT_FOOD = 338;
-gc.SPE_CAUSE_FEAR = 339;
-gc.SPE_CLAIRVOYANCE = 340;
-gc.SPE_CURE_SICKNESS = 341;
-gc.SPE_CHARM_MONSTER = 342;
-gc.SPE_HASTE_SELF = 343;
-gc.SPE_DETECT_UNSEEN = 344;
-gc.SPE_LEVITATION = 345;
-gc.SPE_EXTRA_HEALING = 346;
-gc.SPE_RESTORE_ABILITY = 347;
-gc.SPE_INVISIBILITY = 348;
-gc.SPE_DETECT_TREASURE = 349;
-gc.SPE_REMOVE_CURSE = 350;
-gc.SPE_MAGIC_MAPPING = 351;
-gc.SPE_IDENTIFY = 352;
-gc.SPE_TURN_UNDEAD = 353;
-gc.SPE_POLYMORPH = 354;
-gc.SPE_TELEPORT_AWAY = 355;
-gc.SPE_CREATE_FAMILIAR = 356;
-gc.SPE_CANCELLATION = 357;
-gc.SPE_PROTECTION = 358;
-gc.SPE_JUMPING = 359;
-gc.SPE_STONE_TO_FLESH = 360;
-gc.SPE_BLANK_PAPER = 361;
-gc.SPE_BOOK_OF_THE_DEAD = 362;
-gc.WAN_LIGHT = 363;
-gc.WAN_SECRET_DOOR_DETECTION = 364;
-gc.WAN_ENLIGHTENMENT = 365;
-gc.WAN_CREATE_MONSTER = 366;
-gc.WAN_WISHING = 367;
-gc.WAN_NOTHING = 368;
-gc.WAN_STRIKING = 369;
-gc.WAN_MAKE_INVISIBLE = 370;
-gc.WAN_SLOW_MONSTER = 371;
-gc.WAN_SPEED_MONSTER = 372;
-gc.WAN_UNDEAD_TURNING = 373;
-gc.WAN_POLYMORPH = 374;
-gc.WAN_CANCELLATION = 375;
-gc.WAN_TELEPORTATION = 376;
-gc.WAN_OPENING = 377;
-gc.WAN_LOCKING = 378;
-gc.WAN_PROBING = 379;
-gc.WAN_DIGGING = 380;
-gc.WAN_MAGIC_MISSILE = 381;
-gc.WAN_FIRE = 382;
-gc.WAN_COLD = 383;
-gc.WAN_SLEEP = 384;
-gc.WAN_DEATH = 385;
-gc.WAN_LIGHTNING = 386;
-gc.GOLD_PIECE = 390;
-gc.DILITHIUM_CRYSTAL = 391;
-gc.DIAMOND = 392;
-gc.RUBY = 393;
-gc.JACINTH = 394;
-gc.SAPPHIRE = 395;
-gc.BLACK_OPAL = 396;
-gc.EMERALD = 397;
-gc.TURQUOISE = 398;
-gc.CITRINE = 399;
-gc.AQUAMARINE = 400;
-gc.AMBER = 401;
-gc.TOPAZ = 402;
-gc.JET = 403;
-gc.OPAL = 404;
-gc.CHRYSOBERYL = 405;
-gc.GARNET = 406;
-gc.AMETHYST = 407;
-gc.JASPER = 408;
-gc.FLUORITE = 409;
-gc.OBSIDIAN = 410;
-gc.AGATE = 411;
-gc.JADE = 412;
-gc.LUCKSTONE = 422;
-gc.LOADSTONE = 423;
-gc.TOUCHSTONE = 424;
-gc.FLINT = 425;
-gc.ROCK = 426;
-gc.BOULDER = 427;
-gc.STATUE = 428;
-gc.HEAVY_IRON_BALL = 429;
-gc.IRON_CHAIN = 430;
-gc.BLINDING_VENOM = 431;
-gc.ACID_VENOM = 432;
-gc.LAST_GEM = 412;
-gc.MAXSPELL = 43;
-gc.NUM_OBJECTS = 433;
-gc.ART_EXCALIBUR = 1;
-gc.ART_STORMBRINGER = 2;
-gc.ART_MJOLLNIR = 3;
-gc.ART_CLEAVER = 4;
-gc.ART_GRIMTOOTH = 5;
-gc.ART_ORCRIST = 6;
-gc.ART_STING = 7;
-gc.ART_MAGICBANE = 8;
-gc.ART_FROST_BRAND = 9;
-gc.ART_FIRE_BRAND = 10;
-gc.ART_DRAGONBANE = 11;
-gc.ART_DEMONBANE = 12;
-gc.ART_WEREBANE = 13;
-gc.ART_GRAYSWANDIR = 14;
-gc.ART_GIANTSLAYER = 15;
-gc.ART_OGRESMASHER = 16;
-gc.ART_TROLLSBANE = 17;
-gc.ART_VORPAL_BLADE = 18;
-gc.ART_SNICKERSNEE = 19;
-gc.ART_SUNSWORD = 20;
-gc.ART_ORB_OF_DETECTION = 21;
-gc.ART_HEART_OF_AHRIMAN = 22;
-gc.ART_SCEPTRE_OF_MIGHT = 23;
-gc.ART_STAFF_OF_AESCULAPIUS = 24;
-gc.ART_MAGIC_MIRROR_OF_MERLIN = 25;
-gc.ART_EYES_OF_THE_OVERWORLD = 26;
-gc.ART_MITRE_OF_HOLINESS = 27;
-gc.ART_LONGBOW_OF_DIANA = 28;
-gc.ART_MASTER_KEY_OF_THIEVERY = 29;
-gc.ART_TSURUGI_OF_MURAMASA = 30;
-gc.ART_YENDORIAN_EXPRESS_CARD = 31;
-gc.ART_ORB_OF_FATE = 32;
-gc.ART_EYE_OF_THE_AETHIOPICA = 33;
-gc.NROFARTIFACTS = 33;
+c.STRANGE_OBJECT = 0;
+c.ARROW = 1;
+c.ELVEN_ARROW = 2;
+c.ORCISH_ARROW = 3;
+c.SILVER_ARROW = 4;
+c.YA = 5;
+c.CROSSBOW_BOLT = 6;
+c.DART = 7;
+c.SHURIKEN = 8;
+c.BOOMERANG = 9;
+c.SPEAR = 10;
+c.ELVEN_SPEAR = 11;
+c.ORCISH_SPEAR = 12;
+c.DWARVISH_SPEAR = 13;
+c.SILVER_SPEAR = 14;
+c.JAVELIN = 15;
+c.TRIDENT = 16;
+c.DAGGER = 17;
+c.ELVEN_DAGGER = 18;
+c.ORCISH_DAGGER = 19;
+c.SILVER_DAGGER = 20;
+c.ATHAME = 21;
+c.SCALPEL = 22;
+c.KNIFE = 23;
+c.STILETTO = 24;
+c.WORM_TOOTH = 25;
+c.CRYSKNIFE = 26;
+c.AXE = 27;
+c.BATTLE_AXE = 28;
+c.SHORT_SWORD = 29;
+c.ELVEN_SHORT_SWORD = 30;
+c.ORCISH_SHORT_SWORD = 31;
+c.DWARVISH_SHORT_SWORD = 32;
+c.SCIMITAR = 33;
+c.SILVER_SABER = 34;
+c.BROADSWORD = 35;
+c.ELVEN_BROADSWORD = 36;
+c.LONG_SWORD = 37;
+c.TWO_HANDED_SWORD = 38;
+c.KATANA = 39;
+c.TSURUGI = 40;
+c.RUNESWORD = 41;
+c.PARTISAN = 42;
+c.RANSEUR = 43;
+c.SPETUM = 44;
+c.GLAIVE = 45;
+c.LANCE = 46;
+c.HALBERD = 47;
+c.BARDICHE = 48;
+c.VOULGE = 49;
+c.DWARVISH_MATTOCK = 50;
+c.FAUCHARD = 51;
+c.GUISARME = 52;
+c.BILL_GUISARME = 53;
+c.LUCERN_HAMMER = 54;
+c.BEC_DE_CORBIN = 55;
+c.MACE = 56;
+c.MORNING_STAR = 57;
+c.WAR_HAMMER = 58;
+c.CLUB = 59;
+c.RUBBER_HOSE = 60;
+c.QUARTERSTAFF = 61;
+c.AKLYS = 62;
+c.FLAIL = 63;
+c.BULLWHIP = 64;
+c.BOW = 65;
+c.ELVEN_BOW = 66;
+c.ORCISH_BOW = 67;
+c.YUMI = 68;
+c.SLING = 69;
+c.CROSSBOW = 70;
+c.ELVEN_LEATHER_HELM = 71;
+c.ORCISH_HELM = 72;
+c.DWARVISH_IRON_HELM = 73;
+c.FEDORA = 74;
+c.CORNUTHAUM = 75;
+c.DUNCE_CAP = 76;
+c.DENTED_POT = 77;
+c.HELMET = 78;
+c.HELM_OF_BRILLIANCE = 79;
+c.HELM_OF_OPPOSITE_ALIGNMENT = 80;
+c.HELM_OF_TELEPATHY = 81;
+c.GRAY_DRAGON_SCALE_MAIL = 82;
+c.SILVER_DRAGON_SCALE_MAIL = 83;
+c.RED_DRAGON_SCALE_MAIL = 84;
+c.WHITE_DRAGON_SCALE_MAIL = 85;
+c.ORANGE_DRAGON_SCALE_MAIL = 86;
+c.BLACK_DRAGON_SCALE_MAIL = 87;
+c.BLUE_DRAGON_SCALE_MAIL = 88;
+c.GREEN_DRAGON_SCALE_MAIL = 89;
+c.YELLOW_DRAGON_SCALE_MAIL = 90;
+c.GRAY_DRAGON_SCALES = 91;
+c.SILVER_DRAGON_SCALES = 92;
+c.RED_DRAGON_SCALES = 93;
+c.WHITE_DRAGON_SCALES = 94;
+c.ORANGE_DRAGON_SCALES = 95;
+c.BLACK_DRAGON_SCALES = 96;
+c.BLUE_DRAGON_SCALES = 97;
+c.GREEN_DRAGON_SCALES = 98;
+c.YELLOW_DRAGON_SCALES = 99;
+c.PLATE_MAIL = 100;
+c.CRYSTAL_PLATE_MAIL = 101;
+c.BRONZE_PLATE_MAIL = 102;
+c.SPLINT_MAIL = 103;
+c.BANDED_MAIL = 104;
+c.DWARVISH_MITHRIL_COAT = 105;
+c.ELVEN_MITHRIL_COAT = 106;
+c.CHAIN_MAIL = 107;
+c.ORCISH_CHAIN_MAIL = 108;
+c.SCALE_MAIL = 109;
+c.STUDDED_LEATHER_ARMOR = 110;
+c.RING_MAIL = 111;
+c.ORCISH_RING_MAIL = 112;
+c.LEATHER_ARMOR = 113;
+c.LEATHER_JACKET = 114;
+c.HAWAIIAN_SHIRT = 115;
+c.T_SHIRT = 116;
+c.MUMMY_WRAPPING = 117;
+c.ELVEN_CLOAK = 118;
+c.ORCISH_CLOAK = 119;
+c.DWARVISH_CLOAK = 120;
+c.OILSKIN_CLOAK = 121;
+c.ROBE = 122;
+c.ALCHEMY_SMOCK = 123;
+c.LEATHER_CLOAK = 124;
+c.CLOAK_OF_PROTECTION = 125;
+c.CLOAK_OF_INVISIBILITY = 126;
+c.CLOAK_OF_MAGIC_RESISTANCE = 127;
+c.CLOAK_OF_DISPLACEMENT = 128;
+c.SMALL_SHIELD = 129;
+c.ELVEN_SHIELD = 130;
+c.URUK_HAI_SHIELD = 131;
+c.ORCISH_SHIELD = 132;
+c.LARGE_SHIELD = 133;
+c.DWARVISH_ROUNDSHIELD = 134;
+c.SHIELD_OF_REFLECTION = 135;
+c.LEATHER_GLOVES = 136;
+c.GAUNTLETS_OF_FUMBLING = 137;
+c.GAUNTLETS_OF_POWER = 138;
+c.GAUNTLETS_OF_DEXTERITY = 139;
+c.LOW_BOOTS = 140;
+c.IRON_SHOES = 141;
+c.HIGH_BOOTS = 142;
+c.SPEED_BOOTS = 143;
+c.WATER_WALKING_BOOTS = 144;
+c.JUMPING_BOOTS = 145;
+c.ELVEN_BOOTS = 146;
+c.KICKING_BOOTS = 147;
+c.FUMBLE_BOOTS = 148;
+c.LEVITATION_BOOTS = 149;
+c.RIN_ADORNMENT = 150;
+c.RIN_GAIN_STRENGTH = 151;
+c.RIN_GAIN_CONSTITUTION = 152;
+c.RIN_INCREASE_ACCURACY = 153;
+c.RIN_INCREASE_DAMAGE = 154;
+c.RIN_PROTECTION = 155;
+c.RIN_REGENERATION = 156;
+c.RIN_SEARCHING = 157;
+c.RIN_STEALTH = 158;
+c.RIN_SUSTAIN_ABILITY = 159;
+c.RIN_LEVITATION = 160;
+c.RIN_HUNGER = 161;
+c.RIN_AGGRAVATE_MONSTER = 162;
+c.RIN_CONFLICT = 163;
+c.RIN_WARNING = 164;
+c.RIN_POISON_RESISTANCE = 165;
+c.RIN_FIRE_RESISTANCE = 166;
+c.RIN_COLD_RESISTANCE = 167;
+c.RIN_SHOCK_RESISTANCE = 168;
+c.RIN_FREE_ACTION = 169;
+c.RIN_SLOW_DIGESTION = 170;
+c.RIN_TELEPORTATION = 171;
+c.RIN_TELEPORT_CONTROL = 172;
+c.RIN_POLYMORPH = 173;
+c.RIN_POLYMORPH_CONTROL = 174;
+c.RIN_INVISIBILITY = 175;
+c.RIN_SEE_INVISIBLE = 176;
+c.RIN_PROTECTION_FROM_SHAPE_CHAN = 177;
+c.AMULET_OF_ESP = 178;
+c.AMULET_OF_LIFE_SAVING = 179;
+c.AMULET_OF_STRANGULATION = 180;
+c.AMULET_OF_RESTFUL_SLEEP = 181;
+c.AMULET_VERSUS_POISON = 182;
+c.AMULET_OF_CHANGE = 183;
+c.AMULET_OF_UNCHANGING = 184;
+c.AMULET_OF_REFLECTION = 185;
+c.AMULET_OF_MAGICAL_BREATHING = 186;
+c.FAKE_AMULET_OF_YENDOR = 187;
+c.AMULET_OF_YENDOR = 188;
+c.LARGE_BOX = 189;
+c.CHEST = 190;
+c.ICE_BOX = 191;
+c.SACK = 192;
+c.OILSKIN_SACK = 193;
+c.BAG_OF_HOLDING = 194;
+c.BAG_OF_TRICKS = 195;
+c.SKELETON_KEY = 196;
+c.LOCK_PICK = 197;
+c.CREDIT_CARD = 198;
+c.TALLOW_CANDLE = 199;
+c.WAX_CANDLE = 200;
+c.BRASS_LANTERN = 201;
+c.OIL_LAMP = 202;
+c.MAGIC_LAMP = 203;
+c.EXPENSIVE_CAMERA = 204;
+c.MIRROR = 205;
+c.CRYSTAL_BALL = 206;
+c.LENSES = 207;
+c.BLINDFOLD = 208;
+c.TOWEL = 209;
+c.SADDLE = 210;
+c.LEASH = 211;
+c.STETHOSCOPE = 212;
+c.TINNING_KIT = 213;
+c.TIN_OPENER = 214;
+c.CAN_OF_GREASE = 215;
+c.FIGURINE = 216;
+c.MAGIC_MARKER = 217;
+c.LAND_MINE = 218;
+c.BEARTRAP = 219;
+c.TIN_WHISTLE = 220;
+c.MAGIC_WHISTLE = 221;
+c.WOODEN_FLUTE = 222;
+c.MAGIC_FLUTE = 223;
+c.TOOLED_HORN = 224;
+c.FROST_HORN = 225;
+c.FIRE_HORN = 226;
+c.HORN_OF_PLENTY = 227;
+c.WOODEN_HARP = 228;
+c.MAGIC_HARP = 229;
+c.BELL = 230;
+c.BUGLE = 231;
+c.LEATHER_DRUM = 232;
+c.DRUM_OF_EARTHQUAKE = 233;
+c.PICK_AXE = 234;
+c.GRAPPLING_HOOK = 235;
+c.UNICORN_HORN = 236;
+c.CANDELABRUM_OF_INVOCATION = 237;
+c.BELL_OF_OPENING = 238;
+c.TRIPE_RATION = 239;
+c.CORPSE = 240;
+c.EGG = 241;
+c.MEATBALL = 242;
+c.MEAT_STICK = 243;
+c.HUGE_CHUNK_OF_MEAT = 244;
+c.MEAT_RING = 245;
+c.KELP_FROND = 246;
+c.EUCALYPTUS_LEAF = 247;
+c.APPLE = 248;
+c.ORANGE = 249;
+c.PEAR = 250;
+c.MELON = 251;
+c.BANANA = 252;
+c.CARROT = 253;
+c.SPRIG_OF_WOLFSBANE = 254;
+c.CLOVE_OF_GARLIC = 255;
+c.SLIME_MOLD = 256;
+c.LUMP_OF_ROYAL_JELLY = 257;
+c.CREAM_PIE = 258;
+c.CANDY_BAR = 259;
+c.FORTUNE_COOKIE = 260;
+c.PANCAKE = 261;
+c.LEMBAS_WAFER = 262;
+c.CRAM_RATION = 263;
+c.FOOD_RATION = 264;
+c.K_RATION = 265;
+c.C_RATION = 266;
+c.TIN = 267;
+c.POT_GAIN_ABILITY = 268;
+c.POT_RESTORE_ABILITY = 269;
+c.POT_CONFUSION = 270;
+c.POT_BLINDNESS = 271;
+c.POT_PARALYSIS = 272;
+c.POT_SPEED = 273;
+c.POT_LEVITATION = 274;
+c.POT_HALLUCINATION = 275;
+c.POT_INVISIBILITY = 276;
+c.POT_SEE_INVISIBLE = 277;
+c.POT_HEALING = 278;
+c.POT_EXTRA_HEALING = 279;
+c.POT_GAIN_LEVEL = 280;
+c.POT_ENLIGHTENMENT = 281;
+c.POT_MONSTER_DETECTION = 282;
+c.POT_OBJECT_DETECTION = 283;
+c.POT_GAIN_ENERGY = 284;
+c.POT_SLEEPING = 285;
+c.POT_FULL_HEALING = 286;
+c.POT_POLYMORPH = 287;
+c.POT_BOOZE = 288;
+c.POT_SICKNESS = 289;
+c.POT_FRUIT_JUICE = 290;
+c.POT_ACID = 291;
+c.POT_OIL = 292;
+c.POT_WATER = 293;
+c.SCR_ENCHANT_ARMOR = 294;
+c.SCR_DESTROY_ARMOR = 295;
+c.SCR_CONFUSE_MONSTER = 296;
+c.SCR_SCARE_MONSTER = 297;
+c.SCR_REMOVE_CURSE = 298;
+c.SCR_ENCHANT_WEAPON = 299;
+c.SCR_CREATE_MONSTER = 300;
+c.SCR_TAMING = 301;
+c.SCR_GENOCIDE = 302;
+c.SCR_LIGHT = 303;
+c.SCR_TELEPORTATION = 304;
+c.SCR_GOLD_DETECTION = 305;
+c.SCR_FOOD_DETECTION = 306;
+c.SCR_IDENTIFY = 307;
+c.SCR_MAGIC_MAPPING = 308;
+c.SCR_AMNESIA = 309;
+c.SCR_FIRE = 310;
+c.SCR_EARTH = 311;
+c.SCR_PUNISHMENT = 312;
+c.SCR_CHARGING = 313;
+c.SCR_STINKING_CLOUD = 314;
+c.SCR_MAIL = 319;
+c.SCR_BLANK_PAPER = 320;
+c.SPE_DIG = 321;
+c.SPE_MAGIC_MISSILE = 322;
+c.SPE_FIREBALL = 323;
+c.SPE_CONE_OF_COLD = 324;
+c.SPE_SLEEP = 325;
+c.SPE_FINGER_OF_DEATH = 326;
+c.SPE_LIGHT = 327;
+c.SPE_DETECT_MONSTERS = 328;
+c.SPE_HEALING = 329;
+c.SPE_KNOCK = 330;
+c.SPE_FORCE_BOLT = 331;
+c.SPE_CONFUSE_MONSTER = 332;
+c.SPE_CURE_BLINDNESS = 333;
+c.SPE_DRAIN_LIFE = 334;
+c.SPE_SLOW_MONSTER = 335;
+c.SPE_WIZARD_LOCK = 336;
+c.SPE_CREATE_MONSTER = 337;
+c.SPE_DETECT_FOOD = 338;
+c.SPE_CAUSE_FEAR = 339;
+c.SPE_CLAIRVOYANCE = 340;
+c.SPE_CURE_SICKNESS = 341;
+c.SPE_CHARM_MONSTER = 342;
+c.SPE_HASTE_SELF = 343;
+c.SPE_DETECT_UNSEEN = 344;
+c.SPE_LEVITATION = 345;
+c.SPE_EXTRA_HEALING = 346;
+c.SPE_RESTORE_ABILITY = 347;
+c.SPE_INVISIBILITY = 348;
+c.SPE_DETECT_TREASURE = 349;
+c.SPE_REMOVE_CURSE = 350;
+c.SPE_MAGIC_MAPPING = 351;
+c.SPE_IDENTIFY = 352;
+c.SPE_TURN_UNDEAD = 353;
+c.SPE_POLYMORPH = 354;
+c.SPE_TELEPORT_AWAY = 355;
+c.SPE_CREATE_FAMILIAR = 356;
+c.SPE_CANCELLATION = 357;
+c.SPE_PROTECTION = 358;
+c.SPE_JUMPING = 359;
+c.SPE_STONE_TO_FLESH = 360;
+c.SPE_BLANK_PAPER = 361;
+c.SPE_BOOK_OF_THE_DEAD = 362;
+c.WAN_LIGHT = 363;
+c.WAN_SECRET_DOOR_DETECTION = 364;
+c.WAN_ENLIGHTENMENT = 365;
+c.WAN_CREATE_MONSTER = 366;
+c.WAN_WISHING = 367;
+c.WAN_NOTHING = 368;
+c.WAN_STRIKING = 369;
+c.WAN_MAKE_INVISIBLE = 370;
+c.WAN_SLOW_MONSTER = 371;
+c.WAN_SPEED_MONSTER = 372;
+c.WAN_UNDEAD_TURNING = 373;
+c.WAN_POLYMORPH = 374;
+c.WAN_CANCELLATION = 375;
+c.WAN_TELEPORTATION = 376;
+c.WAN_OPENING = 377;
+c.WAN_LOCKING = 378;
+c.WAN_PROBING = 379;
+c.WAN_DIGGING = 380;
+c.WAN_MAGIC_MISSILE = 381;
+c.WAN_FIRE = 382;
+c.WAN_COLD = 383;
+c.WAN_SLEEP = 384;
+c.WAN_DEATH = 385;
+c.WAN_LIGHTNING = 386;
+c.GOLD_PIECE = 390;
+c.DILITHIUM_CRYSTAL = 391;
+c.DIAMOND = 392;
+c.RUBY = 393;
+c.JACINTH = 394;
+c.SAPPHIRE = 395;
+c.BLACK_OPAL = 396;
+c.EMERALD = 397;
+c.TURQUOISE = 398;
+c.CITRINE = 399;
+c.AQUAMARINE = 400;
+c.AMBER = 401;
+c.TOPAZ = 402;
+c.JET = 403;
+c.OPAL = 404;
+c.CHRYSOBERYL = 405;
+c.GARNET = 406;
+c.AMETHYST = 407;
+c.JASPER = 408;
+c.FLUORITE = 409;
+c.OBSIDIAN = 410;
+c.AGATE = 411;
+c.JADE = 412;
+c.LUCKSTONE = 422;
+c.LOADSTONE = 423;
+c.TOUCHSTONE = 424;
+c.FLINT = 425;
+c.ROCK = 426;
+c.BOULDER = 427;
+c.STATUE = 428;
+c.HEAVY_IRON_BALL = 429;
+c.IRON_CHAIN = 430;
+c.BLINDING_VENOM = 431;
+c.ACID_VENOM = 432;
+c.LAST_GEM = 412;
+c.MAXSPELL = 43;
+c.NUM_OBJECTS = 433;
+c.ART_EXCALIBUR = 1;
+c.ART_STORMBRINGER = 2;
+c.ART_MJOLLNIR = 3;
+c.ART_CLEAVER = 4;
+c.ART_GRIMTOOTH = 5;
+c.ART_ORCRIST = 6;
+c.ART_STING = 7;
+c.ART_MAGICBANE = 8;
+c.ART_FROST_BRAND = 9;
+c.ART_FIRE_BRAND = 10;
+c.ART_DRAGONBANE = 11;
+c.ART_DEMONBANE = 12;
+c.ART_WEREBANE = 13;
+c.ART_GRAYSWANDIR = 14;
+c.ART_GIANTSLAYER = 15;
+c.ART_OGRESMASHER = 16;
+c.ART_TROLLSBANE = 17;
+c.ART_VORPAL_BLADE = 18;
+c.ART_SNICKERSNEE = 19;
+c.ART_SUNSWORD = 20;
+c.ART_ORB_OF_DETECTION = 21;
+c.ART_HEART_OF_AHRIMAN = 22;
+c.ART_SCEPTRE_OF_MIGHT = 23;
+c.ART_STAFF_OF_AESCULAPIUS = 24;
+c.ART_MAGIC_MIRROR_OF_MERLIN = 25;
+c.ART_EYES_OF_THE_OVERWORLD = 26;
+c.ART_MITRE_OF_HOLINESS = 27;
+c.ART_LONGBOW_OF_DIANA = 28;
+c.ART_MASTER_KEY_OF_THIEVERY = 29;
+c.ART_TSURUGI_OF_MURAMASA = 30;
+c.ART_YENDORIAN_EXPRESS_CARD = 31;
+c.ART_ORB_OF_FATE = 32;
+c.ART_EYE_OF_THE_AETHIOPICA = 33;
+c.NROFARTIFACTS = 33;
 
 // from include/monsym.h
 
-gc.S_ANT = 1;
-gc.S_BLOB = 2;
-gc.S_COCKATRICE = 3;
-gc.S_DOG = 4;
-gc.S_EYE = 5;
-gc.S_FELINE = 6;
-gc.S_GREMLIN = 7;
-gc.S_HUMANOID = 8;
-gc.S_IMP = 9;
-gc.S_JELLY = 10;
-gc.S_KOBOLD = 11;
-gc.S_LEPRECHAUN = 12;
-gc.S_MIMIC = 13;
-gc.S_NYMPH = 14;
-gc.S_ORC = 15;
-gc.S_PIERCER = 16;
-gc.S_QUADRUPED = 17;
-gc.S_RODENT = 18;
-gc.S_SPIDER = 19;
-gc.S_TRAPPER = 20;
-gc.S_UNICORN = 21;
-gc.S_VORTEX = 22;
-gc.S_WORM = 23;
-gc.S_XAN = 24;
-gc.S_LIGHT = 25;
-gc.S_ZRUTY = 26;
-gc.S_ANGEL = 27;
-gc.S_BAT = 28;
-gc.S_CENTAUR = 29;
-gc.S_DRAGON = 30;
-gc.S_ELEMENTAL = 31;
-gc.S_FUNGUS = 32;
-gc.S_GNOME = 33;
-gc.S_GIANT = 34;
-gc.S_JABBERWOCK = 36;
-gc.S_KOP = 37;
-gc.S_LICH = 38;
-gc.S_MUMMY = 39;
-gc.S_NAGA = 40;
-gc.S_OGRE = 41;
-gc.S_PUDDING = 42;
-gc.S_QUANTMECH = 43;
-gc.S_RUSTMONST = 44;
-gc.S_SNAKE = 45;
-gc.S_TROLL = 46;
-gc.S_UMBER = 47;
-gc.S_VAMPIRE = 48;
-gc.S_WRAITH = 49;
-gc.S_XORN = 50;
-gc.S_YETI = 51;
-gc.S_ZOMBIE = 52;
-gc.S_HUMAN = 53;
-gc.S_GHOST = 54;
-gc.S_GOLEM = 55;
-gc.S_DEMON = 56;
-gc.S_EEL = 57;
-gc.S_LIZARD = 58;
-gc.S_WORM_TAIL = 59;
-gc.S_MIMIC_DEF = 60;
-gc.MAXMCLASSES = 61;
-gc.DEF_ANT = 'a';
-gc.DEF_BLOB = 'b';
-gc.DEF_COCKATRICE = 'c';
-gc.DEF_DOG = 'd';
-gc.DEF_EYE = 'e';
-gc.DEF_FELINE = 'f';
-gc.DEF_GREMLIN = 'g';
-gc.DEF_HUMANOID = 'h';
-gc.DEF_IMP = 'i';
-gc.DEF_JELLY = 'j';
-gc.DEF_KOBOLD = 'k';
-gc.DEF_LEPRECHAUN = 'l';
-gc.DEF_MIMIC = 'm';
-gc.DEF_NYMPH = 'n';
-gc.DEF_ORC = 'o';
-gc.DEF_PIERCER = 'p';
-gc.DEF_QUADRUPED = 'q';
-gc.DEF_RODENT = 'r';
-gc.DEF_SPIDER = 's';
-gc.DEF_TRAPPER = 't';
-gc.DEF_UNICORN = 'u';
-gc.DEF_VORTEX = 'v';
-gc.DEF_WORM = 'w';
-gc.DEF_XAN = 'x';
-gc.DEF_LIGHT = 'y';
-gc.DEF_ZRUTY = 'z';
-gc.DEF_ANGEL = 'A';
-gc.DEF_BAT = 'B';
-gc.DEF_CENTAUR = 'C';
-gc.DEF_DRAGON = 'D';
-gc.DEF_ELEMENTAL = 'E';
-gc.DEF_FUNGUS = 'F';
-gc.DEF_GNOME = 'G';
-gc.DEF_GIANT = 'H';
-gc.DEF_JABBERWOCK = 'J';
-gc.DEF_KOP = 'K';
-gc.DEF_LICH = 'L';
-gc.DEF_MUMMY = 'M';
-gc.DEF_NAGA = 'N';
-gc.DEF_OGRE = 'O';
-gc.DEF_PUDDING = 'P';
-gc.DEF_QUANTMECH = 'Q';
-gc.DEF_RUSTMONST = 'R';
-gc.DEF_SNAKE = 'S';
-gc.DEF_TROLL = 'T';
-gc.DEF_UMBER = 'U';
-gc.DEF_VAMPIRE = 'V';
-gc.DEF_WRAITH = 'W';
-gc.DEF_XORN = 'X';
-gc.DEF_YETI = 'Y';
-gc.DEF_ZOMBIE = 'Z';
-gc.DEF_HUMAN = '@';
-gc.DEF_GHOST = ' ';
-gc.DEF_GOLEM = "'";
-gc.DEF_DEMON = '&';
-gc.DEF_EEL = ';';
-gc.DEF_LIZARD = ':';
-gc.DEF_INVISIBLE = 'I';
-gc.DEF_WORM_TAIL = '~';
-gc.DEF_MIMIC_DEF = ']';
+c.S_ANT = 1;
+c.S_BLOB = 2;
+c.S_COCKATRICE = 3;
+c.S_DOG = 4;
+c.S_EYE = 5;
+c.S_FELINE = 6;
+c.S_GREMLIN = 7;
+c.S_HUMANOID = 8;
+c.S_IMP = 9;
+c.S_JELLY = 10;
+c.S_KOBOLD = 11;
+c.S_LEPRECHAUN = 12;
+c.S_MIMIC = 13;
+c.S_NYMPH = 14;
+c.S_ORC = 15;
+c.S_PIERCER = 16;
+c.S_QUADRUPED = 17;
+c.S_RODENT = 18;
+c.S_SPIDER = 19;
+c.S_TRAPPER = 20;
+c.S_UNICORN = 21;
+c.S_VORTEX = 22;
+c.S_WORM = 23;
+c.S_XAN = 24;
+c.S_LIGHT = 25;
+c.S_ZRUTY = 26;
+c.S_ANGEL = 27;
+c.S_BAT = 28;
+c.S_CENTAUR = 29;
+c.S_DRAGON = 30;
+c.S_ELEMENTAL = 31;
+c.S_FUNGUS = 32;
+c.S_GNOME = 33;
+c.S_GIANT = 34;
+c.S_JABBERWOCK = 36;
+c.S_KOP = 37;
+c.S_LICH = 38;
+c.S_MUMMY = 39;
+c.S_NAGA = 40;
+c.S_OGRE = 41;
+c.S_PUDDING = 42;
+c.S_QUANTMECH = 43;
+c.S_RUSTMONST = 44;
+c.S_SNAKE = 45;
+c.S_TROLL = 46;
+c.S_UMBER = 47;
+c.S_VAMPIRE = 48;
+c.S_WRAITH = 49;
+c.S_XORN = 50;
+c.S_YETI = 51;
+c.S_ZOMBIE = 52;
+c.S_HUMAN = 53;
+c.S_GHOST = 54;
+c.S_GOLEM = 55;
+c.S_DEMON = 56;
+c.S_EEL = 57;
+c.S_LIZARD = 58;
+c.S_WORM_TAIL = 59;
+c.S_MIMIC_DEF = 60;
+c.MAXMCLASSES = 61;
+c.DEF_ANT = 'a';
+c.DEF_BLOB = 'b';
+c.DEF_COCKATRICE = 'c';
+c.DEF_DOG = 'd';
+c.DEF_EYE = 'e';
+c.DEF_FELINE = 'f';
+c.DEF_GREMLIN = 'g';
+c.DEF_HUMANOID = 'h';
+c.DEF_IMP = 'i';
+c.DEF_JELLY = 'j';
+c.DEF_KOBOLD = 'k';
+c.DEF_LEPRECHAUN = 'l';
+c.DEF_MIMIC = 'm';
+c.DEF_NYMPH = 'n';
+c.DEF_ORC = 'o';
+c.DEF_PIERCER = 'p';
+c.DEF_QUADRUPED = 'q';
+c.DEF_RODENT = 'r';
+c.DEF_SPIDER = 's';
+c.DEF_TRAPPER = 't';
+c.DEF_UNICORN = 'u';
+c.DEF_VORTEX = 'v';
+c.DEF_WORM = 'w';
+c.DEF_XAN = 'x';
+c.DEF_LIGHT = 'y';
+c.DEF_ZRUTY = 'z';
+c.DEF_ANGEL = 'A';
+c.DEF_BAT = 'B';
+c.DEF_CENTAUR = 'C';
+c.DEF_DRAGON = 'D';
+c.DEF_ELEMENTAL = 'E';
+c.DEF_FUNGUS = 'F';
+c.DEF_GNOME = 'G';
+c.DEF_GIANT = 'H';
+c.DEF_JABBERWOCK = 'J';
+c.DEF_KOP = 'K';
+c.DEF_LICH = 'L';
+c.DEF_MUMMY = 'M';
+c.DEF_NAGA = 'N';
+c.DEF_OGRE = 'O';
+c.DEF_PUDDING = 'P';
+c.DEF_QUANTMECH = 'Q';
+c.DEF_RUSTMONST = 'R';
+c.DEF_SNAKE = 'S';
+c.DEF_TROLL = 'T';
+c.DEF_UMBER = 'U';
+c.DEF_VAMPIRE = 'V';
+c.DEF_WRAITH = 'W';
+c.DEF_XORN = 'X';
+c.DEF_YETI = 'Y';
+c.DEF_ZOMBIE = 'Z';
+c.DEF_HUMAN = '@';
+c.DEF_GHOST = ' ';
+c.DEF_GOLEM = "'";
+c.DEF_DEMON = '&';
+c.DEF_EEL = ';';
+c.DEF_LIZARD = ':';
+c.DEF_INVISIBLE = 'I';
+c.DEF_WORM_TAIL = '~';
+c.DEF_MIMIC_DEF = ']';
 
 // from include/pm.h
 
-gc.PM_PLAYERMON = -1;
-gc.PM_GIANT_ANT = 0;
-gc.PM_KILLER_BEE = 1;
-gc.PM_SOLDIER_ANT = 2;
-gc.PM_FIRE_ANT = 3;
-gc.PM_GIANT_BEETLE = 4;
-gc.PM_QUEEN_BEE = 5;
-gc.PM_ACID_BLOB = 6;
-gc.PM_QUIVERING_BLOB = 7;
-gc.PM_GELATINOUS_CUBE = 8;
-gc.PM_CHICKATRICE = 9;
-gc.PM_COCKATRICE = 10;
-gc.PM_PYROLISK = 11;
-gc.PM_JACKAL = 12;
-gc.PM_FOX = 13;
-gc.PM_COYOTE = 14;
-gc.PM_WEREJACKAL = 15;
-gc.PM_LITTLE_DOG = 16;
-gc.PM_DOG = 17;
-gc.PM_LARGE_DOG = 18;
-gc.PM_DINGO = 19;
-gc.PM_WOLF = 20;
-gc.PM_WEREWOLF = 21;
-gc.PM_WARG = 22;
-gc.PM_WINTER_WOLF_CUB = 23;
-gc.PM_WINTER_WOLF = 24;
-gc.PM_HELL_HOUND_PUP = 25;
-gc.PM_HELL_HOUND = 26;
-gc.PM_GAS_SPORE = 27;
-gc.PM_FLOATING_EYE = 28;
-gc.PM_FREEZING_SPHERE = 29;
-gc.PM_FLAMING_SPHERE = 30;
-gc.PM_SHOCKING_SPHERE = 31;
-gc.PM_KITTEN = 32;
-gc.PM_HOUSECAT = 33;
-gc.PM_JAGUAR = 34;
-gc.PM_LYNX = 35;
-gc.PM_PANTHER = 36;
-gc.PM_LARGE_CAT = 37;
-gc.PM_TIGER = 38;
-gc.PM_GREMLIN = 39;
-gc.PM_GARGOYLE = 40;
-gc.PM_WINGED_GARGOYLE = 41;
-gc.PM_HOBBIT = 42;
-gc.PM_DWARF = 43;
-gc.PM_BUGBEAR = 44;
-gc.PM_DWARF_LORD = 45;
-gc.PM_DWARF_KING = 46;
-gc.PM_MIND_FLAYER = 47;
-gc.PM_MASTER_MIND_FLAYER = 48;
-gc.PM_MANES = 49;
-gc.PM_HOMUNCULUS = 50;
-gc.PM_IMP = 51;
-gc.PM_LEMURE = 52;
-gc.PM_QUASIT = 53;
-gc.PM_TENGU = 54;
-gc.PM_BLUE_JELLY = 55;
-gc.PM_SPOTTED_JELLY = 56;
-gc.PM_OCHRE_JELLY = 57;
-gc.PM_KOBOLD = 58;
-gc.PM_LARGE_KOBOLD = 59;
-gc.PM_KOBOLD_LORD = 60;
-gc.PM_KOBOLD_SHAMAN = 61;
-gc.PM_LEPRECHAUN = 62;
-gc.PM_SMALL_MIMIC = 63;
-gc.PM_LARGE_MIMIC = 64;
-gc.PM_GIANT_MIMIC = 65;
-gc.PM_WOOD_NYMPH = 66;
-gc.PM_WATER_NYMPH = 67;
-gc.PM_MOUNTAIN_NYMPH = 68;
-gc.PM_GOBLIN = 69;
-gc.PM_HOBGOBLIN = 70;
-gc.PM_ORC = 71;
-gc.PM_HILL_ORC = 72;
-gc.PM_MORDOR_ORC = 73;
-gc.PM_URUK_HAI = 74;
-gc.PM_ORC_SHAMAN = 75;
-gc.PM_ORC_CAPTAIN = 76;
-gc.PM_ROCK_PIERCER = 77;
-gc.PM_IRON_PIERCER = 78;
-gc.PM_GLASS_PIERCER = 79;
-gc.PM_ROTHE = 80;
-gc.PM_MUMAK = 81;
-gc.PM_LEOCROTTA = 82;
-gc.PM_WUMPUS = 83;
-gc.PM_TITANOTHERE = 84;
-gc.PM_BALUCHITHERIUM = 85;
-gc.PM_MASTODON = 86;
-gc.PM_SEWER_RAT = 87;
-gc.PM_GIANT_RAT = 88;
-gc.PM_RABID_RAT = 89;
-gc.PM_WERERAT = 90;
-gc.PM_ROCK_MOLE = 91;
-gc.PM_WOODCHUCK = 92;
-gc.PM_CAVE_SPIDER = 93;
-gc.PM_CENTIPEDE = 94;
-gc.PM_GIANT_SPIDER = 95;
-gc.PM_SCORPION = 96;
-gc.PM_LURKER_ABOVE = 97;
-gc.PM_TRAPPER = 98;
-gc.PM_WHITE_UNICORN = 99;
-gc.PM_GRAY_UNICORN = 100;
-gc.PM_BLACK_UNICORN = 101;
-gc.PM_PONY = 102;
-gc.PM_HORSE = 103;
-gc.PM_WARHORSE = 104;
-gc.PM_FOG_CLOUD = 105;
-gc.PM_DUST_VORTEX = 106;
-gc.PM_ICE_VORTEX = 107;
-gc.PM_ENERGY_VORTEX = 108;
-gc.PM_STEAM_VORTEX = 109;
-gc.PM_FIRE_VORTEX = 110;
-gc.PM_BABY_LONG_WORM = 111;
-gc.PM_BABY_PURPLE_WORM = 112;
-gc.PM_LONG_WORM = 113;
-gc.PM_PURPLE_WORM = 114;
-gc.PM_GRID_BUG = 115;
-gc.PM_XAN = 116;
-gc.PM_YELLOW_LIGHT = 117;
-gc.PM_BLACK_LIGHT = 118;
-gc.PM_ZRUTY = 119;
-gc.PM_COUATL = 120;
-gc.PM_ALEAX = 121;
-gc.PM_ANGEL = 122;
-gc.PM_KI_RIN = 123;
-gc.PM_ARCHON = 124;
-gc.PM_BAT = 125;
-gc.PM_GIANT_BAT = 126;
-gc.PM_RAVEN = 127;
-gc.PM_VAMPIRE_BAT = 128;
-gc.PM_PLAINS_CENTAUR = 129;
-gc.PM_FOREST_CENTAUR = 130;
-gc.PM_MOUNTAIN_CENTAUR = 131;
-gc.PM_BABY_GRAY_DRAGON = 132;
-gc.PM_BABY_SILVER_DRAGON = 133;
-gc.PM_BABY_RED_DRAGON = 134;
-gc.PM_BABY_WHITE_DRAGON = 135;
-gc.PM_BABY_ORANGE_DRAGON = 136;
-gc.PM_BABY_BLACK_DRAGON = 137;
-gc.PM_BABY_BLUE_DRAGON = 138;
-gc.PM_BABY_GREEN_DRAGON = 139;
-gc.PM_BABY_YELLOW_DRAGON = 140;
-gc.PM_GRAY_DRAGON = 141;
-gc.PM_SILVER_DRAGON = 142;
-gc.PM_RED_DRAGON = 143;
-gc.PM_WHITE_DRAGON = 144;
-gc.PM_ORANGE_DRAGON = 145;
-gc.PM_BLACK_DRAGON = 146;
-gc.PM_BLUE_DRAGON = 147;
-gc.PM_GREEN_DRAGON = 148;
-gc.PM_YELLOW_DRAGON = 149;
-gc.PM_STALKER = 150;
-gc.PM_AIR_ELEMENTAL = 151;
-gc.PM_FIRE_ELEMENTAL = 152;
-gc.PM_EARTH_ELEMENTAL = 153;
-gc.PM_WATER_ELEMENTAL = 154;
-gc.PM_LICHEN = 155;
-gc.PM_BROWN_MOLD = 156;
-gc.PM_YELLOW_MOLD = 157;
-gc.PM_GREEN_MOLD = 158;
-gc.PM_RED_MOLD = 159;
-gc.PM_SHRIEKER = 160;
-gc.PM_VIOLET_FUNGUS = 161;
-gc.PM_GNOME = 162;
-gc.PM_GNOME_LORD = 163;
-gc.PM_GNOMISH_WIZARD = 164;
-gc.PM_GNOME_KING = 165;
-gc.PM_GIANT = 166;
-gc.PM_STONE_GIANT = 167;
-gc.PM_HILL_GIANT = 168;
-gc.PM_FIRE_GIANT = 169;
-gc.PM_FROST_GIANT = 170;
-gc.PM_STORM_GIANT = 171;
-gc.PM_ETTIN = 172;
-gc.PM_TITAN = 173;
-gc.PM_MINOTAUR = 174;
-gc.PM_JABBERWOCK = 175;
-gc.PM_KEYSTONE_KOP = 176;
-gc.PM_KOP_SERGEANT = 177;
-gc.PM_KOP_LIEUTENANT = 178;
-gc.PM_KOP_KAPTAIN = 179;
-gc.PM_LICH = 180;
-gc.PM_DEMILICH = 181;
-gc.PM_MASTER_LICH = 182;
-gc.PM_ARCH_LICH = 183;
-gc.PM_KOBOLD_MUMMY = 184;
-gc.PM_GNOME_MUMMY = 185;
-gc.PM_ORC_MUMMY = 186;
-gc.PM_DWARF_MUMMY = 187;
-gc.PM_ELF_MUMMY = 188;
-gc.PM_HUMAN_MUMMY = 189;
-gc.PM_ETTIN_MUMMY = 190;
-gc.PM_GIANT_MUMMY = 191;
-gc.PM_RED_NAGA_HATCHLING = 192;
-gc.PM_BLACK_NAGA_HATCHLING = 193;
-gc.PM_GOLDEN_NAGA_HATCHLING = 194;
-gc.PM_GUARDIAN_NAGA_HATCHLING = 195;
-gc.PM_RED_NAGA = 196;
-gc.PM_BLACK_NAGA = 197;
-gc.PM_GOLDEN_NAGA = 198;
-gc.PM_GUARDIAN_NAGA = 199;
-gc.PM_OGRE = 200;
-gc.PM_OGRE_LORD = 201;
-gc.PM_OGRE_KING = 202;
-gc.PM_GRAY_OOZE = 203;
-gc.PM_BROWN_PUDDING = 204;
-gc.PM_BLACK_PUDDING = 205;
-gc.PM_GREEN_SLIME = 206;
-gc.PM_QUANTUM_MECHANIC = 207;
-gc.PM_RUST_MONSTER = 208;
-gc.PM_DISENCHANTER = 209;
-gc.PM_GARTER_SNAKE = 210;
-gc.PM_SNAKE = 211;
-gc.PM_WATER_MOCCASIN = 212;
-gc.PM_PIT_VIPER = 213;
-gc.PM_PYTHON = 214;
-gc.PM_COBRA = 215;
-gc.PM_TROLL = 216;
-gc.PM_ICE_TROLL = 217;
-gc.PM_ROCK_TROLL = 218;
-gc.PM_WATER_TROLL = 219;
-gc.PM_OLOG_HAI = 220;
-gc.PM_UMBER_HULK = 221;
-gc.PM_VAMPIRE = 222;
-gc.PM_VAMPIRE_LORD = 223;
-gc.PM_VLAD_THE_IMPALER = 224;
-gc.PM_BARROW_WIGHT = 225;
-gc.PM_WRAITH = 226;
-gc.PM_NAZGUL = 227;
-gc.PM_XORN = 228;
-gc.PM_MONKEY = 229;
-gc.PM_APE = 230;
-gc.PM_OWLBEAR = 231;
-gc.PM_YETI = 232;
-gc.PM_CARNIVOROUS_APE = 233;
-gc.PM_SASQUATCH = 234;
-gc.PM_KOBOLD_ZOMBIE = 235;
-gc.PM_GNOME_ZOMBIE = 236;
-gc.PM_ORC_ZOMBIE = 237;
-gc.PM_DWARF_ZOMBIE = 238;
-gc.PM_ELF_ZOMBIE = 239;
-gc.PM_HUMAN_ZOMBIE = 240;
-gc.PM_ETTIN_ZOMBIE = 241;
-gc.PM_GIANT_ZOMBIE = 242;
-gc.PM_GHOUL = 243;
-gc.PM_SKELETON = 244;
-gc.PM_STRAW_GOLEM = 245;
-gc.PM_PAPER_GOLEM = 246;
-gc.PM_ROPE_GOLEM = 247;
-gc.PM_GOLD_GOLEM = 248;
-gc.PM_LEATHER_GOLEM = 249;
-gc.PM_WOOD_GOLEM = 250;
-gc.PM_FLESH_GOLEM = 251;
-gc.PM_CLAY_GOLEM = 252;
-gc.PM_STONE_GOLEM = 253;
-gc.PM_GLASS_GOLEM = 254;
-gc.PM_IRON_GOLEM = 255;
-gc.PM_HUMAN = 256;
-gc.PM_HUMAN_WERERAT = 257;
-gc.PM_HUMAN_WEREJACKAL = 258;
-gc.PM_HUMAN_WEREWOLF = 259;
-gc.PM_ELF = 260;
-gc.PM_WOODLAND_ELF = 261;
-gc.PM_GREEN_ELF = 262;
-gc.PM_GREY_ELF = 263;
-gc.PM_ELF_LORD = 264;
-gc.PM_ELVENKING = 265;
-gc.PM_DOPPELGANGER = 266;
-gc.PM_NURSE = 267;
-gc.PM_SHOPKEEPER = 268;
-gc.PM_GUARD = 269;
-gc.PM_PRISONER = 270;
-gc.PM_ORACLE = 271;
-gc.PM_ALIGNED_PRIEST = 272;
-gc.PM_HIGH_PRIEST = 273;
-gc.PM_SOLDIER = 274;
-gc.PM_SERGEANT = 275;
-gc.PM_LIEUTENANT = 276;
-gc.PM_CAPTAIN = 277;
-gc.PM_WATCHMAN = 278;
-gc.PM_WATCH_CAPTAIN = 279;
-gc.PM_MEDUSA = 280;
-gc.PM_WIZARD_OF_YENDOR = 281;
-gc.PM_CROESUS = 282;
-gc.PM_GHOST = 283;
-gc.PM_SHADE = 284;
-gc.PM_WATER_DEMON = 285;
-gc.PM_HORNED_DEVIL = 286;
-gc.PM_SUCCUBUS = 287;
-gc.PM_INCUBUS = 288;
-gc.PM_ERINYS = 289;
-gc.PM_BARBED_DEVIL = 290;
-gc.PM_MARILITH = 291;
-gc.PM_VROCK = 292;
-gc.PM_HEZROU = 293;
-gc.PM_BONE_DEVIL = 294;
-gc.PM_ICE_DEVIL = 295;
-gc.PM_NALFESHNEE = 296;
-gc.PM_PIT_FIEND = 297;
-gc.PM_BALROG = 298;
-gc.PM_JUIBLEX = 299;
-gc.PM_YEENOGHU = 300;
-gc.PM_ORCUS = 301;
-gc.PM_GERYON = 302;
-gc.PM_DISPATER = 303;
-gc.PM_BAALZEBUB = 304;
-gc.PM_ASMODEUS = 305;
-gc.PM_DEMOGORGON = 306;
-gc.PM_DEATH = 307;
-gc.PM_PESTILENCE = 308;
-gc.PM_FAMINE = 309;
-gc.PM_MAIL_DAEMON = 310;
-gc.PM_DJINNI = 311;
-gc.PM_SANDESTIN = 312;
-gc.PM_JELLYFISH = 313;
-gc.PM_PIRANHA = 314;
-gc.PM_SHARK = 315;
-gc.PM_GIANT_EEL = 316;
-gc.PM_ELECTRIC_EEL = 317;
-gc.PM_KRAKEN = 318;
-gc.PM_NEWT = 319;
-gc.PM_GECKO = 320;
-gc.PM_IGUANA = 321;
-gc.PM_BABY_CROCODILE = 322;
-gc.PM_LIZARD = 323;
-gc.PM_CHAMELEON = 324;
-gc.PM_CROCODILE = 325;
-gc.PM_SALAMANDER = 326;
-gc.PM_LONG_WORM_TAIL = 327;
-gc.PM_ARCHEOLOGIST = 328;
-gc.PM_BARBARIAN = 329;
-gc.PM_CAVEMAN = 330;
-gc.PM_CAVEWOMAN = 331;
-gc.PM_HEALER = 332;
-gc.PM_KNIGHT = 333;
-gc.PM_MONK = 334;
-gc.PM_PRIEST = 335;
-gc.PM_PRIESTESS = 336;
-gc.PM_RANGER = 337;
-gc.PM_ROGUE = 338;
-gc.PM_SAMURAI = 339;
-gc.PM_TOURIST = 340;
-gc.PM_VALKYRIE = 341;
-gc.PM_WIZARD = 342;
-gc.PM_LORD_CARNARVON = 343;
-gc.PM_PELIAS = 344;
-gc.PM_SHAMAN_KARNOV = 345;
-gc.PM_HIPPOCRATES = 346;
-gc.PM_KING_ARTHUR = 347;
-gc.PM_GRAND_MASTER = 348;
-gc.PM_ARCH_PRIEST = 349;
-gc.PM_ORION = 350;
-gc.PM_MASTER_OF_THIEVES = 351;
-gc.PM_LORD_SATO = 352;
-gc.PM_TWOFLOWER = 353;
-gc.PM_NORN = 354;
-gc.PM_NEFERET_THE_GREEN = 355;
-gc.PM_MINION_OF_HUHETOTL = 356;
-gc.PM_THOTH_AMON = 357;
-gc.PM_CHROMATIC_DRAGON = 358;
-gc.PM_CYCLOPS = 359;
-gc.PM_IXOTH = 360;
-gc.PM_MASTER_KAEN = 361;
-gc.PM_NALZOK = 362;
-gc.PM_SCORPIUS = 363;
-gc.PM_MASTER_ASSASSIN = 364;
-gc.PM_ASHIKAGA_TAKAUJI = 365;
-gc.PM_LORD_SURTUR = 366;
-gc.PM_DARK_ONE = 367;
-gc.PM_STUDENT = 368;
-gc.PM_CHIEFTAIN = 369;
-gc.PM_NEANDERTHAL = 370;
-gc.PM_ATTENDANT = 371;
-gc.PM_PAGE = 372;
-gc.PM_ABBOT = 373;
-gc.PM_ACOLYTE = 374;
-gc.PM_HUNTER = 375;
-gc.PM_THUG = 376;
-gc.PM_NINJA = 377;
-gc.PM_ROSHI = 378;
-gc.PM_GUIDE = 379;
-gc.PM_WARRIOR = 380;
-gc.PM_APPRENTICE = 381;
-gc.NUMMONS = 382;
+c.PM_PLAYERMON = -1;
+c.PM_GIANT_ANT = 0;
+c.PM_KILLER_BEE = 1;
+c.PM_SOLDIER_ANT = 2;
+c.PM_FIRE_ANT = 3;
+c.PM_GIANT_BEETLE = 4;
+c.PM_QUEEN_BEE = 5;
+c.PM_ACID_BLOB = 6;
+c.PM_QUIVERING_BLOB = 7;
+c.PM_GELATINOUS_CUBE = 8;
+c.PM_CHICKATRICE = 9;
+c.PM_COCKATRICE = 10;
+c.PM_PYROLISK = 11;
+c.PM_JACKAL = 12;
+c.PM_FOX = 13;
+c.PM_COYOTE = 14;
+c.PM_WEREJACKAL = 15;
+c.PM_LITTLE_DOG = 16;
+c.PM_DOG = 17;
+c.PM_LARGE_DOG = 18;
+c.PM_DINGO = 19;
+c.PM_WOLF = 20;
+c.PM_WEREWOLF = 21;
+c.PM_WARG = 22;
+c.PM_WINTER_WOLF_CUB = 23;
+c.PM_WINTER_WOLF = 24;
+c.PM_HELL_HOUND_PUP = 25;
+c.PM_HELL_HOUND = 26;
+c.PM_GAS_SPORE = 27;
+c.PM_FLOATING_EYE = 28;
+c.PM_FREEZING_SPHERE = 29;
+c.PM_FLAMING_SPHERE = 30;
+c.PM_SHOCKING_SPHERE = 31;
+c.PM_KITTEN = 32;
+c.PM_HOUSECAT = 33;
+c.PM_JAGUAR = 34;
+c.PM_LYNX = 35;
+c.PM_PANTHER = 36;
+c.PM_LARGE_CAT = 37;
+c.PM_TIGER = 38;
+c.PM_GREMLIN = 39;
+c.PM_GARGOYLE = 40;
+c.PM_WINGED_GARGOYLE = 41;
+c.PM_HOBBIT = 42;
+c.PM_DWARF = 43;
+c.PM_BUGBEAR = 44;
+c.PM_DWARF_LORD = 45;
+c.PM_DWARF_KING = 46;
+c.PM_MIND_FLAYER = 47;
+c.PM_MASTER_MIND_FLAYER = 48;
+c.PM_MANES = 49;
+c.PM_HOMUNCULUS = 50;
+c.PM_IMP = 51;
+c.PM_LEMURE = 52;
+c.PM_QUASIT = 53;
+c.PM_TENGU = 54;
+c.PM_BLUE_JELLY = 55;
+c.PM_SPOTTED_JELLY = 56;
+c.PM_OCHRE_JELLY = 57;
+c.PM_KOBOLD = 58;
+c.PM_LARGE_KOBOLD = 59;
+c.PM_KOBOLD_LORD = 60;
+c.PM_KOBOLD_SHAMAN = 61;
+c.PM_LEPRECHAUN = 62;
+c.PM_SMALL_MIMIC = 63;
+c.PM_LARGE_MIMIC = 64;
+c.PM_GIANT_MIMIC = 65;
+c.PM_WOOD_NYMPH = 66;
+c.PM_WATER_NYMPH = 67;
+c.PM_MOUNTAIN_NYMPH = 68;
+c.PM_GOBLIN = 69;
+c.PM_HOBGOBLIN = 70;
+c.PM_ORC = 71;
+c.PM_HILL_ORC = 72;
+c.PM_MORDOR_ORC = 73;
+c.PM_URUK_HAI = 74;
+c.PM_ORC_SHAMAN = 75;
+c.PM_ORC_CAPTAIN = 76;
+c.PM_ROCK_PIERCER = 77;
+c.PM_IRON_PIERCER = 78;
+c.PM_GLASS_PIERCER = 79;
+c.PM_ROTHE = 80;
+c.PM_MUMAK = 81;
+c.PM_LEOCROTTA = 82;
+c.PM_WUMPUS = 83;
+c.PM_TITANOTHERE = 84;
+c.PM_BALUCHITHERIUM = 85;
+c.PM_MASTODON = 86;
+c.PM_SEWER_RAT = 87;
+c.PM_GIANT_RAT = 88;
+c.PM_RABID_RAT = 89;
+c.PM_WERERAT = 90;
+c.PM_ROCK_MOLE = 91;
+c.PM_WOODCHUCK = 92;
+c.PM_CAVE_SPIDER = 93;
+c.PM_CENTIPEDE = 94;
+c.PM_GIANT_SPIDER = 95;
+c.PM_SCORPION = 96;
+c.PM_LURKER_ABOVE = 97;
+c.PM_TRAPPER = 98;
+c.PM_WHITE_UNICORN = 99;
+c.PM_GRAY_UNICORN = 100;
+c.PM_BLACK_UNICORN = 101;
+c.PM_PONY = 102;
+c.PM_HORSE = 103;
+c.PM_WARHORSE = 104;
+c.PM_FOG_CLOUD = 105;
+c.PM_DUST_VORTEX = 106;
+c.PM_ICE_VORTEX = 107;
+c.PM_ENERGY_VORTEX = 108;
+c.PM_STEAM_VORTEX = 109;
+c.PM_FIRE_VORTEX = 110;
+c.PM_BABY_LONG_WORM = 111;
+c.PM_BABY_PURPLE_WORM = 112;
+c.PM_LONG_WORM = 113;
+c.PM_PURPLE_WORM = 114;
+c.PM_GRID_BUG = 115;
+c.PM_XAN = 116;
+c.PM_YELLOW_LIGHT = 117;
+c.PM_BLACK_LIGHT = 118;
+c.PM_ZRUTY = 119;
+c.PM_COUATL = 120;
+c.PM_ALEAX = 121;
+c.PM_ANGEL = 122;
+c.PM_KI_RIN = 123;
+c.PM_ARCHON = 124;
+c.PM_BAT = 125;
+c.PM_GIANT_BAT = 126;
+c.PM_RAVEN = 127;
+c.PM_VAMPIRE_BAT = 128;
+c.PM_PLAINS_CENTAUR = 129;
+c.PM_FOREST_CENTAUR = 130;
+c.PM_MOUNTAIN_CENTAUR = 131;
+c.PM_BABY_GRAY_DRAGON = 132;
+c.PM_BABY_SILVER_DRAGON = 133;
+c.PM_BABY_RED_DRAGON = 134;
+c.PM_BABY_WHITE_DRAGON = 135;
+c.PM_BABY_ORANGE_DRAGON = 136;
+c.PM_BABY_BLACK_DRAGON = 137;
+c.PM_BABY_BLUE_DRAGON = 138;
+c.PM_BABY_GREEN_DRAGON = 139;
+c.PM_BABY_YELLOW_DRAGON = 140;
+c.PM_GRAY_DRAGON = 141;
+c.PM_SILVER_DRAGON = 142;
+c.PM_RED_DRAGON = 143;
+c.PM_WHITE_DRAGON = 144;
+c.PM_ORANGE_DRAGON = 145;
+c.PM_BLACK_DRAGON = 146;
+c.PM_BLUE_DRAGON = 147;
+c.PM_GREEN_DRAGON = 148;
+c.PM_YELLOW_DRAGON = 149;
+c.PM_STALKER = 150;
+c.PM_AIR_ELEMENTAL = 151;
+c.PM_FIRE_ELEMENTAL = 152;
+c.PM_EARTH_ELEMENTAL = 153;
+c.PM_WATER_ELEMENTAL = 154;
+c.PM_LICHEN = 155;
+c.PM_BROWN_MOLD = 156;
+c.PM_YELLOW_MOLD = 157;
+c.PM_GREEN_MOLD = 158;
+c.PM_RED_MOLD = 159;
+c.PM_SHRIEKER = 160;
+c.PM_VIOLET_FUNGUS = 161;
+c.PM_GNOME = 162;
+c.PM_GNOME_LORD = 163;
+c.PM_GNOMISH_WIZARD = 164;
+c.PM_GNOME_KING = 165;
+c.PM_GIANT = 166;
+c.PM_STONE_GIANT = 167;
+c.PM_HILL_GIANT = 168;
+c.PM_FIRE_GIANT = 169;
+c.PM_FROST_GIANT = 170;
+c.PM_STORM_GIANT = 171;
+c.PM_ETTIN = 172;
+c.PM_TITAN = 173;
+c.PM_MINOTAUR = 174;
+c.PM_JABBERWOCK = 175;
+c.PM_KEYSTONE_KOP = 176;
+c.PM_KOP_SERGEANT = 177;
+c.PM_KOP_LIEUTENANT = 178;
+c.PM_KOP_KAPTAIN = 179;
+c.PM_LICH = 180;
+c.PM_DEMILICH = 181;
+c.PM_MASTER_LICH = 182;
+c.PM_ARCH_LICH = 183;
+c.PM_KOBOLD_MUMMY = 184;
+c.PM_GNOME_MUMMY = 185;
+c.PM_ORC_MUMMY = 186;
+c.PM_DWARF_MUMMY = 187;
+c.PM_ELF_MUMMY = 188;
+c.PM_HUMAN_MUMMY = 189;
+c.PM_ETTIN_MUMMY = 190;
+c.PM_GIANT_MUMMY = 191;
+c.PM_RED_NAGA_HATCHLING = 192;
+c.PM_BLACK_NAGA_HATCHLING = 193;
+c.PM_GOLDEN_NAGA_HATCHLING = 194;
+c.PM_GUARDIAN_NAGA_HATCHLING = 195;
+c.PM_RED_NAGA = 196;
+c.PM_BLACK_NAGA = 197;
+c.PM_GOLDEN_NAGA = 198;
+c.PM_GUARDIAN_NAGA = 199;
+c.PM_OGRE = 200;
+c.PM_OGRE_LORD = 201;
+c.PM_OGRE_KING = 202;
+c.PM_GRAY_OOZE = 203;
+c.PM_BROWN_PUDDING = 204;
+c.PM_BLACK_PUDDING = 205;
+c.PM_GREEN_SLIME = 206;
+c.PM_QUANTUM_MECHANIC = 207;
+c.PM_RUST_MONSTER = 208;
+c.PM_DISENCHANTER = 209;
+c.PM_GARTER_SNAKE = 210;
+c.PM_SNAKE = 211;
+c.PM_WATER_MOCCASIN = 212;
+c.PM_PIT_VIPER = 213;
+c.PM_PYTHON = 214;
+c.PM_COBRA = 215;
+c.PM_TROLL = 216;
+c.PM_ICE_TROLL = 217;
+c.PM_ROCK_TROLL = 218;
+c.PM_WATER_TROLL = 219;
+c.PM_OLOG_HAI = 220;
+c.PM_UMBER_HULK = 221;
+c.PM_VAMPIRE = 222;
+c.PM_VAMPIRE_LORD = 223;
+c.PM_VLAD_THE_IMPALER = 224;
+c.PM_BARROW_WIGHT = 225;
+c.PM_WRAITH = 226;
+c.PM_NAZGUL = 227;
+c.PM_XORN = 228;
+c.PM_MONKEY = 229;
+c.PM_APE = 230;
+c.PM_OWLBEAR = 231;
+c.PM_YETI = 232;
+c.PM_CARNIVOROUS_APE = 233;
+c.PM_SASQUATCH = 234;
+c.PM_KOBOLD_ZOMBIE = 235;
+c.PM_GNOME_ZOMBIE = 236;
+c.PM_ORC_ZOMBIE = 237;
+c.PM_DWARF_ZOMBIE = 238;
+c.PM_ELF_ZOMBIE = 239;
+c.PM_HUMAN_ZOMBIE = 240;
+c.PM_ETTIN_ZOMBIE = 241;
+c.PM_GIANT_ZOMBIE = 242;
+c.PM_GHOUL = 243;
+c.PM_SKELETON = 244;
+c.PM_STRAW_GOLEM = 245;
+c.PM_PAPER_GOLEM = 246;
+c.PM_ROPE_GOLEM = 247;
+c.PM_GOLD_GOLEM = 248;
+c.PM_LEATHER_GOLEM = 249;
+c.PM_WOOD_GOLEM = 250;
+c.PM_FLESH_GOLEM = 251;
+c.PM_CLAY_GOLEM = 252;
+c.PM_STONE_GOLEM = 253;
+c.PM_GLASS_GOLEM = 254;
+c.PM_IRON_GOLEM = 255;
+c.PM_HUMAN = 256;
+c.PM_HUMAN_WERERAT = 257;
+c.PM_HUMAN_WEREJACKAL = 258;
+c.PM_HUMAN_WEREWOLF = 259;
+c.PM_ELF = 260;
+c.PM_WOODLAND_ELF = 261;
+c.PM_GREEN_ELF = 262;
+c.PM_GREY_ELF = 263;
+c.PM_ELF_LORD = 264;
+c.PM_ELVENKING = 265;
+c.PM_DOPPELGANGER = 266;
+c.PM_NURSE = 267;
+c.PM_SHOPKEEPER = 268;
+c.PM_GUARD = 269;
+c.PM_PRISONER = 270;
+c.PM_ORACLE = 271;
+c.PM_ALIGNED_PRIEST = 272;
+c.PM_HIGH_PRIEST = 273;
+c.PM_SOLDIER = 274;
+c.PM_SERGEANT = 275;
+c.PM_LIEUTENANT = 276;
+c.PM_CAPTAIN = 277;
+c.PM_WATCHMAN = 278;
+c.PM_WATCH_CAPTAIN = 279;
+c.PM_MEDUSA = 280;
+c.PM_WIZARD_OF_YENDOR = 281;
+c.PM_CROESUS = 282;
+c.PM_GHOST = 283;
+c.PM_SHADE = 284;
+c.PM_WATER_DEMON = 285;
+c.PM_HORNED_DEVIL = 286;
+c.PM_SUCCUBUS = 287;
+c.PM_INCUBUS = 288;
+c.PM_ERINYS = 289;
+c.PM_BARBED_DEVIL = 290;
+c.PM_MARILITH = 291;
+c.PM_VROCK = 292;
+c.PM_HEZROU = 293;
+c.PM_BONE_DEVIL = 294;
+c.PM_ICE_DEVIL = 295;
+c.PM_NALFESHNEE = 296;
+c.PM_PIT_FIEND = 297;
+c.PM_BALROG = 298;
+c.PM_JUIBLEX = 299;
+c.PM_YEENOGHU = 300;
+c.PM_ORCUS = 301;
+c.PM_GERYON = 302;
+c.PM_DISPATER = 303;
+c.PM_BAALZEBUB = 304;
+c.PM_ASMODEUS = 305;
+c.PM_DEMOGORGON = 306;
+c.PM_DEATH = 307;
+c.PM_PESTILENCE = 308;
+c.PM_FAMINE = 309;
+c.PM_MAIL_DAEMON = 310;
+c.PM_DJINNI = 311;
+c.PM_SANDESTIN = 312;
+c.PM_JELLYFISH = 313;
+c.PM_PIRANHA = 314;
+c.PM_SHARK = 315;
+c.PM_GIANT_EEL = 316;
+c.PM_ELECTRIC_EEL = 317;
+c.PM_KRAKEN = 318;
+c.PM_NEWT = 319;
+c.PM_GECKO = 320;
+c.PM_IGUANA = 321;
+c.PM_BABY_CROCODILE = 322;
+c.PM_LIZARD = 323;
+c.PM_CHAMELEON = 324;
+c.PM_CROCODILE = 325;
+c.PM_SALAMANDER = 326;
+c.PM_LONG_WORM_TAIL = 327;
+c.PM_ARCHEOLOGIST = 328;
+c.PM_BARBARIAN = 329;
+c.PM_CAVEMAN = 330;
+c.PM_CAVEWOMAN = 331;
+c.PM_HEALER = 332;
+c.PM_KNIGHT = 333;
+c.PM_MONK = 334;
+c.PM_PRIEST = 335;
+c.PM_PRIESTESS = 336;
+c.PM_RANGER = 337;
+c.PM_ROGUE = 338;
+c.PM_SAMURAI = 339;
+c.PM_TOURIST = 340;
+c.PM_VALKYRIE = 341;
+c.PM_WIZARD = 342;
+c.PM_LORD_CARNARVON = 343;
+c.PM_PELIAS = 344;
+c.PM_SHAMAN_KARNOV = 345;
+c.PM_HIPPOCRATES = 346;
+c.PM_KING_ARTHUR = 347;
+c.PM_GRAND_MASTER = 348;
+c.PM_ARCH_PRIEST = 349;
+c.PM_ORION = 350;
+c.PM_MASTER_OF_THIEVES = 351;
+c.PM_LORD_SATO = 352;