<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="46">
  <Forms>
    <UDF1 Class="TCEForm" Encoding="Ascii85">%Vc0,2nldAU:MM2b.}cxWeIh0Gi32eO*Ftu$js*Enwg$a!hC^)IV8V.xq+Q-JTs+v1ITB0PAn,N%,F(3tLJmcFHOoxbt,9uOD#%G.S;o-EK1EQK@5g-U.qF</UDF1>
    <CETrainer Class="TTrainerForm" Encoding="Ascii85">=N!T=);N4W,nx9YG)}rKY-TwW8.W1B-A+S%XuD#E$7VpWZ,Bc#q=96e8kT)Btk[dj_HG[Vjcg?$9B7IUn3bjbI67DN::zz7P!jcD,)^CSa_+oA[];po(F+jn7efE5).Yy5ITQN7NKe;OpB!{F/e8Z1e.=d,Q.{bR(#2(x7;=[Olf.]ONqBDfcqwv5yS-O9ok[U(^wyci]wjLTpX5MAjqIrX7Wm#NE2adz.@G20WR=,9pRg4ecJ-0L;HH,ZT(A:mO+3Mvygb.rw]6h30jMvdfOq2+6B(S/#1G.n$%QmpaS#P#Hwnj8v0B!yRYR((t%Hy$).]fP+umRm;[,Z,Fj7hAmZYrXlKheyT{.Y2,k-10Ln@B]tm*N:txLkn8Wy5u^nhnonVH}e$TQ(D0XmYj^9,}8!YhPebhihJp0:T/9aru9wx##Mj%REgak$8?O^:21kY@aC!0N^AQ.ydjD-W[9[4OHHl4nXhK?,%@HC5(}^^-5BqZsVQ@l:Igm3bgJkdg.vRm9/BGC?bmcgof)=XcJDA#2PEn(tHJt!CHjcbe@{I!jj6G_xC([oeX6qdvzASVfWsq;N[T.{eDI)tLqSDa1;FO#cVnEmQj{EmmVlh3QmF$Q1kg*h.0UQtGQJ!AVI=decf16OT#kh3OW8m5Ej?@o}1ag^YJ(*oIw)wpus,LWW$%f-Nm2sNn*%LTC8OJqy},)!VM#Y1=Ks1e6qvSa1.OOadW0kwRxgQoFYOLEt8pI3Kz,oiW+*3]+$d,gG{y-^ZZIa$#6[#Z^5L#x1$j0G*6xHT/Y=j!VXS=vs7?9]?tLuMBm+/B!5P+i}?-DsNg3O#hA@3;g2kDIW9Zk-Sa*GkWkExM+9oCx$w3/#g}_f@[k]#5VA{qG#f^qJcI[kHtp/Mt8b8XB67c?uoekzN4nUTGiDNo(s=OVe(F}H+(r0oUpeK?u.f8-n915T0z_b6La^88j$.@LF_u+Q8EnAcaXB5BmL1J1#%pwLTclO]LJ]lw/?F()X9$mBjWZhDi!p8?bAe$^bRnM[KdpO(ZwvV(#2#?QMJN1,HN%cvuUONr{eaI^.Q3e@[@+j^sR</CETrainer>
  </Forms>
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"Enable MACHINE CHILD Trainer (Toggle after entering the game) (Complete an event to populate values)"</Description>
      <Color>0000FF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscan(stamina_writer, 89 86 14 03 00 00 48 8B 75 F8)
alloc(newmem, $1000, stamina_writer)
label(return)
label(pPlayData)

registersymbol(stamina_writer)
registersymbol(pPlayData)

newmem:
  mov [pPlayData],rsi
  mov [rsi+00000314],eax
  jmp return

pPlayData:
  dq 0

stamina_writer:
  jmp newmem
  nop
return:

{$lua}
if syntaxcheck then return end

-- Pre-populate pPlayData by finding the active PlayData instance via Mono
LaunchMonoDataCollector()
local c = mono_findClass("", "PlayData")
if c then
  local instances = mono_class_findInstancesOfClassListOnly(c)
  if instances then
    -- Pick the instance with a plausible stamina value (&gt;0 and &lt;10000)
    for i = #instances, 1, -1 do
      local stamina = readInteger(instances[i] + 0x314)
      local money = readInteger(instances[i] + 0x27C)
      if stamina and stamina &gt; 0 and stamina &lt; 10000 and money and money &gt;= 0 then
        local pPlayDataAddr = getAddress("pPlayData")
        if pPlayDataAddr and pPlayDataAddr ~= 0 then
          writeQword(pPlayDataAddr, instances[i])
        end
        break
      end
    end
  end
end

[DISABLE]
stamina_writer:
  db 89 86 14 03 00 00
unregistersymbol(stamina_writer)
unregistersymbol(pPlayData)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>1</ID>
          <Description>"Stamina (Toggle to fix Value)"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+314</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>2</ID>
          <Description>"Stamina Regeneration Rate"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+31C</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>3</ID>
          <Description>"Money"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+27C</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>4</ID>
          <Description>"Inspiration (Experience)"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+2AC</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>5</ID>
          <Description>"Vitality (Vit)"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+28C</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>6</ID>
          <Description>"Charm (Cha)"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+288</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>7</ID>
          <Description>"Sensitivity (Sen)"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+290</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>8</ID>
          <Description>"Intelligence (Int)"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+294</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>9</ID>
          <Description>"Morals (Mor)"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+298</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>10</ID>
          <Description>"Love"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+2A8</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>12</ID>
          <Description>"Sickness"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+2D4</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>11</ID>
          <Description>"Turn Counter"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>[pPlayData]+29C</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>255</ID>
          <Description>"&gt;&gt;&gt; ALWAYS ROLL SSS ON EVENT SLOTS &lt;&lt;&lt; (Letter indicators are not affected)"</Description>
          <Color>FF00FF</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
