<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="45">
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"Compact Mode"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
--https://forum.cheatengine.org/viewtopic.php?t=570055
LuaCall(function cycleFullCompact(sender,force) local state = not(compactmenuitem.Caption == 'Compact View Mode'); if force~=nil then state = not force end; compactmenuitem.Caption = state and 'Compact View Mode' or 'Full View Mode'; getMainForm().Splitter1.Visible = state; getMainForm().Panel4.Visible    = state; getMainForm().Panel5.Visible    = state; end; function addCompactMenu() if compactmenualreadyexists then return end; local parent = getMainForm().Menu.Items; compactmenuitem = createMenuItem(parent); parent.add(compactmenuitem); compactmenuitem.Caption = 'Compact View Mode'; compactmenuitem.OnClick = cycleFullCompact; compactmenualreadyexists = 'yes'; end; addCompactMenu(); cycleFullCompact(nil,true))

[DISABLE]
LuaCall(cycleFullCompact(nil,false))

</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>170</ID>
      <Description>"Toggle scripts"</Description>
      <Color>4080FF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript Async="1">[ENABLE]
{$lua}
if (syntaxcheck) then return end
getLuaEngine().menuItem5.doClick()
getLuaEngine().Close()

local enableBattleScripts = {
  0, -- "Compact Mode"
  1, -- "init."
  11, -- "Map: characters"
  178, -- "Inventory"
  77, -- "Battle: Status pointers"
  108, -- "Battle: Enemies"
  12, -- "Map: characters status"
  172, -- "Player battle scripts"
  173, -- "Enemy battle scripts"
  176, -- "Get inventory list"
  177, -- "Set inventory stock to 50, if &gt; 1"
  69, -- "Scripts"
  83, -- "Battle: Player chars"
  111, -- "Enemy 1"
  174, -- "Add extra EXP"
  84, -- "P.Char 1"
  90, -- "P.Char 2 (or enemy)"
}
local addressList = getAddressList()
for _, id in ipairs(enableBattleScripts) do
  addressList.getMemoryRecordByID(id).Active = true
end
getLuaEngine().Close()
[DISABLE]
{$lua}
if (syntaxcheck) then return end
getLuaEngine().menuItem5.doClick()
getLuaEngine().Close()

local disableBattleScripts = {
  7, -- "+Inventory (do not delete this)"
  96, -- "P.Char 3 (or enemy)"
  90, -- "P.Char 2 (or enemy)"
  84, -- "P.Char 1"
  81, -- "Auto restore HP/SP every x seconds"
  8, -- "Go"
  78, -- "Auto set BP every x seconds"
  75, -- "Auto set HP/SP every x seconds"
  73, -- "Add extra JP"
  72, -- "Manual set min HP/SP"
  62, -- "Char 8 : アイフェン / Alfyn"
  55, -- "Char 7 : オフィーリア / Ophilia"
  48, -- "Char 6 : デリオン / Therion"
  41, -- "Char 5 : ハンイツト / H'aanit"
  4, -- "Go"
  34, -- "Char 4 : プリムロゼ / Primrose"
  27, -- "Char 3 : サイラス / Cyrus"
  20, -- "Char 2 : トレサ / Tressa"
  174, -- "Add extra EXP"
  160, -- "Enemy 8"
  153, -- "Enemy 7"
  146, -- "Enemy 6"
  139, -- "Enemy 5"
  132, -- "Enemy 4"
  13, -- "Char 1 : オルベルク / Olberic"
  125, -- "Enemy 3"
  118, -- "Enemy 2"
  111, -- "Enemy 1"
  109, -- "Auto set 1 HP every x seconds"
  102, -- "P.Char 4 (or enemy)"
  83, -- "Battle: Player chars"
  69, -- "Scripts"
  177, -- "Set inventory stock to 50, if &gt; 1"
  176, -- "Get inventory list"
  173, -- "Enemy battle scripts"
  172, -- "Player battle scripts"
  12, -- "Map: characters status"
  108, -- "Battle: Enemies"
  77, -- "Battle: Status pointers"
  178, -- "Inventory"
  11, -- "Map: characters"
  1, -- "init."
  0, -- "Compact Mode"
}
local addressList = getAddressList()
for _, id in ipairs(disableBattleScripts) do
  addressList.getMemoryRecordByID(id).Active = false
end
getLuaEngine().Close()
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>1</ID>
      <Description>"init."</Description>
      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
{$asm}
alloc(newmem, 100, $process+0289D270)
label(IS_DISPLAY_UNKNOWN TEAM_MEMBER_CNT)
label(TARGET_QUANTITY TARGET_QUANTITY_MIN)
Label(I_DISPLAY_CNT_FILTER I_MAP_TARGET_HP I_MAP_TARGET_SP I_MAP_ADD_JP I_BATTLE_MIN_BP)
label(I_BATTLE_MIN_BP_INTER I_MAP_RECOVER_HPSP_INTER I_BATTLE_RECOVER_HPSP_INTER)
label(I_BATTLE_ENEMY_HPSP_INTER I_MAP_ADD_EXP IS_BATTLE_RECOVER_HP IS_BATTLE_RECOVER_SP)

newmem:
  IS_DISPLAY_UNKNOWN:
  dd 0
  I_DISPLAY_CNT_FILTER:
  dd 31
  TARGET_QUANTITY:
  dd 32
  TARGET_QUANTITY_MIN:
  dd 2
  TEAM_MEMBER_CNT:
  dd 1
  I_MAP_TARGET_HP:
  dd #450
  I_MAP_TARGET_SP:
  dd #100
  I_MAP_ADD_JP:
  dd #100
  I_MAP_ADD_EXP:
  dd #50
  I_MAP_RECOVER_HPSP_INTER:
  dd 5
  I_BATTLE_MIN_BP:
  dd 5
  I_BATTLE_MIN_BP_INTER:
  dd 5
  I_BATTLE_RECOVER_HPSP_INTER:
  dd 5
  I_BATTLE_ENEMY_HPSP_INTER:
  dd 4
  IS_BATTLE_RECOVER_HP:
  dd 0
  IS_BATTLE_RECOVER_SP:
  dd 1

registersymbol(IS_DISPLAY_UNKNOWN TEAM_MEMBER_CNT)
registersymbol(TARGET_QUANTITY TARGET_QUANTITY_MIN)
registersymbol(I_DISPLAY_CNT_FILTER I_MAP_TARGET_HP I_MAP_TARGET_SP I_MAP_ADD_JP I_BATTLE_MIN_BP)
registersymbol(I_BATTLE_MIN_BP_INTER I_MAP_RECOVER_HPSP_INTER I_BATTLE_RECOVER_HPSP_INTER)
registersymbol(I_BATTLE_ENEMY_HPSP_INTER I_MAP_ADD_EXP IS_BATTLE_RECOVER_HP IS_BATTLE_RECOVER_SP)

[DISABLE]
{$asm}
unregistersymbol(*)
dealloc(newmem, 100)

</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>2</ID>
          <Description>"Money"</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <Color>FF8080</Color>
          <VariableType>4 Bytes</VariableType>
          <Address>$process+0289D270</Address>
          <Offsets>
            <Offset>158</Offset>
            <Offset>3A0</Offset>
            <Offset>88</Offset>
            <Offset>A0</Offset>
            <Offset>20</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>179</ID>
          <Description>"Game time"</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <Color>FF8080</Color>
          <VariableType>4 Bytes</VariableType>
          <Address>$process+0289D280</Address>
          <Offsets>
            <Offset>378</Offset>
            <Offset>78</Offset>
            <Offset>E8</Offset>
            <Offset>A0</Offset>
            <Offset>20</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>178</ID>
          <Description>"Inventory"</Description>
          <Options moHideChildren="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>3</ID>
              <Description>"First item pointer"</Description>
              <DropDownListLink>I.ID</DropDownListLink>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>FF8080</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>$process+0289D270</Address>
              <Offsets>
                <Offset>0</Offset>
                <Offset>3A8</Offset>
                <Offset>0</Offset>
                <Offset>150</Offset>
                <Offset>B0</Offset>
                <Offset>A0</Offset>
                <Offset>20</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>176</ID>
              <Description>"Get inventory list"</Description>
              <Options moHideChildren="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>5</ID>
                  <Description>"Display unknown fields?"</Description>
                  <DropDownList DisplayValueAsItem="1">0:No
1:Yes
</DropDownList>
                  <ShowAsSigned>0</ShowAsSigned>
                  <Color>C08000</Color>
                  <VariableType>4 Bytes</VariableType>
                  <Address>IS_DISPLAY_UNKNOWN</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>6</ID>
                  <Description>"Only display item quantity &lt;="</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <Color>C08000</Color>
                  <VariableType>4 Bytes</VariableType>
                  <Address>I_DISPLAY_CNT_FILTER</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>4</ID>
                  <Description>"Go"</Description>
                  <Options moHideChildren="1"/>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()
getLuaEngine().Close()
-- Initialize basic parameters
local parentName = "+Inventory (do not delete this)" -- Parent node name
local pointerName = "First item pointer" -- Memory record name for the starting address
local recordSize = 16 -- Size of each record (in bytes)
local evenColor = 0xFF8000 -- Color for even entries (water blue)
local grayColor = 0x7F7F7F -- Color for even entries (gray)
local maxRecords = 1000 -- Maximum number of records to process to prevent infinite loops
local itemQtyFilter = readInteger("I_DISPLAY_CNT_FILTER")
if not itemQtyFilter then
  error("Invalid value for I_DISPLAY_CNT_FILTER")
end

local isFilterUnknown = readInteger("IS_DISPLAY_UNKNOWN")
if not isFilterUnknown then
  error("Invalid value for IS_DISPLAY_UNKNOWN")
end

-- Retrieve parent and pointer nodes
local parentRecord = getAddressList().getMemoryRecordByDescription(parentName)
local pointerRecord = getAddressList().getMemoryRecordByDescription(pointerName)

if not parentRecord or not pointerRecord then
  error("Cannot find memory record: " .. parentName .. " or " .. pointerName)
end

-- Get the base address
local baseAddress = pointerRecord.getCurrentAddress() -- Get the actual address stored in the pointer
if not baseAddress then
  error("Cannot read pointer: " .. pointerName)
end

