Code:
enum
{
wNone,wSword,wBeam,wBrang,wBomb,wSBomb,wLitBomb,wLitSBomb,wArrow,
wFire,wWhistle,wBait,wWand,wMagic,wCatching,wWind,wRefMagic,wRefFireball,wRefRock,
wHammer, wHookshot,
wHSHandle, wHSChain, wSSparkle, wFSparkle,
wSmack, /* wGArrow, */ wPhantom, wCByrna, wRefBeam, wStomp, lwMax,
wEnemyWeapons=128,
ewFireball,ewArrow,ewBrang,ewSword,ewRock,ewMagic,ewBomb,ewSBomb,
ewLitBomb,ewLitSBomb,ewFireTrail,ewFlame,ewWind,ewFlame2,ewFlame2Trail,
ewIce,ewFireball2, wMax
};
For reference, what this enum keyword means is that the first value in the list is 0 and all values after that are incremented by 1. So if 2None is 0, wSword would be 1, wBeam 2, wSBomb 5, etc. This changes when you get to the EnemyWeapons. As you can see, wEnemyWeapons is 128. That isn't actually used by the engine, it's just a marker. From there, ewFireball is 129, ewArrow is 130, etc etc.