LaunchMonoDataCollector()
local addr = getAddress('RewardReel:Update')
if not addr or addr == 0 then error('Could not resolve') end
local b = readBytes(addr, 12, true)
_G._slotBackupBytes = b
local ceScript = [=[
  alloc(newmem, $1000)
  label(panelLoop)
  label(original)
  label(nextPanel)
  label(return)
  newmem:
    push rdi
    push rsi
    push rbx
    push rax
    mov rdi, [rcx+30]
    test rdi, rdi
    jz original
    mov esi, dword ptr [rdi+18]
    test esi, esi
    jle original
    xor ebx, ebx
  panelLoop:
    cmp ebx, esi
    jge original
    mov rax, rbx
    shl rax, 3
    add rax, 20
    mov rax, [rdi+rax]
    test rax, rax
    jz nextPanel
    mov dword ptr [rax+3C], 5
    mov dword ptr [rax+40], #999
  nextPanel:
    inc ebx
    jmp panelLoop
  original:
    pop rax
    pop rbx
    pop rsi
    pop rdi
]=] .. string.format('    db %02X %02X %02X %02X %02X %02X %02X %02X\n', b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8]) .. [=[
    jmp return
  RewardReel:Update:
    jmp newmem
    db 90 90 90
  return:
]=]
local ok, err = autoAssemble(ceScript)
if not ok then error('Injection: ' .. tostring(err)) end
_G._slotHookEnabled = true
[DISABLE]
{$lua}
if syntaxcheck then return end
if _G._slotHookEnabled then
  local addr = getAddress('RewardReel:Update')
  if addr and addr ~= 0 and _G._slotBackupBytes then
    writeBytes(addr, _G._slotBackupBytes)
  end
  _G._slotHookEnabled = false
end
autoAssemble('dealloc(newmem)')
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>13</ID>
          <Description>"Connections &amp; Relationships (Enable after Trainer)"</Description>
          <Color>0080FF</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
if not _G._connTable then
    _G._connTable = allocateMemory(1024)
    for i=0, 127 do writeQword(_G._connTable + i*8, 0) end
end
unregisterSymbol("pConnTable")
registerSymbol("pConnTable", _G._connTable, true)
if not _G._heroineTable then
    _G._heroineTable = allocateMemory(64)
    for i=0, 7 do writeQword(_G._heroineTable + i*8, 0) end
end
unregisterSymbol("pHeroineTable")
registerSymbol("pHeroineTable", _G._heroineTable, true)
LaunchMonoDataCollector()
local c = mono_findClass("", "McConnectionData")
if c then
    local instances = mono_class_findInstancesOfClassListOnly(c)
    if instances then
        for i=1, #instances do
            local inst = instances[i]
            local idPtr = readQword(inst + 0x10)
            if idPtr and idPtr ~= 0 then
                local len = readInteger(idPtr + 0x10)
                if len and len &gt; 0 and len &lt; 50 then
                    local coID = readString(idPtr + 0x14, len*2, true) or ""
                    if coID:match("^C%d+$") then
                        local num = tonumber(coID:sub(2))
                        if num &gt;= 0 and num &lt; 128 then
                            writeQword(_G._connTable + num*8, inst)
                        end
                    end
                end
            end
        end
    end
end
local base = readQword(getAddress("pPlayData"))
if base and base ~= 0 then
    local heroineAryPtr = readQword(base + 0x10)
    if heroineAryPtr and heroineAryPtr ~= 0 then
        local heroineLen = readInteger(heroineAryPtr + 0x18)
        for i=0, math.min((heroineLen or 0)-1, 7) do
            local elemPtr = readQword(heroineAryPtr + 0x20 + i*8)
            if elemPtr and elemPtr ~= 0 then
                writeQword(_G._heroineTable + i*8, elemPtr)
            end
        end
    end
