Module:Sprite Damage/weapon table
From ALttP Speedrunning Wiki
Documentation for this module may be created at Damage/weapon table/doc&action=edit&redlink=1 Module:Sprite Damage/weapon table/doc
local weapons = { ['boomerang'] = { [00] = 0x00, [01] = 0x01, [02] = 0x20, [03] = 0xFF, [04] = 0xFC, [05] = 0xFB, [06] = 0x00, [07] = 0x00 }, ['sword 1'] = { [00] = 0x00, [01] = 0x02, [02] = 0x40, [03] = 0x04, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00, ['blind'] = 0x01 }, ['sword 2'] = { [00] = 0x00, [01] = 0x04, [02] = 0x40, [03] = 0x02, [04] = 0x03, [05] = 0x00, [06] = 0x00, [07] = 0x00, ['blind'] = 0x01 }, ['sword 3'] = { [00] = 0x00, [01] = 0x08, [02] = 0x40, [03] = 0x04, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00, ['blind'] = 0x01 }, ['sword 4'] = { [00] = 0x00, [01] = 0x10, [02] = 0x40, [03] = 0x08, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00, ['blind'] = 0x01 }, ['sword 5'] = { [00] = 0x00, [01] = 0x10, [02] = 0x40, [03] = 0x08, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00, ['blind'] = 0x01 }, ['arrow'] = { [00] = 0x00, [01] = 0x04, [02] = 0x40, [03] = 0x10, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00 }, ['hookshot'] = { [00] = 0x00, [01] = 0xFF, [02] = 0x40, [03] = 0xFF, [04] = 0xFC, [05] = 0xFB, [06] = 0x00, [07] = 0x00 }, ['bomb'] = { [00] = 0x00, [01] = 0x04, [02] = 0x40, [03] = 0xFF, [04] = 0xFC, [05] = 0xFB, [06] = 0x20, [07] = 0x00 }, ['silver'] = { [00] = 0x00, [01] = 0x64, [02] = 0x18, [03] = 0x64, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00 }, ['powder'] = { [00] = 0x00, [01] = 0xF9, [02] = 0xFA, [03] = 0xFF, [04] = 0x64, [05] = 0x00, [06] = 0x00, [07] = 0x00 }, ['fire rod'] = { [00] = 0x00, [01] = 0x08, [02] = 0x40, [03] = 0xFD, [04] = 0x04, [05] = 0x10, [06] = 0x00, [07] = 0x00 }, ['ice rod'] = { [00] = 0x00, [01] = 0x08, [02] = 0x40, [03] = 0xFE, [04] = 0x04, [05] = 0x00, [06] = 0x00, [07] = 0x00 }, ['bombos'] = { [00] = 0x00, [01] = 0x10, [02] = 0x40, [03] = 0xFD, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00 }, ['ether'] = { [00] = 0x00, [01] = 0xFE, [02] = 0x40, [03] = 0x10, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0x00 }, ['quake'] = { [00] = 0x00, [01] = 0x20, [02] = 0x40, [03] = 0xFF, [04] = 0x00, [05] = 0x00, [06] = 0x00, [07] = 0xFA }, } return weapons