HenryEx icon

BoI:A Eden's Blessing Script

HenryEx | PRO | 01/03/16 05:32:51 PM UTC | 0 ⭐ | 811 👁️ | Never ⏰ | []
XML |

1.59 KB

|

None

|

0 👍

/

0 👎

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>1</ID>
      <Description>"Eden's Blessing"</Description>
      <Options moHideChildren="1"/>
      <LastState Activated="0"/>
      <Color>80000008</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ by HenryEx
  for The Binding of Isaac: Afterbirth
 
  Lets you set a number of additional free items on the start of a new run,
  like the effect of the Eden's Blessing item.
}
 
[ENABLE]
aobscanmodule(AOB_Blessing,isaac-ng.exe,A1 * * * * 8B 80 10 03 00 00 89)
alloc(GetBlessed,256)
registersymbol(AOB_Blessing)
registersymbol(GetBlessed)
label(_Back)
 
AOB_Blessing+5:
 jmp GetBlessed+4
 nop
_Back:
 
GetBlessed:
 dd 0  // # of additional blessings
 
// Code section
 cmp [GetBlessed],0
 jnl +D
 mov eax,[GetBlessed]
 neg eax
 mov [GetBlessed],eax
 
 mov eax,[eax+00000310]
 add eax,[GetBlessed]
 jmp _Back
 
[DISABLE]
AOB_Blessing+5:
 mov eax,[eax+00000310]
// db 8B 80 10 03 00 00
 
unregistersymbol(AOB_Blessing)
unregistersymbol(GetBlessed)
dealloc(GetBlessed)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>2</ID>
          <Description>"Additional random items"</Description>
          <LastState Value="??" Activated="0" RealAddress="00000000"/>
          <ShowAsSigned>1</ShowAsSigned>
          <Color>80000008</Color>
          <VariableType>4 Bytes</VariableType>
          <Address>GetBlessed</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

Comments