<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="14">
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"Set Ammo to 999 Then Restore Orignal Code"</Description>
      <Color>80000008</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
alloc(originalcode,7)
originalcode:
db 2B 44 24 08 89 41 08

fullaccess("RE5DX10.EXE"+81527B,7)
"RE5DX10.EXE"+81527B:
jmp newmem
nop
nop
returnhere:

newmem:
sub eax,[esp+08]
mov [ecx+08],(int)999 //change health to 999

//restore with original bytes
pushad //can't be bothered
pushfd
cld
mov ecx,7  //nr of bytes
mov esi, originalcode
mov edi, "RE5DX10.EXE"+81527B
rep movsb
popfd
popad
jmp returnhere

[DISABLE]

</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
