Advertisement
HenryEx

BoI:A Eden's Blessing Script

Jan 3rd, 2016
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.59 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CheatTable>
  3.   <CheatEntries>
  4.     <CheatEntry>
  5.       <ID>1</ID>
  6.       <Description>"Eden's Blessing"</Description>
  7.       <Options moHideChildren="1"/>
  8.       <LastState Activated="0"/>
  9.       <Color>80000008</Color>
  10.       <VariableType>Auto Assembler Script</VariableType>
  11.       <AssemblerScript>{ by HenryEx
  12.   for The Binding of Isaac: Afterbirth
  13.  
  14.   Lets you set a number of additional free items on the start of a new run,
  15.   like the effect of the Eden's Blessing item.
  16. }
  17.  
  18. [ENABLE]
  19. aobscanmodule(AOB_Blessing,isaac-ng.exe,A1 * * * * 8B 80 10 03 00 00 89)
  20. alloc(GetBlessed,256)
  21. registersymbol(AOB_Blessing)
  22. registersymbol(GetBlessed)
  23. label(_Back)
  24.  
  25. AOB_Blessing+5:
  26.  jmp GetBlessed+4
  27.  nop
  28. _Back:
  29.  
  30. GetBlessed:
  31.  dd 0  // # of additional blessings
  32.  
  33. // Code section
  34.  cmp [GetBlessed],0
  35.  jnl +D
  36.  mov eax,[GetBlessed]
  37.  neg eax
  38.  mov [GetBlessed],eax
  39.  
  40.  mov eax,[eax+00000310]
  41.  add eax,[GetBlessed]
  42.  jmp _Back
  43.  
  44. [DISABLE]
  45. AOB_Blessing+5:
  46.  mov eax,[eax+00000310]
  47. // db 8B 80 10 03 00 00
  48.  
  49. unregistersymbol(AOB_Blessing)
  50. unregistersymbol(GetBlessed)
  51. dealloc(GetBlessed)
  52. </AssemblerScript>
  53.       <CheatEntries>
  54.         <CheatEntry>
  55.           <ID>2</ID>
  56.           <Description>"Additional random items"</Description>
  57.           <LastState Value="??" Activated="0" RealAddress="00000000"/>
  58.           <ShowAsSigned>1</ShowAsSigned>
  59.           <Color>80000008</Color>
  60.           <VariableType>4 Bytes</VariableType>
  61.           <Address>GetBlessed</Address>
  62.         </CheatEntry>
  63.       </CheatEntries>
  64.     </CheatEntry>
  65.   </CheatEntries>
  66. </CheatTable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement