<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="42">
  <CheatEntries>
    <CheatEntry>
      <ID>37</ID>
      <Description>"Enable Table"</Description>
      <Options moHideChildren="1" moActivateChildrenAsWell="1" moDeactivateChildrenAsWell="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : Chrono Trigger.exe
  Version:
  Date   : 2022-05-15
  Author : Seneeki

  This script does blah blah blah
}
{$lua}
if syntaxcheck then return end
pMembers = {'pm1','pm2','pm3'}
characters = {'Crono','Marle','Lucca','Robo','Frog','Ayla','Magus'}
item_cat_name = {[1]='weapon',[3]='armour',[2]='helmet',[4]='accessory',[0]='consumable',[5]='key_item'}
item_offset = {[1]=2016,[3]=3348,[2]=3948,[4]=4416,[0]=5124,[5]=5640}
function regSym(alMem,sym)
alMem = allocateMemory(0x4)
registerSymbol(sym,alMem)
end
function unregSym(alMem,sym)
deAlloc(alMem)
unregisterSymbol(sym)
alMem = nil
end
{$asm}
define(address,"Chrono Trigger.exe"+212416)
define(bytes,8B 01 89 02 8B 41 04)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000)
alloc(item_category,$1000,Chrono Trigger.exe+1C61E6)
label(code return leave_cat get_cat)
registersymbol(item_category get_cat)

newmem:
{$luacode c1=ecx c2=eax}
local temp = c1
if c2 == 0 then
   for i,v in pairs(characters) do
       regSym(string.format('%s','a'..i),string.format('%s',v))
       writePointer(v,temp)
       temp = temp+0x120
   end
else
   return
end
{$asm}
code:
  mov eax,[ecx]
  mov [edx],eax
  mov eax,[ecx+04]
  jmp return

address:
  jmp newmem
  nop 2
return:


item_category:
  mov [get_cat],esi
  mov eax,[esi+000002F0]
  jmp leave_cat
get_cat:
  dd 0
Chrono Trigger.exe+1C61E6:
  jmp item_category
  nop
leave_cat:
[DISABLE]
{$lua}
if syntaxcheck then return end
for i,v in pairs(characters) do
    unregSym(string.format('%s','a'..i),string.format('%s',v))
end
{$asm}
address:
  db bytes
  // mov eax,[ecx]
  // mov [edx],eax
  // mov eax,[ecx+04]
Chrono Trigger.exe+1C61E6:
  db 8B 86 F0 02 00 00
dealloc(*)

