more formatting/commenting, done for the night.
This commit is contained in:
@@ -718,39 +718,31 @@ GUISaveKeys:
|
|||||||
ja .nocap
|
ja .nocap
|
||||||
sub dh,'z'-'Z'
|
sub dh,'z'-'Z'
|
||||||
.nocap
|
.nocap
|
||||||
|
cmp dh,'I' ; Checkboxes
|
||||||
;Checkboxes
|
|
||||||
cmp dh,'I'
|
|
||||||
jne .noautoincsave
|
jne .noautoincsave
|
||||||
xor byte[AutoIncSaveSlot],1
|
xor byte[AutoIncSaveSlot],1
|
||||||
mov byte[firstsaveinc],1
|
mov byte[firstsaveinc],1
|
||||||
.noautoincsave
|
.noautoincsave
|
||||||
|
|
||||||
cmp dh,'C'
|
cmp dh,'C'
|
||||||
jne .nosramcheck
|
jne .nosramcheck
|
||||||
xor byte[SRAMSave5Sec],1
|
xor byte[SRAMSave5Sec],1
|
||||||
.nosramcheck
|
.nosramcheck
|
||||||
|
|
||||||
cmp dh,'S'
|
cmp dh,'S'
|
||||||
jne .nostartsave
|
jne .nostartsave
|
||||||
xor byte[LatestSave],1
|
xor byte[LatestSave],1
|
||||||
.nostartsave
|
.nostartsave
|
||||||
|
|
||||||
cmp dh,'A'
|
cmp dh,'A'
|
||||||
jne .noautostate
|
jne .noautostate
|
||||||
xor byte[AutoState],1
|
xor byte[AutoState],1
|
||||||
.noautostate
|
.noautostate
|
||||||
|
|
||||||
cmp dh,'L'
|
cmp dh,'L'
|
||||||
jne .nosramstate
|
jne .nosramstate
|
||||||
xor byte[SRAMState],1
|
xor byte[SRAMState],1
|
||||||
.nosramstate
|
.nosramstate
|
||||||
|
|
||||||
cmp dh,'P'
|
cmp dh,'P'
|
||||||
jne .nopauseload
|
jne .nopauseload
|
||||||
xor byte[PauseLoad],1
|
xor byte[PauseLoad],1
|
||||||
.nopauseload
|
.nopauseload
|
||||||
|
|
||||||
cmp dh,'R'
|
cmp dh,'R'
|
||||||
jne .nopauserewind
|
jne .nopauserewind
|
||||||
xor byte[PauseRewind],1
|
xor byte[PauseRewind],1
|
||||||
@@ -764,27 +756,22 @@ GUIAddonKeys:
|
|||||||
ja .nocap
|
ja .nocap
|
||||||
sub dh,'z'-'Z'
|
sub dh,'z'-'Z'
|
||||||
.nocap
|
.nocap
|
||||||
|
cmp dh,'N' ;Radio Buttons
|
||||||
cmp dh,'N'
|
|
||||||
jne .nonone
|
jne .nonone
|
||||||
mov byte[snesmouse],0
|
mov byte[snesmouse],0
|
||||||
.nonone
|
.nonone
|
||||||
|
|
||||||
cmp dh,'1'
|
cmp dh,'1'
|
||||||
jne .nomouse1
|
jne .nomouse1
|
||||||
mov byte[snesmouse],1
|
mov byte[snesmouse],1
|
||||||
.nomouse1
|
.nomouse1
|
||||||
|
|
||||||
cmp dh,'2'
|
cmp dh,'2'
|
||||||
jne .nomouse2
|
jne .nomouse2
|
||||||
mov byte[snesmouse],2
|
mov byte[snesmouse],2
|
||||||
.nomouse2
|
.nomouse2
|
||||||
|
|
||||||
cmp dh,'S'
|
cmp dh,'S'
|
||||||
jne .nosuperscope
|
jne .nosuperscope
|
||||||
mov byte[snesmouse],3
|
mov byte[snesmouse],3
|
||||||
.nosuperscope
|
.nosuperscope
|
||||||
|
|
||||||
cmp dh,'L'
|
cmp dh,'L'
|
||||||
jne .nolethalgun
|
jne .nolethalgun
|
||||||
mov byte[snesmouse],4
|
mov byte[snesmouse],4
|
||||||
@@ -797,33 +784,26 @@ GUIChipKeys:
|
|||||||
ja .nocap
|
ja .nocap
|
||||||
sub dh,'z'-'Z'
|
sub dh,'z'-'Z'
|
||||||
.nocap
|
.nocap
|
||||||
|
cmp dh,'1' ;Checkboxes
|
||||||
;Checkboxes
|
|
||||||
cmp dh,'1'
|
|
||||||
jne .nonssdip1
|
jne .nonssdip1
|
||||||
xor byte[nssdip1],1
|
xor byte[nssdip1],1
|
||||||
.nonssdip1
|
.nonssdip1
|
||||||
|
|
||||||
cmp dh,'2'
|
cmp dh,'2'
|
||||||
jne .nonssdip2
|
jne .nonssdip2
|
||||||
xor byte[nssdip2],1
|
xor byte[nssdip2],1
|
||||||
.nonssdip2
|
.nonssdip2
|
||||||
|
|
||||||
cmp dh,'3'
|
cmp dh,'3'
|
||||||
jne .nonssdip3
|
jne .nonssdip3
|
||||||
xor byte[nssdip3],1
|
xor byte[nssdip3],1
|
||||||
.nonssdip3
|
.nonssdip3
|
||||||
|
|
||||||
cmp dh,'4'
|
cmp dh,'4'
|
||||||
jne .nonssdip4
|
jne .nonssdip4
|
||||||
xor byte[nssdip4],1
|
xor byte[nssdip4],1
|
||||||
.nonssdip4
|
.nonssdip4
|
||||||
|
|
||||||
cmp dh,'5'
|
cmp dh,'5'
|
||||||
jne .nonssdip5
|
jne .nonssdip5
|
||||||
xor byte[nssdip5],1
|
xor byte[nssdip5],1
|
||||||
.nonssdip5
|
.nonssdip5
|
||||||
|
|
||||||
cmp dh,'6'
|
cmp dh,'6'
|
||||||
jne .nonssdip6
|
jne .nonssdip6
|
||||||
xor byte[nssdip6],1
|
xor byte[nssdip6],1
|
||||||
|
|||||||
@@ -2565,10 +2565,11 @@ SECTION .text
|
|||||||
DisplayGUICheatClick2:
|
DisplayGUICheatClick2:
|
||||||
GUISlidebarPostImpl 231,28,238,100,.scrollup,.scrolldown,7,12,GUIcurrentcheatviewloc,GUIcurrentcheatcursloc,NumCheats,GUIBlankVar,1
|
GUISlidebarPostImpl 231,28,238,100,.scrollup,.scrolldown,7,12,GUIcurrentcheatviewloc,GUIcurrentcheatcursloc,NumCheats,GUIBlankVar,1
|
||||||
GUIPostWinBoxMove 5,22,229,22+12*7,GUIcurrentcheatviewloc,GUIcurrentcheatcursloc,NumCheats,.scrollup,.scrolldown,DisplayGUICheatClick.skipscrol,12
|
GUIPostWinBoxMove 5,22,229,22+12*7,GUIcurrentcheatviewloc,GUIcurrentcheatcursloc,NumCheats,.scrollup,.scrolldown,DisplayGUICheatClick.skipscrol,12
|
||||||
|
|
||||||
DisplayGUICheatClick:
|
DisplayGUICheatClick:
|
||||||
GUIBoxVar 5,20,181,110,GUIcurrentcheatwin,0
|
GUIBoxVar 5,20,181,110,GUIcurrentcheatwin,0 ; Main Box
|
||||||
GUIBoxVar 82,129,173,136,GUIcurrentcheatwin,1
|
GUIBoxVar 82,129,173,136,GUIcurrentcheatwin,1 ; Enter Code Box
|
||||||
GUIBoxVar 82,140,196,147,GUIcurrentcheatwin,2
|
GUIBoxVar 82,140,196,147,GUIcurrentcheatwin,2 ; Description Box
|
||||||
; SlideBar Implementation
|
; SlideBar Implementation
|
||||||
GUISlidebarImpl 231,28,238,100,GUICStA,12,GUIcurrentcheatviewloc,GUIcurrentcheatcursloc,NumCheats,7
|
GUISlidebarImpl 231,28,238,100,GUICStA,12,GUIcurrentcheatviewloc,GUIcurrentcheatcursloc,NumCheats,7
|
||||||
.skipscrol
|
.skipscrol
|
||||||
@@ -2576,14 +2577,13 @@ DisplayGUICheatClick:
|
|||||||
jne near .nowin
|
jne near .nowin
|
||||||
GUIWinControl 5,23,229,21+12*7,GUIBlankVar,GUIcurrentcheatviewloc,NumCheats,22,7,GUIcurrentcheatcursloc,3,7,30
|
GUIWinControl 5,23,229,21+12*7,GUIBlankVar,GUIcurrentcheatviewloc,NumCheats,22,7,GUIcurrentcheatcursloc,3,7,30
|
||||||
.nowin
|
.nowin
|
||||||
GUIPHoldbutton 5,113,47,124,5
|
GUIPHoldbutton 5,113,47,124,5 ; Buttons
|
||||||
GUIPHoldbutton 52,113,94,124,6
|
GUIPHoldbutton 52,113,94,124,6
|
||||||
GUIPHoldbutton 99,113,141,124,7
|
GUIPHoldbutton 99,113,141,124,7
|
||||||
GUIPHoldbutton 146,113,188,124,8
|
GUIPHoldbutton 146,113,188,124,8
|
||||||
GUIPHoldbutton 212,134,236,145,9
|
GUIPHoldbutton 212,134,236,145,9
|
||||||
GUIPHoldbutton 193,113,235,124,33
|
GUIPHoldbutton 193,113,235,124,33
|
||||||
|
GUIClickCButton5 11,186,byte[AutoLoadCht],1 ; Checkbox
|
||||||
GUIClickCButton5 11,186,byte[AutoLoadCht],1
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
DisplayNetOptnsClick:
|
DisplayNetOptnsClick:
|
||||||
@@ -3161,7 +3161,6 @@ DisplayGUIAddOnClick:
|
|||||||
GUIPButtonHole 9,35,byte[snesmouse],2
|
GUIPButtonHole 9,35,byte[snesmouse],2
|
||||||
GUIPButtonHole 9,45,byte[snesmouse],3
|
GUIPButtonHole 9,45,byte[snesmouse],3
|
||||||
GUIPButtonHole 9,55,byte[snesmouse],4
|
GUIPButtonHole 9,55,byte[snesmouse],4
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
DisplayGUIChipClick
|
DisplayGUIChipClick
|
||||||
|
|||||||
Reference in New Issue
Block a user