瀏覽代碼

Added CEA of blue tutu script

master
5 年之前
父節點
當前提交
097d7272f6
共有 3 個文件被更改,包括 689 次插入655 次删除
  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 查看文件

@@ -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 查看文件

@@ -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
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存