{
// ORIGINAL CODE - INJECTION POINT: Chrono Trigger.exe+212416

Chrono Trigger.exe+212409: CC                 - int 3
Chrono Trigger.exe+21240A: CC                 - int 3
Chrono Trigger.exe+21240B: CC                 - int 3
Chrono Trigger.exe+21240C: CC                 - int 3
Chrono Trigger.exe+21240D: CC                 - int 3
Chrono Trigger.exe+21240E: CC                 - int 3
Chrono Trigger.exe+21240F: CC                 - int 3
Chrono Trigger.exe+212410: 55                 - push ebp
Chrono Trigger.exe+212411: 8B EC              - mov ebp,esp
Chrono Trigger.exe+212413: 8B 55 08           - mov edx,[ebp+08]
// ---------- INJECTING HERE ----------
Chrono Trigger.exe+212416: 8B 01              - mov eax,[ecx]
// ---------- DONE INJECTING  ----------
Chrono Trigger.exe+212418: 89 02              - mov [edx],eax
Chrono Trigger.exe+21241A: 8B 41 04           - mov eax,[ecx+04]
Chrono Trigger.exe+21241D: 89 42 04           - mov [edx+04],eax
Chrono Trigger.exe+212420: 8B 41 08           - mov eax,[ecx+08]
Chrono Trigger.exe+212423: 89 8B 01 89 02 8B  - mov [ebx-74FD76FF],ecx
Chrono Trigger.exe+212429: 41                 - inc ecx
Chrono Trigger.exe+21242A: 04 0C              - add al,0C
Chrono Trigger.exe+21242C: 8B 41 10           - mov eax,[ecx+10]
Chrono Trigger.exe+21242F: 89 42 10           - mov [edx+10],eax
Chrono Trigger.exe+212432: 8B 41 14           - mov eax,[ecx+14]
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>153</ID>
          <Description>"Field Pointers (go through screen transition)"</Description>
          <Options moHideChildren="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>0</ID>
              <Description>"Gold"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>crono</Address>
              <Offsets>
                <Offset>19f4</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>4144</ID>
              <Description>"Silver Points (change value, then go between Leene Square and Market Stalls)"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>crono</Address>
              <Offsets>
                <Offset>111c8</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>154</ID>
              <Description>"Characters"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>98</ID>
                  <Description>"Crono"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>crono</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>99</ID>
                      <Description>"Max Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+10</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>100</ID>
                      <Description>"Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+14</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>101</ID>
                      <Description>"Max MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+18</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>102</ID>
                      <Description>"MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+1C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>104</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>105</ID>
                      <Description>"Exp to Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+94</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>106</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+40</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>107</ID>
                      <Description>"Change Stats then Equip Armour"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                      <CheatEntries>
                        <CheatEntry>
                          <ID>103</ID>
                          <Description>"Max Health on Item Equip"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>4 Bytes</VariableType>
                          <Address>+20</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>108</ID>
                          <Description>"Strength"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+24</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>109</ID>
                          <Description>"Stamina"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+28</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>110</ID>
                          <Description>"Speed"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+2C</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>111</ID>
                          <Description>"Magic"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+30</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>112</ID>
                          <Description>"Accuracy"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+34</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>113</ID>
                          <Description>"Evasion"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+38</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>114</ID>
                          <Description>"Magic Defence"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+3C</Address>
                        </CheatEntry>
                      </CheatEntries>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4280</ID>
                  <Description>"Marle"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>marle</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4281</ID>
                      <Description>"Max Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+10</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4282</ID>
                      <Description>"Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+14</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4283</ID>
                      <Description>"Max MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+18</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4284</ID>
                      <Description>"MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+1C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4285</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4286</ID>
                      <Description>"Exp to Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+94</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4287</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+40</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4288</ID>
                      <Description>"Change Stats then Equip Armour"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                      <CheatEntries>
                        <CheatEntry>
                          <ID>4289</ID>
                          <Description>"Max Health on Item Equip"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>4 Bytes</VariableType>
                          <Address>+20</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4290</ID>
                          <Description>"Strength"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+24</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4291</ID>
                          <Description>"Stamina"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+28</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4292</ID>
                          <Description>"Speed"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+2C</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4293</ID>
                          <Description>"Magic"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+30</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4294</ID>
                          <Description>"Accuracy"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+34</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4295</ID>
                          <Description>"Evasion"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+38</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4296</ID>
                          <Description>"Magic Defence"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+3C</Address>
                        </CheatEntry>
                      </CheatEntries>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4253</ID>
                  <Description>"Lucca"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>Lucca</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4254</ID>
                      <Description>"Max Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+10</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4255</ID>
                      <Description>"Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+14</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4256</ID>
                      <Description>"Max MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+18</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4257</ID>
                      <Description>"MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+1C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4258</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4259</ID>
                      <Description>"Exp to Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+94</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4260</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+40</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4261</ID>
                      <Description>"Change Stats then Equip Armour"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                      <CheatEntries>
                        <CheatEntry>
                          <ID>4262</ID>
                          <Description>"Max Health on Item Equip"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>4 Bytes</VariableType>
                          <Address>+20</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4263</ID>
                          <Description>"Strength"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+24</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4264</ID>
                          <Description>"Stamina"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+28</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4265</ID>
                          <Description>"Speed"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+2C</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4266</ID>
                          <Description>"Magic"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+30</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4267</ID>
                          <Description>"Accuracy"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+34</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4268</ID>
                          <Description>"Evasion"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+38</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4269</ID>
                          <Description>"Magic Defence"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+3C</Address>
                        </CheatEntry>
                      </CheatEntries>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4226</ID>
                  <Description>"Robo"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>robo</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4227</ID>
                      <Description>"Max Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+10</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4228</ID>
                      <Description>"Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+14</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4229</ID>
                      <Description>"Max MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+18</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4230</ID>
                      <Description>"MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+1C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4231</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4232</ID>
                      <Description>"Exp to Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+94</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4233</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+40</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4234</ID>
                      <Description>"Change Stats then Equip Armour"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                      <CheatEntries>
                        <CheatEntry>
                          <ID>4235</ID>
                          <Description>"Max Health on Item Equip"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>4 Bytes</VariableType>
                          <Address>+20</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4236</ID>
                          <Description>"Strength"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+24</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4237</ID>
                          <Description>"Stamina"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+28</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4238</ID>
                          <Description>"Speed"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+2C</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4239</ID>
                          <Description>"Magic"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+30</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4240</ID>
                          <Description>"Accuracy"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+34</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4241</ID>
                          <Description>"Evasion"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+38</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4242</ID>
                          <Description>"Magic Defence"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+3C</Address>
                        </CheatEntry>
                      </CheatEntries>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4199</ID>
                  <Description>"Frog"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>frog</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4200</ID>
                      <Description>"Max Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+10</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4201</ID>
                      <Description>"Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+14</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4202</ID>
                      <Description>"Max MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+18</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4203</ID>
                      <Description>"MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+1C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4204</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4205</ID>
                      <Description>"Exp to Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+94</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4206</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+40</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4207</ID>
                      <Description>"Change Stats then Equip Armour"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                      <CheatEntries>
                        <CheatEntry>
                          <ID>4208</ID>
                          <Description>"Max Health on Item Equip"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>4 Bytes</VariableType>
                          <Address>+20</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4209</ID>
                          <Description>"Strength"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+24</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4210</ID>
                          <Description>"Stamina"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+28</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4211</ID>
                          <Description>"Speed"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+2C</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4212</ID>
                          <Description>"Magic"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+30</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4213</ID>
                          <Description>"Accuracy"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+34</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4214</ID>
                          <Description>"Evasion"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+38</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4215</ID>
                          <Description>"Magic Defence"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+3C</Address>
                        </CheatEntry>
                      </CheatEntries>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4172</ID>
                  <Description>"Ayla"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>ayla</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4173</ID>
                      <Description>"Max Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+10</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4174</ID>
                      <Description>"Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+14</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4175</ID>
                      <Description>"Max MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+18</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4176</ID>
                      <Description>"MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+1C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4177</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4178</ID>
                      <Description>"Exp to Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+94</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4179</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+40</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4180</ID>
                      <Description>"Change Stats then Equip Armour"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                      <CheatEntries>
                        <CheatEntry>
                          <ID>4181</ID>
                          <Description>"Max Health on Item Equip"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>4 Bytes</VariableType>
                          <Address>+20</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4182</ID>
                          <Description>"Strength"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+24</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4183</ID>
                          <Description>"Stamina"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+28</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4184</ID>
                          <Description>"Speed"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+2C</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4185</ID>
                          <Description>"Magic"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+30</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4186</ID>
                          <Description>"Accuracy"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+34</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4187</ID>
                          <Description>"Evasion"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+38</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4188</ID>
                          <Description>"Magic Defence"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+3C</Address>
                        </CheatEntry>
                      </CheatEntries>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4145</ID>
                  <Description>"Magus"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>magus</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4146</ID>
                      <Description>"Max Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+10</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4147</ID>
                      <Description>"Health"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+14</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4148</ID>
                      <Description>"Max MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+18</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4149</ID>
                      <Description>"MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+1C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4150</ID>
                      <Description>"Exp"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+44</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4151</ID>
                      <Description>"Exp to Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+94</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4152</ID>
                      <Description>"Level"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+40</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4153</ID>
                      <Description>"Change Stats then Equip Armour"</Description>
                      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
                      <GroupHeader>1</GroupHeader>
                      <CheatEntries>
                        <CheatEntry>
                          <ID>4154</ID>
                          <Description>"Max Health on Item Equip"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>4 Bytes</VariableType>
                          <Address>+20</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4155</ID>
                          <Description>"Strength"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+24</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4156</ID>
                          <Description>"Stamina"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+28</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4157</ID>
                          <Description>"Speed"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+2C</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4158</ID>
                          <Description>"Magic"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+30</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4159</ID>
                          <Description>"Accuracy"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+34</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4160</ID>
                          <Description>"Evasion"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+38</Address>
                        </CheatEntry>
                        <CheatEntry>
                          <ID>4161</ID>
                          <Description>"Magic Defence"</Description>
                          <ShowAsSigned>0</ShowAsSigned>
                          <VariableType>2 Bytes</VariableType>
                          <Address>+3C</Address>
                        </CheatEntry>
                      </CheatEntries>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>4089</ID>
          <Description>"Enable Scripts (complete one screen stransition and start one battle to make scripts functional)"</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>{ Game   : Chrono Trigger.exe
  Version:
  Date   : 2022-05-14
  Author : Seneeki

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(party_stats_on_battle_start,Chrono Trigger.exe,88 0C 10 8B 57 50) // should be unique
alloc(newmem,$1000)

label(return infHPMP tpMult xpMult)
registersymbol(party_stats_on_battle_start infHPMP tpMult xpMult)
newmem:
{$luacode v1=EDX}
local temp = v1
for i,v in pairs(pMembers) do
  regSym(string.format('%s','a'..i),string.format('%s',v))
  writePointer(v,temp)
  temp = temp+0x80
end
{$asm}
  mov [eax+edx],cl
  mov edx,[edi+50]
  jmp return
infHPMP:
  dd 0
tpMult:
  dd 1
xpMult:
  dd 1
party_stats_on_battle_start:
  jmp newmem
  nop
return:


[DISABLE]
{$lua}
if syntaxcheck then return end
for i,v in pairs(pMembers) do
    unregSym(string.format('%s','a'..i),string.format('%s',v))
end
{$asm}
party_stats_on_battle_start:
  db 88 0C 10 8B 57 50
infHPMP:
  db 0
unregistersymbol(*)
dealloc(*)

{
// ORIGINAL CODE - INJECTION POINT: Chrono Trigger.exe+755A5

Chrono Trigger.exe+75585: 8D 14 30           - lea edx,[eax+esi]
Chrono Trigger.exe+75588: 46                 - inc esi
Chrono Trigger.exe+75589: C6 04 0A 00        - mov byte ptr [edx+ecx],00
Chrono Trigger.exe+7558D: 81 FE 80 00 00 00  - cmp esi,00000080
Chrono Trigger.exe+75593: 7C ED              - jl "Chrono Trigger.exe"+75582
Chrono Trigger.exe+75595: 8B 57 50           - mov edx,[edi+50]
Chrono Trigger.exe+75598: 8D 34 DB           - lea esi,[ebx+ebx*8]
Chrono Trigger.exe+7559B: C1 E6 05           - shl esi,05
Chrono Trigger.exe+7559E: 03 77 44           - add esi,[edi+44]
Chrono Trigger.exe+755A1: 0F B6 4E 30        - movzx ecx,byte ptr [esi+30]
// ---------- INJECTING HERE ----------
Chrono Trigger.exe+755A5: 88 0C 10           - mov [eax+edx],cl
// ---------- DONE INJECTING  ----------
Chrono Trigger.exe+755A8: 8B 57 50           - mov edx,[edi+50]
Chrono Trigger.exe+755AB: 0F B6 4E 38        - movzx ecx,byte ptr [esi+38]
Chrono Trigger.exe+755AF: 88 4C 10 01        - mov [eax+edx+01],cl
Chrono Trigger.exe+755B3: 8B 57 50           - mov edx,[edi+50]
Chrono Trigger.exe+755B6: 0F B6 4E 3C        - movzx ecx,byte ptr [esi+3C]
Chrono Trigger.exe+755BA: 88 4C 10 02        - mov [eax+edx+02],cl
Chrono Trigger.exe+755BE: 8B 57 50           - mov edx,[edi+50]
Chrono Trigger.exe+755C1: 0F B6 4E 44        - movzx ecx,byte ptr [esi+44]
Chrono Trigger.exe+755C5: 88 4C 10 03        - mov [eax+edx+03],cl
Chrono Trigger.exe+755C9: 8B 4F 50           - mov ecx,[edi+50]
}
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>4114</ID>
              <Description>"Infinite HP and MP"</Description>
              <Options moAlwaysHideChildren="1" moActivateChildrenAsWell="1" moDeactivateChildrenAsWell="1"/>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]
infHPMP:
  db 1

[DISABLE]
infHPMP:
  db 0
</AssemblerScript>
              <CheatEntries>
                <CheatEntry>
                  <ID>4117</ID>
                  <Description>"infHPMP"</Description>
                  <VariableType>Auto Assembler Script</VariableType>
                  <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
local function disableRecord(a)
    synchronize(function()
      local t = createTimer()
      t.Interval,t.OnTimer = a,function(tm)
      tm.Destroy()
      memrec.Active = false
      end
    end)
end
if  readInteger('infHPMP') == nil then
    showMessage([[You have to turn the "enable" scripts on first]])
    disableRecord(1000)
end
hpmpTimer = createTimer()
hpmpTimer.setInterval(100)
hpmpTimer.onTimer= function()
if readShortInteger('infHPMP') == 1 then
       for i,v in pairs(pMembers) do
       local mp = readShortInteger('['..v..']+9')
       local hp = readSmallInteger('['..v..']+5')
        if hp ~= nil then
         if hp &lt;= 1 then
           return
         end
         if mp &lt;= 1 then
          return
         end
        else return end
       writeSmallInteger('['..v..']+3',hp)
       writeShortInteger('['..v..']+7',mp)
       end
       for i,v in pairs(characters) do
         local fmp = readShortInteger('['..v..']+18')
         local fhp = readSmallInteger('['..v..']+10')
           if fhp ~= nil then
           if fhp &lt;= 1 then
              return
           end
         if fmp &lt;= 1 then
            return
         end
          else return end
       writeSmallInteger('['..v..']+14',fhp)
       writeShortInteger('['..v..']+1c',fmp)
end
elseif readShortInteger('infHPMP') == 0 then
       disableRecord(50)
       hpmpTimer.destroy()
       showMessage([[Enable the main Infinite HP and MP script before enabling this one]])
       return
end
end



[disable]
hpmpTimer.destroy()
</AssemblerScript>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>4122</ID>
              <Description>"Tech Points Multiplier (unlocks skills once available)"</Description>
              <Options moHideChildren="1"/>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>{ Game   : Chrono Trigger.exe
  Version:
  Date   : 2022-05-15
  Author : Seneeki

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(tpmultiplier,Chrono Trigger.exe,01 81 58 17 00 00) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
  imul eax,[tpMult]
code:
  add [ecx+00001758],eax
  jmp return

tpmultiplier:
  jmp newmem
  nop
return:
registersymbol(tpmultiplier)

[DISABLE]

tpmultiplier:
  db 01 81 58 17 00 00

unregistersymbol(tpmultiplier)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: Chrono Trigger.exe+74A5C

Chrono Trigger.exe+74A32: 8B 54 88 10           - mov edx,[eax+ecx*4+10]
Chrono Trigger.exe+74A36: 66 0F 7E C0           - movd eax,xmm0
Chrono Trigger.exe+74A3A: 0F 11 45 EC           - movups [ebp-14],xmm0
Chrono Trigger.exe+74A3E: 01 86 40 16 00 00     - add [esi+00001640],eax
Chrono Trigger.exe+74A44: 8B 4F 4C              - mov ecx,[edi+4C]
Chrono Trigger.exe+74A47: 66 0F 73 D8 04        - psrldq xmm0,04
Chrono Trigger.exe+74A4C: 66 0F 7E C0           - movd eax,xmm0
Chrono Trigger.exe+74A50: 01 81 94 16 00 00     - add [ecx+00001694],eax
Chrono Trigger.exe+74A56: 8B 4F 4C              - mov ecx,[edi+4C]
Chrono Trigger.exe+74A59: 0F B6 C2              - movzx eax,dl
// ---------- INJECTING HERE ----------
Chrono Trigger.exe+74A5C: 01 81 58 17 00 00     - add [ecx+00001758],eax
// ---------- DONE INJECTING  ----------
Chrono Trigger.exe+74A62: 8B 4F 4C              - mov ecx,[edi+4C]
Chrono Trigger.exe+74A65: 8B 84 99 CC 05 00 00  - mov eax,[ecx+ebx*4+000005CC]
Chrono Trigger.exe+74A6C: 05 20 FF FF FF        - add eax,FFFFFF20
Chrono Trigger.exe+74A71: 83 F8 05              - cmp eax,05
Chrono Trigger.exe+74A74: 77 50                 - ja "Chrono Trigger.exe"+74AC6
Chrono Trigger.exe+74A76: 8B 35 80 53 22 01     - mov esi,["Chrono Trigger.exe"+385380]
Chrono Trigger.exe+74A7C: FF D6                 - call esi
Chrono Trigger.exe+74A7E: 99                    - cdq
Chrono Trigger.exe+74A7F: B9 64 00 00 00        - mov ecx,00000064
Chrono Trigger.exe+74A84: F7 F9                 - idiv ecx
}
</AssemblerScript>
              <CheatEntries>
                <CheatEntry>
                  <ID>4119</ID>
                  <Description>"Multiplication Factor"</Description>
                  <DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">1:No Multiplier
2:Double TP
3:Triple TP
5:Quick Unlocks
15:Quicker Unlocks
50:Really Quick Unlocks
655350:Instant Unlocks
</DropDownList>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>4 Bytes</VariableType>
                  <Address>tpMult</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>4120</ID>
              <Description>"Experience Points Multiplier"</Description>
              <Options moHideChildren="1"/>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>{ Game   : Chrono Trigger.exe
  Version:
  Date   : 2022-05-15
  Author : Seneeki

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(xpmultiplier,Chrono Trigger.exe,8B 80 40 16 00 00 89 45) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
  mov eax,[eax+00001640]
  imul eax,[xpMult]
{$luacode xp=eax}
for i,v in pairs(characters) do
         local cxp = readInteger('['..v..']+44')
         cxp = cxp+xp
         writeInteger('['..v..']+44',cxp)
 end
{$asm}
  jmp return

xpmultiplier:
  jmp newmem
  nop
return:
registersymbol(xpmultiplier)

[DISABLE]

xpmultiplier:
  db 8B 80 40 16 00 00

unregistersymbol(xpmultiplier)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: Chrono Trigger.exe+94DAD

Chrono Trigger.exe+94D91: 8B EC                          - mov ebp,esp
Chrono Trigger.exe+94D93: 83 EC 14                       - sub esp,14
Chrono Trigger.exe+94D96: 53                             - push ebx
Chrono Trigger.exe+94D97: 56                             - push esi
Chrono Trigger.exe+94D98: 8B F1                          - mov esi,ecx
Chrono Trigger.exe+94D9A: C7 45 FC 00 00 00 00           - mov [ebp-04],00000000
Chrono Trigger.exe+94DA1: 57                             - push edi
Chrono Trigger.exe+94DA2: BF FC 17 00 00                 - mov edi,000017FC
Chrono Trigger.exe+94DA7: 8B 46 4C                       - mov eax,[esi+4C]
Chrono Trigger.exe+94DAA: 8D 5E 40                       - lea ebx,[esi+40]
// ---------- INJECTING HERE ----------
Chrono Trigger.exe+94DAD: 8B 80 40 16 00 00              - mov eax,[eax+00001640]
// ---------- DONE INJECTING  ----------
Chrono Trigger.exe+94DB3: 89 45 F0                       - mov [ebp-10],eax
Chrono Trigger.exe+94DB6: 66 66 0F 1F 84 00 00 00 00 00  - nop word ptr [eax+eax+00000000]
Chrono Trigger.exe+94DC0: 89 03                          - mov [ebx],eax
Chrono Trigger.exe+94DC2: 8B 46 4C                       - mov eax,[esi+4C]
Chrono Trigger.exe+94DC5: C7 04 07 00 00 00 00           - mov [edi+eax],00000000
Chrono Trigger.exe+94DCC: 8B 56 4C                       - mov edx,[esi+4C]
Chrono Trigger.exe+94DCF: 8B 8C 17 A4 ED FF FF           - mov ecx,[edi+edx-0000125C]
Chrono Trigger.exe+94DD6: 89 4D F8                       - mov [ebp-08],ecx
Chrono Trigger.exe+94DD9: 84 C9                          - test cl,cl
Chrono Trigger.exe+94DDB: 0F 88 AA 00 00 00              - js "Chrono Trigger.exe"+94E8B
}
</AssemblerScript>
              <CheatEntries>
                <CheatEntry>
                  <ID>4121</ID>
                  <Description>"Multiplication Factor"</Description>
                  <DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">1:No Multiplier
2:Double EXP
3:Triple EXP
5:Powerlevelling
15:Moderate Powerlevelling
50:Fast Powerlevelling
655350:Instant Max Level
</DropDownList>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>4 Bytes</VariableType>
                  <Address>xpMult</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>4113</ID>
              <Description>"Battle Info (initiate battle)"</Description>
              <Options moHideChildren="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>4090</ID>
                  <Description>"Party Member 1 Info"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Binary</VariableType>
                  <BitStart>0</BitStart>
                  <BitLength>1</BitLength>
                  <ShowAsBinary>0</ShowAsBinary>
                  <Address>pm1</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4091</ID>
                      <Description>"Current HP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+3</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4092</ID>
                      <Description>"Max HP"</Description>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+5</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4093</ID>
                      <Description>"Current MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+7</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4094</ID>
                      <Description>"Max MP"</Description>
                      <VariableType>Byte</VariableType>
                      <Address>+9</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4104</ID>
                  <Description>"Party Member 2 Info"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Binary</VariableType>
                  <BitStart>1</BitStart>
                  <BitLength>1</BitLength>
                  <ShowAsBinary>0</ShowAsBinary>
                  <Address>pm2</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4105</ID>
                      <Description>"Current HP"</Description>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+3</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4106</ID>
                      <Description>"Max HP"</Description>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+5</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4107</ID>
                      <Description>"Current MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+7</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4108</ID>
                      <Description>"Max MP"</Description>
                      <VariableType>Byte</VariableType>
                      <Address>+9</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4097</ID>
                  <Description>"Party Member 3 Info"</Description>
                  <Options moHideChildren="1"/>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Binary</VariableType>
                  <BitStart>2</BitStart>
                  <BitLength>1</BitLength>
                  <ShowAsBinary>0</ShowAsBinary>
                  <Address>pm3</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4109</ID>
                      <Description>"Current HP"</Description>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+3</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4110</ID>
                      <Description>"Max HP"</Description>
                      <VariableType>2 Bytes</VariableType>
                      <Address>+5</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4111</ID>
                      <Description>"Current MP"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+7</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4112</ID>
                      <Description>"Max MP"</Description>
                      <VariableType>Byte</VariableType>
                      <Address>+9</Address>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
                <CheatEntry>
                  <ID>4095</ID>
                  <Description>"Tech Points Gained During Battle"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>pm1</Address>
                  <Offsets>
                    <Offset>-3e4</Offset>
                  </Offsets>
                </CheatEntry>
                <CheatEntry>
                  <ID>4096</ID>
                  <Description>"Exp Points Gained During Battle"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>pm1</Address>
                  <Offsets>
                    <Offset>-4fc</Offset>
                  </Offsets>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>4307</ID>
              <Description>"Give all items"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
regSym('giveItemMem','giveItem')

idw = {'1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','31','32','33','34','35','36','37','38','39','40','41','46','47','48','49','50','51','52','53','54','55','56','57','59','60','62','63','64','65','66','67','75','77','78','79','83','84','85','90','91','92','93','94','95','96','97','98','99','100'}
idh = {'8193','8194','8195','8196','8197','8198','8199','8200','8201','8202','8203','8204','8205','8206','8207','8208','8209','8210','8211','8212','8213','8214','8215','8216','8217','8218','8219','8220'}
idc = {'16385','16386','16387','16388','16389','16390','16391','16392','16393','16394','16395','16396','16397','16398','16399','16400','16401','16402','16403','16404','16405','16406','16407','16408','16409','16410','16411','16412','16413','16414','16415','16416'}
ida = {'4097','4098','4099','4100','4101','4102','4103','4104','4105','4106','4107','4108','4109','4110','4111','4112','4113','4114','4115','4116','4117','4118','4119','4120','4121','4122','4123','4124','4125','4126','4127','4128','4129','4130','4131','4132','4133','4134'}
idac = {'12289','12290','12291','12292','12293','12294','12295','12296','12297','12298','12299','12300','12301','12302','12303','12304','12305','12306','12307','12308','12309','12310','12311','12312','12313','12314','12315','12316','12317','12318','12319','12320','12321','12322','12323','12324','12325','12326','12327','12328','12329','12330','12331','12332','12333','12334','12335','12336'}
idk = {'20481','20482','20483','20484','20485','20486','20487','20488','20489','20490','20491','20492','20493','20494','20495','20496','20497','20498','20499','20500','20505','20506','20507','20508','20509','20510','20511','20512','20513','20514','20515','20516'}

ic = readInteger('[get_cat]+2f0')
function giveItems(slots,amount,category)
     local basePTR = readPointer('Crono')
     local baseOffset = item_offset[category]
     local newBase = basePTR+baseOffset
     writePointer('giveItem',newBase)
     local itemPTR = readPointer('giveItem')
     local a = 1
     if category == 0 then
        repeat
              writeInteger('[giveItem]',idc[a])
              writeInteger('[giveItem]+4',amount)
              itemPTR = itemPTR+0xC
              writePointer('giveItem',itemPTR)
              a=a+1
        until a &gt; slots
     end
          if category == 1 then
        repeat
              writeInteger('[giveItem]',idw[a])
              writeInteger('[giveItem]+4',amount)
              itemPTR = itemPTR+0xC
              writePointer('giveItem',itemPTR)
              a=a+1
        until a &gt; slots
     end
          if category == 2 then
        repeat
              writeInteger('[giveItem]',idh[a])
              writeInteger('[giveItem]+4',amount)
              itemPTR = itemPTR+0xC
              writePointer('giveItem',itemPTR)
              a=a+1
        until a &gt; slots
     end
          if category == 3 then
        repeat
              writeInteger('[giveItem]',ida[a])
              writeInteger('[giveItem]+4',amount)
              itemPTR = itemPTR+0xC
              writePointer('giveItem',itemPTR)
              a=a+1
        until a &gt; slots
     end
          if category == 4 then
        repeat
              writeInteger('[giveItem]',idac[a])
              writeInteger('[giveItem]+4',amount)
              itemPTR = itemPTR+0xC
              writePointer('giveItem',itemPTR)
              a=a+1
        until a &gt; slots
     end
               if category == 5 then
        repeat
              writeInteger('[giveItem]',idk[a])
              writeInteger('[giveItem]+4',amount)
              itemPTR = itemPTR+0xC
              writePointer('giveItem',itemPTR)
              a=a+1
        until a &gt; slots
     end
end


[disable]
unregSym(giveItemMem,'giveItem')
</AssemblerScript>
              <CheatEntries>
                <CheatEntry>
                  <ID>4329</ID>
                  <Description>"Give all Items at once (select individually below  for just one category)"</Description>
                  <Options moActivateChildrenAsWell="1"/>
                  <GroupHeader>1</GroupHeader>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>4323</ID>
                      <Description>"Consumables"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
synchronize(function()
    local t = createTimer()
    t.Interval,t.OnTimer = 2000,function(tm)
    tm.Destroy()
    memrec.Active = false
    end
end)
giveItems(#idc,99,0)
[disable]
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4328</ID>
                      <Description>"Weapons"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
synchronize(function()
    local t = createTimer()
    t.Interval,t.OnTimer = 2000,function(tm)
    tm.Destroy()
    memrec.Active = false
    end
end)
giveItems(#idw,1,1)
[disable]
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4327</ID>
                      <Description>"Helmets"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
synchronize(function()
    local t = createTimer()
    t.Interval,t.OnTimer = 2000,function(tm)
    tm.Destroy()
    memrec.Active = false
    end
end)
giveItems(#idh,6,2)
[disable]
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4326</ID>
                      <Description>"Armour"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
synchronize(function()
    local t = createTimer()
    t.Interval,t.OnTimer = 2000,function(tm)
    tm.Destroy()
    memrec.Active = false
    end
end)
giveItems(#ida,6,3)
[disable]
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4325</ID>
                      <Description>"Accessories"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
synchronize(function()
    local t = createTimer()
    t.Interval,t.OnTimer = 2000,function(tm)
    tm.Destroy()
    memrec.Active = false
    end
end)
giveItems(#idac,6,4)
[disable]
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4324</ID>
                      <Description>"Key Items"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
synchronize(function()
    local t = createTimer()
    t.Interval,t.OnTimer = 2000,function(tm)
    tm.Destroy()
    memrec.Active = false
    end
end)
giveItems(#idk,1,5)
[disable]
</AssemblerScript>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>4330</ID>
                      <Description>"Give Max Ioka Hut Trade Items"</Description>
                      <VariableType>Auto Assembler Script</VariableType>
                      <AssemblerScript>{$lua}
if syntaxcheck then return end
[enable]
synchronize(function()
    local t = createTimer()
    t.Interval,t.OnTimer = 2000,function(tm)
    tm.Destroy()
    memrec.Active = false
    end
end)
giveItems(4,99,5)
[disable]
</AssemblerScript>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols>
    <SymbolEntry>
      <Name>pm1</Name>
      <Address>ECE0000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>pm2</Name>
      <Address>ECF0000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>pm3</Name>
      <Address>ED00000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Crono</Name>
      <Address>ED10000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Marle</Name>
      <Address>ED20000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Lucca</Name>
      <Address>ED30000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Robo</Name>
      <Address>EDD0000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Frog</Name>
      <Address>F690000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Ayla</Name>
      <Address>F6A0000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Magus</Name>
      <Address>F6B0000</Address>
    </SymbolEntry>
  </UserdefinedSymbols>
  <Comments>This Cheat Table is to have the GNU General Public Licence version 3 applied to it
"Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed." 

www.gnu.org/licenses/gpl-3.0.en.html


©️ Seneekikaant at OpenCheatTable.org</Comments>
</CheatTable>
