1996 _DefineFunction 'checkSum' [1 params] () //end offset is: #2180 1997 _push Reg[1], Reg[2], Reg[3], "_root"/*Dic[36]*/ 1998 _getVariable 1999 _storeRegister Reg:3 2000 _pop 2001 _push 275, "timed"/*Dic[255]*/ 2002 _getVariable 2003 _setVariable 2004 _push 276, 0 2005 _DefineLocal 2006 _push 0 2007 _storeRegister Reg:2 2008 _pop 2009 _push 277, "box0"/*Dic[200]*/ 2010 _getVariable 2011 _push "boxNr"/*Dic[185]*/ 2012 _getMember 2013 _add2 2014 _push 278 2015 _add2 2016 _push "amntsReal"/*Dic[120]*/ 2017 _getVariable 2018 _push "rands"/*Dic[65]*/ 2019 _getVariable 2020 _push "box0"/*Dic[200]*/ 2021 _getVariable 2022 _push "boxNr"/*Dic[185]*/ 2023 _getMember 2024 _getMember 2025 _getMember 2026 _add2 2027 _trace 2028 _push 1 2029 _storeRegister Reg:1 2030 _pop 2031 _push Reg[1], "totalBoxes"/*Dic[37]*/ 2032 _getVariable 2033 _greater 2034 _not 2035 _not 2036 _if true goto #2114 2037 _push "amount"/*Dic[180]*/, "rands"/*Dic[65]*/ 2038 _getVariable 2039 _push Reg[1] 2040 _getMember 2041 _push 13 2042 _greater 2043 _not 2044 _if true goto #2058 2045 _push Reg[3], "ahRight"/*Dic[179]*/ 2046 _getMember 2047 _push "ah"/*Dic[177]*/ 2048 _getMember 2049 _push "amount"/*Dic[180]*/, "rands"/*Dic[65]*/ 2050 _getVariable 2051 _push Reg[1] 2052 _getMember 2053 _push 13 2054 _subtract 2055 _add2 2056 _getMember 2057 _jump goto #2068 2058 _push Reg[3], "ahLeft"/*Dic[176]*/ 2059 _getMember 2060 _push "ah"/*Dic[177]*/ 2061 _getMember 2062 _push "amount"/*Dic[180]*/, "rands"/*Dic[65]*/ 2063 _getVariable 2064 _push Reg[1] 2065 _getMember 2066 _add2 2067 _getMember 2068 _setVariable 2069 _push "amount"/*Dic[180]*/ 2070 _getVariable 2071 _push "removed"/*Dic[183]*/ 2072 _getMember 2073 _not 2074 _not 2075 _if true goto #2109 2076 _push "amntsReal"/*Dic[120]*/ 2077 _getVariable 2078 _push "rands"/*Dic[65]*/ 2079 _getVariable 2080 _push Reg[1] 2081 _getMember 2082 _getMember 2083 _push 100000 2084 _less2 2085 _not 2086 _if true goto #2099 2087 _push 276, 276 2088 _getVariable 2089 _push "amntsReal"/*Dic[120]*/ 2090 _getVariable 2091 _push "rands"/*Dic[65]*/ 2092 _getVariable 2093 _push Reg[1] 2094 _getMember 2095 _getMember 2096 _add2 2097 _setVariable 2098 _jump goto #2109 2099 _push Reg[2], "amntsReal"/*Dic[120]*/ 2100 _getVariable 2101 _push "rands"/*Dic[65]*/ 2102 _getVariable 2103 _push Reg[1] 2104 _getMember 2105 _getMember 2106 _add2 2107 _storeRegister Reg:2 2108 _pop 2109 _push Reg[1] 2110 _increment 2111 _storeRegister Reg:1 2112 _pop 2113 _jump goto #2031 2114 _push 276, 276 2115 _getVariable 2116 _push "sumPercentages"/*Dic[122]*/ 2117 _getVariable 2118 _push "roundNr"/*Dic[134]*/ 2119 _getVariable 2120 _getMember 2121 _multiply 2122 _push 100 2123 _divide 2124 _setVariable 2125 _push Reg[2], "sumPercentages"/*Dic[122]*/ 2126 _getVariable 2127 _push "roundNr"/*Dic[134]*/ 2128 _getVariable 2129 _getMember 2130 _multiply 2131 _push 100 2132 _divide 2133 _storeRegister Reg:2 2134 _pop 2135 _push Reg[2], "variablePercentages"/*Dic[123]*/ 2136 _getVariable 2137 _push "roundNr"/*Dic[134]*/ 2138 _getVariable 2139 _getMember 2140 _multiply 2141 _push 100 2142 _divide 2143 _storeRegister Reg:2 2144 _pop 2145 _push "sumPercentages"/*Dic[122]*/ 2146 _getVariable 2147 _push "roundNr"/*Dic[134]*/ 2148 _getVariable 2149 _getMember 2150 _trace 2151 _push "variablePercentages"/*Dic[123]*/ 2152 _getVariable 2153 _push "roundNr"/*Dic[134]*/ 2154 _getVariable 2155 _getMember 2156 _trace 2157 _push 279, 276 2158 _getVariable 2159 _push Reg[2] 2160 _add2 2161 _push 1, "Math"/*Dic[69]*/ 2162 _getVariable 2163 _push 280 2164 _CallMethod 2165 _DefineLocal 2166 _push 279 2167 _getVariable 2168 _trace 2169 _push 279 2170 _getVariable 2171 _push 1, Reg[3], 281 2172 _CallMethod 2173 _pop 2174 _storeRegister Reg:3 2175 _pop 2176 _storeRegister Reg:2 2177 _pop 2178 _storeRegister Reg:1 2179 _pop 2180 _DefineFunction 'checkSum2' [1 params] () //end offset is: #2234 2181 _push "processing"/*Dic[5]*/, False 2182 _setVariable 2183 _push 265, 279 2184 _getVariable 2185 _setVariable 2186 _push 268 2187 _getVariable 2188 _push 265, "euro"/*Dic[181]*/ 2189 _getVariable 2190 _push 265 2191 _getVariable 2192 _push 1, "moneyFormat"/*Dic[221]*/ 2193 _CallFunction 2194 _add2 2195 _setMember 2196 _push 4.7, 1, "boxSelectCling"/*Dic[147]*/ 2197 _getVariable 2198 _push "start"/*Dic[2]*/ 2199 _CallMethod 2200 _pop 2201 _push 275 2202 _getVariable 2203 _not 2204 _if true goto #2234 2205 _push "si"/*Dic[3]*/ 2206 _getVariable 2207 _push 1, "clearInterval"/*Dic[4]*/ 2208 _CallFunction 2209 _pop 2210 _push "roundNr"/*Dic[134]*/ 2211 _getVariable 2212 _push 10 2213 _less2 2214 _not 2215 _if true goto #2232 2216 _push "dealMade"/*Dic[85]*/ 2217 _getVariable 2218 _not 2219 _not 2220 _if true goto #2227 2221 _push 266, 1, 268 2222 _getVariable 2223 _push "gotoAndStop"/*Dic[168]*/ 2224 _CallMethod 2225 _pop 2226 _jump goto #2232 2227 _push 282, 1, 268 2228 _getVariable 2229 _push "gotoAndStop"/*Dic[168]*/ 2230 _CallMethod 2231 _pop 2232 _push 275, False 2233 _setVariable