彩虹 發表於 2017-6-21 15:53:41

TwMS_v199.1_CRC_人物移動加速

//TwMS_v199.1_CRC_人物移動加速

Alloc(CharSpeedUp, 256)
Alloc(Speed, 04)
Alloc(FakeTime, 04)
RegisterSymbol(Speed)
Label(SpeedChk)
Label(Normal)
Label(SetFakeTime)
Label(InitFakeTime)

Speed:
DD 05

FakeTime:
DD 00

//-----------------------
CharSpeedUp:
push esi
mov esi,

SpeedChk:
test esi,esi
je Normal
dec esi
push esi
push ecx
call 0083CC90
pop ecx
pop esi
jmp SpeedChk

Normal:
pop esi
jmp 01B1E30D

//-----------------------
SetFakeTime:
cmp ,00
je InitFakeTime
mov eax,
add eax,000001FE

InitFakeTime:
mov ,eax
DB 50 52 51 60 61
jmp 032E02F5

//-----------------------
01B1E308:
jmp CharSpeedUp

032E02F0:
jmp SetFakeTime

//-----------------------

01B1E308:
call 0083CC90

032E02F0:
DB 50 52 51 60 61

DeAlloc(CharSpeedUp)
DeAlloc(FakeTime)
DeAlloc(Speed)
UnRegisterSymbol(Speed)
頁: [1]
查看完整版本: TwMS_v199.1_CRC_人物移動加速