Thread Rating:
  • 8 Vote(s) - 3.88 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[14/08/09] LF2 DLL Framework
#26
Updated. :)
Newest version [16/04/09]: http://www.mediafire.com/download.php?mnon2vo4mzg

3 things updated:
Hiding shadow
State 85 and state 86 (see below)
Whole Davis AI (By Silva)

Code:
State_Turning proc
    
;This 2 states allow you control the direction in a move (both ^, v, < and >).
;Imagine you use mark's Body Attack D>J, with state 85 or 86 you can turn back without stop.

;State 86 merely allows you to use the direction key.
;State 85 does it similarly but additionally increments the frame number by 1.

;###This is mainly copy from the state of dash, I didn't understand most of it

    cmp dword ptr ds:[edx+ecx+7ACh],5
    je short r1
    cmp dword ptr ds:[edx+ecx+7ACh],85
    je short s85
    cmp dword ptr ds:[edx+ecx+7ACh],86
    je short s86
    jmp dword ptr [st_r2]
r1:    jmp dword ptr [st_r1]

s85:push ecx
    mov ecx,1
    jmp short st0
s86:push ecx
    mov ecx,0
st0:mov bl,byte ptr ds:[esi+0D0h]
    mov dl,0
    call c0
    mov dl,1
    call c0
    pop ecx
    jmp dword ptr [st_r2]

c0:    cmp byte ptr ds:[esi+0D0h],dl
    je short c1
    cmp byte ptr ds:[esi+0CFh],dl
    jnz short c1
    mov byte ptr ds:[esi+80h],dl
c1:    cmp byte ptr ds:[esi+80h],dl
    jnz short c5
    cmp dword ptr ds:[esi+70h],edi
    je short c5
    fxch st(1)
    fcom qword ptr ds:[esi+40h]
    fstsw ax
    test dl,dl
    jnz short c2
    test ah,5
    jpe short c4
    jmp short c3
c2:    test ah,41h
    jnz short c4
c3:    add dword ptr ds:[esi+70h],ecx
c4:    fxch st(1)
c5: retn

State_Turning endp

Mark, for the demonstration of state 86:

.dat   mark.dat (Size: 61.75 KB / Downloads: 215)
Reply
Thanks given by: Boop


