Browse Source

Added CEA of blue tutu script

master
5 years ago
parent
commit
097d7272f6
3 changed files with 689 additions and 655 deletions
  1. 54
    0
      CEAs/blue-tutu-of-death.CEA
  2. 1
    0
      CEAs/vergil-tricks-on-style-btn-swordembed.CEA
  3. 634
    655
      DevilMayCry4SpecialEdition.CT

+ 54
- 0
CEAs/blue-tutu-of-death.CEA View File

@@ -0,0 +1,54 @@
[enable]
alloc(newmem,82)
alloc(spawntimer, 4)
alloc(spawnthreshhold, 4)
registersymbol(spawntimer)
registersymbol(spawnthreshhold)
label(returnhere)
label(originalcode)
label(exit)
label(spawnspiralsword)
spawntimer:
dd (float)0.0
spawnthreshhold:
dd (float)85.0
newmem:
//edi should hold the address of the player character
cmp [edi+19ac], 2 //check if the player is vergil
jne originalcode //if not jump out
movss xmm3, [spawntimer] //move spawn timer in
addss xmm3, xmm0 //accumulate time in here
comiss xmm3, [spawnthreshhold] //check spawn timer against threshhold
jae spawnspiralsword //if reached spawn a set of spiral swords
movss [spawntimer], xmm3
originalcode:
movss [esi],xmm0
pop esi
exit:
jmp returnhere
spawnspiralsword:
push eax //keep eax on the stack
mov eax, 2 //i.d of spiral swords
mov [edi+7ad0], eax //constantly read address will result in spawning
xorps xmm3, xmm3 //clear spawn timer
movss [spawntimer], xmm3 //update value in memory
pop eax //restore eax
jmp originalcode
"DevilMayCry4SpecialEdition.exe"+16E2C0:
jmp newmem
returnhere:
[disable]
dealloc(newmem)
dealloc(spawntimer)
dealloc(spawnthreshhold)
"DevilMayCry4SpecialEdition.exe"+16E2C0:
movss [esi],xmm0
pop esi

+ 1
- 0
CEAs/vergil-tricks-on-style-btn-swordembed.CEA View File

@@ -27,6 +27,7 @@ trickdown_DTrequire:
db 00 //default to false
newmem:
jmp animation_bind
//game will read lock-on inputs on ground
//however game will not read lock-on + style in air
test byte ptr [ebx+00001A64],01

+ 634
- 655
DevilMayCry4SpecialEdition.CT
File diff suppressed because it is too large
View File


Loading…
Cancel
Save