neilwaker 發表於 2017-4-19 19:09:15

TwMS v197.3 CRC 人物移動加速

本帖最後由 neilwaker 於 2017-4-20 22:01 編輯


4/20 修正disable部分錯誤


// TwMS v197.3 CRC 人物移動加速
// Author: kkmomo

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,

SpeedChk:
        test esi,esi
        je Normal

        dec esi
        push esi
        push ecx
        call 0081AA10
        pop ecx
        pop esi
        jmp SpeedChk

Normal:
        pop esi
        jmp 01A3B7A5

//-----------------------
SetFakeTime:
        cmp ,00
        je InitFakeTime

        mov eax,
        add eax,000001FE

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

//-----------------------
01A3B7A0:
        jmp CharSpeedUp

032EB122:
        jmp SetFakeTime

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

01A3B7A0:
        call 0081AA10

032EB122:
        DB 50 52 51 60 61

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