-- Dynamically generate child nodes
parentRecord.Active = false
local index = 0
while index &lt; maxRecords do
  local itemAddress = baseAddress + index * recordSize
  local itemID = readInteger(itemAddress) -- Read Item ID

  -- Check if end is reached
  if not itemID or itemID == 0 or itemID &gt; 2500 then
    break -- Break loop if unable to read, Item ID is 0, or Item ID &gt; 2500
  end
  local itemCount = readInteger(itemAddress + 4)
  if itemCount and itemCount &lt;= itemQtyFilter then
  --if (itemQtyFilter &gt;= readInteger(itemAddress + 4)) then
    -- Create main node
    local mainChild = getAddressList().createMemoryRecord()
    mainChild.Parent = parentRecord -- Set as a child of the parent node
    mainChild.Description = string.format("Item %d", index + 1)
    mainChild.Address = string.format("%X", itemAddress) -- Calculate address dynamically
    mainChild.Type = vtDword -- Item ID (32-bit integer)
    mainChild.DropDownLinkedMemrec = "I.ID"
    mainChild.DropDownLinked = true
    if index % 2 == 1 then
      mainChild.Color = evenColor -- Apply color for even entries
    end

    -- Create sub-node - Stock count
    local stockChild = getAddressList().createMemoryRecord()
    stockChild.Parent = mainChild -- Set as a child of the main node
    stockChild.Description = "Stock Count"
    stockChild.Address = string.format("%X", itemAddress + 4) -- Calculate address dynamically
    stockChild.Type = vtDword -- Stock count (32-bit integer)
    if index % 2 == 1 then
      stockChild.Color = evenColor -- Apply color for even entries
    end
    if isFilterUnknown &gt; 0 then
      -- Create sub-node - Unknown1
      local unknown1Child = getAddressList().createMemoryRecord()
      unknown1Child.Parent = mainChild -- Set as a child of the main node
      unknown1Child.Description = "Unknown1"
      unknown1Child.Address = string.format("%X", itemAddress + 8) -- Calculate address dynamically
      unknown1Child.Type = vtDword -- Unknown1 (32-bit integer)
      unknown1Child.ShowAsSigned = true
      unknown1Child.Color = grayColor

      -- Create sub-node - Unknown2
      local unknown2Child = getAddressList().createMemoryRecord()
      unknown2Child.Parent = mainChild -- Set as a child of the main node
      unknown2Child.Description = "Unknown2"
      unknown2Child.Address = string.format("%X", itemAddress + 12) -- Calculate address dynamically
      unknown2Child.Type = vtDword -- Unknown2 (32-bit integer)
      unknown2Child.ShowAsSigned = true
      unknown2Child.Color = grayColor
    end
  end

  index = index + 1
end
getLuaEngine().Close()
parentRecord.Active = true
{$asm}
[DISABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()

-- Retrieve parent node
local parentRecord = getAddressList().getMemoryRecordByDescription("+Inventory (do not delete this)")
parentRecord.Active = false
if parentRecord then
  local addressList = getAddressList()
  -- Iterate through AddressList to find all records with parentRecord as the parent node
  for i = addressList.Count - 1, 0, -1 do
    local child = addressList[i]
    if child.Parent == parentRecord then
      child.delete() -- Delete child node
    end
  end
else
  print("Parent record not found")
end
getLuaEngine().Close()


</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>7</ID>
                      <Description>"+Inventory (do not delete this)"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>177</ID>
              <Description>"Set inventory stock to 50, if &gt; 1"</Description>
              <Options moHideChildren="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>9</ID>
                  <Description>"Threshold to trigger"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <Color>C08000</Color>
                  <VariableType>4 Bytes</VariableType>
                  <Address>TARGET_QUANTITY_MIN</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>10</ID>
                  <Description>"Target quantity"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <Color>C08000</Color>
                  <VariableType>4 Bytes</VariableType>
                  <Address>TARGET_QUANTITY</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>8</ID>
                  <Description>"Go"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
--NO_ACTIVATE
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()

local pointerName = "First item pointer" -- Memory record name for the starting address
local pointerRecord = getAddressList().getMemoryRecordByDescription(pointerName)

-- Get the base address
local baseAddress = pointerRecord.getCurrentAddress() -- Get the actual address stored in the pointer
if not baseAddress then
  error("Cannot read pointer: " .. pointerName)
end

local recordSize = 16
local maxRecords = 1000 -- Maximum number of items to prevent infinite loop
local index = 0
local tQty = readInteger("TARGET_QUANTITY")
local minQty = readInteger("TARGET_QUANTITY_MIN")
print("Target quantity: " .. tQty)
-- Process items
while index &lt; maxRecords do
  local itemAddress = baseAddress + index * recordSize
  local itemID = readInteger(itemAddress) -- Read Item ID

  -- Check if the end of items is reached
  if not itemID or itemID &lt;= 0 then
    break -- Exit the loop if no valid Item ID
  end

  -- Read and process the stock count
  local itemCount = readInteger(itemAddress + 4)
  if itemCount and (itemCount &gt;= minQty) and (itemCount &lt; tQty) then
    writeInteger(itemAddress + 4, tQty) -- Set stock count to nn
    print(string.format("Updated stock count for item at address %X", itemAddress + 4))
  end

  index = index + 1
end

getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()

</AssemblerScript>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>11</ID>
          <Description>"Map: characters"</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>69</ID>
              <Description>"Scripts"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>72</ID>
                  <Description>"Manual set min HP/SP"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
--NO_ACTIVATE
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()

-- Minimum values
local minHP = readInteger("I_MAP_TARGET_HP")
if not minHP then
  error("Invalid value for I_MAP_TARGET_HP")
end

local minSP = readInteger("I_MAP_TARGET_SP")
if not minSP then
  error("Invalid value for I_MAP_TARGET_SP")
end

-- Function to recursively process memory records
local function processMemoryRecords(memoryRecord)
  if memoryRecord == nil then return end

  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]
    if child ~= nil and child.Description then
      -- Check and set HP
      if child.Description == "HP" then
        local currentValue = child.Value
        if currentValue ~= nil and tonumber(currentValue) &gt; 0 and tonumber(currentValue) &lt; minHP then
          child.Value = minHP
          print("Set '" .. child.Description .. "' to " .. minHP .. ".")
        end
      end

      -- Check and set SP
      if child.Description == "SP" then
        local currentValue = child.Value
        if currentValue ~= nil and tonumber(currentValue) &gt; 0 and tonumber(currentValue) &lt; minSP then
          child.Value = minSP
          print("Set '" .. child.Description .. "' to " .. minSP .. ".")
        end
      end

      -- Recursively process sub-children
      processMemoryRecords(child)
    end
  end
end

-- Get the root MemoryRecord
local root = getAddressList().getMemoryRecordByDescription("Map: characters status")
if root == nil then
  print("Could not find the 'Map: characters status' record.")
  return
end

-- Start processing from the root
processMemoryRecords(root)

print("Process completed.")
getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end

</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>70</ID>
                      <Description>"Target HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_MAP_TARGET_HP</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>71</ID>
                      <Description>"Target SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_MAP_TARGET_SP</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>73</ID>
                  <Description>"Add extra JP"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
--NO_ACTIVATE
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()

local addJP = readInteger("I_MAP_ADD_JP")
if not addJP then
  error("Invalid value for I_MAP_ADD_JP")
end

local function processMemoryRecords(memoryRecord)
  if memoryRecord == nil then return end

  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]
    if child ~= nil and child.Description then
      if child.Description == "JP" then
        local currentValue = child.Value
        if currentValue ~= nil and tonumber(currentValue) &gt; 0 and tonumber(currentValue) &lt; 9999 then
          child.Value = child.Value + addJP
          print("Set '" .. child.Description .. "' to " .. child.Value .. ".")
        end
      end
      processMemoryRecords(child)
    end
  end
end

local root = getAddressList().getMemoryRecordByDescription("Map: characters status")
if root == nil then
  print("Could not find the 'Map: characters status' record.")
  return
end

processMemoryRecords(root)

print("Process completed.")
getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end

</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>74</ID>
                      <Description>"Extra JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_MAP_ADD_JP</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>174</ID>
                  <Description>"Add extra EXP"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
--NO_ACTIVATE
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()

local addEXP = readInteger("I_MAP_ADD_EXP")
if not addEXP then
  error("Invalid value for I_MAP_ADD_EXP")
end

local function processMemoryRecords(memoryRecord)
  if memoryRecord == nil then return end

  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]
    if child ~= nil and child.Description then
      if child.Description == "EXP" then
        local currentValue = child.Value
        if currentValue ~= nil and tonumber(currentValue) &gt; 0 and tonumber(currentValue) &lt; 999999 then
          child.Value = child.Value + addEXP
          print("Set '" .. child.Description .. "' to " .. child.Value .. ".")
        end
      end
      processMemoryRecords(child)
    end
  end
end

local root = getAddressList().getMemoryRecordByDescription("Map: characters status")
if root == nil then
  print("Could not find the 'Map: characters status' record.")
  return
end

processMemoryRecords(root)

print("Process completed.")
getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end

</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>175</ID>
                      <Description>"Extra EXP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_MAP_ADD_EXP</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>75</ID>
                  <Description>"Auto set HP/SP every x seconds"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end
getLuaEngine().menuItem5.doClick()

if mapSetHPSP_Timer == nil then mapSetHPSP_Timer = createTimer() end

local minHP = readInteger("I_MAP_TARGET_HP")
if not minHP then
  error("Invalid value for I_MAP_TARGET_HP")
end

local minSP = readInteger("I_MAP_TARGET_SP")
if not minSP then
  error("Invalid value for I_MAP_TARGET_SP")
end

local iTimerInter = readInteger("I_MAP_RECOVER_HPSP_INTER")
if not iTimerInter then
  error("Invalid value for I_MAP_RECOVER_HPSP_INTER")
end

-- Function to recursively process memory records
local function processMemoryRecords(memoryRecord)
  if memoryRecord == nil then return end

  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]
    if child ~= nil and child.Description then
      -- Check and set HP
      if child.Description == "HP" then
        local currentValue = child.Value
        if currentValue ~= nil and tonumber(currentValue) &gt; 0 and tonumber(currentValue) &lt; minHP then
          child.Value = minHP
          ----print("Set '" .. child.Description .. "' to " .. minHP .. ".")
        end
      end

      -- Check and set SP
      if child.Description == "SP" then
        local currentValue = child.Value
        if currentValue ~= nil and tonumber(currentValue) &gt; 0 and tonumber(currentValue) &lt; minSP then
          child.Value = minSP
          ----print("Set '" .. child.Description .. "' to " .. minSP .. ".")
        end
      end

      -- Recursively process sub-children
      processMemoryRecords(child)
    end
  end
end

local function processCharactersStatus()
  -- Get the root MemoryRecord
  local root = getAddressList().getMemoryRecordByDescription("Map: characters status")
  if root == nil then
    ----print("Could not find the 'Map: characters status' record.")
    return
  end

  -- Start processing from the root
  processMemoryRecords(root)
  ----print("Process completed.")
end

mapSetHPSP_Timer.Interval = iTimerInter*1000
mapSetHPSP_Timer.OnTimer = processCharactersStatus
mapSetHPSP_Timer.Enabled = true

print("Timer 'mapSetHPSP_Timer' started.")
getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
if memrec then print(memrec.Description) end

if mapSetHPSP_Timer ~= nil then
  mapSetHPSP_Timer.Enabled = false
  mapSetHPSP_Timer.destroy()
  mapSetHPSP_Timer = nil
  print("Timer 'mapSetHPSP_Timer' stopped and destroyed.")
end
getLuaEngine().Close()

</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>182</ID>
                      <Description>"resatrt if config changed"</Description>
                      <Color>8000FF</Color>
                      <GroupHeader>1</GroupHeader>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>76</ID>
                      <Description>"interval in seconds"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_MAP_RECOVER_HPSP_INTER</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>183</ID>
                      <Description>"Target HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_MAP_TARGET_HP</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>184</ID>
                      <Description>"Target SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_MAP_TARGET_SP</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>12</ID>
              <Description>"Map: characters status"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>13</ID>
                  <Description>"Char 1 : オルベルク / Olberic"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>14</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>15</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>4</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>16</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>17</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>C</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>18</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>10</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>19</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>30</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>20</ID>
                  <Description>"Char 2 : トレサ / Tressa"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>21</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>C8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>22</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>CC</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>23</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>D0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>24</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>D4</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>25</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>D8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>26</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>F8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>27</ID>
                  <Description>"Char 3 : サイラス / Cyrus"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>28</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>190</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>29</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>194</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>30</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>198</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>31</ID>
                      <Description>"HP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>19C</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>32</ID>
                      <Description>"SP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>1A0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>33</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>1C0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>34</ID>
                  <Description>"Char 4 : プリムロゼ / Primrose"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>35</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>258</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>36</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>25C</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>37</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>260</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>38</ID>
                      <Description>"HP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>264</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>39</ID>
                      <Description>"SP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>268</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>40</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>288</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>41</ID>
                  <Description>"Char 5 : ハンイツト / H'aanit"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>42</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>320</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>43</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>324</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>44</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>328</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>45</ID>
                      <Description>"HP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>32C</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>46</ID>
                      <Description>"SP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>330</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>47</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>350</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>48</ID>
                  <Description>"Char 6 : デリオン / Therion"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>49</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>50</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>51</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>3F0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>52</ID>
                      <Description>"HP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>3F4</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>53</ID>
                      <Description>"SP"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>3F8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>54</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>418</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>55</ID>
                  <Description>"Char 7 : オフィーリア / Ophilia"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>56</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>4B0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>57</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>4B4</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>58</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>4B8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>59</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>4BC</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>60</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>4C0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>61</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>4E0</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>62</ID>
                  <Description>"Char 8 : アイフェン / Alfyn"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>63</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>578</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>64</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>57C</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>65</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>580</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>66</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>584</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>67</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>588</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>68</ID>
                      <Description>"JP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289CC48</Address>
                      <Offsets>
                        <Offset>5A8</Offset>
                        <Offset>1C8</Offset>
                        <Offset>370</Offset>
                        <Offset>0</Offset>
                        <Offset>150</Offset>
                        <Offset>88</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>77</ID>
          <Description>"Battle: Status pointers"</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>172</ID>
              <Description>"Player battle scripts"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>78</ID>
                  <Description>"Auto set BP every x seconds"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
getLuaEngine().menuItem5.doClick()
--local minBP = 5
local minBP = readInteger("I_BATTLE_MIN_BP")
if not minBP then
  error("Invalid value for I_BATTLE_MIN_BP")
end

local iTimerInter = readInteger("I_BATTLE_MIN_BP_INTER")
if not iTimerInter then
  error("Invalid value for I_BATTLE_MIN_BP_INTER")
end

if battleChars_Timer == nil then battleChars_Timer = createTimer() end

local function getChildByDescription(memoryRecord, description)
  if memoryRecord == nil or description == nil then return nil end
  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]
    if child and child.Description == description then
      return child
    end
  end
  return nil
end

local function checkAndSetBP(memoryRecord)
  if memoryRecord == nil then return end

  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]

    if child ~= nil and child.Count &gt; 0 then
      local idRecord = getChildByDescription(child, "ID")
      local hpRecord = getChildByDescription(child, "HP")
      local spRecord = getChildByDescription(child, "SP")
      local maxHPRecord = getChildByDescription(child, "Max HP")
      local bpRecord = getChildByDescription(child, "BP")

      if idRecord and hpRecord and spRecord and maxHPRecord and bpRecord then
        local id = tonumber(idRecord.Value)
        local hp = tonumber(hpRecord.Value)
        local sp = tonumber(spRecord.Value)
        local maxHP = tonumber(maxHPRecord.Value)
        local bp = tonumber(bpRecord.Value)

        if id and hp and sp and maxHP and bp and
           id &gt;= 1 and id &lt;= 8 and
           sp &gt; 0 and sp &lt; 999 and
           hp &gt; 0 and --hp &lt;= maxHP and
           bp &gt;= 0 and
           hp &lt; 99999 and sp &lt; 9999 and maxHP &lt; 99999 and bp &lt; 99 then

          if bp &lt; minBP then
            bpRecord.Value = minBP
          end
          --print("Set BP to 5 for ID: " .. id)
        else
          --print('idle')
        end
      end
    end
  end
end

local function processBattlePlayerChars()
  local root = getAddressList().getMemoryRecordByDescription("Battle: Player chars")
  if root == nil then
    print("Could not find 'Battle: Player chars' record.")
    return
  end
  checkAndSetBP(root)
end

battleChars_Timer.Interval = iTimerInter * 1000
battleChars_Timer.OnTimer = processBattlePlayerChars
battleChars_Timer.Enabled = true

print("Timer 'battleChars_Timer' started, executing every x seconds.")
getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
getLuaEngine().menuItem5.doClick()

if battleChars_Timer ~= nil then
  battleChars_Timer.Enabled = false
  battleChars_Timer.destroy()
  battleChars_Timer = nil
  print("Timer 'battleChars_Timer' stopped and destroyed.")
end
getLuaEngine().Close()
</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>79</ID>
                      <Description>"min.BP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_BATTLE_MIN_BP</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>80</ID>
                      <Description>"interval in seconds"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_BATTLE_MIN_BP_INTER</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>81</ID>
                  <Description>"Auto restore HP/SP every x seconds"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
getLuaEngine().menuItem5.doClick()

local iTimerInter = readInteger("I_BATTLE_RECOVER_HPSP_INTER")
if not iTimerInter then
  error("Invalid value for I_BATTLE_RECOVER_HPSP_INTER")
end

-- 創建 Timer
if battleChars_HPSPTimer == nil then battleChars_HPSPTimer = createTimer() end

-- 自定義函數：獲取子節點
local function getChildByDescription(memoryRecord, description)
  if memoryRecord == nil or description == nil then return nil end
  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]
    if child and child.Description == description then
      return child
    end
  end
  return nil
end

-- 檢查並設定 HP/SP/BP 的值
local function checkAndSetBP(memoryRecord, bRecoverHP, bRecoverSP)
  if memoryRecord == nil then return end

  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]

    if child ~= nil and child.Count &gt; 0 then
      local idRecord = getChildByDescription(child, "ID")
      local hpRecord = getChildByDescription(child, "HP")
      local spRecord = getChildByDescription(child, "SP")
      local maxHPRecord = getChildByDescription(child, "Max HP")
      local bpRecord = getChildByDescription(child, "BP")

      if idRecord and hpRecord and spRecord and maxHPRecord and bpRecord then
        local id = tonumber(idRecord.Value)
        local hp = tonumber(hpRecord.Value)
        local sp = tonumber(spRecord.Value)
        local maxHP = tonumber(maxHPRecord.Value)
        local bp = tonumber(bpRecord.Value)

        if id and hp and sp and maxHP and bp and
           id &gt;= 1 and id &lt;= 8 and
           sp &gt; 0 and sp &lt; 999 and
           hp &gt; 0 and hp &lt;= maxHP and
           bp &gt;= 0 and
           hp &lt; 99999 and sp &lt; 9999 and maxHP &lt; 99999 and bp &lt; 99 then

          if hp &lt; maxHP and bRecoverHP &gt;= 1 then
            hpRecord.Value = maxHPRecord.Value
            --print("HP recovered to MaxHP for ID: " .. id)
          end
          if sp &lt; 75 and bRecoverSP &gt;= 1 then
            spRecord.Value = 75
            --print("SP recovered to 75 for ID: " .. id)
          end
        end
      end
    end
  end
end

-- Timer 回調函數：每次執行時重新讀取設定
local function processBattlePlayerChars()
  -- 重新讀取 bRecoverHP 和 bRecoverSP 的值
  local bRecoverHP = readInteger("IS_BATTLE_RECOVER_HP")
  if not bRecoverHP then
    print("Invalid value for IS_BATTLE_RECOVER_HP")
    return
  end

  local bRecoverSP = readInteger("IS_BATTLE_RECOVER_SP")
  if not bRecoverSP then
    print("Invalid value for IS_BATTLE_RECOVER_SP")
    return
  end

  -- 獲取根節點
  local root = getAddressList().getMemoryRecordByDescription("Battle: Player chars")
  if root == nil then
    print("Could not find 'Battle: Player chars' record.")
    return
  end

  -- 檢查並設定值
  checkAndSetBP(root, bRecoverHP, bRecoverSP)
end

-- 設定 Timer
battleChars_HPSPTimer.Interval = iTimerInter * 1000 -- 每 X 秒執行一次
battleChars_HPSPTimer.OnTimer = processBattlePlayerChars
battleChars_HPSPTimer.Enabled = true

print("Timer 'battleChars_HPSPTimer' started, executing every " .. iTimerInter .. " seconds.")
getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
getLuaEngine().menuItem5.doClick()

if battleChars_HPSPTimer ~= nil then
  battleChars_HPSPTimer.Enabled = false
  battleChars_HPSPTimer.destroy()
  battleChars_HPSPTimer = nil
  print("Timer 'battleChars_HPSPTimer' stopped and destroyed.")
end
getLuaEngine().Close()

</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>82</ID>
                      <Description>"interval in seconds"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_BATTLE_RECOVER_HPSP_INTER</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>180</ID>
                      <Description>"Recover HP?"</Description>
                      <DropDownList DisplayValueAsItem="1">0:No
1:Yes
</DropDownList>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>IS_BATTLE_RECOVER_HP</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>181</ID>
                      <Description>"Recover SP?"</Description>
                      <DropDownList DisplayValueAsItem="1">0:No
1:Yes
</DropDownList>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>IS_BATTLE_RECOVER_SP</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>83</ID>
              <Description>"Battle: Player chars"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>84</ID>
                  <Description>"P.Char 1"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>85</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>0</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>86</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>0</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>87</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>0</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>88</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>0</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>89</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>0</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>90</ID>
                  <Description>"P.Char 2 (or enemy)"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>91</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>8</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>92</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>8</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>93</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>8</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>94</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>8</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>95</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>8</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>96</ID>
                  <Description>"P.Char 3 (or enemy)"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>97</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>10</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>98</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>10</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>99</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>10</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>100</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>10</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>101</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>10</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>102</ID>
                  <Description>"P.Char 4 (or enemy)"</Description>
                  <Options moHideChildren="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>103</ID>
                      <Description>"ID"</Description>
                      <DropDownListLink>C.ID</DropDownListLink>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>18</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>104</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>18</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>105</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>18</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>106</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>18</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>107</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>18</Offset>
                        <Offset>4C0</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>173</ID>
              <Description>"Enemy battle scripts"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>109</ID>
                  <Description>"Auto set 1 HP every x seconds"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
getLuaEngine().menuItem5.doClick()
local iTimerInter = readInteger("I_BATTLE_ENEMY_HPSP_INTER")
if not iTimerInter then
  error("Invalid value for I_BATTLE_ENEMY_HPSP_INTER")
end

if battleEnemies_HPSPTimer == nil then battleEnemies_HPSPTimer = createTimer() end

local function getChildByDescription(memoryRecord, description)
  if memoryRecord == nil or description == nil then return nil end
  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]
    if child and child.Description == description then
      return child
    end
  end
  return nil
end

