TwMS v147.4_ICS_跳怪控制
//TWMS147.4 跳怪控制 ICS
//更新: (RW)FOREVER
[ENABLE]
Alloc(MobJumpControl, 128)
Alloc(MobJumpKey, 4)
RegisterSymbol(MobJumpKey)
Label(MobJumpControlMain)
MobJumpKey:
// 1:怪物不跳
// 2:怪物狂跳
// 其他:不控制
DD 2
MobJumpControl:
Cmp [Esp+1C], 00949085
Jne 007007BD
Mov [Esp+1C], MobJumpControlMain
Jmp 007007BD
MobJumpControlMain:
Push 05
Xor Edx, Edx
Pop Ecx
Div Ecx
Cmp [MobJumpKey], 1
Je 00949099 // Jne Adr
Cmp [MobJumpKey], 2
Je 00949090 // Mov Ecx, Esi
Jmp 0094908C // Test Edx, Edx
00D927AC:
DD MobJumpControl
[DISABLE]
00D927AC:
DD 007007BD
Dealloc(MobJumpControl)
Dealloc(MobJumpKey)
UnregisterSymbol(MobJumpKey)
//更新: (RW)FOREVER
[ENABLE]
Alloc(MobJumpControl, 128)
Alloc(MobJumpKey, 4)
RegisterSymbol(MobJumpKey)
Label(MobJumpControlMain)
MobJumpKey:
// 1:怪物不跳
// 2:怪物狂跳
// 其他:不控制
DD 2
MobJumpControl:
Cmp [Esp+1C], 00949085
Jne 007007BD
Mov [Esp+1C], MobJumpControlMain
Jmp 007007BD
MobJumpControlMain:
Push 05
Xor Edx, Edx
Pop Ecx
Div Ecx
Cmp [MobJumpKey], 1
Je 00949099 // Jne Adr
Cmp [MobJumpKey], 2
Je 00949090 // Mov Ecx, Esi
Jmp 0094908C // Test Edx, Edx
00D927AC:
DD MobJumpControl
[DISABLE]
00D927AC:
DD 007007BD
Dealloc(MobJumpControl)
Dealloc(MobJumpKey)
UnregisterSymbol(MobJumpKey)
留言
張貼留言