- UID
- 119417
- 帖子
- 10957
- 主題
- 4281
- 精華
- 0
- 積分
- 5353
- 楓幣
- 13694
- 威望
- 5256
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 684
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1943 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-11-27
|
- //TwMs v201.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 05
- FakeTime:
- DD 00
- //-----------------------
- CharSpeedUp:
- push esi
- mov esi,[Speed]
- SpeedChk:
- test esi,esi
- je Normal
- dec esi
- push esi
- push ecx
- call 0085DFF0
- pop ecx
- pop esi
- jmp SpeedChk
- Normal:
- pop esi
- jmp 01BD95D3
- //-----------------------
- SetFakeTime:
- cmp [FakeTime],00
- je InitFakeTime
- mov eax,[FakeTime]
- add eax,000001FE
- InitFakeTime:
- mov [FakeTime],eax
- push edx
- jng 0348DFDB
- jmp 0348DFED
- //-----------------------
- 01BD95CE:
- jmp CharSpeedUp
- 0348DFD4:
- jmp SetFakeTime
- //-----------------------
- [Disable]
- 01BD95CE:
- call 0085DFF0
- 0348DFD4:
- push edx
- DeAlloc(CharSpeedUp)
- DeAlloc(FakeTime)
- DeAlloc(Speed)
- UnRegisterSymbol(Speed)
複製代碼 |
|