local function checkAndSetBP(memoryRecord)
  if memoryRecord == nil then return end

  for i = 0, memoryRecord.Count - 1 do
    local child = memoryRecord.Child[i]

    if child ~= nil and child.Count &gt; 0 then -- 第二層檢查
      local idRecord = getChildByDescription(child, "ID")
      local hpRecord = getChildByDescription(child, "HP")
      local spRecord = getChildByDescription(child, "SP")
      local maxHPRecord = getChildByDescription(child, "Max HP")
      local bpRecord = getChildByDescription(child, "BP")

      if idRecord and hpRecord and spRecord and maxHPRecord and bpRecord then
        local id = tonumber(idRecord.Value)
        local hp = tonumber(hpRecord.Value)
        local sp = tonumber(spRecord.Value)
        local maxHP = tonumber(maxHPRecord.Value)
        local bp = tonumber(bpRecord.Value)

        if id and hp and sp and maxHP and bp and
           id &gt; 8 and id &lt;= 10000 and
           sp &gt;= 0 and sp &lt; 9999 and
           hp &gt; 0 and hp &lt;= maxHP and
           bp &gt;= 0 and
           hp &lt; 999999 and sp &lt; 9999 and maxHP &lt; 999999 and bp &lt; 99 then

          if hp &gt; 1 then
            hpRecord.Value = 1
          end
          --if sp &gt; 0 then
          --  spRecord.Value = 0
          --end
          --print("Set BP to 5 for ID: " .. id)
        else
          --print('idle')
        end
      end
    end
  end
end

local function processBattlePlayerChars()
  local root = getAddressList().getMemoryRecordByDescription("Battle: Enemies")
  if root == nil then
    print("Could not find 'Battle: Enemies' record.")
    return
  end
  checkAndSetBP(root)
end

battleEnemies_HPSPTimer.Interval = iTimerInter * 1000
battleEnemies_HPSPTimer.OnTimer = processBattlePlayerChars
battleEnemies_HPSPTimer.Enabled = true