Messages In This Thread
[14/08/09] LF2 DLL Framework - by Boop - 03-01-2009, 03:06 PM
RE: [Concept/Project]DLL - by Ascor - 03-01-2009, 04:54 PM
RE: [Concept/Project]DLL - by genevrier - 03-13-2009, 05:55 AM
RE: [Concept/Project]DLL - by Ramond - 03-01-2009, 09:57 PM
RE: [Concept/Project]DLL - by Yinseko - 03-02-2009, 03:56 PM
RE: [12/3/09] LF2 DLL Framework - by Boop - 03-12-2009, 04:49 PM
RE: [12/3/09] LF2 DLL Framework - by Boop - 03-13-2009, 01:03 PM
RE: [12/3/09] LF2 DLL Framework - by genevrier - 03-18-2009, 03:10 AM
RE: [12/3/09] LF2 DLL Framework - by Boop - 03-18-2009, 06:42 AM
RE: [21/3/09] LF2 DLL Framework - by Boop - 03-21-2009, 07:47 PM
RE: [21/3/09] LF2 DLL Framework - by genevrier - 03-25-2009, 04:41 PM
RE: [28/3/09] LF2 DLL Framework - by Boop - 03-29-2009, 07:59 AM
RE: [28/3/09] LF2 DLL Framework - by genevrier - 03-29-2009, 10:34 AM
RE: [28/3/09] LF2 DLL Framework - by Yinseko - 03-29-2009, 11:48 AM
RE: [28/3/09] LF2 DLL Framework - by Boop - 03-31-2009, 03:31 PM
RE: [28/3/09] LF2 DLL Framework - by Boop - 04-01-2009, 03:40 PM
RE: [28/3/09] LF2 DLL Framework - by Yinseko - 04-01-2009, 09:31 AM
RE: [28/3/09] LF2 DLL Framework - by Yinseko - 04-01-2009, 06:16 PM
RE: [28/3/09] LF2 DLL Framework - by Boop - 04-01-2009, 07:16 PM
RE: [28/3/09] LF2 DLL Framework - by Yinseko - 04-01-2009, 07:21 PM
RE: [28/3/09] LF2 DLL Framework - by genevrier - 04-03-2009, 03:11 AM
RE: [28/3/09] LF2 DLL Framework - by genevrier - 04-10-2009, 08:26 AM
RE: [28/3/09] LF2 DLL Framework - by Boop - 04-10-2009, 08:58 AM
RE: [28/3/09] LF2 DLL Framework - by genevrier - 04-10-2009, 09:37 AM
RE: [10/04/09] LF2 DLL Framework - by Boop - 04-15-2009, 08:49 PM
RE: [10/04/09] LF2 DLL Framework - by genevrier - 04-16-2009, 01:49 PM
RE: [10/04/09] LF2 DLL Framework - by Boop - 04-16-2009, 05:24 PM
RE: [16/04/09] LF2 DLL Framework - by genevrier - 04-17-2009, 03:11 PM
RE: [17/04/09] LF2 DLL Framework - by Sharingan - 04-25-2009, 11:25 AM
RE: [17/04/09] LF2 DLL Framework - by Boop - 04-25-2009, 11:38 AM
RE: [17/04/09] LF2 DLL Framework - by Azriel - 04-25-2009, 01:10 PM
RE: [17/04/09] LF2 DLL Framework - by Boop - 04-25-2009, 01:19 PM
RE: [17/04/09] LF2 DLL Framework - by Yuan - 05-17-2009, 10:11 AM
RE: [17/04/09] LF2 DLL Framework - by genevrier - 05-17-2009, 12:58 PM
RE: [17/04/09] LF2 DLL Framework - by Boop - 05-17-2009, 10:25 AM
RE: [17/04/09] LF2 DLL Framework - by Yuan - 05-17-2009, 02:07 PM
RE: [17/04/09] LF2 DLL Framework - by 1477 - 05-25-2009, 03:48 AM
RE: [17/04/09] LF2 DLL Framework - by Boop - 05-25-2009, 07:29 AM
RE: [17/04/09] LF2 DLL Framework - by Boop - 06-01-2009, 01:00 PM
RE: [17/04/09] LF2 DLL Framework - by hkmnhkmn - 06-20-2009, 09:22 AM
RE: [17/04/09] LF2 DLL Framework - by Boop - 06-20-2009, 09:37 AM
RE: [17/04/09] LF2 DLL Framework - by 1477 - 06-22-2009, 02:33 AM
RE: [17/04/09] LF2 DLL Framework - by 1477 - 06-29-2009, 05:21 AM
RE: [17/04/09] LF2 DLL Framework - by Boop - 06-29-2009, 03:22 PM
RE: [17/04/09] LF2 DLL Framework - by hkmnhkmn - 07-03-2009, 12:28 PM
RE: [17/04/09] LF2 DLL Framework - by Boop - 07-03-2009, 12:35 PM
RE: [17/04/09] LF2 DLL Framework - by Boop - 07-21-2009, 01:21 PM
RE: [17/04/09] LF2 DLL Framework - by TheNave - 07-21-2009, 03:04 PM
RE: [17/04/09] LF2 DLL Framework - by genevrier - 07-30-2009, 07:29 PM
RE: [17/04/09] LF2 DLL Framework - by TheNave - 07-30-2009, 09:19 PM
RE: [17/04/09] LF2 DLL Framework - by genevrier - 08-01-2009, 03:22 AM
RE: [17/04/09] LF2 DLL Framework - by TheNave - 08-01-2009, 09:00 AM
RE: [01/08/09] LF2 DLL Framework - by Boop - 08-02-2009, 04:16 PM
RE: [01/08/09] LF2 DLL Framework - by 1477 - 08-03-2009, 05:26 AM
RE: [02/08/09] LF2 DLL Framework - by Boop - 08-09-2009, 07:17 PM
RE: [02/08/09] LF2 DLL Framework - by SortaGuy - 08-10-2009, 06:56 PM
RE: [02/08/09] LF2 DLL Framework - by Boop - 08-10-2009, 09:36 PM
RE: [02/08/09] LF2 DLL Framework - by hkmnhkmn - 08-11-2009, 01:47 AM
RE: [02/08/09] LF2 DLL Framework - by Boop - 08-12-2009, 04:27 PM
RE: [12/08/09] LF2 DLL Framework - by Silverthorn - 08-13-2009, 04:06 PM
RE: [14/08/09] LF2 DLL Framework - by Boop - 08-16-2009, 01:17 PM
RE: [14/08/09] LF2 DLL Framework - by Buxie - 08-25-2009, 03:57 PM
RE: [14/08/09] LF2 DLL Framework - by Boop - 08-29-2009, 07:05 AM
RE: [14/08/09] LF2 DLL Framework - by hkmnhkmn - 08-29-2009, 06:00 AM
RE: [14/08/09] LF2 DLL Framework - by Buxie - 08-29-2009, 08:10 AM
RE: [14/08/09] LF2 DLL Framework - by Boop - 08-29-2009, 08:13 AM
RE: [14/08/09] LF2 DLL Framework - by TheNave - 09-02-2009, 06:50 AM
RE: [14/08/09] LF2 DLL Framework - by George - 09-10-2009, 05:06 PM
RE: [14/08/09] LF2 DLL Framework - by TheNave - 09-10-2009, 05:38 PM
RE: [14/08/09] LF2 DLL Framework - by George - 09-10-2009, 05:51 PM
RE: [14/08/09] LF2 DLL Framework - by George - 09-12-2009, 09:31 AM
RE: [14/08/09] LF2 DLL Framework - by hkmnhkmn - 09-18-2009, 12:09 PM
RE: [14/08/09] LF2 DLL Framework - by Divisor - 09-22-2009, 07:13 PM
RE: [14/08/09] LF2 DLL Framework - by Hax0r - 09-18-2009, 10:32 PM
RE: [14/08/09] LF2 DLL Framework - by Buxie - 09-19-2009, 04:24 AM
RE: [14/08/09] LF2 DLL Framework - by RenanDez - 09-19-2009, 06:39 AM
RE: [14/08/09] LF2 DLL Framework - by Hax0r - 09-22-2009, 07:04 PM
RE: [14/08/09] LF2 DLL Framework - by Kiba - 01-03-2010, 06:48 AM
RE: [14/08/09] LF2 DLL Framework - by vandesdelca - 01-30-2010, 11:03 PM
RE: [14/08/09] LF2 DLL Framework - by TheNave - 01-31-2010, 12:01 AM
RE: [14/08/09] LF2 DLL Framework - by vandesdelca - 02-01-2010, 08:06 AM
RE: [14/08/09] LF2 DLL Framework - by hkmnhkmn - 01-11-2011, 07:01 AM
RE: [14/08/09] LF2 DLL Framework - by Boop - 01-11-2011, 07:58 PM
RE: [14/08/09] LF2 DLL Framework - by hkmnhkmn - 01-17-2011, 02:25 PM
RE: [14/08/09] LF2 DLL Framework - by Boop - 01-17-2011, 06:05 PM
RE: [14/08/09] LF2 DLL Framework - by hkmnhkmn - 01-18-2011, 09:41 AM



Users browsing this thread: 36 Guest(s)