Formatted and Commented the Add/Browse Cheats window
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1698,7 +1698,7 @@ GUICheatKeys:
|
|||||||
sub esi,[GUIcurrentcheatcursloc]
|
sub esi,[GUIcurrentcheatcursloc]
|
||||||
sub esi,[GUIcurrentcheatcursloc]
|
sub esi,[GUIcurrentcheatcursloc]
|
||||||
add esi,cheatdata
|
add esi,cheatdata
|
||||||
mov al,[GUICheatText9]
|
mov al,[GUICheatTextZ1]
|
||||||
cmp al,'a'
|
cmp al,'a'
|
||||||
jae .lowletter
|
jae .lowletter
|
||||||
cmp al,'A'
|
cmp al,'A'
|
||||||
@@ -1711,7 +1711,7 @@ GUICheatKeys:
|
|||||||
.letter
|
.letter
|
||||||
sub al,'A'-10
|
sub al,'A'-10
|
||||||
.num
|
.num
|
||||||
mov ah,[GUICheatText9+1]
|
mov ah,[GUICheatTextZ1+1]
|
||||||
cmp ah,'a'
|
cmp ah,'a'
|
||||||
jae .lowletter2
|
jae .lowletter2
|
||||||
cmp ah,'A'
|
cmp ah,'A'
|
||||||
@@ -1728,7 +1728,7 @@ GUICheatKeys:
|
|||||||
and ah,0Fh
|
and ah,0Fh
|
||||||
or al,ah
|
or al,ah
|
||||||
mov [esi+1],al
|
mov [esi+1],al
|
||||||
mov word[GUICheatText9],0
|
mov word[GUICheatTextZ1],0
|
||||||
pushad
|
pushad
|
||||||
call EnableCheatCodeNoPrevMod
|
call EnableCheatCodeNoPrevMod
|
||||||
popad
|
popad
|
||||||
@@ -1743,8 +1743,8 @@ GUICheatKeys:
|
|||||||
dec byte[GUICheatPosA]
|
dec byte[GUICheatPosA]
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov al,[GUICheatPosA]
|
mov al,[GUICheatPosA]
|
||||||
mov byte[GUICheatText9+eax],'_'
|
mov byte[GUICheatTextZ1+eax],'_'
|
||||||
mov byte[GUICheatText9+eax+1],0
|
mov byte[GUICheatTextZ1+eax+1],0
|
||||||
ret
|
ret
|
||||||
.nobacksp
|
.nobacksp
|
||||||
cmp dh,0
|
cmp dh,0
|
||||||
@@ -1760,9 +1760,9 @@ GUICheatKeys:
|
|||||||
mov byte[GUICCFlash],0
|
mov byte[GUICCFlash],0
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov al,[GUICheatPosA]
|
mov al,[GUICheatPosA]
|
||||||
mov byte[GUICheatText9+eax],dh
|
mov byte[GUICheatTextZ1+eax],dh
|
||||||
mov byte[GUICheatText9+eax+1],'_'
|
mov byte[GUICheatTextZ1+eax+1],'_'
|
||||||
mov byte[GUICheatText9+eax+2],0
|
mov byte[GUICheatTextZ1+eax+2],0
|
||||||
inc byte[GUICheatPosA]
|
inc byte[GUICheatPosA]
|
||||||
.nochar
|
.nochar
|
||||||
ret
|
ret
|
||||||
@@ -1781,8 +1781,8 @@ GUICheatKeys:
|
|||||||
dec byte[GUICheatPosB]
|
dec byte[GUICheatPosB]
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov al,[GUICheatPosB]
|
mov al,[GUICheatPosB]
|
||||||
mov byte[GUICheatTextA+eax],'_'
|
mov byte[GUICheatTextZ2+eax],'_'
|
||||||
mov byte[GUICheatTextA+eax+1],0
|
mov byte[GUICheatTextZ2+eax+1],0
|
||||||
ret
|
ret
|
||||||
.nobackspb
|
.nobackspb
|
||||||
cmp dh,0
|
cmp dh,0
|
||||||
@@ -1796,9 +1796,9 @@ GUICheatKeys:
|
|||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov byte[GUICCFlash],0
|
mov byte[GUICCFlash],0
|
||||||
mov al,[GUICheatPosB]
|
mov al,[GUICheatPosB]
|
||||||
mov byte[GUICheatTextA+eax],dh
|
mov byte[GUICheatTextZ2+eax],dh
|
||||||
mov byte[GUICheatTextA+eax+1],'_'
|
mov byte[GUICheatTextZ2+eax+1],'_'
|
||||||
mov byte[GUICheatTextA+eax+2],0
|
mov byte[GUICheatTextZ2+eax+2],0
|
||||||
inc byte[GUICheatPosB]
|
inc byte[GUICheatPosB]
|
||||||
.nocharb
|
.nocharb
|
||||||
ret
|
ret
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user