end
[DISABLE]
{$lua}
if syntaxcheck then return end
pcall(function() unregisterSymbol("pConnTable") end)
pcall(function() unregisterSymbol("pHeroineTable") end)
if _G._connTable then deAlloc(_G._connTable) end
if _G._heroineTable then deAlloc(_G._heroineTable) end
_G._connTable = nil
_G._heroineTable = nil
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>14</ID>
              <Description>"Faction Total Standing"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>15</ID>
                  <Description>"The Aristocracy"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+C0]+20</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>16</ID>
                  <Description>"The Chivalric Order"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+C0]+24</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>17</ID>
                  <Description>"The Holy See"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+C0]+28</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>18</ID>
                  <Description>"The Institute of Magic"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+C0]+2C</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>19</ID>
                  <Description>"The Underworld"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+C0]+30</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>20</ID>
              <Description>"Character Stars (Current)"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>21</ID>
                  <Description>"The Aristocracy"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>22</ID>
                      <Description>"Aristocracy (Generic)"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+160</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>23</ID>
                      <Description>"Benedick"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+EC</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>24</ID>
                      <Description>"Juliet"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+E4</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>25</ID>
                      <Description>"Leontes"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+90</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>26</ID>
                      <Description>"Osric"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+8C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>27</ID>
                      <Description>"Paris"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+88</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>28</ID>
                      <Description>"Polina"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+A8</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>29</ID>
                      <Description>"Tybalt"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+D4</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>30</ID>
                  <Description>"The Chivalric Order"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>31</ID>
                      <Description>"Chivalric Order (Generic)"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+164</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>32</ID>
                      <Description>"Dogberry"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+78</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>33</ID>
                      <Description>"Francisca"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+80</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>34</ID>
                      <Description>"Titus"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+7C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>35</ID>
                  <Description>"The Holy See"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>36</ID>
                      <Description>"Gardner"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+98</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>37</ID>
                      <Description>"Helena"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+104</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>38</ID>
                      <Description>"Thomas"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+94</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>39</ID>
                  <Description>"The Institute of Magic"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>40</ID>
                      <Description>"Institute of Magic (Generic)"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+16C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>41</ID>
                      <Description>"Christoph"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+C4</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>42</ID>
                      <Description>"Marcias"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+BC</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>43</ID>
                      <Description>"Timandra"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+C8</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>44</ID>
                  <Description>"The Underworld"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>45</ID>
                      <Description>"Underworld (Generic)"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+170</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>46</ID>
                      <Description>"Chiron"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+64</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>47</ID>
                      <Description>"Solanio"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+68</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>48</ID>
                  <Description>"Independent"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>49</ID>
                      <Description>"Balthazar"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+B4</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>50</ID>
                      <Description>"Beatrice"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+5C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>51</ID>
                      <Description>"Bottom"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+6C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>52</ID>
                      <Description>"Camillo"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+54</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>53</ID>
                      <Description>"Cornelius"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+58</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>54</ID>
                      <Description>"Eglamour"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+D0</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>55</ID>
                      <Description>"Emilia"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+48</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>56</ID>
                      <Description>"Hermia"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+3C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>57</ID>
                      <Description>"Iris"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+CC</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>58</ID>
                      <Description>"Katarina"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>59</ID>
                      <Description>"Luce"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+F8</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>60</ID>
                      <Description>"Merchant (Generic)"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+174</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>61</ID>
                      <Description>"Oswald"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+F0</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>62</ID>
                      <Description>"Page"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+70</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>63</ID>
                      <Description>"Pisanio"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+10C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>64</ID>
                      <Description>"Quince"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+28</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>65</ID>
                      <Description>"Sheena"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+E0</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>66</ID>
                      <Description>"Sylvia"</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[[pPlayData]+F0]+40</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>67</ID>
              <Description>"Event Requirements (Stars Needed)"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>68</ID>
                  <Description>"The Aristocracy"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>69</ID>
                      <Description>"Aristocracy (Generic) Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+280]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>70</ID>
                      <Description>"Benedick Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+198]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>71</ID>
                      <Description>"Juliet Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+188]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>72</ID>
                      <Description>"Leontes Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+E0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>73</ID>
                      <Description>"Osric Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+D8]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>74</ID>
                      <Description>"Paris Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+D0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>75</ID>
                      <Description>"Polina Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+110]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>76</ID>
                      <Description>"Tybalt Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+168]+4C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>77</ID>
                  <Description>"The Chivalric Order"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>78</ID>
                      <Description>"Chivalric Order (Generic) Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+288]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>79</ID>
                      <Description>"Dogberry Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+B0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>80</ID>
                      <Description>"Francisca Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+C0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>81</ID>
                      <Description>"Titus Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+B8]+4C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>82</ID>
                  <Description>"The Holy See"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>83</ID>
                      <Description>"Gardner Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+F0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>84</ID>
                      <Description>"Helena Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+1C8]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>85</ID>
                      <Description>"Thomas Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+E8]+4C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>86</ID>
                  <Description>"The Institute of Magic"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>87</ID>
                      <Description>"Institute of Magic (Generic) Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+298]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>88</ID>
                      <Description>"Christoph Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+148]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>89</ID>
                      <Description>"Marcias Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+138]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>90</ID>
                      <Description>"Timandra Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+150]+4C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>91</ID>
                  <Description>"The Underworld"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>92</ID>
                      <Description>"Underworld (Generic) Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+2A0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>93</ID>
                      <Description>"Chiron Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+88]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>94</ID>
                      <Description>"Solanio Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+90]+4C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>95</ID>
                  <Description>"Independent"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>96</ID>
                      <Description>"Balthazar Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+128]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>97</ID>
                      <Description>"Beatrice Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+78]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>98</ID>
                      <Description>"Bottom Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+98]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>99</ID>
                      <Description>"Camillo Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+68]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>100</ID>
                      <Description>"Cornelius Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+70]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>101</ID>
                      <Description>"Eglamour Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+160]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>102</ID>
                      <Description>"Emilia Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+50]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>103</ID>
                      <Description>"Hermia Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+38]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>104</ID>
                      <Description>"Iris Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+158]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>105</ID>
                      <Description>"Katarina Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+48]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>106</ID>
                      <Description>"Luce Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+1B0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>107</ID>
                      <Description>"Merchant (Generic) Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+2A8]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>108</ID>
                      <Description>"Oswald Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+1A0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>109</ID>
                      <Description>"Page Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+A0]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>110</ID>
                      <Description>"Pisanio Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+1D8]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>111</ID>
                      <Description>"Quince Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+10]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>112</ID>
                      <Description>"Sheena Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+180]+4C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>113</ID>
                      <Description>"Sylvia Req."</Description>
                      <VariableType>4 Bytes</VariableType>
                      <Address>[pConnTable+40]+4C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>114</ID>
              <Description>"Heroine Love Requirements (Unreliable)"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>115</ID>
                  <Description>"Chloe (Love Req.)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[pHeroineTable+10]+6C</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>116</ID>
                  <Description>"Cordelia (Love Req.)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[pHeroineTable+8]+6C</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>117</ID>
                  <Description>"Florina (Love Req.)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[pHeroineTable+0]+6C</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>118</ID>
                  <Description>"Sophie (Love Req.)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[pHeroineTable+18]+6C</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>119</ID>
          <Description>"Skills &amp; Skill Tree (Enable after Trainer)"</Description>
          <Color>0080FF</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
[DISABLE]
{$lua}
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>120</ID>
              <Description>"&gt;&gt;&gt; UNLOCK ALL SKILLS (toggle off to restore) &lt;&lt;&lt;"</Description>
              <Color>FF00FF</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable the Trainer Base first!') end
local skillAryPtr = readQword(base + 0x58)
local learnPerPtr = readQword(base + 0x1D8)
_G._savedSkillStatus = {}
_G._savedLearnPer = {}
_G._savedLearnSkill = readInteger(base + 0x2D0)
for i=0, 42 do
_G._savedSkillStatus[i] = readInteger(skillAryPtr + 0x20 + i*4)
_G._savedLearnPer[i] = readInteger(learnPerPtr + 0x20 + i*4)
end
for i=0, 42 do
writeInteger(skillAryPtr + 0x20 + i*4, 3)
writeFloat(learnPerPtr + 0x20 + i*4, 100.0)
end
writeInteger(base + 0x2D0, -1)
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
local skillAryPtr = readQword(base + 0x58)
local learnPerPtr = readQword(base + 0x1D8)
if _G._savedSkillStatus then
for i=0, 42 do
writeInteger(skillAryPtr + 0x20 + i*4, _G._savedSkillStatus[i] or 0)
writeInteger(learnPerPtr + 0x20 + i*4, _G._savedLearnPer[i] or 0)
end
end
if _G._savedLearnSkill then
writeInteger(base + 0x2D0, _G._savedLearnSkill)
end
_G._savedSkillStatus = nil
_G._savedLearnPer = nil
_G._savedLearnSkill = nil
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>121</ID>
              <Description>"Currently Learning Skill Index (-1=None)"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[pPlayData]+2D0</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>122</ID>
              <Description>"Charm Skills"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>123</ID>
                  <Description>"#0 Speech (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+20</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>124</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+20</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>125</ID>
                  <Description>"#1 Personal Grooming (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+24</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>126</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+24</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>127</ID>
                  <Description>"#2 Amiability (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+28</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>128</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+28</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>129</ID>
                  <Description>"#3 Charm (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+2C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>130</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+2C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>131</ID>
                  <Description>"#4 Singing (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+30</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>132</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+30</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>133</ID>
                  <Description>"#5 Refinement (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+34</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>134</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+34</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>135</ID>
                  <Description>"#6 Persuasion (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+38</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>136</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+38</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>137</ID>
                  <Description>"#7 Magnetism (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+3C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>138</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+3C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>139</ID>
                  <Description>"#8 Elegance (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+40</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>140</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+40</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>141</ID>
              <Description>"Vitality Skills"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>142</ID>
                  <Description>"#9 Calisthenics (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+44</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>143</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+44</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>144</ID>
                  <Description>"#10 Craftsmanship (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+48</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>145</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+48</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>146</ID>
                  <Description>"#11 Strength (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+4C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>147</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+4C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>148</ID>
                  <Description>"#12 Dancing (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+50</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>149</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+50</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>150</ID>
                  <Description>"#13 Self-defense (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+54</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>151</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+54</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>152</ID>
                  <Description>"#14 Combat Prowess (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+58</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>153</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+58</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>154</ID>
                  <Description>"#15 Gravitas (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+5C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>155</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+5C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>156</ID>
              <Description>"Sensitivity Skills"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>157</ID>
                  <Description>"#16 Painting (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+60</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>158</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+60</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>159</ID>
                  <Description>"#17 Focus (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+64</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>160</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+64</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>161</ID>
                  <Description>"#18 Harmony (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+68</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>162</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+68</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>163</ID>
                  <Description>"#19 Willpower (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+6C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>164</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+6C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>165</ID>
                  <Description>"#20 Astrology (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+70</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>166</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+70</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>167</ID>
                  <Description>"#21 Courage (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+74</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>168</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+74</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>169</ID>
                  <Description>"#22 Negotiation (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+78</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>170</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+78</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>171</ID>
                  <Description>"#23 Magical Studies (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+7C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>172</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+7C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>173</ID>
              <Description>"Intelligence Skills"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>174</ID>
                  <Description>"#24 Reading &amp; Writing (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+80</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>175</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+80</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>176</ID>
                  <Description>"#25 Mathematics (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+84</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>177</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+84</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>178</ID>
                  <Description>"#26 Social Skills (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+88</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>179</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+88</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>180</ID>
                  <Description>"#27 Natural Sciences (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+8C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>181</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+8C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>182</ID>
                  <Description>"#28 Psychology (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+90</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>183</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+90</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>184</ID>
                  <Description>"#29 Foreign Languages (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+94</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>185</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+94</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>186</ID>
                  <Description>"#30 Leadership (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+98</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>187</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+98</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>188</ID>
                  <Description>"#31 Medicine (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+9C</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>189</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+9C</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>190</ID>
                  <Description>"#32 Logic (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+A0</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>191</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+A0</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>192</ID>
                  <Description>"#33 Philosophy (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+A4</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>193</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+A4</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>194</ID>
                  <Description>"#34 Truth-seeking (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+A8</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>195</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+A8</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>196</ID>
              <Description>"Morals Skills"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>197</ID>
                  <Description>"#35 Prayer (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+AC</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>198</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+AC</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>199</ID>
                  <Description>"#36 Manners (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+B0</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>200</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+B0</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>201</ID>
                  <Description>"#37 Encouragement (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+B4</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>202</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+B4</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>203</ID>
                  <Description>"#38 Literature (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+B8</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>204</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+B8</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>205</ID>
                  <Description>"#39 Empathy (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+BC</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>206</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+BC</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>207</ID>
                  <Description>"#40 Volunteer Work (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+C0</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>208</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+C0</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>209</ID>
                  <Description>"#41 Ethics (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+C4</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>210</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+C4</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>211</ID>
                  <Description>"#42 Affection (0=Lock 3=Unlock)"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[[pPlayData]+58]+C8</Address>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>212</ID>
                      <Description>"Learning Progress %"</Description>
                      <VariableType>Float</VariableType>
                      <Address>[[pPlayData]+1D8]+C8</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>213</ID>
          <Description>"Unlockables (Outfits, Achievements, Gallery) (Enable after Trainer) (Save backup recommended)"</Description>
          <Color>0080FF</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
[DISABLE]
{$lua}
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>214</ID>
              <Description>"Outfits"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>215</ID>
                  <Description>"&gt;&gt;&gt; UNLOCK ALL OUTFITS (toggle off to restore) &lt;&lt;&lt;"</Description>
                  <Color>FF00FF</Color>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
_G._savedAllClothes = {}
local offsets = {0x20,0x28,0x30,0x38,0x40,0x48}
for oi=1,6 do
  local ptr = readQword(base + offsets[oi])
  local len = readInteger(ptr + 0x18)
  _G._savedAllClothes[oi] = {len=len}
  for i=0,len-1 do
    _G._savedAllClothes[oi][i] = readInteger(ptr + 0x20 + i*4)
    writeInteger(ptr + 0x20 + i*4, 1)
  end
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G._savedAllClothes then
  local offsets = {0x20,0x28,0x30,0x38,0x40,0x48}
  for oi=1,6 do
    local ptr = readQword(base + offsets[oi])
    if _G._savedAllClothes[oi] then
      for i=0,_G._savedAllClothes[oi].len-1 do
        writeInteger(ptr + 0x20 + i*4, _G._savedAllClothes[oi][i] or 0)
      end
    end
  end
  _G._savedAllClothes = nil
end
</AssemblerScript>
                </CheatEntry>
                <CheatEntry>
                  <ID>216</ID>
                  <Description>"Unlock Florina Outfits"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
