Fully Functional in-game Calculator (+ Trigger API)

Designed a really awesome, amazing, complicated contraption? Show it off here!

Fully Functional in-game Calculator (+ Trigger API)

Postby AwesomeJRFD » Tue Jul 22, 2014 4:10 am

Calculator
Updated for Last Legacy: Chapter 1 Release Candidate 2!


Anyone who has worked with variables and triggers knows that you cannot multiply or divide variables.... Or can you?

I decided to find a way to manually make working multiplication and division algorithms within LL for people to use, and I think I have succeeded. I have made this calculator level to show it off.

Keep in mind that decimals will always be rounded up no matter what. This is a bug.




v2.4:
(LL version: Ch.1 RC2)
Code: Select all
55x16~bX.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX166~~8;128;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25C0%3C/font%3E|8;192;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25B6%3C/font%3E|8;296;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E0%3C/font%3E|8;360;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E1%3C/font%3E|8;424;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E2%3C/font%3E|8;488;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E3%3C/font%3E|8;552;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E4%3C/font%3E|8;616;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E5%3C/font%3E|8;680;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E6%3C/font%3E|8;744;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E7%3C/font%3E|8;808;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E8%3C/font%3E|8;872;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E9%3C/font%3E|8;968;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E+%3C/font%3E|8;1032;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E-%3C/font%3E|8;1096;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%u2715%3C/font%3E|8;1160;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%F7%3C/font%3E|8;1480;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%3D%3C/font%3E|8;1576;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3EC%3C/font%3E|8;1312;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%7C%7C%3C/font%3E~5;1104;416;0;8;0;set,g_OP,3:sleep,20:turnon,this|5;1168;416;0;8;0;set,g_OP,4:sleep,20:turnon,this|5;1040;416;0;8;0;set,g_OP,2:sleep,20:turnon,this|5;976;416;0;8;0;set,g_OP,1:sleep,20:turnon,this|5;304;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,0:goto,12:set,g_NUML2,0:goto,12:set,g_NUMR1,0:goto,12:set,g_NUMR2,0:sleep,20:turnon,this|5;144;416;0;5;0;branch,1,3,g_SEL,1:set,g_SEL,4:goto,4:sub,g_SEL,g_SEL,1:sleep,20:turnon,this|5;208;416;0;5;0;branch,2,3,g_SEL,4:set,g_SEL,1:goto,4:add,g_SEL,g_SEL,1:sleep,20:turnon,this|5;368;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,1:goto,12:set,g_NUML2,1:goto,12:set,g_NUMR1,1:goto,12:set,g_NUMR2,1:sleep,20:turnon,this|5;432;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,2:goto,12:set,g_NUML2,2:goto,12:set,g_NUMR1,2:goto,12:set,g_NUMR2,2:sleep,20:turnon,this|5;496;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,3:goto,12:set,g_NUML2,3:goto,12:set,g_NUMR1,3:goto,12:set,g_NUMR2,3:sleep,20:turnon,this|5;560;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,4:goto,12:set,g_NUML2,4:goto,12:set,g_NUMR1,4:goto,12:set,g_NUMR2,4:sleep,20:turnon,this|5;624;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,5:goto,12:set,g_NUML2,5:goto,12:set,g_NUMR1,5:goto,12:set,g_NUMR2,5:sleep,20:turnon,this|5;688;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,6:goto,12:set,g_NUML2,6:goto,12:set,g_NUMR1,6:goto,12:set,g_NUMR2,6:sleep,20:turnon,this|5;752;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,7:goto,12:set,g_NUML2,7:goto,12:set,g_NUMR1,7:goto,12:set,g_NUMR2,7:sleep,20:turnon,this|5;816;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,8:goto,12:set,g_NUML2,8:goto,12:set,g_NUMR1,8:goto,12:set,g_NUMR2,8:sleep,20:turnon,this|5;880;416;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,9:goto,12:set,g_NUML2,9:goto,12:set,g_NUMR1,9:goto,12:set,g_NUMR2,9:sleep,20:turnon,this|8;1376;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%5E2%3C/font%3E|8;1224;352;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%25%3C/font%3E|5;1584;416;0;4;0;stoptrigger,equals:turnon,equalsbutton:set,g_NUML1,0:set,g_NUML2,0:set,g_NUMR1,0:set,g_NUMR2,0:set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_displayANS,0:set,g_OP,1:set,g_doAbsVal,0:set,g_doSquare,0:set,g_SEL,1:set,g_M1,0:set,g_M2,0:set,g_M3,0:set,g_D1,0:set,g_D2,0:set,g_D3,0:sleep,20:turnon,this|5:equalsbutton;1488;416;0;7;0;activate,equals|5;1328;416;0;2;0;branch,5,2,g_doAbsVal,0:branch,5,4,g_doAbsVal,1:set,g_doAbsVal,1:goto,5:set,g_doAbsVal,0:sleep,20:turnon,this|5;1392;416;0;2;0;branch,5,2,g_doSquare,0:branch,5,4,g_doSquare,1:set,g_doSquare,1:goto,5:set,g_doSquare,0:sleep,20:turnon,this|5;1232;416;0;8;0;set,g_OP,5:sleep,20:turnon,this~0;72;416;1;0;0|2;1680;416~6:Divide;1160;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers/variables%3A%0D%0D%28%22x%22%20is%20the%20dividend%3B%20%22y%22%20is%20the%20divisor%29%0D%0D1.%20%20Set%20g_D1%20%3D%20x%0D2.%20%20Set%20g_D2%20%3D%20y%0D3.%20%20Activate%3A%20%22Divide%22%0D4.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20quotient%20%28x/y%29%20stored%20in%20g_D3.%0D%0D:branch,5,12,g_D1,0:branch,5,12,g_D2,0:branch,4,14,g_D1,g_D2:set,a,g_D1:set,b,g_D2:set,c,1:sub,a,a,g_D2:add,c,c,1:branch,1,7,a,g_D2:set,g_D3,c:exit:set,g_D3,0:exit:set,g_D3,1|6:display;-16;480;16;16;0;1;branch,5,6,g_OP,1:branch,5,8,g_OP,2:branch,5,10,g_OP,3:branch,5,12,g_OP,4:branch,5,14,g_OP,5:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20+%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,15:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20-%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,15:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20X%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,15:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20%F7%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,15:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20%25%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6;40;352;64;64;0;1;set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_SEL,1:set,g_OP,1:set,g_doAbsVal,0:activate,select:activate,display:activate,answerdisplay:activate,absvaldisplay:activate,squaredisplay|6:select;-16;448;16;16;0;1;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:sleep,4:goto,0|6:answerdisplay;-16;496;16;16;0;1;subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%3D%0D%0D%7B%24g_displayANS%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:compile;1472;512;16;16;0;1;set,g_M1,g_NUML1:set,g_M2,10:activate,Multiply:sleep,1:add,g_NUM1,g_M3,g_NUML2:sleep,1:set,g_M1,g_NUMR1:set,g_M2,10:activate,Multiply:sleep,1:add,g_NUM2,g_M3,g_NUMR2:set,g_M3,0|6:equals;1488;512;16;16;0;1;activate,compile:sleep,4:branch,5,8,g_OP,1:branch,5,10,g_OP,2:branch,5,12,g_OP,3:branch,5,18,g_OP,4:branch,5,24,g_OP,5:exit:add,g_ANS,g_NUM1,g_NUM2:goto,29:sub,g_ANS,g_NUM1,g_NUM2:goto,29:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,Multiply:sleep,3:set,g_ANS,g_M3:goto,29:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,Divide:sleep,1:set,g_ANS,g_D3:goto,29:set,g_MOD1,g_NUM1:set,g_MOD2,g_NUM2:activate,Modulo:sleep,1:set,g_ANS,g_MOD3:branch,5,34,g_doAbsVal,0:set,g_ABS,g_ANS:activate,AbsoluteValue:sleep,1:set,g_ANS,g_ABS:branch,5,42,g_doSquare,0:set,g_SQ,g_ANS:activate,Square:sleep,5:branch,5,42,g_ANS,0:branch,5,42,g_ANS,1:branch,5,37,g_SQ,g_ANS:set,g_ANS,g_SQ:set,g_displayANS,g_ANS:sleepground:turnon,equalsbutton|6:AbsoluteValue;1320;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20find%20the%20absolute%20value%20of%20a%20number/variable%3A%0D%0D%28%22x%22%20is%20the%20number/variable%20you%20want%20to%20find%20the%20absolute%20value%20of%29%0D%0D1.%20%20Set%20g_ABS%20%3D%20x%0D2.%20%20Activate%3A%20%22AbsoluteValue%22%0D3.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20absolute%20value%20stored%20in%20g_ABS.%0D%0D:branch,2,3,g_ABS,0:exit:add,a,g_ABS,g_ABS:sub,g_ABS,g_ABS,a|6:absvaldisplay;-16;464;16;16;0;1;branch,5,2,g_doAbsVal,0:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7C%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7C%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:Multiply;1096;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers/variables%3A%0D%0D%28%22x%22%20and%20%22y%22%20are%20the%20numbers/variables%20you%20want%20to%20multiply%29%0D%0D%28%22z%22%20is%20the%20amount%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%20are%20multiplying%20by.%20You%20can%20fit%20about%20n*41%20per%20frame%29%0D%0D1.%20%20Set%20g_M1%20%3D%20x%0D2.%20%20Set%20g_M2%20%3D%20y%0D3.%20%20Activate%3A%20%22Multiply%22%0D4.%20%20Sleep%20z%0D%0DYou%20should%20now%20have%20the%20product%20%28x*y%29%20stored%20in%20g_M3.%0D%0D:branch,5,16,g_M1,0:branch,5,16,g_M2,0:branch,5,14,g_M1,1:branch,5,12,g_M2,1:set,a,g_M1:set,b,g_M2:add,a,a,g_M1:sub,b,b,1:branch,1,7,b,1:set,g_M3,a:exit:set,g_M3,g_M1:exit:set,g_M3,g_M2:exit:set,g_M3,0|6:Square;1384;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20square%20a%20number/variable%3A%0D%0D%28%22x%22%20is%20the%20number/variable%20you%20want%20to%20square%29%0D%0D%28%22z%22%20is%20the%20amount%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%20are%20multiplying%20by.%20You%20can%20fit%20about%20n*41%20per%20frame%29%0D%0D1.%20%20Set%20g_SQ%20%3D%20x%0D2.%20%20Activate%3A%20%22Square%22%0D3.%20%20Sleep%20z%0D%0DYou%20should%20now%20have%20the%20product%20%28x%5E2%29%20stored%20in%20g_SQ.%0D%0D:branch,3,4,g_SQ,0:add,abs,g_SQ,g_SQ:sub,g_SQ,g_SQ,abs:branch,5,15,g_SQ,0:branch,5,15,g_SQ,1:set,a,g_SQ:set,b,g_SQ:set,c,2:add,a,a,g_SQ:sub,b,b,1:branch,1,9,b,1:sub,c,c,1:branch,1,9,c,1:set,g_SQ,a:exit|6:squaredisplay;-32;464;16;16;0;1;branch,5,2,g_doSquare,0:subtitle,3,%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%28%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%29%5E2%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:Modulo;1224;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20find%20the%20modulo%20of%20two%20numbers/variables%3A%0D%0D%28%22x%22%20is%20the%20first%20number/variable%3B%20%22y%22%20is%20the%20second%20number/variable%29%0D%0D1.%20%20Set%20g_MOD1%20%3D%20x%0D2.%20%20Set%20g_MOD2%20%3D%20y%0D3.%20%20Activate%3A%20%22Mod%22%0D4.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20modulo%20%28x%25y%29%20stored%20in%20g_MOD3.%0D%0D:set,a,g_MOD1:set,b,g_MOD2:branch,5,9,a,b:branch,2,7,a,b:sub,a,a,b:goto,4:set,g_MOD3,a:exit:set,g_MOD3,0~Calculator~AwesomeJRFD~0~0;0;0~1~13;0~0;0;3~1387589738~0.4





