<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="46">
  <CheatEntries>
    <CheatEntry>
      <ID>705</ID>
      <Description>"Alwa's Legacy"</Description>
      <Options moHideChildren="1" moActivateChildrenAsWell="1" moDeactivateChildrenAsWell="1"/>
      <Color>C08000</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

{$lua}
  LaunchMonoDataCollector()
{$asm}

define(One,InventoryManager:Update+1d)

alloc(newmem,$1000,One)
alloc(Two,8)

registersymbol(One)
registersymbol(Two)

label(code)
label(return)

Two:
  dq 0

newmem:

code:
  mov qword ptr [Two],rax
  movss xmm0,[rax+00000140]
  jmp return

One:
  jmp newmem
  nop 3

return:

{$lua}
  if not clockTimer then
  clockTimer = createTimer(nil,false)
  clockTimer.Interval = 100
  if not Three then
  Three = allocateMemory(32)
  registerSymbol("Three")
  end
  local previousTime = -1
  local lastTime = ""
  clockTimer.OnTimer = function()
  local addr = getAddress("[Two]+140")
  if not addr or addr == 0 then return end
  local currentTime = readString(Three) or ""
  if currentTime ~= lastTime then
  local h,m,s = currentTime:match("^(%d+):(%d+):(%d+)$")
  local totalSeconds
  if h and m and s then
  totalSeconds = tonumber(h)*3600+tonumber(m)*60+tonumber(s)
  else
  local h2,m2 = currentTime:match("^(%d+):(%d+)$")
  if h2 and m2 then
  totalSeconds = tonumber(h2)*3600+tonumber(m2)*60
  else
  local onlyMin = tonumber(currentTime)
  if onlyMin then
  totalSeconds = onlyMin * 60
  end
  end
  end
  if totalSeconds and totalSeconds &gt;= 0 then
  if totalSeconds &gt; 86399 then totalSeconds = 86399 end
  writeFloat(addr,totalSeconds)
  previousTime = totalSeconds
  end
  lastTime = currentTime
  end
  local timeValue = readFloat(addr)
  if not timeValue or timeValue &lt; 0 then
  writeString(Three,"Waiting")
  return
  end
  local rounded = math.floor(timeValue+0.5)
  if rounded ~= previousTime then
  if rounded &gt; 86399 then rounded = 86399 end
  local hours = math.floor(rounded/3600)
  local minutes = math.floor((rounded % 3600)/60)
  local seconds = rounded % 60
  local display = string.format("%02d:%02d:%02d",hours,minutes,seconds)
  for i = 0,31 do writeBytes(Three+i,0) end
  writeString(Three,display)
  lastTime = display
  previousTime = rounded
  end
  end
  clockTimer.Enabled = true
  end
{$asm}

[DISABLE]

One:
  db F3 0F 10 80 40 01 00 00

unregistersymbol(One)
unregistersymbol(Two)

dealloc(newmem)
dealloc(Two)

{$lua}
  if clockTimer then
  clockTimer.destroy()
  clockTimer = nil
  end
  if Three then
  unregisterSymbol("Three")
  deAlloc(Three)
  Three = nil
  end
{$asm}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>0</ID>
          <Description>"==== General ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>2</ID>
              <Description>"Infinite Health"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

define(Four,pl_Health:TakeDamage+117)
alloc(newmem,$1000,Four)

label(code)
label(return)

newmem:

code:
  mov eax,[rdi+000000C4]
  mov [rdi+000000C0],eax
  jmp return

Four:
  jmp newmem
  nop

return:
registersymbol(Four)

pl_Health:WaterManagement+222:
  db 90 90

[DISABLE]

Four:
  db 89 87 C0 00 00 00

pl_Health:WaterManagement+222:
  db FF CA

unregistersymbol(Four)
dealloc(newmem)
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>713</ID>
              <Description>"Infinite Mana"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

pl_AttackMagic:CastSpell+7b6:
  db 90 90 90 90 90 90 90 90

pl_AttackMagic:CastSpell+8f6:
  db 90 90 90 90 90 90 90 90

pl_AttackMagic:CastSpell+a4e:
  db 90 90 90 90 90 90 90 90

[DISABLE]

pl_AttackMagic:CastSpell+7b6:
  db F3 0F 11 A8 2C 01 00 00

pl_AttackMagic:CastSpell+8f6:
  db F3 0F 11 A8 2C 01 00 00

pl_AttackMagic:CastSpell+a4e:
  db F3 0F 11 A8 2C 01 00 00
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>3</ID>
              <Description>"Infinite Jump"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

pl_Movement:PlayerJump+13b7:
  db 90 90 90 90 90 90 90 90

[DISABLE]

pl_Movement:PlayerJump+13b7:
  db F3 0F 11 AE 5C 01 00 00
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>4</ID>
              <Description>"Untouchable"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

define(Five,pl_Health:Update+f)
alloc(newmem,$1000,Five)

label(code)
label(return)
label(Six)

newmem:

code:
  movss xmm0,[Six]
  movss [rsi+000000CC],xmm0
  jmp return

Six:
  dd (float)1

Five:
  jmp newmem
  nop 3

return:
registersymbol(Five)

pl_Health+&lt;DamagedFlash&gt;d__40:MoveNext+183:
  db C6 87 EC 00 00 00 00

InstaDeathTriggers:OnTriggerEnter2D:
  db C3

[DISABLE]

Five:
  db F3 0F 10 86 CC 00 00 00

pl_Health+&lt;DamagedFlash&gt;d__40:MoveNext+183:
  db C6 87 EC 00 00 00 01

InstaDeathTriggers:OnTriggerEnter2D:
  db 55

unregistersymbol(Five)
dealloc(newmem)
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>5</ID>
              <Description>"⬆May take a moment to enable."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>1</ID>
          <Description>"==== Extras ====="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>708</ID>
              <Description>"Zero Deaths"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

define(Seven,pl_Health:Dead+199)
alloc(newmem,$1000,Seven)

label(code)
label(return)

newmem:

code:
  xor ecx,ecx
  mov [rax+00000130],ecx
  jmp return

Seven:
  jmp newmem
  nop

return:
registersymbol(Seven)

[DISABLE]

Seven:
  db 89 88 30 01 00 00

unregistersymbol(Seven)
dealloc(newmem)
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>709</ID>
              <Description>"⬆If you’ve already died, you’ll need to die again to register the zero value."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
            <CheatEntry>
              <ID>36</ID>
              <Description>"Time"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>String</VariableType>
              <Length>8</Length>
              <Unicode>0</Unicode>
              <CodePage>0</CodePage>
              <ZeroTerminate>1</ZeroTerminate>
              <Address>Three</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <Comments>Created by: Outrun
https://opencheattables.com</Comments>
</CheatTable>