local ptr = readQword(base + 0x20)
local len = readInteger(ptr + 0x18)
_G['_savedClothes_20'] = {len=len}
for i=0, len-1 do
  _G['_savedClothes_20'][i] = readInteger(ptr + 0x20 + i*4)
  writeInteger(ptr + 0x20 + i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['_savedClothes_20'] then
  local ptr = readQword(base + 0x20)
  for i=0, _G['_savedClothes_20'].len-1 do
    writeInteger(ptr + 0x20 + i*4, _G['_savedClothes_20'][i] or 0)
  end
  _G['_savedClothes_20'] = nil
end
</AssemblerScript>
                </CheatEntry>
                <CheatEntry>
                  <ID>217</ID>
                  <Description>"Unlock Cordelia Outfits"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
local ptr = readQword(base + 0x28)
local len = readInteger(ptr + 0x18)
_G['_savedClothes_28'] = {len=len}
for i=0, len-1 do
  _G['_savedClothes_28'][i] = readInteger(ptr + 0x20 + i*4)
  writeInteger(ptr + 0x20 + i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['_savedClothes_28'] then
  local ptr = readQword(base + 0x28)
  for i=0, _G['_savedClothes_28'].len-1 do
    writeInteger(ptr + 0x20 + i*4, _G['_savedClothes_28'][i] or 0)
  end
  _G['_savedClothes_28'] = nil
end
</AssemblerScript>
                </CheatEntry>
                <CheatEntry>
                  <ID>218</ID>
                  <Description>"Unlock Chloe Outfits"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
local ptr = readQword(base + 0x30)
local len = readInteger(ptr + 0x18)
_G['_savedClothes_30'] = {len=len}
for i=0, len-1 do
  _G['_savedClothes_30'][i] = readInteger(ptr + 0x20 + i*4)
  writeInteger(ptr + 0x20 + i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['_savedClothes_30'] then
  local ptr = readQword(base + 0x30)
  for i=0, _G['_savedClothes_30'].len-1 do
    writeInteger(ptr + 0x20 + i*4, _G['_savedClothes_30'][i] or 0)
  end
  _G['_savedClothes_30'] = nil
end
</AssemblerScript>
                </CheatEntry>
                <CheatEntry>
                  <ID>219</ID>
                  <Description>"Unlock Sophie Outfits"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
local ptr = readQword(base + 0x38)
local len = readInteger(ptr + 0x18)
_G['_savedClothes_38'] = {len=len}
for i=0, len-1 do
  _G['_savedClothes_38'][i] = readInteger(ptr + 0x20 + i*4)
  writeInteger(ptr + 0x20 + i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['_savedClothes_38'] then
  local ptr = readQword(base + 0x38)
  for i=0, _G['_savedClothes_38'].len-1 do
    writeInteger(ptr + 0x20 + i*4, _G['_savedClothes_38'][i] or 0)
  end
  _G['_savedClothes_38'] = nil
end
</AssemblerScript>
                </CheatEntry>
                <CheatEntry>
                  <ID>220</ID>
                  <Description>"Unlock Character 5 Outfits"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
local ptr = readQword(base + 0x40)
local len = readInteger(ptr + 0x18)
_G['_savedClothes_40'] = {len=len}
for i=0, len-1 do
  _G['_savedClothes_40'][i] = readInteger(ptr + 0x20 + i*4)
  writeInteger(ptr + 0x20 + i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['_savedClothes_40'] then
  local ptr = readQword(base + 0x40)
  for i=0, _G['_savedClothes_40'].len-1 do
    writeInteger(ptr + 0x20 + i*4, _G['_savedClothes_40'][i] or 0)
  end
  _G['_savedClothes_40'] = nil
end
</AssemblerScript>
                </CheatEntry>
                <CheatEntry>
                  <ID>221</ID>
                  <Description>"Unlock Character 6 Outfits"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
local ptr = readQword(base + 0x48)
local len = readInteger(ptr + 0x18)
_G['_savedClothes_48'] = {len=len}
for i=0, len-1 do
  _G['_savedClothes_48'][i] = readInteger(ptr + 0x20 + i*4)
  writeInteger(ptr + 0x20 + i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['_savedClothes_48'] then
  local ptr = readQword(base + 0x48)
  for i=0, _G['_savedClothes_48'].len-1 do
    writeInteger(ptr + 0x20 + i*4, _G['_savedClothes_48'][i] or 0)
  end
  _G['_savedClothes_48'] = nil
end
</AssemblerScript>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>234</ID>
              <Description>"Achievements"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>235</ID>
                  <Description>"&gt;&gt;&gt; UNLOCK ALL ACHIEVEMENTS (toggle off to restore) &lt;&lt;&lt;"</Description>
                  <Color>FF00FF</Color>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable Trainer Base first!') end
local achPtr = readQword(base + 0x1A0)
if not _G._achRefCount then _G._achRefCount = 0 end
if _G._achRefCount == 0 then
  _G._achOriginal = {}
  for i=0, 77 do
    _G._achOriginal[i] = readInteger(achPtr + 0x20 + i*4)
  end
end
_G._achRefCount = _G._achRefCount + 1
for i=0, 77 do
  writeInteger(achPtr + 0x20 + i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
if not _G._achRefCount then return end
_G._achRefCount = _G._achRefCount - 1
if _G._achRefCount &lt;= 0 then
  _G._achRefCount = 0
  local base = readQword(getAddress('pPlayData'))
  if not base or base == 0 then return end
  local achPtr = readQword(base + 0x1A0)
  if _G._achOriginal then
    for i=0, 77 do
      writeInteger(achPtr + 0x20 + i*4, _G._achOriginal[i] or 0)
    end
    _G._achOriginal = nil
  end
end
</AssemblerScript>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>236</ID>
              <Description>"Gallery"</Description>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>245</ID>
                  <Description>"Event Gallery (Unlocks some Achievements)"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>246</ID>
                      <Description>"Unlock Sub-Event Collection"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local ptr = readQword(base + 0xD8)
local len = readInteger(ptr + 0x18)
_G._savedSub = {n=len}
for i=0,len-1 do
  _G._savedSub[i] = readInteger(ptr+0x20+i*4)
  writeInteger(ptr+0x20+i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G._savedSub then
  local ptr = readQword(base + 0xD8)
  for i=0,_G._savedSub.n-1 do
    writeInteger(ptr+0x20+i*4, _G._savedSub[i] or 0)
  end
  _G._savedSub = nil
end
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>247</ID>
                      <Description>"Unlock Main Event Collection"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local ptr = readQword(base + 0x150)
local len = readInteger(ptr + 0x18)
_G._savedMain = {n=len}
for i=0,len-1 do
  _G._savedMain[i] = readInteger(ptr+0x20+i*4)
  writeInteger(ptr+0x20+i*4, 1)
end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G._savedMain then
  local ptr = readQword(base + 0x150)
  for i=0,_G._savedMain.n-1 do
    writeInteger(ptr+0x20+i*4, _G._savedMain[i] or 0)
  end
  _G._savedMain = nil
end
</AssemblerScript>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>237</ID>
                  <Description>"&gt;&gt;&gt; UNLOCK ALL CG (toggle off to restore) &lt;&lt;&lt; (Unlocks all Achievements)"</Description>
                  <Color>FF00FF</Color>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
_G._cgAllSaved = {}
local co = {0x168,0x170,0x178,0x180,0x188,0x190}
for oi=1,6 do
  local p = readQword(base + co[oi])
  local l = readInteger(p + 0x18)
  _G._cgAllSaved[oi] = {n=l}
  for i=0,l-1 do
    local v = readInteger(p+0x20+i*4)
    _G._cgAllSaved[oi][i] = v
    if v ~= 0 then writeInteger(p+0x20+i*4, 2) end
  end
end
local ap = readQword(base + 0x1A0)
if not _G._achRC then _G._achRC = 0 end
if _G._achRC == 0 then
  _G._achOrig = {}
  for i=0,77 do _G._achOrig[i]=readInteger(ap+0x20+i*4) end
end
_G._achRC = _G._achRC + 1
for i=0,77 do writeInteger(ap+0x20+i*4, 1) end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G._cgAllSaved then
  local co = {0x168,0x170,0x178,0x180,0x188,0x190}
  for oi=1,6 do
    if _G._cgAllSaved[oi] then
      local p = readQword(base + co[oi])
      for i=0,_G._cgAllSaved[oi].n-1 do
        writeInteger(p+0x20+i*4, _G._cgAllSaved[oi][i] or 0)
      end
    end
  end
  _G._cgAllSaved = nil
end
if _G._achRC then
  _G._achRC = _G._achRC - 1
  if _G._achRC &lt;= 0 then
    _G._achRC = 0
    local ap = readQword(base + 0x1A0)
    if _G._achOrig then
      for i=0,77 do writeInteger(ap+0x20+i*4, _G._achOrig[i] or 0) end
      _G._achOrig = nil
    end
  end
end
</AssemblerScript>
                </CheatEntry>
                <CheatEntry>
                  <ID>248</ID>
                  <Description>"CG Gallery (Per Character) (Unlocks all Achievements)"</Description>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>249</ID>
                      <Description>"Unlock Florina CG"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local p = readQword(base + 0x168)
local l = readInteger(p + 0x18)
_G['cgChar1'] = {n=l}
for i=0,l-1 do
  local v = readInteger(p+0x20+i*4)
  _G['cgChar1'][i] = v
  if v ~= 0 then writeInteger(p+0x20+i*4, 2) end
end
local ap = readQword(base + 0x1A0)
if not _G._achRC then _G._achRC = 0 end
if _G._achRC == 0 then
  _G._achOrig = {}
  for i=0,77 do _G._achOrig[i]=readInteger(ap+0x20+i*4) end
end
_G._achRC = _G._achRC + 1
for i=0,77 do writeInteger(ap+0x20+i*4, 1) end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['cgChar1'] then
  local p = readQword(base + 0x168)
  for i=0,_G['cgChar1'].n-1 do
    writeInteger(p+0x20+i*4, _G['cgChar1'][i] or 0)
  end
  _G['cgChar1'] = nil
end
if _G._achRC then
  _G._achRC = _G._achRC - 1
  if _G._achRC &lt;= 0 then
    _G._achRC = 0
    local ap = readQword(base + 0x1A0)
    if _G._achOrig then
      for i=0,77 do writeInteger(ap+0x20+i*4, _G._achOrig[i] or 0) end
      _G._achOrig = nil
    end
  end
end
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>250</ID>
                      <Description>"Unlock Cordelia CG"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local p = readQword(base + 0x170)
local l = readInteger(p + 0x18)
_G['cgChar2'] = {n=l}
for i=0,l-1 do
  local v = readInteger(p+0x20+i*4)
  _G['cgChar2'][i] = v
  if v ~= 0 then writeInteger(p+0x20+i*4, 2) end
end
local ap = readQword(base + 0x1A0)
if not _G._achRC then _G._achRC = 0 end
if _G._achRC == 0 then
  _G._achOrig = {}
  for i=0,77 do _G._achOrig[i]=readInteger(ap+0x20+i*4) end
end
_G._achRC = _G._achRC + 1
for i=0,77 do writeInteger(ap+0x20+i*4, 1) end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['cgChar2'] then
  local p = readQword(base + 0x170)
  for i=0,_G['cgChar2'].n-1 do
    writeInteger(p+0x20+i*4, _G['cgChar2'][i] or 0)
  end
  _G['cgChar2'] = nil
end
if _G._achRC then
  _G._achRC = _G._achRC - 1
  if _G._achRC &lt;= 0 then
    _G._achRC = 0
    local ap = readQword(base + 0x1A0)
    if _G._achOrig then
      for i=0,77 do writeInteger(ap+0x20+i*4, _G._achOrig[i] or 0) end
      _G._achOrig = nil
    end
  end
end
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>251</ID>
                      <Description>"Unlock Chloe CG"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local p = readQword(base + 0x178)
local l = readInteger(p + 0x18)
_G['cgChar3'] = {n=l}
for i=0,l-1 do
  local v = readInteger(p+0x20+i*4)
  _G['cgChar3'][i] = v
  if v ~= 0 then writeInteger(p+0x20+i*4, 2) end
end
local ap = readQword(base + 0x1A0)
if not _G._achRC then _G._achRC = 0 end
if _G._achRC == 0 then
  _G._achOrig = {}
  for i=0,77 do _G._achOrig[i]=readInteger(ap+0x20+i*4) end
end
_G._achRC = _G._achRC + 1
for i=0,77 do writeInteger(ap+0x20+i*4, 1) end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['cgChar3'] then
  local p = readQword(base + 0x178)
  for i=0,_G['cgChar3'].n-1 do
    writeInteger(p+0x20+i*4, _G['cgChar3'][i] or 0)
  end
  _G['cgChar3'] = nil
end
if _G._achRC then
  _G._achRC = _G._achRC - 1
  if _G._achRC &lt;= 0 then
    _G._achRC = 0
    local ap = readQword(base + 0x1A0)
    if _G._achOrig then
      for i=0,77 do writeInteger(ap+0x20+i*4, _G._achOrig[i] or 0) end
      _G._achOrig = nil
    end
  end
end
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>252</ID>
                      <Description>"Unlock Sophie CG"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local p = readQword(base + 0x180)
local l = readInteger(p + 0x18)
_G['cgChar4'] = {n=l}
for i=0,l-1 do
  local v = readInteger(p+0x20+i*4)
  _G['cgChar4'][i] = v
  if v ~= 0 then writeInteger(p+0x20+i*4, 2) end
end
local ap = readQword(base + 0x1A0)
if not _G._achRC then _G._achRC = 0 end
if _G._achRC == 0 then
  _G._achOrig = {}
  for i=0,77 do _G._achOrig[i]=readInteger(ap+0x20+i*4) end
end
_G._achRC = _G._achRC + 1
for i=0,77 do writeInteger(ap+0x20+i*4, 1) end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['cgChar4'] then
  local p = readQword(base + 0x180)
  for i=0,_G['cgChar4'].n-1 do
    writeInteger(p+0x20+i*4, _G['cgChar4'][i] or 0)
  end
  _G['cgChar4'] = nil
end
if _G._achRC then
  _G._achRC = _G._achRC - 1
  if _G._achRC &lt;= 0 then
    _G._achRC = 0
    local ap = readQword(base + 0x1A0)
    if _G._achOrig then
      for i=0,77 do writeInteger(ap+0x20+i*4, _G._achOrig[i] or 0) end
      _G._achOrig = nil
    end
  end
end
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>253</ID>
                      <Description>"Unlock Misc/Shared CG"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local p = readQword(base + 0x188)
local l = readInteger(p + 0x18)
_G['cgChar5'] = {n=l}
for i=0,l-1 do
  local v = readInteger(p+0x20+i*4)
  _G['cgChar5'][i] = v
  if v ~= 0 then writeInteger(p+0x20+i*4, 2) end
end
local ap = readQword(base + 0x1A0)
if not _G._achRC then _G._achRC = 0 end
if _G._achRC == 0 then
  _G._achOrig = {}
  for i=0,77 do _G._achOrig[i]=readInteger(ap+0x20+i*4) end
end
_G._achRC = _G._achRC + 1
for i=0,77 do writeInteger(ap+0x20+i*4, 1) end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['cgChar5'] then
  local p = readQword(base + 0x188)
  for i=0,_G['cgChar5'].n-1 do
    writeInteger(p+0x20+i*4, _G['cgChar5'][i] or 0)
  end
  _G['cgChar5'] = nil
end
if _G._achRC then
  _G._achRC = _G._achRC - 1
  if _G._achRC &lt;= 0 then
    _G._achRC = 0
    local ap = readQword(base + 0x1A0)
    if _G._achOrig then
      for i=0,77 do writeInteger(ap+0x20+i*4, _G._achOrig[i] or 0) end
      _G._achOrig = nil
    end
  end
end
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>254</ID>
                      <Description>"Unlock Extra CG"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then error('Enable first!') end
local p = readQword(base + 0x190)
local l = readInteger(p + 0x18)
_G['cgChar6'] = {n=l}
for i=0,l-1 do
  local v = readInteger(p+0x20+i*4)
  _G['cgChar6'][i] = v
  if v ~= 0 then writeInteger(p+0x20+i*4, 2) end
end
local ap = readQword(base + 0x1A0)
if not _G._achRC then _G._achRC = 0 end
if _G._achRC == 0 then
  _G._achOrig = {}
  for i=0,77 do _G._achOrig[i]=readInteger(ap+0x20+i*4) end
end
_G._achRC = _G._achRC + 1
for i=0,77 do writeInteger(ap+0x20+i*4, 1) end
[DISABLE]
{$lua}
if syntaxcheck then return end
local base = readQword(getAddress('pPlayData'))
if not base or base == 0 then return end
if _G['cgChar6'] then
  local p = readQword(base + 0x190)
  for i=0,_G['cgChar6'].n-1 do
    writeInteger(p+0x20+i*4, _G['cgChar6'][i] or 0)
  end
  _G['cgChar6'] = nil
end
if _G._achRC then
  _G._achRC = _G._achRC - 1
  if _G._achRC &lt;= 0 then
    _G._achRC = 0
    local ap = readQword(base + 0x1A0)
    if _G._achOrig then
      for i=0,77 do writeInteger(ap+0x20+i*4, _G._achOrig[i] or 0) end
      _G._achOrig = nil
    end
  end
end
</AssemblerScript>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