Info: show
Features:
  • Arrow keys
  • Numbers 0-9
  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Modulo
  • Absolute value
  • Square
  • Equals button
  • Clear button


TO DO:
  • +/- button (for negative numbers)
  • Decimal system (maybe)
  • Powers other than square (maybe)
  • Square roots (also other than square maybe)


Known issues:
  • Decimals are always rounded up when using the divide function.
Please report any other bugs or issues you find.


Trigger API: show
Codes:
Multiply:
Code: Select all
llitem:6:Multiply;1096;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers/variables%3A%0D%0D%28%22x%22%20and%20%22y%22%20are%20the%20numbers/variables%20you%20want%20to%20multiply%29%0D%0D%28%22z%22%20is%20the%20amount%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%20are%20multiplying%20by.%20You%20can%20fit%20about%20n*41%20per%20frame%29%0D%0D1.%20%20Set%20g_M1%20%3D%20x%0D2.%20%20Set%20g_M2%20%3D%20y%0D3.%20%20Activate%3A%20%22Multiply%22%0D4.%20%20Sleep%20z%0D%0DYou%20should%20now%20have%20the%20product%20%28x*y%29%20stored%20in%20g_M3.%0D%0D:branch,5,16,g_M1,0:branch,5,16,g_M2,0:branch,5,14,g_M1,1:branch,5,12,g_M2,1:set,a,g_M1:set,b,g_M2:add,a,a,g_M1:sub,b,b,1:branch,1,7,b,1:set,g_M3,a:exit:set,g_M3,g_M1:exit:set,g_M3,g_M2:exit:set,g_M3,0

Divide:
Code: Select all
llitem:6:Divide;1160;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers/variables%3A%0D%0D%28%22x%22%20is%20the%20dividend%3B%20%22y%22%20is%20the%20divisor%29%0D%0D1.%20%20Set%20g_D1%20%3D%20x%0D2.%20%20Set%20g_D2%20%3D%20y%0D3.%20%20Activate%3A%20%22Divide%22%0D4.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20quotient%20%28x/y%29%20stored%20in%20g_D3.%0D%0D:branch,5,12,g_D1,0:branch,5,12,g_D2,0:branch,4,14,g_D1,g_D2:set,a,g_D1:set,b,g_D2:set,c,1:sub,a,a,g_D2:add,c,c,1:branch,1,7,a,g_D2:set,g_D3,c:exit:set,g_D3,0:exit:set,g_D3,1

