{"schema":1,"platform":"c16","game":"tutti-frutti","title":"Tutti Frutti","build":"Contributor-supplied two-stage packed PRG, PAL. Release provenance unverified.","symbols_sha256":"8748b6b05dc94a3184b4780689bce29f3cbdd270422d0e2369dae8c0f444835d","snapshot":{"file":"work/entry.p4emu","sha256":"f8344c0f727a337a47769dbe5bfa4fa0ea0cfdd54ada2030b08e46b763e40f52"},"index":[{"a":4097,"n":"basic_publisher_entry","k":"table","len":23,"c":true},{"a":4120,"n":"basic_setup_title","k":"table","len":111,"c":true},{"a":4231,"n":"basic_publisher_credit","k":"table","len":73,"c":true},{"a":4304,"n":"basic_draw_title_logo","k":"table","len":470,"c":true},{"a":4774,"n":"basic_draw_company_credit","k":"table","len":77,"c":true},{"a":4851,"n":"basic_wait_on_publisher_screen","k":"table","len":57,"c":true},{"a":4908,"n":"basic_start_packed_engine","k":"table","len":29,"c":true},{"a":4937,"n":"retained_basic_workspace_a","k":"table","len":35,"c":true},{"a":4972,"n":"retained_intro_patterns","k":"table","len":190,"c":true},{"a":5288,"n":"retained_basic_workspace_b","k":"table","len":21,"c":true},{"a":5376,"n":"publisher_sys_stub","k":"routine","len":1,"c":true},{"a":5378,"n":"copy_four_charset_pages","k":"routine","len":28,"c":true},{"a":6014,"n":"bytes_before_music_reader","k":"variable","len":2,"c":true},{"a":6016,"n":"play_one_voice_and_read_shift","k":"routine","len":115,"c":true},{"a":6058,"n":"b_17AA","k":"branch","len":1,"c":false},{"a":6084,"n":"b_17C4","k":"branch","len":1,"c":false},{"a":6094,"n":"b_17CE","k":"branch","len":1,"c":false},{"a":6109,"n":"b_17DD","k":"branch","len":1,"c":false},{"a":6119,"n":"b_17E7","k":"branch","len":1,"c":false},{"a":6127,"n":"b_17EF","k":"branch","len":1,"c":false},{"a":6144,"n":"hud_labels","k":"table","len":6,"c":true},{"a":6150,"n":"hud_time_label","k":"table","len":6,"c":true},{"a":6156,"n":"hud_bonus_label","k":"table","len":6,"c":true},{"a":6162,"n":"hud_level_label","k":"table","len":6,"c":true},{"a":6168,"n":"hud_top_label","k":"table","len":6,"c":true},{"a":6174,"n":"default_top_scores","k":"table","len":6,"c":true},{"a":6180,"n":"score_row_9000","k":"table","len":6,"c":true},{"a":6186,"n":"score_row_8000","k":"table","len":6,"c":true},{"a":6192,"n":"score_row_7000","k":"table","len":6,"c":true},{"a":6198,"n":"score_row_6000","k":"table","len":6,"c":true},{"a":6204,"n":"score_row_5000","k":"table","len":6,"c":true},{"a":6210,"n":"score_row_4000","k":"table","len":6,"c":true},{"a":6216,"n":"score_row_3000","k":"table","len":6,"c":true},{"a":6222,"n":"hud_table_padding","k":"variable","len":1,"c":true},{"a":6223,"n":"previous_screen_row_low_base","k":"variable","len":1,"c":true},{"a":6224,"n":"screen_row_low","k":"table","len":23,"c":true},{"a":6247,"n":"previous_screen_row_high_base","k":"variable","len":1,"c":true},{"a":6248,"n":"screen_row_high","k":"table","len":24,"c":true},{"a":6272,"n":"metatile_top_left","k":"table","len":8,"c":true},{"a":6280,"n":"metatile_top_right","k":"table","len":8,"c":true},{"a":6288,"n":"metatile_bottom_left","k":"table","len":8,"c":true},{"a":6296,"n":"metatile_bottom_right","k":"table","len":8,"c":true},{"a":6304,"n":"orchard_color_constants","k":"table","len":8,"c":true},{"a":6312,"n":"attract_screen_rows","k":"table","len":24,"c":true},{"a":6336,"n":"attract_company_credit","k":"table","len":24,"c":true},{"a":6360,"n":"attract_author_credit","k":"table","len":24,"c":true},{"a":6384,"n":"attract_gang_caption","k":"table","len":24,"c":true},{"a":6408,"n":"attract_fire_prompt","k":"table","len":24,"c":true},{"a":6432,"n":"attract_featuring_caption","k":"table","len":16,"c":true},{"a":6448,"n":"attract_super_caption","k":"table","len":16,"c":true},{"a":6464,"n":"attract_strawberry_caption","k":"table","len":16,"c":true},{"a":6480,"n":"attract_apple_faces_upper","k":"table","len":16,"c":true},{"a":6496,"n":"attract_apple_faces_lower","k":"table","len":16,"c":true},{"a":6656,"n":"tick_orchard_bonus","k":"routine","len":55,"c":true},{"a":6668,"n":"b_1A0C","k":"branch","len":1,"c":false},{"a":6686,"n":"b_1A1E","k":"branch","len":1,"c":false},{"a":6700,"n":"b_1A2C","k":"branch","len":1,"c":false},{"a":6710,"n":"r_1A36","k":"branch","len":1,"c":false},{"a":6712,"n":"advance_elapsed_clock","k":"routine","len":73,"c":true},{"a":6784,"n":"r_1A80","k":"branch","len":1,"c":false},{"a":6788,"n":"award_remaining_bonus","k":"routine","len":34,"c":true},{"a":6824,"n":"award_special_clear","k":"routine","len":21,"c":true},{"a":6839,"n":"b_1AB7","k":"branch","len":1,"c":false},{"a":6848,"n":"add_score_digit","k":"routine","len":23,"c":true},{"a":6872,"n":"return_without_score_carry","k":"routine","len":1,"c":true},{"a":6912,"n":"award_cherry","k":"routine","len":15,"c":true},{"a":6928,"n":"award_ball_hit","k":"routine","len":12,"c":true},{"a":6932,"n":"b_1B14","k":"branch","len":1,"c":false},{"a":6944,"n":"award_fruit_hit","k":"routine","len":25,"c":true},{"a":6976,"n":"game_over_sequence","k":"routine","len":15,"c":true},{"a":6992,"n":"game_over_countdown","k":"routine","len":62,"c":true},{"a":7044,"n":"b_1B84","k":"branch","len":1,"c":false},{"a":7056,"n":"show_game_over","k":"routine","len":31,"c":true},{"a":7058,"n":"b_1B92","k":"branch","len":1,"c":false},{"a":7088,"n":"advance_level_and_difficulty","k":"routine","len":44,"c":true},{"a":7092,"n":"b_1BB4","k":"branch","len":1,"c":false},{"a":7110,"n":"b_1BC6","k":"branch","len":1,"c":false},{"a":7120,"n":"b_1BD0","k":"branch","len":1,"c":false},{"a":7132,"n":"enter_death_state","k":"routine","len":25,"c":true},{"a":7156,"n":"r_1BF4","k":"branch","len":1,"c":false},{"a":7157,"n":"remember_ball_draw_cell","k":"routine","len":11,"c":true},{"a":7168,"n":"step_acid_apples","k":"routine","len":95,"c":true},{"a":7179,"n":"b_1C0B","k":"branch","len":1,"c":false},{"a":7205,"n":"b_1C25","k":"branch","len":1,"c":false},{"a":7208,"n":"b_1C28","k":"branch","len":1,"c":false},{"a":7214,"n":"b_1C2E","k":"branch","len":1,"c":false},{"a":7256,"n":"b_1C58","k":"branch","len":1,"c":false},{"a":7262,"n":"r_1C5E","k":"branch","len":1,"c":false},{"a":7264,"n":"clear_path_and_turn_apple","k":"routine","len":27,"c":true},{"a":7296,"n":"choose_enemy_turn","k":"routine","len":161,"c":true},{"a":7340,"n":"b_1CAC","k":"branch","len":1,"c":false},{"a":7362,"n":"b_1CC2","k":"branch","len":1,"c":false},{"a":7386,"n":"b_1CDA","k":"branch","len":1,"c":false},{"a":7408,"n":"b_1CF0","k":"branch","len":1,"c":false},{"a":7434,"n":"b_1D0A","k":"branch","len":1,"c":false},{"a":7436,"n":"b_1D0C","k":"branch","len":1,"c":false},{"a":7472,"n":"hit_enemies_with_ball_or_fruit","k":"routine","len":104,"c":true},{"a":7480,"n":"b_1D38","k":"branch","len":1,"c":false},{"a":7498,"n":"b_1D4A","k":"branch","len":1,"c":false},{"a":7512,"n":"b_1D58","k":"branch","len":1,"c":false},{"a":7566,"n":"b_1D8E","k":"branch","len":1,"c":false},{"a":7570,"n":"b_1D92","k":"branch","len":1,"c":false},{"a":7576,"n":"advance_ball_cooldown","k":"routine","len":28,"c":true},{"a":7604,"n":"check_fruit_enemy_hits","k":"routine","len":74,"c":true},{"a":7606,"n":"b_1DB6","k":"branch","len":1,"c":false},{"a":7615,"n":"b_1DBF","k":"branch","len":1,"c":false},{"a":7633,"n":"b_1DD1","k":"branch","len":1,"c":false},{"a":7648,"n":"b_1DE0","k":"branch","len":1,"c":false},{"a":7669,"n":"b_1DF5","k":"branch","len":1,"c":false},{"a":7674,"n":"b_1DFA","k":"branch","len":1,"c":false},{"a":7680,"n":"queue_acid_apples","k":"routine","len":51,"c":true},{"a":7686,"n":"b_1E06","k":"branch","len":1,"c":false},{"a":7727,"n":"b_1E2F","k":"branch","len":1,"c":false},{"a":7730,"n":"r_1E32","k":"branch","len":1,"c":false},{"a":7732,"n":"check_enemy_clear","k":"routine","len":27,"c":true},{"a":7738,"n":"b_1E3A","k":"branch","len":1,"c":false},{"a":7758,"n":"r_1E4E","k":"branch","len":1,"c":false},{"a":7760,"n":"check_player_hits","k":"routine","len":113,"c":true},{"a":7762,"n":"b_1E52","k":"branch","len":1,"c":false},{"a":7780,"n":"b_1E64","k":"branch","len":1,"c":false},{"a":7795,"n":"b_1E73","k":"branch","len":1,"c":false},{"a":7810,"n":"b_1E82","k":"branch","len":1,"c":false},{"a":7818,"n":"b_1E8A","k":"branch","len":1,"c":false},{"a":7836,"n":"b_1E9C","k":"branch","len":1,"c":false},{"a":7851,"n":"b_1EAB","k":"branch","len":1,"c":false},{"a":7866,"n":"b_1EBA","k":"branch","len":1,"c":false},{"a":7936,"n":"death_sequence","k":"routine","len":14,"c":true},{"a":7952,"n":"advance_death_effect","k":"routine","len":59,"c":true},{"a":7964,"n":"b_1F1C","k":"branch","len":1,"c":false},{"a":7969,"n":"r_1F21","k":"branch","len":1,"c":false},{"a":7970,"n":"b_1F22","k":"branch","len":1,"c":false},{"a":8016,"n":"take_life_and_restart","k":"routine","len":14,"c":true},{"a":8032,"n":"start_game_over","k":"routine","len":9,"c":true},{"a":8096,"n":"animate_enemy_spawn","k":"routine","len":57,"c":true},{"a":8122,"n":"b_1FBA","k":"branch","len":1,"c":false},{"a":8133,"n":"b_1FC5","k":"branch","len":1,"c":false},{"a":8138,"n":"b_1FCA","k":"branch","len":1,"c":false},{"a":8160,"n":"advance_random_accumulator","k":"routine","len":20,"c":true},{"a":8192,"n":"start_game_engine","k":"routine","len":74,"c":true},{"a":8266,"n":"reset_title_counters","k":"routine","len":54,"c":true},{"a":8320,"n":"wait_for_raster_interrupts","k":"routine","len":6,"c":true},{"a":8352,"n":"game_raster_irq","k":"routine","len":70,"c":true},{"a":8362,"n":"b_20AA","k":"branch","len":1,"c":false},{"a":8390,"n":"b_20C6","k":"branch","len":1,"c":false},{"a":8400,"n":"b_20D0","k":"branch","len":1,"c":false},{"a":8416,"n":"b_20E0","k":"branch","len":1,"c":false},{"a":8424,"n":"run_death_from_irq","k":"routine","len":6,"c":true},{"a":8442,"n":"rank_current_score","k":"routine","len":6,"c":true},{"a":8446,"n":"b_20FE","k":"branch","len":1,"c":false},{"a":8448,"n":"compare_score_for_promotion","k":"routine","len":191,"c":true},{"a":8466,"n":"b_2112","k":"branch","len":1,"c":false},{"a":8482,"n":"b_2122","k":"branch","len":1,"c":false},{"a":8490,"n":"b_212A","k":"branch","len":1,"c":false},{"a":8518,"n":"b_2146","k":"branch","len":1,"c":false},{"a":8539,"n":"b_215B","k":"branch","len":1,"c":false},{"a":8546,"n":"b_2162","k":"branch","len":1,"c":false},{"a":8548,"n":"b_2164","k":"branch","len":1,"c":false},{"a":8564,"n":"b_2174","k":"branch","len":1,"c":false},{"a":8594,"n":"b_2192","k":"branch","len":1,"c":false},{"a":8631,"n":"b_21B7","k":"branch","len":1,"c":false},{"a":8704,"n":"title_and_attract_tick","k":"routine","len":104,"c":true},{"a":8738,"n":"b_2222","k":"branch","len":1,"c":false},{"a":8756,"n":"b_2234","k":"branch","len":1,"c":false},{"a":8807,"n":"r_2267","k":"branch","len":1,"c":false},{"a":8960,"n":"enter_round_after_pause","k":"routine","len":58,"c":true},{"a":8968,"n":"b_2308","k":"branch","len":1,"c":false},{"a":8970,"n":"b_230A","k":"branch","len":1,"c":false},{"a":9018,"n":"save_round_interlude_panel","k":"routine","len":67,"c":true},{"a":9020,"n":"b_233C","k":"branch","len":1,"c":false},{"a":9086,"n":"run_play_tick","k":"routine","len":79,"c":true},{"a":9168,"n":"play_clear_interlude","k":"routine","len":47,"c":true},{"a":9179,"n":"r_23DB","k":"branch","len":1,"c":false},{"a":9180,"n":"b_23DC","k":"branch","len":1,"c":false},{"a":9216,"n":"settle_sliding_fruit","k":"routine","len":99,"c":true},{"a":9297,"n":"b_2451","k":"branch","len":1,"c":false},{"a":9299,"n":"b_2453","k":"branch","len":1,"c":false},{"a":9310,"n":"b_245E","k":"branch","len":1,"c":false},{"a":9314,"n":"r_2462","k":"branch","len":1,"c":false},{"a":9315,"n":"finish_bad_apple_slide","k":"routine","len":7,"c":true},{"a":9318,"n":"b_2466","k":"branch","len":1,"c":false},{"a":9322,"n":"finish_cherry_slide","k":"routine","len":6,"c":true},{"a":9328,"n":"animate_crushed_cherry","k":"routine","len":83,"c":true},{"a":9333,"n":"b_2475","k":"branch","len":1,"c":false},{"a":9365,"n":"b_2495","k":"branch","len":1,"c":false},{"a":9374,"n":"b_249E","k":"branch","len":1,"c":false},{"a":9472,"n":"paint_tunnel_attributes","k":"routine","len":41,"c":true},{"a":9482,"n":"b_250A","k":"branch","len":1,"c":false},{"a":9484,"n":"b_250C","k":"branch","len":1,"c":false},{"a":9520,"n":"dig_or_collect_tile","k":"routine","len":47,"c":true},{"a":9535,"n":"b_253F","k":"branch","len":1,"c":false},{"a":9545,"n":"b_2549","k":"branch","len":1,"c":false},{"a":9550,"n":"b_254E","k":"branch","len":1,"c":false},{"a":9568,"n":"tick_effect_unless_held","k":"routine","len":11,"c":true},{"a":9575,"n":"b_2567","k":"branch","len":1,"c":false},{"a":9584,"n":"erase_previous_ball_cell","k":"routine","len":46,"c":true},{"a":9624,"n":"r_2598","k":"branch","len":1,"c":false},{"a":9625,"n":"b_2599","k":"branch","len":1,"c":false},{"a":9632,"n":"advance_effect_voice","k":"routine","len":39,"c":true},{"a":9645,"n":"b_25AD","k":"branch","len":1,"c":false},{"a":9672,"n":"start_movement_effect","k":"routine","len":16,"c":true},{"a":9688,"n":"settle_apple_and_end_effect","k":"routine","len":8,"c":true},{"a":9696,"n":"play_high_short_effect","k":"routine","len":23,"c":true},{"a":9701,"n":"b_25E5","k":"branch","len":1,"c":false},{"a":9720,"n":"play_low_short_effect","k":"routine","len":8,"c":true},{"a":9728,"n":"choose_player_direction","k":"routine","len":50,"c":true},{"a":9741,"n":"b_260D","k":"branch","len":1,"c":false},{"a":9751,"n":"b_2617","k":"branch","len":1,"c":false},{"a":9761,"n":"b_2621","k":"branch","len":1,"c":false},{"a":9770,"n":"b_262A","k":"branch","len":1,"c":false},{"a":9774,"n":"b_262E","k":"branch","len":1,"c":false},{"a":9780,"n":"set_player_direction","k":"routine","len":19,"c":true},{"a":9798,"n":"r_2646","k":"branch","len":1,"c":false},{"a":9800,"n":"filter_player_input","k":"routine","len":32,"c":true},{"a":9827,"n":"b_2663","k":"branch","len":1,"c":false},{"a":9984,"n":"launch_ball","k":"routine","len":62,"c":true},{"a":9991,"n":"b_2707","k":"branch","len":1,"c":false},{"a":9996,"n":"b_270C","k":"branch","len":1,"c":false},{"a":10003,"n":"b_2713","k":"branch","len":1,"c":false},{"a":10048,"n":"move_and_draw_ball","k":"routine","len":189,"c":true},{"a":10055,"n":"b_2747","k":"branch","len":1,"c":false},{"a":10109,"n":"b_277D","k":"branch","len":1,"c":false},{"a":10139,"n":"b_279B","k":"branch","len":1,"c":false},{"a":10179,"n":"b_27C3","k":"branch","len":1,"c":false},{"a":10240,"n":"initialize_screen_and_panel","k":"routine","len":219,"c":true},{"a":10242,"n":"b_2802","k":"branch","len":1,"c":false},{"a":10275,"n":"b_2823","k":"branch","len":1,"c":false},{"a":10375,"n":"b_2887","k":"branch","len":1,"c":false},{"a":10390,"n":"b_2896","k":"branch","len":1,"c":false},{"a":10496,"n":"reset_hud_digits","k":"routine","len":53,"c":true},{"a":10500,"n":"b_2904","k":"branch","len":1,"c":false},{"a":10560,"n":"draw_layout","k":"routine","len":111,"c":true},{"a":10597,"n":"b_2965","k":"branch","len":1,"c":false},{"a":10662,"n":"b_29A6","k":"branch","len":1,"c":false},{"a":10752,"n":"draw_orchard_metatile","k":"routine","len":61,"c":true},{"a":10816,"n":"print_attract_text","k":"routine","len":121,"c":true},{"a":10818,"n":"b_2A42","k":"branch","len":1,"c":false},{"a":10870,"n":"b_2A76","k":"branch","len":1,"c":false},{"a":11008,"n":"play_two_voice_theme","k":"routine","len":122,"c":true},{"a":11035,"n":"b_2B1B","k":"branch","len":1,"c":false},{"a":11061,"n":"b_2B35","k":"branch","len":1,"c":false},{"a":11085,"n":"b_2B4D","k":"branch","len":1,"c":false},{"a":11100,"n":"b_2B5C","k":"branch","len":1,"c":false},{"a":11118,"n":"b_2B6E","k":"branch","len":1,"c":false},{"a":11126,"n":"b_2B76","k":"branch","len":1,"c":false},{"a":11248,"n":"check_player_tile_alignment","k":"routine","len":13,"c":true},{"a":11264,"n":"check_cherry_clear","k":"routine","len":94,"c":true},{"a":11272,"n":"b_2C08","k":"branch","len":1,"c":false},{"a":11295,"n":"r_2C1F","k":"branch","len":1,"c":false},{"a":11296,"n":"b_2C20","k":"branch","len":1,"c":false},{"a":11302,"n":"b_2C26","k":"branch","len":1,"c":false},{"a":11327,"n":"b_2C3F","k":"branch","len":1,"c":false},{"a":11337,"n":"b_2C49","k":"branch","len":1,"c":false},{"a":11347,"n":"b_2C53","k":"branch","len":1,"c":false},{"a":11354,"n":"r_2C5A","k":"branch","len":1,"c":false},{"a":11355,"n":"b_2C5B","k":"branch","len":1,"c":false},{"a":11360,"n":"clear_round","k":"routine","len":20,"c":true},{"a":11376,"n":"b_2C70","k":"branch","len":1,"c":false},{"a":11380,"n":"clear_round_with_layout_award","k":"routine","len":4,"c":true},{"a":11384,"n":"check_four_corner_apples","k":"routine","len":23,"c":true},{"a":11408,"n":"decrement_fruit_delay","k":"routine","len":35,"c":true},{"a":11436,"n":"b_2CAC","k":"branch","len":1,"c":false},{"a":11442,"n":"r_2CB2","k":"branch","len":1,"c":false},{"a":11443,"n":"try_push_or_crush_fruit","k":"routine","len":187,"c":true},{"a":11555,"n":"r_2D23","k":"branch","len":1,"c":false},{"a":11556,"n":"b_2D24","k":"branch","len":1,"c":false},{"a":11572,"n":"b_2D34","k":"branch","len":1,"c":false},{"a":11632,"n":"try_start_apple_slide","k":"routine","len":18,"c":true},{"a":11652,"n":"crush_blocked_cherry","k":"routine","len":49,"c":true},{"a":11712,"n":"return_without_push","k":"routine","len":1,"c":true},{"a":11776,"n":"select_metatile_attributes","k":"routine","len":44,"c":true},{"a":11784,"n":"b_2E08","k":"branch","len":1,"c":false},{"a":11788,"n":"b_2E0C","k":"branch","len":1,"c":false},{"a":11810,"n":"b_2E22","k":"branch","len":1,"c":false},{"a":11820,"n":"update_player_direction","k":"routine","len":35,"c":true},{"a":11842,"n":"b_2E42","k":"branch","len":1,"c":false},{"a":11844,"n":"b_2E44","k":"branch","len":1,"c":false},{"a":11856,"n":"resolve_player_at_junction","k":"routine","len":45,"c":true},{"a":11879,"n":"b_2E67","k":"branch","len":1,"c":false},{"a":11892,"n":"b_2E74","k":"branch","len":1,"c":false},{"a":11904,"n":"step_player_position","k":"routine","len":32,"c":true},{"a":11935,"n":"r_2E9F","k":"branch","len":1,"c":false},{"a":11936,"n":"find_player_exits","k":"routine","len":107,"c":true},{"a":11974,"n":"b_2EC6","k":"branch","len":1,"c":false},{"a":11996,"n":"b_2EDC","k":"branch","len":1,"c":false},{"a":12020,"n":"b_2EF4","k":"branch","len":1,"c":false},{"a":12042,"n":"r_2F0A","k":"branch","len":1,"c":false},{"a":12048,"n":"check_tile_bounds","k":"routine","len":14,"c":true},{"a":12054,"n":"b_2F16","k":"branch","len":1,"c":false},{"a":12060,"n":"b_2F1C","k":"branch","len":1,"c":false},{"a":12080,"n":"dig_under_player","k":"routine","len":67,"c":true},{"a":12135,"n":"b_2F67","k":"branch","len":1,"c":false},{"a":12146,"n":"r_2F72","k":"branch","len":1,"c":false},{"a":12148,"n":"stop_player_motion","k":"routine","len":9,"c":true},{"a":12160,"n":"read_tile","k":"routine","len":8,"c":true},{"a":12168,"n":"tile_reader_nops","k":"routine","len":4,"c":true},{"a":12172,"n":"extract_tile_nibble","k":"routine","len":35,"c":true},{"a":12201,"n":"b_2FA9","k":"branch","len":1,"c":false},{"a":12208,"n":"write_tile","k":"routine","len":58,"c":true},{"a":12248,"n":"b_2FD8","k":"branch","len":1,"c":false},{"a":12278,"n":"spare_color_bytes","k":"variable","len":2,"c":true},{"a":12288,"n":"queue_actor_cells","k":"routine","len":143,"c":true},{"a":12294,"n":"j_3006","k":"branch","len":1,"c":false},{"a":12314,"n":"b_301A","k":"branch","len":1,"c":false},{"a":12319,"n":"b_301F","k":"branch","len":1,"c":false},{"a":12363,"n":"b_304B","k":"branch","len":1,"c":false},{"a":12387,"n":"b_3063","k":"branch","len":1,"c":false},{"a":12424,"n":"b_3088","k":"branch","len":1,"c":false},{"a":12430,"n":"r_308E","k":"branch","len":1,"c":false},{"a":12432,"n":"choose_actor_glyph","k":"routine","len":15,"c":true},{"a":12445,"n":"b_309D","k":"branch","len":1,"c":false},{"a":12448,"n":"erase_previous_actor_cells","k":"routine","len":30,"c":true},{"a":12454,"n":"b_30A6","k":"branch","len":1,"c":false},{"a":12473,"n":"b_30B9","k":"branch","len":1,"c":false},{"a":12480,"n":"flush_actor_cells","k":"routine","len":38,"c":true},{"a":12486,"n":"b_30C6","k":"branch","len":1,"c":false},{"a":12517,"n":"r_30E5","k":"branch","len":1,"c":false},{"a":12544,"n":"scan_controls","k":"routine","len":93,"c":true},{"a":12578,"n":"b_3122","k":"branch","len":1,"c":false},{"a":12588,"n":"b_312C","k":"branch","len":1,"c":false},{"a":12598,"n":"b_3136","k":"branch","len":1,"c":false},{"a":12608,"n":"b_3140","k":"branch","len":1,"c":false},{"a":12639,"n":"prepare_next_round","k":"routine","len":53,"c":true},{"a":12652,"n":"b_316C","k":"branch","len":1,"c":false},{"a":12679,"n":"b_3187","k":"branch","len":1,"c":false},{"a":12692,"n":"reset_actor_state","k":"routine","len":93,"c":true},{"a":12694,"n":"b_3196","k":"branch","len":1,"c":false},{"a":12746,"n":"b_31CA","k":"branch","len":1,"c":false},{"a":12800,"n":"queue_moving_fruit_cells","k":"routine","len":141,"c":true},{"a":12805,"n":"j_3205","k":"branch","len":1,"c":false},{"a":12823,"n":"b_3217","k":"branch","len":1,"c":false},{"a":12828,"n":"b_321C","k":"branch","len":1,"c":false},{"a":12895,"n":"b_325F","k":"branch","len":1,"c":false},{"a":12932,"n":"b_3284","k":"branch","len":1,"c":false},{"a":12938,"n":"b_328A","k":"branch","len":1,"c":false},{"a":12944,"n":"choose_fruit_glyph","k":"routine","len":17,"c":true},{"a":12959,"n":"b_329F","k":"branch","len":1,"c":false},{"a":12962,"n":"choose_fruit_draw_color","k":"routine","len":16,"c":true},{"a":12972,"n":"b_32AC","k":"branch","len":1,"c":false},{"a":12974,"n":"b_32AE","k":"branch","len":1,"c":false},{"a":12991,"n":"check_bad_apple_gravity","k":"routine","len":105,"c":true},{"a":12999,"n":"b_32C7","k":"branch","len":1,"c":false},{"a":13076,"n":"b_3314","k":"branch","len":1,"c":false},{"a":13092,"n":"b_3324","k":"branch","len":1,"c":false},{"a":13095,"n":"r_3327","k":"branch","len":1,"c":false},{"a":13100,"n":"settle_falling_apple","k":"routine","len":33,"c":true},{"a":13168,"n":"start_fall_delay","k":"routine","len":14,"c":true},{"a":13176,"n":"b_3378","k":"branch","len":1,"c":false},{"a":13184,"n":"move_fruit","k":"routine","len":43,"c":true},{"a":13186,"n":"b_3382","k":"branch","len":1,"c":false},{"a":13218,"n":"b_33A2","k":"branch","len":1,"c":false},{"a":13222,"n":"b_33A6","k":"branch","len":1,"c":false},{"a":13228,"n":"draw_bad_apple","k":"routine","len":4,"c":true},{"a":13232,"n":"draw_cherry_block","k":"routine","len":2,"c":true},{"a":13234,"n":"draw_four_glyphs","k":"routine","len":65,"c":true},{"a":13312,"n":"fruit_draw_start","k":"table","len":8,"c":true},{"a":13320,"n":"fruit_draw_end","k":"table","len":8,"c":true},{"a":13328,"n":"fruit_draw_glyphs","k":"table","len":44,"c":true},{"a":13372,"n":"fruit_draw_offsets","k":"table","len":44,"c":true},{"a":13416,"n":"initial_spawn_delays","k":"table","len":8,"c":true},{"a":13424,"n":"direction_from_mask","k":"table","len":16,"c":true},{"a":13440,"n":"game_over_voice_one","k":"table","len":16,"c":true},{"a":13456,"n":"game_over_voice_two","k":"table","len":16,"c":true},{"a":13472,"n":"game_over_banner","k":"table","len":16,"c":true},{"a":13488,"n":"enemy_spawn_quota","k":"table","len":16,"c":true},{"a":13504,"n":"enemy_step_rate","k":"table","len":16,"c":true},{"a":13520,"n":"orchard_row_palettes","k":"table","len":24,"c":true},{"a":13544,"n":"high_score_flash_colors","k":"table","len":8,"c":true},{"a":13568,"n":"attract_border_layout","k":"table","len":96,"c":true},{"a":13664,"n":"orchard_layout_one","k":"table","len":96,"c":true},{"a":13760,"n":"orchard_layout_two","k":"table","len":96,"c":true},{"a":13856,"n":"orchard_layout_three","k":"table","len":96,"c":true},{"a":13952,"n":"orchard_layout_four","k":"table","len":96,"c":true},{"a":14048,"n":"orchard_layout_five","k":"table","len":96,"c":true},{"a":14144,"n":"orchard_layout_six","k":"table","len":96,"c":true},{"a":14240,"n":"layout_one_fruit_coordinates","k":"table","len":16,"c":true},{"a":14256,"n":"layout_two_fruit_coordinates","k":"table","len":16,"c":true},{"a":14272,"n":"layout_three_fruit_coordinates","k":"table","len":16,"c":true},{"a":14288,"n":"layout_four_fruit_coordinates","k":"table","len":16,"c":true},{"a":14304,"n":"layout_five_fruit_coordinates","k":"table","len":16,"c":true},{"a":14320,"n":"layout_six_fruit_coordinates","k":"table","len":16,"c":true},{"a":14336,"n":"character_set","k":"table","len":256,"c":true},{"a":14592,"n":"digit_ball_and_crush_glyphs","k":"table","len":256,"c":true},{"a":14848,"n":"apple_glyphs","k":"table","len":256,"c":true},{"a":15104,"n":"apple_and_cherry_glyphs","k":"table","len":256,"c":true},{"a":15360,"n":"cherry_and_player_glyphs","k":"table","len":256,"c":true},{"a":15616,"n":"player_and_enemy_glyphs","k":"table","len":256,"c":true},{"a":15872,"n":"enemy_and_dirt_glyphs","k":"table","len":128,"c":true},{"a":16000,"n":"actor_draw_start","k":"table","len":6,"c":true},{"a":16006,"n":"actor_draw_end","k":"table","len":6,"c":true},{"a":16012,"n":"strawberry_draw_glyphs","k":"table","len":30,"c":true},{"a":16042,"n":"actor_draw_offsets","k":"table","len":30,"c":true},{"a":16072,"n":"clear_voice_two","k":"table","len":12,"c":true},{"a":16084,"n":"clear_voice_one","k":"table","len":12,"c":true},{"a":16096,"n":"clear_audio_table_padding","k":"table","len":4,"c":true},{"a":16100,"n":"ball_start_delta_x","k":"table","len":4,"c":true},{"a":16104,"n":"ball_start_delta_y","k":"table","len":4,"c":true},{"a":16108,"n":"ready_banner","k":"table","len":8,"c":true},{"a":16116,"n":"direction_masks","k":"table","len":4,"c":true},{"a":16120,"n":"direction_delta_x","k":"table","len":4,"c":true},{"a":16124,"n":"direction_delta_y","k":"table","len":4,"c":true},{"a":16128,"n":"theme_score","k":"table","len":192,"c":true},{"a":16320,"n":"theme_voice_one_low","k":"table","len":16,"c":true},{"a":16336,"n":"theme_voice_one_high","k":"table","len":16,"c":true},{"a":16352,"n":"theme_voice_two_low","k":"table","len":10,"c":true},{"a":16362,"n":"unused_voice_two_low_entries","k":"table","len":6,"c":true},{"a":16368,"n":"theme_voice_two_high","k":"table","len":10,"c":true},{"a":16378,"n":"unused_voice_two_high_entries","k":"table","len":6,"c":true}],"records":[{"a":0,"t":"gap","n":4097},{"a":96,"t":"note","l":"next_tile_x","note":"outside the tracked image","x":[9245,9261,11533,11543]},{"a":97,"t":"note","l":"next_tile_y","note":"outside the tracked image","x":[9259,9263,11541,11545]},{"a":98,"t":"note","l":"pushed_tile","note":"outside the tracked image","x":[11519,11556,11632,11652]},{"a":99,"t":"note","l":"beyond_pushed_tile","note":"outside the tracked image","x":[11550,11562,11638,11658]},{"a":100,"t":"note","l":"sliding_glyph_bias","note":"outside the tracked image","x":[9289,9302,11570,11646,12956]},{"a":101,"t":"note","l":"crush_ticks","note":"outside the tracked image","x":[9328,9333,9365,9374,11443,11683,12734]},{"a":102,"t":"note","l":"crush_screen_low","note":"outside the tracked image","x":[9350,9354,9358,9362,9390,9396,9402,9408,11675]},{"a":103,"t":"note","l":"crush_screen_high","note":"outside the tracked image","x":[11679]},{"a":104,"t":"note","l":"crush_column","note":"outside the tracked image","x":[9337,11664]},{"a":105,"t":"note","l":"crush_row","note":"outside the tracked image","x":[9339,11668]},{"a":106,"t":"note","l":"ball_dx","note":"outside the tracked image","x":[10012,10082,10102,10104,10151,10172,10174,10182]},{"a":107,"t":"note","l":"ball_dy","note":"outside the tracked image","x":[10017,10112,10132,10134,10142,10165,10167,10189]},{"a":108,"t":"note","l":"ball_state","note":"outside the tracked image","x":[7138,7472,7564,7576,7584,7586,9622,9991,10021,10048,12736]},{"a":109,"t":"note","l":"ball_x","note":"outside the tracked image","x":[7492,7548,9596,10030,10070,10079,10118,10148,10179,10184,10208,10213]},{"a":110,"t":"note","l":"ball_y","note":"outside the tracked image","x":[7506,7533,9605,10039,10055,10088,10109,10139,10186,10191,10193,10220]},{"a":113,"t":"note","l":"ball_left_player_tile","note":"outside the tracked image","x":[9614,9627,10043]},{"a":131,"t":"note","l":"effect_pitch","note":"outside the tracked image","x":[6930,6946,7594,9555,9645,9650,9677,11687,12738]},{"a":132,"t":"note","l":"effect_pitch_delta","note":"outside the tracked image","x":[7527,7598,7663,9559,9648,9681,11691,12740]},{"a":133,"t":"note","l":"effect_ticks","note":"outside the tracked image","x":[7531,7602,7667,9563,9632,9668,9685,9693,11695,12742]},{"a":134,"t":"note","l":"effect_hold","note":"outside the tracked image","x":[9568,9572,9716]},{"a":135,"t":"note","l":"enemy_phase","note":"outside the tracked image","x":[7168,7173,12757]},{"a":136,"t":"note","l":"enemy_speed","note":"outside the tracked image","x":[7129,7171]},{"a":137,"t":"note","l":"random_low","note":"outside the tracked image","x":[8160,8165]},{"a":138,"t":"note","l":"random_middle","note":"outside the tracked image","x":[8167,8171]},{"a":139,"t":"note","l":"random_high","note":"outside the tracked image","x":[8173,8177]},{"a":140,"t":"note","l":"enemy_reserve","note":"outside the tracked image","x":[7124,7680,7700,7732]},{"a":144,"t":"note","l":"end_sequence_ticks","note":"outside the tracked image","x":[6708,6976,6992,6994,7807,7863,7936,7952,7954,7982,8038]},{"a":180,"t":"note","l":"bonus_divider","note":"outside the tracked image","x":[6656,6658,6662,12761]},{"a":181,"t":"note","l":"clock_divider","note":"outside the tracked image","x":[6712,6714,6722,8794]},{"a":182,"t":"note","l":"difficulty_index","note":"outside the tracked image","x":[7110,7112,8798]},{"a":183,"t":"note","l":"score_rank","note":"outside the tracked image","x":[8442,8446,8482,8484,8532,8539,8576,8604,8802]},{"a":184,"t":"note","l":"score_rank_scan","note":"outside the tracked image","x":[8444,8490,8527,8529]},{"a":185,"t":"note","l":"ball_screen_low","note":"outside the tracked image","x":[7154,7159]},{"a":186,"t":"note","l":"ball_screen_high","note":"outside the tracked image","x":[7163]},{"a":187,"t":"note","l":"ball_screen_offset","note":"outside the tracked image","x":[7150,7165]},{"a":216,"t":"note","l":"screen_ptr_low","note":"outside the tracked image","x":[7157,7541,7555,8457,8469,8499,8520,8551,8564,8585,8597,8612,8631,9492,9496,9500,9504,9592,9620,10063,10077,10201,10228,10393,10404,10407,10419,10422,10606,10755,10761,10771,10777,10788,10791,10801,10804,11673,12329,12342,12344,12397,12457,12468,12489,12501,12512,12838,12851,12853,12905,13243,13254,13256,13268,13274,13280,13286]},{"a":217,"t":"note","l":"screen_ptr_high","note":"outside the tracked image","x":[7161,7546,8462,8504,8558,8590,8619,9506,9510,9584,9588,10068,10206,10398,10409,10413,10611,10779,10783,10806,10810,11677,12334,12346,12350,12402,12462,12494,12503,12507,12843,12855,12859,12910,13248,13258,13262,13290,13294]},{"a":218,"t":"note","l":"second_ptr_low","note":"outside the tracked image","x":[8509,8518,10563,10567,10571,10577,10581,10585,10613,10635,10662,12381,12385,12889,12893]},{"a":219,"t":"note","l":"second_ptr_high","note":"outside the tracked image","x":[8514,10575,10579,10583,10587,10589,10593,12376,12416,12884,12924]},{"a":220,"t":"note","l":"arithmetic_scratch","note":"outside the tracked image","x":[7980,7989,8118,8138,9268,10218,10224,10622,10633,10640,10652,11788,12174,12183,12211,12220,12364,12368,12371,12422,12436,12872,12876,12879,12930,12948,13027,13044]},{"a":224,"t":"note","l":"music_divider","note":"outside the tracked image","x":[6031,6033,6042,8268,8707,9013,11008,11010,11019]},{"a":225,"t":"note","l":"music_index","note":"outside the tracked image","x":[6044,6046,6054,6058,6098,8270,8717,8723,8738,9015,11021,11023,11031,11035,11089]},{"a":226,"t":"note","l":"game_state","note":"outside the tracked image","x":[6948,6986,7132,7136,7144,7943,7947,8034,8278,8380,8783,9009,9472,9996,11264,11364,11366,11374,11799,12763,12962,12991]},{"a":227,"t":"note","l":"theme_pass","note":"outside the tracked image","x":[6056,8274,8711,8742,11033]},{"a":228,"t":"note","l":"draw_queue_index","note":"outside the tracked image","x":[12290,12383,12420,12448,12475,12480,12664,12891,12928,12938]},{"a":229,"t":"note","l":"layout_index","note":"outside the tracked image","x":[6827,7088,8787,12642,12650,12652,12670]},{"a":230,"t":"note","l":"round_intro_ticks","note":"outside the tracked image","x":[8779,8960,9168,9170,11362]},{"a":231,"t":"note","l":"video_tick","note":"outside the tracked image","x":[8110,8373,8623,11904]},{"a":232,"t":"note","l":"legal_directions","note":"outside the tracked image","x":[7316,7334,7338,7356,7360,7380,7384,7402,7406,7421,7434,7445,9803,9815,11822,11844,11864,11968,11972,11990,11994,12014,12018,12036,12040]},{"a":233,"t":"note","l":"tile_x","note":"outside the tracked image","x":[7302,7318,7340,7364,7386,9239,9285,11460,11496,11498,11508,11531,11572,11662,11942,11952,11974,11998,12020,12086,12096,12124,12135,13005,13020,13106,13118,13250]},{"a":234,"t":"note","l":"tile_y","note":"outside the tracked image","x":[7310,7320,7342,7366,7388,9253,9287,11468,11504,11506,11510,11539,11580,11666,11950,11954,11976,12000,12022,12094,12098,12127,12137,13016,13022,13048,13114,13120,13236]},{"a":236,"t":"note","l":"filtered_direction_bits","note":"outside the tracked image","x":[9805,9820,11849,11859,11866,11879]},{"a":237,"t":"note","l":"direction_flag","note":"outside the tracked image","x":[9786,9824,9829]},{"a":246,"t":"note","l":"controller_bits","note":"outside the tracked image","x":[8771,9984,11480,12612,12629,12633]},{"a":788,"t":"note","l":"kernal_irq_vector","note":"outside the tracked image","x":[8245]},{"a":789,"t":"note","l":"kernal_irq_vector_high","note":"outside the tracked image","x":[8250]},{"a":824,"t":"note","l":"fruit_delays","note":"outside the tracked image","x":[11408,13178,13193]},{"a":826,"t":"note","l":"third_fruit_delay","note":"outside the tracked image"},{"a":831,"t":"note","l":"sliding_fruit_delay","note":"outside the tracked image"},{"a":832,"t":"note","l":"fruit_x","note":"outside the tracked image","x":[7626,7769,11424,12682,12823,12845,12999,13100,13198,13205]},{"a":839,"t":"note","l":"sliding_fruit_x","note":"outside the tracked image","x":[9216,9233,11577,11610]},{"a":840,"t":"note","l":"fruit_y","note":"outside the tracked image","x":[7641,7784,11417,12816,12829,13007,13108,13208,13215]},{"a":847,"t":"note","l":"sliding_fruit_y","note":"outside the tracked image","x":[9219,9247,11585,11617]},{"a":848,"t":"note","l":"fruit_dx","note":"outside the tracked image","x":[12696,13062,13202]},{"a":855,"t":"note","l":"sliding_fruit_dx","note":"outside the tracked image","x":[9242,9279,11597]},{"a":856,"t":"note","l":"fruit_dy","note":"outside the tracked image","x":[13057,13212]},{"a":863,"t":"note","l":"sliding_fruit_dy","note":"outside the tracked image","x":[9256,9282,11603]},{"a":864,"t":"note","l":"actor_x","note":"outside the tracked image","x":[7192,7225,7228,7244,7276,7296,7488,7622,7709,7773,7825,7829,9598,10023,11248,11454,11470,11824,11915,11922,11936,12080,12105,12314,12336,12701,12714]},{"a":872,"t":"note","l":"actor_y","note":"outside the tracked image","x":[7197,7235,7238,7241,7269,7304,7502,7637,7704,7788,7840,7844,9607,10032,11251,11462,11473,11831,11925,11932,11944,12088,12108,12307,12320,12719]},{"a":880,"t":"note","l":"actor_direction","note":"outside the tracked image","x":[7202,7214,7410,7425,7430,7453,7480,7518,7615,7654,7686,7738,7818,9783,9790,9795,9809,10003,11486,11521,11588,11875,11888,11892,11897,11910,12115,12148,12153,12294,12352,12706,12724]},{"a":888,"t":"note","l":"fruit_direction","note":"outside the tracked image","x":[7606,7762,12805,12861,13070,13080,13085,13168,13186]},{"a":895,"t":"note","l":"sliding_fruit_direction","note":"outside the tracked image","x":[9226,9274,11447,11607]},{"a":896,"t":"note","l":"queued_screen_low","note":"outside the tracked image","x":[12399,12454,12486,12907]},{"a":976,"t":"note","l":"queued_screen_high","note":"outside the tracked image","x":[12406,12459,12491,12914]},{"a":1056,"t":"note","l":"queued_screen_glyph","note":"outside the tracked image","x":[12390,12498,12898]},{"a":1136,"t":"note","l":"queued_screen_color","note":"outside the tracked image","x":[12411,12509,12974]},{"a":1216,"t":"note","l":"intro_screen_backup","note":"outside the tracked image","x":[8970,9023]},{"a":1240,"t":"note","l":"intro_color_backup","note":"outside the tracked image","x":[8988,9041]},{"a":1264,"t":"note","l":"enemy_spawn_timers","note":"outside the tracked image","x":[7179,7205,7693,7719,7745,8122,12749]},{"a":1536,"t":"note","l":"mutable_orchard","note":"outside the tracked image","x":[10664,11272,11281,11302,11311,11384,12191,12201,12228,12233,12241,12244,12248,12253,12259,12262]},{"a":1543,"t":"note","l":"top_right_packed_tile","note":"outside the tracked image","x":[11394]},{"a":1624,"t":"note","l":"bottom_left_packed_tile","note":"outside the tracked image","x":[11327,11337,11387]},{"a":1631,"t":"note","l":"bottom_right_packed_tile","note":"outside the tracked image","x":[11397]},{"a":3146,"t":"note","l":"score_digits","note":"outside the tracked image","x":[6849,6852,6862,10500]},{"a":3266,"t":"note","l":"minutes_tens","note":"outside the tracked image","x":[6769,6772,6781,10506]},{"a":3267,"t":"note","l":"minutes_units","note":"outside the tracked image","x":[6754,6757,6766,10509]},{"a":3269,"t":"note","l":"seconds_tens","note":"outside the tracked image","x":[6739,6742,6751,10512]},{"a":3270,"t":"note","l":"seconds_units","note":"outside the tracked image","x":[6724,6727,6736,10515]},{"a":3386,"t":"note","l":"bonus_hundreds","note":"outside the tracked image","x":[6668,6671,6680,6686,6812,10518,12773]},{"a":3387,"t":"note","l":"bonus_tens","note":"outside the tracked image","x":[6689,6801,10521,12778]},{"a":3388,"t":"note","l":"bonus_units","note":"outside the tracked image","x":[6692,6790,10524,12781]},{"a":3510,"t":"note","l":"lives_digit","note":"outside the tracked image","x":[8016,8019,10535]},{"a":3626,"t":"note","l":"level_tens","note":"outside the tracked image","x":[7092,7095,7104,10527]},{"a":3627,"t":"note","l":"level_units","note":"outside the tracked image","x":[10530]},{"a":4097,"l":"basic_publisher_entry","c":"BASIC line 1 checks whether $2000 already begins with SEI ($78). If so, it starts the unpacked engine immediately with SYS 8192.","t":"byte","b":[24,16,1,0,139,194,40,56]},{"a":4105,"t":"byte","b":[49,57,50,41,178,49,50,48]},{"a":4113,"t":"byte","b":[167,158,56,49,57,50,0]},{"a":4120,"l":"basic_setup_title","c":"BASIC lines 10 through 50 call SYS 5376, clear and color the display, point TED at the custom character set and turn on multicolor text.","t":"byte","b":[34,16,10,0,158,53,51,55]},{"a":4128,"t":"byte","b":[54,0,59,16,20,0,153,34]},{"a":4136,"t":"byte","b":[129,147,34,58,231,32,48,44]},{"a":4144,"t":"byte","b":[55,44,50,58,231,52,44,55]},{"a":4152,"t":"byte","b":[44,50,0,89,16,30,0,143]},{"a":4160,"t":"byte","b":[32,80,79,75,69,53,49,44]},{"a":4168,"t":"byte","b":[48,58,80,79,75,69,53,50]},{"a":4176,"t":"byte","b":[44,53,54,58,80,79,75,69]},{"a":4184,"t":"byte","b":[0,112,16,40,0,151,54,53]},{"a":4192,"t":"byte","b":[50,57,56,44,50,58,151,54]},{"a":4200,"t":"byte","b":[53,50,57,57,44,51,51,0]},{"a":4208,"t":"byte","b":[135,16,50,0,151,54,53,50]},{"a":4216,"t":"byte","b":[56,55,44,194,40,54,53,50]},{"a":4224,"t":"byte","b":[56,55,41,176,49,54,0]},{"a":4231,"l":"basic_publisher_credit","c":"BASIC lines 60 and 70 position and print the Mastertronic Presents credit.","t":"byte","b":[176,16,60,0,231,49,44,56]},{"a":4239,"t":"byte","b":[44,55,58,153,34,29,29,29]},{"a":4247,"t":"byte","b":[29,29,29,29,29,29,29,29]},{"a":4255,"t":"byte","b":[29,29,29,77,65,83,84,69]},{"a":4263,"t":"byte","b":[82,84,82,79,78,73,67,34]},{"a":4271,"t":"byte","b":[0,208,16,70,0,153,34,29]},{"a":4279,"t":"byte","b":[29,29,29,29,29,29,29,29]},{"a":4287,"t":"byte","b":[29,29,29,29,29,29,29,80]},{"a":4295,"t":"byte","b":[82,69,83,69,78,84,83,34]},{"a":4303,"t":"byte","b":[0]},{"a":4304,"l":"basic_draw_title_logo","c":"BASIC lines 80 through 200 print two groups of character cells for the Tutti Frutti lettering. TED uses the publisher screen glyphs at $2000 at this point.","t":"byte","b":[248,16,80,0,153,34,17,17]},{"a":4312,"t":"byte","b":[17,129,32,32,32,32,32,32]},{"a":4320,"t":"byte","b":[32,32,32,32,32,32,40,41]},{"a":4328,"t":"byte","b":[42,43,44,45,32,32,32,32]},{"a":4336,"t":"byte","b":[32,32,32,32,32,32,34,0]},{"a":4344,"t":"byte","b":[28,17,90,0,153,34,32,32]},{"a":4352,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4360,"t":"byte","b":[32,32,46,47,48,49,50,51]},{"a":4368,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4376,"t":"byte","b":[32,32,34,0,64,17,100,0]},{"a":4384,"t":"byte","b":[153,34,32,32,32,32,32,32]},{"a":4392,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4400,"t":"byte","b":[52,53,32,32,32,32,32,32]},{"a":4408,"t":"byte","b":[32,210,35,32,32,32,34,0]},{"a":4416,"t":"byte","b":[100,17,110,0,153,34,32,32]},{"a":4424,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4432,"t":"byte","b":[32,32,32,54,55,56,57,192]},{"a":4440,"t":"byte","b":[193,198,199,204,205,211,36,32]},{"a":4448,"t":"byte","b":[32,32,34,0,136,17,120,0]},{"a":4456,"t":"byte","b":[153,34,32,32,32,32,32,32]},{"a":4464,"t":"byte","b":[32,32,32,32,32,32,32,58]},{"a":4472,"t":"byte","b":[59,60,61,194,195,200,201,206]},{"a":4480,"t":"byte","b":[207,212,37,32,32,32,34,0]},{"a":4488,"t":"byte","b":[172,17,130,0,153,34,32,32]},{"a":4496,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4504,"t":"byte","b":[32,32,32,32,62,63,32,196]},{"a":4512,"t":"byte","b":[197,202,203,208,209,213,38,32]},{"a":4520,"t":"byte","b":[32,32,34,0,208,17,140,0]},{"a":4528,"t":"byte","b":[153,34,32,32,32,32,32,32]},{"a":4536,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4544,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4552,"t":"byte","b":[32,32,32,32,32,32,34,0]},{"a":4560,"t":"byte","b":[244,17,150,0,153,34,32,32]},{"a":4568,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4576,"t":"byte","b":[32,32,32,214,215,216,217,218]},{"a":4584,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4592,"t":"byte","b":[32,32,34,0,24,18,160,0]},{"a":4600,"t":"byte","b":[153,34,32,32,32,32,32,32]},{"a":4608,"t":"byte","b":[32,32,32,32,32,32,32,220]},{"a":4616,"t":"byte","b":[221,255,223,160,32,32,32,32]},{"a":4624,"t":"byte","b":[32,32,32,32,32,32,34,0]},{"a":4632,"t":"byte","b":[60,18,170,0,153,34,32,32]},{"a":4640,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4648,"t":"byte","b":[32,32,32,162,163,164,165,32]},{"a":4656,"t":"byte","b":[32,32,32,32,32,32,32,210]},{"a":4664,"t":"byte","b":[35,32,34,0,96,18,180,0]},{"a":4672,"t":"byte","b":[153,34,32,32,32,32,32,32]},{"a":4680,"t":"byte","b":[32,32,32,32,32,32,32,166]},{"a":4688,"t":"byte","b":[167,168,169,174,175,192,193,198]},{"a":4696,"t":"byte","b":[199,204,205,211,36,32,34,0]},{"a":4704,"t":"byte","b":[131,18,190,0,153,34,32,32]},{"a":4712,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":4720,"t":"byte","b":[32,32,32,170,171,32,179,176]},{"a":4728,"t":"byte","b":[177,194,195,200,201,206,207,212]},{"a":4736,"t":"byte","b":[37,34,0,166,18,200,0,153]},{"a":4744,"t":"byte","b":[34,32,32,32,32,32,32,32]},{"a":4752,"t":"byte","b":[32,32,32,32,32,32,172,173]},{"a":4760,"t":"byte","b":[32,180,178,32,196,197,202,203]},{"a":4768,"t":"byte","b":[208,209,213,38,34,0]},{"a":4774,"l":"basic_draw_company_credit","c":"BASIC lines 210 and 220 print the Mr Chip Software credit and set TED's screen colors.","t":"byte","b":[213,18,210,0,231,49,44,52]},{"a":4782,"t":"byte","b":[44,55,58,153,34,17,17,17]},{"a":4790,"t":"byte","b":[17,29,29,29,29,29,29,29]},{"a":4798,"t":"byte","b":[29,29,29,29,64,77,82,29]},{"a":4806,"t":"byte","b":[67,72,73,80,29,83,79,70]},{"a":4814,"t":"byte","b":[84,87,65,82,69,34,0,243]},{"a":4822,"t":"byte","b":[18,220,0,151,54,53,51,48]},{"a":4830,"t":"byte","b":[50,44,49,170,50,52,48,58]},{"a":4838,"t":"byte","b":[151,54,53,51,48,51,44,49]},{"a":4846,"t":"byte","b":[54,48,170,50,0]},{"a":4851,"l":"basic_wait_on_publisher_screen","c":"BASIC lines 230 and 240 run one step of the logo animation per loop and poll GET. A key or 240 passes exits the wait.","t":"byte","b":[19,19,230,0,84,178,84,170]},{"a":4859,"t":"byte","b":[49,58,158,54,55,51,54,58]},{"a":4867,"t":"byte","b":[161,65,36,58,139,65,36,179]},{"a":4875,"t":"byte","b":[177,34,34,167,50,53,48,0]},{"a":4883,"t":"byte","b":[44,19,240,0,129,90,178,48]},{"a":4891,"t":"byte","b":[164,49,48,58,130,58,139,84]},{"a":4899,"t":"byte","b":[179,50,52,48,167,50,51,48]},{"a":4907,"t":"byte","b":[0]},{"a":4908,"l":"basic_start_packed_engine","c":"BASIC line 250 calls SYS 9256 to unpack and start the resident game. A zero link after this line ends the BASIC listing.","t":"byte","b":[71,19,250,0,153,58,65,178]},{"a":4916,"t":"byte","b":[49,58,151,54,53,50,56,54]},{"a":4924,"t":"byte","b":[44,48,58,158,57,50,53,54]},{"a":4932,"t":"byte","b":[58,143,0,0,0]},{"a":4937,"l":"retained_basic_workspace_a","c":"Bytes after BASIC's zero link begin with seven-byte variable-format records for T, A$ and Z. The running BASIC program allocates its live variables from $2400.","t":"byte","b":[84,0,135,20,0,0,0,65]},{"a":4945,"t":"byte","b":[128,0,0,80,0,0,90,0]},{"a":4953,"t":"byte","b":[131,32,0,0,0,147,0,0]},{"a":4961,"t":"byte","b":[0,34,19,17,17,34,58,147]},{"a":4969,"t":"byte","b":[0,0,0]},{"a":4972,"l":"retained_intro_patterns","c":"Bit patterns following the retained BASIC records. The displayed publisher glyphs are fetched from $2000 and the resident game's glyphs from $3800. The original use of these earlier bytes is unknown.","t":"byte","b":[51,51,255,254,252,248,240,224]},{"a":4980,"t":"byte","b":[192,128,3,3,3,3,3,3]},{"a":4988,"t":"byte","b":[3,3,24,24,24,31,31,24]},{"a":4996,"t":"byte","b":[24,24,0,0,0,0,15,15]},{"a":5004,"t":"byte","b":[15,15,24,24,24,31,31,0]},{"a":5012,"t":"byte","b":[0,0,0,0,0,248,248,24]},{"a":5020,"t":"byte","b":[24,24,0,0,0,0,0,0]},{"a":5028,"t":"byte","b":[255,255,0,0,0,31,31,24]},{"a":5036,"t":"byte","b":[24,24,24,24,24,255,255,0]},{"a":5044,"t":"byte","b":[0,0,0,0,0,255,255,24]},{"a":5052,"t":"byte","b":[24,24,24,24,24,248,248,24]},{"a":5060,"t":"byte","b":[24,24,192,192,192,192,192,192]},{"a":5068,"t":"byte","b":[192,192,224,224,224,224,224,224]},{"a":5076,"t":"byte","b":[224,224,7,7,7,7,7,7]},{"a":5084,"t":"byte","b":[7,7,255,255,0,0,0,0]},{"a":5092,"t":"byte","b":[0,0,255,255,255,0,0,0]},{"a":5100,"t":"byte","b":[0,0,0,0,0,0,0,255]},{"a":5108,"t":"byte","b":[255,255,3,3,3,3,3,3]},{"a":5116,"t":"byte","b":[255,255,0,0,0,0,240,240]},{"a":5124,"t":"byte","b":[240,240,15,15,15,15,0,0]},{"a":5132,"t":"byte","b":[0,0,24,24,24,248,248,0]},{"a":5140,"t":"byte","b":[0,0,240,240,240,240,0,0]},{"a":5148,"t":"byte","b":[0,0,240,240,240,240,15,15]},{"a":5156,"t":"byte","b":[15,15,0,0,0,0]},{"a":5162,"t":"gap","n":126},{"a":5288,"l":"retained_basic_workspace_b","c":"A second set of BASIC variable-format records with the same variable names and a different saved value for T. BASIC's live variable pointer is $2400 during the publisher screen.","t":"byte","b":[84,0,136,108,0,0,0,65]},{"a":5296,"t":"byte","b":[128,0,0,80,0,0,90,0]},{"a":5304,"t":"byte","b":[130,0,0,0,0]},{"a":5309,"t":"gap","n":67},{"a":5376,"l":"publisher_sys_stub","c":"BASIC line 10 calls this immediate return. The packed file has already prepared the publisher screen's character set by the time this instruction runs.","t":"code","b":[96],"m":"rts"},{"a":5377,"t":"gap","n":1},{"a":5378,"l":"copy_four_charset_pages","c":"Copies corresponding bytes from $2000-$23FF to $3800-$3BFF, with X as the byte index within each page.","t":"code","b":[189,0,32],"m":"lda","oa":8192,"o":"start_game_engine,x","x":[5403]},{"a":5381,"t":"code","b":[157,0,56],"m":"sta","oa":14336,"o":"character_set,x"},{"a":5384,"t":"code","b":[189,0,33],"m":"lda","oa":8448,"o":"compare_score_for_promotion,x"},{"a":5387,"t":"code","b":[157,0,57],"m":"sta","oa":14592,"o":"digit_ball_and_crush_glyphs,x"},{"a":5390,"t":"code","b":[189,0,34],"m":"lda","oa":8704,"o":"title_and_attract_tick,x"},{"a":5393,"t":"code","b":[157,0,58],"m":"sta","oa":14848,"o":"apple_glyphs,x"},{"a":5396,"t":"code","b":[189,0,35],"m":"lda","oa":8960,"o":"enter_round_after_pause,x"},{"a":5399,"t":"code","b":[157,0,59],"m":"sta","oa":15104,"o":"apple_and_cherry_glyphs,x"},{"a":5402,"t":"code","b":[202],"m":"dex"},{"a":5403,"t":"code","b":[208,229],"m":"bne","oa":5378,"o":"copy_four_charset_pages"},{"a":5405,"t":"code","b":[96],"m":"rts"},{"a":5406,"t":"gap","n":608},{"a":6014,"l":"bytes_before_music_reader","c":"The pair $01,$00 immediately precedes the game's music routine. The routine starts at $1780 and reads its note data at $3F00.","t":"byte","b":[1,0]},{"a":6016,"l":"play_one_voice_and_read_shift","c":"Advances the tune on every eighth unmuted call. The high nibble of each byte selects voice 1's pitch, with 1 holding the previous note. On the preceding call it gates the voice off for a fresh attack unless the next token holds. Holding Shift keeps the voice gated off and pauses this reader's counters.","t":"code","b":[120],"m":"sei","x":[9086]},{"a":6017,"t":"code","b":[169,253],"m":"lda","o":"#$FD"},{"a":6019,"t":"code","b":[141,48,253],"m":"sta","o":"keyboard_latch"},{"a":6022,"t":"code","b":[141,8,255],"m":"sta","o":"ted_keyboard"},{"a":6025,"t":"code","b":[173,8,255],"m":"lda","o":"ted_keyboard"},{"a":6028,"t":"code","b":[88],"m":"cli"},{"a":6029,"t":"code","b":[16,88],"m":"bpl","oa":6119,"o":"b_17E7"},{"a":6031,"t":"code","b":[230,224],"m":"inc","oa":224,"o":"music_divider"},{"a":6033,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"music_divider"},{"a":6035,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":6037,"t":"code","b":[208,55],"m":"bne","oa":6094,"o":"b_17CE"},{"a":6039,"t":"code","b":[234],"m":"nop"},{"a":6040,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6042,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"music_divider"},{"a":6044,"t":"code","b":[230,225],"m":"inc","oa":225,"o":"music_index"},{"a":6046,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_index"},{"a":6048,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":6050,"t":"code","b":[208,6],"m":"bne","oa":6058,"o":"b_17AA"},{"a":6052,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6054,"t":"code","b":[133,225],"m":"sta","oa":225,"o":"music_index"},{"a":6056,"t":"code","b":[230,227],"m":"inc","oa":227,"o":"theme_pass"},{"a":6058,"l":"b_17AA","t":"code","b":[166,225],"m":"ldx","oa":225,"o":"music_index","x":[6050]},{"a":6060,"t":"code","b":[189,0,63],"m":"lda","oa":16128,"o":"theme_score,x"},{"a":6063,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":6064,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":6065,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":6066,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":6067,"t":"code","b":[168],"m":"tay"},{"a":6068,"t":"code","b":[192,1],"m":"cpy","o":"#$01"},{"a":6070,"t":"code","b":[240,12],"m":"beq","oa":6084,"o":"b_17C4"},{"a":6072,"t":"code","b":[185,192,63],"m":"lda","oa":16320,"o":"theme_voice_one_low,y"},{"a":6075,"t":"code","b":[141,14,255],"m":"sta","o":"ted_voice1_freq_lo"},{"a":6078,"t":"code","b":[185,208,63],"m":"lda","oa":16336,"o":"theme_voice_one_high,y"},{"a":6081,"t":"code","b":[141,18,255],"m":"sta","o":"ted_bitmap_voice1_hi"},{"a":6084,"l":"b_17C4","t":"code","b":[234],"m":"nop","x":[6070]},{"a":6085,"t":"code","b":[173,17,255],"m":"lda","o":"ted_sound"},{"a":6088,"t":"code","b":[9,24],"m":"ora","o":"#$18"},{"a":6090,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":6093,"t":"code","b":[96],"m":"rts"},{"a":6094,"l":"b_17CE","t":"code","b":[201,7],"m":"cmp","o":"#$07","x":[6037]},{"a":6096,"t":"code","b":[208,29],"m":"bne","oa":6127,"o":"b_17EF"},{"a":6098,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_index"},{"a":6100,"t":"code","b":[24],"m":"clc"},{"a":6101,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":6103,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":6105,"t":"code","b":[208,2],"m":"bne","oa":6109,"o":"b_17DD"},{"a":6107,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6109,"l":"b_17DD","t":"code","b":[170],"m":"tax","x":[6105]},{"a":6110,"t":"code","b":[189,0,63],"m":"lda","oa":16128,"o":"theme_score,x"},{"a":6113,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":6115,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":6117,"t":"code","b":[240,8],"m":"beq","oa":6127,"o":"b_17EF"},{"a":6119,"l":"b_17E7","t":"code","b":[173,17,255],"m":"lda","o":"ted_sound","x":[6029]},{"a":6122,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":6124,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":6127,"l":"b_17EF","t":"code","b":[168],"m":"tay","x":[6096,6117]},{"a":6128,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6130,"t":"code","b":[96],"m":"rts"},{"a":6131,"t":"gap","n":13},{"a":6144,"l":"hud_labels","c":"Screen codes for the score, time, bonus, level and top-score labels. The HUD builder copies the rows to the panel on the right of the orchard.","t":"byte","b":[19,3,15,18,5,0],"x":[10275]},{"a":6150,"l":"hud_time_label","c":"Six cells for TIME, including its trailing blanks.","t":"byte","b":[20,9,13,5,0,0],"x":[10281]},{"a":6156,"l":"hud_bonus_label","c":"Six cells for BONUS, including its trailing blank.","t":"byte","b":[2,15,14,21,19,0],"x":[10287]},{"a":6162,"l":"hud_level_label","c":"Six cells for LEVEL, including its trailing blank.","t":"byte","b":[12,5,22,5,12,0],"x":[10293]},{"a":6168,"l":"hud_top_label","c":"Six cells for TOP above the score table.","t":"byte","b":[20,15,16,0,0,0],"x":[10299]},{"a":6174,"l":"default_top_scores","c":"Eight rows of five screen-code digits, ordered from 10000 down to 03000. Each row ends with a blank cell.","t":"byte","b":[29,28,28,28,28,0],"x":[10305]},{"a":6180,"l":"score_row_9000","c":"Default second place, stored in the panel's digit codes.","t":"byte","b":[28,37,28,28,28,0],"x":[10311]},{"a":6186,"l":"score_row_8000","c":"Default third place, stored in the panel's digit codes.","t":"byte","b":[28,36,28,28,28,0],"x":[10317]},{"a":6192,"l":"score_row_7000","c":"Default fourth place, stored in the panel's digit codes.","t":"byte","b":[28,35,28,28,28,0],"x":[10323]},{"a":6198,"l":"score_row_6000","c":"Default fifth place, stored in the panel's digit codes.","t":"byte","b":[28,34,28,28,28,0],"x":[10329]},{"a":6204,"l":"score_row_5000","c":"Default sixth place, stored in the panel's digit codes.","t":"byte","b":[28,33,28,28,28,0],"x":[10335]},{"a":6210,"l":"score_row_4000","c":"Default seventh place, stored in the panel's digit codes.","t":"byte","b":[28,32,28,28,28,0],"x":[10341]},{"a":6216,"l":"score_row_3000","c":"Default eighth place, stored in the panel's digit codes.","t":"byte","b":[28,31,28,28,28,0],"x":[10347]},{"a":6222,"l":"hud_table_padding","c":"A zero immediately after the eighth default score row.","t":"byte","b":[0]},{"a":6223,"l":"previous_screen_row_low_base","c":"The score shifter indexes from one byte before the row-low table, so X selects row X minus one. Its index is already in the high-score part of the screen.","t":"byte","b":[0],"x":[8506]},{"a":6224,"l":"screen_row_low","c":"Low bytes of the first 24 row addresses in the 40-column screen at $0C00. Attribute accesses use the same low byte.","t":"byte","b":[0,40,80,120,160,200,240,24],"x":[7538,8454,8496,8548,8582,8609,10060,10198,10390,10603,12326,12835,13240]},{"a":6232,"t":"byte","b":[64,104,144,184,224,8,48,88]},{"a":6240,"t":"byte","b":[128,168,208,248,32,72,112]},{"a":6247,"l":"previous_screen_row_high_base","c":"The final low-table byte is also the base for indexed reads of the previous row's high byte. An X greater than zero lands in the high table that follows.","t":"byte","b":[152],"x":[8511]},{"a":6248,"l":"screen_row_high","c":"High bytes of the first 24 row addresses at $0C00. Subtracting four gives the corresponding address in the attribute plane at $0800.","t":"byte","b":[12,12,12,12,12,12,12,13],"x":[7543,8459,8501,8553,8587,8614,10065,10203,10395,10608,12331,12840,13245]},{"a":6256,"t":"byte","b":[13,13,13,13,13,14,14,14]},{"a":6264,"t":"byte","b":[14,14,14,14,15,15,15,15]},{"a":6272,"l":"metatile_top_left","c":"Upper-left screen glyph for each of the eight layout nibble values.","t":"byte","b":[0,204,104,64,104,64,27,27],"x":[10752]},{"a":6280,"l":"metatile_top_right","c":"Upper-right screen glyph for each of the eight layout nibble values.","t":"byte","b":[0,205,105,65,105,65,27,27],"x":[10758]},{"a":6288,"l":"metatile_bottom_left","c":"Lower-left screen glyph for each of the eight layout nibble values.","t":"byte","b":[0,206,106,66,106,66,27,27],"x":[10768]},{"a":6296,"l":"metatile_bottom_right","c":"Lower-right screen glyph for each of the eight layout nibble values.","t":"byte","b":[0,207,107,67,107,67,27,27],"x":[10774]},{"a":6304,"l":"orchard_color_constants","c":"Attribute constants indexed by layout nibble. The renderer uses entries 0 and 4\u20137 directly; types 1\u20133 take their row-dependent attributes from $34D0 instead.","t":"byte","b":[105,79,79,79,90,90,62,90],"x":[11784]},{"a":6312,"l":"attract_screen_rows","c":"Rows of screen codes for the in-game title, with credit, control prompt and fruit characters interleaved with the lettering.","t":"byte","b":[0,0,0,0,0,20,21,20],"x":[10818]},{"a":6320,"t":"byte","b":[20,9,0,6,18,21,20,20]},{"a":6328,"t":"byte","b":[9,0,0,0,38,38,38,0]},{"a":6336,"l":"attract_company_credit","c":"Twenty-four screen codes for the copyright row, including the four year digits.","t":"byte","b":[0,40,0,13,18,0,3,8],"x":[10824]},{"a":6344,"t":"byte","b":[9,16,0,19,15,6,20,23]},{"a":6352,"t":"byte","b":[1,18,5,0,29,37,36,33]},{"a":6360,"l":"attract_author_credit","c":"Twenty-four screen codes for the Shaun Southern credit.","t":"byte","b":[0,0,0,0,0,0,0,2],"x":[10830]},{"a":6368,"t":"byte","b":[25,0,19,8,1,21,14,0]},{"a":6376,"t":"byte","b":[19,15,21,20,8,5,18,14]},{"a":6384,"l":"attract_gang_caption","c":"Twenty-four screen codes for the Acid Apples caption.","t":"byte","b":[0,0,1,14,4,0,20,8],"x":[10836]},{"a":6392,"t":"byte","b":[5,0,1,3,9,4,0,1]},{"a":6400,"t":"byte","b":[16,16,12,5,19,39,0,0]},{"a":6408,"l":"attract_fire_prompt","c":"Twenty-four screen codes for PRESS FIRE TO START and its margin.","t":"byte","b":[0,0,16,18,5,19,19,0],"x":[10842]},{"a":6416,"t":"byte","b":[6,9,18,5,0,20,15,0]},{"a":6424,"t":"byte","b":[19,20,1,18,20,39,0,0]},{"a":6432,"l":"attract_featuring_caption","c":"Sixteen screen codes: three blanks, FEATURING and four periods.","t":"byte","b":[0,0,0,6,5,1,20,21],"x":[10870]},{"a":6440,"t":"byte","b":[18,9,14,7,39,39,39,39]},{"a":6448,"l":"attract_super_caption","c":"The upper row of the pictured strawberry and its SUPER caption.","t":"byte","b":[164,165,0,0,0,0,19,21],"x":[10876]},{"a":6456,"t":"byte","b":[16,5,18,0,0,0,0,0]},{"a":6464,"l":"attract_strawberry_caption","c":"The lower row of the pictured strawberry and its STRAWBERRY caption.","t":"byte","b":[166,167,0,0,19,20,18,1],"x":[10882]},{"a":6472,"t":"byte","b":[23,2,5,18,18,25,0,0]},{"a":6480,"l":"attract_apple_faces_upper","c":"Five pairs of upper Acid Apple glyphs with one space between each pair.","t":"byte","b":[194,195,0,194,195,0,194,195],"x":[10888]},{"a":6488,"t":"byte","b":[0,194,195,0,194,195,0,0]},{"a":6496,"l":"attract_apple_faces_lower","c":"Five pairs of lower Acid Apple glyphs lined up under the faces at $1950.","t":"byte","b":[196,197,0,196,197,0,196,197],"x":[10894]},{"a":6504,"t":"byte","b":[0,196,197,0,196,197,0,0]},{"a":6512,"t":"gap","n":144},{"a":6656,"l":"tick_orchard_bonus","c":"Toggles $B4 and subtracts one from the three decimal screen-code digits on alternate calls. At 000 it sets the death state and starts its $C0 countdown.","t":"code","b":[230,180],"m":"inc","oa":180,"o":"bonus_divider","x":[7259]},{"a":6658,"t":"code","b":[165,180],"m":"lda","oa":180,"o":"bonus_divider"},{"a":6660,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":6662,"t":"code","b":[133,180],"m":"sta","oa":180,"o":"bonus_divider"},{"a":6664,"t":"code","b":[208,44],"m":"bne","oa":6710,"o":"r_1A36"},{"a":6666,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":6668,"l":"b_1A0C","t":"code","b":[222,58,13],"m":"dec","oa":3386,"o":"bonus_hundreds,x","x":[6684]},{"a":6671,"t":"code","b":[189,58,13],"m":"lda","oa":3386,"o":"bonus_hundreds,x"},{"a":6674,"t":"code","b":[201,27],"m":"cmp","o":"#$1B"},{"a":6676,"t":"code","b":[208,8],"m":"bne","oa":6686,"o":"b_1A1E"},{"a":6678,"t":"code","b":[169,37],"m":"lda","o":"#$25"},{"a":6680,"t":"code","b":[157,58,13],"m":"sta","oa":3386,"o":"bonus_hundreds,x"},{"a":6683,"t":"code","b":[202],"m":"dex"},{"a":6684,"t":"code","b":[16,238],"m":"bpl","oa":6668,"o":"b_1A0C"},{"a":6686,"l":"b_1A1E","t":"code","b":[173,58,13],"m":"lda","oa":3386,"o":"bonus_hundreds","x":[6676]},{"a":6689,"t":"code","b":[13,59,13],"m":"ora","oa":3387,"o":"bonus_tens"},{"a":6692,"t":"code","b":[13,60,13],"m":"ora","oa":3388,"o":"bonus_units"},{"a":6695,"t":"code","b":[201,28],"m":"cmp","o":"#$1C"},{"a":6697,"t":"code","b":[240,1],"m":"beq","oa":6700,"o":"b_1A2C"},{"a":6699,"t":"code","b":[96],"m":"rts"},{"a":6700,"l":"b_1A2C","t":"code","b":[32,220,27],"m":"jsr","oa":7132,"o":"enter_death_state","x":[6697]},{"a":6703,"t":"code","b":[234],"m":"nop"},{"a":6704,"t":"code","b":[234],"m":"nop"},{"a":6705,"t":"code","b":[234],"m":"nop"},{"a":6706,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":6708,"t":"code","b":[133,144],"m":"sta","oa":144,"o":"end_sequence_ticks"},{"a":6710,"l":"r_1A36","t":"code","b":[96],"m":"rts","x":[6664]},{"a":6711,"t":"gap","n":1},{"a":6712,"l":"advance_elapsed_clock","c":"Counts 60 calls in $B5 before advancing the HUD's seconds. The tens digits roll over after 5 and the units after 9, up through both minute digits.","t":"code","b":[230,181],"m":"inc","oa":181,"o":"clock_divider","x":[9158]},{"a":6714,"t":"code","b":[165,181],"m":"lda","oa":181,"o":"clock_divider"},{"a":6716,"t":"code","b":[201,60],"m":"cmp","o":"#$3C"},{"a":6718,"t":"code","b":[208,64],"m":"bne","oa":6784,"o":"r_1A80"},{"a":6720,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6722,"t":"code","b":[133,181],"m":"sta","oa":181,"o":"clock_divider"},{"a":6724,"t":"code","b":[238,198,12],"m":"inc","oa":3270,"o":"seconds_units"},{"a":6727,"t":"code","b":[173,198,12],"m":"lda","oa":3270,"o":"seconds_units"},{"a":6730,"t":"code","b":[201,38],"m":"cmp","o":"#$26"},{"a":6732,"t":"code","b":[208,50],"m":"bne","oa":6784,"o":"r_1A80"},{"a":6734,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":6736,"t":"code","b":[141,198,12],"m":"sta","oa":3270,"o":"seconds_units"},{"a":6739,"t":"code","b":[238,197,12],"m":"inc","oa":3269,"o":"seconds_tens"},{"a":6742,"t":"code","b":[173,197,12],"m":"lda","oa":3269,"o":"seconds_tens"},{"a":6745,"t":"code","b":[201,34],"m":"cmp","o":"#$22"},{"a":6747,"t":"code","b":[208,35],"m":"bne","oa":6784,"o":"r_1A80"},{"a":6749,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":6751,"t":"code","b":[141,197,12],"m":"sta","oa":3269,"o":"seconds_tens"},{"a":6754,"t":"code","b":[238,195,12],"m":"inc","oa":3267,"o":"minutes_units"},{"a":6757,"t":"code","b":[173,195,12],"m":"lda","oa":3267,"o":"minutes_units"},{"a":6760,"t":"code","b":[201,38],"m":"cmp","o":"#$26"},{"a":6762,"t":"code","b":[208,20],"m":"bne","oa":6784,"o":"r_1A80"},{"a":6764,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":6766,"t":"code","b":[141,195,12],"m":"sta","oa":3267,"o":"minutes_units"},{"a":6769,"t":"code","b":[238,194,12],"m":"inc","oa":3266,"o":"minutes_tens"},{"a":6772,"t":"code","b":[173,194,12],"m":"lda","oa":3266,"o":"minutes_tens"},{"a":6775,"t":"code","b":[201,34],"m":"cmp","o":"#$22"},{"a":6777,"t":"code","b":[208,5],"m":"bne","oa":6784,"o":"r_1A80"},{"a":6779,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":6781,"t":"code","b":[141,194,12],"m":"sta","oa":3266,"o":"minutes_tens"},{"a":6784,"l":"r_1A80","t":"code","b":[96],"m":"rts","x":[6718,6732,6747,6762,6777]},{"a":6785,"t":"gap","n":3},{"a":6788,"l":"award_remaining_bonus","c":"Adds the displayed three-digit bonus to the score, starting with its units. A blank is not needed because zero has its own screen code.","t":"code","b":[162,4],"m":"ldx","o":"#$04","x":[11376]},{"a":6790,"t":"code","b":[173,60,13],"m":"lda","oa":3388,"o":"bonus_units"},{"a":6793,"t":"code","b":[56],"m":"sec"},{"a":6794,"t":"code","b":[233,28],"m":"sbc","o":"#$1C"},{"a":6796,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6799,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":6801,"t":"code","b":[173,59,13],"m":"lda","oa":3387,"o":"bonus_tens"},{"a":6804,"t":"code","b":[56],"m":"sec"},{"a":6805,"t":"code","b":[233,28],"m":"sbc","o":"#$1C"},{"a":6807,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6810,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":6812,"t":"code","b":[173,58,13],"m":"lda","oa":3386,"o":"bonus_hundreds"},{"a":6815,"t":"code","b":[56],"m":"sec"},{"a":6816,"t":"code","b":[233,28],"m":"sbc","o":"#$1C"},{"a":6818,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6821,"t":"code","b":[96],"m":"rts"},{"a":6822,"t":"gap","n":2},{"a":6824,"l":"award_special_clear","c":"Enters the round-clear state, then adds to the score's thousands digit from the layout index plus one, reduced by three when it is at least four.","t":"code","b":[32,96,44],"m":"jsr","oa":11360,"o":"clear_round","x":[11380]},{"a":6827,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"layout_index"},{"a":6829,"t":"code","b":[24],"m":"clc"},{"a":6830,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":6832,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":6834,"t":"code","b":[144,3],"m":"bcc","oa":6839,"o":"b_1AB7"},{"a":6836,"t":"code","b":[56],"m":"sec"},{"a":6837,"t":"code","b":[233,3],"m":"sbc","o":"#$03"},{"a":6839,"l":"b_1AB7","t":"code","b":[162,1],"m":"ldx","o":"#$01","x":[6834]},{"a":6841,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6844,"t":"code","b":[96],"m":"rts"},{"a":6845,"t":"gap","n":3},{"a":6848,"l":"add_score_digit","c":"Adds A to the X-th displayed score digit at $0C4A. Rolls a digit above 9 back by ten and carries one left, stopping when X runs off the five-digit field.","t":"code","b":[24],"m":"clc","x":[6796,6807,6818,6841,6868,6916,6923,6936,6958,6965]},{"a":6849,"t":"code","b":[125,74,12],"m":"adc","oa":3146,"o":"score_digits,x"},{"a":6852,"t":"code","b":[157,74,12],"m":"sta","oa":3146,"o":"score_digits,x"},{"a":6855,"t":"code","b":[201,38],"m":"cmp","o":"#$26"},{"a":6857,"t":"code","b":[144,13],"m":"bcc","oa":6872,"o":"return_without_score_carry"},{"a":6859,"t":"code","b":[56],"m":"sec"},{"a":6860,"t":"code","b":[233,10],"m":"sbc","o":"#$0A"},{"a":6862,"t":"code","b":[157,74,12],"m":"sta","oa":3146,"o":"score_digits,x"},{"a":6865,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":6867,"t":"code","b":[202],"m":"dex"},{"a":6868,"t":"code","b":[16,234],"m":"bpl","oa":6848,"o":"add_score_digit"},{"a":6870,"t":"code","b":[96],"m":"rts"},{"a":6871,"t":"gap","n":1},{"a":6872,"l":"return_without_score_carry","c":"Leaves the score adder when the updated digit is below ten.","t":"code","b":[96],"m":"rts","x":[6857]},{"a":6873,"t":"gap","n":39},{"a":6912,"l":"award_cherry","c":"Adds 25 points, using the tens and units of the on-screen score.","t":"code","b":[162,3],"m":"ldx","o":"#$03","x":[9550,11697]},{"a":6914,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":6916,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6919,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":6921,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":6923,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6926,"t":"code","b":[96],"m":"rts"},{"a":6927,"t":"gap","n":1},{"a":6928,"l":"award_ball_hit","c":"Requests the hit sound and adds 100 points to the on-screen score.","t":"code","b":[169,192],"m":"lda","o":"#$C0","x":[7521]},{"a":6930,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":6932,"l":"b_1B14","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[6952]},{"a":6934,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":6936,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6939,"t":"code","b":[96],"m":"rts"},{"a":6940,"t":"gap","n":4},{"a":6944,"l":"award_fruit_hit","c":"Requests the hit sound for an apple or sliding-fruit kill. Adds 250 points except in state 6, where it adds 100.","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[7657]},{"a":6946,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":6948,"t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state"},{"a":6950,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":6952,"t":"code","b":[240,234],"m":"beq","oa":6932,"o":"b_1B14"},{"a":6954,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":6956,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":6958,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6961,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":6963,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":6965,"t":"code","b":[32,192,26],"m":"jsr","oa":6848,"o":"add_score_digit"},{"a":6968,"t":"code","b":[96],"m":"rts"},{"a":6969,"t":"gap","n":7},{"a":6976,"l":"game_over_sequence","c":"Counts down the game-over display and plays its two-voice phrase from the two sixteen-entry pitch tables. At zero it resets the stack, changes to title state and jumps to the title music reset.","t":"code","b":[165,144],"m":"lda","oa":144,"o":"end_sequence_ticks","x":[8394]},{"a":6978,"t":"code","b":[208,12],"m":"bne","oa":6992,"o":"game_over_countdown"},{"a":6980,"t":"code","b":[88],"m":"cli"},{"a":6981,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":6983,"t":"code","b":[154],"m":"txs"},{"a":6984,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6986,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"game_state"},{"a":6988,"t":"code","b":[76,74,32],"m":"jmp","oa":8266,"o":"reset_title_counters"},{"a":6991,"t":"gap","n":1},{"a":6992,"l":"game_over_countdown","c":"Decrements the game-over timer. The middle $80 ticks play the two pitch tables, while the outer parts are silent.","t":"code","b":[198,144],"m":"dec","oa":144,"o":"end_sequence_ticks","x":[6978]},{"a":6994,"t":"code","b":[165,144],"m":"lda","oa":144,"o":"end_sequence_ticks"},{"a":6996,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":6998,"t":"code","b":[144,44],"m":"bcc","oa":7044,"o":"b_1B84"},{"a":7000,"t":"code","b":[201,160],"m":"cmp","o":"#$A0"},{"a":7002,"t":"code","b":[176,40],"m":"bcs","oa":7044,"o":"b_1B84"},{"a":7004,"t":"code","b":[56],"m":"sec"},{"a":7005,"t":"code","b":[233,32],"m":"sbc","o":"#$20"},{"a":7007,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7008,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7009,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7010,"t":"code","b":[170],"m":"tax"},{"a":7011,"t":"code","b":[189,128,52],"m":"lda","oa":13440,"o":"game_over_voice_one,x"},{"a":7014,"t":"code","b":[141,14,255],"m":"sta","o":"ted_voice1_freq_lo"},{"a":7017,"t":"code","b":[141,15,255],"m":"sta","o":"ted_voice2_freq_lo"},{"a":7020,"t":"code","b":[189,144,52],"m":"lda","oa":13456,"o":"game_over_voice_two,x"},{"a":7023,"t":"code","b":[141,15,255],"m":"sta","o":"ted_voice2_freq_lo"},{"a":7026,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":7028,"t":"code","b":[141,16,255],"m":"sta","o":"ted_voice2_freq_hi"},{"a":7031,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":7033,"t":"code","b":[141,18,255],"m":"sta","o":"ted_bitmap_voice1_hi"},{"a":7036,"t":"code","b":[234],"m":"nop"},{"a":7037,"t":"code","b":[234],"m":"nop"},{"a":7038,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":7040,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":7043,"t":"code","b":[96],"m":"rts"},{"a":7044,"l":"b_1B84","t":"code","b":[201,160],"m":"cmp","o":"#$A0","x":[6998,7002]},{"a":7046,"t":"code","b":[240,8],"m":"beq","oa":7056,"o":"show_game_over"},{"a":7048,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":7050,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":7053,"t":"code","b":[96],"m":"rts"},{"a":7054,"t":"gap","n":2},{"a":7056,"l":"show_game_over","c":"On the $A0 game-over tick, puts the Game Over message in the middle of the orchard and blanks the rows above and below it.","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[7046]},{"a":7058,"l":"b_1B92","t":"code","b":[189,160,52],"m":"lda","oa":13472,"o":"game_over_banner,x","x":[7084]},{"a":7061,"t":"code","b":[157,72,13],"m":"sta","oa":3400,"o":"f_0D48,x"},{"a":7064,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":7066,"t":"code","b":[157,32,13],"m":"sta","oa":3360,"o":"f_0D20,x"},{"a":7069,"t":"code","b":[157,112,13],"m":"sta","oa":3440,"o":"f_0D70,x"},{"a":7072,"t":"code","b":[169,113],"m":"lda","o":"#$71"},{"a":7074,"t":"code","b":[157,72,9],"m":"sta","oa":2376,"o":"f_0948,x"},{"a":7077,"t":"code","b":[157,32,9],"m":"sta","oa":2336,"o":"f_0920,x"},{"a":7080,"t":"code","b":[157,112,9],"m":"sta","oa":2416,"o":"f_0970,x"},{"a":7083,"t":"code","b":[202],"m":"dex"},{"a":7084,"t":"code","b":[16,228],"m":"bpl","oa":7058,"o":"b_1B92"},{"a":7086,"t":"code","b":[96],"m":"rts"},{"a":7087,"t":"gap","n":1},{"a":7088,"l":"advance_level_and_difficulty","c":"Increments the layout counter, visible two-digit level and difficulty index. Clamps the lookup index to 15 and reads the spawn quota and enemy speed from two parallel tables.","t":"code","b":[230,229],"m":"inc","oa":229,"o":"layout_index","x":[12639]},{"a":7090,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":7092,"l":"b_1BB4","t":"code","b":[254,42,14],"m":"inc","oa":3626,"o":"level_tens,x","x":[7108]},{"a":7095,"t":"code","b":[189,42,14],"m":"lda","oa":3626,"o":"level_tens,x"},{"a":7098,"t":"code","b":[201,38],"m":"cmp","o":"#$26"},{"a":7100,"t":"code","b":[208,8],"m":"bne","oa":7110,"o":"b_1BC6"},{"a":7102,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":7104,"t":"code","b":[157,42,14],"m":"sta","oa":3626,"o":"level_tens,x"},{"a":7107,"t":"code","b":[202],"m":"dex"},{"a":7108,"t":"code","b":[16,238],"m":"bpl","oa":7092,"o":"b_1BB4"},{"a":7110,"l":"b_1BC6","t":"code","b":[230,182],"m":"inc","oa":182,"o":"difficulty_index","x":[7100]},{"a":7112,"t":"code","b":[165,182],"m":"lda","oa":182,"o":"difficulty_index"},{"a":7114,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":7116,"t":"code","b":[144,2],"m":"bcc","oa":7120,"o":"b_1BD0"},{"a":7118,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":7120,"l":"b_1BD0","t":"code","b":[170],"m":"tax","x":[7116]},{"a":7121,"t":"code","b":[189,176,52],"m":"lda","oa":13488,"o":"enemy_spawn_quota,x"},{"a":7124,"t":"code","b":[133,140],"m":"sta","oa":140,"o":"enemy_reserve"},{"a":7126,"t":"code","b":[189,192,52],"m":"lda","oa":13504,"o":"enemy_step_rate,x"},{"a":7129,"t":"code","b":[133,136],"m":"sta","oa":136,"o":"enemy_speed"},{"a":7131,"t":"code","b":[96],"m":"rts"},{"a":7132,"l":"enter_death_state","c":"Sets bit 7 of the current game state. If a ball is active, clears its recorded screen cell. The comparison with state 6 after setting bit 7 cannot skip that erase.","t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state","x":[6700,7799,7855]},{"a":7134,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":7136,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"game_state"},{"a":7138,"t":"code","b":[165,108],"m":"lda","oa":108,"o":"ball_state"},{"a":7140,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":7142,"t":"code","b":[208,12],"m":"bne","oa":7156,"o":"r_1BF4"},{"a":7144,"t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state"},{"a":7146,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":7148,"t":"code","b":[240,6],"m":"beq","oa":7156,"o":"r_1BF4"},{"a":7150,"t":"code","b":[164,187],"m":"ldy","oa":187,"o":"ball_screen_offset"},{"a":7152,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":7154,"t":"code","b":[145,185],"m":"sta","oa":185,"o":"(ball_screen_low),y"},{"a":7156,"l":"r_1BF4","t":"code","b":[96],"m":"rts","x":[7142,7148]},{"a":7157,"l":"remember_ball_draw_cell","c":"Saves the current screen row pointer and Y offset so the death path can erase the displayed ball.","t":"code","b":[165,216],"m":"lda","oa":216,"o":"screen_ptr_low","x":[10230]},{"a":7159,"t":"code","b":[133,185],"m":"sta","oa":185,"o":"ball_screen_low"},{"a":7161,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":7163,"t":"code","b":[133,186],"m":"sta","oa":186,"o":"ball_screen_high"},{"a":7165,"t":"code","b":[132,187],"m":"sty","oa":187,"o":"ball_screen_offset"},{"a":7167,"t":"code","b":[96],"m":"rts"},{"a":7168,"l":"step_acid_apples","c":"Adds the enemy speed to an eight-bit accumulator and updates the five enemy slots on carry. Counts down queued spawns and then moves each active apple one coordinate unit (two display pixels). Calls the bonus tick after the enemy update.","t":"code","b":[165,135],"m":"lda","oa":135,"o":"enemy_phase","x":[9131]},{"a":7170,"t":"code","b":[24],"m":"clc"},{"a":7171,"t":"code","b":[101,136],"m":"adc","oa":136,"o":"enemy_speed"},{"a":7173,"t":"code","b":[133,135],"m":"sta","oa":135,"o":"enemy_phase"},{"a":7175,"t":"code","b":[144,85],"m":"bcc","oa":7262,"o":"r_1C5E"},{"a":7177,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":7179,"l":"b_1C0B","t":"code","b":[189,240,4],"m":"lda","oa":1264,"o":"enemy_spawn_timers,x","x":[7209]},{"a":7182,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7184,"t":"code","b":[240,22],"m":"beq","oa":7208,"o":"b_1C28"},{"a":7186,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":7188,"t":"code","b":[208,15],"m":"bne","oa":7205,"o":"b_1C25"},{"a":7190,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":7192,"t":"code","b":[157,96,3],"m":"sta","oa":864,"o":"actor_x,x"},{"a":7195,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":7197,"t":"code","b":[157,104,3],"m":"sta","oa":872,"o":"actor_y,x"},{"a":7200,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":7202,"t":"code","b":[157,112,3],"m":"sta","oa":880,"o":"actor_direction,x"},{"a":7205,"l":"b_1C25","t":"code","b":[222,240,4],"m":"dec","oa":1264,"o":"enemy_spawn_timers,x","x":[7188]},{"a":7208,"l":"b_1C28","t":"code","b":[202],"m":"dex","x":[7184]},{"a":7209,"t":"code","b":[208,224],"m":"bne","oa":7179,"o":"b_1C0B"},{"a":7211,"t":"code","b":[234],"m":"nop"},{"a":7212,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":7214,"l":"b_1C2E","t":"code","b":[188,112,3],"m":"ldy","oa":880,"o":"actor_direction,x","x":[7257]},{"a":7217,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":7219,"t":"code","b":[240,35],"m":"beq","oa":7256,"o":"b_1C58"},{"a":7221,"t":"code","b":[185,248,62],"m":"lda","oa":16120,"o":"direction_delta_x,y"},{"a":7224,"t":"code","b":[24],"m":"clc"},{"a":7225,"t":"code","b":[125,96,3],"m":"adc","oa":864,"o":"actor_x,x"},{"a":7228,"t":"code","b":[157,96,3],"m":"sta","oa":864,"o":"actor_x,x"},{"a":7231,"t":"code","b":[185,252,62],"m":"lda","oa":16124,"o":"direction_delta_y,y"},{"a":7234,"t":"code","b":[24],"m":"clc"},{"a":7235,"t":"code","b":[125,104,3],"m":"adc","oa":872,"o":"actor_y,x"},{"a":7238,"t":"code","b":[157,104,3],"m":"sta","oa":872,"o":"actor_y,x"},{"a":7241,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":7244,"t":"code","b":[29,96,3],"m":"ora","oa":864,"o":"actor_x,x"},{"a":7247,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":7249,"t":"code","b":[208,5],"m":"bne","oa":7256,"o":"b_1C58"},{"a":7251,"t":"code","b":[32,96,28],"m":"jsr","oa":7264,"o":"clear_path_and_turn_apple"},{"a":7254,"t":"code","b":[234],"m":"nop"},{"a":7255,"t":"code","b":[234],"m":"nop"},{"a":7256,"l":"b_1C58","t":"code","b":[202],"m":"dex","x":[7219,7249]},{"a":7257,"t":"code","b":[208,211],"m":"bne","oa":7214,"o":"b_1C2E"},{"a":7259,"t":"code","b":[32,0,26],"m":"jsr","oa":6656,"o":"tick_orchard_bonus"},{"a":7262,"l":"r_1C5E","t":"code","b":[96],"m":"rts","x":[7175]},{"a":7263,"t":"gap","n":1},{"a":7264,"l":"clear_path_and_turn_apple","c":"At an enemy's tile boundary, chooses its next direction and clears its current logical tile.","t":"code","b":[32,128,28],"m":"jsr","oa":7296,"o":"choose_enemy_turn","x":[7251]},{"a":7267,"t":"code","b":[138],"m":"txa"},{"a":7268,"t":"code","b":[72],"m":"pha"},{"a":7269,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":7272,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7273,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7274,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7275,"t":"code","b":[168],"m":"tay"},{"a":7276,"t":"code","b":[189,96,3],"m":"lda","oa":864,"o":"actor_x,x"},{"a":7279,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7280,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7281,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7282,"t":"code","b":[170],"m":"tax"},{"a":7283,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":7285,"t":"code","b":[32,176,47],"m":"jsr","oa":12208,"o":"write_tile"},{"a":7288,"t":"code","b":[104],"m":"pla"},{"a":7289,"t":"code","b":[170],"m":"tax"},{"a":7290,"t":"code","b":[96],"m":"rts"},{"a":7291,"t":"gap","n":5},{"a":7296,"l":"choose_enemy_turn","c":"Builds a four-bit mask of open neighboring cells on the 16-by-12 orchard. Suppresses a reverse when another exit exists, then samples random directions until one matches. Reverses if the remaining mask is empty.","t":"code","b":[189,96,3],"m":"lda","oa":864,"o":"actor_x,x","x":[7264]},{"a":7299,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7300,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7301,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7302,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":7304,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":7307,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7308,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7309,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7310,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":7312,"t":"code","b":[138],"m":"txa"},{"a":7313,"t":"code","b":[72],"m":"pha"},{"a":7314,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":7316,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":7318,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":7320,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":7322,"t":"code","b":[232],"m":"inx"},{"a":7323,"t":"code","b":[224,16],"m":"cpx","o":"#$10"},{"a":7325,"t":"code","b":[240,13],"m":"beq","oa":7340,"o":"b_1CAC"},{"a":7327,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":7330,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":7332,"t":"code","b":[176,6],"m":"bcs","oa":7340,"o":"b_1CAC"},{"a":7334,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":7336,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":7338,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":7340,"l":"b_1CAC","t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x","x":[7325,7332]},{"a":7342,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":7344,"t":"code","b":[202],"m":"dex"},{"a":7345,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":7347,"t":"code","b":[240,13],"m":"beq","oa":7362,"o":"b_1CC2"},{"a":7349,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":7352,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":7354,"t":"code","b":[176,6],"m":"bcs","oa":7362,"o":"b_1CC2"},{"a":7356,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":7358,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":7360,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":7362,"l":"b_1CC2","t":"code","b":[234],"m":"nop","x":[7347,7354]},{"a":7363,"t":"code","b":[234],"m":"nop"},{"a":7364,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":7366,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":7368,"t":"code","b":[200],"m":"iny"},{"a":7369,"t":"code","b":[192,12],"m":"cpy","o":"#$0C"},{"a":7371,"t":"code","b":[240,13],"m":"beq","oa":7386,"o":"b_1CDA"},{"a":7373,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":7376,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":7378,"t":"code","b":[176,6],"m":"bcs","oa":7386,"o":"b_1CDA"},{"a":7380,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":7382,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":7384,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":7386,"l":"b_1CDA","t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x","x":[7371,7378]},{"a":7388,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":7390,"t":"code","b":[136],"m":"dey"},{"a":7391,"t":"code","b":[192,16],"m":"cpy","o":"#$10"},{"a":7393,"t":"code","b":[240,13],"m":"beq","oa":7408,"o":"b_1CF0"},{"a":7395,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":7398,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":7400,"t":"code","b":[176,6],"m":"bcs","oa":7408,"o":"b_1CF0"},{"a":7402,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":7404,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":7406,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":7408,"l":"b_1CF0","t":"code","b":[104],"m":"pla","x":[7393,7400]},{"a":7409,"t":"code","b":[170],"m":"tax"},{"a":7410,"t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x"},{"a":7413,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":7415,"t":"code","b":[168],"m":"tay"},{"a":7416,"t":"code","b":[185,244,62],"m":"lda","oa":16116,"o":"direction_masks,y"},{"a":7419,"t":"code","b":[73,15],"m":"eor","o":"#$0F"},{"a":7421,"t":"code","b":[37,232],"m":"and","oa":232,"o":"legal_directions"},{"a":7423,"t":"code","b":[208,9],"m":"bne","oa":7434,"o":"b_1D0A"},{"a":7425,"t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x"},{"a":7428,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":7430,"t":"code","b":[157,112,3],"m":"sta","oa":880,"o":"actor_direction,x"},{"a":7433,"t":"code","b":[96],"m":"rts"},{"a":7434,"l":"b_1D0A","t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions","x":[7423]},{"a":7436,"l":"b_1D0C","t":"code","b":[32,224,31],"m":"jsr","oa":8160,"o":"advance_random_accumulator","x":[7447]},{"a":7439,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":7441,"t":"code","b":[168],"m":"tay"},{"a":7442,"t":"code","b":[185,244,62],"m":"lda","oa":16116,"o":"direction_masks,y"},{"a":7445,"t":"code","b":[37,232],"m":"and","oa":232,"o":"legal_directions"},{"a":7447,"t":"code","b":[240,243],"m":"beq","oa":7436,"o":"b_1D0C"},{"a":7449,"t":"code","b":[168],"m":"tay"},{"a":7450,"t":"code","b":[185,112,52],"m":"lda","oa":13424,"o":"direction_from_mask,y"},{"a":7453,"t":"code","b":[157,112,3],"m":"sta","oa":880,"o":"actor_direction,x"},{"a":7456,"t":"code","b":[96],"m":"rts"},{"a":7457,"t":"gap","n":15},{"a":7472,"l":"hit_enemies_with_ball_or_fruit","c":"Checks the active ball against five enemy positions and awards its hit score. Moves the ball to cooldown and removes its drawn mark on a hit. Also checks all eight moving-fruit slots against the enemies.","t":"code","b":[165,108],"m":"lda","oa":108,"o":"ball_state","x":[9134]},{"a":7474,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":7476,"t":"code","b":[208,92],"m":"bne","oa":7570,"o":"b_1D92"},{"a":7478,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":7480,"l":"b_1D38","t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x","x":[7567]},{"a":7483,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7485,"t":"code","b":[240,79],"m":"beq","oa":7566,"o":"b_1D8E"},{"a":7487,"t":"code","b":[234],"m":"nop"},{"a":7488,"t":"code","b":[189,96,3],"m":"lda","oa":864,"o":"actor_x,x"},{"a":7491,"t":"code","b":[56],"m":"sec"},{"a":7492,"t":"code","b":[229,109],"m":"sbc","oa":109,"o":"ball_x"},{"a":7494,"t":"code","b":[16,2],"m":"bpl","oa":7498,"o":"b_1D4A"},{"a":7496,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7498,"l":"b_1D4A","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[7494]},{"a":7500,"t":"code","b":[176,64],"m":"bcs","oa":7566,"o":"b_1D8E"},{"a":7502,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":7505,"t":"code","b":[56],"m":"sec"},{"a":7506,"t":"code","b":[229,110],"m":"sbc","oa":110,"o":"ball_y"},{"a":7508,"t":"code","b":[16,2],"m":"bpl","oa":7512,"o":"b_1D58"},{"a":7510,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7512,"l":"b_1D58","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[7508]},{"a":7514,"t":"code","b":[176,50],"m":"bcs","oa":7566,"o":"b_1D8E"},{"a":7516,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":7518,"t":"code","b":[157,112,3],"m":"sta","oa":880,"o":"actor_direction,x"},{"a":7521,"t":"code","b":[32,16,27],"m":"jsr","oa":6928,"o":"award_ball_hit"},{"a":7524,"t":"code","b":[234],"m":"nop"},{"a":7525,"t":"code","b":[169,63],"m":"lda","o":"#$3F"},{"a":7527,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"effect_pitch_delta"},{"a":7529,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7531,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":7533,"t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y"},{"a":7535,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7536,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7537,"t":"code","b":[168],"m":"tay"},{"a":7538,"t":"code","b":[185,80,24],"m":"lda","oa":6224,"o":"screen_row_low,y"},{"a":7541,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":7543,"t":"code","b":[185,104,24],"m":"lda","oa":6248,"o":"screen_row_high,y"},{"a":7546,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":7548,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":7550,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7551,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":7552,"t":"code","b":[168],"m":"tay"},{"a":7553,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":7555,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":7557,"t":"code","b":[32,224,31],"m":"jsr","oa":8160,"o":"advance_random_accumulator"},{"a":7560,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7562,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":7564,"t":"code","b":[133,108],"m":"sta","oa":108,"o":"ball_state"},{"a":7566,"l":"b_1D8E","t":"code","b":[202],"m":"dex","x":[7485,7500,7514]},{"a":7567,"t":"code","b":[208,167],"m":"bne","oa":7480,"o":"b_1D38"},{"a":7569,"t":"code","b":[234],"m":"nop"},{"a":7570,"l":"b_1D92","t":"code","b":[234],"m":"nop","x":[7476]},{"a":7571,"t":"code","b":[234],"m":"nop"},{"a":7572,"t":"code","b":[234],"m":"nop"},{"a":7573,"t":"code","b":[234],"m":"nop"},{"a":7574,"t":"code","b":[234],"m":"nop"},{"a":7575,"t":"code","b":[234],"m":"nop"},{"a":7576,"l":"advance_ball_cooldown","c":"Decrements the ball state while it is neither zero nor active. At $20 it requests the ready sound.","t":"code","b":[165,108],"m":"lda","oa":108,"o":"ball_state"},{"a":7578,"t":"code","b":[240,24],"m":"beq","oa":7604,"o":"check_fruit_enemy_hits"},{"a":7580,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":7582,"t":"code","b":[240,20],"m":"beq","oa":7604,"o":"check_fruit_enemy_hits"},{"a":7584,"t":"code","b":[198,108],"m":"dec","oa":108,"o":"ball_state"},{"a":7586,"t":"code","b":[165,108],"m":"lda","oa":108,"o":"ball_state"},{"a":7588,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":7590,"t":"code","b":[208,12],"m":"bne","oa":7604,"o":"check_fruit_enemy_hits"},{"a":7592,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":7594,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":7596,"t":"code","b":[169,130],"m":"lda","o":"#$82"},{"a":7598,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"effect_pitch_delta"},{"a":7600,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":7602,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":7604,"l":"check_fruit_enemy_hits","c":"Compares active moving fruit with active enemy coordinates. A hit deactivates the enemy, scores for the fruit and requests the hit effect.","t":"code","b":[160,7],"m":"ldy","o":"#$07","x":[7578,7582,7590]},{"a":7606,"l":"b_1DB6","t":"code","b":[185,120,3],"m":"lda","oa":888,"o":"fruit_direction,y","x":[7675]},{"a":7609,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7611,"t":"code","b":[240,61],"m":"beq","oa":7674,"o":"b_1DFA"},{"a":7613,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":7615,"l":"b_1DBF","t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x","x":[7672]},{"a":7618,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7620,"t":"code","b":[240,47],"m":"beq","oa":7669,"o":"b_1DF5"},{"a":7622,"t":"code","b":[189,96,3],"m":"lda","oa":864,"o":"actor_x,x"},{"a":7625,"t":"code","b":[56],"m":"sec"},{"a":7626,"t":"code","b":[249,64,3],"m":"sbc","oa":832,"o":"fruit_x,y"},{"a":7629,"t":"code","b":[16,2],"m":"bpl","oa":7633,"o":"b_1DD1"},{"a":7631,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7633,"l":"b_1DD1","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[7629]},{"a":7635,"t":"code","b":[176,32],"m":"bcs","oa":7669,"o":"b_1DF5"},{"a":7637,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":7640,"t":"code","b":[56],"m":"sec"},{"a":7641,"t":"code","b":[249,72,3],"m":"sbc","oa":840,"o":"fruit_y,y"},{"a":7644,"t":"code","b":[16,2],"m":"bpl","oa":7648,"o":"b_1DE0"},{"a":7646,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7648,"l":"b_1DE0","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[7644]},{"a":7650,"t":"code","b":[176,17],"m":"bcs","oa":7669,"o":"b_1DF5"},{"a":7652,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":7654,"t":"code","b":[157,112,3],"m":"sta","oa":880,"o":"actor_direction,x"},{"a":7657,"t":"code","b":[32,32,27],"m":"jsr","oa":6944,"o":"award_fruit_hit"},{"a":7660,"t":"code","b":[234],"m":"nop"},{"a":7661,"t":"code","b":[169,63],"m":"lda","o":"#$3F"},{"a":7663,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"effect_pitch_delta"},{"a":7665,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7667,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":7669,"l":"b_1DF5","t":"code","b":[234],"m":"nop","x":[7620,7635,7650]},{"a":7670,"t":"code","b":[234],"m":"nop"},{"a":7671,"t":"code","b":[202],"m":"dex"},{"a":7672,"t":"code","b":[208,197],"m":"bne","oa":7615,"o":"b_1DBF"},{"a":7674,"l":"b_1DFA","t":"code","b":[136],"m":"dey","x":[7611]},{"a":7675,"t":"code","b":[16,185],"m":"bpl","oa":7606,"o":"b_1DB6"},{"a":7677,"t":"code","b":[96],"m":"rts"},{"a":7678,"t":"gap","n":2},{"a":7680,"l":"queue_acid_apples","c":"With a nonzero reserve on entry, queues every slot whose direction and timer are both $FF. A countdown of 64\u2013127 activates after 65\u2013128 enemy updates. When more slots are free than remain in reserve, the subtraction wraps the reserve byte.","t":"code","b":[165,140],"m":"lda","oa":140,"o":"enemy_reserve","x":[9137]},{"a":7682,"t":"code","b":[240,46],"m":"beq","oa":7730,"o":"r_1E32"},{"a":7684,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":7686,"l":"b_1E06","t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x","x":[7728]},{"a":7689,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7691,"t":"code","b":[208,34],"m":"bne","oa":7727,"o":"b_1E2F"},{"a":7693,"t":"code","b":[189,240,4],"m":"lda","oa":1264,"o":"enemy_spawn_timers,x"},{"a":7696,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7698,"t":"code","b":[208,27],"m":"bne","oa":7727,"o":"b_1E2F"},{"a":7700,"t":"code","b":[198,140],"m":"dec","oa":140,"o":"enemy_reserve"},{"a":7702,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":7704,"t":"code","b":[157,104,3],"m":"sta","oa":872,"o":"actor_y,x"},{"a":7707,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":7709,"t":"code","b":[157,96,3],"m":"sta","oa":864,"o":"actor_x,x"},{"a":7712,"t":"code","b":[32,224,31],"m":"jsr","oa":8160,"o":"advance_random_accumulator"},{"a":7715,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7717,"t":"code","b":[9,64],"m":"ora","o":"#$40"},{"a":7719,"t":"code","b":[157,240,4],"m":"sta","oa":1264,"o":"enemy_spawn_timers,x"},{"a":7722,"t":"code","b":[234],"m":"nop"},{"a":7723,"t":"code","b":[234],"m":"nop"},{"a":7724,"t":"code","b":[234],"m":"nop"},{"a":7725,"t":"code","b":[234],"m":"nop"},{"a":7726,"t":"code","b":[234],"m":"nop"},{"a":7727,"l":"b_1E2F","t":"code","b":[202],"m":"dex","x":[7691,7698]},{"a":7728,"t":"code","b":[208,212],"m":"bne","oa":7686,"o":"b_1E06"},{"a":7730,"l":"r_1E32","t":"code","b":[96],"m":"rts","x":[7682]},{"a":7731,"t":"gap","n":1},{"a":7732,"l":"check_enemy_clear","c":"Clears the round once its reserve and all five live and pending enemy slots are empty.","t":"code","b":[165,140],"m":"lda","oa":140,"o":"enemy_reserve","x":[9152]},{"a":7734,"t":"code","b":[208,22],"m":"bne","oa":7758,"o":"r_1E4E"},{"a":7736,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":7738,"l":"b_1E3A","t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x","x":[7753]},{"a":7741,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7743,"t":"code","b":[208,13],"m":"bne","oa":7758,"o":"r_1E4E"},{"a":7745,"t":"code","b":[189,240,4],"m":"lda","oa":1264,"o":"enemy_spawn_timers,x"},{"a":7748,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7750,"t":"code","b":[208,6],"m":"bne","oa":7758,"o":"r_1E4E"},{"a":7752,"t":"code","b":[202],"m":"dex"},{"a":7753,"t":"code","b":[208,239],"m":"bne","oa":7738,"o":"b_1E3A"},{"a":7755,"t":"code","b":[76,96,44],"m":"jmp","oa":11360,"o":"clear_round"},{"a":7758,"l":"r_1E4E","t":"code","b":[96],"m":"rts","x":[7734,7743,7750]},{"a":7759,"t":"gap","n":1},{"a":7760,"l":"check_player_hits","c":"Tests the player against moving fruit in slots 5 through 0 and then enemies in slots 5 through 1. A hit sets the death bit and loads a $C0 countdown.","t":"code","b":[162,5],"m":"ldx","o":"#$05","x":[9155]},{"a":7762,"l":"b_1E52","t":"code","b":[189,120,3],"m":"lda","oa":888,"o":"fruit_direction,x","x":[7811]},{"a":7765,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7767,"t":"code","b":[240,41],"m":"beq","oa":7810,"o":"b_1E82"},{"a":7769,"t":"code","b":[189,64,3],"m":"lda","oa":832,"o":"fruit_x,x"},{"a":7772,"t":"code","b":[56],"m":"sec"},{"a":7773,"t":"code","b":[237,96,3],"m":"sbc","oa":864,"o":"actor_x"},{"a":7776,"t":"code","b":[16,2],"m":"bpl","oa":7780,"o":"b_1E64"},{"a":7778,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7780,"l":"b_1E64","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[7776]},{"a":7782,"t":"code","b":[176,26],"m":"bcs","oa":7810,"o":"b_1E82"},{"a":7784,"t":"code","b":[189,72,3],"m":"lda","oa":840,"o":"fruit_y,x"},{"a":7787,"t":"code","b":[56],"m":"sec"},{"a":7788,"t":"code","b":[237,104,3],"m":"sbc","oa":872,"o":"actor_y"},{"a":7791,"t":"code","b":[16,2],"m":"bpl","oa":7795,"o":"b_1E73"},{"a":7793,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7795,"l":"b_1E73","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[7791]},{"a":7797,"t":"code","b":[176,11],"m":"bcs","oa":7810,"o":"b_1E82"},{"a":7799,"t":"code","b":[32,220,27],"m":"jsr","oa":7132,"o":"enter_death_state"},{"a":7802,"t":"code","b":[234],"m":"nop"},{"a":7803,"t":"code","b":[234],"m":"nop"},{"a":7804,"t":"code","b":[234],"m":"nop"},{"a":7805,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":7807,"t":"code","b":[133,144],"m":"sta","oa":144,"o":"end_sequence_ticks"},{"a":7809,"t":"code","b":[96],"m":"rts"},{"a":7810,"l":"b_1E82","t":"code","b":[202],"m":"dex","x":[7767,7782,7797]},{"a":7811,"t":"code","b":[16,205],"m":"bpl","oa":7762,"o":"b_1E52"},{"a":7813,"t":"code","b":[234],"m":"nop"},{"a":7814,"t":"code","b":[234],"m":"nop"},{"a":7815,"t":"code","b":[234],"m":"nop"},{"a":7816,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":7818,"l":"b_1E8A","t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x","x":[7867]},{"a":7821,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":7823,"t":"code","b":[240,41],"m":"beq","oa":7866,"o":"b_1EBA"},{"a":7825,"t":"code","b":[189,96,3],"m":"lda","oa":864,"o":"actor_x,x"},{"a":7828,"t":"code","b":[56],"m":"sec"},{"a":7829,"t":"code","b":[237,96,3],"m":"sbc","oa":864,"o":"actor_x"},{"a":7832,"t":"code","b":[16,2],"m":"bpl","oa":7836,"o":"b_1E9C"},{"a":7834,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7836,"l":"b_1E9C","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[7832]},{"a":7838,"t":"code","b":[176,26],"m":"bcs","oa":7866,"o":"b_1EBA"},{"a":7840,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":7843,"t":"code","b":[56],"m":"sec"},{"a":7844,"t":"code","b":[237,104,3],"m":"sbc","oa":872,"o":"actor_y"},{"a":7847,"t":"code","b":[16,2],"m":"bpl","oa":7851,"o":"b_1EAB"},{"a":7849,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":7851,"l":"b_1EAB","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[7847]},{"a":7853,"t":"code","b":[176,11],"m":"bcs","oa":7866,"o":"b_1EBA"},{"a":7855,"t":"code","b":[32,220,27],"m":"jsr","oa":7132,"o":"enter_death_state"},{"a":7858,"t":"code","b":[234],"m":"nop"},{"a":7859,"t":"code","b":[234],"m":"nop"},{"a":7860,"t":"code","b":[234],"m":"nop"},{"a":7861,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":7863,"t":"code","b":[133,144],"m":"sta","oa":144,"o":"end_sequence_ticks"},{"a":7865,"t":"code","b":[96],"m":"rts"},{"a":7866,"l":"b_1EBA","t":"code","b":[202],"m":"dex","x":[7823,7838,7853]},{"a":7867,"t":"code","b":[208,205],"m":"bne","oa":7818,"o":"b_1E8A"},{"a":7869,"t":"code","b":[234],"m":"nop"},{"a":7870,"t":"code","b":[234],"m":"nop"},{"a":7871,"t":"code","b":[234],"m":"nop"},{"a":7872,"t":"code","b":[96],"m":"rts"},{"a":7873,"t":"gap","n":63},{"a":7936,"l":"death_sequence","c":"Counts down the death pause and drives both TED voices from a pitch calculated from the countdown. At zero it takes a life and clears the death bit from the resulting state.","t":"code","b":[165,144],"m":"lda","oa":144,"o":"end_sequence_ticks","x":[8424]},{"a":7938,"t":"code","b":[208,12],"m":"bne","oa":7952,"o":"advance_death_effect"},{"a":7940,"t":"code","b":[32,80,31],"m":"jsr","oa":8016,"o":"take_life_and_restart"},{"a":7943,"t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state"},{"a":7945,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":7947,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"game_state"},{"a":7949,"t":"code","b":[96],"m":"rts"},{"a":7950,"t":"gap","n":2},{"a":7952,"l":"advance_death_effect","c":"Decrements the death countdown. Between $9F and $61 it programs both TED voices with a pitch derived from the timer.","t":"code","b":[198,144],"m":"dec","oa":144,"o":"end_sequence_ticks","x":[7938]},{"a":7954,"t":"code","b":[165,144],"m":"lda","oa":144,"o":"end_sequence_ticks"},{"a":7956,"t":"code","b":[201,191],"m":"cmp","o":"#$BF"},{"a":7958,"t":"code","b":[240,4],"m":"beq","oa":7964,"o":"b_1F1C"},{"a":7960,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":7962,"t":"code","b":[208,6],"m":"bne","oa":7970,"o":"b_1F22"},{"a":7964,"l":"b_1F1C","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[7958]},{"a":7966,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":7969,"l":"r_1F21","t":"code","b":[96],"m":"rts","x":[7970,7974]},{"a":7970,"l":"b_1F22","t":"code","b":[144,253],"m":"bcc","oa":7969,"o":"r_1F21","x":[7962]},{"a":7972,"t":"code","b":[201,160],"m":"cmp","o":"#$A0"},{"a":7974,"t":"code","b":[176,249],"m":"bcs","oa":7969,"o":"r_1F21"},{"a":7976,"t":"code","b":[56],"m":"sec"},{"a":7977,"t":"code","b":[233,96],"m":"sbc","o":"#$60"},{"a":7979,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7980,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":7982,"t":"code","b":[165,144],"m":"lda","oa":144,"o":"end_sequence_ticks"},{"a":7984,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":7986,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7987,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7988,"t":"code","b":[24],"m":"clc"},{"a":7989,"t":"code","b":[101,220],"m":"adc","oa":220,"o":"arithmetic_scratch"},{"a":7991,"t":"code","b":[141,14,255],"m":"sta","o":"ted_voice1_freq_lo"},{"a":7994,"t":"code","b":[141,15,255],"m":"sta","o":"ted_voice2_freq_lo"},{"a":7997,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":7999,"t":"code","b":[141,16,255],"m":"sta","o":"ted_voice2_freq_hi"},{"a":8002,"t":"code","b":[141,18,255],"m":"sta","o":"ted_bitmap_voice1_hi"},{"a":8005,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":8007,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":8010,"t":"code","b":[96],"m":"rts"},{"a":8011,"t":"gap","n":5},{"a":8016,"l":"take_life_and_restart","c":"Decrements the displayed life digit. A remaining life goes to the restart routine, while zero selects state 7 and gives the Game Over sequence its $C0 countdown.","t":"code","b":[206,182,13],"m":"dec","oa":3510,"o":"lives_digit","x":[7940]},{"a":8019,"t":"code","b":[173,182,13],"m":"lda","oa":3510,"o":"lives_digit"},{"a":8022,"t":"code","b":[201,28],"m":"cmp","o":"#$1C"},{"a":8024,"t":"code","b":[240,6],"m":"beq","oa":8032,"o":"start_game_over"},{"a":8026,"t":"code","b":[32,148,49],"m":"jsr","oa":12692,"o":"reset_actor_state"},{"a":8029,"t":"code","b":[96],"m":"rts"},{"a":8030,"t":"gap","n":2},{"a":8032,"l":"start_game_over","c":"Selects Game Over after the life digit reaches zero and loads its countdown.","t":"code","b":[169,7],"m":"lda","o":"#$07","x":[8024]},{"a":8034,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"game_state"},{"a":8036,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":8038,"t":"code","b":[133,144],"m":"sta","oa":144,"o":"end_sequence_ticks"},{"a":8040,"t":"code","b":[96],"m":"rts"},{"a":8041,"t":"gap","n":55},{"a":8096,"l":"animate_enemy_spawn","c":"Draws a solid 2-by-2 block at the spawn point and cycles its luminance from the frame counter. A pending spawn with fewer than 50 steps remaining changes the hue.","t":"code","b":[169,27],"m":"lda","o":"#$1B","x":[9149]},{"a":8098,"t":"code","b":[141,238,13],"m":"sta","oa":3566,"o":"a_0DEE"},{"a":8101,"t":"code","b":[141,239,13],"m":"sta","oa":3567,"o":"a_0DEF"},{"a":8104,"t":"code","b":[141,22,14],"m":"sta","oa":3606,"o":"a_0E16"},{"a":8107,"t":"code","b":[141,23,14],"m":"sta","oa":3607,"o":"a_0E17"},{"a":8110,"t":"code","b":[165,231],"m":"lda","oa":231,"o":"video_tick"},{"a":8112,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":8114,"t":"code","b":[10],"m":"asl","o":"a"},{"a":8115,"t":"code","b":[10],"m":"asl","o":"a"},{"a":8116,"t":"code","b":[10],"m":"asl","o":"a"},{"a":8117,"t":"code","b":[10],"m":"asl","o":"a"},{"a":8118,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":8120,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":8122,"l":"b_1FBA","t":"code","b":[189,240,4],"m":"lda","oa":1264,"o":"enemy_spawn_timers,x","x":[8134]},{"a":8125,"t":"code","b":[201,50],"m":"cmp","o":"#$32"},{"a":8127,"t":"code","b":[176,4],"m":"bcs","oa":8133,"o":"b_1FC5"},{"a":8129,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":8131,"t":"code","b":[208,5],"m":"bne","oa":8138,"o":"b_1FCA"},{"a":8133,"l":"b_1FC5","t":"code","b":[202],"m":"dex","x":[8127]},{"a":8134,"t":"code","b":[208,242],"m":"bne","oa":8122,"o":"b_1FBA"},{"a":8136,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":8138,"l":"b_1FCA","t":"code","b":[5,220],"m":"ora","oa":220,"o":"arithmetic_scratch","x":[8131]},{"a":8140,"t":"code","b":[141,238,9],"m":"sta","oa":2542,"o":"a_09EE"},{"a":8143,"t":"code","b":[141,239,9],"m":"sta","oa":2543,"o":"a_09EF"},{"a":8146,"t":"code","b":[141,22,10],"m":"sta","oa":2582,"o":"a_0A16"},{"a":8149,"t":"code","b":[141,23,10],"m":"sta","oa":2583,"o":"a_0A17"},{"a":8152,"t":"code","b":[96],"m":"rts"},{"a":8153,"t":"gap","n":7},{"a":8160,"l":"advance_random_accumulator","c":"Adds $B13579 with carry to the 24-bit state at $89-$8B. Returns the updated high byte in A for turn and spawn choices.","t":"code","b":[165,137],"m":"lda","oa":137,"o":"random_low","x":[7436,7557,7712]},{"a":8162,"t":"code","b":[24],"m":"clc"},{"a":8163,"t":"code","b":[105,121],"m":"adc","o":"#$79"},{"a":8165,"t":"code","b":[133,137],"m":"sta","oa":137,"o":"random_low"},{"a":8167,"t":"code","b":[165,138],"m":"lda","oa":138,"o":"random_middle"},{"a":8169,"t":"code","b":[105,53],"m":"adc","o":"#$35"},{"a":8171,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"random_middle"},{"a":8173,"t":"code","b":[165,139],"m":"lda","oa":139,"o":"random_high"},{"a":8175,"t":"code","b":[105,177],"m":"adc","o":"#$B1"},{"a":8177,"t":"code","b":[133,139],"m":"sta","oa":139,"o":"random_high"},{"a":8179,"t":"code","b":[96],"m":"rts"},{"a":8180,"t":"gap","n":12},{"a":8192,"l":"start_game_engine","c":"Configures TED's custom text screen and color registers. Installs the handler at $20A0 in the KERNAL IRQ vector, clears the board and HUD, and falls into the title setup.","t":"code","b":[120],"m":"sei","x":[5378]},{"a":8193,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":8195,"t":"code","b":[141,21,255],"m":"sta","o":"ted_background"},{"a":8198,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":8200,"t":"code","b":[141,22,255],"m":"sta","o":"ted_colour1"},{"a":8203,"t":"code","b":[169,53],"m":"lda","o":"#$35"},{"a":8205,"t":"code","b":[141,23,255],"m":"sta","o":"ted_colour2"},{"a":8208,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":8210,"t":"code","b":[141,18,255],"m":"sta","o":"ted_bitmap_voice1_hi"},{"a":8213,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":8215,"t":"code","b":[141,19,255],"m":"sta","o":"ted_charset"},{"a":8218,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":8220,"t":"code","b":[141,20,255],"m":"sta","o":"ted_screen"},{"a":8223,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":8225,"t":"code","b":[141,6,255],"m":"sta","o":"ted_control1"},{"a":8228,"t":"code","b":[169,152],"m":"lda","o":"#$98"},{"a":8230,"t":"code","b":[141,7,255],"m":"sta","o":"ted_control2"},{"a":8233,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":8235,"t":"code","b":[141,10,255],"m":"sta","o":"ted_irq_mask"},{"a":8238,"t":"code","b":[169,224],"m":"lda","o":"#$E0"},{"a":8240,"t":"code","b":[141,11,255],"m":"sta","o":"ted_raster_compare"},{"a":8243,"t":"code","b":[169,160],"m":"lda","o":"#$A0"},{"a":8245,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"kernal_irq_vector"},{"a":8248,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":8250,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"kernal_irq_vector_high"},{"a":8253,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":8255,"t":"code","b":[141,25,255],"m":"sta","o":"ted_border"},{"a":8258,"t":"code","b":[88],"m":"cli"},{"a":8259,"t":"code","b":[32,0,40],"m":"jsr","oa":10240,"o":"initialize_screen_and_panel"},{"a":8262,"t":"code","b":[32,0,41],"m":"jsr","oa":10496,"o":"reset_hud_digits"},{"a":8265,"t":"code","b":[234],"m":"nop"},{"a":8266,"l":"reset_title_counters","c":"Resets the tune counters, its wrap counter and the state selector before falling through to the idle loop.","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[6988]},{"a":8268,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"music_divider"},{"a":8270,"t":"code","b":[133,225],"m":"sta","oa":225,"o":"music_index"},{"a":8272,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":8274,"t":"code","b":[133,227],"m":"sta","oa":227,"o":"theme_pass"},{"a":8276,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":8278,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"game_state"},{"a":8280,"t":"code","b":[234],"m":"nop"},{"a":8281,"t":"code","b":[234],"m":"nop"},{"a":8282,"t":"code","b":[234],"m":"nop"},{"a":8283,"t":"code","b":[234],"m":"nop"},{"a":8284,"t":"code","b":[234],"m":"nop"},{"a":8285,"t":"code","b":[234],"m":"nop"},{"a":8286,"t":"code","b":[234],"m":"nop"},{"a":8287,"t":"code","b":[234],"m":"nop"},{"a":8288,"t":"code","b":[234],"m":"nop"},{"a":8289,"t":"code","b":[234],"m":"nop"},{"a":8290,"t":"code","b":[234],"m":"nop"},{"a":8291,"t":"code","b":[234],"m":"nop"},{"a":8292,"t":"code","b":[234],"m":"nop"},{"a":8293,"t":"code","b":[234],"m":"nop"},{"a":8294,"t":"code","b":[234],"m":"nop"},{"a":8295,"t":"code","b":[234],"m":"nop"},{"a":8296,"t":"code","b":[234],"m":"nop"},{"a":8297,"t":"code","b":[234],"m":"nop"},{"a":8298,"t":"code","b":[234],"m":"nop"},{"a":8299,"t":"code","b":[234],"m":"nop"},{"a":8300,"t":"code","b":[234],"m":"nop"},{"a":8301,"t":"code","b":[234],"m":"nop"},{"a":8302,"t":"code","b":[234],"m":"nop"},{"a":8303,"t":"code","b":[234],"m":"nop"},{"a":8304,"t":"code","b":[234],"m":"nop"},{"a":8305,"t":"code","b":[234],"m":"nop"},{"a":8306,"t":"code","b":[234],"m":"nop"},{"a":8307,"t":"code","b":[234],"m":"nop"},{"a":8308,"t":"code","b":[234],"m":"nop"},{"a":8309,"t":"code","b":[234],"m":"nop"},{"a":8310,"t":"code","b":[234],"m":"nop"},{"a":8311,"t":"code","b":[234],"m":"nop"},{"a":8312,"t":"code","b":[234],"m":"nop"},{"a":8313,"t":"code","b":[234],"m":"nop"},{"a":8314,"t":"code","b":[234],"m":"nop"},{"a":8315,"t":"code","b":[234],"m":"nop"},{"a":8316,"t":"code","b":[234],"m":"nop"},{"a":8317,"t":"code","b":[234],"m":"nop"},{"a":8318,"t":"code","b":[234],"m":"nop"},{"a":8319,"t":"code","b":[234],"m":"nop"},{"a":8320,"l":"wait_for_raster_interrupts","c":"Foreground loop reads TED's border register and jumps back. The raster interrupt advances the title, play, death and end-of-game states.","t":"code","b":[173,25,255],"m":"lda","o":"ted_border","x":[8323]},{"a":8323,"t":"code","b":[76,128,32],"m":"jmp","oa":8320,"o":"wait_for_raster_interrupts"},{"a":8326,"t":"gap","n":26},{"a":8352,"l":"game_raster_irq","c":"Checks and acknowledges TED's raster flag, programs line 200 for the next interrupt and increments the frame counter. Dispatches by the game state in $E2 and jumps to the KERNAL register-pop return at $FCC3.","t":"code","b":[173,9,255],"m":"lda","o":"ted_irq_flags"},{"a":8355,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":8357,"t":"code","b":[208,3],"m":"bne","oa":8362,"o":"b_20AA"},{"a":8359,"t":"code","b":[76,195,252],"m":"jmp","oa":64707,"o":"$FCC3"},{"a":8362,"l":"b_20AA","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[8357]},{"a":8364,"t":"code","b":[141,9,255],"m":"sta","o":"ted_irq_flags"},{"a":8367,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":8369,"t":"code","b":[141,10,255],"m":"sta","o":"ted_irq_mask"},{"a":8372,"t":"code","b":[120],"m":"sei"},{"a":8373,"t":"code","b":[230,231],"m":"inc","oa":231,"o":"video_tick"},{"a":8375,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":8377,"t":"code","b":[141,11,255],"m":"sta","o":"ted_raster_compare"},{"a":8380,"t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state"},{"a":8382,"t":"code","b":[208,6],"m":"bne","oa":8390,"o":"b_20C6"},{"a":8384,"t":"code","b":[32,0,34],"m":"jsr","oa":8704,"o":"title_and_attract_tick"},{"a":8387,"t":"code","b":[76,195,252],"m":"jmp","oa":64707,"o":"$FCC3"},{"a":8390,"l":"b_20C6","t":"code","b":[201,7],"m":"cmp","o":"#$07","x":[8382]},{"a":8392,"t":"code","b":[208,6],"m":"bne","oa":8400,"o":"b_20D0"},{"a":8394,"t":"code","b":[32,64,27],"m":"jsr","oa":6976,"o":"game_over_sequence"},{"a":8397,"t":"code","b":[76,195,252],"m":"jmp","oa":64707,"o":"$FCC3"},{"a":8400,"l":"b_20D0","t":"code","b":[201,128],"m":"cmp","o":"#$80","x":[8392]},{"a":8402,"t":"code","b":[176,20],"m":"bcs","oa":8424,"o":"run_death_from_irq"},{"a":8404,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":8406,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":8408,"t":"code","b":[208,6],"m":"bne","oa":8416,"o":"b_20E0"},{"a":8410,"t":"code","b":[32,0,35],"m":"jsr","oa":8960,"o":"enter_round_after_pause"},{"a":8413,"t":"code","b":[76,195,252],"m":"jmp","oa":64707,"o":"$FCC3"},{"a":8416,"l":"b_20E0","t":"code","b":[32,126,35],"m":"jsr","oa":9086,"o":"run_play_tick","x":[8408]},{"a":8419,"t":"code","b":[76,195,252],"m":"jmp","oa":64707,"o":"$FCC3"},{"a":8422,"t":"gap","n":2},{"a":8424,"l":"run_death_from_irq","c":"Dispatches states with bit 7 set to the death sequence, then returns through the KERNAL.","t":"code","b":[32,0,31],"m":"jsr","oa":7936,"o":"death_sequence","x":[8402]},{"a":8427,"t":"code","b":[76,195,252],"m":"jmp","oa":64707,"o":"$FCC3"},{"a":8430,"t":"gap","n":12},{"a":8442,"l":"rank_current_score","c":"Compares the five on-screen score digits against the next higher row of the table. Moves overtaken entries down and writes the current score in its new slot. Colors that slot from an eight-entry sequence indexed by the frame counter.","t":"code","b":[165,183],"m":"lda","oa":183,"o":"score_rank","x":[8488,9161]},{"a":8444,"t":"code","b":[133,184],"m":"sta","oa":184,"o":"score_rank_scan"},{"a":8446,"l":"b_20FE","t":"code","b":[165,183],"m":"lda","oa":183,"o":"score_rank","x":[8537]},{"a":8448,"l":"compare_score_for_promotion","c":"Uses the current rank to locate the row above it and compares the five digits from most to least significant. After any promotion it shifts the intervening scores down.","t":"code","b":[240,89],"m":"beq","oa":8539,"o":"b_215B","x":[5384]},{"a":8450,"t":"code","b":[24],"m":"clc"},{"a":8451,"t":"code","b":[105,15],"m":"adc","o":"#$0F"},{"a":8453,"t":"code","b":[170],"m":"tax"},{"a":8454,"t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x"},{"a":8457,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":8459,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":8462,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":8464,"t":"code","b":[160,34],"m":"ldy","o":"#$22"},{"a":8466,"l":"b_2112","t":"code","b":[185,40,12],"m":"lda","oa":3112,"o":"f_0C28,y","x":[8478]},{"a":8469,"t":"code","b":[209,216],"m":"cmp","oa":216,"o":"(screen_ptr_low),y"},{"a":8471,"t":"code","b":[144,66],"m":"bcc","oa":8539,"o":"b_215B"},{"a":8473,"t":"code","b":[208,7],"m":"bne","oa":8482,"o":"b_2122"},{"a":8475,"t":"code","b":[200],"m":"iny"},{"a":8476,"t":"code","b":[192,39],"m":"cpy","o":"#$27"},{"a":8478,"t":"code","b":[208,242],"m":"bne","oa":8466,"o":"b_2112"},{"a":8480,"t":"code","b":[240,57],"m":"beq","oa":8539,"o":"b_215B"},{"a":8482,"l":"b_2122","t":"code","b":[198,183],"m":"dec","oa":183,"o":"score_rank","x":[8473]},{"a":8484,"t":"code","b":[165,183],"m":"lda","oa":183,"o":"score_rank"},{"a":8486,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":8488,"t":"code","b":[240,208],"m":"beq","oa":8442,"o":"rank_current_score"},{"a":8490,"l":"b_212A","t":"code","b":[165,184],"m":"lda","oa":184,"o":"score_rank_scan","x":[8534]},{"a":8492,"t":"code","b":[24],"m":"clc"},{"a":8493,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":8495,"t":"code","b":[170],"m":"tax"},{"a":8496,"t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x"},{"a":8499,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":8501,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":8504,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":8506,"t":"code","b":[189,79,24],"m":"lda","oa":6223,"o":"previous_screen_row_low_base,x"},{"a":8509,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"second_ptr_low"},{"a":8511,"t":"code","b":[189,103,24],"m":"lda","oa":6247,"o":"previous_screen_row_high_base,x"},{"a":8514,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"second_ptr_high"},{"a":8516,"t":"code","b":[160,34],"m":"ldy","o":"#$22"},{"a":8518,"l":"b_2146","t":"code","b":[177,218],"m":"lda","oa":218,"o":"(second_ptr_low),y","x":[8525]},{"a":8520,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":8522,"t":"code","b":[200],"m":"iny"},{"a":8523,"t":"code","b":[192,39],"m":"cpy","o":"#$27"},{"a":8525,"t":"code","b":[208,247],"m":"bne","oa":8518,"o":"b_2146"},{"a":8527,"t":"code","b":[198,184],"m":"dec","oa":184,"o":"score_rank_scan"},{"a":8529,"t":"code","b":[165,184],"m":"lda","oa":184,"o":"score_rank_scan"},{"a":8531,"t":"code","b":[234],"m":"nop"},{"a":8532,"t":"code","b":[197,183],"m":"cmp","oa":183,"o":"score_rank"},{"a":8534,"t":"code","b":[208,210],"m":"bne","oa":8490,"o":"b_212A"},{"a":8536,"t":"code","b":[24],"m":"clc"},{"a":8537,"t":"code","b":[144,163],"m":"bcc","oa":8446,"o":"b_20FE"},{"a":8539,"l":"b_215B","t":"code","b":[165,183],"m":"lda","oa":183,"o":"score_rank","x":[8448,8471,8480]},{"a":8541,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":8543,"t":"code","b":[208,1],"m":"bne","oa":8546,"o":"b_2162"},{"a":8545,"t":"code","b":[96],"m":"rts"},{"a":8546,"l":"b_2162","t":"code","b":[162,16],"m":"ldx","o":"#$10","x":[8543]},{"a":8548,"l":"b_2164","t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x","x":[8574]},{"a":8551,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":8553,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":8556,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":8558,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":8560,"t":"code","b":[160,34],"m":"ldy","o":"#$22"},{"a":8562,"t":"code","b":[169,113],"m":"lda","o":"#$71"},{"a":8564,"l":"b_2174","t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y","x":[8569]},{"a":8566,"t":"code","b":[200],"m":"iny"},{"a":8567,"t":"code","b":[192,39],"m":"cpy","o":"#$27"},{"a":8569,"t":"code","b":[208,249],"m":"bne","oa":8564,"o":"b_2174"},{"a":8571,"t":"code","b":[232],"m":"inx"},{"a":8572,"t":"code","b":[224,24],"m":"cpx","o":"#$18"},{"a":8574,"t":"code","b":[208,228],"m":"bne","oa":8548,"o":"b_2164"},{"a":8576,"t":"code","b":[165,183],"m":"lda","oa":183,"o":"score_rank"},{"a":8578,"t":"code","b":[24],"m":"clc"},{"a":8579,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":8581,"t":"code","b":[170],"m":"tax"},{"a":8582,"t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x"},{"a":8585,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":8587,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":8590,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":8592,"t":"code","b":[160,34],"m":"ldy","o":"#$22"},{"a":8594,"l":"b_2192","t":"code","b":[185,40,12],"m":"lda","oa":3112,"o":"f_0C28,y","x":[8602]},{"a":8597,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":8599,"t":"code","b":[200],"m":"iny"},{"a":8600,"t":"code","b":[192,39],"m":"cpy","o":"#$27"},{"a":8602,"t":"code","b":[208,246],"m":"bne","oa":8594,"o":"b_2192"},{"a":8604,"t":"code","b":[165,183],"m":"lda","oa":183,"o":"score_rank"},{"a":8606,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":8608,"t":"code","b":[170],"m":"tax"},{"a":8609,"t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x"},{"a":8612,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":8614,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":8617,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":8619,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":8621,"t":"code","b":[160,34],"m":"ldy","o":"#$22"},{"a":8623,"t":"code","b":[165,231],"m":"lda","oa":231,"o":"video_tick"},{"a":8625,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":8627,"t":"code","b":[170],"m":"tax"},{"a":8628,"t":"code","b":[189,232,52],"m":"lda","oa":13544,"o":"high_score_flash_colors,x"},{"a":8631,"l":"b_21B7","t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y","x":[8636]},{"a":8633,"t":"code","b":[200],"m":"iny"},{"a":8634,"t":"code","b":[192,39],"m":"cpy","o":"#$27"},{"a":8636,"t":"code","b":[208,249],"m":"bne","oa":8631,"o":"b_21B7"},{"a":8638,"t":"code","b":[96],"m":"rts"},{"a":8639,"t":"gap","n":65},{"a":8704,"l":"title_and_attract_tick","c":"Advances the two-voice theme, showing six layouts on successive 32-note boundaries of alternate passes. Draws the title on the other pass and checks port 1 for fire. Fire starts the round transition and resets score-panel and difficulty state.","t":"code","b":[32,0,43],"m":"jsr","oa":11008,"o":"play_two_voice_theme","x":[5390,8384]},{"a":8707,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"music_divider"},{"a":8709,"t":"code","b":[208,45],"m":"bne","oa":8756,"o":"b_2234"},{"a":8711,"t":"code","b":[165,227],"m":"lda","oa":227,"o":"theme_pass"},{"a":8713,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":8715,"t":"code","b":[240,21],"m":"beq","oa":8738,"o":"b_2222"},{"a":8717,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_index"},{"a":8719,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":8721,"t":"code","b":[208,15],"m":"bne","oa":8738,"o":"b_2222"},{"a":8723,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_index"},{"a":8725,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":8726,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":8727,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":8728,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":8729,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":8730,"t":"code","b":[170],"m":"tax"},{"a":8731,"t":"code","b":[232],"m":"inx"},{"a":8732,"t":"code","b":[32,64,41],"m":"jsr","oa":10560,"o":"draw_layout"},{"a":8735,"t":"code","b":[24],"m":"clc"},{"a":8736,"t":"code","b":[144,18],"m":"bcc","oa":8756,"o":"b_2234"},{"a":8738,"l":"b_2222","t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_index","x":[8715,8721]},{"a":8740,"t":"code","b":[208,14],"m":"bne","oa":8756,"o":"b_2234"},{"a":8742,"t":"code","b":[165,227],"m":"lda","oa":227,"o":"theme_pass"},{"a":8744,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":8746,"t":"code","b":[208,8],"m":"bne","oa":8756,"o":"b_2234"},{"a":8748,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":8750,"t":"code","b":[32,64,41],"m":"jsr","oa":10560,"o":"draw_layout"},{"a":8753,"t":"code","b":[32,64,42],"m":"jsr","oa":10816,"o":"print_attract_text"},{"a":8756,"l":"b_2234","t":"code","b":[234],"m":"nop","x":[8709,8736,8740,8746]},{"a":8757,"t":"code","b":[234],"m":"nop"},{"a":8758,"t":"code","b":[234],"m":"nop"},{"a":8759,"t":"code","b":[234],"m":"nop"},{"a":8760,"t":"code","b":[234],"m":"nop"},{"a":8761,"t":"code","b":[234],"m":"nop"},{"a":8762,"t":"code","b":[234],"m":"nop"},{"a":8763,"t":"code","b":[234],"m":"nop"},{"a":8764,"t":"code","b":[234],"m":"nop"},{"a":8765,"t":"code","b":[234],"m":"nop"},{"a":8766,"t":"code","b":[234],"m":"nop"},{"a":8767,"t":"code","b":[234],"m":"nop"},{"a":8768,"t":"code","b":[32,0,49],"m":"jsr","oa":12544,"o":"scan_controls"},{"a":8771,"t":"code","b":[165,246],"m":"lda","oa":246,"o":"controller_bits"},{"a":8773,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":8775,"t":"code","b":[208,30],"m":"bne","oa":8807,"o":"r_2267"},{"a":8777,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":8779,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"round_intro_ticks"},{"a":8781,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":8783,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"game_state"},{"a":8785,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":8787,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"layout_index"},{"a":8789,"t":"code","b":[32,0,41],"m":"jsr","oa":10496,"o":"reset_hud_digits"},{"a":8792,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":8794,"t":"code","b":[133,181],"m":"sta","oa":181,"o":"clock_divider"},{"a":8796,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":8798,"t":"code","b":[133,182],"m":"sta","oa":182,"o":"difficulty_index"},{"a":8800,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":8802,"t":"code","b":[133,183],"m":"sta","oa":183,"o":"score_rank"},{"a":8804,"t":"code","b":[32,95,49],"m":"jsr","oa":12639,"o":"prepare_next_round"},{"a":8807,"l":"r_2267","t":"code","b":[96],"m":"rts","x":[8775]},{"a":8808,"t":"gap","n":152},{"a":8960,"l":"enter_round_after_pause","c":"Ticks the interlude until its delay reaches zero, then restores the saved 8-by-3 patch of screen codes and attributes and advances the state to active play.","t":"code","b":[165,230],"m":"lda","oa":230,"o":"round_intro_ticks","x":[5396,8410]},{"a":8962,"t":"code","b":[240,4],"m":"beq","oa":8968,"o":"b_2308"},{"a":8964,"t":"code","b":[32,208,35],"m":"jsr","oa":9168,"o":"play_clear_interlude"},{"a":8967,"t":"code","b":[96],"m":"rts"},{"a":8968,"l":"b_2308","t":"code","b":[162,7],"m":"ldx","o":"#$07","x":[8962]},{"a":8970,"l":"b_230A","t":"code","b":[189,192,4],"m":"lda","oa":1216,"o":"intro_screen_backup,x","x":[9007]},{"a":8973,"t":"code","b":[157,36,13],"m":"sta","oa":3364,"o":"f_0D24,x"},{"a":8976,"t":"code","b":[189,200,4],"m":"lda","oa":1224,"o":"f_04C8,x"},{"a":8979,"t":"code","b":[157,76,13],"m":"sta","oa":3404,"o":"f_0D4C,x"},{"a":8982,"t":"code","b":[189,208,4],"m":"lda","oa":1232,"o":"f_04D0,x"},{"a":8985,"t":"code","b":[157,116,13],"m":"sta","oa":3444,"o":"f_0D74,x"},{"a":8988,"t":"code","b":[189,216,4],"m":"lda","oa":1240,"o":"intro_color_backup,x"},{"a":8991,"t":"code","b":[157,36,9],"m":"sta","oa":2340,"o":"f_0924,x"},{"a":8994,"t":"code","b":[189,224,4],"m":"lda","oa":1248,"o":"f_04E0,x"},{"a":8997,"t":"code","b":[157,76,9],"m":"sta","oa":2380,"o":"f_094C,x"},{"a":9000,"t":"code","b":[189,232,4],"m":"lda","oa":1256,"o":"f_04E8,x"},{"a":9003,"t":"code","b":[157,116,9],"m":"sta","oa":2420,"o":"f_0974,x"},{"a":9006,"t":"code","b":[202],"m":"dex"},{"a":9007,"t":"code","b":[16,217],"m":"bpl","oa":8970,"o":"b_230A"},{"a":9009,"t":"code","b":[230,226],"m":"inc","oa":226,"o":"game_state"},{"a":9011,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":9013,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"music_divider"},{"a":9015,"t":"code","b":[133,225],"m":"sta","oa":225,"o":"music_index"},{"a":9017,"t":"code","b":[96],"m":"rts"},{"a":9018,"l":"save_round_interlude_panel","c":"Copies an 8-by-3 patch of the orchard and its attributes into page four. Replaces it with the small round message using the screen codes at $3EEC.","t":"code","b":[162,7],"m":"ldx","o":"#$07","x":[12658]},{"a":9020,"l":"b_233C","t":"code","b":[189,36,13],"m":"lda","oa":3364,"o":"f_0D24,x","x":[9082]},{"a":9023,"t":"code","b":[157,192,4],"m":"sta","oa":1216,"o":"intro_screen_backup,x"},{"a":9026,"t":"code","b":[189,76,13],"m":"lda","oa":3404,"o":"f_0D4C,x"},{"a":9029,"t":"code","b":[157,200,4],"m":"sta","oa":1224,"o":"f_04C8,x"},{"a":9032,"t":"code","b":[189,116,13],"m":"lda","oa":3444,"o":"f_0D74,x"},{"a":9035,"t":"code","b":[157,208,4],"m":"sta","oa":1232,"o":"f_04D0,x"},{"a":9038,"t":"code","b":[189,36,9],"m":"lda","oa":2340,"o":"f_0924,x"},{"a":9041,"t":"code","b":[157,216,4],"m":"sta","oa":1240,"o":"intro_color_backup,x"},{"a":9044,"t":"code","b":[189,76,9],"m":"lda","oa":2380,"o":"f_094C,x"},{"a":9047,"t":"code","b":[157,224,4],"m":"sta","oa":1248,"o":"f_04E0,x"},{"a":9050,"t":"code","b":[189,116,9],"m":"lda","oa":2420,"o":"f_0974,x"},{"a":9053,"t":"code","b":[157,232,4],"m":"sta","oa":1256,"o":"f_04E8,x"},{"a":9056,"t":"code","b":[169,113],"m":"lda","o":"#$71"},{"a":9058,"t":"code","b":[157,36,9],"m":"sta","oa":2340,"o":"f_0924,x"},{"a":9061,"t":"code","b":[157,76,9],"m":"sta","oa":2380,"o":"f_094C,x"},{"a":9064,"t":"code","b":[157,116,9],"m":"sta","oa":2420,"o":"f_0974,x"},{"a":9067,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9069,"t":"code","b":[157,36,13],"m":"sta","oa":3364,"o":"f_0D24,x"},{"a":9072,"t":"code","b":[157,116,13],"m":"sta","oa":3444,"o":"f_0D74,x"},{"a":9075,"t":"code","b":[189,236,62],"m":"lda","oa":16108,"o":"ready_banner,x"},{"a":9078,"t":"code","b":[157,76,13],"m":"sta","oa":3404,"o":"f_0D4C,x"},{"a":9081,"t":"code","b":[202],"m":"dex"},{"a":9082,"t":"code","b":[16,192],"m":"bpl","oa":9020,"o":"b_233C"},{"a":9084,"t":"code","b":[96],"m":"rts"},{"a":9085,"t":"gap","n":1},{"a":9086,"l":"run_play_tick","c":"Orders the play update from music and control through fruit, enemies, drawing, clear and death tests. Updates the time display and compares the live score with the high-score table at the end.","t":"code","b":[32,128,23],"m":"jsr","oa":6016,"o":"play_one_voice_and_read_shift","x":[8416]},{"a":9089,"t":"code","b":[234],"m":"nop"},{"a":9090,"t":"code","b":[234],"m":"nop"},{"a":9091,"t":"code","b":[234],"m":"nop"},{"a":9092,"t":"code","b":[32,160,48],"m":"jsr","oa":12448,"o":"erase_previous_actor_cells"},{"a":9095,"t":"code","b":[32,128,51],"m":"jsr","oa":13184,"o":"move_fruit"},{"a":9098,"t":"code","b":[32,44,46],"m":"jsr","oa":11820,"o":"update_player_direction"},{"a":9101,"t":"code","b":[32,128,46],"m":"jsr","oa":11904,"o":"step_player_position"},{"a":9104,"t":"code","b":[32,48,47],"m":"jsr","oa":12080,"o":"dig_under_player"},{"a":9107,"t":"code","b":[32,240,43],"m":"jsr","oa":11248,"o":"check_player_tile_alignment"},{"a":9110,"t":"code","b":[32,179,44],"m":"jsr","oa":11443,"o":"try_push_or_crush_fruit"},{"a":9113,"t":"code","b":[32,0,36],"m":"jsr","oa":9216,"o":"settle_sliding_fruit"},{"a":9116,"t":"code","b":[32,191,50],"m":"jsr","oa":12991,"o":"check_bad_apple_gravity"},{"a":9119,"t":"code","b":[32,112,36],"m":"jsr","oa":9328,"o":"animate_crushed_cherry"},{"a":9122,"t":"code","b":[32,0,39],"m":"jsr","oa":9984,"o":"launch_ball"},{"a":9125,"t":"code","b":[32,64,39],"m":"jsr","oa":10048,"o":"move_and_draw_ball"},{"a":9128,"t":"code","b":[32,96,37],"m":"jsr","oa":9568,"o":"tick_effect_unless_held"},{"a":9131,"t":"code","b":[32,0,28],"m":"jsr","oa":7168,"o":"step_acid_apples"},{"a":9134,"t":"code","b":[32,48,29],"m":"jsr","oa":7472,"o":"hit_enemies_with_ball_or_fruit"},{"a":9137,"t":"code","b":[32,0,30],"m":"jsr","oa":7680,"o":"queue_acid_apples"},{"a":9140,"t":"code","b":[32,0,48],"m":"jsr","oa":12288,"o":"queue_actor_cells"},{"a":9143,"t":"code","b":[32,0,50],"m":"jsr","oa":12800,"o":"queue_moving_fruit_cells"},{"a":9146,"t":"code","b":[32,192,48],"m":"jsr","oa":12480,"o":"flush_actor_cells"},{"a":9149,"t":"code","b":[32,160,31],"m":"jsr","oa":8096,"o":"animate_enemy_spawn"},{"a":9152,"t":"code","b":[32,52,30],"m":"jsr","oa":7732,"o":"check_enemy_clear"},{"a":9155,"t":"code","b":[32,80,30],"m":"jsr","oa":7760,"o":"check_player_hits"},{"a":9158,"t":"code","b":[32,56,26],"m":"jsr","oa":6712,"o":"advance_elapsed_clock"},{"a":9161,"t":"code","b":[32,250,32],"m":"jsr","oa":8442,"o":"rank_current_score"},{"a":9164,"t":"code","b":[96],"m":"rts"},{"a":9165,"t":"gap","n":3},{"a":9168,"l":"play_clear_interlude","c":"Decrements the interlude delay. Its upper range selects a pair of pitches from $3EC8 and $3ED4, and reaching $80 starts the round setup.","t":"code","b":[198,230],"m":"dec","oa":230,"o":"round_intro_ticks","x":[8964]},{"a":9170,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"round_intro_ticks"},{"a":9172,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":9174,"t":"code","b":[208,4],"m":"bne","oa":9180,"o":"b_23DC"},{"a":9176,"t":"code","b":[32,95,49],"m":"jsr","oa":12639,"o":"prepare_next_round"},{"a":9179,"l":"r_23DB","t":"code","b":[96],"m":"rts","x":[9180]},{"a":9180,"l":"b_23DC","t":"code","b":[144,253],"m":"bcc","oa":9179,"o":"r_23DB","x":[9174]},{"a":9182,"t":"code","b":[56],"m":"sec"},{"a":9183,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":9185,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9186,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9187,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9188,"t":"code","b":[170],"m":"tax"},{"a":9189,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":9191,"t":"code","b":[141,16,255],"m":"sta","o":"ted_voice2_freq_hi"},{"a":9194,"t":"code","b":[141,18,255],"m":"sta","o":"ted_bitmap_voice1_hi"},{"a":9197,"t":"code","b":[189,200,62],"m":"lda","oa":16072,"o":"clear_voice_two,x"},{"a":9200,"t":"code","b":[141,15,255],"m":"sta","o":"ted_voice2_freq_lo"},{"a":9203,"t":"code","b":[189,212,62],"m":"lda","oa":16084,"o":"clear_voice_one,x"},{"a":9206,"t":"code","b":[141,14,255],"m":"sta","o":"ted_voice1_freq_lo"},{"a":9209,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":9211,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":9214,"t":"code","b":[96],"m":"rts"},{"a":9215,"t":"gap","n":1},{"a":9216,"l":"settle_sliding_fruit","c":"At tile alignment, looks one cell ahead of moving fruit slot 7. A nonempty cell stops the slide and puts the fruit back onto the board at its current position.","t":"code","b":[173,71,3],"m":"lda","oa":839,"o":"sliding_fruit_x","x":[9113]},{"a":9219,"t":"code","b":[13,79,3],"m":"ora","oa":847,"o":"sliding_fruit_y"},{"a":9222,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":9224,"t":"code","b":[208,88],"m":"bne","oa":9314,"o":"r_2462"},{"a":9226,"t":"code","b":[173,127,3],"m":"lda","oa":895,"o":"sliding_fruit_direction"},{"a":9229,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":9231,"t":"code","b":[240,81],"m":"beq","oa":9314,"o":"r_2462"},{"a":9233,"t":"code","b":[173,71,3],"m":"lda","oa":839,"o":"sliding_fruit_x"},{"a":9236,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9237,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9238,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9239,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":9241,"t":"code","b":[24],"m":"clc"},{"a":9242,"t":"code","b":[109,87,3],"m":"adc","oa":855,"o":"sliding_fruit_dx"},{"a":9245,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"next_tile_x"},{"a":9247,"t":"code","b":[173,79,3],"m":"lda","oa":847,"o":"sliding_fruit_y"},{"a":9250,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9251,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9252,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9253,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":9255,"t":"code","b":[24],"m":"clc"},{"a":9256,"t":"code","b":[109,95,3],"m":"adc","oa":863,"o":"sliding_fruit_dy"},{"a":9259,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"next_tile_y"},{"a":9261,"t":"code","b":[166,96],"m":"ldx","oa":96,"o":"next_tile_x"},{"a":9263,"t":"code","b":[164,97],"m":"ldy","oa":97,"o":"next_tile_y"},{"a":9265,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":9268,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":9270,"t":"code","b":[240,42],"m":"beq","oa":9314,"o":"r_2462"},{"a":9272,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":9274,"t":"code","b":[141,127,3],"m":"sta","oa":895,"o":"sliding_fruit_direction"},{"a":9277,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9279,"t":"code","b":[141,87,3],"m":"sta","oa":855,"o":"sliding_fruit_dx"},{"a":9282,"t":"code","b":[141,95,3],"m":"sta","oa":863,"o":"sliding_fruit_dy"},{"a":9285,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":9287,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":9289,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"sliding_glyph_bias"},{"a":9291,"t":"code","b":[208,4],"m":"bne","oa":9297,"o":"b_2451"},{"a":9293,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":9295,"t":"code","b":[208,2],"m":"bne","oa":9299,"o":"b_2453"},{"a":9297,"l":"b_2451","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[9291]},{"a":9299,"l":"b_2453","t":"code","b":[32,176,47],"m":"jsr","oa":12208,"o":"write_tile","x":[9295]},{"a":9302,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"sliding_glyph_bias"},{"a":9304,"t":"code","b":[208,4],"m":"bne","oa":9310,"o":"b_245E"},{"a":9306,"t":"code","b":[32,99,36],"m":"jsr","oa":9315,"o":"finish_bad_apple_slide"},{"a":9309,"t":"code","b":[96],"m":"rts"},{"a":9310,"l":"b_245E","t":"code","b":[32,106,36],"m":"jsr","oa":9322,"o":"finish_cherry_slide","x":[9304]},{"a":9313,"t":"code","b":[96],"m":"rts"},{"a":9314,"l":"r_2462","t":"code","b":[96],"m":"rts","x":[9224,9231,9270]},{"a":9315,"l":"finish_bad_apple_slide","c":"Redraws a settled Bad Apple with the four glyphs starting at $40, then plays the low form of the short tone.","t":"code","b":[32,172,51],"m":"jsr","oa":13228,"o":"draw_bad_apple","x":[9306]},{"a":9318,"l":"b_2466","t":"code","b":[32,248,37],"m":"jsr","oa":9720,"o":"play_low_short_effect","x":[9326]},{"a":9321,"t":"code","b":[96],"m":"rts"},{"a":9322,"l":"finish_cherry_slide","c":"Redraws a settled cherry with the four glyphs starting at $68, then plays the low form of the short tone.","t":"code","b":[32,176,51],"m":"jsr","oa":13232,"o":"draw_cherry_block","x":[9310]},{"a":9325,"t":"code","b":[24],"m":"clc"},{"a":9326,"t":"code","b":[144,246],"m":"bcc","oa":9318,"o":"b_2466"},{"a":9328,"l":"animate_crushed_cherry","c":"Counts down the cherry crush. Changes the four character cells to the next crush frame on selected ticks, then clears the logical tile and the displayed cells when the count expires.","t":"code","b":[165,101],"m":"lda","oa":101,"o":"crush_ticks","x":[9119]},{"a":9330,"t":"code","b":[208,1],"m":"bne","oa":9333,"o":"b_2475"},{"a":9332,"t":"code","b":[96],"m":"rts"},{"a":9333,"l":"b_2475","t":"code","b":[198,101],"m":"dec","oa":101,"o":"crush_ticks","x":[9330]},{"a":9335,"t":"code","b":[208,28],"m":"bne","oa":9365,"o":"b_2495"},{"a":9337,"t":"code","b":[166,104],"m":"ldx","oa":104,"o":"crush_column"},{"a":9339,"t":"code","b":[164,105],"m":"ldy","oa":105,"o":"crush_row"},{"a":9341,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9343,"t":"code","b":[32,176,47],"m":"jsr","oa":12208,"o":"write_tile"},{"a":9346,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":9348,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9350,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9352,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":9354,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9356,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":9358,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9360,"t":"code","b":[160,41],"m":"ldy","o":"#$29"},{"a":9362,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9364,"t":"code","b":[96],"m":"rts"},{"a":9365,"l":"b_2495","t":"code","b":[165,101],"m":"lda","oa":101,"o":"crush_ticks","x":[9335]},{"a":9367,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":9369,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":9371,"t":"code","b":[240,1],"m":"beq","oa":9374,"o":"b_249E"},{"a":9373,"t":"code","b":[96],"m":"rts"},{"a":9374,"l":"b_249E","t":"code","b":[165,101],"m":"lda","oa":101,"o":"crush_ticks","x":[9371]},{"a":9376,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":9377,"t":"code","b":[234],"m":"nop"},{"a":9378,"t":"code","b":[41,12],"m":"and","o":"#$0C"},{"a":9380,"t":"code","b":[73,12],"m":"eor","o":"#$0C"},{"a":9382,"t":"code","b":[24],"m":"clc"},{"a":9383,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":9385,"t":"code","b":[170],"m":"tax"},{"a":9386,"t":"code","b":[138],"m":"txa"},{"a":9387,"t":"code","b":[232],"m":"inx"},{"a":9388,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":9390,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9392,"t":"code","b":[138],"m":"txa"},{"a":9393,"t":"code","b":[232],"m":"inx"},{"a":9394,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":9396,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9398,"t":"code","b":[138],"m":"txa"},{"a":9399,"t":"code","b":[232],"m":"inx"},{"a":9400,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":9402,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9404,"t":"code","b":[138],"m":"txa"},{"a":9405,"t":"code","b":[232],"m":"inx"},{"a":9406,"t":"code","b":[160,41],"m":"ldy","o":"#$29"},{"a":9408,"t":"code","b":[145,102],"m":"sta","oa":102,"o":"(crush_screen_low),y"},{"a":9410,"t":"code","b":[96],"m":"rts"},{"a":9411,"t":"gap","n":61},{"a":9472,"l":"paint_tunnel_attributes","c":"Writes one attribute to the four cells at the current screen pointer. Uses the block-mode color in state 6 and the normal tunnel color otherwise, then switches the pointer back to screen codes.","t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state","x":[13296]},{"a":9474,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":9476,"t":"code","b":[208,4],"m":"bne","oa":9482,"o":"b_250A"},{"a":9478,"t":"code","b":[169,90],"m":"lda","o":"#$5A"},{"a":9480,"t":"code","b":[208,2],"m":"bne","oa":9484,"o":"b_250C"},{"a":9482,"l":"b_250A","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[9476]},{"a":9484,"l":"b_250C","t":"code","b":[234],"m":"nop","x":[9480]},{"a":9485,"t":"code","b":[234],"m":"nop"},{"a":9486,"t":"code","b":[234],"m":"nop"},{"a":9487,"t":"code","b":[234],"m":"nop"},{"a":9488,"t":"code","b":[234],"m":"nop"},{"a":9489,"t":"code","b":[234],"m":"nop"},{"a":9490,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":9492,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":9494,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":9496,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":9498,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":9500,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":9502,"t":"code","b":[160,41],"m":"ldy","o":"#$29"},{"a":9504,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":9506,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":9508,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":9510,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":9512,"t":"code","b":[96],"m":"rts"},{"a":9513,"t":"gap","n":7},{"a":9520,"l":"dig_or_collect_tile","c":"Reads the logical tile at X,Y. Leaves an apple alone and scores and sounds a cherry before clearing its tile. Other values fall through to the clear.","t":"code","b":[138],"m":"txa","x":[12102,12131,12142]},{"a":9521,"t":"code","b":[72],"m":"pha"},{"a":9522,"t":"code","b":[152],"m":"tya"},{"a":9523,"t":"code","b":[72],"m":"pha"},{"a":9524,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":9527,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":9529,"t":"code","b":[240,14],"m":"beq","oa":9545,"o":"b_2549"},{"a":9531,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":9533,"t":"code","b":[240,15],"m":"beq","oa":9550,"o":"b_254E"},{"a":9535,"l":"b_253F","t":"code","b":[104],"m":"pla","x":[9565]},{"a":9536,"t":"code","b":[168],"m":"tay"},{"a":9537,"t":"code","b":[104],"m":"pla"},{"a":9538,"t":"code","b":[170],"m":"tax"},{"a":9539,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9541,"t":"code","b":[32,176,47],"m":"jsr","oa":12208,"o":"write_tile"},{"a":9544,"t":"code","b":[96],"m":"rts"},{"a":9545,"l":"b_2549","t":"code","b":[104],"m":"pla","x":[9529]},{"a":9546,"t":"code","b":[168],"m":"tay"},{"a":9547,"t":"code","b":[104],"m":"pla"},{"a":9548,"t":"code","b":[170],"m":"tax"},{"a":9549,"t":"code","b":[96],"m":"rts"},{"a":9550,"l":"b_254E","t":"code","b":[32,0,27],"m":"jsr","oa":6912,"o":"award_cherry","x":[9533]},{"a":9553,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":9555,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":9557,"t":"code","b":[169,236],"m":"lda","o":"#$EC"},{"a":9559,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"effect_pitch_delta"},{"a":9561,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":9563,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":9565,"t":"code","b":[208,224],"m":"bne","oa":9535,"o":"b_253F"},{"a":9567,"t":"gap","n":1},{"a":9568,"l":"tick_effect_unless_held","c":"Consumes a pending one-tick sound hold before advancing the effect generator.","t":"code","b":[165,134],"m":"lda","oa":134,"o":"effect_hold","x":[9128]},{"a":9570,"t":"code","b":[240,3],"m":"beq","oa":9575,"o":"b_2567"},{"a":9572,"t":"code","b":[198,134],"m":"dec","oa":134,"o":"effect_hold"},{"a":9574,"t":"code","b":[96],"m":"rts"},{"a":9575,"l":"b_2567","t":"code","b":[32,160,37],"m":"jsr","oa":9632,"o":"advance_effect_voice","x":[9570]},{"a":9578,"t":"code","b":[96],"m":"rts"},{"a":9579,"t":"gap","n":5},{"a":9584,"l":"erase_previous_ball_cell","c":"Writes $71 to the attribute at the ball's new cell. Once the ball has left the player's logical tile, returning to that tile clears its attribute and active state.","t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high","x":[10233]},{"a":9586,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":9588,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":9590,"t":"code","b":[169,113],"m":"lda","o":"#$71"},{"a":9592,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":9594,"t":"code","b":[234],"m":"nop"},{"a":9595,"t":"code","b":[234],"m":"nop"},{"a":9596,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":9598,"t":"code","b":[77,96,3],"m":"eor","oa":864,"o":"actor_x"},{"a":9601,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":9603,"t":"code","b":[208,20],"m":"bne","oa":9625,"o":"b_2599"},{"a":9605,"t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y"},{"a":9607,"t":"code","b":[77,104,3],"m":"eor","oa":872,"o":"actor_y"},{"a":9610,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":9612,"t":"code","b":[208,11],"m":"bne","oa":9625,"o":"b_2599"},{"a":9614,"t":"code","b":[165,113],"m":"lda","oa":113,"o":"ball_left_player_tile"},{"a":9616,"t":"code","b":[240,6],"m":"beq","oa":9624,"o":"r_2598"},{"a":9618,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9620,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":9622,"t":"code","b":[133,108],"m":"sta","oa":108,"o":"ball_state"},{"a":9624,"l":"r_2598","t":"code","b":[96],"m":"rts","x":[9616]},{"a":9625,"l":"b_2599","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[9603,9612]},{"a":9627,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"ball_left_player_tile"},{"a":9629,"t":"code","b":[96],"m":"rts"},{"a":9630,"t":"gap","n":2},{"a":9632,"l":"advance_effect_voice","c":"If a duration remains, adds the pitch increment to the pitch accumulator and sends it to TED voice 2, then decrements the duration. At zero gates voice 2 off while preserving the other control bits.","t":"code","b":[165,133],"m":"lda","oa":133,"o":"effect_ticks","x":[9575]},{"a":9634,"t":"code","b":[208,9],"m":"bne","oa":9645,"o":"b_25AD"},{"a":9636,"t":"code","b":[173,17,255],"m":"lda","o":"ted_sound"},{"a":9639,"t":"code","b":[41,223],"m":"and","o":"#$DF"},{"a":9641,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":9644,"t":"code","b":[96],"m":"rts"},{"a":9645,"l":"b_25AD","t":"code","b":[165,131],"m":"lda","oa":131,"o":"effect_pitch","x":[9634]},{"a":9647,"t":"code","b":[24],"m":"clc"},{"a":9648,"t":"code","b":[101,132],"m":"adc","oa":132,"o":"effect_pitch_delta"},{"a":9650,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":9652,"t":"code","b":[141,15,255],"m":"sta","o":"ted_voice2_freq_lo"},{"a":9655,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":9657,"t":"code","b":[141,16,255],"m":"sta","o":"ted_voice2_freq_hi"},{"a":9660,"t":"code","b":[173,17,255],"m":"lda","o":"ted_sound"},{"a":9663,"t":"code","b":[9,32],"m":"ora","o":"#$20"},{"a":9665,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":9668,"t":"code","b":[198,133],"m":"dec","oa":133,"o":"effect_ticks"},{"a":9670,"t":"code","b":[96],"m":"rts"},{"a":9671,"t":"gap","n":1},{"a":9672,"l":"start_movement_effect","c":"Clears a logical tile with the value in A and seeds a descending pitch for voice 2.","t":"code","b":[32,176,47],"m":"jsr","oa":12208,"o":"write_tile","x":[11433]},{"a":9675,"t":"code","b":[169,208],"m":"lda","o":"#$D0"},{"a":9677,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":9679,"t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":9681,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"effect_pitch_delta"},{"a":9683,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":9685,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":9687,"t":"code","b":[96],"m":"rts"},{"a":9688,"l":"settle_apple_and_end_effect","c":"Runs the moving-fruit hook and zeros the effect duration.","t":"code","b":[32,44,51],"m":"jsr","oa":13100,"o":"settle_falling_apple","x":[13088]},{"a":9691,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9693,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":9695,"t":"code","b":[96],"m":"rts"},{"a":9696,"l":"play_high_short_effect","c":"Programs voice 2 with low byte $F0 and high bits 3, enables it and gives it a one-tick hold. The entry at $25F8 uses high bits 0 instead.","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[10106,10136,10176]},{"a":9698,"t":"code","b":[141,16,255],"m":"sta","o":"ted_voice2_freq_hi"},{"a":9701,"l":"b_25E5","t":"code","b":[169,240],"m":"lda","o":"#$F0","x":[9726]},{"a":9703,"t":"code","b":[141,15,255],"m":"sta","o":"ted_voice2_freq_lo"},{"a":9706,"t":"code","b":[173,17,255],"m":"lda","o":"ted_sound"},{"a":9709,"t":"code","b":[9,32],"m":"ora","o":"#$20"},{"a":9711,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":9714,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":9716,"t":"code","b":[133,134],"m":"sta","oa":134,"o":"effect_hold"},{"a":9718,"t":"code","b":[96],"m":"rts"},{"a":9719,"t":"gap","n":1},{"a":9720,"l":"play_low_short_effect","c":"Sets voice 2's high bits to 0 and branches into the common one-tick tone at $25E5.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[9318]},{"a":9722,"t":"code","b":[141,16,255],"m":"sta","o":"ted_voice2_freq_hi"},{"a":9725,"t":"code","b":[24],"m":"clc"},{"a":9726,"t":"code","b":[144,229],"m":"bcc","oa":9701,"o":"b_25E5"},{"a":9728,"l":"choose_player_direction","c":"Converts the direction bit mask in A to one direction index. Priority is down, up, right, left. Returns $FF if no direction bit is set.","t":"code","b":[234],"m":"nop","x":[9780,11868,11881]},{"a":9729,"t":"code","b":[234],"m":"nop"},{"a":9730,"t":"code","b":[234],"m":"nop"},{"a":9731,"t":"code","b":[72],"m":"pha"},{"a":9732,"t":"code","b":[234],"m":"nop"},{"a":9733,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":9735,"t":"code","b":[240,4],"m":"beq","oa":9741,"o":"b_260D"},{"a":9737,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":9739,"t":"code","b":[208,29],"m":"bne","oa":9770,"o":"b_262A"},{"a":9741,"l":"b_260D","t":"code","b":[104],"m":"pla","x":[9735]},{"a":9742,"t":"code","b":[72],"m":"pha"},{"a":9743,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":9745,"t":"code","b":[240,4],"m":"beq","oa":9751,"o":"b_2617"},{"a":9747,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":9749,"t":"code","b":[208,19],"m":"bne","oa":9770,"o":"b_262A"},{"a":9751,"l":"b_2617","t":"code","b":[104],"m":"pla","x":[9745]},{"a":9752,"t":"code","b":[72],"m":"pha"},{"a":9753,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":9755,"t":"code","b":[240,4],"m":"beq","oa":9761,"o":"b_2621"},{"a":9757,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":9759,"t":"code","b":[208,9],"m":"bne","oa":9770,"o":"b_262A"},{"a":9761,"l":"b_2621","t":"code","b":[104],"m":"pla","x":[9755]},{"a":9762,"t":"code","b":[72],"m":"pha"},{"a":9763,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":9765,"t":"code","b":[240,7],"m":"beq","oa":9774,"o":"b_262E"},{"a":9767,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9769,"t":"code","b":[234],"m":"nop"},{"a":9770,"l":"b_262A","t":"code","b":[170],"m":"tax","x":[9739,9749,9759]},{"a":9771,"t":"code","b":[104],"m":"pla"},{"a":9772,"t":"code","b":[138],"m":"txa"},{"a":9773,"t":"code","b":[96],"m":"rts"},{"a":9774,"l":"b_262E","t":"code","b":[104],"m":"pla","x":[9765]},{"a":9775,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":9777,"t":"code","b":[96],"m":"rts"},{"a":9778,"t":"gap","n":2},{"a":9780,"l":"set_player_direction","c":"Stores the decoded direction in actor slot 0. Copies the push flag in $ED into the direction's high bit when that flag is set.","t":"code","b":[32,0,38],"m":"jsr","oa":9728,"o":"choose_player_direction","x":[11851]},{"a":9783,"t":"code","b":[141,112,3],"m":"sta","oa":880,"o":"actor_direction"},{"a":9786,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"direction_flag"},{"a":9788,"t":"code","b":[240,8],"m":"beq","oa":9798,"o":"r_2646"},{"a":9790,"t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction"},{"a":9793,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":9795,"t":"code","b":[141,112,3],"m":"sta","oa":880,"o":"actor_direction"},{"a":9798,"l":"r_2646","t":"code","b":[96],"m":"rts","x":[9788]},{"a":9799,"t":"gap","n":1},{"a":9800,"l":"filter_player_input","c":"Intersects joystick direction with the legal neighbor mask in $E8. If no requested direction survives, falls back to continuing the previous direction where it remains legal.","t":"code","b":[32,0,49],"m":"jsr","oa":12544,"o":"scan_controls","x":[11846]},{"a":9803,"t":"code","b":[37,232],"m":"and","oa":232,"o":"legal_directions"},{"a":9805,"t":"code","b":[133,236],"m":"sta","oa":236,"o":"filtered_direction_bits"},{"a":9807,"t":"code","b":[208,18],"m":"bne","oa":9827,"o":"b_2663"},{"a":9809,"t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction"},{"a":9812,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":9814,"t":"code","b":[170],"m":"tax"},{"a":9815,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":9817,"t":"code","b":[61,244,62],"m":"and","oa":16116,"o":"direction_masks,x"},{"a":9820,"t":"code","b":[133,236],"m":"sta","oa":236,"o":"filtered_direction_bits"},{"a":9822,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":9824,"t":"code","b":[133,237],"m":"sta","oa":237,"o":"direction_flag"},{"a":9826,"t":"code","b":[96],"m":"rts"},{"a":9827,"l":"b_2663","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[9807]},{"a":9829,"t":"code","b":[133,237],"m":"sta","oa":237,"o":"direction_flag"},{"a":9831,"t":"code","b":[96],"m":"rts"},{"a":9832,"t":"gap","n":152},{"a":9984,"l":"launch_ball","c":"On fire, with the ball state at zero, starts a diagonal shot using the current direction's velocity pair. Snaps the ball to the middle horizontally and top vertically of the player's tile. State 6 bypasses the launcher.","t":"code","b":[165,246],"m":"lda","oa":246,"o":"controller_bits","x":[9122]},{"a":9986,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":9988,"t":"code","b":[240,1],"m":"beq","oa":9991,"o":"b_2707"},{"a":9990,"t":"code","b":[96],"m":"rts"},{"a":9991,"l":"b_2707","t":"code","b":[165,108],"m":"lda","oa":108,"o":"ball_state","x":[9988]},{"a":9993,"t":"code","b":[240,1],"m":"beq","oa":9996,"o":"b_270C"},{"a":9995,"t":"code","b":[96],"m":"rts"},{"a":9996,"l":"b_270C","t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state","x":[9993]},{"a":9998,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":10000,"t":"code","b":[208,1],"m":"bne","oa":10003,"o":"b_2713"},{"a":10002,"t":"code","b":[96],"m":"rts"},{"a":10003,"l":"b_2713","t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction","x":[10000]},{"a":10006,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":10008,"t":"code","b":[170],"m":"tax"},{"a":10009,"t":"code","b":[189,228,62],"m":"lda","oa":16100,"o":"ball_start_delta_x,x"},{"a":10012,"t":"code","b":[133,106],"m":"sta","oa":106,"o":"ball_dx"},{"a":10014,"t":"code","b":[189,232,62],"m":"lda","oa":16104,"o":"ball_start_delta_y,x"},{"a":10017,"t":"code","b":[133,107],"m":"sta","oa":107,"o":"ball_dy"},{"a":10019,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":10021,"t":"code","b":[133,108],"m":"sta","oa":108,"o":"ball_state"},{"a":10023,"t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x"},{"a":10026,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":10028,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":10030,"t":"code","b":[133,109],"m":"sta","oa":109,"o":"ball_x"},{"a":10032,"t":"code","b":[173,104,3],"m":"lda","oa":872,"o":"actor_y"},{"a":10035,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":10037,"t":"code","b":[9,0],"m":"ora","o":"#$00"},{"a":10039,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"ball_y"},{"a":10041,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":10043,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"ball_left_player_tile"},{"a":10045,"t":"code","b":[96],"m":"rts"},{"a":10046,"t":"gap","n":2},{"a":10048,"l":"move_and_draw_ball","c":"Erases the old ball, tests its horizontal and vertical destinations against the logical tile map, and reflects velocity on the blocked axes. A blocked diagonal flips both. Advances position and selects a quarter-cell glyph from the low coordinate bits.","t":"code","b":[165,108],"m":"lda","oa":108,"o":"ball_state","x":[9125]},{"a":10050,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":10052,"t":"code","b":[240,1],"m":"beq","oa":10055,"o":"b_2747"},{"a":10054,"t":"code","b":[96],"m":"rts"},{"a":10055,"l":"b_2747","t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y","x":[10052]},{"a":10057,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10058,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10059,"t":"code","b":[168],"m":"tay"},{"a":10060,"t":"code","b":[185,80,24],"m":"lda","oa":6224,"o":"screen_row_low,y"},{"a":10063,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":10065,"t":"code","b":[185,104,24],"m":"lda","oa":6248,"o":"screen_row_high,y"},{"a":10068,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":10070,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":10072,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10073,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10074,"t":"code","b":[168],"m":"tay"},{"a":10075,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":10077,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10079,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":10081,"t":"code","b":[24],"m":"clc"},{"a":10082,"t":"code","b":[101,106],"m":"adc","oa":106,"o":"ball_dx"},{"a":10084,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10085,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10086,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10087,"t":"code","b":[170],"m":"tax"},{"a":10088,"t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y"},{"a":10090,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10091,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10092,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10093,"t":"code","b":[168],"m":"tay"},{"a":10094,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":10097,"t":"code","b":[240,10],"m":"beq","oa":10109,"o":"b_277D"},{"a":10099,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":10101,"t":"code","b":[56],"m":"sec"},{"a":10102,"t":"code","b":[229,106],"m":"sbc","oa":106,"o":"ball_dx"},{"a":10104,"t":"code","b":[133,106],"m":"sta","oa":106,"o":"ball_dx"},{"a":10106,"t":"code","b":[32,224,37],"m":"jsr","oa":9696,"o":"play_high_short_effect"},{"a":10109,"l":"b_277D","t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y","x":[10097]},{"a":10111,"t":"code","b":[24],"m":"clc"},{"a":10112,"t":"code","b":[101,107],"m":"adc","oa":107,"o":"ball_dy"},{"a":10114,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10115,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10116,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10117,"t":"code","b":[168],"m":"tay"},{"a":10118,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":10120,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10121,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10122,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10123,"t":"code","b":[170],"m":"tax"},{"a":10124,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":10127,"t":"code","b":[240,10],"m":"beq","oa":10139,"o":"b_279B"},{"a":10129,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":10131,"t":"code","b":[56],"m":"sec"},{"a":10132,"t":"code","b":[229,107],"m":"sbc","oa":107,"o":"ball_dy"},{"a":10134,"t":"code","b":[133,107],"m":"sta","oa":107,"o":"ball_dy"},{"a":10136,"t":"code","b":[32,224,37],"m":"jsr","oa":9696,"o":"play_high_short_effect"},{"a":10139,"l":"b_279B","t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y","x":[10127]},{"a":10141,"t":"code","b":[24],"m":"clc"},{"a":10142,"t":"code","b":[101,107],"m":"adc","oa":107,"o":"ball_dy"},{"a":10144,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10145,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10146,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10147,"t":"code","b":[168],"m":"tay"},{"a":10148,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":10150,"t":"code","b":[24],"m":"clc"},{"a":10151,"t":"code","b":[101,106],"m":"adc","oa":106,"o":"ball_dx"},{"a":10153,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10154,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10155,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10156,"t":"code","b":[170],"m":"tax"},{"a":10157,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":10160,"t":"code","b":[240,17],"m":"beq","oa":10179,"o":"b_27C3"},{"a":10162,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":10164,"t":"code","b":[56],"m":"sec"},{"a":10165,"t":"code","b":[229,107],"m":"sbc","oa":107,"o":"ball_dy"},{"a":10167,"t":"code","b":[133,107],"m":"sta","oa":107,"o":"ball_dy"},{"a":10169,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":10171,"t":"code","b":[56],"m":"sec"},{"a":10172,"t":"code","b":[229,106],"m":"sbc","oa":106,"o":"ball_dx"},{"a":10174,"t":"code","b":[133,106],"m":"sta","oa":106,"o":"ball_dx"},{"a":10176,"t":"code","b":[32,224,37],"m":"jsr","oa":9696,"o":"play_high_short_effect"},{"a":10179,"l":"b_27C3","t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x","x":[10160]},{"a":10181,"t":"code","b":[24],"m":"clc"},{"a":10182,"t":"code","b":[101,106],"m":"adc","oa":106,"o":"ball_dx"},{"a":10184,"t":"code","b":[133,109],"m":"sta","oa":109,"o":"ball_x"},{"a":10186,"t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y"},{"a":10188,"t":"code","b":[24],"m":"clc"},{"a":10189,"t":"code","b":[101,107],"m":"adc","oa":107,"o":"ball_dy"},{"a":10191,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"ball_y"},{"a":10193,"t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y"},{"a":10195,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10196,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10197,"t":"code","b":[170],"m":"tax"},{"a":10198,"t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x"},{"a":10201,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":10203,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":10206,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":10208,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":10210,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10211,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10212,"t":"code","b":[168],"m":"tay"},{"a":10213,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_x"},{"a":10215,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":10217,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10218,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":10220,"t":"code","b":[165,110],"m":"lda","oa":110,"o":"ball_y"},{"a":10222,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":10224,"t":"code","b":[5,220],"m":"ora","oa":220,"o":"arithmetic_scratch"},{"a":10226,"t":"code","b":[9,44],"m":"ora","o":"#$2C"},{"a":10228,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10230,"t":"code","b":[32,245,27],"m":"jsr","oa":7157,"o":"remember_ball_draw_cell"},{"a":10233,"t":"code","b":[32,112,37],"m":"jsr","oa":9584,"o":"erase_previous_ball_cell"},{"a":10236,"t":"code","b":[96],"m":"rts"},{"a":10237,"t":"gap","n":3},{"a":10240,"l":"initialize_screen_and_panel","c":"Clears the four character pages and fills their attribute pages. Draws the panel labels, default scores, border and lives icon from the screen-code records and the four strawberry cells.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[8259]},{"a":10242,"l":"b_2802","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[10271]},{"a":10244,"t":"code","b":[157,0,12],"m":"sta","oa":3072,"o":"f_0C00,x"},{"a":10247,"t":"code","b":[157,0,13],"m":"sta","oa":3328,"o":"f_0D00,x"},{"a":10250,"t":"code","b":[157,0,14],"m":"sta","oa":3584,"o":"f_0E00,x"},{"a":10253,"t":"code","b":[157,0,15],"m":"sta","oa":3840,"o":"f_0F00,x"},{"a":10256,"t":"code","b":[169,113],"m":"lda","o":"#$71"},{"a":10258,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"f_0800,x"},{"a":10261,"t":"code","b":[157,0,9],"m":"sta","oa":2304,"o":"f_0900,x"},{"a":10264,"t":"code","b":[157,0,10],"m":"sta","oa":2560,"o":"f_0A00,x"},{"a":10267,"t":"code","b":[157,0,11],"m":"sta","oa":2816,"o":"f_0B00,x"},{"a":10270,"t":"code","b":[232],"m":"inx"},{"a":10271,"t":"code","b":[208,225],"m":"bne","oa":10242,"o":"b_2802"},{"a":10273,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":10275,"l":"b_2823","t":"code","b":[189,0,24],"m":"lda","oa":6144,"o":"hud_labels,x","x":[10371]},{"a":10278,"t":"code","b":[157,34,12],"m":"sta","oa":3106,"o":"f_0C22,x"},{"a":10281,"t":"code","b":[189,6,24],"m":"lda","oa":6150,"o":"hud_time_label,x"},{"a":10284,"t":"code","b":[157,154,12],"m":"sta","oa":3226,"o":"f_0C9A,x"},{"a":10287,"t":"code","b":[189,12,24],"m":"lda","oa":6156,"o":"hud_bonus_label,x"},{"a":10290,"t":"code","b":[157,18,13],"m":"sta","oa":3346,"o":"f_0D12,x"},{"a":10293,"t":"code","b":[189,18,24],"m":"lda","oa":6162,"o":"hud_level_label,x"},{"a":10296,"t":"code","b":[157,2,14],"m":"sta","oa":3586,"o":"f_0E02,x"},{"a":10299,"t":"code","b":[189,24,24],"m":"lda","oa":6168,"o":"hud_top_label,x"},{"a":10302,"t":"code","b":[157,122,14],"m":"sta","oa":3706,"o":"f_0E7A,x"},{"a":10305,"t":"code","b":[189,30,24],"m":"lda","oa":6174,"o":"default_top_scores,x"},{"a":10308,"t":"code","b":[157,162,14],"m":"sta","oa":3746,"o":"f_0EA2,x"},{"a":10311,"t":"code","b":[189,36,24],"m":"lda","oa":6180,"o":"score_row_9000,x"},{"a":10314,"t":"code","b":[157,202,14],"m":"sta","oa":3786,"o":"f_0ECA,x"},{"a":10317,"t":"code","b":[189,42,24],"m":"lda","oa":6186,"o":"score_row_8000,x"},{"a":10320,"t":"code","b":[157,242,14],"m":"sta","oa":3826,"o":"f_0EF2,x"},{"a":10323,"t":"code","b":[189,48,24],"m":"lda","oa":6192,"o":"score_row_7000,x"},{"a":10326,"t":"code","b":[157,26,15],"m":"sta","oa":3866,"o":"f_0F1A,x"},{"a":10329,"t":"code","b":[189,54,24],"m":"lda","oa":6198,"o":"score_row_6000,x"},{"a":10332,"t":"code","b":[157,66,15],"m":"sta","oa":3906,"o":"f_0F42,x"},{"a":10335,"t":"code","b":[189,60,24],"m":"lda","oa":6204,"o":"score_row_5000,x"},{"a":10338,"t":"code","b":[157,106,15],"m":"sta","oa":3946,"o":"f_0F6A,x"},{"a":10341,"t":"code","b":[189,66,24],"m":"lda","oa":6210,"o":"score_row_4000,x"},{"a":10344,"t":"code","b":[157,146,15],"m":"sta","oa":3986,"o":"f_0F92,x"},{"a":10347,"t":"code","b":[189,72,24],"m":"lda","oa":6216,"o":"score_row_3000,x"},{"a":10350,"t":"code","b":[157,186,15],"m":"sta","oa":4026,"o":"f_0FBA,x"},{"a":10353,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":10355,"t":"code","b":[157,34,8],"m":"sta","oa":2082,"o":"f_0822,x"},{"a":10358,"t":"code","b":[157,154,8],"m":"sta","oa":2202,"o":"f_089A,x"},{"a":10361,"t":"code","b":[157,18,9],"m":"sta","oa":2322,"o":"f_0912,x"},{"a":10364,"t":"code","b":[157,2,10],"m":"sta","oa":2562,"o":"f_0A02,x"},{"a":10367,"t":"code","b":[157,122,10],"m":"sta","oa":2682,"o":"f_0A7A,x"},{"a":10370,"t":"code","b":[202],"m":"dex"},{"a":10371,"t":"code","b":[16,158],"m":"bpl","oa":10275,"o":"b_2823"},{"a":10373,"t":"code","b":[162,39],"m":"ldx","o":"#$27"},{"a":10375,"l":"b_2887","t":"code","b":[169,27],"m":"lda","o":"#$1B","x":[10386]},{"a":10377,"t":"code","b":[157,192,15],"m":"sta","oa":4032,"o":"f_0FC0,x"},{"a":10380,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":10382,"t":"code","b":[157,192,11],"m":"sta","oa":3008,"o":"f_0BC0,x"},{"a":10385,"t":"code","b":[202],"m":"dex"},{"a":10386,"t":"code","b":[16,243],"m":"bpl","oa":10375,"o":"b_2887"},{"a":10388,"t":"code","b":[162,23],"m":"ldx","o":"#$17"},{"a":10390,"l":"b_2896","t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x","x":[10425]},{"a":10393,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":10395,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":10398,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":10400,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":10402,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":10404,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10406,"t":"code","b":[200],"m":"iny"},{"a":10407,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10409,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":10411,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":10413,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":10415,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":10417,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":10419,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10421,"t":"code","b":[200],"m":"iny"},{"a":10422,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10424,"t":"code","b":[202],"m":"dex"},{"a":10425,"t":"code","b":[16,219],"m":"bpl","oa":10390,"o":"b_2896"},{"a":10427,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":10429,"t":"code","b":[141,138,9],"m":"sta","oa":2442,"o":"a_098A"},{"a":10432,"t":"code","b":[141,139,9],"m":"sta","oa":2443,"o":"a_098B"},{"a":10435,"t":"code","b":[141,178,9],"m":"sta","oa":2482,"o":"a_09B2"},{"a":10438,"t":"code","b":[141,179,9],"m":"sta","oa":2483,"o":"a_09B3"},{"a":10441,"t":"code","b":[160,164],"m":"ldy","o":"#$A4"},{"a":10443,"t":"code","b":[140,138,13],"m":"sty","oa":3466,"o":"a_0D8A"},{"a":10446,"t":"code","b":[200],"m":"iny"},{"a":10447,"t":"code","b":[140,139,13],"m":"sty","oa":3467,"o":"a_0D8B"},{"a":10450,"t":"code","b":[200],"m":"iny"},{"a":10451,"t":"code","b":[140,178,13],"m":"sty","oa":3506,"o":"a_0DB2"},{"a":10454,"t":"code","b":[200],"m":"iny"},{"a":10455,"t":"code","b":[140,179,13],"m":"sty","oa":3507,"o":"a_0DB3"},{"a":10458,"t":"code","b":[96],"m":"rts"},{"a":10459,"t":"gap","n":37},{"a":10496,"l":"reset_hud_digits","c":"Zeros the displayed score, elapsed time, bonus and level. Sets the lives digit to 5 and places the two timer separators.","t":"code","b":[162,4],"m":"ldx","o":"#$04","x":[8262,8789]},{"a":10498,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":10500,"l":"b_2904","t":"code","b":[157,74,12],"m":"sta","oa":3146,"o":"score_digits,x","x":[10504]},{"a":10503,"t":"code","b":[202],"m":"dex"},{"a":10504,"t":"code","b":[16,250],"m":"bpl","oa":10500,"o":"b_2904"},{"a":10506,"t":"code","b":[141,194,12],"m":"sta","oa":3266,"o":"minutes_tens"},{"a":10509,"t":"code","b":[141,195,12],"m":"sta","oa":3267,"o":"minutes_units"},{"a":10512,"t":"code","b":[141,197,12],"m":"sta","oa":3269,"o":"seconds_tens"},{"a":10515,"t":"code","b":[141,198,12],"m":"sta","oa":3270,"o":"seconds_units"},{"a":10518,"t":"code","b":[141,58,13],"m":"sta","oa":3386,"o":"bonus_hundreds"},{"a":10521,"t":"code","b":[141,59,13],"m":"sta","oa":3387,"o":"bonus_tens"},{"a":10524,"t":"code","b":[141,60,13],"m":"sta","oa":3388,"o":"bonus_units"},{"a":10527,"t":"code","b":[141,42,14],"m":"sta","oa":3626,"o":"level_tens"},{"a":10530,"t":"code","b":[141,43,14],"m":"sta","oa":3627,"o":"level_units"},{"a":10533,"t":"code","b":[169,33],"m":"lda","o":"#$21"},{"a":10535,"t":"code","b":[141,182,13],"m":"sta","oa":3510,"o":"lives_digit"},{"a":10538,"t":"code","b":[169,42],"m":"lda","o":"#$2A"},{"a":10540,"t":"code","b":[141,196,12],"m":"sta","oa":3268,"o":"a_0CC4"},{"a":10543,"t":"code","b":[169,43],"m":"lda","o":"#$2B"},{"a":10545,"t":"code","b":[141,199,12],"m":"sta","oa":3271,"o":"a_0CC7"},{"a":10548,"t":"code","b":[96],"m":"rts"},{"a":10549,"t":"gap","n":11},{"a":10560,"l":"draw_layout","c":"Selects a 96-byte layout at $3500 + 96*X. Decodes its high and low nibbles left to right into 16 columns and 12 rows, draws each metatile, then copies the packed layout to the mutable map at $0600.","t":"code","b":[120],"m":"sei","x":[8732,8750,12655]},{"a":10561,"t":"code","b":[138],"m":"txa"},{"a":10562,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10563,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"second_ptr_low"},{"a":10565,"t":"code","b":[138],"m":"txa"},{"a":10566,"t":"code","b":[24],"m":"clc"},{"a":10567,"t":"code","b":[101,218],"m":"adc","oa":218,"o":"second_ptr_low"},{"a":10569,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10570,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10571,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"second_ptr_low"},{"a":10573,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":10575,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"second_ptr_high"},{"a":10577,"t":"code","b":[6,218],"m":"asl","oa":218,"o":"second_ptr_low"},{"a":10579,"t":"code","b":[38,219],"m":"rol","oa":219,"o":"second_ptr_high"},{"a":10581,"t":"code","b":[6,218],"m":"asl","oa":218,"o":"second_ptr_low"},{"a":10583,"t":"code","b":[38,219],"m":"rol","oa":219,"o":"second_ptr_high"},{"a":10585,"t":"code","b":[6,218],"m":"asl","oa":218,"o":"second_ptr_low"},{"a":10587,"t":"code","b":[38,219],"m":"rol","oa":219,"o":"second_ptr_high"},{"a":10589,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"second_ptr_high"},{"a":10591,"t":"code","b":[105,53],"m":"adc","o":"#$35"},{"a":10593,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"second_ptr_high"},{"a":10595,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":10597,"l":"b_2965","t":"code","b":[152],"m":"tya","x":[10657]},{"a":10598,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10599,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10600,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10601,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10602,"t":"code","b":[170],"m":"tax"},{"a":10603,"t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"screen_row_low,x"},{"a":10606,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":10608,"t":"code","b":[189,104,24],"m":"lda","oa":6248,"o":"screen_row_high,x"},{"a":10611,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":10613,"t":"code","b":[177,218],"m":"lda","oa":218,"o":"(second_ptr_low),y"},{"a":10615,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":10617,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10618,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10619,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10620,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":10621,"t":"code","b":[170],"m":"tax"},{"a":10622,"t":"code","b":[132,220],"m":"sty","oa":220,"o":"arithmetic_scratch"},{"a":10624,"t":"code","b":[152],"m":"tya"},{"a":10625,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":10627,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10628,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10629,"t":"code","b":[168],"m":"tay"},{"a":10630,"t":"code","b":[32,0,42],"m":"jsr","oa":10752,"o":"draw_orchard_metatile"},{"a":10633,"t":"code","b":[164,220],"m":"ldy","oa":220,"o":"arithmetic_scratch"},{"a":10635,"t":"code","b":[177,218],"m":"lda","oa":218,"o":"(second_ptr_low),y"},{"a":10637,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":10639,"t":"code","b":[170],"m":"tax"},{"a":10640,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"arithmetic_scratch"},{"a":10642,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":10644,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10645,"t":"code","b":[10],"m":"asl","o":"a"},{"a":10646,"t":"code","b":[168],"m":"tay"},{"a":10647,"t":"code","b":[200],"m":"iny"},{"a":10648,"t":"code","b":[200],"m":"iny"},{"a":10649,"t":"code","b":[32,0,42],"m":"jsr","oa":10752,"o":"draw_orchard_metatile"},{"a":10652,"t":"code","b":[164,220],"m":"ldy","oa":220,"o":"arithmetic_scratch"},{"a":10654,"t":"code","b":[200],"m":"iny"},{"a":10655,"t":"code","b":[192,96],"m":"cpy","o":"#$60"},{"a":10657,"t":"code","b":[208,194],"m":"bne","oa":10597,"o":"b_2965"},{"a":10659,"t":"code","b":[88],"m":"cli"},{"a":10660,"t":"code","b":[160,95],"m":"ldy","o":"#$5F"},{"a":10662,"l":"b_29A6","t":"code","b":[177,218],"m":"lda","oa":218,"o":"(second_ptr_low),y","x":[10668]},{"a":10664,"t":"code","b":[153,0,6],"m":"sta","oa":1536,"o":"mutable_orchard,y"},{"a":10667,"t":"code","b":[136],"m":"dey"},{"a":10668,"t":"code","b":[16,248],"m":"bpl","oa":10662,"o":"b_29A6"},{"a":10670,"t":"code","b":[96],"m":"rts"},{"a":10671,"t":"gap","n":81},{"a":10752,"l":"draw_orchard_metatile","c":"Takes X as the tile value and D8:D9 plus Y as the first screen cell. Copies four glyph indices from the parallel tables and asks the palette selector for the two attribute rows.","t":"code","b":[189,128,24],"m":"lda","oa":6272,"o":"metatile_top_left,x","x":[10630,10649]},{"a":10755,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10757,"t":"code","b":[200],"m":"iny"},{"a":10758,"t":"code","b":[189,136,24],"m":"lda","oa":6280,"o":"metatile_top_right,x"},{"a":10761,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10763,"t":"code","b":[152],"m":"tya"},{"a":10764,"t":"code","b":[24],"m":"clc"},{"a":10765,"t":"code","b":[105,39],"m":"adc","o":"#$27"},{"a":10767,"t":"code","b":[168],"m":"tay"},{"a":10768,"t":"code","b":[189,144,24],"m":"lda","oa":6288,"o":"metatile_bottom_left,x"},{"a":10771,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10773,"t":"code","b":[200],"m":"iny"},{"a":10774,"t":"code","b":[189,152,24],"m":"lda","oa":6296,"o":"metatile_bottom_right,x"},{"a":10777,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10779,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":10781,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":10783,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":10785,"t":"code","b":[32,0,46],"m":"jsr","oa":11776,"o":"select_metatile_attributes"},{"a":10788,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10790,"t":"code","b":[136],"m":"dey"},{"a":10791,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10793,"t":"code","b":[152],"m":"tya"},{"a":10794,"t":"code","b":[56],"m":"sec"},{"a":10795,"t":"code","b":[233,39],"m":"sbc","o":"#$27"},{"a":10797,"t":"code","b":[168],"m":"tay"},{"a":10798,"t":"code","b":[32,0,46],"m":"jsr","oa":11776,"o":"select_metatile_attributes"},{"a":10801,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10803,"t":"code","b":[136],"m":"dey"},{"a":10804,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":10806,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":10808,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":10810,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":10812,"t":"code","b":[96],"m":"rts"},{"a":10813,"t":"gap","n":3},{"a":10816,"l":"print_attract_text","c":"Copies ten rows of screen codes from $18A8-$196F to their fixed positions. Colors the text and the strawberry and Acid Apple cells.","t":"code","b":[162,23],"m":"ldx","o":"#$17","x":[8753]},{"a":10818,"l":"b_2A42","t":"code","b":[189,168,24],"m":"lda","oa":6312,"o":"attract_screen_rows,x","x":[10866]},{"a":10821,"t":"code","b":[157,124,12],"m":"sta","oa":3196,"o":"f_0C7C,x"},{"a":10824,"t":"code","b":[189,192,24],"m":"lda","oa":6336,"o":"attract_company_credit,x"},{"a":10827,"t":"code","b":[157,36,15],"m":"sta","oa":3876,"o":"f_0F24,x"},{"a":10830,"t":"code","b":[189,216,24],"m":"lda","oa":6360,"o":"attract_author_credit,x"},{"a":10833,"t":"code","b":[157,204,12],"m":"sta","oa":3276,"o":"f_0CCC,x"},{"a":10836,"t":"code","b":[189,240,24],"m":"lda","oa":6384,"o":"attract_gang_caption,x"},{"a":10839,"t":"code","b":[157,12,14],"m":"sta","oa":3596,"o":"f_0E0C,x"},{"a":10842,"t":"code","b":[189,8,25],"m":"lda","oa":6408,"o":"attract_fire_prompt,x"},{"a":10845,"t":"code","b":[157,212,14],"m":"sta","oa":3796,"o":"f_0ED4,x"},{"a":10848,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":10850,"t":"code","b":[157,124,8],"m":"sta","oa":2172,"o":"f_087C,x"},{"a":10853,"t":"code","b":[157,36,11],"m":"sta","oa":2852,"o":"f_0B24,x"},{"a":10856,"t":"code","b":[157,204,8],"m":"sta","oa":2252,"o":"f_08CC,x"},{"a":10859,"t":"code","b":[157,12,10],"m":"sta","oa":2572,"o":"f_0A0C,x"},{"a":10862,"t":"code","b":[157,212,10],"m":"sta","oa":2772,"o":"f_0AD4,x"},{"a":10865,"t":"code","b":[202],"m":"dex"},{"a":10866,"t":"code","b":[16,206],"m":"bpl","oa":10818,"o":"b_2A42"},{"a":10868,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":10870,"l":"b_2A76","t":"code","b":[189,32,25],"m":"lda","oa":6432,"o":"attract_featuring_caption,x","x":[10920]},{"a":10873,"t":"code","b":[157,68,13],"m":"sta","oa":3396,"o":"f_0D44,x"},{"a":10876,"t":"code","b":[189,48,25],"m":"lda","oa":6448,"o":"attract_super_caption,x"},{"a":10879,"t":"code","b":[157,152,13],"m":"sta","oa":3480,"o":"f_0D98,x"},{"a":10882,"t":"code","b":[189,64,25],"m":"lda","oa":6464,"o":"attract_strawberry_caption,x"},{"a":10885,"t":"code","b":[157,192,13],"m":"sta","oa":3520,"o":"f_0DC0,x"},{"a":10888,"t":"code","b":[189,80,25],"m":"lda","oa":6480,"o":"attract_apple_faces_upper,x"},{"a":10891,"t":"code","b":[157,96,14],"m":"sta","oa":3680,"o":"f_0E60,x"},{"a":10894,"t":"code","b":[189,96,25],"m":"lda","oa":6496,"o":"attract_apple_faces_lower,x"},{"a":10897,"t":"code","b":[157,136,14],"m":"sta","oa":3720,"o":"f_0E88,x"},{"a":10900,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":10902,"t":"code","b":[157,68,9],"m":"sta","oa":2372,"o":"f_0944,x"},{"a":10905,"t":"code","b":[157,152,9],"m":"sta","oa":2456,"o":"f_0998,x"},{"a":10908,"t":"code","b":[157,192,9],"m":"sta","oa":2496,"o":"f_09C0,x"},{"a":10911,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":10913,"t":"code","b":[157,96,10],"m":"sta","oa":2656,"o":"f_0A60,x"},{"a":10916,"t":"code","b":[157,136,10],"m":"sta","oa":2696,"o":"f_0A88,x"},{"a":10919,"t":"code","b":[202],"m":"dex"},{"a":10920,"t":"code","b":[16,204],"m":"bpl","oa":10870,"o":"b_2A76"},{"a":10922,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":10924,"t":"code","b":[141,152,9],"m":"sta","oa":2456,"o":"f_0998"},{"a":10927,"t":"code","b":[141,153,9],"m":"sta","oa":2457,"o":"a_0999"},{"a":10930,"t":"code","b":[141,192,9],"m":"sta","oa":2496,"o":"f_09C0"},{"a":10933,"t":"code","b":[141,193,9],"m":"sta","oa":2497,"o":"a_09C1"},{"a":10936,"t":"code","b":[96],"m":"rts"},{"a":10937,"t":"gap","n":71},{"a":11008,"l":"play_two_voice_theme","c":"Divides the calling tick by eight and plays a packed pair of pitch indexes from the 192-byte score. A high nibble of 1 ties voice 1 across the previous tick's gate boundary. The low nibble picks voice 2's pitch.","t":"code","b":[230,224],"m":"inc","oa":224,"o":"music_divider","x":[8704]},{"a":11010,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"music_divider"},{"a":11012,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":11014,"t":"code","b":[208,69],"m":"bne","oa":11085,"o":"b_2B4D"},{"a":11016,"t":"code","b":[234],"m":"nop"},{"a":11017,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":11019,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"music_divider"},{"a":11021,"t":"code","b":[230,225],"m":"inc","oa":225,"o":"music_index"},{"a":11023,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_index"},{"a":11025,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":11027,"t":"code","b":[208,6],"m":"bne","oa":11035,"o":"b_2B1B"},{"a":11029,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":11031,"t":"code","b":[133,225],"m":"sta","oa":225,"o":"music_index"},{"a":11033,"t":"code","b":[230,227],"m":"inc","oa":227,"o":"theme_pass"},{"a":11035,"l":"b_2B1B","t":"code","b":[166,225],"m":"ldx","oa":225,"o":"music_index","x":[11027]},{"a":11037,"t":"code","b":[189,0,63],"m":"lda","oa":16128,"o":"theme_score,x"},{"a":11040,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11041,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11042,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11043,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11044,"t":"code","b":[168],"m":"tay"},{"a":11045,"t":"code","b":[192,1],"m":"cpy","o":"#$01"},{"a":11047,"t":"code","b":[240,12],"m":"beq","oa":11061,"o":"b_2B35"},{"a":11049,"t":"code","b":[185,192,63],"m":"lda","oa":16320,"o":"theme_voice_one_low,y"},{"a":11052,"t":"code","b":[141,14,255],"m":"sta","o":"ted_voice1_freq_lo"},{"a":11055,"t":"code","b":[185,208,63],"m":"lda","oa":16336,"o":"theme_voice_one_high,y"},{"a":11058,"t":"code","b":[141,18,255],"m":"sta","o":"ted_bitmap_voice1_hi"},{"a":11061,"l":"b_2B35","t":"code","b":[189,0,63],"m":"lda","oa":16128,"o":"theme_score,x","x":[11047]},{"a":11064,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":11066,"t":"code","b":[168],"m":"tay"},{"a":11067,"t":"code","b":[185,224,63],"m":"lda","oa":16352,"o":"theme_voice_two_low,y"},{"a":11070,"t":"code","b":[141,15,255],"m":"sta","o":"ted_voice2_freq_lo"},{"a":11073,"t":"code","b":[185,240,63],"m":"lda","oa":16368,"o":"theme_voice_two_high,y"},{"a":11076,"t":"code","b":[141,16,255],"m":"sta","o":"ted_voice2_freq_hi"},{"a":11079,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":11081,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":11084,"t":"code","b":[96],"m":"rts"},{"a":11085,"l":"b_2B4D","t":"code","b":[201,7],"m":"cmp","o":"#$07","x":[11014]},{"a":11087,"t":"code","b":[208,37],"m":"bne","oa":11126,"o":"b_2B76"},{"a":11089,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_index"},{"a":11091,"t":"code","b":[24],"m":"clc"},{"a":11092,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":11094,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":11096,"t":"code","b":[208,2],"m":"bne","oa":11100,"o":"b_2B5C"},{"a":11098,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":11100,"l":"b_2B5C","t":"code","b":[170],"m":"tax","x":[11096]},{"a":11101,"t":"code","b":[189,0,63],"m":"lda","oa":16128,"o":"theme_score,x"},{"a":11104,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":11106,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":11108,"t":"code","b":[240,8],"m":"beq","oa":11118,"o":"b_2B6E"},{"a":11110,"t":"code","b":[173,17,255],"m":"lda","o":"ted_sound"},{"a":11113,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":11115,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":11118,"l":"b_2B6E","t":"code","b":[173,17,255],"m":"lda","o":"ted_sound","x":[11108]},{"a":11121,"t":"code","b":[41,223],"m":"and","o":"#$DF"},{"a":11123,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":11126,"l":"b_2B76","t":"code","b":[168],"m":"tay","x":[11087]},{"a":11127,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":11129,"t":"code","b":[96],"m":"rts"},{"a":11130,"t":"gap","n":118},{"a":11248,"l":"check_player_tile_alignment","c":"Tests the low three bits of the player\u2019s two position coordinates. Runs tile-entry logic only when both are aligned to an 8-unit tile boundary (16 display pixels).","t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x","x":[9107]},{"a":11251,"t":"code","b":[13,104,3],"m":"ora","oa":872,"o":"actor_y"},{"a":11254,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":11256,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":11258,"t":"code","b":[240,4],"m":"beq","oa":11264,"o":"check_cherry_clear"},{"a":11260,"t":"code","b":[96],"m":"rts"},{"a":11261,"t":"gap","n":3},{"a":11264,"l":"check_cherry_clear","c":"In state 2, scans both nibbles of every map byte for cherry value 2 and takes the special clear once none remains. State 4 also requires exactly six grounded apple tiles in the last row.","t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state","x":[11258]},{"a":11266,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":11268,"t":"code","b":[208,26],"m":"bne","oa":11296,"o":"b_2C20"},{"a":11270,"t":"code","b":[162,95],"m":"ldx","o":"#$5F"},{"a":11272,"l":"b_2C08","t":"code","b":[189,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,x","x":[11291]},{"a":11275,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":11277,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":11279,"t":"code","b":[240,14],"m":"beq","oa":11295,"o":"r_2C1F"},{"a":11281,"t":"code","b":[189,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,x"},{"a":11284,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":11286,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":11288,"t":"code","b":[240,5],"m":"beq","oa":11295,"o":"r_2C1F"},{"a":11290,"t":"code","b":[202],"m":"dex"},{"a":11291,"t":"code","b":[16,235],"m":"bpl","oa":11272,"o":"b_2C08"},{"a":11293,"t":"code","b":[48,85],"m":"bmi","oa":11380,"o":"clear_round_with_layout_award"},{"a":11295,"l":"r_2C1F","t":"code","b":[96],"m":"rts","x":[11279,11288]},{"a":11296,"l":"b_2C20","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[11268]},{"a":11298,"t":"code","b":[208,55],"m":"bne","oa":11355,"o":"b_2C5B"},{"a":11300,"t":"code","b":[162,95],"m":"ldx","o":"#$5F"},{"a":11302,"l":"b_2C26","t":"code","b":[189,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,x","x":[11321]},{"a":11305,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":11307,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":11309,"t":"code","b":[240,43],"m":"beq","oa":11354,"o":"r_2C5A"},{"a":11311,"t":"code","b":[189,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,x"},{"a":11314,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":11316,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":11318,"t":"code","b":[240,34],"m":"beq","oa":11354,"o":"r_2C5A"},{"a":11320,"t":"code","b":[202],"m":"dex"},{"a":11321,"t":"code","b":[16,235],"m":"bpl","oa":11302,"o":"b_2C26"},{"a":11323,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":11325,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":11327,"l":"b_2C3F","t":"code","b":[189,88,6],"m":"lda","oa":1624,"o":"bottom_left_packed_tile,x","x":[11348]},{"a":11330,"t":"code","b":[41,48],"m":"and","o":"#$30"},{"a":11332,"t":"code","b":[201,48],"m":"cmp","o":"#$30"},{"a":11334,"t":"code","b":[208,1],"m":"bne","oa":11337,"o":"b_2C49"},{"a":11336,"t":"code","b":[200],"m":"iny"},{"a":11337,"l":"b_2C49","t":"code","b":[189,88,6],"m":"lda","oa":1624,"o":"bottom_left_packed_tile,x","x":[11334]},{"a":11340,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":11342,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":11344,"t":"code","b":[208,1],"m":"bne","oa":11347,"o":"b_2C53"},{"a":11346,"t":"code","b":[200],"m":"iny"},{"a":11347,"l":"b_2C53","t":"code","b":[202],"m":"dex","x":[11344]},{"a":11348,"t":"code","b":[16,233],"m":"bpl","oa":11327,"o":"b_2C3F"},{"a":11350,"t":"code","b":[192,6],"m":"cpy","o":"#$06"},{"a":11352,"t":"code","b":[240,26],"m":"beq","oa":11380,"o":"clear_round_with_layout_award"},{"a":11354,"l":"r_2C5A","t":"code","b":[96],"m":"rts","x":[11309,11318]},{"a":11355,"l":"b_2C5B","t":"code","b":[24],"m":"clc","x":[11298]},{"a":11356,"t":"code","b":[144,26],"m":"bcc","oa":11384,"o":"check_four_corner_apples"},{"a":11358,"t":"gap","n":2},{"a":11360,"l":"clear_round","c":"Loads $E0 into the interlude timer and moves the selector from active play to the next odd state, wrapping state 7 to 1. Adds the remaining bonus to the score.","t":"code","b":[169,224],"m":"lda","o":"#$E0","x":[6824,7755]},{"a":11362,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"round_intro_ticks"},{"a":11364,"t":"code","b":[230,226],"m":"inc","oa":226,"o":"game_state"},{"a":11366,"t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state"},{"a":11368,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":11370,"t":"code","b":[208,4],"m":"bne","oa":11376,"o":"b_2C70"},{"a":11372,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":11374,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"game_state"},{"a":11376,"l":"b_2C70","t":"code","b":[32,132,26],"m":"jsr","oa":6788,"o":"award_remaining_bonus","x":[11370]},{"a":11379,"t":"code","b":[96],"m":"rts"},{"a":11380,"l":"clear_round_with_layout_award","c":"Takes the special clear path, which adds a layout-dependent thousands bonus as well as the displayed bonus.","t":"code","b":[32,168,26],"m":"jsr","oa":6824,"o":"award_special_clear","x":[11293,11352,11404]},{"a":11383,"t":"code","b":[96],"m":"rts"},{"a":11384,"l":"check_four_corner_apples","c":"Combines the four corner nibbles and compares the common bits with 5, the Bad Apple block code. The match takes the special clear path.","t":"code","b":[173,0,6],"m":"lda","oa":1536,"o":"mutable_orchard","x":[11356]},{"a":11387,"t":"code","b":[45,88,6],"m":"and","oa":1624,"o":"bottom_left_packed_tile"},{"a":11390,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11391,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11392,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11393,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11394,"t":"code","b":[45,7,6],"m":"and","oa":1543,"o":"top_right_packed_tile"},{"a":11397,"t":"code","b":[45,95,6],"m":"and","oa":1631,"o":"bottom_right_packed_tile"},{"a":11400,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":11402,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":11404,"t":"code","b":[240,230],"m":"beq","oa":11380,"o":"clear_round_with_layout_award"},{"a":11406,"t":"code","b":[96],"m":"rts"},{"a":11407,"t":"gap","n":1},{"a":11408,"l":"decrement_fruit_delay","c":"Decrements the per-fruit delay indexed by X. While the delay remains, discards its own return address and returns to the play tick. On expiry converts the fruit's coordinates to a tile, clears it and starts the movement effect.","t":"code","b":[222,56,3],"m":"dec","oa":824,"o":"fruit_delays,x","x":[13222]},{"a":11411,"t":"code","b":[208,23],"m":"bne","oa":11436,"o":"b_2CAC"},{"a":11413,"t":"code","b":[138],"m":"txa"},{"a":11414,"t":"code","b":[72],"m":"pha"},{"a":11415,"t":"code","b":[152],"m":"tya"},{"a":11416,"t":"code","b":[72],"m":"pha"},{"a":11417,"t":"code","b":[189,72,3],"m":"lda","oa":840,"o":"fruit_y,x"},{"a":11420,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11421,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11422,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11423,"t":"code","b":[168],"m":"tay"},{"a":11424,"t":"code","b":[189,64,3],"m":"lda","oa":832,"o":"fruit_x,x"},{"a":11427,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11428,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11429,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11430,"t":"code","b":[170],"m":"tax"},{"a":11431,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":11433,"t":"code","b":[32,200,37],"m":"jsr","oa":9672,"o":"start_movement_effect"},{"a":11436,"l":"b_2CAC","t":"code","b":[104],"m":"pla","x":[11411]},{"a":11437,"t":"code","b":[168],"m":"tay"},{"a":11438,"t":"code","b":[104],"m":"pla"},{"a":11439,"t":"code","b":[170],"m":"tax"},{"a":11440,"t":"code","b":[24],"m":"clc"},{"a":11441,"t":"code","b":[96],"m":"rts"},{"a":11442,"l":"r_2CB2","t":"code","b":[96],"m":"rts","x":[11445,11452]},{"a":11443,"l":"try_push_or_crush_fruit","c":"When fire is held at a tile boundary, checks the tile ahead and the tile beyond it. Starts a slide for either block type if the next tile is empty. A cherry with a blocked path starts its crush animation and earns 25 points.","t":"code","b":[165,101],"m":"lda","oa":101,"o":"crush_ticks","x":[9110]},{"a":11445,"t":"code","b":[208,251],"m":"bne","oa":11442,"o":"r_2CB2"},{"a":11447,"t":"code","b":[173,127,3],"m":"lda","oa":895,"o":"sliding_fruit_direction"},{"a":11450,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":11452,"t":"code","b":[208,244],"m":"bne","oa":11442,"o":"r_2CB2"},{"a":11454,"t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x"},{"a":11457,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11458,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11459,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11460,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":11462,"t":"code","b":[173,104,3],"m":"lda","oa":872,"o":"actor_y"},{"a":11465,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11466,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11467,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11468,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":11470,"t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x"},{"a":11473,"t":"code","b":[13,104,3],"m":"ora","oa":872,"o":"actor_y"},{"a":11476,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":11478,"t":"code","b":[208,75],"m":"bne","oa":11555,"o":"r_2D23"},{"a":11480,"t":"code","b":[165,246],"m":"lda","oa":246,"o":"controller_bits"},{"a":11482,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":11484,"t":"code","b":[208,69],"m":"bne","oa":11555,"o":"r_2D23"},{"a":11486,"t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction"},{"a":11489,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":11491,"t":"code","b":[170],"m":"tax"},{"a":11492,"t":"code","b":[189,248,62],"m":"lda","oa":16120,"o":"direction_delta_x,x"},{"a":11495,"t":"code","b":[24],"m":"clc"},{"a":11496,"t":"code","b":[101,233],"m":"adc","oa":233,"o":"tile_x"},{"a":11498,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":11500,"t":"code","b":[189,252,62],"m":"lda","oa":16124,"o":"direction_delta_y,x"},{"a":11503,"t":"code","b":[24],"m":"clc"},{"a":11504,"t":"code","b":[101,234],"m":"adc","oa":234,"o":"tile_y"},{"a":11506,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":11508,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":11510,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":11512,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":11515,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":11517,"t":"code","b":[144,36],"m":"bcc","oa":11555,"o":"r_2D23"},{"a":11519,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pushed_tile"},{"a":11521,"t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction"},{"a":11524,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":11526,"t":"code","b":[170],"m":"tax"},{"a":11527,"t":"code","b":[189,248,62],"m":"lda","oa":16120,"o":"direction_delta_x,x"},{"a":11530,"t":"code","b":[24],"m":"clc"},{"a":11531,"t":"code","b":[101,233],"m":"adc","oa":233,"o":"tile_x"},{"a":11533,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"next_tile_x"},{"a":11535,"t":"code","b":[189,252,62],"m":"lda","oa":16124,"o":"direction_delta_y,x"},{"a":11538,"t":"code","b":[24],"m":"clc"},{"a":11539,"t":"code","b":[101,234],"m":"adc","oa":234,"o":"tile_y"},{"a":11541,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"next_tile_y"},{"a":11543,"t":"code","b":[166,96],"m":"ldx","oa":96,"o":"next_tile_x"},{"a":11545,"t":"code","b":[164,97],"m":"ldy","oa":97,"o":"next_tile_y"},{"a":11547,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":11550,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"beyond_pushed_tile"},{"a":11552,"t":"code","b":[24],"m":"clc"},{"a":11553,"t":"code","b":[144,1],"m":"bcc","oa":11556,"o":"b_2D24"},{"a":11555,"l":"r_2D23","t":"code","b":[96],"m":"rts","x":[11478,11484,11517]},{"a":11556,"l":"b_2D24","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pushed_tile","x":[11553]},{"a":11558,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":11560,"t":"code","b":[208,70],"m":"bne","oa":11632,"o":"try_start_apple_slide"},{"a":11562,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"beyond_pushed_tile"},{"a":11564,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":11566,"t":"code","b":[208,64],"m":"bne","oa":11632,"o":"try_start_apple_slide"},{"a":11568,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":11570,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"sliding_glyph_bias"},{"a":11572,"l":"b_2D34","t":"code","b":[165,233],"m":"lda","oa":233,"o":"tile_x","x":[11648]},{"a":11574,"t":"code","b":[10],"m":"asl","o":"a"},{"a":11575,"t":"code","b":[10],"m":"asl","o":"a"},{"a":11576,"t":"code","b":[10],"m":"asl","o":"a"},{"a":11577,"t":"code","b":[141,71,3],"m":"sta","oa":839,"o":"sliding_fruit_x"},{"a":11580,"t":"code","b":[165,234],"m":"lda","oa":234,"o":"tile_y"},{"a":11582,"t":"code","b":[10],"m":"asl","o":"a"},{"a":11583,"t":"code","b":[10],"m":"asl","o":"a"},{"a":11584,"t":"code","b":[10],"m":"asl","o":"a"},{"a":11585,"t":"code","b":[141,79,3],"m":"sta","oa":847,"o":"sliding_fruit_y"},{"a":11588,"t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction"},{"a":11591,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":11593,"t":"code","b":[170],"m":"tax"},{"a":11594,"t":"code","b":[189,248,62],"m":"lda","oa":16120,"o":"direction_delta_x,x"},{"a":11597,"t":"code","b":[141,87,3],"m":"sta","oa":855,"o":"sliding_fruit_dx"},{"a":11600,"t":"code","b":[189,252,62],"m":"lda","oa":16124,"o":"direction_delta_y,x"},{"a":11603,"t":"code","b":[141,95,3],"m":"sta","oa":863,"o":"sliding_fruit_dy"},{"a":11606,"t":"code","b":[138],"m":"txa"},{"a":11607,"t":"code","b":[141,127,3],"m":"sta","oa":895,"o":"sliding_fruit_direction"},{"a":11610,"t":"code","b":[173,71,3],"m":"lda","oa":839,"o":"sliding_fruit_x"},{"a":11613,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11614,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11615,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11616,"t":"code","b":[170],"m":"tax"},{"a":11617,"t":"code","b":[173,79,3],"m":"lda","oa":847,"o":"sliding_fruit_y"},{"a":11620,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11621,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11622,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11623,"t":"code","b":[168],"m":"tay"},{"a":11624,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":11626,"t":"code","b":[32,176,47],"m":"jsr","oa":12208,"o":"write_tile"},{"a":11629,"t":"code","b":[96],"m":"rts"},{"a":11630,"t":"gap","n":2},{"a":11632,"l":"try_start_apple_slide","c":"A type-5 block with open space ahead selects the Bad Apple\u2019s graphics and branches to the common slide setup at $2D34.","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pushed_tile","x":[11560,11566]},{"a":11634,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":11636,"t":"code","b":[208,14],"m":"bne","oa":11652,"o":"crush_blocked_cherry"},{"a":11638,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"beyond_pushed_tile"},{"a":11640,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":11642,"t":"code","b":[208,8],"m":"bne","oa":11652,"o":"crush_blocked_cherry"},{"a":11644,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":11646,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"sliding_glyph_bias"},{"a":11648,"t":"code","b":[240,178],"m":"beq","oa":11572,"o":"b_2D34"},{"a":11650,"t":"gap","n":2},{"a":11652,"l":"crush_blocked_cherry","c":"A type-4 block with an occupied cell beyond it starts a 32-tick crush, records its screen pointer, and scores for the cherry.","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pushed_tile","x":[11636,11642]},{"a":11654,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":11656,"t":"code","b":[208,54],"m":"bne","oa":11712,"o":"return_without_push"},{"a":11658,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"beyond_pushed_tile"},{"a":11660,"t":"code","b":[240,50],"m":"beq","oa":11712,"o":"return_without_push"},{"a":11662,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":11664,"t":"code","b":[134,104],"m":"stx","oa":104,"o":"crush_column"},{"a":11666,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":11668,"t":"code","b":[132,105],"m":"sty","oa":105,"o":"crush_row"},{"a":11670,"t":"code","b":[32,176,51],"m":"jsr","oa":13232,"o":"draw_cherry_block"},{"a":11673,"t":"code","b":[165,216],"m":"lda","oa":216,"o":"screen_ptr_low"},{"a":11675,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"crush_screen_low"},{"a":11677,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":11679,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"crush_screen_high"},{"a":11681,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":11683,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"crush_ticks"},{"a":11685,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":11687,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":11689,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":11691,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"effect_pitch_delta"},{"a":11693,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":11695,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":11697,"t":"code","b":[32,0,27],"m":"jsr","oa":6912,"o":"award_cherry"},{"a":11700,"t":"code","b":[96],"m":"rts"},{"a":11701,"t":"gap","n":11},{"a":11712,"l":"return_without_push","c":"Exits the push dispatcher for a blocked apple or an unsupported tile type.","t":"code","b":[96],"m":"rts","x":[11656,11660]},{"a":11713,"t":"gap","n":63},{"a":11776,"l":"select_metatile_attributes","c":"Returns the constant attribute for space and apple or cherry blocks. Uses a row palette for the other tiles, offset by twelve rows in round transition state 3.","t":"code","b":[224,0],"m":"cpx","o":"#$00","x":[10785,10798]},{"a":11778,"t":"code","b":[240,4],"m":"beq","oa":11784,"o":"b_2E08"},{"a":11780,"t":"code","b":[224,4],"m":"cpx","o":"#$04"},{"a":11782,"t":"code","b":[144,4],"m":"bcc","oa":11788,"o":"b_2E0C"},{"a":11784,"l":"b_2E08","t":"code","b":[189,160,24],"m":"lda","oa":6304,"o":"orchard_color_constants,x","x":[11778]},{"a":11787,"t":"code","b":[96],"m":"rts"},{"a":11788,"l":"b_2E0C","t":"code","b":[165,220],"m":"lda","oa":220,"o":"arithmetic_scratch","x":[11782]},{"a":11790,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11791,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11792,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11793,"t":"code","b":[133,255],"m":"sta","oa":255,"o":"zpa_FF"},{"a":11795,"t":"code","b":[152],"m":"tya"},{"a":11796,"t":"code","b":[72],"m":"pha"},{"a":11797,"t":"code","b":[164,255],"m":"ldy","oa":255,"o":"zpa_FF"},{"a":11799,"t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state"},{"a":11801,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":11803,"t":"code","b":[208,5],"m":"bne","oa":11810,"o":"b_2E22"},{"a":11805,"t":"code","b":[152],"m":"tya"},{"a":11806,"t":"code","b":[24],"m":"clc"},{"a":11807,"t":"code","b":[105,12],"m":"adc","o":"#$0C"},{"a":11809,"t":"code","b":[168],"m":"tay"},{"a":11810,"l":"b_2E22","t":"code","b":[185,208,52],"m":"lda","oa":13520,"o":"orchard_row_palettes,y","x":[11803]},{"a":11813,"t":"code","b":[133,255],"m":"sta","oa":255,"o":"zpa_FF"},{"a":11815,"t":"code","b":[104],"m":"pla"},{"a":11816,"t":"code","b":[168],"m":"tay"},{"a":11817,"t":"code","b":[165,255],"m":"lda","oa":255,"o":"zpa_FF"},{"a":11819,"t":"code","b":[96],"m":"rts"},{"a":11820,"l":"update_player_direction","c":"Between tile boundaries allows only the current axis and filters the joystick through it. At a tile boundary checks all four neighbors and records a blocked direction with bit 7 set for the push logic.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[9098]},{"a":11822,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":11824,"t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x"},{"a":11827,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":11829,"t":"code","b":[208,11],"m":"bne","oa":11842,"o":"b_2E42"},{"a":11831,"t":"code","b":[173,104,3],"m":"lda","oa":872,"o":"actor_y"},{"a":11834,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":11836,"t":"code","b":[240,18],"m":"beq","oa":11856,"o":"resolve_player_at_junction"},{"a":11838,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":11840,"t":"code","b":[208,2],"m":"bne","oa":11844,"o":"b_2E44"},{"a":11842,"l":"b_2E42","t":"code","b":[169,12],"m":"lda","o":"#$0C","x":[11829]},{"a":11844,"l":"b_2E44","t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions","x":[11840]},{"a":11846,"t":"code","b":[32,72,38],"m":"jsr","oa":9800,"o":"filter_player_input"},{"a":11849,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"filtered_direction_bits"},{"a":11851,"t":"code","b":[32,52,38],"m":"jsr","oa":9780,"o":"set_player_direction"},{"a":11854,"t":"code","b":[96],"m":"rts"},{"a":11855,"t":"gap","n":1},{"a":11856,"l":"resolve_player_at_junction","c":"At a tile boundary, reads the controller and tests the four neighboring tiles. Stores a legal direction when one is requested. With a blocked direction, keeps the intended facing with bit 7 set so a fire press can push the obstacle.","t":"code","b":[32,0,49],"m":"jsr","oa":12544,"o":"scan_controls","x":[11836]},{"a":11859,"t":"code","b":[133,236],"m":"sta","oa":236,"o":"filtered_direction_bits"},{"a":11861,"t":"code","b":[32,160,46],"m":"jsr","oa":11936,"o":"find_player_exits"},{"a":11864,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":11866,"t":"code","b":[37,236],"m":"and","oa":236,"o":"filtered_direction_bits"},{"a":11868,"t":"code","b":[32,0,38],"m":"jsr","oa":9728,"o":"choose_player_direction"},{"a":11871,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":11873,"t":"code","b":[240,4],"m":"beq","oa":11879,"o":"b_2E67"},{"a":11875,"t":"code","b":[141,112,3],"m":"sta","oa":880,"o":"actor_direction"},{"a":11878,"t":"code","b":[96],"m":"rts"},{"a":11879,"l":"b_2E67","t":"code","b":[165,236],"m":"lda","oa":236,"o":"filtered_direction_bits","x":[11873]},{"a":11881,"t":"code","b":[32,0,38],"m":"jsr","oa":9728,"o":"choose_player_direction"},{"a":11884,"t":"code","b":[48,6],"m":"bmi","oa":11892,"o":"b_2E74"},{"a":11886,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":11888,"t":"code","b":[141,112,3],"m":"sta","oa":880,"o":"actor_direction"},{"a":11891,"t":"code","b":[96],"m":"rts"},{"a":11892,"l":"b_2E74","t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction","x":[11884]},{"a":11895,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":11897,"t":"code","b":[141,112,3],"m":"sta","oa":880,"o":"actor_direction"},{"a":11900,"t":"code","b":[96],"m":"rts"},{"a":11901,"t":"gap","n":3},{"a":11904,"l":"step_player_position","c":"On even frame counts, moves the player one position unit (two display pixels) in its direction if the direction\u2019s high bit is clear.","t":"code","b":[165,231],"m":"lda","oa":231,"o":"video_tick","x":[9101]},{"a":11906,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":11908,"t":"code","b":[208,25],"m":"bne","oa":11935,"o":"r_2E9F"},{"a":11910,"t":"code","b":[174,112,3],"m":"ldx","oa":880,"o":"actor_direction"},{"a":11913,"t":"code","b":[48,20],"m":"bmi","oa":11935,"o":"r_2E9F"},{"a":11915,"t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x"},{"a":11918,"t":"code","b":[24],"m":"clc"},{"a":11919,"t":"code","b":[125,248,62],"m":"adc","oa":16120,"o":"direction_delta_x,x"},{"a":11922,"t":"code","b":[141,96,3],"m":"sta","oa":864,"o":"actor_x"},{"a":11925,"t":"code","b":[173,104,3],"m":"lda","oa":872,"o":"actor_y"},{"a":11928,"t":"code","b":[24],"m":"clc"},{"a":11929,"t":"code","b":[125,252,62],"m":"adc","oa":16124,"o":"direction_delta_y,x"},{"a":11932,"t":"code","b":[141,104,3],"m":"sta","oa":872,"o":"actor_y"},{"a":11935,"l":"r_2E9F","t":"code","b":[96],"m":"rts","x":[11908,11913]},{"a":11936,"l":"find_player_exits","c":"Makes a joystick-style mask from the adjacent cells. Allows space, soil and normal cherries and leaves apples and sliding blocks out.","t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x","x":[11861]},{"a":11939,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11940,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11941,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11942,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":11944,"t":"code","b":[173,104,3],"m":"lda","oa":872,"o":"actor_y"},{"a":11947,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11948,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11949,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":11950,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":11952,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":11954,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":11956,"t":"code","b":[232],"m":"inx"},{"a":11957,"t":"code","b":[224,16],"m":"cpx","o":"#$10"},{"a":11959,"t":"code","b":[240,13],"m":"beq","oa":11974,"o":"b_2EC6"},{"a":11961,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":11964,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":11966,"t":"code","b":[176,6],"m":"bcs","oa":11974,"o":"b_2EC6"},{"a":11968,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":11970,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":11972,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":11974,"l":"b_2EC6","t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x","x":[11959,11966]},{"a":11976,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":11978,"t":"code","b":[202],"m":"dex"},{"a":11979,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":11981,"t":"code","b":[240,13],"m":"beq","oa":11996,"o":"b_2EDC"},{"a":11983,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":11986,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":11988,"t":"code","b":[176,6],"m":"bcs","oa":11996,"o":"b_2EDC"},{"a":11990,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":11992,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":11994,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":11996,"l":"b_2EDC","t":"code","b":[234],"m":"nop","x":[11981,11988]},{"a":11997,"t":"code","b":[234],"m":"nop"},{"a":11998,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":12000,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":12002,"t":"code","b":[200],"m":"iny"},{"a":12003,"t":"code","b":[192,12],"m":"cpy","o":"#$0C"},{"a":12005,"t":"code","b":[240,13],"m":"beq","oa":12020,"o":"b_2EF4"},{"a":12007,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":12010,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":12012,"t":"code","b":[176,6],"m":"bcs","oa":12020,"o":"b_2EF4"},{"a":12014,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":12016,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":12018,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":12020,"l":"b_2EF4","t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x","x":[12005,12012]},{"a":12022,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":12024,"t":"code","b":[136],"m":"dey"},{"a":12025,"t":"code","b":[192,16],"m":"cpy","o":"#$10"},{"a":12027,"t":"code","b":[240,13],"m":"beq","oa":12042,"o":"r_2F0A"},{"a":12029,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":12032,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":12034,"t":"code","b":[176,6],"m":"bcs","oa":12042,"o":"r_2F0A"},{"a":12036,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"legal_directions"},{"a":12038,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":12040,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"legal_directions"},{"a":12042,"l":"r_2F0A","t":"code","b":[96],"m":"rts","x":[12027,12034]},{"a":12043,"t":"gap","n":5},{"a":12048,"l":"check_tile_bounds","c":"Sets carry if X is at least 16 or Y at least 12. Unsigned comparisons also reject coordinates that have wrapped below zero.","t":"code","b":[192,12],"m":"cpy","o":"#$0C","x":[12160]},{"a":12050,"t":"code","b":[144,2],"m":"bcc","oa":12054,"o":"b_2F16"},{"a":12052,"t":"code","b":[56],"m":"sec"},{"a":12053,"t":"code","b":[96],"m":"rts"},{"a":12054,"l":"b_2F16","t":"code","b":[224,16],"m":"cpx","o":"#$10","x":[12050]},{"a":12056,"t":"code","b":[144,2],"m":"bcc","oa":12060,"o":"b_2F1C"},{"a":12058,"t":"code","b":[56],"m":"sec"},{"a":12059,"t":"code","b":[96],"m":"rts"},{"a":12060,"l":"b_2F1C","t":"code","b":[24],"m":"clc","x":[12056]},{"a":12061,"t":"code","b":[96],"m":"rts"},{"a":12062,"t":"gap","n":18},{"a":12080,"l":"dig_under_player","c":"Clears or collects the tile under the player. If the player is between cells and moving, also visits the other tile overlapped along the direction axis.","t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x","x":[9104]},{"a":12083,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12084,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12085,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12086,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":12088,"t":"code","b":[173,104,3],"m":"lda","oa":872,"o":"actor_y"},{"a":12091,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12092,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12093,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12094,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":12096,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":12098,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":12100,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12102,"t":"code","b":[32,48,37],"m":"jsr","oa":9520,"o":"dig_or_collect_tile"},{"a":12105,"t":"code","b":[173,96,3],"m":"lda","oa":864,"o":"actor_x"},{"a":12108,"t":"code","b":[13,104,3],"m":"ora","oa":872,"o":"actor_y"},{"a":12111,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":12113,"t":"code","b":[240,31],"m":"beq","oa":12146,"o":"r_2F72"},{"a":12115,"t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction"},{"a":12118,"t":"code","b":[48,26],"m":"bmi","oa":12146,"o":"r_2F72"},{"a":12120,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":12122,"t":"code","b":[208,11],"m":"bne","oa":12135,"o":"b_2F67"},{"a":12124,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":12126,"t":"code","b":[232],"m":"inx"},{"a":12127,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":12129,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12131,"t":"code","b":[32,48,37],"m":"jsr","oa":9520,"o":"dig_or_collect_tile"},{"a":12134,"t":"code","b":[96],"m":"rts"},{"a":12135,"l":"b_2F67","t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x","x":[12122]},{"a":12137,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":12139,"t":"code","b":[200],"m":"iny"},{"a":12140,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12142,"t":"code","b":[32,48,37],"m":"jsr","oa":9520,"o":"dig_or_collect_tile"},{"a":12145,"t":"code","b":[96],"m":"rts"},{"a":12146,"l":"r_2F72","t":"code","b":[96],"m":"rts","x":[12113,12118]},{"a":12147,"t":"gap","n":1},{"a":12148,"l":"stop_player_motion","c":"Sets the high bit of the player direction byte while preserving the direction index.","t":"code","b":[173,112,3],"m":"lda","oa":880,"o":"actor_direction"},{"a":12151,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":12153,"t":"code","b":[141,112,3],"m":"sta","oa":880,"o":"actor_direction"},{"a":12156,"t":"code","b":[96],"m":"rts"},{"a":12157,"t":"gap","n":3},{"a":12160,"l":"read_tile","c":"Returns map nibble (X,Y) in A. Even columns use the high nibble of $0600 + 8*Y + floor(X/2). An out-of-range coordinate returns $0F.","t":"code","b":[32,16,47],"m":"jsr","oa":12048,"o":"check_tile_bounds","x":[7327,7349,7373,7395,9265,9524,10094,10124,10157,11512,11547,11961,11983,12007,12029,13024]},{"a":12163,"t":"code","b":[144,7],"m":"bcc","oa":12172,"o":"extract_tile_nibble"},{"a":12165,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":12167,"t":"code","b":[96],"m":"rts"},{"a":12168,"l":"tile_reader_nops","c":"Four NOPs lie between the out-of-bounds return and the branch target for valid coordinates.","t":"code","b":[234],"m":"nop"},{"a":12169,"t":"code","b":[234],"m":"nop"},{"a":12170,"t":"code","b":[234],"m":"nop"},{"a":12171,"t":"code","b":[234],"m":"nop"},{"a":12172,"l":"extract_tile_nibble","c":"Computes the packed row offset and extracts the high nibble for an even column or the low nibble for an odd one.","t":"code","b":[138],"m":"txa","x":[12163]},{"a":12173,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12174,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":12176,"t":"code","b":[152],"m":"tya"},{"a":12177,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12178,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12179,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12180,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":12182,"t":"code","b":[24],"m":"clc"},{"a":12183,"t":"code","b":[101,220],"m":"adc","oa":220,"o":"arithmetic_scratch"},{"a":12185,"t":"code","b":[168],"m":"tay"},{"a":12186,"t":"code","b":[138],"m":"txa"},{"a":12187,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":12189,"t":"code","b":[208,10],"m":"bne","oa":12201,"o":"b_2FA9"},{"a":12191,"t":"code","b":[185,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,y"},{"a":12194,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":12196,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12197,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12198,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12199,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12200,"t":"code","b":[96],"m":"rts"},{"a":12201,"l":"b_2FA9","t":"code","b":[185,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,y","x":[12189]},{"a":12204,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":12206,"t":"code","b":[96],"m":"rts"},{"a":12207,"t":"gap","n":1},{"a":12208,"l":"write_tile","c":"Writes A into the nibble at map coordinate X,Y while preserving its neighbor in the same byte. The caller supplies a valid coordinate.","t":"code","b":[72],"m":"pha","x":[7285,9299,9343,9541,9672,11626,13124]},{"a":12209,"t":"code","b":[138],"m":"txa"},{"a":12210,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12211,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":12213,"t":"code","b":[152],"m":"tya"},{"a":12214,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12215,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12216,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12217,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":12219,"t":"code","b":[24],"m":"clc"},{"a":12220,"t":"code","b":[101,220],"m":"adc","oa":220,"o":"arithmetic_scratch"},{"a":12222,"t":"code","b":[168],"m":"tay"},{"a":12223,"t":"code","b":[138],"m":"txa"},{"a":12224,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":12226,"t":"code","b":[208,20],"m":"bne","oa":12248,"o":"b_2FD8"},{"a":12228,"t":"code","b":[185,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,y"},{"a":12231,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":12233,"t":"code","b":[153,0,6],"m":"sta","oa":1536,"o":"mutable_orchard,y"},{"a":12236,"t":"code","b":[104],"m":"pla"},{"a":12237,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12238,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12239,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12240,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12241,"t":"code","b":[25,0,6],"m":"ora","oa":1536,"o":"mutable_orchard,y"},{"a":12244,"t":"code","b":[153,0,6],"m":"sta","oa":1536,"o":"mutable_orchard,y"},{"a":12247,"t":"code","b":[96],"m":"rts"},{"a":12248,"l":"b_2FD8","t":"code","b":[185,0,6],"m":"lda","oa":1536,"o":"mutable_orchard,y","x":[12226]},{"a":12251,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":12253,"t":"code","b":[153,0,6],"m":"sta","oa":1536,"o":"mutable_orchard,y"},{"a":12256,"t":"code","b":[104],"m":"pla"},{"a":12257,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":12259,"t":"code","b":[25,0,6],"m":"ora","oa":1536,"o":"mutable_orchard,y"},{"a":12262,"t":"code","b":[153,0,6],"m":"sta","oa":1536,"o":"mutable_orchard,y"},{"a":12265,"t":"code","b":[96],"m":"rts"},{"a":12266,"t":"gap","n":12},{"a":12278,"l":"spare_color_bytes","c":"Two $79 bytes between the tile helpers and the draw queue. The actor draw queue loads the same color as an immediate value at $3079.","t":"byte","b":[121,121]},{"a":12280,"t":"gap","n":8},{"a":12288,"l":"queue_actor_cells","c":"Converts player and enemy positions into screen pointers. Uses the movement axis and the half-cell phase to select a drawing record. Appends the record's screen addresses, glyphs and attributes to the draw buffer.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[9140]},{"a":12290,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"draw_queue_index"},{"a":12292,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":12294,"l":"j_3006","t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x","x":[12427]},{"a":12297,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":12299,"t":"code","b":[240,123],"m":"beq","oa":12424,"o":"b_3088"},{"a":12301,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":12303,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":12305,"t":"code","b":[144,7],"m":"bcc","oa":12314,"o":"b_301A"},{"a":12307,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":12310,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":12312,"t":"code","b":[16,5],"m":"bpl","oa":12319,"o":"b_301F"},{"a":12314,"l":"b_301A","t":"code","b":[189,96,3],"m":"lda","oa":864,"o":"actor_x,x","x":[12305]},{"a":12317,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":12319,"l":"b_301F","t":"code","b":[72],"m":"pha","x":[12312]},{"a":12320,"t":"code","b":[189,104,3],"m":"lda","oa":872,"o":"actor_y,x"},{"a":12323,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12324,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12325,"t":"code","b":[168],"m":"tay"},{"a":12326,"t":"code","b":[185,80,24],"m":"lda","oa":6224,"o":"screen_row_low,y"},{"a":12329,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":12331,"t":"code","b":[185,104,24],"m":"lda","oa":6248,"o":"screen_row_high,y"},{"a":12334,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":12336,"t":"code","b":[189,96,3],"m":"lda","oa":864,"o":"actor_x,x"},{"a":12339,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12340,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12341,"t":"code","b":[24],"m":"clc"},{"a":12342,"t":"code","b":[101,216],"m":"adc","oa":216,"o":"screen_ptr_low"},{"a":12344,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":12346,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":12348,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":12350,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":12352,"t":"code","b":[189,112,3],"m":"lda","oa":880,"o":"actor_direction,x"},{"a":12355,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":12357,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":12359,"t":"code","b":[144,2],"m":"bcc","oa":12363,"o":"b_304B"},{"a":12361,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":12363,"l":"b_304B","t":"code","b":[10],"m":"asl","o":"a","x":[12359]},{"a":12364,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":12366,"t":"code","b":[104],"m":"pla"},{"a":12367,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12368,"t":"code","b":[5,220],"m":"ora","oa":220,"o":"arithmetic_scratch"},{"a":12370,"t":"code","b":[168],"m":"tay"},{"a":12371,"t":"code","b":[134,220],"m":"stx","oa":220,"o":"arithmetic_scratch"},{"a":12373,"t":"code","b":[185,134,62],"m":"lda","oa":16006,"o":"actor_draw_end,y"},{"a":12376,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"second_ptr_high"},{"a":12378,"t":"code","b":[185,128,62],"m":"lda","oa":16000,"o":"actor_draw_start,y"},{"a":12381,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"second_ptr_low"},{"a":12383,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"draw_queue_index"},{"a":12385,"t":"code","b":[166,218],"m":"ldx","oa":218,"o":"second_ptr_low"},{"a":12387,"l":"b_3063","t":"code","b":[32,144,48],"m":"jsr","oa":12432,"o":"choose_actor_glyph","x":[12418]},{"a":12390,"t":"code","b":[153,32,4],"m":"sta","oa":1056,"o":"queued_screen_glyph,y"},{"a":12393,"t":"code","b":[189,170,62],"m":"lda","oa":16042,"o":"actor_draw_offsets,x"},{"a":12396,"t":"code","b":[24],"m":"clc"},{"a":12397,"t":"code","b":[101,216],"m":"adc","oa":216,"o":"screen_ptr_low"},{"a":12399,"t":"code","b":[153,128,3],"m":"sta","oa":896,"o":"queued_screen_low,y"},{"a":12402,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":12404,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":12406,"t":"code","b":[153,208,3],"m":"sta","oa":976,"o":"queued_screen_high,y"},{"a":12409,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":12411,"t":"code","b":[153,112,4],"m":"sta","oa":1136,"o":"queued_screen_color,y"},{"a":12414,"t":"code","b":[232],"m":"inx"},{"a":12415,"t":"code","b":[200],"m":"iny"},{"a":12416,"t":"code","b":[228,219],"m":"cpx","oa":219,"o":"second_ptr_high"},{"a":12418,"t":"code","b":[208,223],"m":"bne","oa":12387,"o":"b_3063"},{"a":12420,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"draw_queue_index"},{"a":12422,"t":"code","b":[166,220],"m":"ldx","oa":220,"o":"arithmetic_scratch"},{"a":12424,"l":"b_3088","t":"code","b":[202],"m":"dex","x":[12299]},{"a":12425,"t":"code","b":[48,3],"m":"bmi","oa":12430,"o":"r_308E"},{"a":12427,"t":"code","b":[76,6,48],"m":"jmp","oa":12294,"o":"j_3006"},{"a":12430,"l":"r_308E","t":"code","b":[96],"m":"rts","x":[12425]},{"a":12431,"t":"gap","n":1},{"a":12432,"l":"choose_actor_glyph","c":"Gets a base strawberry glyph from the drawing table. For any nonzero actor slot, adds $1E to select the Acid Apple version.","t":"code","b":[189,140,62],"m":"lda","oa":16012,"o":"strawberry_draw_glyphs,x","x":[12387]},{"a":12435,"t":"code","b":[72],"m":"pha"},{"a":12436,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"arithmetic_scratch"},{"a":12438,"t":"code","b":[240,5],"m":"beq","oa":12445,"o":"b_309D"},{"a":12440,"t":"code","b":[104],"m":"pla"},{"a":12441,"t":"code","b":[24],"m":"clc"},{"a":12442,"t":"code","b":[105,30],"m":"adc","o":"#$1E"},{"a":12444,"t":"code","b":[96],"m":"rts"},{"a":12445,"l":"b_309D","t":"code","b":[104],"m":"pla","x":[12438]},{"a":12446,"t":"code","b":[96],"m":"rts"},{"a":12447,"t":"gap","n":1},{"a":12448,"l":"erase_previous_actor_cells","c":"Clears the screen codes at the previous draw buffer's addresses. Sets the queue count to $FF when done.","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"draw_queue_index","x":[9092]},{"a":12450,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":12452,"t":"code","b":[240,19],"m":"beq","oa":12473,"o":"b_30B9"},{"a":12454,"l":"b_30A6","t":"code","b":[189,128,3],"m":"lda","oa":896,"o":"queued_screen_low,x","x":[12471]},{"a":12457,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":12459,"t":"code","b":[189,208,3],"m":"lda","oa":976,"o":"queued_screen_high,x"},{"a":12462,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":12464,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":12466,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12468,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":12470,"t":"code","b":[202],"m":"dex"},{"a":12471,"t":"code","b":[16,237],"m":"bpl","oa":12454,"o":"b_30A6"},{"a":12473,"l":"b_30B9","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[12452]},{"a":12475,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"draw_queue_index"},{"a":12477,"t":"code","b":[96],"m":"rts"},{"a":12478,"t":"gap","n":2},{"a":12480,"l":"flush_actor_cells","c":"Writes each queued glyph and attribute at the stored screen pointer, from the last record back to the first.","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"draw_queue_index","x":[9146]},{"a":12482,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":12484,"t":"code","b":[240,31],"m":"beq","oa":12517,"o":"r_30E5"},{"a":12486,"l":"b_30C6","t":"code","b":[189,128,3],"m":"lda","oa":896,"o":"queued_screen_low,x","x":[12515]},{"a":12489,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":12491,"t":"code","b":[189,208,3],"m":"lda","oa":976,"o":"queued_screen_high,x"},{"a":12494,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":12496,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":12498,"t":"code","b":[189,32,4],"m":"lda","oa":1056,"o":"queued_screen_glyph,x"},{"a":12501,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":12503,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":12505,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":12507,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":12509,"t":"code","b":[189,112,4],"m":"lda","oa":1136,"o":"queued_screen_color,x"},{"a":12512,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":12514,"t":"code","b":[202],"m":"dex"},{"a":12515,"t":"code","b":[16,225],"m":"bpl","oa":12486,"o":"b_30C6"},{"a":12517,"l":"r_30E5","t":"code","b":[96],"m":"rts","x":[12484]},{"a":12518,"t":"gap","n":26},{"a":12544,"l":"scan_controls","c":"Reads TED with the port 1 select bit low and merges four keys from the keyboard matrix into the active-low direction bits. Returns the four directions active high and the fire signal active low in bit 7 of $F6.","t":"code","b":[120],"m":"sei","x":[8768,9800,11856]},{"a":12545,"t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":12547,"t":"code","b":[141,48,253],"m":"sta","o":"keyboard_latch"},{"a":12550,"t":"code","b":[141,8,255],"m":"sta","o":"ted_keyboard"},{"a":12553,"t":"code","b":[173,8,255],"m":"lda","o":"ted_keyboard"},{"a":12556,"t":"code","b":[168],"m":"tay"},{"a":12557,"t":"code","b":[234],"m":"nop"},{"a":12558,"t":"code","b":[169,253],"m":"lda","o":"#$FD"},{"a":12560,"t":"code","b":[141,48,253],"m":"sta","o":"keyboard_latch"},{"a":12563,"t":"code","b":[141,8,255],"m":"sta","o":"ted_keyboard"},{"a":12566,"t":"code","b":[173,8,255],"m":"lda","o":"ted_keyboard"},{"a":12569,"t":"code","b":[72],"m":"pha"},{"a":12570,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":12572,"t":"code","b":[208,4],"m":"bne","oa":12578,"o":"b_3122"},{"a":12574,"t":"code","b":[152],"m":"tya"},{"a":12575,"t":"code","b":[41,253],"m":"and","o":"#$FD"},{"a":12577,"t":"code","b":[168],"m":"tay"},{"a":12578,"l":"b_3122","t":"code","b":[104],"m":"pla","x":[12572]},{"a":12579,"t":"code","b":[72],"m":"pha"},{"a":12580,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":12582,"t":"code","b":[208,4],"m":"bne","oa":12588,"o":"b_312C"},{"a":12584,"t":"code","b":[152],"m":"tya"},{"a":12585,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":12587,"t":"code","b":[168],"m":"tay"},{"a":12588,"l":"b_312C","t":"code","b":[104],"m":"pla","x":[12582]},{"a":12589,"t":"code","b":[72],"m":"pha"},{"a":12590,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":12592,"t":"code","b":[208,4],"m":"bne","oa":12598,"o":"b_3136"},{"a":12594,"t":"code","b":[152],"m":"tya"},{"a":12595,"t":"code","b":[41,251],"m":"and","o":"#$FB"},{"a":12597,"t":"code","b":[168],"m":"tay"},{"a":12598,"l":"b_3136","t":"code","b":[104],"m":"pla","x":[12592]},{"a":12599,"t":"code","b":[72],"m":"pha"},{"a":12600,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":12602,"t":"code","b":[208,4],"m":"bne","oa":12608,"o":"b_3140"},{"a":12604,"t":"code","b":[152],"m":"tya"},{"a":12605,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":12607,"t":"code","b":[168],"m":"tay"},{"a":12608,"l":"b_3140","t":"code","b":[104],"m":"pla","x":[12602]},{"a":12609,"t":"code","b":[152],"m":"tya"},{"a":12610,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":12612,"t":"code","b":[133,246],"m":"sta","oa":246,"o":"controller_bits"},{"a":12614,"t":"code","b":[234],"m":"nop"},{"a":12615,"t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":12617,"t":"code","b":[141,48,253],"m":"sta","o":"keyboard_latch"},{"a":12620,"t":"code","b":[141,8,255],"m":"sta","o":"ted_keyboard"},{"a":12623,"t":"code","b":[173,8,255],"m":"lda","o":"ted_keyboard"},{"a":12626,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":12628,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12629,"t":"code","b":[5,246],"m":"ora","oa":246,"o":"controller_bits"},{"a":12631,"t":"code","b":[73,15],"m":"eor","o":"#$0F"},{"a":12633,"t":"code","b":[133,246],"m":"sta","oa":246,"o":"controller_bits"},{"a":12635,"t":"code","b":[88],"m":"cli"},{"a":12636,"t":"code","b":[96],"m":"rts"},{"a":12637,"t":"gap","n":2},{"a":12639,"l":"prepare_next_round","c":"Advances the stage and difficulty, wraps the layout index after five, draws layout index plus one and saves the area hidden by the interlude. Loads sixteen fruit-coordinate bytes before falling through to the player and enemy reset.","t":"code","b":[32,176,27],"m":"jsr","oa":7088,"o":"advance_level_and_difficulty","x":[8804,9176]},{"a":12642,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"layout_index"},{"a":12644,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":12646,"t":"code","b":[208,4],"m":"bne","oa":12652,"o":"b_316C"},{"a":12648,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12650,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"layout_index"},{"a":12652,"l":"b_316C","t":"code","b":[166,229],"m":"ldx","oa":229,"o":"layout_index","x":[12646]},{"a":12654,"t":"code","b":[232],"m":"inx"},{"a":12655,"t":"code","b":[32,64,41],"m":"jsr","oa":10560,"o":"draw_layout"},{"a":12658,"t":"code","b":[32,58,35],"m":"jsr","oa":9018,"o":"save_round_interlude_panel"},{"a":12661,"t":"code","b":[234],"m":"nop"},{"a":12662,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":12664,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"draw_queue_index"},{"a":12666,"t":"code","b":[234],"m":"nop"},{"a":12667,"t":"code","b":[234],"m":"nop"},{"a":12668,"t":"code","b":[234],"m":"nop"},{"a":12669,"t":"code","b":[234],"m":"nop"},{"a":12670,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"layout_index"},{"a":12672,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12673,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12674,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12675,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12676,"t":"code","b":[168],"m":"tay"},{"a":12677,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":12679,"l":"b_3187","t":"code","b":[185,160,55],"m":"lda","oa":14240,"o":"layout_one_fruit_coordinates,y","x":[12689]},{"a":12682,"t":"code","b":[157,64,3],"m":"sta","oa":832,"o":"fruit_x,x"},{"a":12685,"t":"code","b":[200],"m":"iny"},{"a":12686,"t":"code","b":[232],"m":"inx"},{"a":12687,"t":"code","b":[224,16],"m":"cpx","o":"#$10"},{"a":12689,"t":"code","b":[208,244],"m":"bne","oa":12679,"o":"b_3187"},{"a":12691,"t":"code","b":[234],"m":"nop"},{"a":12692,"l":"reset_actor_state","c":"Clears motion and deactivates the fruit and enemy slots, puts the player at (56,8), resets effects and the enemy accumulator, and initializes the bonus to 599, 799 or 999 according to the round's state.","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[8026]},{"a":12694,"l":"b_3196","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[12710]},{"a":12696,"t":"code","b":[157,80,3],"m":"sta","oa":848,"o":"fruit_dx,x"},{"a":12699,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12701,"t":"code","b":[157,96,3],"m":"sta","oa":864,"o":"actor_x,x"},{"a":12704,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":12706,"t":"code","b":[157,112,3],"m":"sta","oa":880,"o":"actor_direction,x"},{"a":12709,"t":"code","b":[202],"m":"dex"},{"a":12710,"t":"code","b":[16,238],"m":"bpl","oa":12694,"o":"b_3196"},{"a":12712,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":12714,"t":"code","b":[141,96,3],"m":"sta","oa":864,"o":"actor_x"},{"a":12717,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":12719,"t":"code","b":[141,104,3],"m":"sta","oa":872,"o":"actor_y"},{"a":12722,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":12724,"t":"code","b":[141,112,3],"m":"sta","oa":880,"o":"actor_direction"},{"a":12727,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":12729,"t":"code","b":[141,17,255],"m":"sta","o":"ted_sound"},{"a":12732,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12734,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"crush_ticks"},{"a":12736,"t":"code","b":[133,108],"m":"sta","oa":108,"o":"ball_state"},{"a":12738,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"effect_pitch"},{"a":12740,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"effect_pitch_delta"},{"a":12742,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"effect_ticks"},{"a":12744,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":12746,"l":"b_31CA","t":"code","b":[189,104,52],"m":"lda","oa":13416,"o":"initial_spawn_delays,x","x":[12753]},{"a":12749,"t":"code","b":[157,240,4],"m":"sta","oa":1264,"o":"enemy_spawn_timers,x"},{"a":12752,"t":"code","b":[202],"m":"dex"},{"a":12753,"t":"code","b":[208,247],"m":"bne","oa":12746,"o":"b_31CA"},{"a":12755,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12757,"t":"code","b":[133,135],"m":"sta","oa":135,"o":"enemy_phase"},{"a":12759,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":12761,"t":"code","b":[133,180],"m":"sta","oa":180,"o":"bonus_divider"},{"a":12763,"t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state"},{"a":12765,"t":"code","b":[24],"m":"clc"},{"a":12766,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":12768,"t":"code","b":[41,6],"m":"and","o":"#$06"},{"a":12770,"t":"code","b":[24],"m":"clc"},{"a":12771,"t":"code","b":[105,31],"m":"adc","o":"#$1F"},{"a":12773,"t":"code","b":[141,58,13],"m":"sta","oa":3386,"o":"bonus_hundreds"},{"a":12776,"t":"code","b":[169,37],"m":"lda","o":"#$25"},{"a":12778,"t":"code","b":[141,59,13],"m":"sta","oa":3387,"o":"bonus_tens"},{"a":12781,"t":"code","b":[141,60,13],"m":"sta","oa":3388,"o":"bonus_units"},{"a":12784,"t":"code","b":[96],"m":"rts"},{"a":12785,"t":"gap","n":15},{"a":12800,"l":"queue_moving_fruit_cells","c":"Walks eight moving-fruit slots. Uses direction and subcell phase to choose a draw record and appends its addresses and glyphs to the queue, then converts the queue's next index into its last index.","t":"code","b":[234],"m":"nop","x":[9143]},{"a":12801,"t":"code","b":[234],"m":"nop"},{"a":12802,"t":"code","b":[234],"m":"nop"},{"a":12803,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":12805,"l":"j_3205","t":"code","b":[189,120,3],"m":"lda","oa":888,"o":"fruit_direction,x","x":[12935]},{"a":12808,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":12810,"t":"code","b":[240,120],"m":"beq","oa":12932,"o":"b_3284"},{"a":12812,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":12814,"t":"code","b":[144,7],"m":"bcc","oa":12823,"o":"b_3217"},{"a":12816,"t":"code","b":[189,72,3],"m":"lda","oa":840,"o":"fruit_y,x"},{"a":12819,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":12821,"t":"code","b":[16,5],"m":"bpl","oa":12828,"o":"b_321C"},{"a":12823,"l":"b_3217","t":"code","b":[189,64,3],"m":"lda","oa":832,"o":"fruit_x,x","x":[12814]},{"a":12826,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":12828,"l":"b_321C","t":"code","b":[72],"m":"pha","x":[12821]},{"a":12829,"t":"code","b":[189,72,3],"m":"lda","oa":840,"o":"fruit_y,x"},{"a":12832,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12833,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12834,"t":"code","b":[168],"m":"tay"},{"a":12835,"t":"code","b":[185,80,24],"m":"lda","oa":6224,"o":"screen_row_low,y"},{"a":12838,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":12840,"t":"code","b":[185,104,24],"m":"lda","oa":6248,"o":"screen_row_high,y"},{"a":12843,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":12845,"t":"code","b":[189,64,3],"m":"lda","oa":832,"o":"fruit_x,x"},{"a":12848,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12849,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":12850,"t":"code","b":[24],"m":"clc"},{"a":12851,"t":"code","b":[101,216],"m":"adc","oa":216,"o":"screen_ptr_low"},{"a":12853,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":12855,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":12857,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":12859,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":12861,"t":"code","b":[189,120,3],"m":"lda","oa":888,"o":"fruit_direction,x"},{"a":12864,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":12866,"t":"code","b":[10],"m":"asl","o":"a"},{"a":12867,"t":"code","b":[234],"m":"nop"},{"a":12868,"t":"code","b":[234],"m":"nop"},{"a":12869,"t":"code","b":[234],"m":"nop"},{"a":12870,"t":"code","b":[234],"m":"nop"},{"a":12871,"t":"code","b":[234],"m":"nop"},{"a":12872,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":12874,"t":"code","b":[104],"m":"pla"},{"a":12875,"t":"code","b":[234],"m":"nop"},{"a":12876,"t":"code","b":[5,220],"m":"ora","oa":220,"o":"arithmetic_scratch"},{"a":12878,"t":"code","b":[168],"m":"tay"},{"a":12879,"t":"code","b":[134,220],"m":"stx","oa":220,"o":"arithmetic_scratch"},{"a":12881,"t":"code","b":[185,8,52],"m":"lda","oa":13320,"o":"fruit_draw_end,y"},{"a":12884,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"second_ptr_high"},{"a":12886,"t":"code","b":[185,0,52],"m":"lda","oa":13312,"o":"fruit_draw_start,y"},{"a":12889,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"second_ptr_low"},{"a":12891,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"draw_queue_index"},{"a":12893,"t":"code","b":[166,218],"m":"ldx","oa":218,"o":"second_ptr_low"},{"a":12895,"l":"b_325F","t":"code","b":[32,144,50],"m":"jsr","oa":12944,"o":"choose_fruit_glyph","x":[12926]},{"a":12898,"t":"code","b":[153,32,4],"m":"sta","oa":1056,"o":"queued_screen_glyph,y"},{"a":12901,"t":"code","b":[189,60,52],"m":"lda","oa":13372,"o":"fruit_draw_offsets,x"},{"a":12904,"t":"code","b":[24],"m":"clc"},{"a":12905,"t":"code","b":[101,216],"m":"adc","oa":216,"o":"screen_ptr_low"},{"a":12907,"t":"code","b":[153,128,3],"m":"sta","oa":896,"o":"queued_screen_low,y"},{"a":12910,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":12912,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":12914,"t":"code","b":[153,208,3],"m":"sta","oa":976,"o":"queued_screen_high,y"},{"a":12917,"t":"code","b":[32,162,50],"m":"jsr","oa":12962,"o":"choose_fruit_draw_color"},{"a":12920,"t":"code","b":[234],"m":"nop"},{"a":12921,"t":"code","b":[234],"m":"nop"},{"a":12922,"t":"code","b":[232],"m":"inx"},{"a":12923,"t":"code","b":[200],"m":"iny"},{"a":12924,"t":"code","b":[228,219],"m":"cpx","oa":219,"o":"second_ptr_high"},{"a":12926,"t":"code","b":[208,223],"m":"bne","oa":12895,"o":"b_325F"},{"a":12928,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"draw_queue_index"},{"a":12930,"t":"code","b":[166,220],"m":"ldx","oa":220,"o":"arithmetic_scratch"},{"a":12932,"l":"b_3284","t":"code","b":[202],"m":"dex","x":[12810]},{"a":12933,"t":"code","b":[48,3],"m":"bmi","oa":12938,"o":"b_328A"},{"a":12935,"t":"code","b":[76,5,50],"m":"jmp","oa":12805,"o":"j_3205"},{"a":12938,"l":"b_328A","t":"code","b":[198,228],"m":"dec","oa":228,"o":"draw_queue_index","x":[12933]},{"a":12940,"t":"code","b":[96],"m":"rts"},{"a":12941,"t":"gap","n":3},{"a":12944,"l":"choose_fruit_glyph","c":"Gets the glyph from the moving-fruit table. Slot 7 uses the offset in $64 to choose between the sliding Bad Apple and cherry graphics.","t":"code","b":[189,16,52],"m":"lda","oa":13328,"o":"fruit_draw_glyphs,x","x":[12895]},{"a":12947,"t":"code","b":[72],"m":"pha"},{"a":12948,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"arithmetic_scratch"},{"a":12950,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":12952,"t":"code","b":[208,5],"m":"bne","oa":12959,"o":"b_329F"},{"a":12954,"t":"code","b":[104],"m":"pla"},{"a":12955,"t":"code","b":[24],"m":"clc"},{"a":12956,"t":"code","b":[101,100],"m":"adc","oa":100,"o":"sliding_glyph_bias"},{"a":12958,"t":"code","b":[96],"m":"rts"},{"a":12959,"l":"b_329F","t":"code","b":[104],"m":"pla","x":[12952]},{"a":12960,"t":"code","b":[96],"m":"rts"},{"a":12961,"t":"gap","n":1},{"a":12962,"l":"choose_fruit_draw_color","c":"Stores attribute $5A for state 6 and $08 for the other rounds in the queued cell.","t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state","x":[12917]},{"a":12964,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":12966,"t":"code","b":[240,4],"m":"beq","oa":12972,"o":"b_32AC"},{"a":12968,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":12970,"t":"code","b":[208,2],"m":"bne","oa":12974,"o":"b_32AE"},{"a":12972,"l":"b_32AC","t":"code","b":[169,90],"m":"lda","o":"#$5A","x":[12966]},{"a":12974,"l":"b_32AE","t":"code","b":[153,112,4],"m":"sta","oa":1136,"o":"queued_screen_color,y","x":[12970]},{"a":12977,"t":"code","b":[96],"m":"rts"},{"a":12978,"t":"gap","n":13},{"a":12991,"l":"check_bad_apple_gravity","c":"Skips gravity in the block round. For each of the six Bad Apple slots it tests the tile beneath. Empty space starts the fall and seeds the delay on entry to falling state. A blocked tile ends an active fall.","t":"code","b":[165,226],"m":"lda","oa":226,"o":"game_state","x":[9116]},{"a":12993,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":12995,"t":"code","b":[240,98],"m":"beq","oa":13095,"o":"r_3327"},{"a":12997,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":12999,"l":"b_32C7","t":"code","b":[189,64,3],"m":"lda","oa":832,"o":"fruit_x,x","x":[13093]},{"a":13002,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13003,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13004,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13005,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":13007,"t":"code","b":[189,72,3],"m":"lda","oa":840,"o":"fruit_y,x"},{"a":13010,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13011,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13012,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13013,"t":"code","b":[24],"m":"clc"},{"a":13014,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":13016,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":13018,"t":"code","b":[138],"m":"txa"},{"a":13019,"t":"code","b":[72],"m":"pha"},{"a":13020,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":13022,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":13024,"t":"code","b":[32,128,47],"m":"jsr","oa":12160,"o":"read_tile"},{"a":13027,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"arithmetic_scratch"},{"a":13029,"t":"code","b":[104],"m":"pla"},{"a":13030,"t":"code","b":[170],"m":"tax"},{"a":13031,"t":"code","b":[234],"m":"nop"},{"a":13032,"t":"code","b":[234],"m":"nop"},{"a":13033,"t":"code","b":[234],"m":"nop"},{"a":13034,"t":"code","b":[234],"m":"nop"},{"a":13035,"t":"code","b":[234],"m":"nop"},{"a":13036,"t":"code","b":[234],"m":"nop"},{"a":13037,"t":"code","b":[234],"m":"nop"},{"a":13038,"t":"code","b":[234],"m":"nop"},{"a":13039,"t":"code","b":[234],"m":"nop"},{"a":13040,"t":"code","b":[234],"m":"nop"},{"a":13041,"t":"code","b":[234],"m":"nop"},{"a":13042,"t":"code","b":[234],"m":"nop"},{"a":13043,"t":"code","b":[234],"m":"nop"},{"a":13044,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"arithmetic_scratch"},{"a":13046,"t":"code","b":[208,28],"m":"bne","oa":13076,"o":"b_3314"},{"a":13048,"t":"code","b":[165,234],"m":"lda","oa":234,"o":"tile_y"},{"a":13050,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":13052,"t":"code","b":[234],"m":"nop"},{"a":13053,"t":"code","b":[176,21],"m":"bcs","oa":13076,"o":"b_3314"},{"a":13055,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":13057,"t":"code","b":[157,88,3],"m":"sta","oa":856,"o":"fruit_dy,x"},{"a":13060,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":13062,"t":"code","b":[157,80,3],"m":"sta","oa":848,"o":"fruit_dx,x"},{"a":13065,"t":"code","b":[32,112,51],"m":"jsr","oa":13168,"o":"start_fall_delay"},{"a":13068,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":13070,"t":"code","b":[157,120,3],"m":"sta","oa":888,"o":"fruit_direction,x"},{"a":13073,"t":"code","b":[24],"m":"clc"},{"a":13074,"t":"code","b":[144,16],"m":"bcc","oa":13092,"o":"b_3324"},{"a":13076,"l":"b_3314","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[13046,13053]},{"a":13078,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":13080,"t":"code","b":[221,120,3],"m":"cmp","oa":888,"o":"fruit_direction,x"},{"a":13083,"t":"code","b":[240,7],"m":"beq","oa":13092,"o":"b_3324"},{"a":13085,"t":"code","b":[157,120,3],"m":"sta","oa":888,"o":"fruit_direction,x"},{"a":13088,"t":"code","b":[32,216,37],"m":"jsr","oa":9688,"o":"settle_apple_and_end_effect"},{"a":13091,"t":"code","b":[234],"m":"nop"},{"a":13092,"l":"b_3324","t":"code","b":[202],"m":"dex","x":[13074,13083]},{"a":13093,"t":"code","b":[16,160],"m":"bpl","oa":12999,"o":"b_32C7"},{"a":13095,"l":"r_3327","t":"code","b":[96],"m":"rts","x":[12995]},{"a":13096,"t":"gap","n":4},{"a":13100,"l":"settle_falling_apple","c":"Converts the stopped apple's position to a tile, writes the apple code there and redraws the four screen cells.","t":"code","b":[189,64,3],"m":"lda","oa":832,"o":"fruit_x,x","x":[9688]},{"a":13103,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13104,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13105,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13106,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tile_x"},{"a":13108,"t":"code","b":[189,72,3],"m":"lda","oa":840,"o":"fruit_y,x"},{"a":13111,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13112,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13113,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":13114,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"tile_y"},{"a":13116,"t":"code","b":[138],"m":"txa"},{"a":13117,"t":"code","b":[72],"m":"pha"},{"a":13118,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tile_x"},{"a":13120,"t":"code","b":[164,234],"m":"ldy","oa":234,"o":"tile_y"},{"a":13122,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":13124,"t":"code","b":[32,176,47],"m":"jsr","oa":12208,"o":"write_tile"},{"a":13127,"t":"code","b":[32,172,51],"m":"jsr","oa":13228,"o":"draw_bad_apple"},{"a":13130,"t":"code","b":[104],"m":"pla"},{"a":13131,"t":"code","b":[170],"m":"tax"},{"a":13132,"t":"code","b":[96],"m":"rts"},{"a":13133,"t":"gap","n":35},{"a":13168,"l":"start_fall_delay","c":"Gives a newly falling apple a delay of $20. An apple already marked as falling keeps its current timer.","t":"code","b":[189,120,3],"m":"lda","oa":888,"o":"fruit_direction,x","x":[13065]},{"a":13171,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":13173,"t":"code","b":[208,1],"m":"bne","oa":13176,"o":"b_3378"},{"a":13175,"t":"code","b":[96],"m":"rts"},{"a":13176,"l":"b_3378","t":"code","b":[169,32],"m":"lda","o":"#$20","x":[13173]},{"a":13178,"t":"code","b":[157,56,3],"m":"sta","oa":824,"o":"fruit_delays,x"},{"a":13181,"t":"code","b":[96],"m":"rts"},{"a":13182,"t":"gap","n":2},{"a":13184,"l":"move_fruit","c":"Visits the eight active fruit slots from 7 down to 0. A zero delay adds its two velocity bytes to position. A nonzero delay calls the delay routine, which returns directly to the play tick while the wait remains.","t":"code","b":[162,7],"m":"ldx","o":"#$07","x":[9095]},{"a":13186,"l":"b_3382","t":"code","b":[189,120,3],"m":"lda","oa":888,"o":"fruit_direction,x","x":[13219]},{"a":13189,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":13191,"t":"code","b":[240,25],"m":"beq","oa":13218,"o":"b_33A2"},{"a":13193,"t":"code","b":[189,56,3],"m":"lda","oa":824,"o":"fruit_delays,x"},{"a":13196,"t":"code","b":[208,24],"m":"bne","oa":13222,"o":"b_33A6"},{"a":13198,"t":"code","b":[189,64,3],"m":"lda","oa":832,"o":"fruit_x,x"},{"a":13201,"t":"code","b":[24],"m":"clc"},{"a":13202,"t":"code","b":[125,80,3],"m":"adc","oa":848,"o":"fruit_dx,x"},{"a":13205,"t":"code","b":[157,64,3],"m":"sta","oa":832,"o":"fruit_x,x"},{"a":13208,"t":"code","b":[189,72,3],"m":"lda","oa":840,"o":"fruit_y,x"},{"a":13211,"t":"code","b":[24],"m":"clc"},{"a":13212,"t":"code","b":[125,88,3],"m":"adc","oa":856,"o":"fruit_dy,x"},{"a":13215,"t":"code","b":[157,72,3],"m":"sta","oa":840,"o":"fruit_y,x"},{"a":13218,"l":"b_33A2","t":"code","b":[202],"m":"dex","x":[13191,13225]},{"a":13219,"t":"code","b":[16,221],"m":"bpl","oa":13186,"o":"b_3382"},{"a":13221,"t":"code","b":[96],"m":"rts"},{"a":13222,"l":"b_33A6","t":"code","b":[32,144,44],"m":"jsr","oa":11408,"o":"decrement_fruit_delay","x":[13196]},{"a":13225,"t":"code","b":[144,247],"m":"bcc","oa":13218,"o":"b_33A2"},{"a":13227,"t":"gap","n":1},{"a":13228,"l":"draw_bad_apple","c":"Sets the first glyph to $40 for a stationary Bad Apple and enters the shared 2-by-2 draw.","t":"code","b":[162,64],"m":"ldx","o":"#$40","x":[9315,13127]},{"a":13230,"t":"code","b":[208,2],"m":"bne","oa":13234,"o":"draw_four_glyphs"},{"a":13232,"l":"draw_cherry_block","c":"Sets the first glyph to $68 for a stationary cherry block and enters the shared 2-by-2 draw.","t":"code","b":[162,104],"m":"ldx","o":"#$68","x":[9322,11670]},{"a":13234,"l":"draw_four_glyphs","c":"Converts the tile in $E9,$EA to its screen address and writes four consecutive glyphs starting at X. Leaves the address in $D8:$D9 for the attribute routine.","t":"code","b":[152],"m":"tya","x":[13230]},{"a":13235,"t":"code","b":[72],"m":"pha"},{"a":13236,"t":"code","b":[165,234],"m":"lda","oa":234,"o":"tile_y"},{"a":13238,"t":"code","b":[10],"m":"asl","o":"a"},{"a":13239,"t":"code","b":[168],"m":"tay"},{"a":13240,"t":"code","b":[185,80,24],"m":"lda","oa":6224,"o":"screen_row_low,y"},{"a":13243,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":13245,"t":"code","b":[185,104,24],"m":"lda","oa":6248,"o":"screen_row_high,y"},{"a":13248,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":13250,"t":"code","b":[165,233],"m":"lda","oa":233,"o":"tile_x"},{"a":13252,"t":"code","b":[10],"m":"asl","o":"a"},{"a":13253,"t":"code","b":[24],"m":"clc"},{"a":13254,"t":"code","b":[101,216],"m":"adc","oa":216,"o":"screen_ptr_low"},{"a":13256,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"screen_ptr_low"},{"a":13258,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":13260,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":13262,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":13264,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":13266,"t":"code","b":[138],"m":"txa"},{"a":13267,"t":"code","b":[232],"m":"inx"},{"a":13268,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":13270,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":13272,"t":"code","b":[138],"m":"txa"},{"a":13273,"t":"code","b":[232],"m":"inx"},{"a":13274,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":13276,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":13278,"t":"code","b":[138],"m":"txa"},{"a":13279,"t":"code","b":[232],"m":"inx"},{"a":13280,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":13282,"t":"code","b":[160,41],"m":"ldy","o":"#$29"},{"a":13284,"t":"code","b":[138],"m":"txa"},{"a":13285,"t":"code","b":[232],"m":"inx"},{"a":13286,"t":"code","b":[145,216],"m":"sta","oa":216,"o":"(screen_ptr_low),y"},{"a":13288,"t":"code","b":[104],"m":"pla"},{"a":13289,"t":"code","b":[168],"m":"tay"},{"a":13290,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"screen_ptr_high"},{"a":13292,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":13294,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"screen_ptr_high"},{"a":13296,"t":"code","b":[76,0,37],"m":"jmp","oa":9472,"o":"paint_tunnel_attributes"},{"a":13299,"t":"gap","n":13},{"a":13312,"l":"fruit_draw_start","c":"Eight inclusive start indexes into the moving-fruit glyph and offset tables, selected by axis and subcell phase.","t":"byte","b":[0,4,10,16,22,26,32,38],"x":[12886]},{"a":13320,"l":"fruit_draw_end","c":"Eight exclusive end indexes paired with the starts at $3400.","t":"byte","b":[4,10,16,22,26,32,38,44],"x":[12881]},{"a":13328,"l":"fruit_draw_glyphs","c":"44 glyph codes for the pixel phases of moving fruit. Slot 7 adds $64's offset to select its Bad Apple or cherry art.","t":"byte","b":[64,65,66,67,68,69,70,71],"x":[12944]},{"a":13336,"t":"byte","b":[72,73,74,75,76,77,78,79]},{"a":13344,"t":"byte","b":[80,81,82,83,84,85,64,65]},{"a":13352,"t":"byte","b":[66,67,86,87,88,89,90,91]},{"a":13360,"t":"byte","b":[92,93,94,95,96,97,98,99]},{"a":13368,"t":"byte","b":[100,101,102,103]},{"a":13372,"l":"fruit_draw_offsets","c":"44 relative screen offsets paired with the moving-fruit glyphs. Values 40 and above select cells one or two rows below the anchor.","t":"byte","b":[0,1,40,41,0,1,2,40],"x":[12901]},{"a":13380,"t":"byte","b":[41,42,0,1,2,40,41,42]},{"a":13388,"t":"byte","b":[0,1,2,40,41,42,0,1]},{"a":13396,"t":"byte","b":[40,41,0,1,40,41,80,81]},{"a":13404,"t":"byte","b":[0,1,40,41,80,81,0,1]},{"a":13412,"t":"byte","b":[40,41,80,81]},{"a":13416,"l":"initial_spawn_delays","c":"Delay bytes for the actor reset. Slots 1 through 5 start with $20,$30,$40,$50,$60, while indices 6 and 7 start at zero.","t":"byte","b":[0,32,48,64,80,96,0,0],"x":[12746]},{"a":13424,"l":"direction_from_mask","c":"Maps a single direction bit to the direction index, used by the enemy turn selector after sampling a legal exit.","t":"byte","b":[0,2,3,0,0,0,0,0],"x":[7450]},{"a":13432,"t":"byte","b":[1,0,0,0,0,0,0,0]},{"a":13440,"l":"game_over_voice_one","c":"Sixteen low pitch bytes for the first TED voice during Game Over. The countdown reads them in descending index order.","t":"byte","b":[150,150,150,150,150,162,172,177],"x":[7011]},{"a":13448,"t":"byte","b":[150,172,185,150,172,185,172,150]},{"a":13456,"l":"game_over_voice_two","c":"Sixteen low pitch bytes for TED's second voice during Game Over.","t":"byte","b":[44,44,44,44,44,67,88,97],"x":[7020]},{"a":13464,"t":"byte","b":[44,88,115,44,88,115,88,44]},{"a":13472,"l":"game_over_banner","c":"Sixteen screen-code bytes for the Game Over line, including the exclamation marks.","t":"byte","b":[0,7,1,13,5,0,15,22],"x":[7058]},{"a":13480,"t":"byte","b":[5,18,0,38,38,38,38,0]},{"a":13488,"l":"enemy_spawn_quota","c":"Sixteen entries for difficulty indexes 0\u201315. The reserve values of 0\u20138 supplement the five enemy slots scheduled at round setup.","t":"byte","b":[0,1,2,3,3,3,4,4],"x":[7121]},{"a":13496,"t":"byte","b":[5,5,6,6,7,7,7,8]},{"a":13504,"l":"enemy_step_rate","c":"Per-difficulty increment for the enemy movement accumulator. Carry in $1C00 triggers an enemy update.","t":"byte","b":[120,128,136,144,152,160,168,176],"x":[7126]},{"a":13512,"t":"byte","b":[180,184,188,192,196,200,204,208]},{"a":13520,"l":"orchard_row_palettes","c":"Twelve normal row attributes followed by twelve alternate row attributes. State 3 selects the second set for the matching layout.","t":"byte","b":[127,127,127,111,111,111,95,95],"x":[11810]},{"a":13528,"t":"byte","b":[95,79,79,79,124,124,124,108]},{"a":13536,"t":"byte","b":[108,108,92,92,92,76,76,76]},{"a":13544,"l":"high_score_flash_colors","c":"Eight attributes for the current score's row in the high-score table, indexed by the low three frame bits.","t":"byte","b":[33,49,65,81,97,81,65,49],"x":[8628]},{"a":13552,"t":"gap","n":16},{"a":13568,"l":"attract_border_layout","c":"Packed 16-by-12 tile map with a clear center and alternating fruit around the edges. The title routine prints over its center.","t":"byte","b":[71,87,71,87,71,87,71,87]},{"a":13576,"t":"byte","b":[112,0,0,0,0,0,0,4]},{"a":13584,"t":"byte","b":[80,0,0,0,0,0,0,7]},{"a":13592,"t":"byte","b":[112,0,0,0,0,0,0,5]},{"a":13600,"t":"byte","b":[64,0,0,0,0,0,0,7]},{"a":13608,"t":"byte","b":[112,0,0,0,0,0,0,4]},{"a":13616,"t":"byte","b":[80,0,0,0,0,0,0,7]},{"a":13624,"t":"byte","b":[112,0,0,0,0,0,0,5]},{"a":13632,"t":"byte","b":[64,0,0,0,0,0,0,7]},{"a":13640,"t":"byte","b":[112,0,0,0,0,0,0,4]},{"a":13648,"t":"byte","b":[80,0,0,0,0,0,0,7]},{"a":13656,"t":"byte","b":[116,117,116,117,116,117,116,117]},{"a":13664,"l":"orchard_layout_one","c":"Packed first orchard with 32 cherries, six Bad Apples and a pre-cut route to the spawn. Its active state is 2.","t":"byte","b":[17,0,0,0,0,0,0,3]},{"a":13672,"t":"byte","b":[49,17,17,16,16,17,17,17]},{"a":13680,"t":"byte","b":[34,17,49,16,16,17,34,34]},{"a":13688,"t":"byte","b":[34,17,17,16,16,17,34,34]},{"a":13696,"t":"byte","b":[34,17,0,0,16,17,19,17]},{"a":13704,"t":"byte","b":[34,17,17,16,16,49,17,17]},{"a":13712,"t":"byte","b":[17,17,17,16,0,17,17,17]},{"a":13720,"t":"byte","b":[19,2,34,33,16,0,0,0]},{"a":13728,"t":"byte","b":[17,2,34,33,17,17,17,17]},{"a":13736,"t":"byte","b":[17,0,0,17,17,17,0,0]},{"a":13744,"t":"byte","b":[17,17,17,17,34,34,17,17]},{"a":13752,"t":"byte","b":[17,17,17,17,34,34,17,17]},{"a":13760,"l":"orchard_layout_two","c":"Packed second orchard with six cherries, six Bad Apples and a solid top edge. Its active state is 4.","t":"byte","b":[102,102,102,102,102,102,102,102]},{"a":13768,"t":"byte","b":[17,18,17,16,17,48,17,17]},{"a":13776,"t":"byte","b":[19,17,17,16,17,16,17,17]},{"a":13784,"t":"byte","b":[17,17,17,16,0,0,17,49]},{"a":13792,"t":"byte","b":[0,0,2,16,49,17,17,33]},{"a":13800,"t":"byte","b":[17,17,17,16,17,17,17,17]},{"a":13808,"t":"byte","b":[17,17,17,16,0,0,0,17]},{"a":13816,"t":"byte","b":[17,17,49,16,17,1,17,17]},{"a":13824,"t":"byte","b":[17,33,17,16,17,1,49,17]},{"a":13832,"t":"byte","b":[17,0,0,0,0,1,17,18]},{"a":13840,"t":"byte","b":[17,17,17,17,33,17,17,17]},{"a":13848,"t":"byte","b":[17,17,17,17,17,17,17,17]},{"a":13856,"l":"orchard_layout_three","c":"Packed first block orchard with 64 cherry blocks and four Bad Apple blocks. Its active state is 6.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13864,"t":"byte","b":[4,68,68,64,68,68,68,64]},{"a":13872,"t":"byte","b":[4,0,0,0,0,0,0,64]},{"a":13880,"t":"byte","b":[4,4,4,68,68,64,64,64]},{"a":13888,"t":"byte","b":[4,4,0,0,0,0,64,64]},{"a":13896,"t":"byte","b":[0,4,5,0,0,80,64,64]},{"a":13904,"t":"byte","b":[4,4,4,7,0,64,64,0]},{"a":13912,"t":"byte","b":[4,4,0,0,0,0,64,64]},{"a":13920,"t":"byte","b":[4,4,4,69,84,64,64,64]},{"a":13928,"t":"byte","b":[4,0,0,0,0,0,0,64]},{"a":13936,"t":"byte","b":[4,68,68,68,4,68,68,64]},{"a":13944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13952,"l":"orchard_layout_four","c":"Packed second cherry orchard with 40 cherries and six Bad Apples. Reuses active state 2.","t":"byte","b":[17,17,0,0,0,0,17,17]},{"a":13960,"t":"byte","b":[19,17,1,17,17,16,50,33]},{"a":13968,"t":"byte","b":[17,17,1,49,17,16,18,32]},{"a":13976,"t":"byte","b":[17,17,1,34,34,48,18,32]},{"a":13984,"t":"byte","b":[34,49,1,34,34,16,18,32]},{"a":13992,"t":"byte","b":[34,17,1,17,17,16,0,0]},{"a":14000,"t":"byte","b":[34,17,0,0,0,0,17,17]},{"a":14008,"t":"byte","b":[34,17,1,17,17,16,17,17]},{"a":14016,"t":"byte","b":[0,1,1,49,18,32,17,17]},{"a":14024,"t":"byte","b":[1,17,1,17,18,32,17,17]},{"a":14032,"t":"byte","b":[1,18,34,33,18,33,17,17]},{"a":14040,"t":"byte","b":[0,2,34,33,18,33,17,17]},{"a":14048,"l":"orchard_layout_five","c":"Packed alternate grounded-apple orchard with six cherries and six Bad Apples. Reuses active state 4.","t":"byte","b":[102,102,102,102,102,102,102,102]},{"a":14056,"t":"byte","b":[17,17,17,16,17,17,17,17]},{"a":14064,"t":"byte","b":[18,49,17,16,17,0,0,1]},{"a":14072,"t":"byte","b":[17,17,17,16,17,49,17,17]},{"a":14080,"t":"byte","b":[17,17,49,16,0,17,17,17]},{"a":14088,"t":"byte","b":[17,17,17,16,16,17,1,49]},{"a":14096,"t":"byte","b":[17,16,17,0,0,18,1,17]},{"a":14104,"t":"byte","b":[19,16,17,33,17,17,1,17]},{"a":14112,"t":"byte","b":[17,16,17,17,17,17,1,17]},{"a":14120,"t":"byte","b":[17,16,17,17,17,17,1,33]},{"a":14128,"t":"byte","b":[17,16,17,17,35,17,1,17]},{"a":14136,"t":"byte","b":[33,16,0,0,1,17,0,1]},{"a":14144,"l":"orchard_layout_six","c":"Packed alternate block orchard with 72 cherry blocks and four Bad Apple blocks. Reuses active state 6.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14152,"t":"byte","b":[4,68,68,68,68,68,68,64]},{"a":14160,"t":"byte","b":[4,0,0,0,0,0,0,0]},{"a":14168,"t":"byte","b":[4,4,68,68,68,68,68,64]},{"a":14176,"t":"byte","b":[4,4,0,0,0,0,0,64]},{"a":14184,"t":"byte","b":[4,5,4,0,0,69,64,64]},{"a":14192,"t":"byte","b":[4,4,4,7,0,64,64,64]},{"a":14200,"t":"byte","b":[4,4,0,0,0,0,64,64]},{"a":14208,"t":"byte","b":[4,5,68,68,68,69,64,64]},{"a":14216,"t":"byte","b":[4,0,0,0,0,0,0,64]},{"a":14224,"t":"byte","b":[4,68,68,68,68,68,68,64]},{"a":14232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14240,"l":"layout_one_fruit_coordinates","c":"Eight X bytes followed by eight Y bytes in two-display-pixel units. Six positions match the type-3 apple tiles in the first orchard and $FF marks unused positions.","t":"byte","b":[0,8,32,80,104,120,255,255],"x":[12679]},{"a":14248,"t":"byte","b":[8,56,16,40,32,0,255,255]},{"a":14256,"l":"layout_two_fruit_coordinates","c":"Six fallable apple positions for layout two, in parallel X and Y arrays with two unused slots.","t":"byte","b":[8,32,64,80,96,112,255,255]},{"a":14264,"t":"byte","b":[16,56,32,8,64,24,255,255]},{"a":14272,"l":"layout_three_fruit_coordinates","c":"Empty falling-fruit positions for the first block round. Its apples stay in the tile map until pushed.","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":14280,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":14288,"l":"layout_four_fruit_coordinates","c":"Six fallable apple positions for the second cherry orchard.","t":"byte","b":[8,16,48,48,80,96,255,255]},{"a":14296,"t":"byte","b":[8,32,16,64,24,8,255,255]},{"a":14304,"l":"layout_five_fruit_coordinates","c":"Six fallable apple positions for the second grounded-apple orchard.","t":"byte","b":[8,16,32,72,80,112,255,255]},{"a":14312,"t":"byte","b":[56,16,32,80,24,40,255,255]},{"a":14320,"l":"layout_six_fruit_coordinates","c":"Empty falling-fruit positions for the second block round.","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":14328,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":14336,"l":"character_set","c":"TED reads eight bytes per character. This first group covers blank, the letters, the solid cell and digits zero through three. Later groups at $3900-$3E7F provide the rest of the artwork.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[5381]},{"a":14344,"t":"byte","b":[56,108,198,198,254,198,198,0]},{"a":14352,"t":"byte","b":[252,198,198,252,198,198,252,0]},{"a":14360,"t":"byte","b":[60,102,192,192,192,102,60,0]},{"a":14368,"t":"byte","b":[248,204,198,198,198,204,248,0]},{"a":14376,"t":"byte","b":[126,96,96,124,96,96,126,0]},{"a":14384,"t":"byte","b":[126,96,96,124,96,96,96,0]},{"a":14392,"t":"byte","b":[62,96,192,206,198,102,62,0]},{"a":14400,"t":"byte","b":[198,198,198,254,198,198,198,0]},{"a":14408,"t":"byte","b":[126,24,24,24,24,24,126,0]},{"a":14416,"t":"byte","b":[6,6,6,6,6,198,124,0]},{"a":14424,"t":"byte","b":[198,204,216,240,248,220,206,0]},{"a":14432,"t":"byte","b":[96,96,96,96,96,96,126,0]},{"a":14440,"t":"byte","b":[198,238,254,254,214,198,198,0]},{"a":14448,"t":"byte","b":[198,230,246,254,222,206,198,0]},{"a":14456,"t":"byte","b":[124,198,198,198,198,198,124,0]},{"a":14464,"t":"byte","b":[252,198,198,198,252,192,192,0]},{"a":14472,"t":"byte","b":[124,198,198,198,206,204,122,0]},{"a":14480,"t":"byte","b":[252,230,198,204,248,220,206,0]},{"a":14488,"t":"byte","b":[120,204,192,124,6,198,124,0]},{"a":14496,"t":"byte","b":[126,24,24,24,24,24,24,0]},{"a":14504,"t":"byte","b":[198,198,198,198,198,198,124,0]},{"a":14512,"t":"byte","b":[198,198,198,238,124,56,16,0]},{"a":14520,"t":"byte","b":[198,198,214,254,254,108,68,0]},{"a":14528,"t":"byte","b":[198,238,124,56,124,238,198,0]},{"a":14536,"t":"byte","b":[102,102,102,60,24,24,24,0]},{"a":14544,"t":"byte","b":[254,14,28,56,112,224,254,0]},{"a":14552,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":14560,"t":"byte","b":[56,76,198,198,198,100,56,0]},{"a":14568,"t":"byte","b":[24,56,24,24,24,24,126,0]},{"a":14576,"t":"byte","b":[124,198,14,60,120,224,254,0]},{"a":14584,"t":"byte","b":[126,12,24,60,6,198,124,0]},{"a":14592,"l":"digit_ball_and_crush_glyphs","c":"Patterns $20-$3F complete the numeric alphabet and include the four ball quadrants and the four groups of breaking-fruit cells.","t":"byte","b":[28,60,108,204,254,12,12,0],"x":[5387]},{"a":14600,"t":"byte","b":[252,192,252,6,6,198,124,0]},{"a":14608,"t":"byte","b":[60,96,192,252,198,198,124,0]},{"a":14616,"t":"byte","b":[254,198,12,24,48,48,48,0]},{"a":14624,"t":"byte","b":[120,196,228,120,158,134,124,0]},{"a":14632,"t":"byte","b":[124,198,198,126,6,12,120,0]},{"a":14640,"t":"byte","b":[24,24,24,24,0,24,24,0]},{"a":14648,"t":"byte","b":[0,0,0,0,0,24,24,0]},{"a":14656,"t":"byte","b":[60,66,153,161,161,153,66,60]},{"a":14664,"t":"byte","b":[0,0,0,0,0,24,8,16]},{"a":14672,"t":"byte","b":[48,48,48,0,0,0,0,0]},{"a":14680,"t":"byte","b":[51,51,51,0,0,0,0,0]},{"a":14688,"t":"byte","b":[96,240,240,96,0,0,0,0]},{"a":14696,"t":"byte","b":[6,15,15,6,0,0,0,0]},{"a":14704,"t":"byte","b":[0,0,0,0,96,240,240,96]},{"a":14712,"t":"byte","b":[0,0,0,0,6,15,15,6]},{"a":14720,"t":"byte","b":[240,255,240,254,240,213,208,85]},{"a":14728,"t":"byte","b":[15,191,175,224,239,239,15,64]},{"a":14736,"t":"byte","b":[85,5,85,208,213,7,255,240]},{"a":14744,"t":"byte","b":[71,5,64,21,5,7,87,223]},{"a":14752,"t":"byte","b":[240,240,240,240,0,208,208,5]},{"a":14760,"t":"byte","b":[15,176,15,224,224,224,15,64]},{"a":14768,"t":"byte","b":[5,5,80,208,213,7,240,240]},{"a":14776,"t":"byte","b":[7,5,64,5,5,7,80,15]},{"a":14784,"t":"byte","b":[0,240,0,240,0,0,208,0]},{"a":14792,"t":"byte","b":[15,0,15,0,224,0,15,64]},{"a":14800,"t":"byte","b":[5,0,80,0,208,7,0,240]},{"a":14808,"t":"byte","b":[0,5,0,5,0,7,0,0]},{"a":14816,"t":"byte","b":[0,0,0,0,0,0,208,0]},{"a":14824,"t":"byte","b":[0,0,0,0,224,0,0,0]},{"a":14832,"t":"byte","b":[5,0,80,0,0,7,0,240]},{"a":14840,"t":"byte","b":[0,5,0,5,0,0,0,0]},{"a":14848,"l":"apple_glyphs","c":"Patterns $40-$5F hold the aligned Bad Apple and most of its shifted drawing pieces.","t":"byte","b":[255,255,235,234,170,170,90,86],"x":[5393]},{"a":14856,"t":"byte","b":[223,95,111,43,171,170,170,170]},{"a":14864,"t":"byte","b":[86,86,85,85,213,213,245,253]},{"a":14872,"t":"byte","b":[170,169,169,101,87,87,95,127]},{"a":14880,"t":"byte","b":[63,63,58,58,42,42,22,21]},{"a":14888,"t":"byte","b":[247,215,219,138,170,170,170,170]},{"a":14896,"t":"byte","b":[192,192,192,192,192,128,128,128]},{"a":14904,"t":"byte","b":[21,21,21,21,53,53,61,63]},{"a":14912,"t":"byte","b":[170,170,106,89,85,85,87,95]},{"a":14920,"t":"byte","b":[128,64,64,64,192,192,192,192]},{"a":14928,"t":"byte","b":[15,15,14,14,10,10,5,5]},{"a":14936,"t":"byte","b":[245,253,182,162,170,170,170,106]},{"a":14944,"t":"byte","b":[240,240,240,176,176,160,160,160]},{"a":14952,"t":"byte","b":[5,5,5,5,13,13,15,15]},{"a":14960,"t":"byte","b":[106,106,90,86,85,85,85,215]},{"a":14968,"t":"byte","b":[160,144,144,80,112,112,240,240]},{"a":14976,"t":"byte","b":[3,3,3,3,2,2,1,1]},{"a":14984,"t":"byte","b":[255,253,173,168,170,170,106,90]},{"a":14992,"t":"byte","b":[124,124,188,172,172,168,168,168]},{"a":15000,"t":"byte","b":[1,1,1,1,3,3,3,3]},{"a":15008,"t":"byte","b":[90,90,106,85,85,85,213,245]},{"a":15016,"t":"byte","b":[168,164,164,148,92,92,124,252]},{"a":15024,"t":"byte","b":[0,0,255,255,235,234,170,170]},{"a":15032,"t":"byte","b":[0,0,223,95,111,43,171,170]},{"a":15040,"t":"byte","b":[90,86,86,86,85,85,213,213]},{"a":15048,"t":"byte","b":[170,170,170,169,169,101,87,87]},{"a":15056,"t":"byte","b":[245,253,0,0,0,0,0,0]},{"a":15064,"t":"byte","b":[95,127,0,0,0,0,0,0]},{"a":15072,"t":"byte","b":[0,0,0,0,255,255,235,234]},{"a":15080,"t":"byte","b":[0,0,0,0,223,95,111,43]},{"a":15088,"t":"byte","b":[170,170,90,86,86,86,85,85]},{"a":15096,"t":"byte","b":[171,170,170,170,170,169,169,101]},{"a":15104,"l":"apple_and_cherry_glyphs","c":"Patterns $60-$7F finish the Bad Apple's shifted pieces and begin the corresponding cherry shapes.","t":"byte","b":[213,213,245,253,0,0,0,0],"x":[5399]},{"a":15112,"t":"byte","b":[87,87,95,127,0,0,0,0]},{"a":15120,"t":"byte","b":[0,0,0,0,0,0,255,255]},{"a":15128,"t":"byte","b":[0,0,0,0,0,0,223,95]},{"a":15136,"t":"byte","b":[235,234,170,170,90,86,86,86]},{"a":15144,"t":"byte","b":[111,43,171,170,170,170,170,169]},{"a":15152,"t":"byte","b":[85,85,213,213,245,253,0,0]},{"a":15160,"t":"byte","b":[169,101,87,87,95,127,0,0]},{"a":15168,"t":"byte","b":[255,255,254,254,246,213,213,85]},{"a":15176,"t":"byte","b":[191,191,175,239,239,239,223,71]},{"a":15184,"t":"byte","b":[85,85,85,213,213,247,255,255]},{"a":15192,"t":"byte","b":[71,69,69,21,21,87,87,223]},{"a":15200,"t":"byte","b":[63,63,63,63,61,53,53,21]},{"a":15208,"t":"byte","b":[239,239,171,187,187,123,119,81]},{"a":15216,"t":"byte","b":[192,192,192,192,192,192,192,192]},{"a":15224,"t":"byte","b":[21,21,21,53,53,61,63,63]},{"a":15232,"t":"byte","b":[81,81,81,69,69,213,213,247]},{"a":15240,"t":"byte","b":[192,64,64,64,64,192,192,192]},{"a":15248,"t":"byte","b":[15,15,15,15,15,13,13,5]},{"a":15256,"t":"byte","b":[251,251,234,238,110,94,93,84]},{"a":15264,"t":"byte","b":[240,240,240,240,240,240,240,112]},{"a":15272,"t":"byte","b":[5,5,5,13,13,15,15,15]},{"a":15280,"t":"byte","b":[84,84,84,81,81,117,245,253]},{"a":15288,"t":"byte","b":[112,80,80,80,80,112,112,240]},{"a":15296,"t":"byte","b":[3,3,3,3,3,3,3,1]},{"a":15304,"t":"byte","b":[254,254,250,251,219,87,87,85]},{"a":15312,"t":"byte","b":[252,252,188,188,188,188,124,28]},{"a":15320,"t":"byte","b":[1,1,1,3,3,3,3,3]},{"a":15328,"t":"byte","b":[85,85,85,84,84,221,253,255]},{"a":15336,"t":"byte","b":[28,20,20,84,84,92,92,124]},{"a":15344,"t":"byte","b":[0,0,255,255,254,254,246,213]},{"a":15352,"t":"byte","b":[0,0,191,191,175,239,239,239]},{"a":15360,"l":"cherry_and_player_glyphs","c":"Patterns $80-$9F finish the shifted cherries and begin the strawberry's position-dependent cells.","t":"byte","b":[213,85,85,85,85,213,213,247]},{"a":15368,"t":"byte","b":[223,71,71,69,69,21,21,87]},{"a":15376,"t":"byte","b":[255,255,0,0,0,0,0,0]},{"a":15384,"t":"byte","b":[87,223,0,0,0,0,0,0]},{"a":15392,"t":"byte","b":[0,0,0,0,255,255,254,254]},{"a":15400,"t":"byte","b":[0,0,0,0,191,191,175,239]},{"a":15408,"t":"byte","b":[246,213,213,85,85,85,85,213]},{"a":15416,"t":"byte","b":[239,239,223,71,71,69,69,21]},{"a":15424,"t":"byte","b":[213,247,255,255,0,0,0,0]},{"a":15432,"t":"byte","b":[21,87,87,223,0,0,0,0]},{"a":15440,"t":"byte","b":[0,0,0,0,0,0,255,255]},{"a":15448,"t":"byte","b":[0,0,0,0,0,0,191,191]},{"a":15456,"t":"byte","b":[254,254,246,213,213,85,85,85]},{"a":15464,"t":"byte","b":[175,239,239,239,223,71,71,69]},{"a":15472,"t":"byte","b":[85,213,213,247,255,255,0,0]},{"a":15480,"t":"byte","b":[69,21,21,87,87,223,0,0]},{"a":15488,"t":"byte","b":[34,170,22,21,21,21,21,5]},{"a":15496,"t":"byte","b":[136,170,148,116,196,196,84,80]},{"a":15504,"t":"byte","b":[5,5,5,7,7,3,3,2]},{"a":15512,"t":"byte","b":[80,80,80,80,80,96,192,128]},{"a":15520,"t":"byte","b":[2,10,1,1,1,1,1,0]},{"a":15528,"t":"byte","b":[40,170,105,87,92,92,85,85]},{"a":15536,"t":"byte","b":[128,160,64,64,64,64,64,0]},{"a":15544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15552,"t":"byte","b":[85,117,117,117,125,40,5,10]},{"a":15560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15568,"t":"byte","b":[34,170,22,29,19,19,21,5]},{"a":15576,"t":"byte","b":[136,170,148,84,84,84,84,80]},{"a":15584,"t":"byte","b":[5,5,5,5,5,9,3,2]},{"a":15592,"t":"byte","b":[80,80,80,208,208,192,192,128]},{"a":15600,"t":"byte","b":[2,10,1,1,1,1,1,0]},{"a":15608,"t":"byte","b":[40,170,105,213,53,53,85,85]},{"a":15616,"l":"player_and_enemy_glyphs","c":"Patterns $A0-$BF finish the strawberry and start the Acid Apple shapes. The enemy draw codes use the same geometry with a glyph bias of $1E.","t":"byte","b":[128,160,64,64,64,64,64,0]},{"a":15624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15632,"t":"byte","b":[85,93,93,93,125,40,80,160]},{"a":15640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15648,"t":"byte","b":[34,170,22,93,81,81,93,21]},{"a":15656,"t":"byte","b":[136,170,148,117,69,69,117,84]},{"a":15664,"t":"byte","b":[21,29,29,13,61,41,0,0]},{"a":15672,"t":"byte","b":[84,84,84,112,112,112,60,40]},{"a":15680,"t":"byte","b":[0,0,0,0,34,170,22,93]},{"a":15688,"t":"byte","b":[0,0,0,0,136,170,148,117]},{"a":15696,"t":"byte","b":[81,81,93,21,21,21,21,13]},{"a":15704,"t":"byte","b":[69,69,117,84,84,116,116,112]},{"a":15712,"t":"byte","b":[13,13,60,40,0,0,0,0]},{"a":15720,"t":"byte","b":[124,104,0,0,0,0,0,0]},{"a":15728,"t":"byte","b":[10,42,42,42,46,46,46,46]},{"a":15736,"t":"byte","b":[160,168,184,200,200,168,168,188]},{"a":15744,"t":"byte","b":[38,42,43,43,3,1,0,0]},{"a":15752,"t":"byte","b":[168,168,168,160,240,80,192,64]},{"a":15760,"t":"byte","b":[0,2,2,2,2,2,2,2]},{"a":15768,"t":"byte","b":[170,170,171,172,236,234,234,235]},{"a":15776,"t":"byte","b":[0,128,128,128,128,128,128,192]},{"a":15784,"t":"byte","b":[2,2,2,0,0,0,0,0]},{"a":15792,"t":"byte","b":[106,186,186,186,60,20,15,5]},{"a":15800,"t":"byte","b":[128,128,128,0,0,0,0,0]},{"a":15808,"t":"byte","b":[10,42,46,35,35,42,42,62]},{"a":15816,"t":"byte","b":[160,168,168,168,184,184,184,184]},{"a":15824,"t":"byte","b":[42,42,42,10,15,5,3,1]},{"a":15832,"t":"byte","b":[152,168,232,232,192,64,0,0]},{"a":15840,"t":"byte","b":[0,2,2,2,2,2,2,3]},{"a":15848,"t":"byte","b":[170,170,234,58,59,171,171,235]},{"a":15856,"t":"byte","b":[0,128,128,128,128,128,128,128]},{"a":15864,"t":"byte","b":[2,2,2,0,0,0,0,0]},{"a":15872,"l":"enemy_and_dirt_glyphs","c":"Patterns $C0-$CB complete the Acid Apple shapes. $CC-$CF are the four soil cells. The next byte begins drawing tables.","t":"byte","b":[169,170,174,174,60,20,240,80]},{"a":15880,"t":"byte","b":[128,128,128,0,0,0,0,0]},{"a":15888,"t":"byte","b":[10,42,46,34,226,238,234,231]},{"a":15896,"t":"byte","b":[160,168,184,136,139,187,171,219]},{"a":15904,"t":"byte","b":[106,42,42,14,12,12,60,20]},{"a":15912,"t":"byte","b":[169,184,184,176,60,20,0,0]},{"a":15920,"t":"byte","b":[0,0,0,0,10,42,46,34]},{"a":15928,"t":"byte","b":[0,0,0,0,160,168,184,136]},{"a":15936,"t":"byte","b":[226,238,234,231,106,46,46,14]},{"a":15944,"t":"byte","b":[139,187,171,219,169,168,168,176]},{"a":15952,"t":"byte","b":[60,20,0,0,0,0,0,0]},{"a":15960,"t":"byte","b":[48,48,60,20,0,0,0,0]},{"a":15968,"t":"byte","b":[255,239,255,255,243,127,255,255]},{"a":15976,"t":"byte","b":[255,127,254,243,255,255,255,191]},{"a":15984,"t":"byte","b":[255,223,252,255,255,239,255,253]},{"a":15992,"t":"byte","b":[247,255,255,255,239,255,252,255]},{"a":16000,"l":"actor_draw_start","c":"Six inclusive start offsets into the actor drawing records. The two axes and horizontal facings choose a pair of subcell phases.","t":"byte","b":[0,4,10,14,20,24],"x":[12378]},{"a":16006,"l":"actor_draw_end","c":"Six exclusive end offsets paired with the starts at $3E80.","t":"byte","b":[4,10,14,20,24,30],"x":[12373]},{"a":16012,"l":"strawberry_draw_glyphs","c":"30 glyph codes for the strawberry's draw records. The Acid Apple uses the same positions with $1E added to each glyph.","t":"byte","b":[154,155,156,157,158,159,160,161],"x":[12432]},{"a":16020,"t":"byte","b":[162,163,144,145,146,147,148,149]},{"a":16028,"t":"byte","b":[150,151,152,153,164,165,166,167]},{"a":16036,"t":"byte","b":[168,169,170,171,172,173]},{"a":16042,"l":"actor_draw_offsets","c":"30 relative screen offsets for the strawberry and enemy shapes.","t":"byte","b":[0,1,40,41,0,1,2,40],"x":[12393]},{"a":16050,"t":"byte","b":[41,42,0,1,40,41,0,1]},{"a":16058,"t":"byte","b":[2,40,41,42,0,1,40,41]},{"a":16066,"t":"byte","b":[0,1,40,41,80,81]},{"a":16072,"l":"clear_voice_two","c":"Twelve low pitch bytes for the second TED voice during a clear interlude.","t":"byte","b":[185,185,185,185,185,185,172,185],"x":[9197]},{"a":16080,"t":"byte","b":[185,172,150,115]},{"a":16084,"l":"clear_voice_one","c":"Twelve low pitch bytes for the first TED voice during a clear interlude.","t":"byte","b":[172,172,172,172,172,172,150,172],"x":[9203]},{"a":16092,"t":"byte","b":[172,150,115,88]},{"a":16096,"l":"clear_audio_table_padding","c":"Four zeros separate the twelve voice 1 pitch bytes from the ball's horizontal speeds.","t":"byte","b":[0,0,0,0]},{"a":16100,"l":"ball_start_delta_x","c":"Horizontal speed of -2 or +2 for each of the four player directions when a ball is fired.","t":"byte","b":[254,2,2,254],"x":[10009]},{"a":16104,"l":"ball_start_delta_y","c":"Vertical speed of -2 or +2 for each of the four player directions when a ball is fired.","t":"byte","b":[2,254,254,2],"x":[10014]},{"a":16108,"l":"ready_banner","c":"Eight character codes copied into the middle row of the temporary round-start panel, spelling READY! with a blank on either side.","t":"byte","b":[0,18,5,1,4,25,38,0],"x":[9075]},{"a":16116,"l":"direction_masks","c":"Direction bits for left, right, up and down. Also used to mask out an enemy's reverse direction.","t":"byte","b":[4,8,1,2],"x":[7416,7442,9817]},{"a":16120,"l":"direction_delta_x","c":"Signed horizontal step for left, right, up and down. Callers add it either to a position in two-display-pixel units or to a tile column.","t":"byte","b":[255,1,0,0],"x":[7221,11492,11527,11594,11919]},{"a":16124,"l":"direction_delta_y","c":"Signed vertical step for left, right, up and down. Callers add it either to a position in two-display-pixel units or to a tile row.","t":"byte","b":[0,0,255,1],"x":[7231,11500,11535,11600,11929]},{"a":16128,"l":"theme_score","c":"192 paired note tokens shared by the title and gameplay theme. The high nibble is voice 1, with 1 holding its note. The title also reads the low nibble for voice 2.","t":"byte","b":[34,18,18,34,18,18,50,66],"x":[6060,6110,11037,11061,11101]},{"a":16136,"t":"byte","b":[82,18,18,18,18,18,18,18]},{"a":16144,"t":"byte","b":[114,18,18,98,18,18,82,66]},{"a":16152,"t":"byte","b":[50,18,18,18,18,18,18,18]},{"a":16160,"t":"byte","b":[34,18,18,34,18,18,50,66]},{"a":16168,"t":"byte","b":[82,18,18,18,18,18,18,18]},{"a":16176,"t":"byte","b":[114,18,18,98,18,18,82,66]},{"a":16184,"t":"byte","b":[50,18,18,18,18,18,18,18]},{"a":16192,"t":"byte","b":[68,20,20,68,20,20,100,116]},{"a":16200,"t":"byte","b":[148,20,20,20,20,20,20,20]},{"a":16208,"t":"byte","b":[180,20,20,180,20,148,180,212]},{"a":16216,"t":"byte","b":[228,20,212,20,180,20,20,20]},{"a":16224,"t":"byte","b":[146,18,18,146,18,18,146,98]},{"a":16232,"t":"byte","b":[131,19,19,131,19,19,131,83]},{"a":16240,"t":"byte","b":[100,20,20,100,20,20,132,148]},{"a":16248,"t":"byte","b":[133,21,21,21,21,21,21,21]},{"a":16256,"t":"byte","b":[151,23,23,151,23,23,199,231]},{"a":16264,"t":"byte","b":[247,23,23,247,23,23,231,199]},{"a":16272,"t":"byte","b":[217,25,25,217,25,25,217,249]},{"a":16280,"t":"byte","b":[232,24,24,24,24,24,24,24]},{"a":16288,"t":"byte","b":[212,20,20,164,20,20,212,164]},{"a":16296,"t":"byte","b":[199,23,23,151,23,23,151,103]},{"a":16304,"t":"byte","b":[86,22,22,86,22,22,134,166]},{"a":16312,"t":"byte","b":[146,18,18,18,18,18,18,18]},{"a":16320,"l":"theme_voice_one_low","c":"Voice 1's low pitch byte by note nibble.","t":"byte","b":[0,0,44,88,97,115,130,137],"x":[6072,11049]},{"a":16328,"t":"byte","b":[144,150,162,167,172,177,185,203]},{"a":16336,"l":"theme_voice_one_high","c":"Voice 1's high pitch bits by note nibble, written to $FF12.","t":"byte","b":[0,0,3,3,3,3,3,3],"x":[6078,11055]},{"a":16344,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":16352,"l":"theme_voice_two_low","c":"Voice 2's low pitch byte by note nibble.","t":"byte","b":[0,0,88,135,195,229,32,44],"x":[11067]},{"a":16360,"t":"byte","b":[88,97]},{"a":16362,"l":"unused_voice_two_low_entries","c":"Unused low-pitch table tail. The shared score's voice 2 nibbles range from 2 to 9.","t":"byte","b":[0,0,0,0,0,0]},{"a":16368,"l":"theme_voice_two_high","c":"Voice 2's high pitch bits by note nibble, written to $FF10.","t":"byte","b":[0,0,2,2,2,2,3,3],"x":[11073]},{"a":16376,"t":"byte","b":[3,3]},{"a":16378,"l":"unused_voice_two_high_entries","c":"Unused high-pitch table tail. The final two values are present in the hand-over image, beyond the score's largest voice 2 nibble, 9.","t":"byte","b":[0,0,0,0,225,6]},{"a":16384,"t":"gap","n":49152}]}