Changes
Jump to navigation
Jump to search
417 bytes added
, 12:48, 26 January 2022
The script processing of stroke
<syntaxhighlight lang="cpp" line>
u8 state[2] = {0,0};
V-ID/142:99
{
if (opt(0)==0xff){
if (state[0]==0) state[0] = 1;
else state[0] = 0;
}else (opt(0)==0xfe){
state[0]=state[0];
}else {
state[0]=opt(0);
}
if(opt(1)==0xfe){
state[1]=state[1];
}else {
state[1]=opt(1);
}
setStatus(142:99,state);
}
</syntaxhighlight>