Modulo:
Code: Select all
llitem:6:Modulo;1224;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20find%20the%20modulo%20of%20two%20numbers/variables%3A%0D%0D%28%22x%22%20is%20the%20first%20number/variable%3B%20%22y%22%20is%20the%20second%20number/variable%29%0D%0D1.%20%20Set%20g_MOD1%20%3D%20x%0D2.%20%20Set%20g_MOD2%20%3D%20y%0D3.%20%20Activate%3A%20%22Mod%22%0D4.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20modulo%20%28x%25y%29%20stored%20in%20g_MOD3.%0D%0D:set,a,g_MOD1:set,b,g_MOD2:branch,5,9,a,b:branch,2,7,a,b:sub,a,a,b:goto,4:set,g_MOD3,a:exit:set,g_MOD3,0

Absolute value:
Code: Select all
llitem:6:AbsoluteValue;1320;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20find%20the%20absolute%20value%20of%20a%20number/variable%3A%0D%0D%28%22x%22%20is%20the%20number/variable%20you%20want%20to%20find%20the%20absolute%20value%20of%29%0D%0D1.%20%20Set%20g_ABS%20%3D%20x%0D2.%20%20Activate%3A%20%22AbsoluteValue%22%0D3.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20absolute%20value%20stored%20in%20g_ABS.%0D%0D:branch,2,3,g_ABS,0:exit:add,a,g_ABS,g_ABS:sub,g_ABS,g_ABS,a

Square:
Code: Select all
llitem:6:Square;1384;512;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20square%20a%20number/variable%3A%0D%0D%28%22x%22%20is%20the%20number/variable%20you%20want%20to%20square%29%0D%0D%28%22z%22%20is%20the%20amount%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%20are%20multiplying%20by.%20You%20can%20fit%20about%20n*41%20per%20frame%29%0D%0D1.%20%20Set%20g_SQ%20%3D%20x%0D2.%20%20Activate%3A%20%22Square%22%0D3.%20%20Sleep%20z%0D%0DYou%20should%20now%20have%20the%20product%20%28x%5E2%29%20stored%20in%20g_SQ.%0D%0D:branch,3,4,g_SQ,0:add,abs,g_SQ,g_SQ:sub,g_SQ,g_SQ,abs:branch,5,15,g_SQ,0:branch,5,15,g_SQ,1:set,a,g_SQ:set,b,g_SQ:set,c,2:add,a,a,g_SQ:sub,b,b,1:branch,1,9,b,1:sub,c,c,1:branch,1,9,c,1:set,g_SQ,a:exit


Changelog: show
v2.4:
  • Added modulo function
  • Added square function
  • Lowered level height to 16
  • Slightly altered button placement
  • Answer display now only shows answer when calculation is complete
  • Improved Usage instructions

v2.2.1:
  • Improved Multiply trigger
  • Fixed cursor being too opaque on some monitors

v2.2:
  • Added absolute value function

v2.1:
  • Updated to Ch.1 RC2
  • Replaced block text with Text item
  • Improved Usage instructions

v2:
  • Double digit input
  • Replaced toggle button with arrow keys


Old Versions: show
v2.2.1:
(LL version: Ch.1 RC2)
Code: Select all
55x18~bX.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX166~~8;160;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25C0%3C/font%3E|8;224;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25B6%3C/font%3E|8;328;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E0%3C/font%3E|8;392;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E1%3C/font%3E|8;456;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E2%3C/font%3E|8;520;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E3%3C/font%3E|8;584;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E4%3C/font%3E|8;648;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E5%3C/font%3E|8;712;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E6%3C/font%3E|8;776;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E7%3C/font%3E|8;840;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E8%3C/font%3E|8;904;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E9%3C/font%3E|8;1000;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E+%3C/font%3E|8;1064;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E-%3C/font%3E|8;1128;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%3Cb%3E%u2715%3C/b%3E%3C/font%3E|8;1192;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%F7%3C/font%3E|8;1384;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%3D%3C/font%3E|8;1480;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3EC%3C/font%3E|8;1280;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%7C%7C%3C/font%3E~5;1296;1016;0;7;0;activate,compile:sleep,3:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:sleep,20:turnon,this:activate,this|5;1136;480;0;8;0;set,g_OP,3:sleep,20:turnon,this|5;1200;480;0;8;0;set,g_OP,4:sleep,20:turnon,this|5;1072;480;0;8;0;set,g_OP,2:sleep,20:turnon,this|5;1008;480;0;8;0;set,g_OP,1:sleep,20:turnon,this|5;336;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,0:goto,12:set,g_NUML2,0:goto,12:set,g_NUMR1,0:goto,12:set,g_NUMR2,0:sleep,20:turnon,this|5;176;480;0;5;0;branch,1,3,g_SEL,1:set,g_SEL,4:goto,4:sub,g_SEL,g_SEL,1:sleep,20:turnon,this|5;240;480;0;5;0;branch,2,3,g_SEL,4:set,g_SEL,1:goto,4:add,g_SEL,g_SEL,1:sleep,20:turnon,this|5;400;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,1:goto,12:set,g_NUML2,1:goto,12:set,g_NUMR1,1:goto,12:set,g_NUMR2,1:sleep,20:turnon,this|5;464;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,2:goto,12:set,g_NUML2,2:goto,12:set,g_NUMR1,2:goto,12:set,g_NUMR2,2:sleep,20:turnon,this|5;528;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,3:goto,12:set,g_NUML2,3:goto,12:set,g_NUMR1,3:goto,12:set,g_NUMR2,3:sleep,20:turnon,this|5;592;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,4:goto,12:set,g_NUML2,4:goto,12:set,g_NUMR1,4:goto,12:set,g_NUMR2,4:sleep,20:turnon,this|5;656;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,5:goto,12:set,g_NUML2,5:goto,12:set,g_NUMR1,5:goto,12:set,g_NUMR2,5:sleep,20:turnon,this|5;720;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,6:goto,12:set,g_NUML2,6:goto,12:set,g_NUMR1,6:goto,12:set,g_NUMR2,6:sleep,20:turnon,this|5;784;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,7:goto,12:set,g_NUML2,7:goto,12:set,g_NUMR1,7:goto,12:set,g_NUMR2,7:sleep,20:turnon,this|5;848;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,8:goto,12:set,g_NUML2,8:goto,12:set,g_NUMR1,8:goto,12:set,g_NUMR2,8:sleep,20:turnon,this|5;912;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,9:goto,12:set,g_NUML2,9:goto,12:set,g_NUMR1,9:goto,12:set,g_NUMR2,9:sleep,20:turnon,this~0;80;480;1;0;0|5;1488;480;0;4;0;set,g_NUML1,0:set,g_NUML2,0:set,g_NUMR1,0:set,g_NUMR2,0:set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_OP,1:set,g_doAbsVal,0:set,g_SEL,1:set,g_M1,0:set,g_M2,0:set,g_M3,0:set,g_D1,0:set,g_D2,0:set,g_D3,0:sleep,20:turnon,this|2;1680;480~6:Divide;1192;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers%3A%0D%0D%28%22x%22%20is%20the%20dividend%3B%20%22y%22%20is%20the%20divisor%29%0D%0D1.%20%20Set%20g_D1%20%3D%20x%0D2.%20%20Set%20g_D2%20%3D%20y%0D3.%20%20Activate%3A%20%22division%22%0D4.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20quotient%20%28x/y%29%20stored%20in%20g_D3.%0D%0D:branch,5,12,g_D1,0:branch,5,12,g_D2,0:branch,4,14,g_D1,g_D2:set,a,g_D1:set,b,g_D2:set,c,1:sub,a,a,g_D2:add,c,c,1:branch,1,7,a,g_D2:set,g_D3,c:exit:set,g_D3,0:exit:set,g_D3,1|6:display;-16;544;16;16;0;1;branch,5,5,g_OP,1:branch,5,7,g_OP,2:branch,5,9,g_OP,3:branch,5,11,g_OP,4:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20+%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20-%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20X%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20%F7%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6;48;416;64;64;0;1;set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_SEL,1:set,g_OP,1:set,g_doAbsVal,0:activate,select:activate,display:activate,answerdisplay:activate,absvaldisplay|6:select;-16;512;16;16;0;1;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:sleep,4:goto,0|6:answerdisplay;-16;560;16;16;0;1;subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%3D%0D%0D%7B%24g_ANS%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:compile;1376;576;16;16;0;1;set,g_M1,g_NUML1:set,g_M2,10:activate,Multiply:sleep,1:add,g_NUM1,g_M3,g_NUML2:sleep,1:set,g_M1,g_NUMR1:set,g_M2,10:activate,Multiply:sleep,1:add,g_NUM2,g_M3,g_NUMR2:set,g_M3,0|6:equals;1392;576;16;16;0;1;activate,compile:sleep,4:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,Multiply:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,Divide:sleep,1:set,g_ANS,g_D3:branch,5,27,g_doAbsVal,0:set,g_ABS,g_ANS:activate,AbsoluteValue:sleep,1:set,g_ANS,g_ABS:sleep,20:turnon,equalsbutton|5:equalsbutton;1392;480;0;7;0;activate,equals|33;1392;632;1;1;0;;activate,equals|6:AbsoluteValue;1288;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20find%20the%20absolute%20value%20of%20a%20number%3A%0D%0D%28%22x%22%20is%20the%20number%20you%20want%20to%20find%20the%20absolute%20value%20of%29%0D%0D1.%20%20Set%20g_ABS%20%3D%20x%0D2.%20%20Activate%3A%20%22AbsoluteValue%22%0D3.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20absolute%20value%20stored%20in%20g_ABS.%0D%0D:branch,2,3,g_ABS,0:exit:add,a,g_ABS,g_ABS:sub,g_ABS,g_ABS,a|5;1296;480;0;2;0;branch,5,2,g_doAbsVal,0:branch,5,4,g_doAbsVal,1:set,g_doAbsVal,1:goto,5:set,g_doAbsVal,0:sleep,20:turnon,this|6:absvaldisplay;-16;528;16;16;0;1;branch,5,2,g_doAbsVal,0:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7C%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7C%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:Multiply;1128;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers%3A%0D%0D%28%22x%22%20and%20%22y%22%20are%20the%20numbers/variables%20you%20want%20to%20multiply%29%0D%0D%28%22z%22%20is%20the%20amount%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%20are%20multiplying%20by.%20You%20can%20fit%20about%20n*41%20per%20frame%29%0D%0D1.%20%20Set%20g_M1%20%3D%20x%0D2.%20%20Set%20g_M2%20%3D%20y%0D3.%20%20Activate%3A%20%22multiplication%22%0D4.%20%20Sleep%20z%0D%0DYou%20should%20now%20have%20the%20product%20%28x*y%29%20stored%20in%20g_M3.%0D%0D:branch,5,16,g_M1,0:branch,5,16,g_M2,0:branch,5,14,g_M1,1:branch,5,12,g_M2,1:set,a,g_M1:set,b,g_M2:add,a,a,g_M1:sub,b,b,1:branch,1,7,b,1:set,g_M3,a:exit:set,g_M3,g_M1:exit:set,g_M3,g_M2:exit:set,g_M3,0~Calculator~AwesomeJRFD~0~0;0;0~1~13;0~0;0;3~1378533510~0.4