print("Timer 'battleChars_HPSPTimer' started, executing every x seconds.")
getLuaEngine().Close()
{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end
getLuaEngine().menuItem5.doClick()

if battleEnemies_HPSPTimer ~= nil then
  battleEnemies_HPSPTimer.Enabled = false
  battleEnemies_HPSPTimer.destroy()
  battleEnemies_HPSPTimer = nil
  print("Timer 'battleChars_HPSPTimer' stopped and destroyed.")
end
getLuaEngine().Close()
</AssemblerScript>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>110</ID>
                      <Description>"interval in seconds"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <Color>C08000</Color>
                      <VariableType>4 Bytes</VariableType>
                      <Address>I_BATTLE_ENEMY_HPSP_INTER</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>108</ID>
              <Description>"Battle: Enemies"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>111</ID>
                  <Description>"Enemy 1"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>112</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>0</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>113</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>0</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>114</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>0</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>115</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>0</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>116</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>0</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>117</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>0</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>118</ID>
                  <Description>"Enemy 2"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>119</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>8</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>120</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>8</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>121</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>8</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>122</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>8</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>123</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>8</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>124</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>8</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>125</ID>
                  <Description>"Enemy 3"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>126</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>10</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>127</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>10</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>128</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>10</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>129</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>10</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>130</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>10</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>131</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>10</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>132</ID>
                  <Description>"Enemy 4"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>133</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>18</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>134</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>18</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>135</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>18</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>136</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>18</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>137</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>18</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>138</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>18</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>139</ID>
                  <Description>"Enemy 5"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>140</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>20</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>141</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>20</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>142</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>20</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>143</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>20</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>144</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>20</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>145</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>20</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>146</ID>
                  <Description>"Enemy 6"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>147</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>28</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>148</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>28</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>149</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>28</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>150</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>28</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>151</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>28</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>152</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>28</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>153</ID>
                  <Description>"Enemy 7"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>154</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>30</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>155</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>30</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>156</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>30</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>157</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>30</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>158</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>30</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>159</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>30</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>160</ID>
                  <Description>"Enemy 8"</Description>
                  <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>161</ID>
                      <Description>"ID"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E0</Offset>
                        <Offset>38</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>162</ID>
                      <Description>"HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E4</Offset>
                        <Offset>38</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>163</ID>
                      <Description>"SP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3E8</Offset>
                        <Offset>38</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>164</ID>
                      <Description>"Max HP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>3EC</Offset>
                        <Offset>38</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>165</ID>
                      <Description>"BP"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>428</Offset>
                        <Offset>38</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>166</ID>
                      <Description>"Shield"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>$process+0289D280</Address>
                      <Offsets>
                        <Offset>42C</Offset>
                        <Offset>38</Offset>
                        <Offset>890</Offset>
                        <Offset>80</Offset>
                        <Offset>A0</Offset>
                        <Offset>20</Offset>
                      </Offsets>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>167</ID>
      <Description>"Octopath Traveler  //  https://opencheattables.com"</Description>
      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
      <Color>009D00</Color>
      <GroupHeader>1</GroupHeader>
      <CheatEntries>
        <CheatEntry>
          <ID>168</ID>
          <Description>"."</Description>
          <Options moHideChildren="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>169</ID>
              <Description>"C.ID"</Description>
              <DropDownList DisplayValueAsItem="1">1:オルベルク / Olberic Eisenberg
2:トレサ / Tressa Colzione
3:サイラス / Cyrus Albright
4:プリムロゼ / Primrose Azelhart
5:ハンイツト / H'aanit
6:デリオン / Therion
7:オフィーリア / Ophilia Clement
8:アイフェン / Alfyn Greengrass
</DropDownList>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
            <CheatEntry>
              <ID>171</ID>
              <Description>"I.ID"</Description>
              <DropDownList DisplayValueAsItem="1">1:Healing Grape - Restores HP to a single ally.
2:Healing Grape (M) - Greatly restores HP to a single ally.
3:Healing Grape Bunch - Restores HP to all allies.
4:Inspiriting Plum - Restores SP to a single ally.
5:Inspiriting Plum (M) - Greatly restores SP to a single ally.
6:Inspiriting Plum Basket - Restores to SP to all allies.
7:Energizing Pomegrante - Restores BP to a single ally.
8:Energizing Pomegrante (M) - Greatly restores BP to a single ally.
9:Energizing Pomegrante (L) - Massively restores BP to single ally.
10:Refreshing Jam - Restores HP and SP to a single ally.
11:Revitalizing Jam - Restores HP, SP, and BP to a single ally.
12:Olive of Life - Revives and restores HP to single fallen ally.
13:Olive of Life (M) - Revives and greatly restores HP to a single fallen ally
14:Olive of Life (L) - Revives and massively restores HP to a single fallen ally.
20:Herb of Healing - Cures a single ally of poison.
21:Herb of Clamor - Cures a single ally of silence.
22:Herb of Light - Cures a single ally of blindness.
23:Herb of Clarity - Cures a single ally of confusion.
24:Herb of Awakening - Awakens a single sleeping ally.
25:Herb of Valor - Cures a single ally of terror.
26:Herb of Revival - Revives a single unconscious ally.
30:Bottle of Poison Dust - Inflicts poison on a single foe with a given probablity.
31:Bottle of Blinding Dust - Inflicts blindess on a single foe with a given probablity
32:Bottle of Befuddling Dust - Inflicts confusion on a single foe with a given probablity
33:Bottle of Sleeping Dust - Inflicts sleep on a single foe with a given probablity
40:Fire Soulstone - Deals fire damage to all foes.
41:Fire Soulstone (M) - Deals great fire damage to all foes.
42:Fire Soulstone (L) - Deals massive fire damage to all foes.
43:Ice Soulstone - Deals ice damage to all foes.
44:Ice Soulstone (M) - Deals great ice damage to all foes.
45:Ice Soulstone (L) - Deals massive ice damage to all foes.
46:Thunder Soulstone - Deals lightning damage to all foes.
47:Thunder Soulstone (M) - Deals great lightning damage to all foes.
48:Thunder Soulstone (L) - Deals massive lightning damage to all foes.
49:Wind Soulstone - Deals wind damage to all foes.
50:Wind Soulstone (M) - Deals great wind damage to all foes.
51:Wind Soulstone (L) - Deals massive wind damage to all foes.
52:Light Soulstone - Deals light damage to all foes.
53:Light Soulstone (M) - Deals great light damage to all foes.
54:Light Soulstone (L) - Deals massive light damage to all foes.
55:Shadow Soulstone - Deals dark damage to all foes.
56:Shadow Soulstone (M) - Deals great dark damage to all foes.
57:Shadow Soulstone (L) - Deals massive dark damage to all foes.
60:Nourshing Nut - Increases maximum HP.
61:Nourshing Nut (M) - Greatly increases maximum HP.
62:Nourshing Nut (L) - Massively increases maximum HP.
63:Invigorating Nut - Increases maximum SP.
64:Invigorating Nut (M) - Greatly increases maximum SP.
65:Invigorating Nut (L) - Massively increases maximum SP.
66:Fortifying Nut - Increases physical attack.
67:Fortifying Nut (M) - Greatly increases physical attack.
68:Fortifying Nut (L) - Massively increases physical attack.
69:Tough Nut - Increases physical defense.
70:Tough Nut (M) - Greatly increases physical defense.
71:Tough Nut (L) - Massively increases physical defense.
72:Magic Nut - Increases elemental attack.
73:Magic Nut (M) - Greatly increases elemental attack.
74:Magic Nut (L) - Massively increases elemental attack.
75:Resistant Nut - Increases elemental defense.
76:Resistant Nut (M) - Greatly increases elemental defense.
77:Resistant Nut (L) - Massively increases elemental defense.
78:Sharp Nut - Increases accuracy.
79:Sharp Nut (M) - Greatly increases accuracy.
80:Sharp Nut (L) - Massively increases accuracy.
81:Slippery Nut - Increases evasion.
82:Slippery Nut (M) - Greatly increases evasion.
83:Slippery Nut (L) - Massively increases evasion.
84:Critical Nut - Increases critical hit rate.
85:Critical Nut (M) - Greatly increases critical hit rate.
86:Critical Nut (L) - Massively increases critical hit rate.
87:Light Nut - Increases speed.
88:Light Nut (M) - Greatly increases speed.
89:Light Nut (L) - Massively increases speed.
90:Scrap of Rope - Fetches a modest price if sold.
91:Stuffed Toy - Fetches a modest price if sold.
92:Candy - Slightly restores HP to a single ally.
93:Glass Marble - Fetches a modest price if sold.
94:Handkerchief - Fetches a modest price if sold.
95:Hip Flask - Fetches a modest price if sold.
96:Myterious Seed - Fetches a modest price if sold.
97:Fish Tooth - Fetches a modest price if sold.
98:Mysterious Ore - Fetches a modest price if sold.
99:Tree Nut - Slightly restores SP to a single ally.
100:Hairbrush - Fetches a modest price if sold.
101:Empty Coin Pouch - Fetches a modest price if sold.
102:Coin Pouch - Fetches a modest price if sold.
103:Odds and Ends - Fetches a modest price if sold.
104:Large Feather - Fetches a modest price if sold.
105:Dubious Gold Ore - Fetches a modest price if sold.
106:Psuedo Gold Ore - Fetches a modest price if sold.
107:Fool's Gold Ore - Fetches a fair price if sold.
108:Copper Lantern - Fetches a modest price if sold.
109:Bone - Fetches a modest price if sold.
110:Weathered Boots - Fetches a modest price if sold.
111:Dirty Ball of cloth - Fetches a modest price if sold.
112:Rigid Wire - Fetches a modest price if sold.
113:Necklace - Fetches a modest price if sold.
114:Poysenberry - Inflicts poison on a single ally for 5 turns.
115:Psuedo Cider - Decreases physical and elemental defense of a single ally for 5 turns.
116:Red Apple - Grants full BP to a single ally.
117:Bottle Breath - Deals damage to all foes and allies.
119:Monster Perfume - Restores HP to all allies.
121:Small Cup - Fetches a modest price if sold.
122:Silver Clock - Fetches a fair price if sold.
123:Portrait with a Kiss - Fetches a modest price if sold.
124:Introduction to Adventuring - Fetches a fair price if sold.
125:Rare Stone - Fetches a fair price if sold.
126:Heavy Coin Pouch - Fetches a fair price if sold.
127:Commemorative Coin - Fetches a exorbitant price if sold.
128:Silver-filled Pouch - Fetches a high price if sold.
130:Feather Duster - Fetches a modest price if sold.
131:Ali's Bread - Restores HP to a single ally.
132:Joshua's Poem - Restores HP and SP to a single ally.
133:Cat's Eye - Fetches a exorbitant price if sold.
134:Tagged Collar - Fetches a modest price if sold.
135:Old Coin - Fetches a fair price if sold.
136:Copped-filled Pouch - Fetches a fair price if sold.
138:Curious Antique - Fetches a high price if sold.
139:Dazzling Artwork - Fetches a exorbitant price if sold.
140:Timepiece - Fetches a high price if sold.
141:Rusty Cup - Fetches a modest price if sold.
142:Glossy Gold Coin - Fetches a modest price if sold.
143:Cloth Map - Fetches a modest price if sold.
301:Church History - The annals of the Church of the Flame.
302:Translated Tome - A partly translated manuscript of From the Far Reaches of Hell.
303:Original Tome - A tome detailing how to unleash the power sealed away by the twelve gods.
304:Letter from Master - "In a village called stillsnow there is a seer by the name of Susanna. Surely she shall knoweth what to don about this petrification"
305:Herb-of-grace - A plant that wards off petrification.
307:Blue swordfish - A big, meaty swordfish.
308:Bottle of Wine - Quality wine from Rippletide.
309:Sleepweed - An herb for insomniacs. It might be effective against a certain pair of pirates.
310:Anonymous Diary - The written records of a nameless traveler.
311:Nondescript Stone - A dull, black stone. It gives off a bright shine when polished properly
312:Skystone - A dazzling, sky-colored gem.
313:Edbart's Shield - A legendary shield. Its impressive weight makes it difficult for the untrained arm to grasp.
314:Ancient Map - An old map detailing the location of Baltazar's treasure.
315:Eldrite - The only stone of its kind in the world.
316:Letter from Baltazar - A letter from Baltazar to Leon.
317:Aelfric's Lanthorn - A lantern illuminated by an ember of the Sacred Flame.
318:Letter of Introduction - A letter bestowed only upon the privileged few who have earned the trust of House Ravus.
319:Fool's Bangle - Humiliating proof of a thief caught in the act.
320:Oasis Water - Rare and refreshing water filtered tthough the desert sands.
321:Wyvern Scale - A highly prized processing material.
322:Crystal Ore - A transparent crystal with a metallic nature.
323:Crystal Key - Opens the door to Orlick's Residence.
324:Ruby Dragonstone - One of the four dragonstones, treasure of House Ravus.
325:Aristrocrat's Mask - A mask that grants access into the exclusive black market while concealing one's indentity.
326:Attendant's Mask - A mask that grants access into the exclusive black market while concealing one's indentity.
327:Black Market Inventory - A list detailing the items and sellers at the black market.
328:Brigand Leader's Garb - Clothes worn by the leader of the thieves.
329:Brigand's Garb - Clothes wornn by a common thief.
330:Emerald Dragonstone - One of the four dragonstones, treasure of House Ravus.
331:Gold Dragonstone - One of the four dragonstones, treasure of House Ravus.
332:Alfyn's Satchel - Alfyn's beloved medicine bag.
333:Viper Venom - A deadly poison. It can be used to make antidotes.
334:Zeph's Satchel - Zeph's beloved medicine bag.
335:Glowworm Moss - A plant effective against the Gaborra whooping cough.
336:Ore Eagle's Pinion - A rainbow-colored feather used in medicines to alleviate pain.
337:House Azelhart Dagger - A dagger engraved with the crest and motto of House Azelhart.
338:Yusufa's Handkerchief - While threadbare, this handerkerchief is soft and gentle to the touch.
339:Left-hand Man's Map - A clue about the Left-hand Man's whereabouts.
340:Dungeon Key - Unlocks the cell of an allegedly innocent man.
344:Ambrosial Milk - Ingredient used in a dish for the king.
345:Emperor Crab - Ingredient used in a dish for the king.
346:Roc Egg - Ingredient used in a dish for the king.
348:Final Masterpiece - The lst painting of an unsuccesful artist.
349:Cow Droppings - The perfect poop for fertilizer.
350:Lorie's Diary - Contains entries about a special someone.
351:Diva Dress - The last dress a certain dancing star wore on stage.
352:Saucy Prawns - The perfect bait for plounder.
354:Rebel's Axe - A weapon fit for a rebel.
355:Revolutionary Sword - A weapon fit for a revolutionary.
356:Spear of Justice - A weapon fit for a soldier of justice.
357:Giant Tusk - Used in a coming-of-age ceremony.
358:Satisfactory Coal - Material for a heat-producing invention.
359:Adequate Flax - Material for a heat-producing invention.
360:Portable Pot - Material for a heat-producing invention.
361:Codget-Friendly Bow - For elderly allies of justice.
363:Leviathan Egg - The egg of a great sea beast found in a Captain's Bane.
365:Beetroot - An ingredient grown for its sweet, full-bodied flavor.
369:Orewell Whetstone - A stone rumored to sharpen even dullest tool in the shed.
370:Gendy's Footcloth - A strong warm fabric.
375:Byron's Ring - The hierloom of a once-noble house.
379:Sword of Sokrath - The ancient sword of a legendary knight. Perhaps now it holds some theatrical use...
380:Tales from a Faraway Land - Records of a journey through an unexplored land.
381:House Landar Records - Contains notes about the location of the highborn family's secret treasure trove.
384:Memorial Sword - A sword wielded by a certain knight long ago.
385:Tools of Learning - school materials for children.
386:Adventurer's Attire - All the equipment an adventurer needs on a journey.
387:Timeworn Tapestry - A wall tapestry full of historical value.
388:Tightly Sealed Envelope - An envelope stolen from its rightful owner.
389:Snakesbane - A magical sword capable of cutting down any serpent. Its rusted exterior renders it useless against other enemies.
390:Letter from Zeph - Confidential!
391:Letter from Mercedes - Confidential!
392:River Blossom - The favored flower of many in town.
394:Memorial Necklace - A family hierloom of famous lord's wife.
395:Jotunn Horn - Taken from giant found in frozen land.
396:Giant Egg - An egg that fell from a cliff and floated down a river.
397:Mercenary Crest - Proof of a traitor.
398:Hugo's Journal - A journal found drifting down a river.
399:Mind-me-always - An extremely rare flower that blooms only on high mountains.
400:Astonishing Object - A cure for diarist writer's block.
401:Incredible Item - A cure for diarist writer's block.
402:Marvelous Memento - A cure for diarist writer's block.
403:Quatrait Bloom - A flower from an exotic continent far to the south.
404:Dragon Egg - A dragon egg entrusted to Kaia.
405:Direwolf Fang - the fang of an intimidating predator.
406:Letter from Noa - A letter from Noa to Cordelia.
407:Lapis Lazuli - An ore with a blue pigment.
408:High Hornburgian Dictionary - Used to translate the runes of an ancient language.
409:Red Apple - Grants full BP to a single ally.
506:An Eyewitness Account - It seems someone else was there that day, and can prove a certain man's innocence.
507:Where the Ice Giant Sleeps - Information about the jotunn in Hoarfrost Grotto.
518:Rumors of Knight Ardante - Hearsay about a knight revered by his peers.
524:History of the Frostlands - Everything one coul dever want to know about the Frostlands.
525:Dragon of the Frostlands - Information about the dragon in the Frostlands.
549:Where the Giant Boar Roams - The whereabouts of Hunter's Rites quarry.
563:Librarian's Testimony - "Only the headmaster and the guard possess keys to the archieves."
564:The Guardian's Situation - He knows little of the true value of the books he guards archive keys he keeps.
565:Russell's Situation - He has accrued quite a debt and understands the true value of tomes.
569:The Song of Sokrath - Lyrical information about legendary knight.
570:The Jellypeno - A tip from a reliable source about a potentially portfitable vegetable.
573:The Headmaster's Situation - He keeps the archive keys safe at all times and hasn't left his office lately.
586:A Use for Textiles - Instructions on how to create pantaloons with Gendy's fabrics.
600:A Lecture to Remember - N/A
603:Where the Direwolf Prowls - Sources say the wolf has been spotted in the Forest of Purgation.
624:Gossip of Glowworm Moss - It seems Vanessa has been talking about a plant called "glowworm moss".
625:Vaness's Carriage - It seems Vanessa has been making good use of a carriage lately.
634:Donovan's Condition - An update on His Excellency's health.
655:Lara's New Life - News of Lara, who now leads a happy life with her family.
658:A Safe Route - Details on a safe travel route for merchants.
671:Dragon of the highlands - Information about the dragon in the Highlands.
675:The Book's Whereabouts - It seems the book was sold to a man named Dominic.
676:Dominic's Seclusion - Dominic has closed himself off from the world since losing his only daughter.
677:Dominic's Remorse - Dominic regrets translating a certain tome for money.
678:Bookbinding Estimate - N/A
681:The Fortress of Everhold - Details about the fortress built by King Beowulf to fight a dragon.
685:The Leather's Whereabouts - It seems the bookbinding leather was sold to a merchant name Eren.
686:The Materials' Whereabouts - It seems the bookbinding materials were sold to a bindery.
694:The Paper's Whereabouts - It seems the paper was sold to a merchant name Eren.
695:Dominic's Troubles - Fifteen years ago, Dominiccame many times to buy medicine, byt had money troubles.
696:The Fall of House Landar - Details on the final moments of the highborn house that lost its riches.
718:Gravekeeper's Information - Information about the Ventus Dynasty.
743:The Giant Serpent's - Information about the giant serpent in the Quicksand Caves.
752:City of Gold - A Legend about the mystical golden city.
758:Chieftain's Schedule - The vistings chief's agenda in Marsalim.
760:Nina's Secret - It seems like Nina was bitten by a blotted viper in the Cave of Rhiyo.
761:Elixir Recipe - The elixir requires the feather of an ogre eagle, used to alleviate pain.
773:Meryl's Past - Knowledge that Meryl's mother and father are not her birth parents.
776:Old Woman to the Southeast - It seems she is sick and unable to visit her best friend.
780:Tidings of Elderly Friends - It seems nobody of late has seen the old ladies who typically frequent the town square.
781:Old Woman to the Northwest - It seems back pain is preventing her from going grape-picking.
799:Early Ice Thawing - The reason behind the rising river waters.
808:History of the Cliftlands - Everything one could ever want to know about the Cliftlands.
809:Project Plans - Plans created to improve the living conditions of the impoverished people.
823:Where the Incidents Happened - It seems the people who have goine missing disappeared by the inn.
824:Witness Testimony - Day and night, people who turn the corner by the inn have been known to just vanish…
825:The Sewers - Behind the inn is an entrance to the sewers.
826:Why She Doesn't Visit Geoffrey - The reason Odette has never gone to Geoffrey's grave.
843:Ogen's Mutterings - "Melyssa…"
844:Dragon of the Cliftlands - Information about the dragon in the Cliftlands.
852:How to Train a Tiger - Details on the little-known art of tiger rearing.
853:Tale of the Beast Tamers - The beast tamers of the Greenwood tribe used forbidden magic and lost their minds to the monsters they sought to control.
860:Marta's Gang - Details about the chivalrous actions of Marta's Gang.
864:Father and Fighter - Information abouut the boy's father, who was a swordsman.
865:Estadas's Condition - A report on the fighter's condition.
866:Mont D'Or's Condition - A report on the fighter's condition.
867:Joshua's Weak Points - Joshua's weakness: Axes, staves, fire, light.
868:Archibold's Weak Points - Archibold's weakness: Daggers, bows, ice, dark.
869:Gustav's Weak Points - Gustav's weakness: Polearms, axes, bows, fire, dark.
878:Byron Family Lineage - The history of the once-noble house of Byron.
879:History of the Woodlands - Everything one could ever want to know about Woodlands.
882:The Mural's Meaning - Written in glyphs warning about widespread death and destruction.
883:Trial of the Twelve, Volume VII - "The twelve gods sealed away a terrible power…"
884:Forbidden Gold - "Even the gods refused this power. No matter how tempting, it can never be unleashed…"
885:From the Far Reaches of Hell - A tome detailing how to unleash a sealed power unto this world.
886:Alphas's Poem - A poem expressing the writer's innermost emotions.
1001:Battle-tested Blade - Phys. Atk. +400 Critical +150 Attack: Augments physical abilities
1002:Harald's Sword - Phys. Atk. +380 Elem. Atk. +120 Equip: Increases fdire damage dealt
1003:Enchanted Sword - Phys. Atk. +240 Elem. Atk. + 220 Critical +40
1004:Forbidden Blade - Phys. Atk. +310 Speed +120 Attack: Occasionally increases target's Phys. Atk.
1005:Werner's Sword - Phys. Atk. +299 Elem. Atk. +120 Attack: All successful attacks become critical hits
1006:Dragon Saber - Phys. Atk. +273 Critical +120
1007:Emperor's Blade - Phys. Atk. +251 Accuracy +100
1008:Unseen Saber - Phys. Atk. +235 Evasion +100 Attack: Occasionally confuses target
1009:Deathly Blade - Phys. Atk. +219 Accuracy +98 Attack: Ocassionally kills target instantly
1010:Trinity Sword - Phys. Atk. +222 Speed +100
1011:Great Blade - Phys. Atk. +212 Critical +80
1012:Blade of Bravery - Phys. Atk. +198 Critical +90
1013:Angel Saber - Phys. Atk. +185 Accuracy +80 Attack: Occasionally puts target to sleep
1014:Platinum Sword - Phys. Atk. +166 Speed +92
1015:Divine Blade - Phys. Atk. +152 Critical +84
1016:Carnage Blade - Phys. Atk. +200 Attack: Occasionally decreases target's Phys. Atk.
1017:Knight's Sword - Phys. Atk. +140 Speed +88
1018:Refined Sword - Phys. Atk. +132 Speed +80
1019:Snipe Saber - Phys. Atk. +120 Accuracy +78
1020:Moonblade - Phys. Atk. +115 Critical +70
1021:Mirage Blade - Phys. Atk. +108 Critical +50 Attack: Occasionally confuses target
1022:Eagle Saber - Phys. Atk. +102 Accuracy +70
1023:Bastard Sword - Phys. Atk. +92 Speed +60
1024:Heavy Blade - Phys. Atk. +85 Critical +30
1025:Falcon Saber - Phys. Atk. +80 Accuracy +60
1026:Spirit Sword - Phys. Atk. +60 Elem. Atk. +60
1027:Captain Sword - Phys. Atk. +60 Speed +40 Attack: Occasionally decreases target's Phys. Def.
1028:Greatsword - Phys. Atk. +65 Speed +4
1029:Silver Sword - Phys. Atk. +52 Speed +30
1030:Feather Saber - Phys. Atk. +34 Accuracy +40 Attack: Occasionally puts target to sleep
1031:Broadsword - Phys. Atk. +28 Speed +22
1032:Iron Sword - Phys. Atk. +22 Speed +18
1033:Long Sword - Phys. Atk. +8 Speed +2
1034:Makeshift Sword - It's not much of a sword, but it'll have to do.
1101:Battle-tested Spear - Phys. Atk. +390 Critical +148 Attack: Occasionally blinds target
1102:Tradewinds Spear - Phys. Atk. +150 Elem. Atk. +380 Equip: Increases wind damage delt
1103:Master's Spear - Phys. Atk. +355 Critical +151
1104:Rune Glaive - Phys. Atk. +120 Elem. Atk. +363 Evasion +48
1105:Forbidden Spear - Phys. Atk. +320 Elem. Atk +303 Speed -98
1106:Seraphim Spear - Phys. Atk. +275 Speed +126 Attack: Occsionally confuses target
1107:Scourge Lance - Phys. Atk. +262 Critical +122
1108:Soul Glaive - Phys. Atk. +121 Elem. Atk. +252
1109:Jade Lance - Phys. Atk. +228 Critical +115
1110:Victor's Spear - Phys. Atk. +212 Speed +99
1111:Platinum Spear - Phys. Atk. +196 Speed +92
1112:Miguel's Spear - Phys. Atk. +200 Accuracy +88 Attack: Occasionally reduces target's evasion
1113:Imperial Lance - Phys. Atk. +180 Critical +88
1114:Magus Glaive - Phys. Atk. +96 Elem. Atk. +162
1115:Hedgehog Spear - Phys. Atk. +142 Speed +84
1116:Bridge Lance - Phys. Atk. +128 Critical +71 Attack: Occasionally blinds target
1117:Elemental Glaive - Phys. Atk. +104 Elem. Atk. +173
1118:Jaguar Lance - Phys. Atk. +112 Critical +66
1119:Heavy Lance - Phys. Atk. +96 Critical +53
1120:Calamity Spear - Phys. Atk. +111 Accuracy -30
1121:Bandit's Spear - Phys. Atk. +81 Speed +31
1122:Sunlands Spear - Phys. Atk. +72 Speed +6 Attack: Occasionally reduces target's evasion
1123:War Lance - Phys. Atk. +71 Critical +41
1124:Silver Spear - Phys. Atk. +56 Speed +24
1125:Arcane Glaive - Phys. Atk. +36 Elem. Atk. +38
1126:War Spear - Phys. Atk. +34 Speed +10
1127:Memorial Harpoon - Phys. Atk. +38 Attack: Occasionally slows target
1128:Iron Spear - Phys. Atk. +23 Speed +6
1129:Spear - Phys. Atk. +8 Speed +2
1130:Makeshift Spear - It's not much of a spear, but it'll have to do.
1201:Battle-tested Dagger - Phys. Atk. +380 Evasion +140 Attack: Occasionally decreases target's accuracy
1202:Heathcote's Dagger - Phys. Atk. +199 Elem. Atk. +346 Equip: Increases fire damage delt
1203:Viper Dagger - Phys. Atk. +332 Speed +132 Attack: Occasionally poisons target
1204:Adamatine Dagger - Phys. Atk. +167 Elem. Atk. +299 Equip: Increases dark damage delt
1205:Forbidden Dagger - Phys. Atk. +285 Elem. Atk. +155 Equip: Reduces fire and dark damage dealt
1206:Legion Dagger - Phys. Atk. +263 Evasion +129
1207:Rune Knife - Phys. Atk. +128 Elem. Atk. +242
1208:Ultimate Breaker - Phys. Atk. +242 Speed +128 Attack: Occasionally confuses target
1209:Doombreaker - Phys. Atk. +202 Critical +123
1210:Assassin's Dagger - Phys. Atk. +196 Evasion +119
1211:Soul Knife - Phys. Atk. +98 Elem. Atk. +188
1212:Crimson Dagger - Phys. Atk. +172 Evasion +101 Attack: Occasionally decreases target's Phys. Atk.
1213:Justice Breaker - Phys. Atk. +166 Speed +98
1214:Skybreaker - Phys. Atk. +162 Critical +73
1215:Magus Knife - Phys. Atk. +75 Elem. Atk. +144 Attack: Occasionally puts target to sleep
1216:Gaolbreaker - Phys. Atk. +132 Critical +65
1217:Gideon's Dagger - Phys. Atk. +118 Speed +61 Attack: Occasionally decreases target's Phys. Atk.
1218:Trickster's Dagger - Phys. Atk. +98 Evasion +68
1219:Crescent Dagger - Phys. Atk. +88 Evasion +57 Attack: Occasionally poisons target
1220:Chainbreaker - Phys. Atk. +82 Speed +58
1221:Swordbreaker - Phys. Atk. +76 Critical +46
1222:Silver Dagger - Phys. Atk. +69 Evasion +42
1223:Piercing Dagger - Phys. Atk. +59 Evasion +27
1224:Falcon Dagger - Phys. Atk. +52 Evasion +22
1225:Befuddling Dagger - Phys. Atk. +48 Speed +20 Attack: Occasionally decreases target's accuracy
1226:Arcane Knife - Phys. Atk. +32 Elem. Atk. +42
1227:Stinging Dagger - Phys. Atk. +26 Evasion +18 Attack: Occasionally poisons target
1228:Iron Dagger - Phys. Atk. +20 Evasion +16
1229:Dagger - Phys. Atk. +7 Evasion +6
1230:Makeshift Knife - It's not much of a dagger, but it'll have to do.
1301:Battle-tested Axe - Phys. Atk. +350 Elem. Atk. +250 Equip: Increases lightning and ice damage dealt
1302:Memorial Axe - Phys. Atk. +400 Speed +150 Attack: Ocassionaly decreases target's Elem. Def.
1303:Death Cleaver - Phys. Atk. +380 Critical +140 Attack: Occasionally poisons target
1304:Double Tomahawk - Phys. Atk. +95 Accuracy +198 Attack: Regular attacks strike twice
1305:Forbidden Axe - Phys. Atk. +391 Accuracy -50 Speed +80
1306:Ogre Cleaver - Phys. Atk. +286 Critical +110
1307:Rune Hatchet - Phys. Atk. +100 Elem. Atk. +278
1308:Golden Axe - Phys. Atk. +265 Critical +100
1309:Gargantuan Axe - Phys. Atk. +248 Accuracy +98 Attack: Occasionally decreases target's Phys. Def.
1310:Adamatine Hatchet - Phys. Atk. +112 Elem. Atk. +230
1311:Hill Cleaver - Phys Atk. +221 Critical +86
1312:Spirit Hatchet - Phys. Atk. +102 Elem. Atk. +211
1313:Elemental Hatchet - Phys. Atk. +98 Elem. Atk. +206
1314:Inferno Axe - Phys. Atk. +199 Accuracy +82 Attack: Occasionally decreases target's Elem. Def.
1315:Lizardking's Axe - Phys. Atk. +192 Elem. Atk. +88 Equip: Increases lightning damage dealt
1316:Graviton Axe - Phys. Atk. +186 Accuracy +74
1317:Bear Cleaver - Phys. Atk. +181 Critical +72 Attack: Occasionally decreases target's Phys. Atk.
1318:Rocket Cleaver - Phys. Atk. +156 Critical +64
1319:Soul Hatchet - Phys. Atk. +78 Elem. Atk. +147
1320:Horn Cleaver - Phys. Atk. +134 Critical +52
1321:Argent Axe - Phys. Atk. +122 Critical +48
1322:Magus Hatchet - Phys. Atk. +62 Elem. Atk. +120
1323:Viking Axe - Phys. Atk. +113 Accuracy +38
1324:Omar's Axe - Phys. Atk. +102 Accuracy +44
1325:Steel Axe - Phys. Atk. +96 Elem. Atk. -20 Attack: Occasionally decreases target's Elem. Atk.
1326:Cleaver - Phys. Atk. +70 Critical +14
1327:Enchanted Axe - Phys. Atk. +40 Elem. Atk. +98 Attack: Occasionally puts target to sleep
1328:Heavy Axe - Phys. Atk. +76 Accuracy +24
1329:Silver Axe - Phys. Atk. +43 Accuracy +12
1330:Battle Axe - Phys. Atk. +40 Accuracy +6
1331:Arcane Hatchet - Phys. Atk. +36 Elem. Atk. +36
1332:Iron Axe - Phys. Atk. +24 Accuracy +12
1333:Handaxe - Phys. Atk. +8 Accuracy +4
1334:Makeshift Axe - It's not much of a axe, but it'll have to do.
1401:Battle-tested Bow - Phys. Atk. +384 Critical +186 Attack: Occasionally decreases target's Phys. Def.
1402:Primeval Bow of Storms - Phys. Atk. +241 Elem. Atk. +342 Equip: incases wind damage dealt
1403:Transcendant Bow of Shadows - Phys. Atk. +306 Elem. Atk. +245 Attack: Occasionally confuses target
1404:Improved bow of the Eagle - Phys. Atk. +276 Elem. Atk. +204 Critical +70
1405:Forbidden Bow - Phys. Atk. +282 Critical +121 Equip: Increases the chance of encountering enemies
1406:Hyperion Bow - Phys. Atk. +219 Elem. Atk. +261 Accuracy +115
1407:Holy Longbow - Phys. Atk. +246 Critical +103
1408:Rune Bow - Phys. Atk. +198 Elem. Atk. +202 Accuracy +96
1409:Yeti's Long Bow - Phys. Atk. +229 Critical +95 Attack: Occasionally blinds target
1410:Adamatine Bow - Phys. Atk. +178 Elem. Atk. +209
1411:Augmented Bow of the Falcon - Phys. Atk. +182 Elem. Atk. +182 Critical +62
1412:Master's Longbow - Phys. Atk. +192 Critical +85 Attack: Occasionally poisons target
1413:Brilliant Bow - Phys. Atk. +152 Elem. Atk. +176 Accuracy +88
1414:Pirate's Longbow - Phys. Atk. +181 Critical +77
1415:Spirtit Bow - Phys. Atk. +101 Elem. Atk. +142 Attack: Occasionally puts target to sleep
1416:Huntress's Longbow - Phys. Atk. +128 Critical +43
1417:Elemental Bow - Phys. Atk. +108 Elem. Atk. +98 Accuracy +74
1418:Shadow Bow - Phys. Atk. +103 Accuracy +82 Attack: Occasionally blinds target
1419:Tomahawk Bow - Phys. Atk. +96 Elem. Atk. +84 Accuracy +61
1420:Marksman's Longbow - Phys. Atk. +105 Critical +22
1421:Soul Bow - Phys. Atk. +82 Elem. Atk. +72 Accuracy +52
1422:Soldier's Longbow - Phys. Atk. +98 Critical +14 Attack: Occasionally decreases target's Phys. Def.
1423:Heavy Bow - Phys. Atk. +69 Elem. Atk. +66 Accuracy +44
1424:Magus's Bow - Phys. Atk. +58 Elem. Atk. +62
1425:Killer Bow - Phys. Atk. +60 Elem. Atk. +30 Accuracy +30
1426:Arcane Bow - Phys. Atk. +38 Elem. Atk. +52 Attack: Occasionally decreases target's Elem. Atk.
1427:Wolf's Bow - Phys. Atk. +42 Elem. Atk. +34 Accuracy +22
1428:Stone Bow - Phys. Atk. +29 Accuracy +33 Attack: Occasionally blinds target
1429:Composite Bow - Phys. Atk. +18 Elem. Atk. +16 Accuracy +20
1430:Longbow - Phys. Atk. +8 Elem. Atk. +1 Accuract +2
1431:Makeshift Bow - It's not much of a bow, but it'll have to do.
1501:Battle-tested Staff - Phys. Atk. +212 Elem. Atk. +399 Attack: Occasionally slows target
1502:Bishop's Staff - Phys. Atk. +187 Elem. Atk. +352 Equip: Increases light damage dealt
1503:Knowledge Staff - Phys. Atk. +111 Elem. Atk. +333 Speed +99
1504:Wizard's Rod - Phys. Atk. +113 Elem. Atk. +300 Attack: Occasionally poisons target
1505:Absolute Zero Staff - Phys. Atk. +132 Elem. Atk. +293 Equip: Increases ice damage dealt
1506:Yddgrasil Staff - Phys. Atk. +121 Elem. Atk. +289
1507:Mattias's Scepter - Phys. Atk. +116 Elem. Atk. +268 Attack: Occasionally decreases target's Elem. Atk.
1508:Forbidden Staff - Phys. Atk. -100 Elem. Atk. +285 Critical -50
1509:Enchanted Rod - Phys. Atk. +91 Elem. Atk. +242 Attack: Occasionally decreases target's Elem. Def.
1510:Giant's Club - Phys. Atk. +229 Elem. Atk. +112 Critical +86
1511:Meteorite Rod - Phys. Atk. +98 Elem. Atk. +216 Evasion +77
1512:Morning Star - Phys. Atk. +196 Elem. Atk. +102 Critical +72
1513:Wisdom Staff - Phys. Atk. +98 Elem. Atk. +188 Attack: Occasionally confuses target
1514:Sturdy Sapphire Rod - Phys. Atk. +89 Elem. Atk. +176 Evasion +62
1515:Sledgehammer - Phys. Atk. +171 Elem. Atk. +98 Critical +60
1516:Sapphire Rod - Phys. Atk. +82 Elem. Atk. +158 Evasion +49
1517:War Hammer - Phys. Atk. +152 Elem. Atk. +66 Critical +42
1518:Black Staff - Phys. Atk. +71 Elem. Atk. +112 Attack: Occasionally blinds target
1519:Mage's Staff - Phys. Atk. +62 Elem. Atk. +98
1520:Sturdy Quartz Rod - Phys. Atk. +42 Elem. Atk. +89 Evasion +26
1521:Staff of Wonders - Phys. Atk. +56 Elem. Atk. +92 Attack: Occasionally decreases target's Elem. Atk.
1522:Pole Mace - Phys. Atk. +76 Elem. Atk. +51 Critical +23
1523:Oak Staff - Phys. Atk. +16 Elem. Atk. +68
1524:Flail - Phys. Atk. +68 Elem. Atk. +42 Critical +14
1525:Psychic Staff - Elem. Atk. +78 Attack: Occasionally decreases target's Elem. Def.
1526:Mace - Phys. Atk. +62 Elem. Atk. +33 Critical +8
1527:Laurel Staff - Phys. Atk. +24 Elem. Atk. +52
1528:Composite Staff - Phys. Atk. +18 Elem. Atk. +44 Attack: Occasionally puts target to sleep
1529:Quartz Rod - Phys. Atk. +12 Elem. Atk. +38 Evasion +10
1530:Light Staff - Phys. Atk. +8 Elem. Atk. +24
1531:Stone Rod - Phys. Atk. +4 Elem. Atk. +22 Evasion +16
1532:Staff - Phys. Atk. +1 Elem. Atk. +8 Critical +2
1533:Makeshift Staff - it's not much of a staff. but it'll have to do.
1601:Battle-tested Shield - Phys. Def. +132 Evasion -88 Equip: Restores HP and SP afrer every action
1602:Mikk and Makk's Shield - Phys. Def. +80 Elem. Def. +80 Evasion +178
1603:Forbidden Shield - Phys. Def. +116 Elem. Def. +133 Evasion -171
1604:Force Shield - Phys. Def. +102 Elem. Def. +102 Evasion -69
1605:Gargantuan Shield - Phys. Def. +121 Evasion -101
1606:Leviathan Shield - Phys. Def. +110 Evasion -79 Equip: Reduces ice damage taken
1607:Knight's Shield - Phys. Def. +92 Elem. Def. +95 Evasion -95
1608:Gustav's Shield - Phys. Def. +64 Elem. Def. +58 Evasion +64
1609:Adamantine Shield - Phys. Def. +76 Elem. Def. +131 Evasion -81
1610:Tower Shield - Phys. Def. +68 Evasion -25
1611:Spiked Shield - Phys. Def. +44 Elem. Def. +53 Evasion -20
1612:Elemental Shield - Phys. Def. +36 Elem. Def. +74 Evasion -20
1613:Elusive Shield - Phys. Def. +21 Elem. Def. +24 Evasion +56
1614:Plate Shield - Phys. Def. +45 Evasion -4
1615:Kite Shield - Phys. Def. +26 Elem. Def. +31
1616:Sturdy Shield - Phys. Def. +20
1617:Round Shield - Phys. Def. +13 Elem. Def. +15
1618:Buckler - Phys. Def. +3 Elem. Def. +3
1701:Crystal Helm - Phys. Def. +180
1702:Hypnos Crown - Phys. Def. +98 Elem. Def +162 Max. SP +72
1703:Adamantine Hat - Phys. Def. +104 Elem. Def +180 Elem. Atk. +88
1704:Dragon's Helm - Phys. Def. +152
1705:Monster Trainer's Hat - Phys. Def. +115 Elem. Def +115 Equip: Slightly reduces wind damage taken
1706:Teacher's Hat - Phys. Def. +96 Elem. Def +133 Equip: Slightly reduces lightning damage taken
1707:Adventurer's Hat - Phys. Def. +133 Equip: Slightly reduces light damage taken
1708:Platinum Helm - Phys. Def. +137
1709:Histoarian's Hat - Phys. Def. +82 Elem. Def +134 Equip: Restores SP after every action
1710:Oasis Hat - Phys. Def. +103 Elem. Def +112
1711:Revello's Helm - Phys. Def. +108 Elem. Def +78 Equip: Slightly reduces dark damage taken
1712:Imperial Helm - Phys. Def. +124
1713:Silent Bandana - Phys. Def. +82 Elem. Def +78 Evasion +111
1714:Fur Cap - Phys. Def. +91 Elem. Def +96
1715:Enchanted Criclet - Phys. Def. +79 Elem. Def +104 Max. SP +53
1716:Elemental Hat - Phys. Def. +68 Elem. Def +112 Elem. Atk. +61
1717:Veteran's Helm - Phys. Def. +82 Elem. Def +58 Equip: Restores HP after every action
1718:Gareth's Helm - Phys. Def. +78 Elem. Def +73 Critical +53
1719:Grand Helm - Phys. Def. +89
1720:Horned Helm - Phys. Def. +71
1721:Starlight Helm - Phys. Def. +61 Elem. Def +79
1722:Hasty Helm - Phys. Def. +50 Elem. Def +58 Speed +78
1723:Falcon Hat - Phys. Def. +48 Elem. Def +54 Evasion +79
1724:Bishop's Hat - Phys. Def. +54 Elem. Def +96 Elem. Atk. +56
1725:Golden Hairpiece - Phys. Def. +52 Elem. Def +88 Max. SP +36
1726:Silver Helm - Phys. Def. +55
1727:Snowy Hood - Phys. Def. +38 Elem. Def +42 Evasion +47
1728:Saintly Tiara - Phys. Def. +36 Elem. Def +48 Max. SP +21
1729:Chakra Band - Phys. Def. +40 Elem. Def +52 Elem. Atk. +38
1730:Sturdy Helm - Phys. Def. +35
1731:Flying Helm - Phys. Def. +26 Elem. Def +30 Critical +21
1732:Black Cap - Phys. Def. +15 Elem. Def +20 Evasion +31
1733:Headgear - Phys. Def. +25 Elem. Def +28
1734:Circlet - Phys. Def. +15 Elem. Def +25 Max. SP +15
1735:Iron Helm - Phys. Def. +29
1736:Silver Hairpiece - Phys. Def. +10 Elem. Def +18 Max. SP +10
1737:Bronze Helm - Phys. Def. +20
1738:Feathered Hat - Phys. Def. +15 Elem. Def +15
1739:Pointed Hat - Phys. Def. +9 Elem. Def +21 Elem. Atk. +8
1740:Leather Helm - Phys. Def. +4
1741:Leather Hat - Phys. Def. +3 Elem. Def +3
1742:Oridinary Hat - Phys. Def. +2 Elem. Def +5 Elem. Atk. +3
1801:Crystal Armor - Phys. Def. +300
1802:Crystal Vest - Phys. Def. +205 Elem. Def. +205
1803:Robe of the Flame - Phys. Def. +126 Elem. Def. +317 Max. SP +56
1804:Dragonscale Armor - Phys. Def. +235 Critical +108
1805:Dragon's Vest - Phys. Def. +183 Elem. Def. +185
1806:Ethereal Dancer Garb - Phys. Def. +122 Elem. Def. +134 Evasion +166
1807:Sorcerer's Robe - Phys. Def. +107 Elem. Def. +282 Elem. Atk. +50
1808:Confessional Armor - Phys. Def. +212 Equip: Slightly reduces ice damage taken
1809:High House's Armor - Phys. Def. +158 Elem. Def. +78 Equip: Slightly reduces fire damage taken
1810:Princess's Coat - Phys. Def. +136 Elem. Def. +155 Equip: Restores HP after every action
1811:Ardante Attire - Phys. Def. +108 Elem. Def. +186 Max. SP +42
1812:Robe of the Dragon Princess - Phys. Def. +121 Elem. Def. +136 Critical +129
1813:Platinum Armor - Phys. Def. +202
1814:Vandetta Coat - Phys. Def. +116 Elem. Def. +128 Max. HP +617
1815:Imperial Armor - Phys. Def. +173
1816:Platinum Vest - Phys. Def. +140 Elem. Def. +154
1817:Imperial Vest - Phys. Def. +120 Elem. Def. +132
1818:Elemental Heavy Armor - Phys. Def. +90 Elem. Def. +116 Elem. Atk. +42
1819:Silent Cape - Phys. Def. +102 Elem. Def. +114 Evasion +147
1820:Primeval Robe - Phys. Def. +99 Elem. Def. +198 Max. SP +35
1821:Rainbow Robe - Phys. Def. +82 Elem. Def. +167
1822:Elemental Light Armor - Phys. Def. +88 Elem. Def. +108 Speed +72
1823:Fur Coat - Phys. Def. +112 Elem. Def. +112
1824:Exotic Garb - Phys. Def. +102 Elem. Def. +121 Equip: Restores SP after every action
1825:Grand Armor - Phys. Def. +122
1826:Obsidian Garb - Phys. Def. +98 Elem. Def. +112 Critical +96
1827:Grand Vest - Phys. Def. +90 Elem. Def. +102
1828:Falcon Garb - Phys. Def. +78 Elem. Def. +84 Evasion +82
1829:Elemental Robe - Phys. Def. +72 Elem. Def. +124 Elem. Atk. +36
1830:Spiked Armor - Phys. Def. +92
1831:Silver Armor - Phys. Def. +86
1832:Spiked Vest - Phys. Def. +80 Elem. Def. +100
1833:Silver Vest - Phys. Def. +60 Elem. Def. +68
1834:Charm Robe - Phys. Def. +43 Elem. Def. +82 Max. SP +21
1835:Snowy Cape - Phys. Def. +39 Elem. Def. +43 Evasion +51
1836:Iron Armor - Phys. Def. +50
1837:Sturdy Armor - Phys. Def. +42
1838:Iron Vest - Phys. Def. +36 Elem. Def +49
1839:Peacebringer's Garb - Phys. Def. +30 Elem. Def +39 Max. HP +98
1840:Sturdy Vest - Phys. Def. +32 Elem. Def +42
1841:Fur Robe - Phys. Def. +24 Elem. Def +64 Elem. Atk. +14
1842:Black Attire - Phys. Def. +20 Elem. Def +28 Evasion +42
1843:Wind Attire - Phys. Def. +24 Elem. Def +26 Speed +22
1844:Traditional Dancer Garb - Phys. Def. +20 Elem. Def +22 Max. SP +12
1845:Bronze Armor - Phys. Def. +28
1846:Bronze Vest - Phys. Def. +19 Elem. Def +24
1847:Linen Robe - Phys. Def. +13 Elem. Def +33 Elem. Atk. +8
1848:Leather Armor - Phys. Def. +7
1849:Leather Vest - Phys. Def. +4 Elem. Def +5
1850:Robe - Phys. Def. +3 Elem. Def +7
1901:Spurning Ribbon - Equip: Wards off all enemy encounters
1903:Alluring Ribbon - Equip: Increases the chance of encountering enemies
1904:Captain's Badge - Equip: Grants addtional EXP
1905:Badge of Friendship - Equip: Grants addtional JP
1906:Dragon's Scarf - Equip: Restores SP after every action
1907:Beastly Scarf - Equip: Restores HP after every action
1908:Royal Crest - Max. HP +600
1909:Gravekeeper's Mark - Max. SP +50
1910:Physical Belt - Phys. Atk. +65 Phys. Def. +50
1911:Mental Belt - Elem. Atk. +65 Elem. Def. +50
1912:Blessed Blazon - Phys. Def. +100 Elem. Def. +100
1913:Blazon of Protection - Phys. Def. +30 Elem. Def. +30
1914:Mighty Belt - Phys. Atk. +50
1915:Elemental Augmentor - Elem. Atk. +100
1916:Guardian Amulet - Phys. Def. +65
1917:Elemental Ward - Elem. Def. +65
1918:Empowering Necklace - Max. HP +1000
1919:Stimulating Necklace - Max. SP +80
1920:Protective Necklace - Phys. Def. +80 Elem. Def. +80
1921:Unearring Necklace - Accuracy +80
1922:Enlightening Necklace - Evasion +80
1923:Sprightly Necklace - Speed +80
1924:Critical Necklace - Critical +80
1925:Empowering Bracelet - Max. HP +500
1926:Stimulating Bracelet - Max. SP +50
1927:Protective Bracelet - Phys. Def. +50 Elem. Def. +50
1928:Unerring Bracelet - Accuracy +50
1929:Enlightening Bracelet - Evasion +50
1930:Sprightly Bracelet - Speed +50
1931:Critical Bracelet - Critical +50
1932:Empowering Ring - Max. HP +200
1933:Stimulating Ring - Max. SP +30
1934:Protective Ring - Phys. Def. +20 Elem. Def. +20
1935:Unerring Ring - Accuracy +20
1936:Enlightening Ring - Evasion +20
1937:Sprightly Ring - Speed +20
1938:Critical Ring - Critical +20
1939:Empowering Earring - Max. HP +50
1940:Stimulating Earring - Max. SP +10
1941:Protective Earring - Phys. Def. +10 Elem. Def. +10
1942:Unerring Earring - Accuracy +10
1943:Enlightening Earring - Evasion +10
1944:Sprightly Earring - Speed +10
1945:Critical Earring - Critical +10
1946:Weaver's Charm - Equip: Slightly reduces fire and light damage taken
1947:Gentleman's Charm - Equip: Slightly reduces lightning and dark damage taken
1948:Gourmet's Charm - Equip: Slightly reduces ice and wind damage taken
1949:Inferno Amulet - Equip: Greatly reduces fire damage taken
1950:Blizzard Amulet - Equip: Greatly reduces ice damage taken
1951:Tempest Amulet - Equip: Greatly reduces wind damage taken
1952:Thunderstorm Amulet - Equip: Greatly reduces lightning damage taken
1953:Void Amulet - Equip: Greatly reduces dark damage taken
1954:Gleaming Amulet - Equip: Greatly reduces light damage taken
1955:Fire Amulet - Equip: Reduces fire damage taken
1956:Ice Amulet - Equip: Reduces ice damage taken
1957:Wind Amulet - Equip: Reduces wind damage taken
1958:Lightning Amulet - Equip: Reduces lightning damage taken
1959:Dark Amulet - Equip: Reduces dark damage taken
1960:Light Amulet - Equip: Reduces light damage taken
1961:Antidote Stone - Equip: Prevents poison
1962:Wakeful Stone - Equip: Prevents sleep
1963:Articulate Stone - Equip: Prevents silence
1964:Bright Stone - Equip: Prevents blindess
1965:Claming Stone - Equip: Prevents terror
1966:Clarity Stone - Equip: Prevents confusion
1967:Conscious Stone - Equip: Prevents unconsciouness
1968:Vivifying Stone - Equip: Prevents instant death
2500:Soothing Seed - Mild medicinal component of small volume.
2501:Soothing Dust - Mild medicinal component of large volume.
2502:Purifying Seed - Potent medicinal component of small volume.
2503:Purifying Dust - Potent medicinal component of large volume.
2504:Injurious Seed - Mild hazardous substance of small volume.
2505:Injurious Dust - Mild hazardous substance of large volume.
2506:Ruinous Seed - Potent hazardous substance of small volume.
2507:Ruinous Dust - Potent hazardous substance of large volume.
2516:Noxroot - Component with poisonous effects.
2517:Sleepweed - Component with soporific effects.
2518:Addlewort - Component with befuddling effects.
2519:Essence of Grape - Component that restores health.
2520:Essence of Plum - Component that restores spirit.
2521:Essence of Pomegranate - Component that restores fighting spirit.
2522:Olive Bloom - Component that restores life.
2523:Curious Bloom - Component bearing unknown effects.
</DropDownList>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <LuaScript>--lua scripts that table checkbox will not be checked with "NO_ACTIVATE" in comment
function onMemRecPostExecute(memoryrecord, newState, succeeded )
    if memoryrecord.Type == vtAutoAssembler and memoryrecord.Script:find("NO_ACTIVATE") and newState and succeeded then
        memoryrecord.disableWithoutExecute()
    end
end

IDs = {167, 168 }

function contains(table, val)
   local i = 0
   for i=1, #table do
      if table[i] == val then
         return true
      end
   end
   return false
end


function onMemRecPreExecute(memoryrecord, newstate)
    if contains(IDs, memoryrecord.ID) and newstate then
	    memoryrecord.OnActivate = function(memoryrecord, before, currentstate)
		    return false
	    end
    end
end

</LuaScript>
</CheatTable>
