bouncing-ball-patched.nv
· 28 KiB · Text
Orginalformat
Playground
|----------------------------------------|
The section between these
two lines is a patch to
the original program.
It's intended that, as a
program is used, it can be
changed and patched as the
user desires.
|#| new buttons row
|#| button, Faster, faster
|#| button, Slower, slower
|#| button, Kick, kick
|#| button, Pause, pause
|#| button, Resume, resume
|#| button, Continue Loop, continue loop
|faster| ball_x_vel
|slower, ball_x_vel|
|slower|
|kick| ball_y_vel:25
|pause, resume| resume
|resume|
|pause| pause
|continue loop, loop75| loop75
|continue loop, tmp70| tmp70
|continue loop| loop75, tmp70:315
|----------------------------------------|
||start
|clear__canvas_width, canvas_width| clear__canvas_width:4294967295
|clear__canvas_width|
|set_const__canvas_width__400| canvas_width:400
|clear__canvas_height, canvas_height| clear__canvas_height:4294967295
|clear__canvas_height|
|set_const__canvas_height__400| canvas_height:400
|clear__ball_radius, ball_radius| clear__ball_radius:4294967295
|clear__ball_radius|
|set_const__ball_radius__6| ball_radius:6
|clear__frames_count_max, frames_count_max| clear__frames_count_max:4294967295
|clear__frames_count_max|
|set_const__frames_count_max__315| frames_count_max:315
|clear__background_r, background_r| clear__background_r:4294967295
|clear__background_r|
|set_const__background_r__254| background_r:254
|clear__background_g, background_g| clear__background_g:4294967295
|clear__background_g|
|set_const__background_g__254| background_g:254
|clear__background_b, background_b| clear__background_b:4294967295
|clear__background_b|
|set_const__background_b__254| background_b:254
|clear__ball_r, ball_r| clear__ball_r:4294967295
|clear__ball_r|
|set_const__ball_r__254| ball_r:254
|clear__ball_g, ball_g| clear__ball_g:4294967295
|clear__ball_g|
|set_const__ball_g__0| ball_g:0
|clear__ball_b, ball_b| clear__ball_b:4294967295
|clear__ball_b|
|set_const__ball_b__0| ball_b:0
|clear__ball_x_pos, ball_x_pos| clear__ball_x_pos:4294967295
|clear__ball_x_pos|
|set_const__ball_x_pos__5| ball_x_pos:5
|clear__ball_x_vel, ball_x_vel| clear__ball_x_vel:4294967295
|clear__ball_x_vel|
|set_const__ball_x_vel__11| ball_x_vel:11
|clear__ball_x_acc, ball_x_acc| clear__ball_x_acc:4294967295
|clear__ball_x_acc|
|set_const__ball_x_acc__0| ball_x_acc:0
|clear__ball_x_vel_sign, ball_x_vel_sign| clear__ball_x_vel_sign:4294967295
|clear__ball_x_vel_sign|
|set_const__ball_x_vel_sign__1| ball_x_vel_sign:1
|clear__ball_x_acc_sign, ball_x_acc_sign| clear__ball_x_acc_sign:4294967295
|clear__ball_x_acc_sign|
|set_const__ball_x_acc_sign__1| ball_x_acc_sign:1
|clear__ball_x_hit_dec, ball_x_hit_dec| clear__ball_x_hit_dec:4294967295
|clear__ball_x_hit_dec|
|set_const__ball_x_hit_dec__0| ball_x_hit_dec:0
|clear__ball_x_hit_dec_max, ball_x_hit_dec_max| clear__ball_x_hit_dec_max:4294967295
|clear__ball_x_hit_dec_max|
|set_const__ball_x_hit_dec_max__5| ball_x_hit_dec_max:5
|clear__ball_y_pos, ball_y_pos| clear__ball_y_pos:4294967295
|clear__ball_y_pos|
|set_const__ball_y_pos__5| ball_y_pos:5
|clear__ball_y_vel, ball_y_vel| clear__ball_y_vel:4294967295
|clear__ball_y_vel|
|set_const__ball_y_vel__6| ball_y_vel:6
|clear__ball_y_acc, ball_y_acc| clear__ball_y_acc:4294967295
|clear__ball_y_acc|
|set_const__ball_y_acc__3| ball_y_acc:3
|clear__ball_y_vel_sign, ball_y_vel_sign| clear__ball_y_vel_sign:4294967295
|clear__ball_y_vel_sign|
|set_const__ball_y_vel_sign__1| ball_y_vel_sign:1
|clear__ball_y_acc_sign, ball_y_acc_sign| clear__ball_y_acc_sign:4294967295
|clear__ball_y_acc_sign|
|set_const__ball_y_acc_sign__1| ball_y_acc_sign:1
|clear__wall_right, wall_right| clear__wall_right:4294967295
|clear__wall_right|
|copy__wall_right__canvas_width, canvas_width| wall_right, tmp46, copy__wall_right__canvas_width:4294967295
|copy__wall_right__canvas_width| tmp47
|tmp47, tmp46| canvas_width, tmp47:4294967295
|tmp47|
|clear__wall_bottom, wall_bottom| clear__wall_bottom:4294967295
|clear__wall_bottom|
|copy__wall_bottom__canvas_height, canvas_height| wall_bottom, tmp50, copy__wall_bottom__canvas_height:4294967295
|copy__wall_bottom__canvas_height| tmp51
|tmp51, tmp50| canvas_height, tmp51:4294967295
|tmp51|
|decrement__wall_right__ball_radius, wall_right, ball_radius| tmp53, decrement__wall_right__ball_radius:4294967295
|decrement__wall_right__ball_radius| tmp54
|tmp54, tmp53| ball_radius, tmp54:4294967295
|tmp54|
|decrement__wall_bottom__ball_radius, wall_bottom, ball_radius| tmp56, decrement__wall_bottom__ball_radius:4294967295
|decrement__wall_bottom__ball_radius| tmp57
|tmp57, tmp56| ball_radius, tmp57:4294967295
|tmp57|
|increment__wall_left__ball_radius, ball_radius| wall_left, tmp59, increment__wall_left__ball_radius:4294967295
|increment__wall_left__ball_radius| tmp60
|tmp60, tmp59| ball_radius, tmp60:4294967295
|tmp60|
|increment__wall_top__ball_radius, ball_radius| wall_top, tmp62, increment__wall_top__ball_radius:4294967295
|increment__wall_top__ball_radius| tmp63
|tmp63, tmp62| ball_radius, tmp63:4294967295
|tmp63|
|decrement_const__wall_left__1| tmp65:1, tmp66
|tmp66, wall_left, tmp65| tmp66:4294967295
|tmp66, tmp65| tmp66:4294967295
|tmp66|
|decrement_const__wall_top__1| tmp68:1, tmp69
|tmp69, wall_top, tmp68| tmp69:4294967295
|tmp69, tmp68| tmp69:4294967295
|tmp69|
|clear__tmp70, tmp70| clear__tmp70:4294967295
|clear__tmp70|
|copy__tmp70__frames_count_max, frames_count_max| tmp70, tmp73, copy__tmp70__frames_count_max:4294967295
|copy__tmp70__frames_count_max| tmp74
|tmp74, tmp73| frames_count_max, tmp74:4294967295
|tmp74|
|increment_const__frames_count__1| tmp77:1, tmp78
|tmp78, tmp77| frames_count, tmp78:4294967295
|tmp78|
|clear__y, y| clear__y:4294967295
|clear__y|
|copy__y__ball_y_pos, ball_y_pos| y, tmp81, copy__y__ball_y_pos:4294967295
|copy__y__ball_y_pos| tmp82
|tmp82, tmp81| ball_y_pos, tmp82:4294967295
|tmp82|
|decrement_const__y__5| tmp84:5, tmp85
|tmp85, y, tmp84| tmp85:4294967295
|tmp85, tmp84| tmp85:4294967295
|tmp85|
|clear__tmp86, tmp86| clear__tmp86:4294967295
|clear__tmp86|
|set_const__tmp86__11| tmp86:11
|clear__x, x| clear__x:4294967295
|clear__x|
|copy__x__ball_x_pos, ball_x_pos| x, tmp92, copy__x__ball_x_pos:4294967295
|copy__x__ball_x_pos| tmp93
|tmp93, tmp92| ball_x_pos, tmp93:4294967295
|tmp93|
|decrement_const__x__5| tmp95:5, tmp96
|tmp96, x, tmp95| tmp96:4294967295
|tmp96, tmp95| tmp96:4294967295
|tmp96|
|clear__tmp97, tmp97| clear__tmp97:4294967295
|clear__tmp97|
|set_const__tmp97__11| tmp97:11
|set_pixel__x__y__background_r__background_g__background_b| tmp107, tmp108
|tmp108, @pixel-x| tmp108:4294967295
|tmp108, @pixel-y| tmp108:4294967295
|tmp108, @pixel-r| tmp108:4294967295
|tmp108, @pixel-g| tmp108:4294967295
|tmp108, @pixel-b| tmp108:4294967295
|tmp108| tmp109
|tmp109, x| @pixel-x, tmp102, tmp109:4294967295
|tmp109, y| @pixel-y, tmp103, tmp109:4294967295
|tmp109, background_r| @pixel-r, tmp104, tmp109:4294967295
|tmp109, background_g| @pixel-g, tmp105, tmp109:4294967295
|tmp109, background_b| @pixel-b, tmp106, tmp109:4294967295
|tmp109, tmp107| @set-pixel, tmp109
|tmp109| tmp110
|tmp110, tmp102| x, tmp110:4294967295
|tmp110, tmp103| y, tmp110:4294967295
|tmp110, tmp104| background_r, tmp110:4294967295
|tmp110, tmp105| background_g, tmp110:4294967295
|tmp110, tmp106| background_b, tmp110:4294967295
|tmp110|
|increment_const__x__1| tmp112:1, tmp113
|tmp113, tmp112| x, tmp113:4294967295
|tmp113|
|increment_const__y__1| tmp116:1, tmp117
|tmp117, tmp116| y, tmp117:4294967295
|tmp117|
|clear__tmp119, tmp119| clear__tmp119:4294967295
|clear__tmp119|
|copy__tmp119__ball_x_vel_sign, ball_x_vel_sign| tmp119, tmp123, copy__tmp119__ball_x_vel_sign:4294967295
|copy__tmp119__ball_x_vel_sign| tmp124
|tmp124, tmp123| ball_x_vel_sign, tmp124:4294967295
|tmp124|
|clear__tmp120, tmp120| clear__tmp120:4294967295
|clear__tmp120|
|set_const__tmp120__1| tmp120:1
|increment__ball_x_pos__ball_x_vel, ball_x_vel| ball_x_pos, tmp131, increment__ball_x_pos__ball_x_vel:4294967295
|increment__ball_x_pos__ball_x_vel| tmp132
|tmp132, tmp131| ball_x_vel, tmp132:4294967295
|tmp132|
|decrement__ball_x_pos__ball_x_vel, ball_x_pos, ball_x_vel| tmp134, decrement__ball_x_pos__ball_x_vel:4294967295
|decrement__ball_x_pos__ball_x_vel| tmp135
|tmp135, tmp134| ball_x_vel, tmp135:4294967295
|tmp135|
|clear__tmp136, tmp136| clear__tmp136:4294967295
|clear__tmp136|
|copy__tmp136__ball_y_vel_sign, ball_y_vel_sign| tmp136, tmp140, copy__tmp136__ball_y_vel_sign:4294967295
|copy__tmp136__ball_y_vel_sign| tmp141
|tmp141, tmp140| ball_y_vel_sign, tmp141:4294967295
|tmp141|
|clear__tmp137, tmp137| clear__tmp137:4294967295
|clear__tmp137|
|set_const__tmp137__1| tmp137:1
|increment__ball_y_pos__ball_y_vel, ball_y_vel| ball_y_pos, tmp148, increment__ball_y_pos__ball_y_vel:4294967295
|increment__ball_y_pos__ball_y_vel| tmp149
|tmp149, tmp148| ball_y_vel, tmp149:4294967295
|tmp149|
|decrement__ball_y_pos__ball_y_vel, ball_y_pos, ball_y_vel| tmp151, decrement__ball_y_pos__ball_y_vel:4294967295
|decrement__ball_y_pos__ball_y_vel| tmp152
|tmp152, tmp151| ball_y_vel, tmp152:4294967295
|tmp152|
|clear__tmp153, tmp153| clear__tmp153:4294967295
|clear__tmp153|
|copy__tmp153__ball_x_pos, ball_x_pos| tmp153, tmp157, copy__tmp153__ball_x_pos:4294967295
|copy__tmp153__ball_x_pos| tmp158
|tmp158, tmp157| ball_x_pos, tmp158:4294967295
|tmp158|
|clear__tmp154, tmp154| clear__tmp154:4294967295
|clear__tmp154|
|copy__tmp154__wall_left, wall_left| tmp154, tmp161, copy__tmp154__wall_left:4294967295
|copy__tmp154__wall_left| tmp162
|tmp162, tmp161| wall_left, tmp162:4294967295
|tmp162|
|copy__ball_x_pos__wall_left, wall_left| ball_x_pos, tmp168, copy__ball_x_pos__wall_left:4294967295
|copy__ball_x_pos__wall_left| tmp169
|tmp169, tmp168| wall_left, tmp169:4294967295
|tmp169|
|clear__tmp172, tmp172| clear__tmp172:4294967295
|clear__tmp172|
|copy__tmp172__ball_x_pos, ball_x_pos| tmp172, tmp176, copy__tmp172__ball_x_pos:4294967295
|copy__tmp172__ball_x_pos| tmp177
|tmp177, tmp176| ball_x_pos, tmp177:4294967295
|tmp177|
|clear__tmp173, tmp173| clear__tmp173:4294967295
|clear__tmp173|
|copy__tmp173__wall_right, wall_right| tmp173, tmp180, copy__tmp173__wall_right:4294967295
|copy__tmp173__wall_right| tmp181
|tmp181, tmp180| wall_right, tmp181:4294967295
|tmp181|
|copy__ball_x_pos__wall_right, wall_right| ball_x_pos, tmp187, copy__ball_x_pos__wall_right:4294967295
|copy__ball_x_pos__wall_right| tmp188
|tmp188, tmp187| wall_right, tmp188:4294967295
|tmp188|
|set_const__ball_x_vel_sign__0| ball_x_vel_sign:0
|clear__tmp191, tmp191| clear__tmp191:4294967295
|clear__tmp191|
|copy__tmp191__ball_y_pos, ball_y_pos| tmp191, tmp195, copy__tmp191__ball_y_pos:4294967295
|copy__tmp191__ball_y_pos| tmp196
|tmp196, tmp195| ball_y_pos, tmp196:4294967295
|tmp196|
|clear__tmp192, tmp192| clear__tmp192:4294967295
|clear__tmp192|
|copy__tmp192__wall_top, wall_top| tmp192, tmp199, copy__tmp192__wall_top:4294967295
|copy__tmp192__wall_top| tmp200
|tmp200, tmp199| wall_top, tmp200:4294967295
|tmp200|
|copy__ball_y_pos__wall_top, wall_top| ball_y_pos, tmp206, copy__ball_y_pos__wall_top:4294967295
|copy__ball_y_pos__wall_top| tmp207
|tmp207, tmp206| wall_top, tmp207:4294967295
|tmp207|
|clear__tmp210, tmp210| clear__tmp210:4294967295
|clear__tmp210|
|copy__tmp210__ball_y_pos, ball_y_pos| tmp210, tmp214, copy__tmp210__ball_y_pos:4294967295
|copy__tmp210__ball_y_pos| tmp215
|tmp215, tmp214| ball_y_pos, tmp215:4294967295
|tmp215|
|clear__tmp211, tmp211| clear__tmp211:4294967295
|clear__tmp211|
|copy__tmp211__wall_bottom, wall_bottom| tmp211, tmp218, copy__tmp211__wall_bottom:4294967295
|copy__tmp211__wall_bottom| tmp219
|tmp219, tmp218| wall_bottom, tmp219:4294967295
|tmp219|
|copy__ball_y_pos__wall_bottom, wall_bottom| ball_y_pos, tmp225, copy__ball_y_pos__wall_bottom:4294967295
|copy__ball_y_pos__wall_bottom| tmp226
|tmp226, tmp225| wall_bottom, tmp226:4294967295
|tmp226|
|set_const__ball_y_vel_sign__0| ball_y_vel_sign:0
|increment_const__ball_x_hit_dec__1| tmp230:1, tmp231
|tmp231, tmp230| ball_x_hit_dec, tmp231:4294967295
|tmp231|
|clear__tmp232, tmp232| clear__tmp232:4294967295
|clear__tmp232|
|copy__tmp232__ball_x_hit_dec, ball_x_hit_dec| tmp232, tmp236, copy__tmp232__ball_x_hit_dec:4294967295
|copy__tmp232__ball_x_hit_dec| tmp237
|tmp237, tmp236| ball_x_hit_dec, tmp237:4294967295
|tmp237|
|clear__tmp233, tmp233| clear__tmp233:4294967295
|clear__tmp233|
|copy__tmp233__ball_x_hit_dec_max, ball_x_hit_dec_max| tmp233, tmp240, copy__tmp233__ball_x_hit_dec_max:4294967295
|copy__tmp233__ball_x_hit_dec_max| tmp241
|tmp241, tmp240| ball_x_hit_dec_max, tmp241:4294967295
|tmp241|
|decrement_const__ball_x_vel__1| tmp246:1, tmp247
|tmp247, ball_x_vel, tmp246| tmp247:4294967295
|tmp247, tmp246| tmp247:4294967295
|tmp247|
|clear__tmp250, tmp250| clear__tmp250:4294967295
|clear__tmp250|
|copy__tmp250__ball_y_acc_sign, ball_y_acc_sign| tmp250, tmp254, copy__tmp250__ball_y_acc_sign:4294967295
|copy__tmp250__ball_y_acc_sign| tmp255
|tmp255, tmp254| ball_y_acc_sign, tmp255:4294967295
|tmp255|
|clear__tmp251, tmp251| clear__tmp251:4294967295
|clear__tmp251|
|set_const__tmp251__1| tmp251:1
|clear__tmp261, tmp261| clear__tmp261:4294967295
|clear__tmp261|
|copy__tmp261__ball_y_vel_sign, ball_y_vel_sign| tmp261, tmp265, copy__tmp261__ball_y_vel_sign:4294967295
|copy__tmp261__ball_y_vel_sign| tmp266
|tmp266, tmp265| ball_y_vel_sign, tmp266:4294967295
|tmp266|
|clear__tmp262, tmp262| clear__tmp262:4294967295
|clear__tmp262|
|set_const__tmp262__1| tmp262:1
|increment__ball_y_vel__ball_y_acc, ball_y_acc| ball_y_vel, tmp273, increment__ball_y_vel__ball_y_acc:4294967295
|increment__ball_y_vel__ball_y_acc| tmp274
|tmp274, tmp273| ball_y_acc, tmp274:4294967295
|tmp274|
|decrement__ball_y_vel__ball_y_acc, ball_y_vel, ball_y_acc| tmp276, decrement__ball_y_vel__ball_y_acc:4294967295
|decrement__ball_y_vel__ball_y_acc| tmp277
|tmp277, tmp276| ball_y_acc, tmp277:4294967295
|tmp277|
|clear__tmp278, tmp278| clear__tmp278:4294967295
|clear__tmp278|
|copy__tmp278__ball_y_vel_sign, ball_y_vel_sign| tmp278, tmp282, copy__tmp278__ball_y_vel_sign:4294967295
|copy__tmp278__ball_y_vel_sign| tmp283
|tmp283, tmp282| ball_y_vel_sign, tmp283:4294967295
|tmp283|
|clear__tmp279, tmp279| clear__tmp279:4294967295
|clear__tmp279|
|set_const__tmp279__1| tmp279:1
|clear__tmp291, tmp291| clear__tmp291:4294967295
|clear__tmp291|
|copy__tmp291__ball_y_vel, ball_y_vel| tmp291, tmp295, copy__tmp291__ball_y_vel:4294967295
|copy__tmp291__ball_y_vel| tmp296
|tmp296, tmp295| ball_y_vel, tmp296:4294967295
|tmp296|
|clear__tmp292, tmp292| clear__tmp292:4294967295
|clear__tmp292|
|set_const__tmp292__0| tmp292:0
|clear__tmp302, tmp302| clear__tmp302:4294967295
|clear__tmp302|
|copy__tmp302__ball_y_vel_sign, ball_y_vel_sign| tmp302, tmp306, copy__tmp302__ball_y_vel_sign:4294967295
|copy__tmp302__ball_y_vel_sign| tmp307
|tmp307, tmp306| ball_y_vel_sign, tmp307:4294967295
|tmp307|
|clear__tmp303, tmp303| clear__tmp303:4294967295
|clear__tmp303|
|set_const__tmp303__1| tmp303:1
|clear__tmp320, tmp320| clear__tmp320:4294967295
|clear__tmp320|
|set_const__tmp320__11| tmp320:11
|clear__tmp327, tmp327| clear__tmp327:4294967295
|clear__tmp327|
|set_const__tmp327__11| tmp327:11
|set_pixel__x__y__ball_r__ball_g__ball_b| tmp337, tmp338
|tmp338, @pixel-x| tmp338:4294967295
|tmp338, @pixel-y| tmp338:4294967295
|tmp338, @pixel-r| tmp338:4294967295
|tmp338, @pixel-g| tmp338:4294967295
|tmp338, @pixel-b| tmp338:4294967295
|tmp338| tmp339
|tmp339, x| @pixel-x, tmp332, tmp339:4294967295
|tmp339, y| @pixel-y, tmp333, tmp339:4294967295
|tmp339, ball_r| @pixel-r, tmp334, tmp339:4294967295
|tmp339, ball_g| @pixel-g, tmp335, tmp339:4294967295
|tmp339, ball_b| @pixel-b, tmp336, tmp339:4294967295
|tmp339, tmp337| @set-pixel, tmp339
|tmp339| tmp340
|tmp340, tmp332| x, tmp340:4294967295
|tmp340, tmp333| y, tmp340:4294967295
|tmp340, tmp334| ball_r, tmp340:4294967295
|tmp340, tmp335| ball_g, tmp340:4294967295
|tmp340, tmp336| ball_b, tmp340:4294967295
|tmp340|
|increment_const__x__6| tmp357:6, tmp358
|tmp358, tmp357| x, tmp358:4294967295
|tmp358|
|increment_const__y__6| tmp369:6, tmp370
|tmp370, tmp369| y, tmp370:4294967295
|tmp370|
|decrement_const__x__1| tmp377:1, tmp378
|tmp378, x, tmp377| tmp378:4294967295
|tmp378, tmp377| tmp378:4294967295
|tmp378|
|decrement_const__x__6| tmp383:6, tmp384
|tmp384, x, tmp383| tmp384:4294967295
|tmp384, tmp383| tmp384:4294967295
|tmp384|
|decrement_const__y__1| tmp391:1, tmp392
|tmp392, y, tmp391| tmp392:4294967295
|tmp392, tmp391| tmp392:4294967295
|tmp392|
|decrement_const__y__6| tmp397:6, tmp398
|tmp398, y, tmp397| tmp398:4294967295
|tmp398, tmp397| tmp398:4294967295
|tmp398|
|increment_const__x__8| tmp405:8, tmp406
|tmp406, tmp405| x, tmp406:4294967295
|tmp406|
|increment_const__y__8| tmp409:8, tmp410
|tmp410, tmp409| y, tmp410:4294967295
|tmp410|
|decrement_const__x__8| tmp413:8, tmp414
|tmp414, x, tmp413| tmp414:4294967295
|tmp414, tmp413| tmp414:4294967295
|tmp414|
|draw| @display
|sleep_const__50000| tmp418:100000, tmp419
|tmp419, tmp418| tmp419
|tmp419|
|start| do0, do1, do2, do3, do4, do5, do6, do7, do8, do9, do10, do11, do12, do13, do14, do15, do16, do17, do18, do19, do20, do21, do22, do23, do24, do25, do26, do27, do28, do29, do30, do31, do32, do33, do34, do35, do36, do37, do38, do39, do40, do41, do42, do43, do44, do45, do48, do49, do52, do55, do58, do61, do64, do67, do71, do72, loop75,
|do0| clear__canvas_width
|do1| set_const__canvas_width__400
|do2| clear__canvas_height
|do3| set_const__canvas_height__400
|do4| clear__ball_radius
|do5| set_const__ball_radius__6
|do6| clear__frames_count_max
|do7| set_const__frames_count_max__315
|do8| clear__background_r
|do9| set_const__background_r__254
|do10| clear__background_g
|do11| set_const__background_g__254
|do12| clear__background_b
|do13| set_const__background_b__254
|do14| clear__ball_r
|do15| set_const__ball_r__254
|do16| clear__ball_g
|do17| set_const__ball_g__0
|do18| clear__ball_b
|do19| set_const__ball_b__0
|do20| clear__ball_x_pos
|do21| set_const__ball_x_pos__5
|do22| clear__ball_x_vel
|do23| set_const__ball_x_vel__11
|do24| clear__ball_x_acc
|do25| set_const__ball_x_acc__0
|do26| clear__ball_x_vel_sign
|do27| set_const__ball_x_vel_sign__1
|do28| clear__ball_x_acc_sign
|do29| set_const__ball_x_acc_sign__1
|do30| clear__ball_x_hit_dec
|do31| set_const__ball_x_hit_dec__0
|do32| clear__ball_x_hit_dec_max
|do33| set_const__ball_x_hit_dec_max__5
|do34| clear__ball_y_pos
|do35| set_const__ball_y_pos__5
|do36| clear__ball_y_vel
|do37| set_const__ball_y_vel__6
|do38| clear__ball_y_acc
|do39| set_const__ball_y_acc__3
|do40| clear__ball_y_vel_sign
|do41| set_const__ball_y_vel_sign__1
|do42| clear__ball_y_acc_sign
|do43| set_const__ball_y_acc_sign__1
|do44| clear__wall_right
|do45| copy__wall_right__canvas_width
|do48| clear__wall_bottom
|do49| copy__wall_bottom__canvas_height
|do52| decrement__wall_right__ball_radius
|do55| decrement__wall_bottom__ball_radius
|do58| increment__wall_left__ball_radius
|do61| increment__wall_top__ball_radius
|do64| decrement_const__wall_left__1
|do67| decrement_const__wall_top__1
|do71| clear__tmp70
|do72| copy__tmp70__frames_count_max
|loop75, tmp70|, do76, do79, do80, do83, do87, do88, loop89, do121, do122, do125, do126, if_equal127, do138, do139, do142, do143, if_equal144, do155, do156, do159, do160, if_greater_or_equal163, do174, do175, do178, do179, if_greater_or_equal182, do193, do194, do197, do198, if_greater_or_equal201, do212, do213, do216, do217, if_greater_or_equal220, do252, do253, do256, do257, if_equal258, do293, do294, do297, do298, if_equal299, do317, do318, do319, do321, do322, loop323, do345, do346, do347, do348, do349, do350, do351, do352, do353, do354, do355, do356, do359, do360, do361, do362, do363, do364, do365, do366, do367, do368, do371, do372, do373, do374, do375, do376, do379, do380, do381, do382, do385, do386, do387, do388, do389, do390, do393, do394, do395, do396, do399, do400, do401, do402, do403, do404, do407, do408, do411, do412, do415, do416, do417, done420
|loop75|
|do76| increment_const__frames_count__1
|do79| clear__y
|do80| copy__y__ball_y_pos
|do83| decrement_const__y__5
|do87| clear__tmp86
|do88| set_const__tmp86__11
|loop89, tmp86|, do90, do91, do94, do98, do99, loop100, do115, done118
|loop89|
|do90| clear__x
|do91| copy__x__ball_x_pos
|do94| decrement_const__x__5
|do98| clear__tmp97
|do99| set_const__tmp97__11
|loop100, tmp97|, do101, do111, done114
|loop100|
|do101| set_pixel__x__y__background_r__background_g__background_b
|do111| increment_const__x__1
|done114| loop100
|do115| increment_const__y__1
|done118| loop89
|do121| clear__tmp119
|do122| copy__tmp119__ball_x_vel_sign
|do125| clear__tmp120
|do126| set_const__tmp120__1
|if_equal127, tmp119, tmp120| if_equal127
|if_equal127, tmp119| else129
|if_equal127, tmp120| else129
|if_equal127| then128
|else129, tmp119| else129
|else129, tmp120| else129
|then128| do130,
|do130| increment__ball_x_pos__ball_x_vel
|else129| do133,
|do133| decrement__ball_x_pos__ball_x_vel
|do138| clear__tmp136
|do139| copy__tmp136__ball_y_vel_sign
|do142| clear__tmp137
|do143| set_const__tmp137__1
|if_equal144, tmp136, tmp137| if_equal144
|if_equal144, tmp136| else146
|if_equal144, tmp137| else146
|if_equal144| then145
|else146, tmp136| else146
|else146, tmp137| else146
|then145| do147,
|do147| increment__ball_y_pos__ball_y_vel
|else146| do150,
|do150| decrement__ball_y_pos__ball_y_vel
|do155| clear__tmp153
|do156| copy__tmp153__ball_x_pos
|do159| clear__tmp154
|do160| copy__tmp154__wall_left
|if_greater_or_equal163, tmp153, tmp154| if_greater_or_equal163
|if_greater_or_equal163, tmp153| else165
|if_greater_or_equal163, tmp154| then164
|if_greater_or_equal163| then164
|else165, tmp153| else165
|then164, tmp154| then164
|then164| do166, do167, do170, do171,
|do166| clear__ball_x_pos
|do167| copy__ball_x_pos__wall_left
|do170| clear__ball_x_vel_sign
|do171| set_const__ball_x_vel_sign__1
|else165|
|do174| clear__tmp172
|do175| copy__tmp172__ball_x_pos
|do178| clear__tmp173
|do179| copy__tmp173__wall_right
|if_greater_or_equal182, tmp172, tmp173| if_greater_or_equal182
|if_greater_or_equal182, tmp172| then183
|if_greater_or_equal182, tmp173| else184
|if_greater_or_equal182| then183
|then183, tmp172| then183
|else184, tmp173| else184
|then183| do185, do186, do189, do190,
|do185| clear__ball_x_pos
|do186| copy__ball_x_pos__wall_right
|do189| clear__ball_x_vel_sign
|do190| set_const__ball_x_vel_sign__0
|else184|
|do193| clear__tmp191
|do194| copy__tmp191__ball_y_pos
|do197| clear__tmp192
|do198| copy__tmp192__wall_top
|if_greater_or_equal201, tmp191, tmp192| if_greater_or_equal201
|if_greater_or_equal201, tmp191| else203
|if_greater_or_equal201, tmp192| then202
|if_greater_or_equal201| then202
|else203, tmp191| else203
|then202, tmp192| then202
|then202| do204, do205, do208, do209,
|do204| clear__ball_y_pos
|do205| copy__ball_y_pos__wall_top
|do208| clear__ball_y_vel_sign
|do209| set_const__ball_y_vel_sign__1
|else203|
|do212| clear__tmp210
|do213| copy__tmp210__ball_y_pos
|do216| clear__tmp211
|do217| copy__tmp211__wall_bottom
|if_greater_or_equal220, tmp210, tmp211| if_greater_or_equal220
|if_greater_or_equal220, tmp210| then221
|if_greater_or_equal220, tmp211| else222
|if_greater_or_equal220| then221
|then221, tmp210| then221
|else222, tmp211| else222
|then221| do223, do224, do227, do228, do229, do234, do235, do238, do239, if_equal242,
|do223| clear__ball_y_pos
|do224| copy__ball_y_pos__wall_bottom
|do227| clear__ball_y_vel_sign
|do228| set_const__ball_y_vel_sign__0
|do229| increment_const__ball_x_hit_dec__1
|do234| clear__tmp232
|do235| copy__tmp232__ball_x_hit_dec
|do238| clear__tmp233
|do239| copy__tmp233__ball_x_hit_dec_max
|if_equal242, tmp232, tmp233| if_equal242
|if_equal242, tmp232| else244
|if_equal242, tmp233| else244
|if_equal242| then243
|else244, tmp232| else244
|else244, tmp233| else244
|then243| do245, do248, do249,
|do245| decrement_const__ball_x_vel__1
|do248| clear__ball_x_hit_dec
|do249| set_const__ball_x_hit_dec__0
|else244|
|else222|
|do252| clear__tmp250
|do253| copy__tmp250__ball_y_acc_sign
|do256| clear__tmp251
|do257| set_const__tmp251__1
|if_equal258, tmp250, tmp251| if_equal258
|if_equal258, tmp250| else260
|if_equal258, tmp251| else260
|if_equal258| then259
|else260, tmp250| else260
|else260, tmp251| else260
|then259| do263, do264, do267, do268, if_equal269,
|do263| clear__tmp261
|do264| copy__tmp261__ball_y_vel_sign
|do267| clear__tmp262
|do268| set_const__tmp262__1
|if_equal269, tmp261, tmp262| if_equal269
|if_equal269, tmp261| else271
|if_equal269, tmp262| else271
|if_equal269| then270
|else271, tmp261| else271
|else271, tmp262| else271
|then270| do272,
|do272| increment__ball_y_vel__ball_y_acc
|else271| do275,
|do275| decrement__ball_y_vel__ball_y_acc
|else260| do280, do281, do284, do285, if_equal286,
|do280| clear__tmp278
|do281| copy__tmp278__ball_y_vel_sign
|do284| clear__tmp279
|do285| set_const__tmp279__1
|if_equal286, tmp278, tmp279| if_equal286
|if_equal286, tmp278| else288
|if_equal286, tmp279| else288
|if_equal286| then287
|else288, tmp278| else288
|else288, tmp279| else288
|then287| do289,
|do289| decrement__ball_y_vel__ball_y_acc
|else288| do290,
|do290| increment__ball_y_vel__ball_y_acc
|do293| clear__tmp291
|do294| copy__tmp291__ball_y_vel
|do297| clear__tmp292
|do298| set_const__tmp292__0
|if_equal299, tmp291, tmp292| if_equal299
|if_equal299, tmp291| else301
|if_equal299, tmp292| else301
|if_equal299| then300
|else301, tmp291| else301
|else301, tmp292| else301
|then300| do304, do305, do308, do309, if_equal310,
|do304| clear__tmp302
|do305| copy__tmp302__ball_y_vel_sign
|do308| clear__tmp303
|do309| set_const__tmp303__1
|if_equal310, tmp302, tmp303| if_equal310
|if_equal310, tmp302| else312
|if_equal310, tmp303| else312
|if_equal310| then311
|else312, tmp302| else312
|else312, tmp303| else312
|then311| do313, do314,
|do313| clear__ball_y_vel_sign
|do314| set_const__ball_y_vel_sign__0
|else312| do315, do316,
|do315| clear__ball_y_vel_sign
|do316| set_const__ball_y_vel_sign__1
|else301|
|do317| clear__y
|do318| copy__y__ball_y_pos
|do319| decrement_const__y__5
|do321| clear__tmp320
|do322| set_const__tmp320__11
|loop323, tmp320|, do324, do325, do326, do328, do329, loop330, do343, done344
|loop323|
|do324| clear__x
|do325| copy__x__ball_x_pos
|do326| decrement_const__x__5
|do328| clear__tmp327
|do329| set_const__tmp327__11
|loop330, tmp327|, do331, do341, done342
|loop330|
|do331| set_pixel__x__y__ball_r__ball_g__ball_b
|do341| increment_const__x__1
|done342| loop330
|do343| increment_const__y__1
|done344| loop323
|do345| clear__x
|do346| copy__x__ball_x_pos
|do347| clear__y
|do348| copy__y__ball_y_pos
|do349| decrement_const__x__5
|do350| decrement_const__y__5
|do351| set_pixel__x__y__background_r__background_g__background_b
|do352| increment_const__x__1
|do353| set_pixel__x__y__background_r__background_g__background_b
|do354| increment_const__x__1
|do355| set_pixel__x__y__background_r__background_g__background_b
|do356| increment_const__x__6
|do359| set_pixel__x__y__background_r__background_g__background_b
|do360| increment_const__x__1
|do361| set_pixel__x__y__background_r__background_g__background_b
|do362| increment_const__x__1
|do363| set_pixel__x__y__background_r__background_g__background_b
|do364| increment_const__y__1
|do365| set_pixel__x__y__background_r__background_g__background_b
|do366| increment_const__y__1
|do367| set_pixel__x__y__background_r__background_g__background_b
|do368| increment_const__y__6
|do371| set_pixel__x__y__background_r__background_g__background_b
|do372| increment_const__y__1
|do373| set_pixel__x__y__background_r__background_g__background_b
|do374| increment_const__y__1
|do375| set_pixel__x__y__background_r__background_g__background_b
|do376| decrement_const__x__1
|do379| set_pixel__x__y__background_r__background_g__background_b
|do380| decrement_const__x__1
|do381| set_pixel__x__y__background_r__background_g__background_b
|do382| decrement_const__x__6
|do385| set_pixel__x__y__background_r__background_g__background_b
|do386| decrement_const__x__1
|do387| set_pixel__x__y__background_r__background_g__background_b
|do388| decrement_const__x__1
|do389| set_pixel__x__y__background_r__background_g__background_b
|do390| decrement_const__y__1
|do393| set_pixel__x__y__background_r__background_g__background_b
|do394| decrement_const__y__1
|do395| set_pixel__x__y__background_r__background_g__background_b
|do396| decrement_const__y__6
|do399| set_pixel__x__y__background_r__background_g__background_b
|do400| decrement_const__y__1
|do401| set_pixel__x__y__background_r__background_g__background_b
|do402| increment_const__x__1
|do403| set_pixel__x__y__background_r__background_g__background_b
|do404| increment_const__x__8
|do407| set_pixel__x__y__background_r__background_g__background_b
|do408| increment_const__y__8
|do411| set_pixel__x__y__background_r__background_g__background_b
|do412| decrement_const__x__8
|do415| set_pixel__x__y__background_r__background_g__background_b
|do416| draw
|do417| sleep_const__50000
|done420| loop75
1 | |----------------------------------------| |
2 | |
3 | The section between these |
4 | two lines is a patch to |
5 | the original program. |
6 | |
7 | It's intended that, as a |
8 | program is used, it can be |
9 | changed and patched as the |
10 | user desires. |
11 | |
12 | |#| new buttons row |
13 | |#| button, Faster, faster |
14 | |#| button, Slower, slower |
15 | |#| button, Kick, kick |
16 | |#| button, Pause, pause |
17 | |#| button, Resume, resume |
18 | |#| button, Continue Loop, continue loop |
19 | |faster| ball_x_vel |
20 | |slower, ball_x_vel| |
21 | |slower| |
22 | |kick| ball_y_vel:25 |
23 | |pause, resume| resume |
24 | |resume| |
25 | |pause| pause |
26 | |continue loop, loop75| loop75 |
27 | |continue loop, tmp70| tmp70 |
28 | |continue loop| loop75, tmp70:315 |
29 | |
30 | |----------------------------------------| |
31 | |
32 | ||start |
33 | |clear__canvas_width, canvas_width| clear__canvas_width:4294967295 |
34 | |clear__canvas_width| |
35 | |set_const__canvas_width__400| canvas_width:400 |
36 | |clear__canvas_height, canvas_height| clear__canvas_height:4294967295 |
37 | |clear__canvas_height| |
38 | |set_const__canvas_height__400| canvas_height:400 |
39 | |clear__ball_radius, ball_radius| clear__ball_radius:4294967295 |
40 | |clear__ball_radius| |
41 | |set_const__ball_radius__6| ball_radius:6 |
42 | |clear__frames_count_max, frames_count_max| clear__frames_count_max:4294967295 |
43 | |clear__frames_count_max| |
44 | |set_const__frames_count_max__315| frames_count_max:315 |
45 | |clear__background_r, background_r| clear__background_r:4294967295 |
46 | |clear__background_r| |
47 | |set_const__background_r__254| background_r:254 |
48 | |clear__background_g, background_g| clear__background_g:4294967295 |
49 | |clear__background_g| |
50 | |set_const__background_g__254| background_g:254 |
51 | |clear__background_b, background_b| clear__background_b:4294967295 |
52 | |clear__background_b| |
53 | |set_const__background_b__254| background_b:254 |
54 | |clear__ball_r, ball_r| clear__ball_r:4294967295 |
55 | |clear__ball_r| |
56 | |set_const__ball_r__254| ball_r:254 |
57 | |clear__ball_g, ball_g| clear__ball_g:4294967295 |
58 | |clear__ball_g| |
59 | |set_const__ball_g__0| ball_g:0 |
60 | |clear__ball_b, ball_b| clear__ball_b:4294967295 |
61 | |clear__ball_b| |
62 | |set_const__ball_b__0| ball_b:0 |
63 | |clear__ball_x_pos, ball_x_pos| clear__ball_x_pos:4294967295 |
64 | |clear__ball_x_pos| |
65 | |set_const__ball_x_pos__5| ball_x_pos:5 |
66 | |clear__ball_x_vel, ball_x_vel| clear__ball_x_vel:4294967295 |
67 | |clear__ball_x_vel| |
68 | |set_const__ball_x_vel__11| ball_x_vel:11 |
69 | |clear__ball_x_acc, ball_x_acc| clear__ball_x_acc:4294967295 |
70 | |clear__ball_x_acc| |
71 | |set_const__ball_x_acc__0| ball_x_acc:0 |
72 | |clear__ball_x_vel_sign, ball_x_vel_sign| clear__ball_x_vel_sign:4294967295 |
73 | |clear__ball_x_vel_sign| |
74 | |set_const__ball_x_vel_sign__1| ball_x_vel_sign:1 |
75 | |clear__ball_x_acc_sign, ball_x_acc_sign| clear__ball_x_acc_sign:4294967295 |
76 | |clear__ball_x_acc_sign| |
77 | |set_const__ball_x_acc_sign__1| ball_x_acc_sign:1 |
78 | |clear__ball_x_hit_dec, ball_x_hit_dec| clear__ball_x_hit_dec:4294967295 |
79 | |clear__ball_x_hit_dec| |
80 | |set_const__ball_x_hit_dec__0| ball_x_hit_dec:0 |
81 | |clear__ball_x_hit_dec_max, ball_x_hit_dec_max| clear__ball_x_hit_dec_max:4294967295 |
82 | |clear__ball_x_hit_dec_max| |
83 | |set_const__ball_x_hit_dec_max__5| ball_x_hit_dec_max:5 |
84 | |clear__ball_y_pos, ball_y_pos| clear__ball_y_pos:4294967295 |
85 | |clear__ball_y_pos| |
86 | |set_const__ball_y_pos__5| ball_y_pos:5 |
87 | |clear__ball_y_vel, ball_y_vel| clear__ball_y_vel:4294967295 |
88 | |clear__ball_y_vel| |
89 | |set_const__ball_y_vel__6| ball_y_vel:6 |
90 | |clear__ball_y_acc, ball_y_acc| clear__ball_y_acc:4294967295 |
91 | |clear__ball_y_acc| |
92 | |set_const__ball_y_acc__3| ball_y_acc:3 |
93 | |clear__ball_y_vel_sign, ball_y_vel_sign| clear__ball_y_vel_sign:4294967295 |
94 | |clear__ball_y_vel_sign| |
95 | |set_const__ball_y_vel_sign__1| ball_y_vel_sign:1 |
96 | |clear__ball_y_acc_sign, ball_y_acc_sign| clear__ball_y_acc_sign:4294967295 |
97 | |clear__ball_y_acc_sign| |
98 | |set_const__ball_y_acc_sign__1| ball_y_acc_sign:1 |
99 | |clear__wall_right, wall_right| clear__wall_right:4294967295 |
100 | |clear__wall_right| |
101 | |copy__wall_right__canvas_width, canvas_width| wall_right, tmp46, copy__wall_right__canvas_width:4294967295 |
102 | |copy__wall_right__canvas_width| tmp47 |
103 | |tmp47, tmp46| canvas_width, tmp47:4294967295 |
104 | |tmp47| |
105 | |clear__wall_bottom, wall_bottom| clear__wall_bottom:4294967295 |
106 | |clear__wall_bottom| |
107 | |copy__wall_bottom__canvas_height, canvas_height| wall_bottom, tmp50, copy__wall_bottom__canvas_height:4294967295 |
108 | |copy__wall_bottom__canvas_height| tmp51 |
109 | |tmp51, tmp50| canvas_height, tmp51:4294967295 |
110 | |tmp51| |
111 | |decrement__wall_right__ball_radius, wall_right, ball_radius| tmp53, decrement__wall_right__ball_radius:4294967295 |
112 | |decrement__wall_right__ball_radius| tmp54 |
113 | |tmp54, tmp53| ball_radius, tmp54:4294967295 |
114 | |tmp54| |
115 | |decrement__wall_bottom__ball_radius, wall_bottom, ball_radius| tmp56, decrement__wall_bottom__ball_radius:4294967295 |
116 | |decrement__wall_bottom__ball_radius| tmp57 |
117 | |tmp57, tmp56| ball_radius, tmp57:4294967295 |
118 | |tmp57| |
119 | |increment__wall_left__ball_radius, ball_radius| wall_left, tmp59, increment__wall_left__ball_radius:4294967295 |
120 | |increment__wall_left__ball_radius| tmp60 |
121 | |tmp60, tmp59| ball_radius, tmp60:4294967295 |
122 | |tmp60| |
123 | |increment__wall_top__ball_radius, ball_radius| wall_top, tmp62, increment__wall_top__ball_radius:4294967295 |
124 | |increment__wall_top__ball_radius| tmp63 |
125 | |tmp63, tmp62| ball_radius, tmp63:4294967295 |
126 | |tmp63| |
127 | |decrement_const__wall_left__1| tmp65:1, tmp66 |
128 | |tmp66, wall_left, tmp65| tmp66:4294967295 |
129 | |tmp66, tmp65| tmp66:4294967295 |
130 | |tmp66| |
131 | |decrement_const__wall_top__1| tmp68:1, tmp69 |
132 | |tmp69, wall_top, tmp68| tmp69:4294967295 |
133 | |tmp69, tmp68| tmp69:4294967295 |
134 | |tmp69| |
135 | |clear__tmp70, tmp70| clear__tmp70:4294967295 |
136 | |clear__tmp70| |
137 | |copy__tmp70__frames_count_max, frames_count_max| tmp70, tmp73, copy__tmp70__frames_count_max:4294967295 |
138 | |copy__tmp70__frames_count_max| tmp74 |
139 | |tmp74, tmp73| frames_count_max, tmp74:4294967295 |
140 | |tmp74| |
141 | |increment_const__frames_count__1| tmp77:1, tmp78 |
142 | |tmp78, tmp77| frames_count, tmp78:4294967295 |
143 | |tmp78| |
144 | |clear__y, y| clear__y:4294967295 |
145 | |clear__y| |
146 | |copy__y__ball_y_pos, ball_y_pos| y, tmp81, copy__y__ball_y_pos:4294967295 |
147 | |copy__y__ball_y_pos| tmp82 |
148 | |tmp82, tmp81| ball_y_pos, tmp82:4294967295 |
149 | |tmp82| |
150 | |decrement_const__y__5| tmp84:5, tmp85 |
151 | |tmp85, y, tmp84| tmp85:4294967295 |
152 | |tmp85, tmp84| tmp85:4294967295 |
153 | |tmp85| |
154 | |clear__tmp86, tmp86| clear__tmp86:4294967295 |
155 | |clear__tmp86| |
156 | |set_const__tmp86__11| tmp86:11 |
157 | |clear__x, x| clear__x:4294967295 |
158 | |clear__x| |
159 | |copy__x__ball_x_pos, ball_x_pos| x, tmp92, copy__x__ball_x_pos:4294967295 |
160 | |copy__x__ball_x_pos| tmp93 |
161 | |tmp93, tmp92| ball_x_pos, tmp93:4294967295 |
162 | |tmp93| |
163 | |decrement_const__x__5| tmp95:5, tmp96 |
164 | |tmp96, x, tmp95| tmp96:4294967295 |
165 | |tmp96, tmp95| tmp96:4294967295 |
166 | |tmp96| |
167 | |clear__tmp97, tmp97| clear__tmp97:4294967295 |
168 | |clear__tmp97| |
169 | |set_const__tmp97__11| tmp97:11 |
170 | |set_pixel__x__y__background_r__background_g__background_b| tmp107, tmp108 |
171 | |tmp108, @pixel-x| tmp108:4294967295 |
172 | |tmp108, @pixel-y| tmp108:4294967295 |
173 | |tmp108, @pixel-r| tmp108:4294967295 |
174 | |tmp108, @pixel-g| tmp108:4294967295 |
175 | |tmp108, @pixel-b| tmp108:4294967295 |
176 | |tmp108| tmp109 |
177 | |tmp109, x| @pixel-x, tmp102, tmp109:4294967295 |
178 | |tmp109, y| @pixel-y, tmp103, tmp109:4294967295 |
179 | |tmp109, background_r| @pixel-r, tmp104, tmp109:4294967295 |
180 | |tmp109, background_g| @pixel-g, tmp105, tmp109:4294967295 |
181 | |tmp109, background_b| @pixel-b, tmp106, tmp109:4294967295 |
182 | |tmp109, tmp107| @set-pixel, tmp109 |
183 | |tmp109| tmp110 |
184 | |tmp110, tmp102| x, tmp110:4294967295 |
185 | |tmp110, tmp103| y, tmp110:4294967295 |
186 | |tmp110, tmp104| background_r, tmp110:4294967295 |
187 | |tmp110, tmp105| background_g, tmp110:4294967295 |
188 | |tmp110, tmp106| background_b, tmp110:4294967295 |
189 | |tmp110| |
190 | |increment_const__x__1| tmp112:1, tmp113 |
191 | |tmp113, tmp112| x, tmp113:4294967295 |
192 | |tmp113| |
193 | |increment_const__y__1| tmp116:1, tmp117 |
194 | |tmp117, tmp116| y, tmp117:4294967295 |
195 | |tmp117| |
196 | |clear__tmp119, tmp119| clear__tmp119:4294967295 |
197 | |clear__tmp119| |
198 | |copy__tmp119__ball_x_vel_sign, ball_x_vel_sign| tmp119, tmp123, copy__tmp119__ball_x_vel_sign:4294967295 |
199 | |copy__tmp119__ball_x_vel_sign| tmp124 |
200 | |tmp124, tmp123| ball_x_vel_sign, tmp124:4294967295 |
201 | |tmp124| |
202 | |clear__tmp120, tmp120| clear__tmp120:4294967295 |
203 | |clear__tmp120| |
204 | |set_const__tmp120__1| tmp120:1 |
205 | |increment__ball_x_pos__ball_x_vel, ball_x_vel| ball_x_pos, tmp131, increment__ball_x_pos__ball_x_vel:4294967295 |
206 | |increment__ball_x_pos__ball_x_vel| tmp132 |
207 | |tmp132, tmp131| ball_x_vel, tmp132:4294967295 |
208 | |tmp132| |
209 | |decrement__ball_x_pos__ball_x_vel, ball_x_pos, ball_x_vel| tmp134, decrement__ball_x_pos__ball_x_vel:4294967295 |
210 | |decrement__ball_x_pos__ball_x_vel| tmp135 |
211 | |tmp135, tmp134| ball_x_vel, tmp135:4294967295 |
212 | |tmp135| |
213 | |clear__tmp136, tmp136| clear__tmp136:4294967295 |
214 | |clear__tmp136| |
215 | |copy__tmp136__ball_y_vel_sign, ball_y_vel_sign| tmp136, tmp140, copy__tmp136__ball_y_vel_sign:4294967295 |
216 | |copy__tmp136__ball_y_vel_sign| tmp141 |
217 | |tmp141, tmp140| ball_y_vel_sign, tmp141:4294967295 |
218 | |tmp141| |
219 | |clear__tmp137, tmp137| clear__tmp137:4294967295 |
220 | |clear__tmp137| |
221 | |set_const__tmp137__1| tmp137:1 |
222 | |increment__ball_y_pos__ball_y_vel, ball_y_vel| ball_y_pos, tmp148, increment__ball_y_pos__ball_y_vel:4294967295 |
223 | |increment__ball_y_pos__ball_y_vel| tmp149 |
224 | |tmp149, tmp148| ball_y_vel, tmp149:4294967295 |
225 | |tmp149| |
226 | |decrement__ball_y_pos__ball_y_vel, ball_y_pos, ball_y_vel| tmp151, decrement__ball_y_pos__ball_y_vel:4294967295 |
227 | |decrement__ball_y_pos__ball_y_vel| tmp152 |
228 | |tmp152, tmp151| ball_y_vel, tmp152:4294967295 |
229 | |tmp152| |
230 | |clear__tmp153, tmp153| clear__tmp153:4294967295 |
231 | |clear__tmp153| |
232 | |copy__tmp153__ball_x_pos, ball_x_pos| tmp153, tmp157, copy__tmp153__ball_x_pos:4294967295 |
233 | |copy__tmp153__ball_x_pos| tmp158 |
234 | |tmp158, tmp157| ball_x_pos, tmp158:4294967295 |
235 | |tmp158| |
236 | |clear__tmp154, tmp154| clear__tmp154:4294967295 |
237 | |clear__tmp154| |
238 | |copy__tmp154__wall_left, wall_left| tmp154, tmp161, copy__tmp154__wall_left:4294967295 |
239 | |copy__tmp154__wall_left| tmp162 |
240 | |tmp162, tmp161| wall_left, tmp162:4294967295 |
241 | |tmp162| |
242 | |copy__ball_x_pos__wall_left, wall_left| ball_x_pos, tmp168, copy__ball_x_pos__wall_left:4294967295 |
243 | |copy__ball_x_pos__wall_left| tmp169 |
244 | |tmp169, tmp168| wall_left, tmp169:4294967295 |
245 | |tmp169| |
246 | |clear__tmp172, tmp172| clear__tmp172:4294967295 |
247 | |clear__tmp172| |
248 | |copy__tmp172__ball_x_pos, ball_x_pos| tmp172, tmp176, copy__tmp172__ball_x_pos:4294967295 |
249 | |copy__tmp172__ball_x_pos| tmp177 |
250 | |tmp177, tmp176| ball_x_pos, tmp177:4294967295 |
251 | |tmp177| |
252 | |clear__tmp173, tmp173| clear__tmp173:4294967295 |
253 | |clear__tmp173| |
254 | |copy__tmp173__wall_right, wall_right| tmp173, tmp180, copy__tmp173__wall_right:4294967295 |
255 | |copy__tmp173__wall_right| tmp181 |
256 | |tmp181, tmp180| wall_right, tmp181:4294967295 |
257 | |tmp181| |
258 | |copy__ball_x_pos__wall_right, wall_right| ball_x_pos, tmp187, copy__ball_x_pos__wall_right:4294967295 |
259 | |copy__ball_x_pos__wall_right| tmp188 |
260 | |tmp188, tmp187| wall_right, tmp188:4294967295 |
261 | |tmp188| |
262 | |set_const__ball_x_vel_sign__0| ball_x_vel_sign:0 |
263 | |clear__tmp191, tmp191| clear__tmp191:4294967295 |
264 | |clear__tmp191| |
265 | |copy__tmp191__ball_y_pos, ball_y_pos| tmp191, tmp195, copy__tmp191__ball_y_pos:4294967295 |
266 | |copy__tmp191__ball_y_pos| tmp196 |
267 | |tmp196, tmp195| ball_y_pos, tmp196:4294967295 |
268 | |tmp196| |
269 | |clear__tmp192, tmp192| clear__tmp192:4294967295 |
270 | |clear__tmp192| |
271 | |copy__tmp192__wall_top, wall_top| tmp192, tmp199, copy__tmp192__wall_top:4294967295 |
272 | |copy__tmp192__wall_top| tmp200 |
273 | |tmp200, tmp199| wall_top, tmp200:4294967295 |
274 | |tmp200| |
275 | |copy__ball_y_pos__wall_top, wall_top| ball_y_pos, tmp206, copy__ball_y_pos__wall_top:4294967295 |
276 | |copy__ball_y_pos__wall_top| tmp207 |
277 | |tmp207, tmp206| wall_top, tmp207:4294967295 |
278 | |tmp207| |
279 | |clear__tmp210, tmp210| clear__tmp210:4294967295 |
280 | |clear__tmp210| |
281 | |copy__tmp210__ball_y_pos, ball_y_pos| tmp210, tmp214, copy__tmp210__ball_y_pos:4294967295 |
282 | |copy__tmp210__ball_y_pos| tmp215 |
283 | |tmp215, tmp214| ball_y_pos, tmp215:4294967295 |
284 | |tmp215| |
285 | |clear__tmp211, tmp211| clear__tmp211:4294967295 |
286 | |clear__tmp211| |
287 | |copy__tmp211__wall_bottom, wall_bottom| tmp211, tmp218, copy__tmp211__wall_bottom:4294967295 |
288 | |copy__tmp211__wall_bottom| tmp219 |
289 | |tmp219, tmp218| wall_bottom, tmp219:4294967295 |
290 | |tmp219| |
291 | |copy__ball_y_pos__wall_bottom, wall_bottom| ball_y_pos, tmp225, copy__ball_y_pos__wall_bottom:4294967295 |
292 | |copy__ball_y_pos__wall_bottom| tmp226 |
293 | |tmp226, tmp225| wall_bottom, tmp226:4294967295 |
294 | |tmp226| |
295 | |set_const__ball_y_vel_sign__0| ball_y_vel_sign:0 |
296 | |increment_const__ball_x_hit_dec__1| tmp230:1, tmp231 |
297 | |tmp231, tmp230| ball_x_hit_dec, tmp231:4294967295 |
298 | |tmp231| |
299 | |clear__tmp232, tmp232| clear__tmp232:4294967295 |
300 | |clear__tmp232| |
301 | |copy__tmp232__ball_x_hit_dec, ball_x_hit_dec| tmp232, tmp236, copy__tmp232__ball_x_hit_dec:4294967295 |
302 | |copy__tmp232__ball_x_hit_dec| tmp237 |
303 | |tmp237, tmp236| ball_x_hit_dec, tmp237:4294967295 |
304 | |tmp237| |
305 | |clear__tmp233, tmp233| clear__tmp233:4294967295 |
306 | |clear__tmp233| |
307 | |copy__tmp233__ball_x_hit_dec_max, ball_x_hit_dec_max| tmp233, tmp240, copy__tmp233__ball_x_hit_dec_max:4294967295 |
308 | |copy__tmp233__ball_x_hit_dec_max| tmp241 |
309 | |tmp241, tmp240| ball_x_hit_dec_max, tmp241:4294967295 |
310 | |tmp241| |
311 | |decrement_const__ball_x_vel__1| tmp246:1, tmp247 |
312 | |tmp247, ball_x_vel, tmp246| tmp247:4294967295 |
313 | |tmp247, tmp246| tmp247:4294967295 |
314 | |tmp247| |
315 | |clear__tmp250, tmp250| clear__tmp250:4294967295 |
316 | |clear__tmp250| |
317 | |copy__tmp250__ball_y_acc_sign, ball_y_acc_sign| tmp250, tmp254, copy__tmp250__ball_y_acc_sign:4294967295 |
318 | |copy__tmp250__ball_y_acc_sign| tmp255 |
319 | |tmp255, tmp254| ball_y_acc_sign, tmp255:4294967295 |
320 | |tmp255| |
321 | |clear__tmp251, tmp251| clear__tmp251:4294967295 |
322 | |clear__tmp251| |
323 | |set_const__tmp251__1| tmp251:1 |
324 | |clear__tmp261, tmp261| clear__tmp261:4294967295 |
325 | |clear__tmp261| |
326 | |copy__tmp261__ball_y_vel_sign, ball_y_vel_sign| tmp261, tmp265, copy__tmp261__ball_y_vel_sign:4294967295 |
327 | |copy__tmp261__ball_y_vel_sign| tmp266 |
328 | |tmp266, tmp265| ball_y_vel_sign, tmp266:4294967295 |
329 | |tmp266| |
330 | |clear__tmp262, tmp262| clear__tmp262:4294967295 |
331 | |clear__tmp262| |
332 | |set_const__tmp262__1| tmp262:1 |
333 | |increment__ball_y_vel__ball_y_acc, ball_y_acc| ball_y_vel, tmp273, increment__ball_y_vel__ball_y_acc:4294967295 |
334 | |increment__ball_y_vel__ball_y_acc| tmp274 |
335 | |tmp274, tmp273| ball_y_acc, tmp274:4294967295 |
336 | |tmp274| |
337 | |decrement__ball_y_vel__ball_y_acc, ball_y_vel, ball_y_acc| tmp276, decrement__ball_y_vel__ball_y_acc:4294967295 |
338 | |decrement__ball_y_vel__ball_y_acc| tmp277 |
339 | |tmp277, tmp276| ball_y_acc, tmp277:4294967295 |
340 | |tmp277| |
341 | |clear__tmp278, tmp278| clear__tmp278:4294967295 |
342 | |clear__tmp278| |
343 | |copy__tmp278__ball_y_vel_sign, ball_y_vel_sign| tmp278, tmp282, copy__tmp278__ball_y_vel_sign:4294967295 |
344 | |copy__tmp278__ball_y_vel_sign| tmp283 |
345 | |tmp283, tmp282| ball_y_vel_sign, tmp283:4294967295 |
346 | |tmp283| |
347 | |clear__tmp279, tmp279| clear__tmp279:4294967295 |
348 | |clear__tmp279| |
349 | |set_const__tmp279__1| tmp279:1 |
350 | |clear__tmp291, tmp291| clear__tmp291:4294967295 |
351 | |clear__tmp291| |
352 | |copy__tmp291__ball_y_vel, ball_y_vel| tmp291, tmp295, copy__tmp291__ball_y_vel:4294967295 |
353 | |copy__tmp291__ball_y_vel| tmp296 |
354 | |tmp296, tmp295| ball_y_vel, tmp296:4294967295 |
355 | |tmp296| |
356 | |clear__tmp292, tmp292| clear__tmp292:4294967295 |
357 | |clear__tmp292| |
358 | |set_const__tmp292__0| tmp292:0 |
359 | |clear__tmp302, tmp302| clear__tmp302:4294967295 |
360 | |clear__tmp302| |
361 | |copy__tmp302__ball_y_vel_sign, ball_y_vel_sign| tmp302, tmp306, copy__tmp302__ball_y_vel_sign:4294967295 |
362 | |copy__tmp302__ball_y_vel_sign| tmp307 |
363 | |tmp307, tmp306| ball_y_vel_sign, tmp307:4294967295 |
364 | |tmp307| |
365 | |clear__tmp303, tmp303| clear__tmp303:4294967295 |
366 | |clear__tmp303| |
367 | |set_const__tmp303__1| tmp303:1 |
368 | |clear__tmp320, tmp320| clear__tmp320:4294967295 |
369 | |clear__tmp320| |
370 | |set_const__tmp320__11| tmp320:11 |
371 | |clear__tmp327, tmp327| clear__tmp327:4294967295 |
372 | |clear__tmp327| |
373 | |set_const__tmp327__11| tmp327:11 |
374 | |set_pixel__x__y__ball_r__ball_g__ball_b| tmp337, tmp338 |
375 | |tmp338, @pixel-x| tmp338:4294967295 |
376 | |tmp338, @pixel-y| tmp338:4294967295 |
377 | |tmp338, @pixel-r| tmp338:4294967295 |
378 | |tmp338, @pixel-g| tmp338:4294967295 |
379 | |tmp338, @pixel-b| tmp338:4294967295 |
380 | |tmp338| tmp339 |
381 | |tmp339, x| @pixel-x, tmp332, tmp339:4294967295 |
382 | |tmp339, y| @pixel-y, tmp333, tmp339:4294967295 |
383 | |tmp339, ball_r| @pixel-r, tmp334, tmp339:4294967295 |
384 | |tmp339, ball_g| @pixel-g, tmp335, tmp339:4294967295 |
385 | |tmp339, ball_b| @pixel-b, tmp336, tmp339:4294967295 |
386 | |tmp339, tmp337| @set-pixel, tmp339 |
387 | |tmp339| tmp340 |
388 | |tmp340, tmp332| x, tmp340:4294967295 |
389 | |tmp340, tmp333| y, tmp340:4294967295 |
390 | |tmp340, tmp334| ball_r, tmp340:4294967295 |
391 | |tmp340, tmp335| ball_g, tmp340:4294967295 |
392 | |tmp340, tmp336| ball_b, tmp340:4294967295 |
393 | |tmp340| |
394 | |increment_const__x__6| tmp357:6, tmp358 |
395 | |tmp358, tmp357| x, tmp358:4294967295 |
396 | |tmp358| |
397 | |increment_const__y__6| tmp369:6, tmp370 |
398 | |tmp370, tmp369| y, tmp370:4294967295 |
399 | |tmp370| |
400 | |decrement_const__x__1| tmp377:1, tmp378 |
401 | |tmp378, x, tmp377| tmp378:4294967295 |
402 | |tmp378, tmp377| tmp378:4294967295 |
403 | |tmp378| |
404 | |decrement_const__x__6| tmp383:6, tmp384 |
405 | |tmp384, x, tmp383| tmp384:4294967295 |
406 | |tmp384, tmp383| tmp384:4294967295 |
407 | |tmp384| |
408 | |decrement_const__y__1| tmp391:1, tmp392 |
409 | |tmp392, y, tmp391| tmp392:4294967295 |
410 | |tmp392, tmp391| tmp392:4294967295 |
411 | |tmp392| |
412 | |decrement_const__y__6| tmp397:6, tmp398 |
413 | |tmp398, y, tmp397| tmp398:4294967295 |
414 | |tmp398, tmp397| tmp398:4294967295 |
415 | |tmp398| |
416 | |increment_const__x__8| tmp405:8, tmp406 |
417 | |tmp406, tmp405| x, tmp406:4294967295 |
418 | |tmp406| |
419 | |increment_const__y__8| tmp409:8, tmp410 |
420 | |tmp410, tmp409| y, tmp410:4294967295 |
421 | |tmp410| |
422 | |decrement_const__x__8| tmp413:8, tmp414 |
423 | |tmp414, x, tmp413| tmp414:4294967295 |
424 | |tmp414, tmp413| tmp414:4294967295 |
425 | |tmp414| |
426 | |draw| @display |
427 | |sleep_const__50000| tmp418:100000, tmp419 |
428 | |tmp419, tmp418| tmp419 |
429 | |tmp419| |
430 | |start| do0, do1, do2, do3, do4, do5, do6, do7, do8, do9, do10, do11, do12, do13, do14, do15, do16, do17, do18, do19, do20, do21, do22, do23, do24, do25, do26, do27, do28, do29, do30, do31, do32, do33, do34, do35, do36, do37, do38, do39, do40, do41, do42, do43, do44, do45, do48, do49, do52, do55, do58, do61, do64, do67, do71, do72, loop75, |
431 | |do0| clear__canvas_width |
432 | |do1| set_const__canvas_width__400 |
433 | |do2| clear__canvas_height |
434 | |do3| set_const__canvas_height__400 |
435 | |do4| clear__ball_radius |
436 | |do5| set_const__ball_radius__6 |
437 | |do6| clear__frames_count_max |
438 | |do7| set_const__frames_count_max__315 |
439 | |do8| clear__background_r |
440 | |do9| set_const__background_r__254 |
441 | |do10| clear__background_g |
442 | |do11| set_const__background_g__254 |
443 | |do12| clear__background_b |
444 | |do13| set_const__background_b__254 |
445 | |do14| clear__ball_r |
446 | |do15| set_const__ball_r__254 |
447 | |do16| clear__ball_g |
448 | |do17| set_const__ball_g__0 |
449 | |do18| clear__ball_b |
450 | |do19| set_const__ball_b__0 |
451 | |do20| clear__ball_x_pos |
452 | |do21| set_const__ball_x_pos__5 |
453 | |do22| clear__ball_x_vel |
454 | |do23| set_const__ball_x_vel__11 |
455 | |do24| clear__ball_x_acc |
456 | |do25| set_const__ball_x_acc__0 |
457 | |do26| clear__ball_x_vel_sign |
458 | |do27| set_const__ball_x_vel_sign__1 |
459 | |do28| clear__ball_x_acc_sign |
460 | |do29| set_const__ball_x_acc_sign__1 |
461 | |do30| clear__ball_x_hit_dec |
462 | |do31| set_const__ball_x_hit_dec__0 |
463 | |do32| clear__ball_x_hit_dec_max |
464 | |do33| set_const__ball_x_hit_dec_max__5 |
465 | |do34| clear__ball_y_pos |
466 | |do35| set_const__ball_y_pos__5 |
467 | |do36| clear__ball_y_vel |
468 | |do37| set_const__ball_y_vel__6 |
469 | |do38| clear__ball_y_acc |
470 | |do39| set_const__ball_y_acc__3 |
471 | |do40| clear__ball_y_vel_sign |
472 | |do41| set_const__ball_y_vel_sign__1 |
473 | |do42| clear__ball_y_acc_sign |
474 | |do43| set_const__ball_y_acc_sign__1 |
475 | |do44| clear__wall_right |
476 | |do45| copy__wall_right__canvas_width |
477 | |do48| clear__wall_bottom |
478 | |do49| copy__wall_bottom__canvas_height |
479 | |do52| decrement__wall_right__ball_radius |
480 | |do55| decrement__wall_bottom__ball_radius |
481 | |do58| increment__wall_left__ball_radius |
482 | |do61| increment__wall_top__ball_radius |
483 | |do64| decrement_const__wall_left__1 |
484 | |do67| decrement_const__wall_top__1 |
485 | |do71| clear__tmp70 |
486 | |do72| copy__tmp70__frames_count_max |
487 | |loop75, tmp70|, do76, do79, do80, do83, do87, do88, loop89, do121, do122, do125, do126, if_equal127, do138, do139, do142, do143, if_equal144, do155, do156, do159, do160, if_greater_or_equal163, do174, do175, do178, do179, if_greater_or_equal182, do193, do194, do197, do198, if_greater_or_equal201, do212, do213, do216, do217, if_greater_or_equal220, do252, do253, do256, do257, if_equal258, do293, do294, do297, do298, if_equal299, do317, do318, do319, do321, do322, loop323, do345, do346, do347, do348, do349, do350, do351, do352, do353, do354, do355, do356, do359, do360, do361, do362, do363, do364, do365, do366, do367, do368, do371, do372, do373, do374, do375, do376, do379, do380, do381, do382, do385, do386, do387, do388, do389, do390, do393, do394, do395, do396, do399, do400, do401, do402, do403, do404, do407, do408, do411, do412, do415, do416, do417, done420 |
488 | |loop75| |
489 | |do76| increment_const__frames_count__1 |
490 | |do79| clear__y |
491 | |do80| copy__y__ball_y_pos |
492 | |do83| decrement_const__y__5 |
493 | |do87| clear__tmp86 |
494 | |do88| set_const__tmp86__11 |
495 | |loop89, tmp86|, do90, do91, do94, do98, do99, loop100, do115, done118 |
496 | |loop89| |
497 | |do90| clear__x |
498 | |do91| copy__x__ball_x_pos |
499 | |do94| decrement_const__x__5 |
500 | |do98| clear__tmp97 |
501 | |do99| set_const__tmp97__11 |
502 | |loop100, tmp97|, do101, do111, done114 |
503 | |loop100| |
504 | |do101| set_pixel__x__y__background_r__background_g__background_b |
505 | |do111| increment_const__x__1 |
506 | |done114| loop100 |
507 | |do115| increment_const__y__1 |
508 | |done118| loop89 |
509 | |do121| clear__tmp119 |
510 | |do122| copy__tmp119__ball_x_vel_sign |
511 | |do125| clear__tmp120 |
512 | |do126| set_const__tmp120__1 |
513 | |if_equal127, tmp119, tmp120| if_equal127 |
514 | |if_equal127, tmp119| else129 |
515 | |if_equal127, tmp120| else129 |
516 | |if_equal127| then128 |
517 | |else129, tmp119| else129 |
518 | |else129, tmp120| else129 |
519 | |then128| do130, |
520 | |do130| increment__ball_x_pos__ball_x_vel |
521 | |else129| do133, |
522 | |do133| decrement__ball_x_pos__ball_x_vel |
523 | |do138| clear__tmp136 |
524 | |do139| copy__tmp136__ball_y_vel_sign |
525 | |do142| clear__tmp137 |
526 | |do143| set_const__tmp137__1 |
527 | |if_equal144, tmp136, tmp137| if_equal144 |
528 | |if_equal144, tmp136| else146 |
529 | |if_equal144, tmp137| else146 |
530 | |if_equal144| then145 |
531 | |else146, tmp136| else146 |
532 | |else146, tmp137| else146 |
533 | |then145| do147, |
534 | |do147| increment__ball_y_pos__ball_y_vel |
535 | |else146| do150, |
536 | |do150| decrement__ball_y_pos__ball_y_vel |
537 | |do155| clear__tmp153 |
538 | |do156| copy__tmp153__ball_x_pos |
539 | |do159| clear__tmp154 |
540 | |do160| copy__tmp154__wall_left |
541 | |if_greater_or_equal163, tmp153, tmp154| if_greater_or_equal163 |
542 | |if_greater_or_equal163, tmp153| else165 |
543 | |if_greater_or_equal163, tmp154| then164 |
544 | |if_greater_or_equal163| then164 |
545 | |else165, tmp153| else165 |
546 | |then164, tmp154| then164 |
547 | |then164| do166, do167, do170, do171, |
548 | |do166| clear__ball_x_pos |
549 | |do167| copy__ball_x_pos__wall_left |
550 | |do170| clear__ball_x_vel_sign |
551 | |do171| set_const__ball_x_vel_sign__1 |
552 | |else165| |
553 | |do174| clear__tmp172 |
554 | |do175| copy__tmp172__ball_x_pos |
555 | |do178| clear__tmp173 |
556 | |do179| copy__tmp173__wall_right |
557 | |if_greater_or_equal182, tmp172, tmp173| if_greater_or_equal182 |
558 | |if_greater_or_equal182, tmp172| then183 |
559 | |if_greater_or_equal182, tmp173| else184 |
560 | |if_greater_or_equal182| then183 |
561 | |then183, tmp172| then183 |
562 | |else184, tmp173| else184 |
563 | |then183| do185, do186, do189, do190, |
564 | |do185| clear__ball_x_pos |
565 | |do186| copy__ball_x_pos__wall_right |
566 | |do189| clear__ball_x_vel_sign |
567 | |do190| set_const__ball_x_vel_sign__0 |
568 | |else184| |
569 | |do193| clear__tmp191 |
570 | |do194| copy__tmp191__ball_y_pos |
571 | |do197| clear__tmp192 |
572 | |do198| copy__tmp192__wall_top |
573 | |if_greater_or_equal201, tmp191, tmp192| if_greater_or_equal201 |
574 | |if_greater_or_equal201, tmp191| else203 |
575 | |if_greater_or_equal201, tmp192| then202 |
576 | |if_greater_or_equal201| then202 |
577 | |else203, tmp191| else203 |
578 | |then202, tmp192| then202 |
579 | |then202| do204, do205, do208, do209, |
580 | |do204| clear__ball_y_pos |
581 | |do205| copy__ball_y_pos__wall_top |
582 | |do208| clear__ball_y_vel_sign |
583 | |do209| set_const__ball_y_vel_sign__1 |
584 | |else203| |
585 | |do212| clear__tmp210 |
586 | |do213| copy__tmp210__ball_y_pos |
587 | |do216| clear__tmp211 |
588 | |do217| copy__tmp211__wall_bottom |
589 | |if_greater_or_equal220, tmp210, tmp211| if_greater_or_equal220 |
590 | |if_greater_or_equal220, tmp210| then221 |
591 | |if_greater_or_equal220, tmp211| else222 |
592 | |if_greater_or_equal220| then221 |
593 | |then221, tmp210| then221 |
594 | |else222, tmp211| else222 |
595 | |then221| do223, do224, do227, do228, do229, do234, do235, do238, do239, if_equal242, |
596 | |do223| clear__ball_y_pos |
597 | |do224| copy__ball_y_pos__wall_bottom |
598 | |do227| clear__ball_y_vel_sign |
599 | |do228| set_const__ball_y_vel_sign__0 |
600 | |do229| increment_const__ball_x_hit_dec__1 |
601 | |do234| clear__tmp232 |
602 | |do235| copy__tmp232__ball_x_hit_dec |
603 | |do238| clear__tmp233 |
604 | |do239| copy__tmp233__ball_x_hit_dec_max |
605 | |if_equal242, tmp232, tmp233| if_equal242 |
606 | |if_equal242, tmp232| else244 |
607 | |if_equal242, tmp233| else244 |
608 | |if_equal242| then243 |
609 | |else244, tmp232| else244 |
610 | |else244, tmp233| else244 |
611 | |then243| do245, do248, do249, |
612 | |do245| decrement_const__ball_x_vel__1 |
613 | |do248| clear__ball_x_hit_dec |
614 | |do249| set_const__ball_x_hit_dec__0 |
615 | |else244| |
616 | |else222| |
617 | |do252| clear__tmp250 |
618 | |do253| copy__tmp250__ball_y_acc_sign |
619 | |do256| clear__tmp251 |
620 | |do257| set_const__tmp251__1 |
621 | |if_equal258, tmp250, tmp251| if_equal258 |
622 | |if_equal258, tmp250| else260 |
623 | |if_equal258, tmp251| else260 |
624 | |if_equal258| then259 |
625 | |else260, tmp250| else260 |
626 | |else260, tmp251| else260 |
627 | |then259| do263, do264, do267, do268, if_equal269, |
628 | |do263| clear__tmp261 |
629 | |do264| copy__tmp261__ball_y_vel_sign |
630 | |do267| clear__tmp262 |
631 | |do268| set_const__tmp262__1 |
632 | |if_equal269, tmp261, tmp262| if_equal269 |
633 | |if_equal269, tmp261| else271 |
634 | |if_equal269, tmp262| else271 |
635 | |if_equal269| then270 |
636 | |else271, tmp261| else271 |
637 | |else271, tmp262| else271 |
638 | |then270| do272, |
639 | |do272| increment__ball_y_vel__ball_y_acc |
640 | |else271| do275, |
641 | |do275| decrement__ball_y_vel__ball_y_acc |
642 | |else260| do280, do281, do284, do285, if_equal286, |
643 | |do280| clear__tmp278 |
644 | |do281| copy__tmp278__ball_y_vel_sign |
645 | |do284| clear__tmp279 |
646 | |do285| set_const__tmp279__1 |
647 | |if_equal286, tmp278, tmp279| if_equal286 |
648 | |if_equal286, tmp278| else288 |
649 | |if_equal286, tmp279| else288 |
650 | |if_equal286| then287 |
651 | |else288, tmp278| else288 |
652 | |else288, tmp279| else288 |
653 | |then287| do289, |
654 | |do289| decrement__ball_y_vel__ball_y_acc |
655 | |else288| do290, |
656 | |do290| increment__ball_y_vel__ball_y_acc |
657 | |do293| clear__tmp291 |
658 | |do294| copy__tmp291__ball_y_vel |
659 | |do297| clear__tmp292 |
660 | |do298| set_const__tmp292__0 |
661 | |if_equal299, tmp291, tmp292| if_equal299 |
662 | |if_equal299, tmp291| else301 |
663 | |if_equal299, tmp292| else301 |
664 | |if_equal299| then300 |
665 | |else301, tmp291| else301 |
666 | |else301, tmp292| else301 |
667 | |then300| do304, do305, do308, do309, if_equal310, |
668 | |do304| clear__tmp302 |
669 | |do305| copy__tmp302__ball_y_vel_sign |
670 | |do308| clear__tmp303 |
671 | |do309| set_const__tmp303__1 |
672 | |if_equal310, tmp302, tmp303| if_equal310 |
673 | |if_equal310, tmp302| else312 |
674 | |if_equal310, tmp303| else312 |
675 | |if_equal310| then311 |
676 | |else312, tmp302| else312 |
677 | |else312, tmp303| else312 |
678 | |then311| do313, do314, |
679 | |do313| clear__ball_y_vel_sign |
680 | |do314| set_const__ball_y_vel_sign__0 |
681 | |else312| do315, do316, |
682 | |do315| clear__ball_y_vel_sign |
683 | |do316| set_const__ball_y_vel_sign__1 |
684 | |else301| |
685 | |do317| clear__y |
686 | |do318| copy__y__ball_y_pos |
687 | |do319| decrement_const__y__5 |
688 | |do321| clear__tmp320 |
689 | |do322| set_const__tmp320__11 |
690 | |loop323, tmp320|, do324, do325, do326, do328, do329, loop330, do343, done344 |
691 | |loop323| |
692 | |do324| clear__x |
693 | |do325| copy__x__ball_x_pos |
694 | |do326| decrement_const__x__5 |
695 | |do328| clear__tmp327 |
696 | |do329| set_const__tmp327__11 |
697 | |loop330, tmp327|, do331, do341, done342 |
698 | |loop330| |
699 | |do331| set_pixel__x__y__ball_r__ball_g__ball_b |
700 | |do341| increment_const__x__1 |
701 | |done342| loop330 |
702 | |do343| increment_const__y__1 |
703 | |done344| loop323 |
704 | |do345| clear__x |
705 | |do346| copy__x__ball_x_pos |
706 | |do347| clear__y |
707 | |do348| copy__y__ball_y_pos |
708 | |do349| decrement_const__x__5 |
709 | |do350| decrement_const__y__5 |
710 | |do351| set_pixel__x__y__background_r__background_g__background_b |
711 | |do352| increment_const__x__1 |
712 | |do353| set_pixel__x__y__background_r__background_g__background_b |
713 | |do354| increment_const__x__1 |
714 | |do355| set_pixel__x__y__background_r__background_g__background_b |
715 | |do356| increment_const__x__6 |
716 | |do359| set_pixel__x__y__background_r__background_g__background_b |
717 | |do360| increment_const__x__1 |
718 | |do361| set_pixel__x__y__background_r__background_g__background_b |
719 | |do362| increment_const__x__1 |
720 | |do363| set_pixel__x__y__background_r__background_g__background_b |
721 | |do364| increment_const__y__1 |
722 | |do365| set_pixel__x__y__background_r__background_g__background_b |
723 | |do366| increment_const__y__1 |
724 | |do367| set_pixel__x__y__background_r__background_g__background_b |
725 | |do368| increment_const__y__6 |
726 | |do371| set_pixel__x__y__background_r__background_g__background_b |
727 | |do372| increment_const__y__1 |
728 | |do373| set_pixel__x__y__background_r__background_g__background_b |
729 | |do374| increment_const__y__1 |
730 | |do375| set_pixel__x__y__background_r__background_g__background_b |
731 | |do376| decrement_const__x__1 |
732 | |do379| set_pixel__x__y__background_r__background_g__background_b |
733 | |do380| decrement_const__x__1 |
734 | |do381| set_pixel__x__y__background_r__background_g__background_b |
735 | |do382| decrement_const__x__6 |
736 | |do385| set_pixel__x__y__background_r__background_g__background_b |
737 | |do386| decrement_const__x__1 |
738 | |do387| set_pixel__x__y__background_r__background_g__background_b |
739 | |do388| decrement_const__x__1 |
740 | |do389| set_pixel__x__y__background_r__background_g__background_b |
741 | |do390| decrement_const__y__1 |
742 | |do393| set_pixel__x__y__background_r__background_g__background_b |
743 | |do394| decrement_const__y__1 |
744 | |do395| set_pixel__x__y__background_r__background_g__background_b |
745 | |do396| decrement_const__y__6 |
746 | |do399| set_pixel__x__y__background_r__background_g__background_b |
747 | |do400| decrement_const__y__1 |
748 | |do401| set_pixel__x__y__background_r__background_g__background_b |
749 | |do402| increment_const__x__1 |
750 | |do403| set_pixel__x__y__background_r__background_g__background_b |
751 | |do404| increment_const__x__8 |
752 | |do407| set_pixel__x__y__background_r__background_g__background_b |
753 | |do408| increment_const__y__8 |
754 | |do411| set_pixel__x__y__background_r__background_g__background_b |
755 | |do412| decrement_const__x__8 |
756 | |do415| set_pixel__x__y__background_r__background_g__background_b |
757 | |do416| draw |
758 | |do417| sleep_const__50000 |
759 | |done420| loop75 |
760 |