v2.2:
(LL version: Ch.1 RC2)
Code: Select all
55x18~bX.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX166~~8;160;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25C0%3C/font%3E|8;224;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25B6%3C/font%3E|8;328;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E0%3C/font%3E|8;392;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E1%3C/font%3E|8;456;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E2%3C/font%3E|8;520;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E3%3C/font%3E|8;584;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E4%3C/font%3E|8;648;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E5%3C/font%3E|8;712;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E6%3C/font%3E|8;776;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E7%3C/font%3E|8;840;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E8%3C/font%3E|8;904;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E9%3C/font%3E|8;1000;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E+%3C/font%3E|8;1064;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E-%3C/font%3E|8;1128;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%3Cb%3E%u2715%3C/b%3E%3C/font%3E|8;1192;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%F7%3C/font%3E|8;1384;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%3D%3C/font%3E|8;1480;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3EC%3C/font%3E|8;1280;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%7C%7C%3C/font%3E~5;1296;1016;0;7;0;activate,compile:sleep,3:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:sleep,20:turnon,this:activate,this|5;1136;480;0;8;0;set,g_OP,3:sleep,20:turnon,this|5;1200;480;0;8;0;set,g_OP,4:sleep,20:turnon,this|5;1072;480;0;8;0;set,g_OP,2:sleep,20:turnon,this|5;1008;480;0;8;0;set,g_OP,1:sleep,20:turnon,this|5;336;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,0:goto,12:set,g_NUML2,0:goto,12:set,g_NUMR1,0:goto,12:set,g_NUMR2,0:sleep,20:turnon,this|5;176;480;0;5;0;branch,1,3,g_SEL,1:set,g_SEL,4:goto,4:sub,g_SEL,g_SEL,1:sleep,20:turnon,this|5;240;480;0;5;0;branch,2,3,g_SEL,4:set,g_SEL,1:goto,4:add,g_SEL,g_SEL,1:sleep,20:turnon,this|5;400;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,1:goto,12:set,g_NUML2,1:goto,12:set,g_NUMR1,1:goto,12:set,g_NUMR2,1:sleep,20:turnon,this|5;464;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,2:goto,12:set,g_NUML2,2:goto,12:set,g_NUMR1,2:goto,12:set,g_NUMR2,2:sleep,20:turnon,this|5;528;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,3:goto,12:set,g_NUML2,3:goto,12:set,g_NUMR1,3:goto,12:set,g_NUMR2,3:sleep,20:turnon,this|5;592;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,4:goto,12:set,g_NUML2,4:goto,12:set,g_NUMR1,4:goto,12:set,g_NUMR2,4:sleep,20:turnon,this|5;656;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,5:goto,12:set,g_NUML2,5:goto,12:set,g_NUMR1,5:goto,12:set,g_NUMR2,5:sleep,20:turnon,this|5;720;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,6:goto,12:set,g_NUML2,6:goto,12:set,g_NUMR1,6:goto,12:set,g_NUMR2,6:sleep,20:turnon,this|5;784;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,7:goto,12:set,g_NUML2,7:goto,12:set,g_NUMR1,7:goto,12:set,g_NUMR2,7:sleep,20:turnon,this|5;848;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,8:goto,12:set,g_NUML2,8:goto,12:set,g_NUMR1,8:goto,12:set,g_NUMR2,8:sleep,20:turnon,this|5;912;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,9:goto,12:set,g_NUML2,9:goto,12:set,g_NUMR1,9:goto,12:set,g_NUMR2,9:sleep,20:turnon,this~0;80;480;1;0;0|5;1488;480;0;4;0;set,g_NUML1,0:set,g_NUML2,0:set,g_NUMR1,0:set,g_NUMR2,0:set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_OP,1:set,g_doAbsVal,0:set,g_SEL,1:set,g_M1,0:set,g_M2,0:set,g_M3,0:set,g_D1,0:set,g_D2,0:set,g_D3,0:sleep,20:turnon,this|2;1680;480~6:multiplication;1128;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers%3A%0D%0D%28%22x%22%20and%20%22y%22%20are%20the%20numbers/variables%20you%20want%20to%20multiply%29%0D%0D%28%22z%22%20is%20the%20amount%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%20are%20multiplying.%20You%20can%20fit%20about%2041*41%20per%20frame%29%0D%0D1.%20%20Set%20g_M1%20%3D%20x%0D2.%20%20Set%20g_M2%20%3D%20y%0D3.%20%20Activate%3A%20%22multiplication%22%0D4.%20%20Sleep%20z%0D%0DYou%20should%20now%20have%20the%20product%20%28x*y%29%20stored%20in%20g_M3.%0D%0D:branch,1,4,g_M1,0:set,g_M3,0:exit:branch,1,6,g_M2,0:goto,2:branch,5,16,g_M1,1:branch,5,18,g_M2,1:set,a,g_M1:set,b,g_M2:set,c,1:add,a,a,g_M1:add,c,c,1:branch,2,11,c,g_M2:set,g_M3,a:exit:set,g_M3,g_M2:exit:set,g_M3,g_M1|6:division;1192;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers%3A%0D%0D%28%22x%22%20is%20the%20dividend%3B%20%22y%22%20is%20the%20divisor%29%0D%0D1.%20%20Set%20g_D1%20%3D%20x%0D2.%20%20Set%20g_D2%20%3D%20y%0D3.%20%20Activate%3A%20%22division%22%0D4.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20quotient%20%28x/y%29%20stored%20in%20g_D3.%0D%0D:branch,5,12,g_D1,0:branch,5,12,g_D2,0:branch,4,14,g_D1,g_D2:set,a,g_D1:set,b,g_D2:set,c,1:sub,a,a,g_D2:add,c,c,1:branch,1,7,a,g_D2:set,g_D3,c:exit:set,g_D3,0:exit:set,g_D3,1|6:display;-16;544;16;16;0;1;branch,5,5,g_OP,1:branch,5,7,g_OP,2:branch,5,9,g_OP,3:branch,5,11,g_OP,4:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20+%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20-%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20X%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20%F7%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6;48;416;64;64;0;1;set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_SEL,1:set,g_OP,1:set,g_doAbsVal,0:activate,select:activate,display:activate,answerdisplay:activate,absvaldisplay|6:select;-16;512;16;16;0;1;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:sleep,5:goto,0|6:answerdisplay;-16;560;16;16;0;1;subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%3D%0D%0D%7B%24g_ANS%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:compile;1376;576;16;16;0;1;set,g_M1,g_NUML1:set,g_M2,10:activate,multiplication:sleep,1:add,g_NUM1,g_M3,g_NUML2:sleep,1:set,g_M1,g_NUMR1:set,g_M2,10:activate,multiplication:sleep,1:add,g_NUM2,g_M3,g_NUMR2:set,g_M3,0|6:equals;1392;576;16;16;0;1;activate,compile:sleep,4:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:branch,5,27,g_doAbsVal,0:set,g_ABS,g_ANS:activate,AbsoluteValue:sleep,1:set,g_ANS,g_ABS:sleep,20:turnon,equalsbutton|5:equalsbutton;1392;480;0;7;0;activate,equals|33;1392;632;1;1;0;;activate,equals|6:AbsoluteValue;1288;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20find%20the%20absolute%20value%20of%20a%20number%3A%0D%0D%28%22x%22%20is%20the%20number%20you%20want%20to%20find%20the%20absolute%20value%20of%29%0D%0D1.%20%20Set%20g_ABS%20%3D%20x%0D2.%20%20Activate%3A%20%22AbsoluteValue%22%0D3.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20absolute%20value%20stored%20in%20g_ABS.%0D%0D:branch,2,3,g_ABS,0:exit:add,a,g_ABS,g_ABS:sub,g_ABS,g_ABS,a|5;1296;480;0;2;0;branch,5,2,g_doAbsVal,0:branch,5,4,g_doAbsVal,1:set,g_doAbsVal,1:goto,5:set,g_doAbsVal,0:sleep,20:turnon,this|6:absvaldisplay;-16;528;16;16;0;1;branch,5,2,g_doAbsVal,0:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7C%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7C%3C/font%3E,0:sleep,10:subtitle_off:goto,0~Calculator~AwesomeJRFD~0~0;0;0~1~13;0~0;0;3~1378181176~0.4



