Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[ENABLE]
Alloc(StatChange,1024)
Alloc(_str,4)
Alloc(_dex,4)
Alloc(_int,4)
Alloc(_luk,4)
Alloc(_hp,4)
Alloc(_maxhp,4)
Alloc(_mp,4)
Alloc(_maxmp,4)
_str:
DD #999
_dex:
DD #999
_int:
DD #999
_luk:
DD #999
_hp:
DD #10000
_maxhp:
DD #10000
_mp:
DD #10000
_maxmp:
DD #10000
StatChange:
mov eax,[_str]
mov [esi+47],eax
mov eax,[_dex]
mov [esi+4F],eax
mov eax,[_int]
mov [esi+57],eax
mov eax,[_luk]
mov [esi+5F],eax
mov eax,[_hp]
mov [esi+67],eax
mov eax,[_maxhp]
mov [esi+6F],eax
mov eax,[_mp]
mov [esi+77],eax
mov eax,[_maxmp]
mov [esi+7F],eax
test byte ptr [ebp+08],40
je 004F0978
jmp 004F094A
004F095E:
jmp StatChange
nop
[DISABLE]
004F095E:
test byte ptr [ebp+08],40
je 004F0978
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment