- UID
- 109049
- 帖子
- 1758
- 主題
- 65
- 精華
- 9
- 積分
- 1090
- 楓幣
- 5887
- 威望
- 879
- 存款
- 125152
- 贊助金額
- 0
- 推廣
- 0
- GP
- 5727
- 閱讀權限
- 100
- 在線時間
- 621 小時
- 註冊時間
- 2015-8-4
- 最後登入
- 2024-11-25
|
// TwMs v197.1 CRC 人物移動加速
// Author: kkmomo
[Enable]
Alloc(CharSpeedUp, 256)
Alloc(Speed, 04)
Alloc(FakeTime, 04)
RegisterSymbol(Speed)
Label(SpeedChk)
Label(Normal)
Label(SetFakeTime)
Label(InitFakeTime)
Speed:
DD 03
FakeTime:
DD 00
//-----------------------
CharSpeedUp:
push esi
mov esi,[Speed]
SpeedChk:
test esi,esi
je Normal
dec esi
push esi
push ecx
call 0081A9D0
pop ecx
pop esi
jmp SpeedChk
Normal:
pop esi
jmp 01A3B6B5
//-----------------------
SetFakeTime:
cmp [FakeTime],00
je InitFakeTime
mov eax,[FakeTime]
add eax,000001FE
InitFakeTime:
mov [FakeTime],eax
jmp 032D0866
//-----------------------
01A3B6B0:
jmp CharSpeedUp
032D0858:
jmp SetFakeTime
//-----------------------
[Disable]
01A3B6B0:
call 0081A9D0
032D0858:
db E9 09 00 00 00
DeAlloc(CharSpeedUp)
DeAlloc(FakeTime)
DeAlloc(Speed)
UnRegisterSymbol(Speed)
|
|