v2.1:
(LL version: Ch.1 RC2)
Code: Select all
55x18~bX.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX166~~8;160;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25C0%3C/font%3E|8;224;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%3E%u25B6%3C/font%3E|8;328;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E0%3C/font%3E|8;392;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E1%3C/font%3E|8;456;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E2%3C/font%3E|8;520;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E3%3C/font%3E|8;584;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E4%3C/font%3E|8;648;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E5%3C/font%3E|8;712;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E6%3C/font%3E|8;776;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E7%3C/font%3E|8;840;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E8%3C/font%3E|8;904;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E9%3C/font%3E|8;1000;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E+%3C/font%3E|8;1064;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E-%3C/font%3E|8;1128;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%3Cb%3E%u2715%3C/b%3E%3C/font%3E|8;1192;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%F7%3C/font%3E|8;1288;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3E%3D%3C/font%3E|8;1384;416;1;1;0;;%3Cfont%20color%3D%22%23FFFFFF%22%20face%3D%22Lucida%20Console%22%3EC%3C/font%3E~5;1296;1016;0;7;0;activate,compile:sleep,3:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:sleep,20:turnon,this:activate,this|5;1136;480;0;8;0;set,g_OP,3:sleep,20:turnon,this|5;1200;480;0;8;0;set,g_OP,4:sleep,20:turnon,this|5;1072;480;0;8;0;set,g_OP,2:sleep,20:turnon,this|5;1008;480;0;8;0;set,g_OP,1:sleep,20:turnon,this|5;336;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,0:goto,12:set,g_NUML2,0:goto,12:set,g_NUMR1,0:goto,12:set,g_NUMR2,0:sleep,20:turnon,this|5;176;480;0;5;0;branch,1,3,g_SEL,1:set,g_SEL,4:goto,4:sub,g_SEL,g_SEL,1:sleep,20:turnon,this|5;240;480;0;5;0;branch,2,3,g_SEL,4:set,g_SEL,1:goto,4:add,g_SEL,g_SEL,1:sleep,20:turnon,this|5;400;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,1:goto,12:set,g_NUML2,1:goto,12:set,g_NUMR1,1:goto,12:set,g_NUMR2,1:sleep,20:turnon,this|5;464;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,2:goto,12:set,g_NUML2,2:goto,12:set,g_NUMR1,2:goto,12:set,g_NUMR2,2:sleep,20:turnon,this|5;528;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,3:goto,12:set,g_NUML2,3:goto,12:set,g_NUMR1,3:goto,12:set,g_NUMR2,3:sleep,20:turnon,this|5;592;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,4:goto,12:set,g_NUML2,4:goto,12:set,g_NUMR1,4:goto,12:set,g_NUMR2,4:sleep,20:turnon,this|5;656;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,5:goto,12:set,g_NUML2,5:goto,12:set,g_NUMR1,5:goto,12:set,g_NUMR2,5:sleep,20:turnon,this|5;720;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,6:goto,12:set,g_NUML2,6:goto,12:set,g_NUMR1,6:goto,12:set,g_NUMR2,6:sleep,20:turnon,this|5;784;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,7:goto,12:set,g_NUML2,7:goto,12:set,g_NUMR1,7:goto,12:set,g_NUMR2,7:sleep,20:turnon,this|5;848;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,8:goto,12:set,g_NUML2,8:goto,12:set,g_NUMR1,8:goto,12:set,g_NUMR2,8:sleep,20:turnon,this|5;912;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,9:goto,12:set,g_NUML2,9:goto,12:set,g_NUMR1,9:goto,12:set,g_NUMR2,9:sleep,20:turnon,this~0;80;472;1;0;0|5;1392;480;0;9;0;set,g_NUML1,0:set,g_NUML2,0:set,g_NUMR1,0:set,g_NUMR2,0:set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_OP,1:set,g_SEL,1:set,g_M1,0:set,g_M2,0:set,g_M3,0:set,g_D1,0:set,g_D2,0:set,g_D3,0:sleep,20:turnon,this|2;1680;480~6:multiplication;-32;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers%3A%0D%0D%28%22x%22%20and%20%22y%22%20are%20the%20numbers/variables%20you%20want%20to%20multiply%29%0D%0D%28%22z%22%20is%20the%20amount%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%20are%20multiplying.%20You%20can%20fit%20about%2041*41%20per%20frame%29%0D%0D1.%20%20Set%20g_M1%20%3D%20x%0D2.%20%20Set%20g_M2%20%3D%20y%0D3.%20%20Activate%3A%20%22multiplication%22%0D4.%20%20Sleep%20z%0D%0DYou%20should%20now%20have%20the%20product%20%28x*y%29%20stored%20in%20g_M3.%0D%0D:branch,1,4,g_M1,0:set,g_M3,0:exit:branch,1,6,g_M2,0:goto,2:branch,5,16,g_M1,1:branch,5,18,g_M2,1:set,a,g_M1:set,b,g_M2:set,c,1:add,a,a,g_M1:add,c,c,1:branch,2,11,c,g_M2:set,g_M3,a:exit:set,g_M3,g_M2:exit:set,g_M3,g_M1|6:division;-16;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0DUse%20the%20following%20sequence%20of%20functions%20in%20your%20trigger%20to%20divide%20two%20numbers%3A%0D%0D%28%22x%22%20is%20the%20dividend%3B%20%22y%22%20is%20the%20divisor%29%0D%0D1.%20%20Set%20g_D1%20%3D%20x%0D2.%20%20Set%20g_D2%20%3D%20y%0D3.%20%20Activate%3A%20%22division%22%0D4.%20%20Sleep%201%0D%0DYou%20should%20now%20have%20the%20quotient%20%28x/y%29%20stored%20in%20g_D3.%0D%0D:branch,5,12,g_D1,0:branch,5,12,g_D2,0:branch,4,14,g_D1,g_D2:set,a,g_D1:set,b,g_D2:set,c,1:sub,a,a,g_D2:add,c,c,1:branch,1,7,a,g_D2:set,g_D3,c:exit:set,g_D3,0:exit:set,g_D3,1|6:display;-96;576;16;16;1;1;branch,5,5,g_OP,1:branch,5,7,g_OP,2:branch,5,9,g_OP,3:branch,5,11,g_OP,4:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20+%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20-%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20X%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20%F7%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6;48;416;64;64;0;1;set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_SEL,1:set,g_OP,1:activate,select:activate,display:activate,answerdisplay|6:select;-80;576;16;16;0;1;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2216%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:sleep,5:goto,0|6:answerdisplay;-64;576;16;16;0;1;subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%3D%0D%0D%7B%24g_ANS%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:compile;16;576;16;16;0;1;set,g_M1,g_NUML1:set,g_M2,10:activate,multiplication:sleep,1:add,g_NUM1,g_M3,g_NUML2:sleep,1:set,g_M1,g_NUMR1:set,g_M2,10:activate,multiplication:sleep,1:add,g_NUM2,g_M3,g_NUMR2:set,g_M3,0|6:equals;1288;576;16;16;0;1;activate,compile:sleep,4:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:sleep,20:turnon,equalsbutton|5:equalsbutton;1296;480;0;7;0;activate,equals|33;1296;632;1;1;0;;activate,equals~Calculator~AwesomeJRFD~0~0;0;0~1~13;0~0;0;3~1378016289~0.4



v2:
(LL version: v.3.2)
Code: Select all
55x18~bX.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX166~~~9;1136;432;100,100,100,100,0,0,0,0,100;7,7;.3aB.6aB.6aB.3aB7.3aB.6aB.6aB;all;45;1;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;1200;432;100,100,100,100,0,0,0,0,100;7,7;.3aB.17aB7.17aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;1072;432;100,100,100,100,0,0,0,0,100;7,1;aB7;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;1296;432;100,100,100,100,0,0,0,0,100;7,4;aB7.14aB7;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.09;1;0;1|5;1296;1016;0;7;0;activate,compile:sleep,3:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:sleep,20:turnon,this:activate,this|9;400;432;100,100,100,100,0,0,0,0,100;2,7;aB2.aB.aB.aB.aB.aB.aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;464;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.5aB.4aB.aB3.aB.4aB.5aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;528;432;100,100,100,100,0,0,0,0,100;4,7;aB3.4aB.3aB4.4aB.3aB4;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;592;432;100,100,100,100,0,0,0,0,100;5,7;aB.3aB2.3aB2.3aB.aB4.4aB.4aB.4aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;656;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.4aB.5aB3.5aB.4aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;720;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.4aB.5aB3.aB.3aB2.3aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;784;432;100,100,100,100,0,0,0,0,100;4,7;aB4.3aB.3aB.2aB.3aB.2aB.3aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;848;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.3aB2.3aB.aB3.aB.3aB2.3aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;912;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.3aB2.3aB.aB3.5aB.4aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;336;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.3aB2.3aB2.3aB2.3aB2.3aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|5;1136;480;0;8;0;set,g_OP,3:sleep,20:turnon,this|5;1200;480;0;8;0;set,g_OP,4:sleep,20:turnon,this|9;1008;432;100,100,100,100,0,0,0,0,100;7,7;.3aB.6aB.6aB.3aB7.3aB.6aB.6aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|5;1072;480;0;8;0;set,g_OP,2:sleep,20:turnon,this|5;1008;480;0;8;0;set,g_OP,1:sleep,20:turnon,this|5;336;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,0:goto,12:set,g_NUML2,0:goto,12:set,g_NUMR1,0:goto,12:set,g_NUMR2,0:sleep,20:turnon,this|9;1392;432;100,100,100,100,0,0,0,0,100;4,5;.aB4.3aB.3aB.4aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|5;176;480;0;5;0;branch,1,3,g_SEL,1:set,g_SEL,4:goto,4:sub,g_SEL,g_SEL,1:sleep,20:turnon,this|5;240;480;0;5;0;branch,2,3,g_SEL,4:set,g_SEL,1:goto,4:add,g_SEL,g_SEL,1:sleep,20:turnon,this|9;176;432;100,100,100,100,0,0,0,0,100;3,7;.2aC.aCaBaCaB5aCaB2.aCaB.2aC;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;240;432;100,100,100,100,0,0,0,0,100;3,7;aD.2aBaD.aB2aDaB5aDaBaD.aD;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|5;400;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,1:goto,12:set,g_NUML2,1:goto,12:set,g_NUMR1,1:goto,12:set,g_NUMR2,1:sleep,20:turnon,this|5;464;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,2:goto,12:set,g_NUML2,2:goto,12:set,g_NUMR1,2:goto,12:set,g_NUMR2,2:sleep,20:turnon,this|5;528;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,3:goto,12:set,g_NUML2,3:goto,12:set,g_NUMR1,3:goto,12:set,g_NUMR2,3:sleep,20:turnon,this|5;592;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,4:goto,12:set,g_NUML2,4:goto,12:set,g_NUMR1,4:goto,12:set,g_NUMR2,4:sleep,20:turnon,this|5;656;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,5:goto,12:set,g_NUML2,5:goto,12:set,g_NUMR1,5:goto,12:set,g_NUMR2,5:sleep,20:turnon,this|5;720;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,6:goto,12:set,g_NUML2,6:goto,12:set,g_NUMR1,6:goto,12:set,g_NUMR2,6:sleep,20:turnon,this|5;784;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,7:goto,12:set,g_NUML2,7:goto,12:set,g_NUMR1,7:goto,12:set,g_NUMR2,7:sleep,20:turnon,this|5;848;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,8:goto,12:set,g_NUML2,8:goto,12:set,g_NUMR1,8:goto,12:set,g_NUMR2,8:sleep,20:turnon,this|5;912;480;0;1;0;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:set,g_NUML1,9:goto,12:set,g_NUML2,9:goto,12:set,g_NUMR1,9:goto,12:set,g_NUMR2,9:sleep,20:turnon,this~0;80;472;1;0;0|5;1392;480;0;9;0;set,g_NUML1,0:set,g_NUML2,0:set,g_NUMR1,0:set,g_NUMR2,0:set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_OP,1:set,g_SEL,1:set,g_M1,0:set,g_M2,0:set,g_M3,0:set,g_D1,0:set,g_D2,0:set,g_D3,0:sleep,20:turnon,this|2;1680;480~6:multiplication;-32;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0D1.%20%20g_M1%20%3D%20x%0D2.%20%20g_M2%20%3D%20y%0D3.%20%20Activate%3A%20%22multiplication%22%0D4.%20%20Sleep%20z%0D%0DYou%20would%20now%20have%20g_M3%2C%20which%20is%20x*y%0D%0Dz%20is%20the%20number%20of%20frames%20you%20sleep.%20it%20depends%20on%20what%20you%27re%20multiplying.%20You%20can%20fit%20about%2041*41%20per%20frame.:branch,1,4,g_M1,0:set,g_M3,0:exit:branch,1,6,g_M2,0:goto,2:branch,5,16,g_M1,1:branch,5,18,g_M2,1:set,a,g_M1:set,b,g_M2:set,c,1:add,a,a,g_M1:add,c,c,1:branch,2,11,c,g_M2:set,g_M3,a:exit:set,g_M3,g_M2:exit:set,g_M3,g_M1|6:division;-16;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0D1.%20%20g_D1%20%3D%20x%0D2.%20%20g_D2%20%3D%20y%0D3.%20%20Activate%3A%20%22division%22%0D4.%20%20Sleep%201%0D%0DYou%20would%20now%20have%20g_D3%2C%20which%20is%20x/y%0D%0D:branch,5,12,g_D1,0:branch,5,12,g_D2,0:branch,4,14,g_D1,g_D2:set,a,g_D1:set,b,g_D2:set,c,1:sub,a,a,g_D2:add,c,c,1:branch,1,7,a,g_D2:set,g_D3,c:exit:set,g_D3,0:exit:set,g_D3,1|6:display;-96;576;16;16;1;1;branch,5,5,g_OP,1:branch,5,7,g_OP,2:branch,5,9,g_OP,3:branch,5,11,g_OP,4:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20+%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20-%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20X%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUML1%7D%7B%24g_NUML2%7D%20%F7%20%7B%24g_NUMR1%7D%7B%24g_NUMR2%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6;48;416;64;64;0;1;set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_SEL,1:set,g_OP,1:activate,select:activate,display:activate,answerdisplay|6:select;-80;576;16;16;0;1;branch,5,5,g_SEL,1:branch,5,7,g_SEL,2:branch,5,9,g_SEL,3:branch,5,11,g_SEL,4:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:goto,12:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFF44%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:sleep,5:goto,0|6:answerdisplay;-64;576;16;16;0;1;subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%3D%0D%0D%7B%24g_ANS%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6:compile;16;576;16;16;0;1;set,g_M1,g_NUML1:set,g_M2,10:activate,multiplication:sleep,1:add,g_NUM1,g_M3,g_NUML2:sleep,1:set,g_M1,g_NUMR1:set,g_M2,10:activate,multiplication:sleep,1:add,g_NUM2,g_M3,g_NUMR2:set,g_M3,0|6:equals;1288;576;16;16;0;1;activate,compile:sleep,4:branch,5,7,g_OP,1:branch,5,9,g_OP,2:branch,5,11,g_OP,3:branch,5,17,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,22:sub,g_ANS,g_NUM1,g_NUM2:goto,22:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,3:set,g_ANS,g_M3:goto,22:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:sleep,20:turnon,equalsbutton|5:equalsbutton;1296;480;0;7;0;activate,equals|33;1296;632;1;1;0;;activate,equals~Calculator~AwesomeJRFD~0~0;0;0~0~13;0~0;0;3~1362546546~0.3



