Browse Source

New entries.

master
5 years ago
parent
commit
6d2e13d9e1
3 changed files with 1360 additions and 432 deletions
  1. 1
    1
      CEAs/em-1-hit-kill.CEA
  2. 15
    9
      CEAs/vergil-trick-on-style.CEA
  3. 1344
    422
      DevilMayCry4SpecialEdition.CT

+ 1
- 1
CEAs/em-1-hit-kill.CEA View File

@@ -11,7 +11,7 @@ mov eax, [eax+24] //eax is now player character
lea eax, [eax+1b00] //eax is now the address for vitality
push edx
lea edx,[edi+30]
cmp eax, edx //player vitality and target address are the same
cmp eax, edx //player vitality and target vitality are the same
je originalcode //take damage as usual
//in this context xmm2 is 0 because of prior instruction
movss [edi+30], xmm2 //otherwise kill the enemy in 1 hit

+ 15
- 9
CEAs/vergil-trick-on-style.CEA View File

@@ -18,6 +18,17 @@ label(trickup)
label(sidetrick)
label(trickdown)
label(trickback)
label(airtrick)
sidetrick_DTrequire:
db 01 //default value to true
trickback_DTrequire:
db 01 //default value to true
trickdown_DTrequire:
db 00 //default value to false
//+-------------------------------------+
airlock:
test byte ptr [esi+00001A64],01 //test player is in air or not
@@ -55,15 +66,6 @@ nop
return_from_read:
//+-------------------------------------+
sidetrick_DTrequire:
db 01 //default value to true
trickback_DTrequire:
db 01 //default value to true
trickdown_DTrequire:
db 00 //default value to false
rebind_air_trick:
//need only to map animations!
push edi //save value of edi just in case
@@ -78,6 +80,8 @@ cmp edi, 6 //lock-on back diagonal
je trickdown
cmp edi, C //lock-on back
je trickdown
airtrick:
push 24 //if reached here, then lock-on is neutral! (do air trick)
jmp do_move
@@ -101,6 +105,8 @@ push 27
jmp do_move
sidetrick: //Broken, goes in direction of last roll
test byte ptr [ebx+00001A64],01 //in air or not
je airtrick //can't do side trick in air
mov edi, [ebx+78e4] //move devil trigger status into edi
cmp [sidetrick_DTrequire], edi
jg no_move //player is not devil triggered and DT requirement in place

+ 1344
- 422
DevilMayCry4SpecialEdition.CT
File diff suppressed because it is too large
View File


Loading…
Cancel
Save