v1:
(LL version: v.3.2)
Code: Select all
55x18~bX.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX2.53bX166~~~9;1072;432;100,100,100,100,0,0,0,0,100;7,7;.3aB.6aB.6aB.3aB7.3aB.6aB.6aB;all;45;1;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;1136;432;100,100,100,100,0,0,0,0,100;7,7;.3aB.17aB7.17aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;1008;432;100,100,100,100,0,0,0,0,100;7,1;aB7;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;1232;432;100,100,100,100,0,0,0,0,100;7,4;aB7.14aB7;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.09;1;0;1|5;1232;480;0;7;0;branch,5,5,g_OP,1:branch,5,7,g_OP,2:branch,5,9,g_OP,3:branch,5,15,g_OP,4:exit:add,g_ANS,g_NUM1,g_NUM2:goto,20:sub,g_ANS,g_NUM1,g_NUM2:goto,20:set,g_M1,g_NUM1:set,g_M2,g_NUM2:activate,multiplication:sleep,1:set,g_ANS,g_M3:goto,20:set,g_D1,g_NUM1:set,g_D2,g_NUM2:activate,division:sleep,1:set,g_ANS,g_D3:sleep,20:turnon,this|9;336;432;100,100,100,100,0,0,0,0,100;2,7;aB2.aB.aB.aB.aB.aB.aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;400;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.5aB.4aB.aB3.aB.4aB.5aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;464;432;100,100,100,100,0,0,0,0,100;4,7;aB3.4aB.3aB4.4aB.3aB4;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;528;432;100,100,100,100,0,0,0,0,100;5,7;aB.3aB2.3aB2.3aB.aB4.4aB.4aB.4aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;592;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.4aB.5aB3.5aB.4aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;656;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.4aB.5aB3.aB.3aB2.3aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;720;432;100,100,100,100,0,0,0,0,100;4,7;aB4.3aB.3aB.2aB.3aB.2aB.3aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;784;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.3aB2.3aB.aB3.aB.3aB2.3aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;848;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.3aB2.3aB.aB3.5aB.4aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;272;432;100,100,100,100,0,0,0,0,100;5,7;.aB3.aB.3aB2.3aB2.3aB2.3aB2.3aB.aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|5;1072;480;0;8;0;set,g_OP,3:sleep,20:turnon,this|5;1136;480;0;8;0;set,g_OP,4:sleep,20:turnon,this|9;944;432;100,100,100,100,0,0,0,0,100;7,7;.3aB.6aB.6aB.3aB7.3aB.6aB.6aB;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|5;1008;480;0;8;0;set,g_OP,2:sleep,20:turnon,this|5;944;480;0;8;0;set,g_OP,1:sleep,20:turnon,this|5;176;480;0;5;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_SIDE,2:goto,7:exit:set,g_SIDE,1:sleep,30:turnon,this|5;272;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,0:goto,7:exit:set,g_NUM2,0:sleep,20:turnon,this|5;336;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,1:goto,7:exit:set,g_NUM2,1:sleep,20:turnon,this|5;400;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,2:goto,7:exit:set,g_NUM2,2:sleep,20:turnon,this|5;464;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,3:goto,7:exit:set,g_NUM2,3:sleep,20:turnon,this|5;528;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,4:goto,7:exit:set,g_NUM2,4:sleep,20:turnon,this|5;592;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,5:goto,7:exit:set,g_NUM2,5:sleep,20:turnon,this|5;656;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,6:goto,7:exit:set,g_NUM2,6:sleep,20:turnon,this|5;720;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,7:goto,7:exit:set,g_NUM2,7:sleep,20:turnon,this|5;784;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,8:goto,7:exit:set,g_NUM2,8:sleep,20:turnon,this|5;848;480;0;1;0;branch,5,3,g_SIDE,1:branch,5,6,g_SIDE,2:exit:set,g_NUM1,9:goto,7:exit:set,g_NUM2,9:sleep,20:turnon,this|9;176;432;100,100,100,100,0,0,0,0,100;5,5;.aC.aD.aCaB.aBaDaB2.aB2aCaB.aBaD.aC.aD;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1|9;1328;432;100,100,100,100,0,0,0,0,100;4,5;.aB4.3aB.3aB.4aB3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;0;;0.08;0.08;1;0;1~0;80;472;1;0;0|5;1328;480;0;9;0;set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:sleep,20:turnon,this~6:multiplication;-32;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0D1.%20%20g_M1%20%3D%20x%0D2.%20%20g_M2%20%3D%20y%0D3.%20%20Activate%3A%20%22multiplication%22%0D4.%20%20Sleep%201%0D%0DYou%20would%20now%20have%20g_M3%2C%20which%20is%20x*y%0D%0D:branch,1,4,g_M1,0:set,g_M3,0:exit:branch,1,6,g_M2,0:goto,2:branch,5,16,g_M1,1:branch,5,18,g_M2,1:set,a,g_M1:set,b,g_M2:set,c,1:add,a,a,g_M1:add,c,c,1:branch,2,11,c,g_M2:set,g_M3,a:exit:set,g_M3,g_M2:exit:set,g_M3,g_M1|6:DefineMultiplication;-632;952;64;64;0;1;set,g_M1,8:set,g_M2,0:activate,multiplication:sleep,1:subtitle,0,%7B%24g_M1%7D%20*%20%7B%24g_M2%7D%20%3D%20%7B%24g_M3%7D,50:sleep,108000:subtitle_off|6:division;-16;576;16;16;0;1;c,%20--%20USAGE%20--%20%0D%0D1.%20%20g_D1%20%3D%20x%0D2.%20%20g_D2%20%3D%20y%0D3.%20%20Activate%3A%20%22division%22%0D4.%20%20Sleep%201%0D%0DYou%20would%20now%20have%20g_D3%2C%20which%20is%20x/y%0D%0D:branch,5,12,g_D1,0:branch,5,12,g_D2,0:branch,4,14,g_D1,g_D2:set,a,g_D1:set,b,g_D2:set,c,1:sub,a,a,g_D2:add,c,c,1:branch,1,7,a,g_D2:set,g_D3,c:exit:set,g_D3,0:exit:set,g_D3,1|6;-304;776;64;64;0;1;set,g_P1,3:set,g_P2,4:activate,power:sleep,1:subtitle,0,%7B%24g_P1%7D%5E%7B%24g_P2%7D%20%3D%20%7B%24g_P3%7D,50:sleep,108000:subtitle_off|6:DefineDivision;-568;952;64;64;0;1;set,g_D1,32:set,g_D2,4:activate,division:sleep,1:subtitle,0,%7B%24g_D1%7D%20/%20%7B%24g_D2%7D%20%3D%20%7B%24g_D3%7D,50:sleep,108000:subtitle_off|6:--power;-288;776;16;16;0;1;branch,5,0,g_P1,0:branch,5,0,g_P2,0:set,a,g_P1:set,b,g_P2:set,c,1:add,a,a,a:add,c,c,1:branch,4,6,c,g_P2:set,g_P3,a|6:--power;-272;776;16;16;0;1;set,cp,1:branch,1,5,g_P1,0:branch,1,5,g_P2,0:set,g_P3,0:exit:set,a,g_P1:set,c,1:add,a,a,g_P1:add,c,c,1:branch,2,7,c,g_P1:add,cp,cp,1:branch,4,6,cp,8:set,g_P3,a|6:power;-320;776;16;16;0;1;set,a,g_P1:set,b,g_P2:set,c,0:add,a,a,a:add,c,c,1:branch,4,3,c,g_P2|6:display;-96;576;16;16;1;1;branch,5,5,g_OP,1:branch,5,7,g_OP,2:branch,5,9,g_OP,3:branch,5,11,g_OP,4:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUM1%7D%20+%20%7B%24g_NUM2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUM1%7D%20-%20%7B%24g_NUM2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUM1%7D%20X%20%7B%24g_NUM2%7D%3C/font%3E,0:goto,12:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%7B%24g_NUM1%7D%20%F7%20%7B%24g_NUM2%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|6;48;416;64;64;0;1;set,g_NUM1,0:set,g_NUM2,0:set,g_ANS,0:set,g_SIDE,1:set,g_OP,1:activate,select:activate,display:activate,answerdisplay|6:select;-80;576;16;16;0;1;branch,5,3,g_SIDE,1:branch,5,5,g_SIDE,2:exit:subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23CCCC00%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.,0:goto,6:subtitle,3,.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cfont%20size%3D%2220%22%20color%3D%22%23CCCC00%22%20face%3D%22Courier%20New%22%3E%u2588%3C/font%3E,0:sleep,10:goto,0|6:answerdisplay;-64;576;16;16;0;1;subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%20face%3D%22Courier%20New%22%3E%3D%0D%0D%7B%24g_ANS%7D%3C/font%3E,0:sleep,10:subtitle_off:goto,0|2;1680;480~Calculator~~0~0;0;0~0~13;0~0;0;3~1362297006~0.3
ImageImage
User avatar
AwesomeJRFD
 
Posts: 101
Joined: Mon Jul 21, 2014 2:42 am
Location: Sixteenth Dimension: Hyperspace

Return to Trigger creations

Who is online

Users browsing this forum: No registered users and 2 guests

cron