{"schema":1,"platform":"c64","game":"doctor-who-and-the-mines-of-terror","title":"Doctor Who and the Mines of Terror","build":"single packed program file, 29,175 bytes, SHA-256 8d143c7ac59882fe54844aa41d9996679e35bb100932e80f851191a3afb889bb","symbols_sha256":"cf8a7ab740cae31755aebd0dc9629dc4930997e87d1a69a8dd0fdcd59293d3fd","index":[{"a":0,"n":"cpu_port_ddr","k":"variable","len":1,"c":true},{"a":1,"n":"cpu_port","k":"variable","len":2,"c":true},{"a":3,"n":"glyph_merge_lo_ptrs","k":"table","len":10,"c":true},{"a":13,"n":"glyph_merge_hi_ptrs","k":"table","len":10,"c":true},{"a":23,"n":"pixel_pair_masks","k":"table","len":4,"c":true},{"a":27,"n":"countdown_lo","k":"variable","len":1,"c":true},{"a":28,"n":"countdown_mid","k":"variable","len":1,"c":true},{"a":29,"n":"countdown_hi","k":"variable","len":1,"c":true},{"a":30,"n":"lives","k":"variable","len":1,"c":true},{"a":31,"n":"splinx_battery","k":"variable","len":1,"c":true},{"a":32,"n":"camera_x_lo","k":"variable","len":1,"c":true},{"a":33,"n":"camera_x_hi","k":"variable","len":1,"c":true},{"a":34,"n":"camera_y_lo","k":"variable","len":1,"c":true},{"a":35,"n":"camera_y_hi","k":"variable","len":1,"c":true},{"a":36,"n":"camera_col_lo","k":"variable","len":1,"c":true},{"a":37,"n":"camera_col_hi","k":"variable","len":1,"c":true},{"a":38,"n":"camera_row_lo","k":"variable","len":1,"c":true},{"a":39,"n":"camera_row_hi","k":"variable","len":1,"c":true},{"a":40,"n":"sprite_origin_x_lo","k":"variable","len":1,"c":true},{"a":41,"n":"sprite_origin_x_hi","k":"variable","len":1,"c":true},{"a":42,"n":"sprite_origin_y_lo","k":"variable","len":1,"c":true},{"a":43,"n":"sprite_origin_y_hi","k":"variable","len":1,"c":true},{"a":44,"n":"sprite_origin_y2_lo","k":"variable","len":1,"c":true},{"a":45,"n":"sprite_origin_y2_hi","k":"variable","len":2,"c":true},{"a":47,"n":"prog_cursor","k":"variable","len":1,"c":true},{"a":48,"n":"splinx_program","k":"table","len":10,"c":true},{"a":58,"n":"prog_command_row","k":"variable","len":1,"c":true},{"a":59,"n":"prog_frame_count","k":"variable","len":1,"c":true},{"a":60,"n":"pocket_selected","k":"variable","len":1,"c":true},{"a":61,"n":"pockets","k":"table","len":5,"c":true},{"a":66,"n":"marker_slots","k":"variable","len":1,"c":true},{"a":67,"n":"marker_slot_2","k":"variable","len":1,"c":true},{"a":68,"n":"marker_slot_3","k":"variable","len":1,"c":true},{"a":69,"n":"marker_slot_4","k":"variable","len":1,"c":true},{"a":70,"n":"thrown_obj","k":"variable","len":2,"c":true},{"a":72,"n":"thrown_timer","k":"variable","len":2,"c":true},{"a":74,"n":"thrown_dx","k":"variable","len":2,"c":true},{"a":76,"n":"thrown_dy","k":"variable","len":2,"c":true},{"a":78,"n":"event_flag_4e","k":"variable","len":1,"c":true},{"a":79,"n":"heatonite_state","k":"variable","len":1,"c":true},{"a":80,"n":"event_flag_50","k":"variable","len":1,"c":true},{"a":81,"n":"hazard_timer","k":"variable","len":1,"c":true},{"a":82,"n":"screen_buffer","k":"variable","len":1,"c":true},{"a":83,"n":"frame_count_lo","k":"variable","len":1,"c":true},{"a":84,"n":"frame_count_mid","k":"variable","len":1,"c":true},{"a":85,"n":"frame_count_hi","k":"variable","len":1,"c":true},{"a":86,"n":"zone","k":"variable","len":1,"c":true},{"a":87,"n":"score_hi","k":"variable","len":1,"c":true},{"a":88,"n":"score_mid","k":"variable","len":1,"c":true},{"a":89,"n":"score_lo","k":"variable","len":1,"c":true},{"a":90,"n":"tmp_ptr_a","k":"variable","len":1,"c":true},{"a":91,"n":"tmp_ptr_a_hi","k":"variable","len":1,"c":true},{"a":92,"n":"tmp_ptr_b","k":"variable","len":1,"c":true},{"a":93,"n":"tmp_ptr_b_hi","k":"variable","len":1,"c":true},{"a":94,"n":"fine_scroll_x","k":"variable","len":1,"c":true},{"a":95,"n":"fine_scroll_y","k":"variable","len":1,"c":true},{"a":96,"n":"pos_x_lo","k":"variable","len":1,"c":true},{"a":97,"n":"pos_x_hi","k":"variable","len":1,"c":true},{"a":98,"n":"pos_y_lo","k":"variable","len":1,"c":true},{"a":99,"n":"pos_y_hi","k":"variable","len":1,"c":true},{"a":100,"n":"probe_x_lo","k":"variable","len":1,"c":true},{"a":101,"n":"probe_x_hi","k":"variable","len":1,"c":true},{"a":102,"n":"probe_y_lo","k":"variable","len":1,"c":true},{"a":103,"n":"probe_y_hi","k":"variable","len":1,"c":true},{"a":104,"n":"tmp_count","k":"variable","len":1,"c":true},{"a":105,"n":"tmp_flag","k":"variable","len":1,"c":true},{"a":106,"n":"f3_latch","k":"variable","len":1,"c":true},{"a":107,"n":"irq_save_a","k":"variable","len":1,"c":true},{"a":108,"n":"irq_save_x","k":"variable","len":1,"c":true},{"a":109,"n":"irq_save_y","k":"variable","len":1,"c":true},{"a":110,"n":"scroll_stage","k":"variable","len":1,"c":true},{"a":111,"n":"scroll_block_x","k":"variable","len":1,"c":true},{"a":112,"n":"scroll_block_y","k":"variable","len":1,"c":true},{"a":113,"n":"scroll_pending","k":"variable","len":1,"c":true},{"a":114,"n":"scroll_direction","k":"variable","len":1,"c":true},{"a":115,"n":"scroll_table_index","k":"variable","len":1,"c":true},{"a":116,"n":"scroll_copy_flag","k":"variable","len":1,"c":true},{"a":117,"n":"move_blocked","k":"table","len":3,"c":true},{"a":120,"n":"probe_block","k":"variable","len":1,"c":true},{"a":121,"n":"sprite_slot_obj","k":"table","len":8,"c":true},{"a":129,"n":"sprite_count","k":"variable","len":1,"c":true},{"a":130,"n":"overlay_obj","k":"variable","len":1,"c":true},{"a":131,"n":"overlay_state","k":"variable","len":1,"c":true},{"a":132,"n":"irq_band3_line","k":"variable","len":1,"c":true},{"a":133,"n":"overlay_col_lo","k":"variable","len":1,"c":true},{"a":134,"n":"overlay_col_hi","k":"variable","len":1,"c":true},{"a":135,"n":"overlay_row_lo","k":"variable","len":1,"c":true},{"a":136,"n":"overlay_row_hi","k":"variable","len":1,"c":true},{"a":137,"n":"throw_stand","k":"variable","len":1,"c":true},{"a":138,"n":"doctor_facing","k":"variable","len":1,"c":true},{"a":139,"n":"overlay_list","k":"table","len":7,"c":true},{"a":146,"n":"overlay_list_7","k":"table","len":25,"c":true},{"a":171,"n":"overlay_list_20","k":"table","len":3,"c":true},{"a":174,"n":"overlay_list_23","k":"variable","len":1,"c":true},{"a":175,"n":"overlay_list_24","k":"table","len":5,"c":true},{"a":180,"n":"overlay_list_29","k":"table","len":12,"c":true},{"a":192,"n":"overlay_list_35","k":"table","len":11,"c":true},{"a":203,"n":"move_x","k":"variable","len":1,"c":true},{"a":204,"n":"move_y","k":"variable","len":1,"c":true},{"a":205,"n":"fire_pressed","k":"variable","len":1,"c":true},{"a":206,"n":"key_unused","k":"variable","len":1,"c":true},{"a":207,"n":"key_f3","k":"variable","len":1,"c":true},{"a":208,"n":"key_f1","k":"variable","len":1,"c":true},{"a":209,"n":"key_f7","k":"variable","len":1,"c":true},{"a":210,"n":"key_f5","k":"variable","len":1,"c":true},{"a":211,"n":"key_s","k":"variable","len":1,"c":true},{"a":212,"n":"stick_x","k":"variable","len":1,"c":true},{"a":213,"n":"stick_y","k":"variable","len":1,"c":true},{"a":214,"n":"f1_latch","k":"variable","len":1,"c":true},{"a":215,"n":"s_latch","k":"variable","len":1,"c":true},{"a":216,"n":"fire_latch","k":"variable","len":1,"c":true},{"a":217,"n":"dist_x_lo","k":"variable","len":1,"c":true},{"a":218,"n":"dist_x_hi","k":"variable","len":1,"c":true},{"a":219,"n":"dist_y_lo","k":"variable","len":1,"c":true},{"a":220,"n":"dist_y_hi","k":"variable","len":1,"c":true},{"a":221,"n":"dir_x","k":"variable","len":1,"c":true},{"a":222,"n":"dir_y","k":"variable","len":1,"c":true},{"a":223,"n":"terrain_result","k":"variable","len":1,"c":true},{"a":224,"n":"busy_flag","k":"variable","len":1,"c":true},{"a":225,"n":"music_running","k":"variable","len":1,"c":true},{"a":226,"n":"tune","k":"variable","len":1,"c":true},{"a":227,"n":"music_v1_ptr","k":"variable","len":1,"c":true},{"a":228,"n":"music_v1_ptr_hi","k":"variable","len":1,"c":true},{"a":229,"n":"music_v2_ptr","k":"variable","len":1,"c":true},{"a":230,"n":"music_v2_ptr_hi","k":"variable","len":1,"c":true},{"a":231,"n":"event_flag_e7","k":"variable","len":1,"c":true},{"a":232,"n":"event_code","k":"variable","len":1,"c":true},{"a":233,"n":"pickup_cooldown","k":"variable","len":1,"c":true},{"a":234,"n":"status_scroll_x","k":"variable","len":1,"c":true},{"a":235,"n":"terrain_prop_1","k":"variable","len":1,"c":true},{"a":236,"n":"terrain_prop_2","k":"variable","len":1,"c":true},{"a":237,"n":"terrain_prop_3","k":"variable","len":1,"c":true},{"a":238,"n":"terrain_prop_4","k":"variable","len":1,"c":true},{"a":239,"n":"bottom_band_bg","k":"variable","len":2,"c":true},{"a":241,"n":"air_timer","k":"variable","len":1,"c":true},{"a":242,"n":"throw_slot","k":"variable","len":1,"c":true},{"a":243,"n":"sfx3_freq_lo","k":"variable","len":1,"c":true},{"a":244,"n":"sfx3_freq_hi","k":"variable","len":1,"c":true},{"a":245,"n":"sfx_current","k":"variable","len":1,"c":true},{"a":246,"n":"sfx_delay","k":"variable","len":1,"c":true},{"a":247,"n":"lift_riding","k":"variable","len":1,"c":true},{"a":248,"n":"lift_dir","k":"variable","len":1,"c":true},{"a":249,"n":"lift_stop","k":"variable","len":1,"c":true},{"a":250,"n":"lift_wait","k":"variable","len":1,"c":true},{"a":251,"n":"car_riding","k":"variable","len":1,"c":true},{"a":252,"n":"car_dir","k":"variable","len":1,"c":true},{"a":253,"n":"car_stop","k":"variable","len":1,"c":true},{"a":254,"n":"car_wait","k":"variable","len":1,"c":true},{"a":255,"n":"prog_column","k":"variable","len":1,"c":true},{"a":2352,"n":"programmer_box_glyphs","k":"table","len":80,"c":true},{"a":2432,"n":"ending_pos_x_hi","k":"table","len":8,"c":true},{"a":2440,"n":"ending_pos_x_lo","k":"table","len":8,"c":true},{"a":2448,"n":"ending_pos_y_hi","k":"table","len":8,"c":true},{"a":2456,"n":"ending_pos_y_lo","k":"table","len":8,"c":true},{"a":2464,"n":"dissolve_order","k":"table","len":68,"c":true},{"a":2532,"n":"ending_sprite_images","k":"table","len":156,"c":true},{"a":2688,"n":"map_row_lo","k":"table","len":64,"c":true},{"a":2752,"n":"map_row_hi","k":"table","len":64,"c":true},{"a":2816,"n":"prog_sprites","k":"table","len":192,"c":true},{"a":3008,"n":"prog_gauge_sprite","k":"table","len":64,"c":true},{"a":3072,"n":"prog_screen","k":"table","len":269,"c":true},{"a":3341,"n":"prog_screen_row8","k":"table","len":629,"c":true},{"a":3970,"n":"prog_screen_steps","k":"table","len":118,"c":true},{"a":4088,"n":"prog_sprite_ptr_0","k":"variable","len":1,"c":true},{"a":4089,"n":"prog_sprite_ptr_1","k":"variable","len":1,"c":true},{"a":4090,"n":"prog_sprite_ptr_2","k":"variable","len":1,"c":true},{"a":4091,"n":"prog_sprite_ptr_3","k":"table","len":5,"c":true},{"a":4096,"n":"prog_colour_ram","k":"table","len":50,"c":true},{"a":4146,"n":"prog_colour_title","k":"table","len":974,"c":true},{"a":5120,"n":"block_ptr_lo","k":"table","len":256,"c":true},{"a":5376,"n":"block_ptr_hi","k":"table","len":256,"c":true},{"a":5632,"n":"char_terrain_class","k":"table","len":160,"c":true},{"a":5792,"n":"char_class_a0","k":"table","len":48,"c":true},{"a":5840,"n":"item_icon_char","k":"table","len":80,"c":true},{"a":5920,"n":"obj_name_offset","k":"table","len":16,"c":true},{"a":5936,"n":"digit_glyphs","k":"table","len":64,"c":true},{"a":6000,"n":"name_lives","k":"table","len":10,"c":true},{"a":6010,"n":"name_splinx","k":"table","len":10,"c":true},{"a":6020,"n":"name_marker_1","k":"table","len":10,"c":true},{"a":6030,"n":"name_marker_2","k":"table","len":10,"c":true},{"a":6040,"n":"name_marker_3","k":"table","len":10,"c":true},{"a":6050,"n":"name_marker_4","k":"table","len":10,"c":true},{"a":6060,"n":"name_pick_axe","k":"table","len":10,"c":true},{"a":6070,"n":"name_mat","k":"table","len":10,"c":true},{"a":6080,"n":"name_crystal","k":"table","len":10,"c":true},{"a":6090,"n":"name_pass_card","k":"table","len":10,"c":true},{"a":6100,"n":"name_spanner","k":"table","len":10,"c":true},{"a":6110,"n":"name_platform","k":"table","len":10,"c":true},{"a":6120,"n":"name_air_mask","k":"table","len":10,"c":true},{"a":6130,"n":"name_box","k":"table","len":10,"c":true},{"a":6140,"n":"name_detonator","k":"table","len":10,"c":true},{"a":6150,"n":"name_explosives","k":"table","len":10,"c":true},{"a":6160,"n":"name_capsule","k":"table","len":10,"c":true},{"a":6170,"n":"name_activator","k":"table","len":10,"c":true},{"a":6180,"n":"name_circuit","k":"table","len":10,"c":true},{"a":6190,"n":"name_egg","k":"table","len":10,"c":true},{"a":6200,"n":"name_chemicals","k":"table","len":10,"c":true},{"a":6210,"n":"name_gem","k":"table","len":14,"c":true},{"a":6224,"n":"obj_colour","k":"variable","len":1,"c":true},{"a":6225,"n":"obj_colour_1","k":"table","len":25,"c":true},{"a":6250,"n":"obj_colour_1a","k":"variable","len":1,"c":true},{"a":6251,"n":"obj_colour_1b","k":"table","len":53,"c":true},{"a":6304,"n":"obj_expand","k":"table","len":80,"c":true},{"a":6384,"n":"obj_width","k":"table","len":80,"c":true},{"a":6464,"n":"obj_height","k":"table","len":32,"c":true},{"a":6496,"n":"item_icon_width","k":"table","len":48,"c":true},{"a":6544,"n":"item_icon_height","k":"table","len":32,"c":true},{"a":6576,"n":"obj_hit_left","k":"table","len":80,"c":true},{"a":6656,"n":"obj_hit_right","k":"table","len":32,"c":true},{"a":6688,"n":"obj_hit_vert","k":"table","len":20,"c":true},{"a":6708,"n":"obj_hit_vert_14","k":"table","len":32,"c":true},{"a":6740,"n":"obj_hit_vert_34","k":"table","len":28,"c":true},{"a":6768,"n":"obj_frame_count","k":"table","len":10,"c":true},{"a":6778,"n":"obj_1a70_0a","k":"table","len":38,"c":true},{"a":6816,"n":"chase_range","k":"table","len":48,"c":true},{"a":6864,"n":"obj_behind","k":"variable","len":1,"c":true},{"a":6865,"n":"obj_behind_1","k":"table","len":79,"c":true},{"a":6944,"n":"obj_state","k":"table","len":14,"c":true},{"a":6958,"n":"obj_state_0e","k":"table","len":34,"c":true},{"a":6992,"n":"obj_state_30","k":"variable","len":1,"c":true},{"a":6993,"n":"obj_state_31","k":"variable","len":1,"c":true},{"a":6994,"n":"obj_state_32","k":"variable","len":1,"c":true},{"a":6995,"n":"obj_state_33","k":"variable","len":1,"c":true},{"a":6996,"n":"obj_state_34","k":"variable","len":1,"c":true},{"a":6997,"n":"obj_state_35","k":"variable","len":1,"c":true},{"a":6998,"n":"obj_state_36","k":"table","len":26,"c":true},{"a":7024,"n":"obj_x_lo","k":"variable","len":1,"c":true},{"a":7025,"n":"obj_x_lo_1","k":"table","len":42,"c":true},{"a":7067,"n":"obj_x_lo_2b","k":"table","len":11,"c":true},{"a":7078,"n":"obj_x_lo_36","k":"table","len":26,"c":true},{"a":7104,"n":"obj_x_hi","k":"variable","len":1,"c":true},{"a":7105,"n":"obj_x_hi_1","k":"table","len":42,"c":true},{"a":7147,"n":"obj_x_hi_2b","k":"table","len":9,"c":true},{"a":7156,"n":"obj_x_hi_34","k":"variable","len":2,"c":true},{"a":7158,"n":"obj_x_hi_36","k":"table","len":26,"c":true},{"a":7184,"n":"obj_y_lo","k":"variable","len":1,"c":true},{"a":7185,"n":"obj_y_lo_1","k":"table","len":15,"c":true},{"a":7200,"n":"obj_tables_page2","k":"table","len":27,"c":true},{"a":7227,"n":"obj_y_lo_2b","k":"table","len":9,"c":true},{"a":7236,"n":"obj_y_lo_34","k":"variable","len":2,"c":true},{"a":7238,"n":"obj_y_lo_36","k":"table","len":26,"c":true},{"a":7264,"n":"obj_y_hi","k":"variable","len":1,"c":true},{"a":7265,"n":"obj_y_hi_1","k":"table","len":42,"c":true},{"a":7307,"n":"obj_y_hi_2b","k":"table","len":9,"c":true},{"a":7316,"n":"obj_y_hi_34","k":"variable","len":2,"c":true},{"a":7318,"n":"obj_y_hi_36","k":"table","len":26,"c":true},{"a":7344,"n":"obj_flags","k":"table","len":12,"c":true},{"a":7356,"n":"obj_flags_0c","k":"table","len":14,"c":true},{"a":7370,"n":"obj_flags_1a","k":"variable","len":1,"c":true},{"a":7371,"n":"obj_flags_1b","k":"table","len":8,"c":true},{"a":7379,"n":"obj_flags_23","k":"table","len":25,"c":true},{"a":7404,"n":"obj_flags_3c","k":"variable","len":1,"c":true},{"a":7405,"n":"obj_flags_3d","k":"table","len":11,"c":true},{"a":7416,"n":"obj_flags_48","k":"table","len":4,"c":true},{"a":7420,"n":"obj_flags_4c","k":"table","len":4,"c":true},{"a":7424,"n":"cell_states","k":"table","len":8,"c":true},{"a":7432,"n":"cell_state_8","k":"table","len":3,"c":true},{"a":7435,"n":"cell_state_b","k":"table","len":4,"c":true},{"a":7439,"n":"cell_state_f","k":"table","len":3,"c":true},{"a":7442,"n":"spanner_flags","k":"table","len":8,"c":true},{"a":7450,"n":"hit_counts","k":"table","len":4,"c":true},{"a":7454,"n":"restart_visited","k":"variable","len":1,"c":true},{"a":7455,"n":"restart_visited_1","k":"table","len":9,"c":true},{"a":7464,"n":"first_restart_done","k":"variable","len":1,"c":true},{"a":7465,"n":"restart_point","k":"table","len":7,"c":true},{"a":7472,"n":"obj_sprite","k":"variable","len":1,"c":true},{"a":7473,"n":"obj_sprite_1","k":"variable","len":1,"c":true},{"a":7474,"n":"obj_sprite_2","k":"table","len":50,"c":true},{"a":7524,"n":"obj_sprite_34","k":"table","len":8,"c":true},{"a":7532,"n":"obj_sprite_3c","k":"variable","len":1,"c":true},{"a":7533,"n":"obj_sprite_3d","k":"table","len":11,"c":true},{"a":7544,"n":"obj_sprite_48","k":"table","len":4,"c":true},{"a":7548,"n":"obj_sprite_4c","k":"table","len":4,"c":true},{"a":7552,"n":"obj_holding","k":"variable","len":2,"c":true},{"a":7554,"n":"splinx_holding","k":"table","len":8,"c":true},{"a":7562,"n":"obj_holding_0a","k":"variable","len":2,"c":true},{"a":7564,"n":"obj_holding_0c","k":"table","len":36,"c":true},{"a":7936,"n":"tune0_v1_len","k":"table","len":208,"c":true},{"a":8144,"n":"tune0_v2_len","k":"table","len":61,"c":true},{"a":8205,"n":"a_200D","k":"table","len":64,"c":true},{"a":8269,"n":"tune_data_204d","k":"table","len":27,"c":true},{"a":8296,"n":"tune0_v1_notes","k":"table","len":416,"c":true},{"a":8712,"n":"tune0_v2_notes","k":"table","len":296,"c":true},{"a":9008,"n":"tune1_v1_len","k":"table","len":120,"c":true},{"a":9128,"n":"tune1_v2_len","k":"table","len":136,"c":true},{"a":9264,"n":"tune1_v1_notes","k":"table","len":240,"c":true},{"a":9504,"n":"tune1_v2_notes","k":"table","len":264,"c":true},{"a":9768,"n":"tune2_v1_len","k":"table","len":152,"c":true},{"a":9920,"n":"tune3_v2_len","k":"table","len":24,"c":true},{"a":9944,"n":"tune2_v2_len","k":"table","len":136,"c":true},{"a":10080,"n":"tune2_v1_notes","k":"table","len":8,"c":true},{"a":10088,"n":"tune3_v1_notes","k":"table","len":304,"c":true},{"a":10392,"n":"tune3_v2_notes","k":"table","len":40,"c":true},{"a":10432,"n":"tune2_v2_notes","k":"table","len":296,"c":true},{"a":10728,"n":"tune4_v1_len","k":"table","len":160,"c":true},{"a":10888,"n":"tune4_v2_len","k":"table","len":128,"c":true},{"a":11016,"n":"tune4_v1_notes","k":"table","len":320,"c":true},{"a":11336,"n":"tune4_v2_notes","k":"table","len":248,"c":true},{"a":11584,"n":"orphan_fragment_2d40","k":"table","len":16,"c":true},{"a":11600,"n":"tardis_music_off","k":"routine","len":6,"c":true},{"a":11606,"n":"fill_2d56","k":"table","len":44,"c":true},{"a":11776,"n":"alt_glyphs","k":"table","len":256,"c":true},{"a":12032,"n":"char_colour","k":"table","len":58,"c":true},{"a":12090,"n":"char_colour_3a","k":"table","len":103,"c":true},{"a":12193,"n":"char_colour_a1","k":"table","len":95,"c":true},{"a":12288,"n":"block_defs_0","k":"table","len":1024,"c":true},{"a":13312,"n":"block_defs_1","k":"table","len":1024,"c":true},{"a":14336,"n":"block_defs_2","k":"table","len":1024,"c":true},{"a":15360,"n":"block_defs_3","k":"table","len":1024,"c":true},{"a":16384,"n":"play_charset","k":"table","len":1024,"c":true},{"a":17408,"n":"play_charset_hi","k":"table","len":1024,"c":true},{"a":18432,"n":"startup_unused_clear_0800","k":"table","len":77,"c":true},{"a":18509,"n":"game_entry","k":"routine","len":168,"c":true},{"a":18611,"n":"b_48B3","k":"branch","len":1,"c":false},{"a":18618,"n":"b_48BA","k":"branch","len":1,"c":false},{"a":18628,"n":"b_48C4","k":"branch","len":1,"c":false},{"a":18637,"n":"b_48CD","k":"branch","len":1,"c":false},{"a":18646,"n":"b_48D6","k":"branch","len":1,"c":false},{"a":18655,"n":"b_48DF","k":"branch","len":1,"c":false},{"a":18666,"n":"b_48EA","k":"branch","len":1,"c":false},{"a":18677,"n":"startup_build_alphabet_glyphs","k":"routine","len":107,"c":true},{"a":18685,"n":"b_48FD","k":"branch","len":1,"c":false},{"a":18700,"n":"b_490C","k":"branch","len":1,"c":false},{"a":18708,"n":"b_4914","k":"branch","len":1,"c":false},{"a":18721,"n":"b_4921","k":"branch","len":1,"c":false},{"a":18732,"n":"b_492C","k":"branch","len":1,"c":false},{"a":18741,"n":"b_4935","k":"branch","len":1,"c":false},{"a":18754,"n":"b_4942","k":"branch","len":1,"c":false},{"a":18772,"n":"b_4954","k":"branch","len":1,"c":false},{"a":18784,"n":"startup_init_variables","k":"routine","len":102,"c":true},{"a":18848,"n":"b_49A0","k":"branch","len":1,"c":false},{"a":18857,"n":"b_49A9","k":"branch","len":1,"c":false},{"a":18886,"n":"startup_restore_saved_game","k":"routine","len":65,"c":true},{"a":18896,"n":"b_49D0","k":"branch","len":1,"c":false},{"a":18907,"n":"b_49DB","k":"branch","len":1,"c":false},{"a":18937,"n":"b_49F9","k":"branch","len":1,"c":false},{"a":18951,"n":"startup_final_setup","k":"routine","len":71,"c":true},{"a":18953,"n":"b_4A09","k":"branch","len":1,"c":false},{"a":19022,"n":"zp_word_table_init","k":"table","len":24,"c":true},{"a":19046,"n":"zp_init_last_byte","k":"table","len":26,"c":true},{"a":19072,"n":"startup_exit","k":"routine","len":6,"c":true},{"a":19078,"n":"startup_padding","k":"table","len":122,"c":true},{"a":19200,"n":"status_screen_src","k":"table","len":40,"c":true},{"a":19240,"n":"f_4B28","k":"table","len":64,"c":true},{"a":19456,"n":"status_font_src_4c00","k":"table","len":256,"c":true},{"a":19712,"n":"status_font_src_4d00","k":"table","len":256,"c":true},{"a":19968,"n":"status_font_src_4e00","k":"table","len":256,"c":true},{"a":20224,"n":"status_colour_src","k":"table","len":160,"c":true},{"a":20480,"n":"sprite_images_5000","k":"table","len":1024,"c":true},{"a":21504,"n":"sprite_images_5400","k":"table","len":1024,"c":true},{"a":22528,"n":"sprite_images_5800","k":"table","len":1024,"c":true},{"a":23552,"n":"sprite_images_5c00","k":"table","len":1024,"c":true},{"a":24576,"n":"sprite_images_6000","k":"table","len":1024,"c":true},{"a":25600,"n":"sprite_images_6400","k":"table","len":1024,"c":true},{"a":26624,"n":"sprite_images_6800","k":"table","len":1024,"c":true},{"a":27648,"n":"sprite_images_6c00","k":"table","len":1024,"c":true},{"a":28672,"n":"sprite_images_7000","k":"table","len":1024,"c":true},{"a":29696,"n":"tardis_sprite_image","k":"table","len":64,"c":true},{"a":29760,"n":"main_start","k":"routine","len":16,"c":true},{"a":29774,"n":"b_744E","k":"branch","len":1,"c":false},{"a":29776,"n":"a_7450","k":"routine","len":38,"c":true},{"a":29811,"n":"b_7473","k":"branch","len":1,"c":false},{"a":29814,"n":"main_loop","k":"routine","len":74,"c":true},{"a":29849,"n":"b_7499","k":"branch","len":1,"c":false},{"a":29888,"n":"music_v1_count","k":"variable","len":1,"c":true},{"a":29889,"n":"music_v2_count","k":"variable","len":1,"c":true},{"a":29890,"n":"music_v1_dur_lo","k":"table","len":5,"c":true},{"a":29895,"n":"music_v1_dur_hi","k":"table","len":5,"c":true},{"a":29900,"n":"music_v2_dur_lo","k":"table","len":5,"c":true},{"a":29905,"n":"music_v2_dur_hi","k":"table","len":5,"c":true},{"a":29910,"n":"music_v1_notes_lo","k":"table","len":5,"c":true},{"a":29915,"n":"music_v1_notes_hi","k":"table","len":5,"c":true},{"a":29920,"n":"music_v2_notes_lo","k":"table","len":5,"c":true},{"a":29925,"n":"music_v2_notes_hi","k":"table","len":5,"c":true},{"a":29930,"n":"music_update","k":"routine","len":81,"c":true},{"a":29941,"n":"b_74F5","k":"branch","len":1,"c":false},{"a":29976,"n":"b_7518","k":"branch","len":1,"c":false},{"a":29986,"n":"b_7522","k":"branch","len":1,"c":false},{"a":29996,"n":"b_752C","k":"branch","len":1,"c":false},{"a":30006,"n":"b_7536","k":"branch","len":1,"c":false},{"a":30010,"n":"r_753A","k":"branch","len":1,"c":false},{"a":30011,"n":"music_even_frame","k":"routine","len":13,"c":true},{"a":30024,"n":"music_start","k":"routine","len":35,"c":true},{"a":30041,"n":"b_7559","k":"branch","len":1,"c":false},{"a":30059,"n":"sid_init_list","k":"table","len":38,"c":true},{"a":30097,"n":"music_select_tune","k":"routine","len":47,"c":true},{"a":30144,"n":"music_step","k":"routine","len":67,"c":true},{"a":30161,"n":"b_75D1","k":"branch","len":1,"c":false},{"a":30178,"n":"r_75E2","k":"branch","len":1,"c":false},{"a":30179,"n":"b_75E3","k":"branch","len":1,"c":false},{"a":30192,"n":"b_75F0","k":"branch","len":1,"c":false},{"a":30205,"n":"b_75FD","k":"branch","len":1,"c":false},{"a":30211,"n":"a_7603","k":"routine","len":1,"c":true},{"a":30212,"n":"a_7604","k":"routine","len":49,"c":true},{"a":30226,"n":"b_7612","k":"branch","len":1,"c":false},{"a":30229,"n":"b_7615","k":"branch","len":1,"c":false},{"a":30242,"n":"b_7622","k":"branch","len":1,"c":false},{"a":30255,"n":"b_762F","k":"branch","len":1,"c":false},{"a":30261,"n":"a_7635","k":"routine","len":1,"c":true},{"a":30262,"n":"a_7636","k":"routine","len":20,"c":true},{"a":30276,"n":"b_7644","k":"branch","len":1,"c":false},{"a":30279,"n":"b_7647","k":"branch","len":1,"c":false},{"a":30282,"n":"route_waypoints","k":"table","len":12,"c":true},{"a":30294,"n":"a_7656","k":"table","len":12,"c":true},{"a":30306,"n":"a_7662","k":"table","len":12,"c":true},{"a":30318,"n":"a_766E","k":"table","len":12,"c":true},{"a":30330,"n":"a_767A","k":"table","len":8,"c":true},{"a":30338,"n":"a_7682","k":"table","len":8,"c":true},{"a":30346,"n":"a_768A","k":"table","len":8,"c":true},{"a":30354,"n":"a_7692","k":"table","len":8,"c":true},{"a":30362,"n":"a_769A","k":"table","len":12,"c":true},{"a":30374,"n":"a_76A6","k":"table","len":8,"c":true},{"a":30382,"n":"a_76AE","k":"table","len":8,"c":true},{"a":30390,"n":"a_76B6","k":"table","len":8,"c":true},{"a":30398,"n":"a_76BE","k":"table","len":4,"c":true},{"a":30402,"n":"a_76C2","k":"table","len":4,"c":true},{"a":30406,"n":"a_76C6","k":"table","len":8,"c":true},{"a":30414,"n":"a_76CE","k":"table","len":8,"c":true},{"a":30422,"n":"a_76D6","k":"table","len":12,"c":true},{"a":30434,"n":"a_76E2","k":"table","len":12,"c":true},{"a":30446,"n":"a_76EE","k":"table","len":8,"c":true},{"a":30454,"n":"a_76F6","k":"table","len":8,"c":true},{"a":30462,"n":"a_76FE","k":"table","len":16,"c":true},{"a":30478,"n":"a_770E","k":"table","len":16,"c":true},{"a":30494,"n":"a_771E","k":"table","len":8,"c":true},{"a":30502,"n":"route_ptr_lo_base","k":"table","len":8,"c":true},{"a":30510,"n":"a_772E","k":"table","len":8,"c":true},{"a":30518,"n":"route_ptr_table","k":"table","len":9,"c":true},{"a":30527,"n":"f_773F","k":"table","len":25,"c":true},{"a":30552,"n":"f_7758","k":"table","len":16,"c":true},{"a":30568,"n":"route_last_offset","k":"table","len":9,"c":true},{"a":30577,"n":"f_7771","k":"table","len":16,"c":true},{"a":30593,"n":"entity_x_reach","k":"table","len":9,"c":true},{"a":30602,"n":"f_778A","k":"table","len":16,"c":true},{"a":30618,"n":"entity_kind_flag","k":"table","len":25,"c":true},{"a":30643,"n":"entity_anim_frames","k":"table","len":4,"c":true},{"a":30647,"n":"f_77B7","k":"table","len":4,"c":true},{"a":30651,"n":"f_77BB","k":"variable","len":2,"c":true},{"a":30653,"n":"f_77BD","k":"table","len":7,"c":true},{"a":30660,"n":"f_77C4","k":"table","len":9,"c":true},{"a":30669,"n":"entity_toggle","k":"table","len":9,"c":true},{"a":30678,"n":"f_77D6","k":"table","len":16,"c":true},{"a":30694,"n":"entity_anim_count","k":"table","len":25,"c":true},{"a":32768,"n":"irq_bottom_d018_by_buffer","k":"variable","len":2,"c":true},{"a":32770,"n":"irq_play_d018_by_buffer","k":"variable","len":2,"c":true},{"a":32772,"n":"irq_exit","k":"routine","len":12,"c":true},{"a":32784,"n":"irq_raster","k":"routine","len":8,"c":true},{"a":32792,"n":"irq_band_select","k":"routine","len":155,"c":true},{"a":32793,"n":"b_8019","k":"branch","len":1,"c":false},{"a":32864,"n":"b_8060","k":"branch","len":1,"c":false},{"a":32866,"n":"b_8062","k":"branch","len":1,"c":false},{"a":32935,"n":"b_80A7","k":"branch","len":1,"c":false},{"a":32947,"n":"irq_lower_delay","k":"routine","len":39,"c":true},{"a":32962,"n":"b_80C2","k":"branch","len":1,"c":false},{"a":32986,"n":"wait_frame_and_update_sprites","k":"routine","len":89,"c":true},{"a":33037,"n":"b_810D","k":"branch","len":1,"c":false},{"a":33066,"n":"b_812A","k":"branch","len":1,"c":false},{"a":33075,"n":"sprite_update_from_list","k":"routine","len":149,"c":true},{"a":33099,"n":"b_814B","k":"branch","len":1,"c":false},{"a":33145,"n":"b_8179","k":"branch","len":1,"c":false},{"a":33159,"n":"b_8187","k":"branch","len":1,"c":false},{"a":33166,"n":"b_818E","k":"branch","len":1,"c":false},{"a":33177,"n":"b_8199","k":"branch","len":1,"c":false},{"a":33192,"n":"b_81A8","k":"branch","len":1,"c":false},{"a":33224,"n":"pad_81c8","k":"variable","len":1,"c":true},{"a":33225,"n":"sprite_enable_masks","k":"table","len":9,"c":true},{"a":33234,"n":"sprite_bit_masks","k":"table","len":8,"c":true},{"a":33242,"n":"sprite_list_add_object","k":"routine","len":111,"c":true},{"a":33264,"n":"b_81F0","k":"branch","len":1,"c":false},{"a":33299,"n":"j_8213","k":"branch","len":1,"c":false},{"a":33324,"n":"r_822C","k":"branch","len":1,"c":false},{"a":33325,"n":"b_822D","k":"branch","len":1,"c":false},{"a":33353,"n":"pad_8249","k":"variable","len":1,"c":true},{"a":33354,"n":"charobj_row","k":"variable","len":1,"c":true},{"a":33355,"n":"charobj_col","k":"variable","len":1,"c":true},{"a":33356,"n":"charobj_bg_char","k":"variable","len":1,"c":true},{"a":33357,"n":"charobj_cell_code","k":"variable","len":1,"c":true},{"a":33358,"n":"charobj_list_end","k":"variable","len":1,"c":true},{"a":33359,"n":"charobj_slot","k":"variable","len":1,"c":true},{"a":33360,"n":"slot_char_x_lo","k":"table","len":32,"c":true},{"a":33392,"n":"slot_char_x_hi","k":"table","len":32,"c":true},{"a":33424,"n":"slot_char_y_lo","k":"table","len":32,"c":true},{"a":33456,"n":"slot_char_y_hi","k":"table","len":16,"c":true},{"a":33472,"n":"charobj_drawn_base","k":"table","len":16,"c":true},{"a":33488,"n":"slot_bg_char","k":"table","len":32,"c":true},{"a":33520,"n":"charobj_drawn_flags","k":"table","len":32,"c":true},{"a":33552,"n":"charobj_step","k":"routine","len":358,"c":true},{"a":33568,"n":"b_8320","k":"branch","len":1,"c":false},{"a":33573,"n":"b_8325","k":"branch","len":1,"c":false},{"a":33581,"n":"b_832D","k":"branch","len":1,"c":false},{"a":33590,"n":"b_8336","k":"branch","len":1,"c":false},{"a":33681,"n":"b_8391","k":"branch","len":1,"c":false},{"a":33684,"n":"b_8394","k":"branch","len":1,"c":false},{"a":33689,"n":"j_8399","k":"branch","len":1,"c":false},{"a":33718,"n":"b_83B6","k":"branch","len":1,"c":false},{"a":33758,"n":"b_83DE","k":"branch","len":1,"c":false},{"a":33795,"n":"b_8403","k":"branch","len":1,"c":false},{"a":33805,"n":"b_840D","k":"branch","len":1,"c":false},{"a":33814,"n":"b_8416","k":"branch","len":1,"c":false},{"a":33817,"n":"b_8419","k":"branch","len":1,"c":false},{"a":33827,"n":"b_8423","k":"branch","len":1,"c":false},{"a":33833,"n":"b_8429","k":"branch","len":1,"c":false},{"a":33838,"n":"b_842E","k":"branch","len":1,"c":false},{"a":33846,"n":"b_8436","k":"branch","len":1,"c":false},{"a":33892,"n":"b_8464","k":"branch","len":1,"c":false},{"a":33910,"n":"charobj_bg_char_at","k":"routine","len":51,"c":true},{"a":33961,"n":"patch_maprow_lo","k":"routine","len":1,"c":true},{"a":33962,"n":"patch_maprow_hi","k":"routine","len":17,"c":true},{"a":33979,"n":"patch_tilechars_lo","k":"routine","len":1,"c":true},{"a":33980,"n":"patch_tilechars_hi","k":"routine","len":3,"c":true},{"a":33983,"n":"charobj_remove_cell","k":"routine","len":289,"c":true},{"a":33996,"n":"b_84CC","k":"branch","len":1,"c":false},{"a":34009,"n":"b_84D9","k":"branch","len":1,"c":false},{"a":34038,"n":"b_84F6","k":"branch","len":1,"c":false},{"a":34047,"n":"b_84FF","k":"branch","len":1,"c":false},{"a":34053,"n":"b_8505","k":"branch","len":1,"c":false},{"a":34075,"n":"b_851B","k":"branch","len":1,"c":false},{"a":34086,"n":"b_8526","k":"branch","len":1,"c":false},{"a":34088,"n":"b_8528","k":"branch","len":1,"c":false},{"a":34097,"n":"b_8531","k":"branch","len":1,"c":false},{"a":34106,"n":"b_853A","k":"branch","len":1,"c":false},{"a":34115,"n":"b_8543","k":"branch","len":1,"c":false},{"a":34125,"n":"b_854D","k":"branch","len":1,"c":false},{"a":34264,"n":"b_85D8","k":"branch","len":1,"c":false},{"a":34272,"n":"charobj_scan_cursor","k":"variable","len":1,"c":true},{"a":34273,"n":"charobj_scan_wrap","k":"routine","len":8,"c":true},{"a":34275,"n":"b_85E3","k":"branch","len":1,"c":false},{"a":34281,"n":"charobj_find_work","k":"routine","len":93,"c":true},{"a":34306,"n":"b_8602","k":"branch","len":1,"c":false},{"a":34342,"n":"b_8626","k":"branch","len":1,"c":false},{"a":34362,"n":"b_863A","k":"branch","len":1,"c":false},{"a":34374,"n":"charobj_merge_entry_offsets","k":"table","len":6,"c":true},{"a":34380,"n":"charobj_merge_loop_offsets","k":"table","len":6,"c":true},{"a":34386,"n":"charobj_composite_char","k":"routine","len":153,"c":true},{"a":34440,"n":"b_8688","k":"branch","len":1,"c":false},{"a":34475,"n":"b_86AB","k":"branch","len":1,"c":false},{"a":34494,"n":"b_86BE","k":"branch","len":1,"c":false},{"a":34539,"n":"patch_bgchar_lo","k":"routine","len":1,"c":true},{"a":34540,"n":"patch_bgchar_hi","k":"routine","len":12,"c":true},{"a":34546,"n":"b_86F2","k":"branch","len":1,"c":false},{"a":34551,"n":"b_86F7","k":"branch","len":1,"c":false},{"a":34552,"n":"patch_merge_entry","k":"routine","len":5,"c":true},{"a":34553,"n":"b_86F9","k":"branch","len":1,"c":false},{"a":34556,"n":"b_86FC","k":"branch","len":1,"c":false},{"a":34557,"n":"patch_merge_loop","k":"routine","len":64,"c":true},{"a":34558,"n":"j_86FE","k":"branch","len":1,"c":false},{"a":34587,"n":"b_871B","k":"branch","len":1,"c":false},{"a":34596,"n":"b_8724","k":"branch","len":1,"c":false},{"a":34611,"n":"j_8733","k":"branch","len":1,"c":false},{"a":34621,"n":"slot_redraw_count","k":"variable","len":1,"c":true},{"a":34622,"n":"slot_redraw_start","k":"table","len":8,"c":true},{"a":34630,"n":"screen_row_offset_lo","k":"table","len":25,"c":true},{"a":34655,"n":"screen_row_offset_hi","k":"table","len":25,"c":true},{"a":34680,"n":"scroll_dir_dx","k":"table","len":8,"c":true},{"a":34688,"n":"scroll_dir_dy","k":"table","len":8,"c":true},{"a":34696,"n":"screen_hi_by_buffer","k":"variable","len":2,"c":true},{"a":34698,"n":"screen_hi_other_buffer","k":"variable","len":2,"c":true},{"a":34700,"n":"slot_redraw_tick","k":"routine","len":13,"c":true},{"a":34713,"n":"slot_draw_on_screens","k":"routine","len":131,"c":true},{"a":34727,"n":"b_87A7","k":"branch","len":1,"c":false},{"a":34837,"n":"b_8815","k":"branch","len":1,"c":false},{"a":34844,"n":"unused_loop_counter","k":"variable","len":1,"c":true},{"a":34845,"n":"charobj_reset","k":"routine","len":32,"c":true},{"a":34849,"n":"b_8821","k":"branch","len":1,"c":false},{"a":34859,"n":"b_882B","k":"branch","len":1,"c":false},{"a":34868,"n":"b_8834","k":"branch","len":1,"c":false},{"a":34877,"n":"unreferenced_find_loop","k":"table","len":14,"c":true},{"a":34891,"n":"scroll_phase_limit_h","k":"table","len":16,"c":true},{"a":34907,"n":"scroll_phase_limit_v","k":"table","len":16,"c":true},{"a":34923,"n":"scroll_diag_decision","k":"table","len":64,"c":true},{"a":34987,"n":"scroll_decide_motion","k":"routine","len":93,"c":true},{"a":35014,"n":"b_88C6","k":"branch","len":1,"c":false},{"a":35019,"n":"b_88CB","k":"branch","len":1,"c":false},{"a":35032,"n":"b_88D8","k":"branch","len":1,"c":false},{"a":35042,"n":"b_88E2","k":"branch","len":1,"c":false},{"a":35054,"n":"b_88EE","k":"branch","len":1,"c":false},{"a":35058,"n":"b_88F2","k":"branch","len":1,"c":false},{"a":35068,"n":"r_88FC","k":"branch","len":1,"c":false},{"a":35069,"n":"b_88FD","k":"branch","len":1,"c":false},{"a":35079,"n":"b_8907","k":"branch","len":1,"c":false},{"a":35080,"n":"patch_diag_branch_a","k":"routine","len":41,"c":true},{"a":35090,"n":"b_8912","k":"branch","len":1,"c":false},{"a":35096,"n":"b_8918","k":"branch","len":1,"c":false},{"a":35112,"n":"b_8928","k":"branch","len":1,"c":false},{"a":35120,"n":"b_8930","k":"branch","len":1,"c":false},{"a":35121,"n":"patch_diag_branch_b","k":"routine","len":91,"c":true},{"a":35130,"n":"b_893A","k":"branch","len":1,"c":false},{"a":35133,"n":"b_893D","k":"branch","len":1,"c":false},{"a":35149,"n":"j_894D","k":"branch","len":1,"c":false},{"a":35162,"n":"b_895A","k":"branch","len":1,"c":false},{"a":35176,"n":"b_8968","k":"branch","len":1,"c":false},{"a":35188,"n":"b_8974","k":"branch","len":1,"c":false},{"a":35192,"n":"b_8978","k":"branch","len":1,"c":false},{"a":35202,"n":"r_8982","k":"branch","len":1,"c":false},{"a":35203,"n":"b_8983","k":"branch","len":1,"c":false},{"a":35211,"n":"b_898B","k":"branch","len":1,"c":false},{"a":35212,"n":"patch_diag_branch_c","k":"routine","len":42,"c":true},{"a":35221,"n":"b_8995","k":"branch","len":1,"c":false},{"a":35227,"n":"b_899B","k":"branch","len":1,"c":false},{"a":35243,"n":"b_89AB","k":"branch","len":1,"c":false},{"a":35253,"n":"b_89B5","k":"branch","len":1,"c":false},{"a":35254,"n":"patch_diag_branch_d","k":"routine","len":136,"c":true},{"a":35263,"n":"b_89BF","k":"branch","len":1,"c":false},{"a":35279,"n":"j_89CF","k":"branch","len":1,"c":false},{"a":35285,"n":"j_89D5","k":"branch","len":1,"c":false},{"a":35308,"n":"b_89EC","k":"branch","len":1,"c":false},{"a":35320,"n":"b_89F8","k":"branch","len":1,"c":false},{"a":35324,"n":"b_89FC","k":"branch","len":1,"c":false},{"a":35334,"n":"r_8A06","k":"branch","len":1,"c":false},{"a":35335,"n":"j_8A07","k":"branch","len":1,"c":false},{"a":35358,"n":"b_8A1E","k":"branch","len":1,"c":false},{"a":35370,"n":"b_8A2A","k":"branch","len":1,"c":false},{"a":35374,"n":"b_8A2E","k":"branch","len":1,"c":false},{"a":35384,"n":"r_8A38","k":"branch","len":1,"c":false},{"a":35385,"n":"b_8A39","k":"branch","len":1,"c":false},{"a":35390,"n":"apply_motion_and_view","k":"routine","len":164,"c":true},{"a":35418,"n":"b_8A5A","k":"branch","len":1,"c":false},{"a":35431,"n":"b_8A67","k":"branch","len":1,"c":false},{"a":35455,"n":"b_8A7F","k":"branch","len":1,"c":false},{"a":35472,"n":"b_8A90","k":"branch","len":1,"c":false},{"a":35554,"n":"scroll1_src_lo","k":"table","len":16,"c":true},{"a":35570,"n":"scroll1_src_hi","k":"table","len":16,"c":true},{"a":35586,"n":"scroll1_dst_lo","k":"table","len":16,"c":true},{"a":35602,"n":"scroll1_dst_hi","k":"table","len":16,"c":true},{"a":35618,"n":"scroll1_start_y","k":"table","len":16,"c":true},{"a":35634,"n":"scroll2_src_lo","k":"table","len":16,"c":true},{"a":35650,"n":"scroll2_src_hi","k":"table","len":16,"c":true},{"a":35666,"n":"scroll2_dst_lo","k":"table","len":16,"c":true},{"a":35682,"n":"scroll2_dst_hi","k":"table","len":16,"c":true},{"a":35698,"n":"scroll2_start_y","k":"table","len":16,"c":true},{"a":35714,"n":"newrow_dst_lo","k":"table","len":16,"c":true},{"a":35730,"n":"newrow_dst_hi","k":"table","len":16,"c":true},{"a":35746,"n":"newrow_dx_lo","k":"table","len":16,"c":true},{"a":35762,"n":"newrow_dx_hi","k":"table","len":16,"c":true},{"a":35778,"n":"newrow_dy_lo","k":"table","len":16,"c":true},{"a":35794,"n":"newrow_dy_hi","k":"table","len":16,"c":true},{"a":35810,"n":"newcol_dst_lo","k":"table","len":16,"c":true},{"a":35826,"n":"newcol_dst_hi","k":"table","len":16,"c":true},{"a":35842,"n":"newcol_dx_lo","k":"table","len":16,"c":true},{"a":35858,"n":"newcol_dx_hi","k":"table","len":16,"c":true},{"a":35874,"n":"newcol_dy_lo","k":"table","len":16,"c":true},{"a":35890,"n":"coarse_scroll_step","k":"routine","len":21,"c":true},{"a":35897,"n":"b_8C39","k":"branch","len":1,"c":false},{"a":35904,"n":"r_8C40","k":"branch","len":1,"c":false},{"a":35905,"n":"b_8C41","k":"branch","len":1,"c":false},{"a":35910,"n":"b_8C46","k":"branch","len":1,"c":false},{"a":35911,"n":"patch_scroll_phase","k":"routine","len":190,"c":true},{"a":35919,"n":"b_8C4F","k":"branch","len":1,"c":false},{"a":35928,"n":"b_8C58","k":"branch","len":1,"c":false},{"a":36018,"n":"b_8CB2","k":"branch","len":1,"c":false},{"a":36101,"n":"colour_src_hi_top","k":"variable","len":2,"c":true},{"a":36103,"n":"flip_buffer_colour_top","k":"routine","len":48,"c":true},{"a":36151,"n":"colour_src_hi_bottom","k":"variable","len":2,"c":true},{"a":36153,"n":"colour_bottom_half","k":"routine","len":40,"c":true},{"a":36193,"n":"tile_row_buffer","k":"table","len":11,"c":true},{"a":36204,"n":"draw_map_row","k":"routine","len":29,"c":true},{"a":36232,"n":"b_8D88","k":"branch","len":1,"c":false},{"a":36233,"n":"patch_rowtiles_lo","k":"routine","len":1,"c":true},{"a":36234,"n":"patch_rowtiles_hi","k":"routine","len":59,"c":true},{"a":36257,"n":"b_8DA1","k":"branch","len":1,"c":false},{"a":36259,"n":"b_8DA3","k":"branch","len":1,"c":false},{"a":36292,"n":"b_8DC4","k":"branch","len":1,"c":false},{"a":36293,"n":"patch_rowsrc_lo","k":"routine","len":1,"c":true},{"a":36294,"n":"patch_rowsrc_hi","k":"routine","len":2,"c":true},{"a":36296,"n":"patch_rowdst_lo","k":"routine","len":1,"c":true},{"a":36297,"n":"patch_rowdst_hi","k":"routine","len":37,"c":true},{"a":36333,"n":"r_8DED","k":"branch","len":1,"c":false},{"a":36334,"n":"draw_map_column","k":"routine","len":26,"c":true},{"a":36343,"n":"b_8DF7","k":"branch","len":1,"c":false},{"a":36360,"n":"patch_coltiles_lo","k":"routine","len":1,"c":true},{"a":36361,"n":"patch_coltiles_hi","k":"routine","len":59,"c":true},{"a":36419,"n":"b_8E43","k":"branch","len":1,"c":false},{"a":36420,"n":"patch_colsrc_lo","k":"routine","len":1,"c":true},{"a":36421,"n":"patch_colsrc_hi","k":"routine","len":2,"c":true},{"a":36423,"n":"patch_coldst_lo","k":"routine","len":1,"c":true},{"a":36424,"n":"patch_coldst_hi","k":"routine","len":47,"c":true},{"a":36439,"n":"b_8E57","k":"branch","len":1,"c":false},{"a":36470,"n":"r_8E76","k":"branch","len":1,"c":false},{"a":36471,"n":"copy_screen_pages","k":"routine","len":5,"c":true},{"a":36475,"n":"b_8E7B","k":"branch","len":1,"c":false},{"a":36476,"n":"patch_copysrc_lo","k":"routine","len":1,"c":true},{"a":36477,"n":"patch_copysrc_hi","k":"routine","len":2,"c":true},{"a":36479,"n":"patch_copydst_lo","k":"routine","len":1,"c":true},{"a":36480,"n":"patch_copydst_hi","k":"routine","len":15,"c":true},{"a":36495,"n":"map_pos_to_tile","k":"routine","len":41,"c":true},{"a":36536,"n":"colour_from_chars","k":"routine","len":1,"c":true},{"a":36537,"n":"patch_colsrc_screen_lo","k":"routine","len":1,"c":true},{"a":36538,"n":"patch_colsrc_screen_hi","k":"routine","len":5,"c":true},{"a":36543,"n":"patch_colour_ram_lo","k":"routine","len":1,"c":true},{"a":36544,"n":"patch_colour_ram_hi","k":"routine","len":15,"c":true},{"a":36559,"n":"redraw_row_count","k":"variable","len":1,"c":true},{"a":36560,"n":"redraw_play_area","k":"routine","len":84,"c":true},{"a":36596,"n":"b_8EF4","k":"branch","len":1,"c":false},{"a":36644,"n":"read_input","k":"routine","len":220,"c":true},{"a":36679,"n":"b_8F47","k":"branch","len":1,"c":false},{"a":36695,"n":"b_8F57","k":"branch","len":1,"c":false},{"a":36708,"n":"j_8F64","k":"branch","len":1,"c":false},{"a":36724,"n":"b_8F74","k":"branch","len":1,"c":false},{"a":36737,"n":"j_8F81","k":"branch","len":1,"c":false},{"a":36796,"n":"b_8FBC","k":"branch","len":1,"c":false},{"a":36831,"n":"b_8FDF","k":"branch","len":1,"c":false},{"a":36846,"n":"b_8FEE","k":"branch","len":1,"c":false},{"a":36858,"n":"j_8FFA","k":"branch","len":1,"c":false},{"a":36864,"n":"input_keys_tail","k":"routine","len":89,"c":true},{"a":36873,"n":"b_9009","k":"branch","len":1,"c":false},{"a":36885,"n":"j_9015","k":"branch","len":1,"c":false},{"a":36927,"n":"r_903F","k":"branch","len":1,"c":false},{"a":36928,"n":"b_9040","k":"branch","len":1,"c":false},{"a":36931,"n":"b_9043","k":"branch","len":1,"c":false},{"a":36934,"n":"b_9046","k":"branch","len":1,"c":false},{"a":36937,"n":"b_9049","k":"branch","len":1,"c":false},{"a":36940,"n":"b_904C","k":"branch","len":1,"c":false},{"a":36943,"n":"b_904F","k":"branch","len":1,"c":false},{"a":36948,"n":"b_9054","k":"branch","len":1,"c":false},{"a":36953,"n":"restart_point_x_hi","k":"table","len":9,"c":true},{"a":36962,"n":"restart_point_x_lo","k":"table","len":9,"c":true},{"a":36971,"n":"restart_point_y_hi","k":"table","len":9,"c":true},{"a":36980,"n":"restart_point_y_lo","k":"table","len":9,"c":true},{"a":36989,"n":"check_restart_points","k":"routine","len":110,"c":true},{"a":36993,"n":"j_9081","k":"branch","len":1,"c":false},{"a":37046,"n":"b_90B6","k":"branch","len":1,"c":false},{"a":37052,"n":"r_90BC","k":"branch","len":1,"c":false},{"a":37053,"n":"j_90BD","k":"branch","len":1,"c":false},{"a":37077,"n":"b_90D5","k":"branch","len":1,"c":false},{"a":37098,"n":"r_90EA","k":"branch","len":1,"c":false},{"a":37099,"n":"end_item_flags","k":"variable","len":1,"c":true},{"a":37100,"n":"a_90EC","k":"variable","len":1,"c":true},{"a":37101,"n":"a_90ED","k":"variable","len":2,"c":true},{"a":37103,"n":"end_message_by_cause","k":"table","len":12,"c":true},{"a":37115,"n":"end_item_message","k":"table","len":3,"c":true},{"a":37118,"n":"goto_save_menu","k":"routine","len":3,"c":true},{"a":37122,"n":"game_event_handler","k":"routine","len":162,"c":true},{"a":37164,"n":"b_912C","k":"branch","len":1,"c":false},{"a":37167,"n":"b_912F","k":"branch","len":1,"c":false},{"a":37179,"n":"b_913B","k":"branch","len":1,"c":false},{"a":37187,"n":"b_9143","k":"branch","len":1,"c":false},{"a":37205,"n":"b_9155","k":"branch","len":1,"c":false},{"a":37219,"n":"j_9163","k":"branch","len":1,"c":false},{"a":37264,"n":"b_9190","k":"branch","len":1,"c":false},{"a":37270,"n":"b_9196","k":"branch","len":1,"c":false},{"a":37284,"n":"heatonite_item_ids","k":"table","len":4,"c":true},{"a":37288,"n":"end_bonus_heatonite_loop","k":"routine","len":228,"c":true},{"a":37291,"n":"b_91AB","k":"branch","len":1,"c":false},{"a":37303,"n":"b_91B7","k":"branch","len":1,"c":false},{"a":37308,"n":"j_91BC","k":"branch","len":1,"c":false},{"a":37352,"n":"b_91E8","k":"branch","len":1,"c":false},{"a":37373,"n":"b_91FD","k":"branch","len":1,"c":false},{"a":37382,"n":"b_9206","k":"branch","len":1,"c":false},{"a":37391,"n":"b_920F","k":"branch","len":1,"c":false},{"a":37393,"n":"b_9211","k":"branch","len":1,"c":false},{"a":37413,"n":"b_9225","k":"branch","len":1,"c":false},{"a":37429,"n":"b_9235","k":"branch","len":1,"c":false},{"a":37437,"n":"j_923D","k":"branch","len":1,"c":false},{"a":37443,"n":"b_9243","k":"branch","len":1,"c":false},{"a":37494,"n":"b_9276","k":"branch","len":1,"c":false},{"a":37506,"n":"b_9282","k":"branch","len":1,"c":false},{"a":37516,"n":"item_bonus_check","k":"routine","len":15,"c":true},{"a":37531,"n":"double_bonus","k":"routine","len":24,"c":true},{"a":37555,"n":"save_status_bar","k":"routine","len":48,"c":true},{"a":37557,"n":"b_92B5","k":"branch","len":1,"c":false},{"a":37568,"n":"b_92C0","k":"branch","len":1,"c":false},{"a":37579,"n":"b_92CB","k":"branch","len":1,"c":false},{"a":37594,"n":"b_92DA","k":"branch","len":1,"c":false},{"a":37603,"n":"print_scrolling_message","k":"routine","len":100,"c":true},{"a":37615,"n":"j_92EF","k":"branch","len":1,"c":false},{"a":37631,"n":"b_92FF","k":"branch","len":1,"c":false},{"a":37649,"n":"b_9311","k":"branch","len":1,"c":false},{"a":37652,"n":"b_9314","k":"branch","len":1,"c":false},{"a":37668,"n":"b_9324","k":"branch","len":1,"c":false},{"a":37684,"n":"b_9334","k":"branch","len":1,"c":false},{"a":37703,"n":"restore_status_colour","k":"routine","len":12,"c":true},{"a":37705,"n":"b_9349","k":"branch","len":1,"c":false},{"a":37715,"n":"resume_after_message","k":"routine","len":5,"c":true},{"a":37720,"n":"start_or_resume_play","k":"routine","len":414,"c":true},{"a":37743,"n":"b_936F","k":"branch","len":1,"c":false},{"a":37772,"n":"b_938C","k":"branch","len":1,"c":false},{"a":37774,"n":"b_938E","k":"branch","len":1,"c":false},{"a":37787,"n":"b_939B","k":"branch","len":1,"c":false},{"a":37794,"n":"b_93A2","k":"branch","len":1,"c":false},{"a":37830,"n":"b_93C6","k":"branch","len":1,"c":false},{"a":37847,"n":"b_93D7","k":"branch","len":1,"c":false},{"a":37857,"n":"b_93E1","k":"branch","len":1,"c":false},{"a":37896,"n":"j_9408","k":"branch","len":1,"c":false},{"a":37935,"n":"b_942F","k":"branch","len":1,"c":false},{"a":37951,"n":"b_943F","k":"branch","len":1,"c":false},{"a":37958,"n":"b_9446","k":"branch","len":1,"c":false},{"a":37968,"n":"b_9450","k":"branch","len":1,"c":false},{"a":37980,"n":"b_945C","k":"branch","len":1,"c":false},{"a":37989,"n":"b_9465","k":"branch","len":1,"c":false},{"a":38002,"n":"b_9472","k":"branch","len":1,"c":false},{"a":38008,"n":"j_9478","k":"branch","len":1,"c":false},{"a":38012,"n":"b_947C","k":"branch","len":1,"c":false},{"a":38018,"n":"b_9482","k":"branch","len":1,"c":false},{"a":38054,"n":"b_94A6","k":"branch","len":1,"c":false},{"a":38066,"n":"b_94B2","k":"branch","len":1,"c":false},{"a":38076,"n":"b_94BC","k":"branch","len":1,"c":false},{"a":38134,"n":"save_menu_messages","k":"table","len":3,"c":true},{"a":38142,"n":"save_device","k":"variable","len":1,"c":true},{"a":38143,"n":"save_menu","k":"routine","len":204,"c":true},{"a":38145,"n":"b_9501","k":"branch","len":1,"c":false},{"a":38175,"n":"b_951F","k":"branch","len":1,"c":false},{"a":38182,"n":"b_9526","k":"branch","len":1,"c":false},{"a":38189,"n":"b_952D","k":"branch","len":1,"c":false},{"a":38195,"n":"b_9533","k":"branch","len":1,"c":false},{"a":38210,"n":"b_9542","k":"branch","len":1,"c":false},{"a":38220,"n":"b_954C","k":"branch","len":1,"c":false},{"a":38231,"n":"b_9557","k":"branch","len":1,"c":false},{"a":38259,"n":"b_9573","k":"branch","len":1,"c":false},{"a":38347,"n":"message_ptr_lo","k":"table","len":91,"c":true},{"a":38438,"n":"message_ptr_hi","k":"table","len":91,"c":true},{"a":38529,"n":"msg_final_score_digits","k":"table","len":11,"c":true},{"a":38540,"n":"msg_your_final_score_is","k":"table","len":21,"c":true},{"a":38561,"n":"msg_the_doctor_regenerates_after","k":"table","len":30,"c":true},{"a":38591,"n":"msg_game_over","k":"table","len":11,"c":true},{"a":38602,"n":"msg_press","k":"table","len":7,"c":true},{"a":38609,"n":"msg_f1_to","k":"table","len":7,"c":true},{"a":38616,"n":"msg_f3_to","k":"table","len":7,"c":true},{"a":38623,"n":"msg_f5_to","k":"table","len":7,"c":true},{"a":38630,"n":"msg_play_again","k":"table","len":12,"c":true},{"a":38642,"n":"msg_forced_regeneration","k":"table","len":21,"c":true},{"a":38663,"n":"msg_the_crystal","k":"table","len":13,"c":true},{"a":38676,"n":"msg_the_tiru_plans","k":"table","len":16,"c":true},{"a":38692,"n":"msg_splinx","k":"table","len":8,"c":true},{"a":38700,"n":"msg_the_explosion","k":"table","len":15,"c":true},{"a":38715,"n":"msg_exposure_to_radiation","k":"table","len":23,"c":true},{"a":38738,"n":"msg_a_shock_from_a_controller","k":"table","len":27,"c":true},{"a":38765,"n":"msg_a_fall","k":"table","len":8,"c":true},{"a":38773,"n":"msg_falling_on_a_stalagmite","k":"table","len":25,"c":true},{"a":38798,"n":"msg_suffocating","k":"table","len":13,"c":true},{"a":38811,"n":"msg_suffering_a_madrag_bite","k":"table","len":25,"c":true},{"a":38836,"n":"msg_being_attacked_by_a_baby_madrag","k":"table","len":33,"c":true},{"a":38869,"n":"msg_eight_spaces","k":"table","len":9,"c":true},{"a":38878,"n":"msg_after","k":"table","len":7,"c":true},{"a":38885,"n":"msg_you_have_returned_to_gallifrey_in","k":"table","len":35,"c":true},{"a":38920,"n":"msg_the_tardis","k":"table","len":12,"c":true},{"a":38932,"n":"msg_an_escape_pod","k":"table","len":15,"c":true},{"a":38947,"n":"msg_with","k":"table","len":6,"c":true},{"a":38953,"n":"msg_and_have_successfully","k":"table","len":23,"c":true},{"a":38976,"n":"msg_but_have_not","k":"table","len":14,"c":true},{"a":38990,"n":"msg_halted_the_production_of_heatonite","k":"table","len":36,"c":true},{"a":39026,"n":"msg_the_time_lords_are","k":"table","len":20,"c":true},{"a":39046,"n":"msg_with_your_performance","k":"table","len":23,"c":true},{"a":39069,"n":"msg_save_on","k":"table","len":9,"c":true},{"a":39078,"n":"msg_cassette","k":"table","len":10,"c":true},{"a":39088,"n":"msg_disc","k":"table","len":6,"c":true},{"a":39094,"n":"msg_return_to_game","k":"table","len":16,"c":true},{"a":39110,"n":"msg_displeased","k":"table","len":12,"c":true},{"a":39122,"n":"msg_pleased","k":"table","len":9,"c":true},{"a":39131,"n":"msg_very","k":"table","len":6,"c":true},{"a":39137,"n":"terrain_class_eb","k":"table","len":11,"c":true},{"a":39148,"n":"terrain_class_ec","k":"table","len":11,"c":true},{"a":39159,"n":"terrain_class_ed","k":"table","len":11,"c":true},{"a":39170,"n":"terrain_class_ee","k":"table","len":11,"c":true},{"a":39181,"n":"terrain_probe","k":"routine","len":73,"c":true},{"a":39254,"n":"a_9956","k":"routine","len":1,"c":true},{"a":39255,"n":"a_9957","k":"routine","len":18,"c":true},{"a":39273,"n":"a_9969","k":"routine","len":1,"c":true},{"a":39274,"n":"a_996A","k":"routine","len":27,"c":true},{"a":39301,"n":"next_x_from_cb","k":"routine","len":51,"c":true},{"a":39327,"n":"b_999F","k":"branch","len":1,"c":false},{"a":39341,"n":"b_99AD","k":"branch","len":1,"c":false},{"a":39352,"n":"next_y_from_cc","k":"routine","len":53,"c":true},{"a":39378,"n":"b_99D2","k":"branch","len":1,"c":false},{"a":39394,"n":"b_99E2","k":"branch","len":1,"c":false},{"a":39405,"n":"check_up_blocked","k":"routine","len":28,"c":true},{"a":39432,"n":"r_9A08","k":"branch","len":1,"c":false},{"a":39433,"n":"terrain_probe_centre","k":"routine","len":37,"c":true},{"a":39470,"n":"walk_above_flag","k":"variable","len":1,"c":true},{"a":39471,"n":"move_walk_stop","k":"routine","len":10,"c":true},{"a":39481,"n":"move_walk","k":"routine","len":57,"c":true},{"a":39507,"n":"b_9A53","k":"branch","len":1,"c":false},{"a":39537,"n":"b_9A71","k":"branch","len":1,"c":false},{"a":39538,"n":"a_9A72","k":"routine","len":243,"c":true},{"a":39551,"n":"b_9A7F","k":"branch","len":1,"c":false},{"a":39554,"n":"b_9A82","k":"branch","len":1,"c":false},{"a":39558,"n":"b_9A86","k":"branch","len":1,"c":false},{"a":39569,"n":"b_9A91","k":"branch","len":1,"c":false},{"a":39583,"n":"b_9A9F","k":"branch","len":1,"c":false},{"a":39606,"n":"b_9AB6","k":"branch","len":1,"c":false},{"a":39624,"n":"j_9AC8","k":"branch","len":1,"c":false},{"a":39640,"n":"b_9AD8","k":"branch","len":1,"c":false},{"a":39647,"n":"b_9ADF","k":"branch","len":1,"c":false},{"a":39659,"n":"b_9AEB","k":"branch","len":1,"c":false},{"a":39664,"n":"b_9AF0","k":"branch","len":1,"c":false},{"a":39675,"n":"b_9AFB","k":"branch","len":1,"c":false},{"a":39680,"n":"b_9B00","k":"branch","len":1,"c":false},{"a":39684,"n":"b_9B04","k":"branch","len":1,"c":false},{"a":39694,"n":"j_9B0E","k":"branch","len":1,"c":false},{"a":39717,"n":"b_9B25","k":"branch","len":1,"c":false},{"a":39733,"n":"j_9B35","k":"branch","len":1,"c":false},{"a":39749,"n":"b_9B45","k":"branch","len":1,"c":false},{"a":39756,"n":"j_9B4C","k":"branch","len":1,"c":false},{"a":39780,"n":"b_9B64","k":"branch","len":1,"c":false},{"a":39781,"n":"a_9B65","k":"routine","len":105,"c":true},{"a":39796,"n":"b_9B74","k":"branch","len":1,"c":false},{"a":39800,"n":"b_9B78","k":"branch","len":1,"c":false},{"a":39811,"n":"b_9B83","k":"branch","len":1,"c":false},{"a":39825,"n":"b_9B91","k":"branch","len":1,"c":false},{"a":39872,"n":"b_9BC0","k":"branch","len":1,"c":false},{"a":39876,"n":"b_9BC4","k":"branch","len":1,"c":false},{"a":39886,"n":"move_turn_or_walk","k":"routine","len":144,"c":true},{"a":39912,"n":"b_9BE8","k":"branch","len":1,"c":false},{"a":39931,"n":"b_9BFB","k":"branch","len":1,"c":false},{"a":39953,"n":"j_9C11","k":"branch","len":1,"c":false},{"a":39990,"n":"b_9C36","k":"branch","len":1,"c":false},{"a":40000,"n":"b_9C40","k":"branch","len":1,"c":false},{"a":40010,"n":"r_9C4A","k":"branch","len":1,"c":false},{"a":40011,"n":"b_9C4B","k":"branch","len":1,"c":false},{"a":40030,"n":"saved_cb","k":"variable","len":1,"c":true},{"a":40031,"n":"move_climb_up","k":"routine","len":182,"c":true},{"a":40058,"n":"b_9C7A","k":"branch","len":1,"c":false},{"a":40122,"n":"b_9CBA","k":"branch","len":1,"c":false},{"a":40138,"n":"b_9CCA","k":"branch","len":1,"c":false},{"a":40145,"n":"b_9CD1","k":"branch","len":1,"c":false},{"a":40163,"n":"r_9CE3","k":"branch","len":1,"c":false},{"a":40164,"n":"b_9CE4","k":"branch","len":1,"c":false},{"a":40213,"n":"move_vertical","k":"routine","len":246,"c":true},{"a":40224,"n":"b_9D20","k":"branch","len":1,"c":false},{"a":40280,"n":"b_9D58","k":"branch","len":1,"c":false},{"a":40289,"n":"b_9D61","k":"branch","len":1,"c":false},{"a":40310,"n":"j_9D76","k":"branch","len":1,"c":false},{"a":40329,"n":"b_9D89","k":"branch","len":1,"c":false},{"a":40381,"n":"b_9DBD","k":"branch","len":1,"c":false},{"a":40415,"n":"b_9DDF","k":"branch","len":1,"c":false},{"a":40453,"n":"b_9E05","k":"branch","len":1,"c":false},{"a":40459,"n":"y_fine_offset","k":"variable","len":1,"c":true},{"a":40460,"n":"move_slide_horizontal","k":"routine","len":188,"c":true},{"a":40511,"n":"b_9E3F","k":"branch","len":1,"c":false},{"a":40515,"n":"b_9E43","k":"branch","len":1,"c":false},{"a":40542,"n":"b_9E5E","k":"branch","len":1,"c":false},{"a":40546,"n":"b_9E62","k":"branch","len":1,"c":false},{"a":40552,"n":"b_9E68","k":"branch","len":1,"c":false},{"a":40557,"n":"b_9E6D","k":"branch","len":1,"c":false},{"a":40562,"n":"b_9E72","k":"branch","len":1,"c":false},{"a":40590,"n":"b_9E8E","k":"branch","len":1,"c":false},{"a":40594,"n":"b_9E92","k":"branch","len":1,"c":false},{"a":40621,"n":"b_9EAD","k":"branch","len":1,"c":false},{"a":40625,"n":"b_9EB1","k":"branch","len":1,"c":false},{"a":40631,"n":"b_9EB7","k":"branch","len":1,"c":false},{"a":40638,"n":"b_9EBE","k":"branch","len":1,"c":false},{"a":40648,"n":"move_object_general","k":"routine","len":313,"c":true},{"a":40665,"n":"b_9ED9","k":"branch","len":1,"c":false},{"a":40670,"n":"b_9EDE","k":"branch","len":1,"c":false},{"a":40693,"n":"b_9EF5","k":"branch","len":1,"c":false},{"a":40748,"n":"b_9F2C","k":"branch","len":1,"c":false},{"a":40764,"n":"b_9F3C","k":"branch","len":1,"c":false},{"a":40816,"n":"b_9F70","k":"branch","len":1,"c":false},{"a":40821,"n":"b_9F75","k":"branch","len":1,"c":false},{"a":40826,"n":"j_9F7A","k":"branch","len":1,"c":false},{"a":40863,"n":"j_9F9F","k":"branch","len":1,"c":false},{"a":40880,"n":"b_9FB0","k":"branch","len":1,"c":false},{"a":40935,"n":"b_9FE7","k":"branch","len":1,"c":false},{"a":40957,"n":"b_9FFD","k":"branch","len":1,"c":false},{"a":40960,"n":"p_A000","k":"branch","len":1,"c":false},{"a":40961,"n":"move_check_tail","k":"routine","len":54,"c":true},{"a":41015,"n":"move_blocked_80","k":"routine","len":5,"c":true},{"a":41020,"n":"move_blocked_ff","k":"routine","len":5,"c":true},{"a":41025,"n":"move_check_left_level","k":"routine","len":37,"c":true},{"a":41062,"n":"move_check_vertical","k":"routine","len":108,"c":true},{"a":41113,"n":"b_A099","k":"branch","len":1,"c":false},{"a":41145,"n":"b_A0B9","k":"branch","len":1,"c":false},{"a":41169,"n":"r_A0D1","k":"branch","len":1,"c":false},{"a":41170,"n":"jump_frame_count","k":"variable","len":1,"c":true},{"a":41171,"n":"jump_saved_horizontal","k":"variable","len":1,"c":true},{"a":41172,"n":"jump_arc_step","k":"routine","len":87,"c":true},{"a":41191,"n":"b_A0E7","k":"branch","len":1,"c":false},{"a":41203,"n":"b_A0F3","k":"branch","len":1,"c":false},{"a":41207,"n":"b_A0F7","k":"branch","len":1,"c":false},{"a":41209,"n":"b_A0F9","k":"branch","len":1,"c":false},{"a":41212,"n":"b_A0FC","k":"branch","len":1,"c":false},{"a":41246,"n":"r_A11E","k":"branch","len":1,"c":false},{"a":41247,"n":"b_A11F","k":"branch","len":1,"c":false},{"a":41259,"n":"unused_byte_a12b","k":"variable","len":1,"c":true},{"a":41260,"n":"lift_stop_y_lo","k":"table","len":8,"c":true},{"a":41268,"n":"lift_stop_y_hi","k":"table","len":8,"c":true},{"a":41276,"n":"lift_update","k":"routine","len":181,"c":true},{"a":41286,"n":"b_A146","k":"branch","len":1,"c":false},{"a":41335,"n":"b_A177","k":"branch","len":1,"c":false},{"a":41346,"n":"b_A182","k":"branch","len":1,"c":false},{"a":41350,"n":"b_A186","k":"branch","len":1,"c":false},{"a":41361,"n":"b_A191","k":"branch","len":1,"c":false},{"a":41387,"n":"b_A1AB","k":"branch","len":1,"c":false},{"a":41392,"n":"b_A1B0","k":"branch","len":1,"c":false},{"a":41400,"n":"j_A1B8","k":"branch","len":1,"c":false},{"a":41416,"n":"b_A1C8","k":"branch","len":1,"c":false},{"a":41427,"n":"b_A1D3","k":"branch","len":1,"c":false},{"a":41430,"n":"b_A1D6","k":"branch","len":1,"c":false},{"a":41448,"n":"b_A1E8","k":"branch","len":1,"c":false},{"a":41457,"n":"lift_doctor_near","k":"routine","len":55,"c":true},{"a":41507,"n":"b_A223","k":"branch","len":1,"c":false},{"a":41512,"n":"lift_step_y","k":"routine","len":42,"c":true},{"a":41535,"n":"r_A23F","k":"branch","len":1,"c":false},{"a":41536,"n":"b_A240","k":"branch","len":1,"c":false},{"a":41554,"n":"lift_check_board","k":"routine","len":94,"c":true},{"a":41610,"n":"b_A28A","k":"branch","len":1,"c":false},{"a":41637,"n":"b_A2A5","k":"branch","len":1,"c":false},{"a":41642,"n":"b_A2AA","k":"branch","len":1,"c":false},{"a":41648,"n":"truck_stop_x_lo","k":"table","len":4,"c":true},{"a":41652,"n":"truck_stop_x_hi","k":"table","len":4,"c":true},{"a":41656,"n":"truck_return","k":"routine","len":1,"c":true},{"a":41657,"n":"truck_update","k":"routine","len":220,"c":true},{"a":41676,"n":"b_A2CC","k":"branch","len":1,"c":false},{"a":41684,"n":"b_A2D4","k":"branch","len":1,"c":false},{"a":41698,"n":"b_A2E2","k":"branch","len":1,"c":false},{"a":41710,"n":"b_A2EE","k":"branch","len":1,"c":false},{"a":41765,"n":"b_A325","k":"branch","len":1,"c":false},{"a":41769,"n":"b_A329","k":"branch","len":1,"c":false},{"a":41774,"n":"b_A32E","k":"branch","len":1,"c":false},{"a":41807,"n":"b_A34F","k":"branch","len":1,"c":false},{"a":41812,"n":"j_A354","k":"branch","len":1,"c":false},{"a":41848,"n":"b_A378","k":"branch","len":1,"c":false},{"a":41856,"n":"j_A380","k":"branch","len":1,"c":false},{"a":41869,"n":"b_A38D","k":"branch","len":1,"c":false},{"a":41877,"n":"truck_check_board","k":"routine","len":60,"c":true},{"a":41932,"n":"b_A3CC","k":"branch","len":1,"c":false},{"a":41937,"n":"truck_step_x","k":"routine","len":42,"c":true},{"a":41960,"n":"r_A3E8","k":"branch","len":1,"c":false},{"a":41961,"n":"b_A3E9","k":"branch","len":1,"c":false},{"a":41979,"n":"distance_to_point","k":"routine","len":115,"c":true},{"a":42010,"n":"b_A41A","k":"branch","len":1,"c":false},{"a":42016,"n":"b_A420","k":"branch","len":1,"c":false},{"a":42037,"n":"b_A435","k":"branch","len":1,"c":false},{"a":42067,"n":"b_A453","k":"branch","len":1,"c":false},{"a":42072,"n":"b_A458","k":"branch","len":1,"c":false},{"a":42094,"n":"object_step_due","k":"routine","len":54,"c":true},{"a":42120,"n":"b_A488","k":"branch","len":1,"c":false},{"a":42123,"n":"b_A48B","k":"branch","len":1,"c":false},{"a":42145,"n":"b_A4A1","k":"branch","len":1,"c":false},{"a":42148,"n":"object_step_pixel","k":"routine","len":58,"c":true},{"a":42163,"n":"b_A4B3","k":"branch","len":1,"c":false},{"a":42169,"n":"b_A4B9","k":"branch","len":1,"c":false},{"a":42178,"n":"b_A4C2","k":"branch","len":1,"c":false},{"a":42193,"n":"b_A4D1","k":"branch","len":1,"c":false},{"a":42197,"n":"b_A4D5","k":"branch","len":1,"c":false},{"a":42205,"n":"r_A4DD","k":"branch","len":1,"c":false},{"a":42206,"n":"pocket_screen_lo","k":"table","len":5,"c":true},{"a":42211,"n":"pocket_screen_hi","k":"variable","len":1,"c":true},{"a":42212,"n":"pocket_frame_lo","k":"table","len":5,"c":true},{"a":42217,"n":"marker_screen_lo","k":"table","len":4,"c":true},{"a":42221,"n":"marker_screen_hi","k":"variable","len":1,"c":true},{"a":42222,"n":"status_and_pockets","k":"routine","len":285,"c":true},{"a":42240,"n":"b_A500","k":"branch","len":1,"c":false},{"a":42253,"n":"b_A50D","k":"branch","len":1,"c":false},{"a":42283,"n":"j_A52B","k":"branch","len":1,"c":false},{"a":42288,"n":"b_A530","k":"branch","len":1,"c":false},{"a":42296,"n":"b_A538","k":"branch","len":1,"c":false},{"a":42318,"n":"b_A54E","k":"branch","len":1,"c":false},{"a":42335,"n":"b_A55F","k":"branch","len":1,"c":false},{"a":42351,"n":"b_A56F","k":"branch","len":1,"c":false},{"a":42356,"n":"r_A574","k":"branch","len":1,"c":false},{"a":42357,"n":"b_A575","k":"branch","len":1,"c":false},{"a":42366,"n":"b_A57E","k":"branch","len":1,"c":false},{"a":42380,"n":"b_A58C","k":"branch","len":1,"c":false},{"a":42429,"n":"b_A5BD","k":"branch","len":1,"c":false},{"a":42431,"n":"b_A5BF","k":"branch","len":1,"c":false},{"a":42477,"n":"b_A5ED","k":"branch","len":1,"c":false},{"a":42479,"n":"b_A5EF","k":"branch","len":1,"c":false},{"a":42506,"n":"r_A60A","k":"branch","len":1,"c":false},{"a":42507,"n":"marker_take_slot","k":"variable","len":1,"c":true},{"a":42508,"n":"pocket_take","k":"routine","len":74,"c":true},{"a":42514,"n":"b_A612","k":"branch","len":1,"c":false},{"a":42523,"n":"b_A61B","k":"branch","len":1,"c":false},{"a":42530,"n":"b_A622","k":"branch","len":1,"c":false},{"a":42536,"n":"j_A628","k":"branch","len":1,"c":false},{"a":42582,"n":"pocket_clear_box","k":"routine","len":52,"c":true},{"a":42606,"n":"b_A66E","k":"branch","len":1,"c":false},{"a":42611,"n":"b_A673","k":"branch","len":1,"c":false},{"a":42634,"n":"fkeys_throw_pickup","k":"routine","len":62,"c":true},{"a":42651,"n":"b_A69B","k":"branch","len":1,"c":false},{"a":42661,"n":"b_A6A5","k":"branch","len":1,"c":false},{"a":42669,"n":"b_A6AD","k":"branch","len":1,"c":false},{"a":42672,"n":"b_A6B0","k":"branch","len":1,"c":false},{"a":42695,"n":"r_A6C7","k":"branch","len":1,"c":false},{"a":42696,"n":"unused_bytes_a6c8","k":"variable","len":2,"c":true},{"a":42698,"n":"thrown_return","k":"routine","len":1,"c":true},{"a":42699,"n":"thrown_update","k":"routine","len":268,"c":true},{"a":42703,"n":"b_A6CF","k":"branch","len":1,"c":false},{"a":42732,"n":"b_A6EC","k":"branch","len":1,"c":false},{"a":42756,"n":"b_A704","k":"branch","len":1,"c":false},{"a":42765,"n":"b_A70D","k":"branch","len":1,"c":false},{"a":42783,"n":"b_A71F","k":"branch","len":1,"c":false},{"a":42796,"n":"b_A72C","k":"branch","len":1,"c":false},{"a":42800,"n":"b_A730","k":"branch","len":1,"c":false},{"a":42815,"n":"b_A73F","k":"branch","len":1,"c":false},{"a":42835,"n":"j_A753","k":"branch","len":1,"c":false},{"a":42846,"n":"b_A75E","k":"branch","len":1,"c":false},{"a":42869,"n":"b_A775","k":"branch","len":1,"c":false},{"a":42903,"n":"j_A797","k":"branch","len":1,"c":false},{"a":42926,"n":"b_A7AE","k":"branch","len":1,"c":false},{"a":42958,"n":"b_A7CE","k":"branch","len":1,"c":false},{"a":42967,"n":"throw_start","k":"routine","len":49,"c":true},{"a":42974,"n":"b_A7DE","k":"branch","len":1,"c":false},{"a":42982,"n":"r_A7E6","k":"branch","len":1,"c":false},{"a":42983,"n":"b_A7E7","k":"branch","len":1,"c":false},{"a":43016,"n":"place_held_item","k":"routine","len":34,"c":true},{"a":43047,"n":"b_A827","k":"branch","len":1,"c":false},{"a":43050,"n":"held_item_fits","k":"routine","len":9,"c":true},{"a":43059,"n":"item_fits","k":"routine","len":126,"c":true},{"a":43075,"n":"b_A843","k":"branch","len":1,"c":false},{"a":43085,"n":"b_A84D","k":"branch","len":1,"c":false},{"a":43107,"n":"b_A863","k":"branch","len":1,"c":false},{"a":43115,"n":"b_A86B","k":"branch","len":1,"c":false},{"a":43124,"n":"b_A874","k":"branch","len":1,"c":false},{"a":43131,"n":"b_A87B","k":"branch","len":1,"c":false},{"a":43135,"n":"r_A87F","k":"branch","len":1,"c":false},{"a":43136,"n":"b_A880","k":"branch","len":1,"c":false},{"a":43152,"n":"b_A890","k":"branch","len":1,"c":false},{"a":43159,"n":"b_A897","k":"branch","len":1,"c":false},{"a":43167,"n":"b_A89F","k":"branch","len":1,"c":false},{"a":43177,"n":"b_A8A9","k":"branch","len":1,"c":false},{"a":43185,"n":"item_follow_holder","k":"routine","len":119,"c":true},{"a":43208,"n":"b_A8C8","k":"branch","len":1,"c":false},{"a":43220,"n":"b_A8D4","k":"branch","len":1,"c":false},{"a":43229,"n":"b_A8DD","k":"branch","len":1,"c":false},{"a":43242,"n":"b_A8EA","k":"branch","len":1,"c":false},{"a":43260,"n":"b_A8FC","k":"branch","len":1,"c":false},{"a":43272,"n":"r_A908","k":"branch","len":1,"c":false},{"a":43273,"n":"j_A909","k":"branch","len":1,"c":false},{"a":43291,"n":"b_A91B","k":"branch","len":1,"c":false},{"a":43303,"n":"r_A927","k":"branch","len":1,"c":false},{"a":43304,"n":"pickup_candidate","k":"variable","len":1,"c":true},{"a":43305,"n":"pickup_nearby","k":"routine","len":225,"c":true},{"a":43314,"n":"r_A932","k":"branch","len":1,"c":false},{"a":43315,"n":"b_A933","k":"branch","len":1,"c":false},{"a":43353,"n":"b_A959","k":"branch","len":1,"c":false},{"a":43383,"n":"j_A977","k":"branch","len":1,"c":false},{"a":43413,"n":"b_A995","k":"branch","len":1,"c":false},{"a":43428,"n":"b_A9A4","k":"branch","len":1,"c":false},{"a":43440,"n":"b_A9B0","k":"branch","len":1,"c":false},{"a":43502,"n":"b_A9EE","k":"branch","len":1,"c":false},{"a":43529,"n":"r_AA09","k":"branch","len":1,"c":false},{"a":43530,"n":"zone0_objects","k":"table","len":10,"c":true},{"a":43540,"n":"zone1_objects","k":"table","len":4,"c":true},{"a":43544,"n":"zone2_objects","k":"table","len":7,"c":true},{"a":43551,"n":"zone3_objects","k":"table","len":6,"c":true},{"a":43557,"n":"zone4_objects","k":"table","len":6,"c":true},{"a":43563,"n":"zone5_objects","k":"variable","len":2,"c":true},{"a":43565,"n":"zone6_objects","k":"table","len":7,"c":true},{"a":43572,"n":"zone_return","k":"routine","len":1,"c":true},{"a":43573,"n":"zone_update","k":"routine","len":8,"c":true},{"a":43581,"n":"zone_classify","k":"routine","len":220,"c":true},{"a":43601,"n":"b_AA51","k":"branch","len":1,"c":false},{"a":43616,"n":"b_AA60","k":"branch","len":1,"c":false},{"a":43629,"n":"b_AA6D","k":"branch","len":1,"c":false},{"a":43647,"n":"b_AA7F","k":"branch","len":1,"c":false},{"a":43662,"n":"b_AA8E","k":"branch","len":1,"c":false},{"a":43680,"n":"b_AAA0","k":"branch","len":1,"c":false},{"a":43689,"n":"b_AAA9","k":"branch","len":1,"c":false},{"a":43702,"n":"b_AAB6","k":"branch","len":1,"c":false},{"a":43716,"n":"b_AAC4","k":"branch","len":1,"c":false},{"a":43730,"n":"b_AAD2","k":"branch","len":1,"c":false},{"a":43744,"n":"b_AAE0","k":"branch","len":1,"c":false},{"a":43758,"n":"b_AAEE","k":"branch","len":1,"c":false},{"a":43772,"n":"b_AAFC","k":"branch","len":1,"c":false},{"a":43786,"n":"b_AB0A","k":"branch","len":1,"c":false},{"a":43800,"n":"r_AB18","k":"branch","len":1,"c":false},{"a":43801,"n":"zone_wake_0","k":"routine","len":17,"c":true},{"a":43803,"n":"b_AB1B","k":"branch","len":1,"c":false},{"a":43818,"n":"zone_wake_1","k":"routine","len":17,"c":true},{"a":43820,"n":"b_AB2C","k":"branch","len":1,"c":false},{"a":43835,"n":"zone_wake_2","k":"routine","len":17,"c":true},{"a":43837,"n":"b_AB3D","k":"branch","len":1,"c":false},{"a":43852,"n":"zone_wake_3","k":"routine","len":17,"c":true},{"a":43854,"n":"b_AB4E","k":"branch","len":1,"c":false},{"a":43869,"n":"zone_wake_4","k":"routine","len":17,"c":true},{"a":43871,"n":"b_AB5F","k":"branch","len":1,"c":false},{"a":43886,"n":"zone_wake_5","k":"routine","len":17,"c":true},{"a":43888,"n":"b_AB70","k":"branch","len":1,"c":false},{"a":43903,"n":"zone_wake_6","k":"routine","len":17,"c":true},{"a":43905,"n":"b_AB81","k":"branch","len":1,"c":false},{"a":43920,"n":"zone_sleep_all","k":"routine","len":16,"c":true},{"a":43922,"n":"b_AB92","k":"branch","len":1,"c":false},{"a":43936,"n":"charset_bank_slot","k":"table","len":3,"c":true},{"a":43939,"n":"zone_charset_bank","k":"table","len":7,"c":true},{"a":43946,"n":"charset_swap_index","k":"variable","len":1,"c":true},{"a":43947,"n":"charset_wanted_bank","k":"variable","len":1,"c":true},{"a":43948,"n":"swap_char_codes","k":"table","len":16,"c":true},{"a":43964,"n":"swap_char_store_lo","k":"table","len":16,"c":true},{"a":43980,"n":"zone_graphics_done","k":"routine","len":3,"c":true},{"a":43983,"n":"zone_graphics","k":"routine","len":152,"c":true},{"a":44001,"n":"b_ABE1","k":"branch","len":1,"c":false},{"a":44052,"n":"b_AC14","k":"branch","len":1,"c":false},{"a":44112,"n":"b_AC50","k":"branch","len":1,"c":false},{"a":44120,"n":"b_AC58","k":"branch","len":1,"c":false},{"a":44135,"n":"distance_between","k":"routine","len":121,"c":true},{"a":44162,"n":"b_AC82","k":"branch","len":1,"c":false},{"a":44183,"n":"b_AC97","k":"branch","len":1,"c":false},{"a":44197,"n":"b_ACA5","k":"branch","len":1,"c":false},{"a":44229,"n":"b_ACC5","k":"branch","len":1,"c":false},{"a":44234,"n":"b_ACCA","k":"branch","len":1,"c":false},{"a":44256,"n":"chase_direction","k":"routine","len":54,"c":true},{"a":44280,"n":"b_ACF8","k":"branch","len":1,"c":false},{"a":44285,"n":"r_ACFD","k":"branch","len":1,"c":false},{"a":44286,"n":"b_ACFE","k":"branch","len":1,"c":false},{"a":44298,"n":"b_AD0A","k":"branch","len":1,"c":false},{"a":44304,"n":"b_AD10","k":"branch","len":1,"c":false},{"a":44310,"n":"creature_blocked","k":"routine","len":148,"c":true},{"a":44344,"n":"b_AD38","k":"branch","len":1,"c":false},{"a":44350,"n":"b_AD3E","k":"branch","len":1,"c":false},{"a":44379,"n":"b_AD5B","k":"branch","len":1,"c":false},{"a":44423,"n":"b_AD87","k":"branch","len":1,"c":false},{"a":44430,"n":"b_AD8E","k":"branch","len":1,"c":false},{"a":44449,"n":"b_ADA1","k":"branch","len":1,"c":false},{"a":44457,"n":"r_ADA9","k":"branch","len":1,"c":false},{"a":44458,"n":"switch_value","k":"variable","len":1,"c":true},{"a":44459,"n":"switch_map_col","k":"table","len":17,"c":true},{"a":44476,"n":"switch_map_row","k":"table","len":17,"c":true},{"a":44493,"n":"unknown_17_flags","k":"table","len":17,"c":true},{"a":44510,"n":"switch_screen_col","k":"table","len":17,"c":true},{"a":44527,"n":"switch_screen_row","k":"table","len":17,"c":true},{"a":44544,"n":"switch_draw_count","k":"variable","len":1,"c":true},{"a":44545,"n":"switch_index","k":"variable","len":1,"c":true},{"a":44546,"n":"switch_set_tile","k":"routine","len":127,"c":true},{"a":44614,"n":"j_AE46","k":"branch","len":1,"c":false},{"a":44627,"n":"b_AE53","k":"branch","len":1,"c":false},{"a":44646,"n":"b_AE66","k":"branch","len":1,"c":false},{"a":44669,"n":"b_AE7D","k":"branch","len":1,"c":false},{"a":44673,"n":"recolour_screen","k":"routine","len":28,"c":true},{"a":44700,"n":"b_AE9C","k":"branch","len":1,"c":false},{"a":44701,"n":"recolour_src_operand","k":"routine","len":1,"c":true},{"a":44702,"n":"a_AE9E","k":"routine","len":5,"c":true},{"a":44707,"n":"a_AEA3","k":"routine","len":1,"c":true},{"a":44708,"n":"a_AEA4","k":"routine","len":15,"c":true},{"a":44723,"n":"switch_write_map","k":"routine","len":23,"c":true},{"a":44746,"n":"switch_restore_all","k":"routine","len":23,"c":true},{"a":44751,"n":"b_AECF","k":"branch","len":1,"c":false},{"a":44769,"n":"prog_table_aee1","k":"table","len":3,"c":true},{"a":44772,"n":"prog_table_aee4","k":"table","len":10,"c":true},{"a":44782,"n":"prog_table_aeee","k":"table","len":10,"c":true},{"a":44792,"n":"prog_table_aef8","k":"table","len":10,"c":true},{"a":44802,"n":"prog_table_af02","k":"table","len":11,"c":true},{"a":44813,"n":"gauge_mask_a","k":"table","len":25,"c":true},{"a":44838,"n":"gauge_mask_b","k":"table","len":25,"c":true},{"a":44863,"n":"gauge_mask_c","k":"table","len":25,"c":true},{"a":44888,"n":"splinx_programmer_open","k":"routine","len":168,"c":true},{"a":44902,"n":"b_AF66","k":"branch","len":1,"c":false},{"a":44905,"n":"b_AF69","k":"branch","len":1,"c":false},{"a":45056,"n":"splinx_programmer_screen_loop","k":"routine","len":300,"c":true},{"a":45094,"n":"b_B026","k":"branch","len":1,"c":false},{"a":45118,"n":"j_B03E","k":"branch","len":1,"c":false},{"a":45155,"n":"b_B063","k":"branch","len":1,"c":false},{"a":45178,"n":"b_B07A","k":"branch","len":1,"c":false},{"a":45193,"n":"b_B089","k":"branch","len":1,"c":false},{"a":45208,"n":"b_B098","k":"branch","len":1,"c":false},{"a":45239,"n":"b_B0B7","k":"branch","len":1,"c":false},{"a":45241,"n":"b_B0B9","k":"branch","len":1,"c":false},{"a":45250,"n":"b_B0C2","k":"branch","len":1,"c":false},{"a":45278,"n":"b_B0DE","k":"branch","len":1,"c":false},{"a":45290,"n":"b_B0EA","k":"branch","len":1,"c":false},{"a":45301,"n":"j_B0F5","k":"branch","len":1,"c":false},{"a":45318,"n":"b_B106","k":"branch","len":1,"c":false},{"a":45327,"n":"b_B10F","k":"branch","len":1,"c":false},{"a":45336,"n":"b_B118","k":"branch","len":1,"c":false},{"a":45347,"n":"b_B123","k":"branch","len":1,"c":false},{"a":45353,"n":"b_B129","k":"branch","len":1,"c":false},{"a":45356,"n":"splinx_programmer_exit","k":"routine","len":65,"c":true},{"a":45398,"n":"b_B156","k":"branch","len":1,"c":false},{"a":45421,"n":"swap_colour_ram_with_1000","k":"routine","len":40,"c":true},{"a":45439,"n":"b_B17F","k":"branch","len":1,"c":false},{"a":45461,"n":"splinx_wander_timer","k":"variable","len":1,"c":true},{"a":45462,"n":"splinx_pickup_scan_slot","k":"variable","len":1,"c":true},{"a":45463,"n":"splinx_frames_left","k":"table","len":4,"c":true},{"a":45467,"n":"splinx_frames_right","k":"table","len":5,"c":true},{"a":45472,"n":"splinx_update","k":"routine","len":45,"c":true},{"a":45482,"n":"b_B1AA","k":"branch","len":1,"c":false},{"a":45507,"n":"b_B1C3","k":"branch","len":1,"c":false},{"a":45516,"n":"b_B1CC","k":"branch","len":1,"c":false},{"a":45517,"n":"splinx_command_branch_offset","k":"routine","len":200,"c":true},{"a":45539,"n":"b_B1E3","k":"branch","len":1,"c":false},{"a":45546,"n":"b_B1EA","k":"branch","len":1,"c":false},{"a":45558,"n":"b_B1F6","k":"branch","len":1,"c":false},{"a":45561,"n":"b_B1F9","k":"branch","len":1,"c":false},{"a":45568,"n":"b_B200","k":"branch","len":1,"c":false},{"a":45571,"n":"b_B203","k":"branch","len":1,"c":false},{"a":45579,"n":"b_B20B","k":"branch","len":1,"c":false},{"a":45599,"n":"b_B21F","k":"branch","len":1,"c":false},{"a":45603,"n":"b_B223","k":"branch","len":1,"c":false},{"a":45607,"n":"b_B227","k":"branch","len":1,"c":false},{"a":45611,"n":"b_B22B","k":"branch","len":1,"c":false},{"a":45615,"n":"b_B22F","k":"branch","len":1,"c":false},{"a":45636,"n":"b_B244","k":"branch","len":1,"c":false},{"a":45638,"n":"b_B246","k":"branch","len":1,"c":false},{"a":45645,"n":"b_B24D","k":"branch","len":1,"c":false},{"a":45657,"n":"b_B259","k":"branch","len":1,"c":false},{"a":45669,"n":"b_B265","k":"branch","len":1,"c":false},{"a":45675,"n":"b_B26B","k":"branch","len":1,"c":false},{"a":45703,"n":"b_B287","k":"branch","len":1,"c":false},{"a":45706,"n":"j_B28A","k":"branch","len":1,"c":false},{"a":45716,"n":"b_B294","k":"branch","len":1,"c":false},{"a":45717,"n":"splinx_move_class_offset","k":"routine","len":473,"c":true},{"a":45726,"n":"b_B29E","k":"branch","len":1,"c":false},{"a":45733,"n":"b_B2A5","k":"branch","len":1,"c":false},{"a":45739,"n":"b_B2AB","k":"branch","len":1,"c":false},{"a":45745,"n":"b_B2B1","k":"branch","len":1,"c":false},{"a":45748,"n":"j_B2B4","k":"branch","len":1,"c":false},{"a":45765,"n":"b_B2C5","k":"branch","len":1,"c":false},{"a":45779,"n":"b_B2D3","k":"branch","len":1,"c":false},{"a":45792,"n":"b_B2E0","k":"branch","len":1,"c":false},{"a":45795,"n":"j_B2E3","k":"branch","len":1,"c":false},{"a":45805,"n":"b_B2ED","k":"branch","len":1,"c":false},{"a":45857,"n":"b_B321","k":"branch","len":1,"c":false},{"a":45873,"n":"b_B331","k":"branch","len":1,"c":false},{"a":45878,"n":"b_B336","k":"branch","len":1,"c":false},{"a":45888,"n":"b_B340","k":"branch","len":1,"c":false},{"a":45891,"n":"b_B343","k":"branch","len":1,"c":false},{"a":45894,"n":"b_B346","k":"branch","len":1,"c":false},{"a":45913,"n":"b_B359","k":"branch","len":1,"c":false},{"a":45927,"n":"b_B367","k":"branch","len":1,"c":false},{"a":45934,"n":"b_B36E","k":"branch","len":1,"c":false},{"a":45942,"n":"j_B376","k":"branch","len":1,"c":false},{"a":45993,"n":"j_B3A9","k":"branch","len":1,"c":false},{"a":46004,"n":"b_B3B4","k":"branch","len":1,"c":false},{"a":46011,"n":"j_B3BB","k":"branch","len":1,"c":false},{"a":46043,"n":"b_B3DB","k":"branch","len":1,"c":false},{"a":46058,"n":"b_B3EA","k":"branch","len":1,"c":false},{"a":46060,"n":"b_B3EC","k":"branch","len":1,"c":false},{"a":46063,"n":"j_B3EF","k":"branch","len":1,"c":false},{"a":46070,"n":"b_B3F6","k":"branch","len":1,"c":false},{"a":46082,"n":"b_B402","k":"branch","len":1,"c":false},{"a":46094,"n":"b_B40E","k":"branch","len":1,"c":false},{"a":46100,"n":"b_B414","k":"branch","len":1,"c":false},{"a":46138,"n":"b_B43A","k":"branch","len":1,"c":false},{"a":46161,"n":"b_B451","k":"branch","len":1,"c":false},{"a":46164,"n":"j_B454","k":"branch","len":1,"c":false},{"a":46181,"n":"b_B465","k":"branch","len":1,"c":false},{"a":46184,"n":"b_B468","k":"branch","len":1,"c":false},{"a":46190,"n":"master_wait_timer","k":"variable","len":1,"c":true},{"a":46191,"n":"obj0c_frames_left","k":"table","len":4,"c":true},{"a":46195,"n":"obj0c_frames_right","k":"table","len":4,"c":true},{"a":46199,"n":"obj0c_wait_state","k":"routine","len":19,"c":true},{"a":46216,"n":"r_B488","k":"branch","len":1,"c":false},{"a":46217,"n":"r_B489","k":"branch","len":1,"c":false},{"a":46218,"n":"crystal_thief_update","k":"routine","len":35,"c":true},{"a":46240,"n":"b_B4A0","k":"branch","len":1,"c":false},{"a":46246,"n":"b_B4A6","k":"branch","len":1,"c":false},{"a":46252,"n":"b_B4AC","k":"branch","len":1,"c":false},{"a":46253,"n":"crystal_thief_state_offset","k":"routine","len":4,"c":true},{"a":46257,"n":"crystal_thief_jmp_carry","k":"routine","len":3,"c":true},{"a":46260,"n":"crystal_thief_jmp_deliver","k":"routine","len":3,"c":true},{"a":46263,"n":"crystal_thief_approach","k":"routine","len":73,"c":true},{"a":46293,"n":"b_B4D5","k":"branch","len":1,"c":false},{"a":46301,"n":"b_B4DD","k":"branch","len":1,"c":false},{"a":46326,"n":"b_B4F6","k":"branch","len":1,"c":false},{"a":46336,"n":"crystal_thief_fetch","k":"routine","len":113,"c":true},{"a":46368,"n":"b_B520","k":"branch","len":1,"c":false},{"a":46377,"n":"b_B529","k":"branch","len":1,"c":false},{"a":46397,"n":"b_B53D","k":"branch","len":1,"c":false},{"a":46402,"n":"j_B542","k":"branch","len":1,"c":false},{"a":46407,"n":"j_B547","k":"branch","len":1,"c":false},{"a":46417,"n":"b_B551","k":"branch","len":1,"c":false},{"a":46422,"n":"b_B556","k":"branch","len":1,"c":false},{"a":46425,"n":"b_B559","k":"branch","len":1,"c":false},{"a":46449,"n":"crystal_thief_deliver","k":"routine","len":77,"c":true},{"a":46471,"n":"b_B587","k":"branch","len":1,"c":false},{"a":46516,"n":"j_B5B4","k":"branch","len":1,"c":false},{"a":46525,"n":"b_B5BD","k":"branch","len":1,"c":false},{"a":46526,"n":"crystal_thief_move_offset","k":"routine","len":69,"c":true},{"a":46535,"n":"b_B5C7","k":"branch","len":1,"c":false},{"a":46542,"n":"b_B5CE","k":"branch","len":1,"c":false},{"a":46548,"n":"b_B5D4","k":"branch","len":1,"c":false},{"a":46554,"n":"b_B5DA","k":"branch","len":1,"c":false},{"a":46557,"n":"j_B5DD","k":"branch","len":1,"c":false},{"a":46571,"n":"b_B5EB","k":"branch","len":1,"c":false},{"a":46585,"n":"b_B5F9","k":"branch","len":1,"c":false},{"a":46595,"n":"crystal_thief_draw","k":"routine","len":28,"c":true},{"a":46623,"n":"egg_nest_x_hi_base","k":"routine","len":2,"c":true},{"a":46624,"n":"b_B620","k":"branch","len":1,"c":false},{"a":46625,"n":"egg_nest_x_lo_base","k":"routine","len":2,"c":true},{"a":46627,"n":"egg_nest_y_hi_base","k":"routine","len":2,"c":true},{"a":46629,"n":"egg_nest_y_lo_base","k":"routine","len":28,"c":true},{"a":46648,"n":"b_B638","k":"branch","len":1,"c":false},{"a":46657,"n":"crystal_thief_stop","k":"routine","len":17,"c":true},{"a":46674,"n":"crystal_thief_to_home","k":"routine","len":19,"c":true},{"a":46693,"n":"egg_nest_positions","k":"table","len":8,"c":true},{"a":46701,"n":"madrag_legs_frames_left","k":"table","len":4,"c":true},{"a":46705,"n":"madrag_legs_frames_right","k":"table","len":4,"c":true},{"a":46709,"n":"madrag_top_frames_left","k":"table","len":4,"c":true},{"a":46713,"n":"madrag_top_frames_right","k":"table","len":4,"c":true},{"a":46717,"n":"madrag_carry_frame_left","k":"variable","len":1,"c":true},{"a":46718,"n":"madrag_carry_frame_right","k":"variable","len":1,"c":true},{"a":46719,"n":"madrag_target_egg","k":"variable","len":1,"c":true},{"a":46720,"n":"madrag_update","k":"routine","len":9,"c":true},{"a":46729,"n":"madrag_think","k":"routine","len":46,"c":true},{"a":46748,"n":"r_B69C","k":"branch","len":1,"c":false},{"a":46749,"n":"b_B69D","k":"branch","len":1,"c":false},{"a":46752,"n":"b_B6A0","k":"branch","len":1,"c":false},{"a":46768,"n":"b_B6B0","k":"branch","len":1,"c":false},{"a":46774,"n":"b_B6B6","k":"branch","len":1,"c":false},{"a":46775,"n":"madrag_state_offset","k":"routine","len":4,"c":true},{"a":46779,"n":"madrag_jmp_home","k":"routine","len":3,"c":true},{"a":46782,"n":"madrag_jmp_fetch","k":"routine","len":3,"c":true},{"a":46785,"n":"madrag_jmp_carry","k":"routine","len":3,"c":true},{"a":46788,"n":"madrag_chase","k":"routine","len":47,"c":true},{"a":46807,"n":"b_B6D7","k":"branch","len":1,"c":false},{"a":46822,"n":"b_B6E6","k":"branch","len":1,"c":false},{"a":46835,"n":"madrag_guard","k":"routine","len":45,"c":true},{"a":46840,"n":"b_B6F8","k":"branch","len":1,"c":false},{"a":46868,"n":"b_B714","k":"branch","len":1,"c":false},{"a":46877,"n":"b_B71D","k":"branch","len":1,"c":false},{"a":46880,"n":"madrag_go_home","k":"routine","len":50,"c":true},{"a":46930,"n":"madrag_fetch_egg","k":"routine","len":91,"c":true},{"a":46973,"n":"j_B77D","k":"branch","len":1,"c":false},{"a":46986,"n":"b_B78A","k":"branch","len":1,"c":false},{"a":46989,"n":"b_B78D","k":"branch","len":1,"c":false},{"a":47021,"n":"madrag_carry_egg","k":"routine","len":85,"c":true},{"a":47103,"n":"b_B7FF","k":"branch","len":1,"c":false},{"a":47106,"n":"madrag_stand","k":"routine","len":15,"c":true},{"a":47121,"n":"madrag_step","k":"routine","len":10,"c":true},{"a":47130,"n":"b_B81A","k":"branch","len":1,"c":false},{"a":47131,"n":"madrag_move_offset","k":"routine","len":70,"c":true},{"a":47140,"n":"b_B824","k":"branch","len":1,"c":false},{"a":47147,"n":"b_B82B","k":"branch","len":1,"c":false},{"a":47153,"n":"b_B831","k":"branch","len":1,"c":false},{"a":47159,"n":"b_B837","k":"branch","len":1,"c":false},{"a":47162,"n":"j_B83A","k":"branch","len":1,"c":false},{"a":47176,"n":"b_B848","k":"branch","len":1,"c":false},{"a":47190,"n":"b_B856","k":"branch","len":1,"c":false},{"a":47201,"n":"madrag_draw_and_eggs","k":"routine","len":210,"c":true},{"a":47267,"n":"b_B8A3","k":"branch","len":1,"c":false},{"a":47277,"n":"b_B8AD","k":"branch","len":1,"c":false},{"a":47298,"n":"b_B8C2","k":"branch","len":1,"c":false},{"a":47305,"n":"j_B8C9","k":"branch","len":1,"c":false},{"a":47322,"n":"b_B8DA","k":"branch","len":1,"c":false},{"a":47334,"n":"b_B8E6","k":"branch","len":1,"c":false},{"a":47392,"n":"b_B920","k":"branch","len":1,"c":false},{"a":47402,"n":"r_B92A","k":"branch","len":1,"c":false},{"a":47403,"n":"b_B92B","k":"branch","len":1,"c":false},{"a":47411,"n":"madrag_spot_doctor","k":"routine","len":35,"c":true},{"a":47445,"n":"r_B955","k":"branch","len":1,"c":false},{"a":47446,"n":"madrag_bite_check","k":"routine","len":36,"c":true},{"a":47481,"n":"b_B979","k":"branch","len":1,"c":false},{"a":47482,"n":"conveyor_reset_hi_base","k":"routine","len":4,"c":true},{"a":47484,"n":"b_B97C","k":"branch","len":1,"c":false},{"a":47486,"n":"conveyor_reset_lo_base","k":"routine","len":1,"c":true},{"a":47487,"n":"machine_parts_set_b","k":"table","len":3,"c":true},{"a":47490,"n":"conveyor_limit_hi_base","k":"table","len":4,"c":true},{"a":47494,"n":"conveyor_limit_lo_base","k":"table","len":3,"c":true},{"a":47497,"n":"machine_parts_set_a","k":"table","len":9,"c":true},{"a":47506,"n":"machine_slot_x_hi","k":"table","len":10,"c":true},{"a":47516,"n":"machine_slot_x_lo","k":"table","len":10,"c":true},{"a":47526,"n":"conveyor_tables","k":"table","len":16,"c":true},{"a":47542,"n":"machinery_update","k":"routine","len":275,"c":true},{"a":47559,"n":"b_B9C7","k":"branch","len":1,"c":false},{"a":47575,"n":"b_B9D7","k":"branch","len":1,"c":false},{"a":47621,"n":"r_BA05","k":"branch","len":1,"c":false},{"a":47622,"n":"b_BA06","k":"branch","len":1,"c":false},{"a":47634,"n":"b_BA12","k":"branch","len":1,"c":false},{"a":47676,"n":"j_BA3C","k":"branch","len":1,"c":false},{"a":47678,"n":"b_BA3E","k":"branch","len":1,"c":false},{"a":47700,"n":"b_BA54","k":"branch","len":1,"c":false},{"a":47706,"n":"b_BA5A","k":"branch","len":1,"c":false},{"a":47714,"n":"j_BA62","k":"branch","len":1,"c":false},{"a":47742,"n":"b_BA7E","k":"branch","len":1,"c":false},{"a":47816,"n":"r_BAC8","k":"branch","len":1,"c":false},{"a":47817,"n":"use_first_press_flag","k":"variable","len":1,"c":true},{"a":47818,"n":"use_key_latch","k":"variable","len":2,"c":true},{"a":47820,"n":"use_item_update","k":"routine","len":200,"c":true},{"a":47826,"n":"r_BAD2","k":"branch","len":1,"c":false},{"a":47827,"n":"b_BAD3","k":"branch","len":1,"c":false},{"a":47877,"n":"b_BB05","k":"branch","len":1,"c":false},{"a":47888,"n":"b_BB10","k":"branch","len":1,"c":false},{"a":47893,"n":"b_BB15","k":"branch","len":1,"c":false},{"a":47907,"n":"b_BB23","k":"branch","len":1,"c":false},{"a":47912,"n":"b_BB28","k":"branch","len":1,"c":false},{"a":47934,"n":"r_BB3E","k":"branch","len":1,"c":false},{"a":47935,"n":"b_BB3F","k":"branch","len":1,"c":false},{"a":47948,"n":"b_BB4C","k":"branch","len":1,"c":false},{"a":47996,"n":"b_BB7C","k":"branch","len":1,"c":false},{"a":47999,"n":"b_BB7F","k":"branch","len":1,"c":false},{"a":48002,"n":"b_BB82","k":"branch","len":1,"c":false},{"a":48005,"n":"b_BB85","k":"branch","len":1,"c":false},{"a":48008,"n":"b_BB88","k":"branch","len":1,"c":false},{"a":48011,"n":"b_BB8B","k":"branch","len":1,"c":false},{"a":48014,"n":"b_BB8E","k":"branch","len":1,"c":false},{"a":48017,"n":"b_BB91","k":"branch","len":1,"c":false},{"a":48020,"n":"spanner_bolt_x_hi","k":"table","len":8,"c":true},{"a":48028,"n":"spanner_bolt_x_lo","k":"table","len":8,"c":true},{"a":48036,"n":"spanner_bolt_y_hi","k":"table","len":8,"c":true},{"a":48044,"n":"spanner_bolt_y_lo","k":"table","len":8,"c":true},{"a":48052,"n":"spanner_bolt_from_below","k":"table","len":8,"c":true},{"a":48060,"n":"use_spanner","k":"routine","len":85,"c":true},{"a":48064,"n":"b_BBC0","k":"branch","len":1,"c":false},{"a":48122,"n":"b_BBFA","k":"branch","len":1,"c":false},{"a":48141,"n":"b_BC0D","k":"branch","len":1,"c":false},{"a":48144,"n":"r_BC10","k":"branch","len":1,"c":false},{"a":48145,"n":"pickaxe_rock_tables","k":"table","len":3,"c":true},{"a":48148,"n":"pickaxe_map_codes_a","k":"table","len":4,"c":true},{"a":48152,"n":"pickaxe_map_codes_b","k":"table","len":4,"c":true},{"a":48156,"n":"pickaxe_site_x_hi","k":"table","len":3,"c":true},{"a":48159,"n":"pickaxe_site_x_lo","k":"table","len":3,"c":true},{"a":48162,"n":"pickaxe_site_y_hi","k":"table","len":3,"c":true},{"a":48165,"n":"pickaxe_site_y_lo","k":"table","len":3,"c":true},{"a":48168,"n":"pickaxe_swing_count","k":"variable","len":1,"c":true},{"a":48169,"n":"use_pickaxe","k":"routine","len":133,"c":true},{"a":48192,"n":"b_BC40","k":"branch","len":1,"c":false},{"a":48197,"n":"b_BC45","k":"branch","len":1,"c":false},{"a":48201,"n":"b_BC49","k":"branch","len":1,"c":false},{"a":48292,"n":"b_BCA4","k":"branch","len":1,"c":false},{"a":48298,"n":"b_BCAA","k":"branch","len":1,"c":false},{"a":48301,"n":"r_BCAD","k":"branch","len":1,"c":false},{"a":48302,"n":"use_detonator_3c","k":"routine","len":11,"c":true},{"a":48312,"n":"r_BCB8","k":"branch","len":1,"c":false},{"a":48313,"n":"use_detonator_48","k":"routine","len":11,"c":true},{"a":48324,"n":"use_detonator_4c","k":"routine","len":11,"c":true},{"a":48335,"n":"use_explosives","k":"routine","len":11,"c":true},{"a":48346,"n":"activator_points","k":"table","len":3,"c":true},{"a":48349,"n":"activator_x_lo","k":"table","len":3,"c":true},{"a":48352,"n":"use_activator","k":"routine","len":59,"c":true},{"a":48356,"n":"b_BCE4","k":"branch","len":1,"c":false},{"a":48407,"n":"b_BD17","k":"branch","len":1,"c":false},{"a":48411,"n":"use_empty_hands","k":"routine","len":26,"c":true},{"a":48434,"n":"b_BD32","k":"branch","len":1,"c":false},{"a":48437,"n":"code_lock_shown","k":"variable","len":1,"c":true},{"a":48438,"n":"code_lock_shown_2","k":"variable","len":1,"c":true},{"a":48439,"n":"code_lock_shown_3","k":"variable","len":1,"c":true},{"a":48440,"n":"code_lock_sequence","k":"table","len":6,"c":true},{"a":48446,"n":"code_lock_position","k":"variable","len":1,"c":true},{"a":48447,"n":"code_lock_seeds","k":"variable","len":1,"c":true},{"a":48448,"n":"code_lock_seed_2","k":"variable","len":1,"c":true},{"a":48449,"n":"code_lock_seed_3","k":"variable","len":1,"c":true},{"a":48450,"n":"code_lock_occurrence","k":"variable","len":1,"c":true},{"a":48451,"n":"code_lock_decoy_source","k":"variable","len":1,"c":true},{"a":48452,"n":"code_lock_clue_cycle","k":"variable","len":1,"c":true},{"a":48453,"n":"code_lock_next_digit","k":"variable","len":1,"c":true},{"a":48454,"n":"code_lock_shuffle_index","k":"variable","len":1,"c":true},{"a":48455,"n":"code_lock_right_button","k":"table","len":24,"c":true},{"a":48479,"n":"code_lock_clue1_chars","k":"table","len":5,"c":true},{"a":48484,"n":"code_lock_digit_chars","k":"table","len":6,"c":true},{"a":48490,"n":"code_lock_clue3_chars","k":"table","len":5,"c":true},{"a":48495,"n":"code_lock_deck","k":"table","len":64,"c":true},{"a":48559,"n":"code_lock_deck_part2","k":"table","len":64,"c":true},{"a":48623,"n":"code_lock_deck_part3","k":"table","len":58,"c":true},{"a":48681,"n":"code_lock_press","k":"routine","len":88,"c":true},{"a":48725,"n":"r_BE55","k":"branch","len":1,"c":false},{"a":48726,"n":"b_BE56","k":"branch","len":1,"c":false},{"a":48761,"n":"b_BE79","k":"branch","len":1,"c":false},{"a":48768,"n":"b_BE80","k":"branch","len":1,"c":false},{"a":48769,"n":"code_lock_clue_offset","k":"routine","len":107,"c":true},{"a":48778,"n":"b_BE8A","k":"branch","len":1,"c":false},{"a":48788,"n":"b_BE94","k":"branch","len":1,"c":false},{"a":48798,"n":"b_BE9E","k":"branch","len":1,"c":false},{"a":48808,"n":"b_BEA8","k":"branch","len":1,"c":false},{"a":48814,"n":"b_BEAE","k":"branch","len":1,"c":false},{"a":48827,"n":"b_BEBB","k":"branch","len":1,"c":false},{"a":48840,"n":"b_BEC8","k":"branch","len":1,"c":false},{"a":48853,"n":"b_BED5","k":"branch","len":1,"c":false},{"a":48861,"n":"b_BEDD","k":"branch","len":1,"c":false},{"a":48876,"n":"code_lock_deal_buttons","k":"routine","len":125,"c":true},{"a":48895,"n":"b_BEFF","k":"branch","len":1,"c":false},{"a":48913,"n":"b_BF11","k":"branch","len":1,"c":false},{"a":48926,"n":"b_BF1E","k":"branch","len":1,"c":false},{"a":48933,"n":"b_BF25","k":"branch","len":1,"c":false},{"a":48945,"n":"j_BF31","k":"branch","len":1,"c":false},{"a":48973,"n":"b_BF4D","k":"branch","len":1,"c":false},{"a":48985,"n":"b_BF59","k":"branch","len":1,"c":false},{"a":49001,"n":"code_lock_new_sequence","k":"routine","len":113,"c":true},{"a":49020,"n":"b_BF7C","k":"branch","len":1,"c":false},{"a":49036,"n":"b_BF8C","k":"branch","len":1,"c":false},{"a":49054,"n":"b_BF9E","k":"branch","len":1,"c":false},{"a":49072,"n":"b_BFB0","k":"branch","len":1,"c":false},{"a":49073,"n":"b_BFB1","k":"branch","len":1,"c":false},{"a":49081,"n":"b_BFB9","k":"branch","len":1,"c":false},{"a":49095,"n":"b_BFC7","k":"branch","len":1,"c":false},{"a":49097,"n":"b_BFC9","k":"branch","len":1,"c":false},{"a":49114,"n":"code_lock_display","k":"variable","len":1,"c":true},{"a":49115,"n":"code_lock_button_char_1","k":"variable","len":1,"c":true},{"a":49116,"n":"code_lock_button_char_2","k":"variable","len":1,"c":true},{"a":49117,"n":"code_lock_button_char_3","k":"variable","len":1,"c":true},{"a":49118,"n":"bfef_tables","k":"table","len":4,"c":true},{"a":49122,"n":"bfef_table_2","k":"table","len":4,"c":true},{"a":49126,"n":"bfef_table_3","k":"table","len":4,"c":true},{"a":49130,"n":"bfef_table_4","k":"table","len":4,"c":true},{"a":49134,"n":"bfef_return","k":"routine","len":1,"c":true},{"a":49135,"n":"every8_mode3_update","k":"routine","len":19,"c":true},{"a":49154,"n":"fixed_cells_draw_loop","k":"routine","len":127,"c":true},{"a":49163,"n":"b_C00B","k":"branch","len":1,"c":false},{"a":49277,"n":"b_C07D","k":"branch","len":1,"c":false},{"a":49281,"n":"fuse_object_ids","k":"table","len":4,"c":true},{"a":49285,"n":"blast_radius","k":"variable","len":1,"c":true},{"a":49286,"n":"fuse_countdown","k":"table","len":4,"c":true},{"a":49290,"n":"fuse_frame_on","k":"table","len":4,"c":true},{"a":49294,"n":"fuse_frame_off","k":"table","len":4,"c":true},{"a":49298,"n":"fuse_flash_mask","k":"table","len":4,"c":true},{"a":49302,"n":"fuse_sound","k":"table","len":4,"c":true},{"a":49306,"n":"fuse_update","k":"routine","len":90,"c":true},{"a":49348,"n":"b_C0C4","k":"branch","len":1,"c":false},{"a":49350,"n":"b_C0C6","k":"branch","len":1,"c":false},{"a":49364,"n":"b_C0D4","k":"branch","len":1,"c":false},{"a":49375,"n":"b_C0DF","k":"branch","len":1,"c":false},{"a":49378,"n":"j_C0E2","k":"branch","len":1,"c":false},{"a":49395,"n":"r_C0F3","k":"branch","len":1,"c":false},{"a":49396,"n":"blast_countdown_step","k":"routine","len":110,"c":true},{"a":49414,"n":"b_C106","k":"branch","len":1,"c":false},{"a":49443,"n":"b_C123","k":"branch","len":1,"c":false},{"a":49459,"n":"b_C133","k":"branch","len":1,"c":false},{"a":49466,"n":"b_C13A","k":"branch","len":1,"c":false},{"a":49475,"n":"b_C143","k":"branch","len":1,"c":false},{"a":49478,"n":"b_C146","k":"branch","len":1,"c":false},{"a":49485,"n":"b_C14D","k":"branch","len":1,"c":false},{"a":49495,"n":"b_C157","k":"branch","len":1,"c":false},{"a":49505,"n":"r_C161","k":"branch","len":1,"c":false},{"a":49506,"n":"fuse_flash_frame","k":"routine","len":32,"c":true},{"a":49529,"n":"b_C179","k":"branch","len":1,"c":false},{"a":49538,"n":"fuse_tick","k":"routine","len":73,"c":true},{"a":49580,"n":"b_C1AC","k":"branch","len":1,"c":false},{"a":49610,"n":"r_C1CA","k":"branch","len":1,"c":false},{"a":49611,"n":"blast_damage","k":"routine","len":150,"c":true},{"a":49613,"n":"b_C1CD","k":"branch","len":1,"c":false},{"a":49642,"n":"b_C1EA","k":"branch","len":1,"c":false},{"a":49662,"n":"b_C1FE","k":"branch","len":1,"c":false},{"a":49709,"n":"r_C22D","k":"branch","len":1,"c":false},{"a":49710,"n":"b_C22E","k":"branch","len":1,"c":false},{"a":49761,"n":"trio_route_x_lo","k":"table","len":7,"c":true},{"a":49768,"n":"trio_route_x_hi","k":"table","len":7,"c":true},{"a":49775,"n":"trio_route_y_lo","k":"table","len":7,"c":true},{"a":49782,"n":"trio_route_y_hi","k":"table","len":4,"c":true},{"a":49786,"n":"f_C27A","k":"table","len":3,"c":true},{"a":49789,"n":"trio_home_x_lo","k":"table","len":3,"c":true},{"a":49792,"n":"trio_home_x_hi","k":"table","len":3,"c":true},{"a":49795,"n":"trio_home_y_lo","k":"table","len":3,"c":true},{"a":49798,"n":"trio_home_y_hi","k":"variable","len":1,"c":true},{"a":49799,"n":"f_C287","k":"variable","len":2,"c":true},{"a":49801,"n":"trio_partner","k":"table","len":4,"c":true},{"a":49805,"n":"r_C28D","k":"routine","len":1,"c":true},{"a":49806,"n":"trio_update","k":"routine","len":12,"c":true},{"a":49818,"n":"trio_think","k":"routine","len":37,"c":true},{"a":49838,"n":"b_C2AE","k":"branch","len":1,"c":false},{"a":49844,"n":"b_C2B4","k":"branch","len":1,"c":false},{"a":49855,"n":"trio_state_dispatch","k":"routine","len":1,"c":true},{"a":49856,"n":"trio_branch_offset","k":"routine","len":74,"c":true},{"a":49865,"n":"b_C2C9","k":"branch","len":1,"c":false},{"a":49913,"n":"b_C2F9","k":"branch","len":1,"c":false},{"a":49927,"n":"b_C307","k":"branch","len":1,"c":false},{"a":49930,"n":"trio_state7_seek_obj34","k":"routine","len":105,"c":true},{"a":49982,"n":"b_C33E","k":"branch","len":1,"c":false},{"a":50024,"n":"b_C368","k":"branch","len":1,"c":false},{"a":50029,"n":"b_C36D","k":"branch","len":1,"c":false},{"a":50032,"n":"b_C370","k":"branch","len":1,"c":false},{"a":50035,"n":"trio_go_home","k":"routine","len":116,"c":true},{"a":50086,"n":"b_C3A6","k":"branch","len":1,"c":false},{"a":50089,"n":"b_C3A9","k":"branch","len":1,"c":false},{"a":50135,"n":"b_C3D7","k":"branch","len":1,"c":false},{"a":50148,"n":"b_C3E4","k":"branch","len":1,"c":false},{"a":50151,"n":"trio_state_c","k":"routine","len":29,"c":true},{"a":50172,"n":"b_C3FC","k":"branch","len":1,"c":false},{"a":50180,"n":"patrol_routes","k":"table","len":54,"c":true},{"a":50234,"n":"f_C43A","k":"table","len":4,"c":true},{"a":50238,"n":"f_C43E","k":"variable","len":2,"c":true},{"a":50240,"n":"patrol_route_lo","k":"variable","len":2,"c":true},{"a":50242,"n":"f_C442","k":"variable","len":2,"c":true},{"a":50244,"n":"patrol_route_hi","k":"table","len":4,"c":true},{"a":50248,"n":"patrol_last_index","k":"table","len":4,"c":true},{"a":50252,"n":"r_C44C","k":"routine","len":1,"c":true},{"a":50253,"n":"patrol_update","k":"routine","len":17,"c":true},{"a":50270,"n":"patrol_think","k":"routine","len":151,"c":true},{"a":50290,"n":"b_C472","k":"branch","len":1,"c":false},{"a":50296,"n":"b_C478","k":"branch","len":1,"c":false},{"a":50378,"n":"b_C4CA","k":"branch","len":1,"c":false},{"a":50392,"n":"b_C4D8","k":"branch","len":1,"c":false},{"a":50404,"n":"b_C4E4","k":"branch","len":1,"c":false},{"a":50408,"n":"b_C4E8","k":"branch","len":1,"c":false},{"a":50410,"n":"b_C4EA","k":"branch","len":1,"c":false},{"a":50418,"n":"b_C4F2","k":"branch","len":1,"c":false},{"a":50421,"n":"patrol_frames","k":"table","len":20,"c":true},{"a":50441,"n":"climb_frames","k":"variable","len":2,"c":true},{"a":50443,"n":"carry_idle_frames","k":"table","len":4,"c":true},{"a":50447,"n":"object_move_step","k":"routine","len":132,"c":true},{"a":50486,"n":"b_C536","k":"branch","len":1,"c":false},{"a":50497,"n":"b_C541","k":"branch","len":1,"c":false},{"a":50512,"n":"b_C550","k":"branch","len":1,"c":false},{"a":50538,"n":"b_C56A","k":"branch","len":1,"c":false},{"a":50566,"n":"b_C586","k":"branch","len":1,"c":false},{"a":50569,"n":"b_C589","k":"branch","len":1,"c":false},{"a":50579,"n":"object_mode_dispatch","k":"routine","len":1,"c":true},{"a":50580,"n":"object_mode_branch_offset","k":"routine","len":93,"c":true},{"a":50595,"n":"b_C5A3","k":"branch","len":1,"c":false},{"a":50601,"n":"b_C5A9","k":"branch","len":1,"c":false},{"a":50607,"n":"b_C5AF","k":"branch","len":1,"c":false},{"a":50613,"n":"b_C5B5","k":"branch","len":1,"c":false},{"a":50619,"n":"b_C5BB","k":"branch","len":1,"c":false},{"a":50629,"n":"b_C5C5","k":"branch","len":1,"c":false},{"a":50632,"n":"j_C5C8","k":"branch","len":1,"c":false},{"a":50635,"n":"j_C5CB","k":"branch","len":1,"c":false},{"a":50649,"n":"b_C5D9","k":"branch","len":1,"c":false},{"a":50663,"n":"b_C5E7","k":"branch","len":1,"c":false},{"a":50673,"n":"object_pick_frame","k":"routine","len":134,"c":true},{"a":50707,"n":"b_C613","k":"branch","len":1,"c":false},{"a":50729,"n":"b_C629","k":"branch","len":1,"c":false},{"a":50739,"n":"j_C633","k":"branch","len":1,"c":false},{"a":50742,"n":"b_C636","k":"branch","len":1,"c":false},{"a":50759,"n":"b_C647","k":"branch","len":1,"c":false},{"a":50777,"n":"b_C659","k":"branch","len":1,"c":false},{"a":50785,"n":"b_C661","k":"branch","len":1,"c":false},{"a":50807,"n":"sfx_freq_lo","k":"table","len":24,"c":true},{"a":50831,"n":"sfx_freq_hi","k":"table","len":48,"c":true},{"a":50879,"n":"sfx_freq_limit","k":"table","len":24,"c":true},{"a":50903,"n":"sfx_sweep_lo","k":"table","len":24,"c":true},{"a":50927,"n":"sfx_sweep_hi","k":"table","len":24,"c":true},{"a":50951,"n":"sfx_pw_lo","k":"table","len":24,"c":true},{"a":50975,"n":"sfx_pw_hi","k":"table","len":24,"c":true},{"a":50999,"n":"sfx_waveform","k":"table","len":24,"c":true},{"a":51023,"n":"sfx_attack_decay","k":"table","len":24,"c":true},{"a":51047,"n":"sfx_sustain_release","k":"table","len":24,"c":true},{"a":51071,"n":"sfx_length_lo","k":"table","len":24,"c":true},{"a":51095,"n":"sfx_length_hi","k":"table","len":24,"c":true},{"a":51119,"n":"sfx_repeat","k":"table","len":24,"c":true},{"a":51143,"n":"sound_start","k":"routine","len":4,"c":true},{"a":51147,"n":"sound_start_now","k":"routine","len":75,"c":true},{"a":51221,"n":"r_C815","k":"branch","len":1,"c":false},{"a":51222,"n":"sfx_time_lo","k":"variable","len":1,"c":true},{"a":51223,"n":"sfx_time_hi","k":"variable","len":1,"c":true},{"a":51224,"n":"sound_update","k":"routine","len":118,"c":true},{"a":51243,"n":"b_C82B","k":"branch","len":1,"c":false},{"a":51248,"n":"j_C830","k":"branch","len":1,"c":false},{"a":51257,"n":"b_C839","k":"branch","len":1,"c":false},{"a":51262,"n":"j_C83E","k":"branch","len":1,"c":false},{"a":51270,"n":"b_C846","k":"branch","len":1,"c":false},{"a":51288,"n":"b_C858","k":"branch","len":1,"c":false},{"a":51324,"n":"b_C87C","k":"branch","len":1,"c":false},{"a":51331,"n":"j_C883","k":"branch","len":1,"c":false},{"a":51342,"n":"sound_stop","k":"routine","len":14,"c":true},{"a":51346,"n":"b_C892","k":"branch","len":1,"c":false},{"a":51355,"n":"r_C89B","k":"branch","len":1,"c":false},{"a":51356,"n":"sound_silence_all","k":"routine","len":20,"c":true},{"a":51376,"n":"doctor_state4_exit","k":"routine","len":12,"c":true},{"a":51387,"n":"r_C8BB","k":"branch","len":1,"c":false},{"a":51388,"n":"doctor_update","k":"routine","len":117,"c":true},{"a":51424,"n":"b_C8E0","k":"branch","len":1,"c":false},{"a":51430,"n":"b_C8E6","k":"branch","len":1,"c":false},{"a":51449,"n":"b_C8F9","k":"branch","len":1,"c":false},{"a":51452,"n":"b_C8FC","k":"branch","len":1,"c":false},{"a":51474,"n":"b_C912","k":"branch","len":1,"c":false},{"a":51502,"n":"b_C92E","k":"branch","len":1,"c":false},{"a":51505,"n":"life_end_reset","k":"routine","len":186,"c":true},{"a":51538,"n":"b_C952","k":"branch","len":1,"c":false},{"a":51550,"n":"b_C95E","k":"branch","len":1,"c":false},{"a":51558,"n":"b_C966","k":"branch","len":1,"c":false},{"a":51565,"n":"b_C96D","k":"branch","len":1,"c":false},{"a":51621,"n":"b_C9A5","k":"branch","len":1,"c":false},{"a":51670,"n":"b_C9D6","k":"branch","len":1,"c":false},{"a":51681,"n":"b_C9E1","k":"branch","len":1,"c":false},{"a":51691,"n":"doctor_move_by_mode","k":"routine","len":10,"c":true},{"a":51701,"n":"doctor_mode_dispatch","k":"routine","len":1,"c":true},{"a":51702,"n":"doctor_mode_branch_offset","k":"routine","len":55,"c":true},{"a":51717,"n":"b_CA05","k":"branch","len":1,"c":false},{"a":51733,"n":"b_CA15","k":"branch","len":1,"c":false},{"a":51739,"n":"b_CA1B","k":"branch","len":1,"c":false},{"a":51745,"n":"b_CA21","k":"branch","len":1,"c":false},{"a":51751,"n":"b_CA27","k":"branch","len":1,"c":false},{"a":51757,"n":"doctor_fall","k":"routine","len":43,"c":true},{"a":51773,"n":"b_CA3D","k":"branch","len":1,"c":false},{"a":51792,"n":"j_CA50","k":"branch","len":1,"c":false},{"a":51800,"n":"doctor_tile_checks","k":"routine","len":275,"c":true},{"a":51813,"n":"b_CA65","k":"branch","len":1,"c":false},{"a":51819,"n":"b_CA6B","k":"branch","len":1,"c":false},{"a":51847,"n":"b_CA87","k":"branch","len":1,"c":false},{"a":51881,"n":"b_CAA9","k":"branch","len":1,"c":false},{"a":51889,"n":"b_CAB1","k":"branch","len":1,"c":false},{"a":51900,"n":"b_CABC","k":"branch","len":1,"c":false},{"a":51908,"n":"b_CAC4","k":"branch","len":1,"c":false},{"a":51912,"n":"b_CAC8","k":"branch","len":1,"c":false},{"a":51928,"n":"b_CAD8","k":"branch","len":1,"c":false},{"a":51942,"n":"b_CAE6","k":"branch","len":1,"c":false},{"a":51972,"n":"b_CB04","k":"branch","len":1,"c":false},{"a":51986,"n":"b_CB12","k":"branch","len":1,"c":false},{"a":51994,"n":"b_CB1A","k":"branch","len":1,"c":false},{"a":52008,"n":"b_CB28","k":"branch","len":1,"c":false},{"a":52022,"n":"b_CB36","k":"branch","len":1,"c":false},{"a":52075,"n":"doctor_draw","k":"routine","len":171,"c":true},{"a":52095,"n":"b_CB7F","k":"branch","len":1,"c":false},{"a":52111,"n":"b_CB8F","k":"branch","len":1,"c":false},{"a":52121,"n":"b_CB99","k":"branch","len":1,"c":false},{"a":52150,"n":"b_CBB6","k":"branch","len":1,"c":false},{"a":52165,"n":"b_CBC5","k":"branch","len":1,"c":false},{"a":52175,"n":"b_CBCF","k":"branch","len":1,"c":false},{"a":52196,"n":"b_CBE4","k":"branch","len":1,"c":false},{"a":52198,"n":"b_CBE6","k":"branch","len":1,"c":false},{"a":52224,"n":"b_CC00","k":"branch","len":1,"c":false},{"a":52245,"n":"r_CC15","k":"branch","len":1,"c":false},{"a":52246,"n":"doctor_frames_top_a","k":"table","len":8,"c":true},{"a":52254,"n":"doctor_frames_top_b","k":"table","len":8,"c":true},{"a":52262,"n":"doctor_frames_climb_top","k":"table","len":4,"c":true},{"a":52266,"n":"doctor_frames_low_a","k":"table","len":8,"c":true},{"a":52274,"n":"doctor_frames_low_b","k":"table","len":8,"c":true},{"a":52282,"n":"doctor_frames_climb_low","k":"table","len":4,"c":true},{"a":52286,"n":"doctor_frame_low_holding_a","k":"variable","len":1,"c":true},{"a":52287,"n":"doctor_frame_low_holding_b","k":"variable","len":1,"c":true},{"a":52288,"n":"fall_start_y_hi","k":"variable","len":1,"c":true},{"a":52289,"n":"fall_start_y_lo","k":"variable","len":1,"c":true},{"a":52290,"n":"fall_tracking","k":"variable","len":1,"c":true},{"a":52291,"n":"death_countdown","k":"variable","len":1,"c":true},{"a":52292,"n":"tile_bd_flag","k":"variable","len":1,"c":true},{"a":52293,"n":"death_frame_top","k":"variable","len":1,"c":true},{"a":52294,"n":"death_frame_low","k":"variable","len":1,"c":true},{"a":52295,"n":"cc47_flag","k":"variable","len":1,"c":true},{"a":52296,"n":"death_copy_dest_lo","k":"variable","len":2,"c":true},{"a":52298,"n":"death_copy_dest_hi","k":"variable","len":2,"c":true},{"a":52300,"n":"doctor_pick_frames","k":"routine","len":9,"c":true},{"a":52308,"n":"b_CC54","k":"branch","len":1,"c":false},{"a":52309,"n":"doctor_frames_branch_offset","k":"routine","len":141,"c":true},{"a":52324,"n":"b_CC64","k":"branch","len":1,"c":false},{"a":52333,"n":"b_CC6D","k":"branch","len":1,"c":false},{"a":52341,"n":"b_CC75","k":"branch","len":1,"c":false},{"a":52358,"n":"b_CC86","k":"branch","len":1,"c":false},{"a":52386,"n":"b_CCA2","k":"branch","len":1,"c":false},{"a":52414,"n":"b_CCBE","k":"branch","len":1,"c":false},{"a":52425,"n":"b_CCC9","k":"branch","len":1,"c":false},{"a":52428,"n":"j_CCCC","k":"branch","len":1,"c":false},{"a":52449,"n":"r_CCE1","k":"branch","len":1,"c":false},{"a":52450,"n":"doctor_ride_platform","k":"routine","len":88,"c":true},{"a":52467,"n":"b_CCF3","k":"branch","len":1,"c":false},{"a":52486,"n":"b_CD06","k":"branch","len":1,"c":false},{"a":52489,"n":"b_CD09","k":"branch","len":1,"c":false},{"a":52505,"n":"b_CD19","k":"branch","len":1,"c":false},{"a":52528,"n":"b_CD30","k":"branch","len":1,"c":false},{"a":52538,"n":"fall_track","k":"routine","len":40,"c":true},{"a":52552,"n":"b_CD48","k":"branch","len":1,"c":false},{"a":52577,"n":"r_CD61","k":"branch","len":1,"c":false},{"a":52578,"n":"fall_check","k":"routine","len":45,"c":true},{"a":52606,"n":"b_CD7E","k":"branch","len":1,"c":false},{"a":52612,"n":"b_CD84","k":"branch","len":1,"c":false},{"a":52623,"n":"fall_dist_lo","k":"routine","len":1,"c":true},{"a":52624,"n":"fall_dist_hi","k":"routine","len":2,"c":true},{"a":52625,"n":"r_CD91","k":"branch","len":1,"c":false},{"a":52626,"n":"controller_state3","k":"routine","len":8,"c":true},{"a":52634,"n":"controllers_update","k":"routine","len":93,"c":true},{"a":52636,"n":"b_CD9C","k":"branch","len":1,"c":false},{"a":52665,"n":"b_CDB9","k":"branch","len":1,"c":false},{"a":52688,"n":"b_CDD0","k":"branch","len":1,"c":false},{"a":52694,"n":"b_CDD6","k":"branch","len":1,"c":false},{"a":52721,"n":"b_CDF1","k":"branch","len":1,"c":false},{"a":52727,"n":"controller_state_dispatch","k":"routine","len":1,"c":true},{"a":52728,"n":"controller_state_branch_offset","k":"routine","len":16,"c":true},{"a":52744,"n":"controller_touch","k":"routine","len":111,"c":true},{"a":52798,"n":"b_CE3E","k":"branch","len":1,"c":false},{"a":52806,"n":"b_CE46","k":"branch","len":1,"c":false},{"a":52829,"n":"b_CE5D","k":"branch","len":1,"c":false},{"a":52844,"n":"b_CE6C","k":"branch","len":1,"c":false},{"a":52855,"n":"controller_state6","k":"routine","len":1,"c":true},{"a":52856,"n":"controller_stop","k":"routine","len":11,"c":true},{"a":52867,"n":"controller_patrol","k":"routine","len":161,"c":true},{"a":52874,"n":"b_CE8A","k":"branch","len":1,"c":false},{"a":52885,"n":"b_CE95","k":"branch","len":1,"c":false},{"a":52920,"n":"b_CEB8","k":"branch","len":1,"c":false},{"a":52932,"n":"b_CEC4","k":"branch","len":1,"c":false},{"a":52940,"n":"j_CECC","k":"branch","len":1,"c":false},{"a":53017,"n":"b_CF19","k":"branch","len":1,"c":false},{"a":53028,"n":"controller_wait","k":"routine","len":51,"c":true},{"a":53060,"n":"b_CF44","k":"branch","len":1,"c":false},{"a":53079,"n":"controller_move","k":"routine","len":15,"c":true},{"a":53093,"n":"b_CF65","k":"branch","len":1,"c":false},{"a":53094,"n":"controller_mode_branch_offset","k":"routine","len":72,"c":true},{"a":53103,"n":"b_CF6F","k":"branch","len":1,"c":false},{"a":53110,"n":"b_CF76","k":"branch","len":1,"c":false},{"a":53116,"n":"b_CF7C","k":"branch","len":1,"c":false},{"a":53122,"n":"b_CF82","k":"branch","len":1,"c":false},{"a":53125,"n":"j_CF85","k":"branch","len":1,"c":false},{"a":53142,"n":"b_CF96","k":"branch","len":1,"c":false},{"a":53156,"n":"b_CFA4","k":"branch","len":1,"c":false},{"a":53166,"n":"controller_pick_frame","k":"routine","len":66,"c":true},{"a":53195,"n":"b_CFCB","k":"branch","len":1,"c":false},{"a":53200,"n":"b_CFD0","k":"branch","len":1,"c":false},{"a":53205,"n":"b_CFD5","k":"branch","len":1,"c":false},{"a":53221,"n":"b_CFE5","k":"branch","len":1,"c":false},{"a":53226,"n":"b_CFEA","k":"branch","len":1,"c":false},{"a":53229,"n":"b_CFED","k":"branch","len":1,"c":false},{"a":53232,"n":"controller_next","k":"routine","len":6,"c":true},{"a":53238,"n":"fill_cff6","k":"table","len":10,"c":true},{"a":57344,"n":"map_e000","k":"table","len":1024,"c":true},{"a":58368,"n":"map_e400","k":"table","len":1024,"c":true},{"a":59392,"n":"map_e800","k":"table","len":1024,"c":true},{"a":60416,"n":"map_ec00","k":"table","len":1024,"c":true},{"a":61440,"n":"map_f000","k":"table","len":1024,"c":true},{"a":62464,"n":"map_f400","k":"table","len":1024,"c":true},{"a":63488,"n":"map_f800","k":"table","len":1024,"c":true},{"a":64512,"n":"map_tail_fc00","k":"table","len":96,"c":true},{"a":64608,"n":"arrival_counter","k":"variable","len":1,"c":true},{"a":64609,"n":"arrival_mask_index","k":"variable","len":1,"c":true},{"a":64610,"n":"arrival_pixel_count","k":"variable","len":1,"c":true},{"a":64611,"n":"arrival_variant","k":"variable","len":1,"c":true},{"a":64612,"n":"arrival_done_flag","k":"variable","len":1,"c":true},{"a":64613,"n":"dissolve_all_flag","k":"variable","len":1,"c":true},{"a":64614,"n":"dissolve_keep_masks","k":"table","len":5,"c":true},{"a":64619,"n":"f_FC6B","k":"table","len":5,"c":true},{"a":64624,"n":"tardis_sprite_pos","k":"table","len":12,"c":true},{"a":64636,"n":"arrival_entity_slots","k":"table","len":8,"c":true},{"a":64644,"n":"doctor_walk_targets","k":"variable","len":2,"c":true},{"a":64646,"n":"f_FC86","k":"variable","len":2,"c":true},{"a":64648,"n":"f_FC88","k":"variable","len":2,"c":true},{"a":64650,"n":"f_FC8A","k":"variable","len":2,"c":true},{"a":64652,"n":"arrival_sequence","k":"routine","len":118,"c":true},{"a":64674,"n":"b_FCA2","k":"branch","len":1,"c":false},{"a":64687,"n":"b_FCAF","k":"branch","len":1,"c":false},{"a":64730,"n":"b_FCDA","k":"branch","len":1,"c":false},{"a":64770,"n":"s_FD02","k":"routine","len":19,"c":true},{"a":64776,"n":"b_FD08","k":"branch","len":1,"c":false},{"a":64782,"n":"b_FD0E","k":"branch","len":1,"c":false},{"a":64789,"n":"s_FD15","k":"routine","len":10,"c":true},{"a":64799,"n":"arrival_frame","k":"routine","len":48,"c":true},{"a":64813,"n":"b_FD2D","k":"branch","len":1,"c":false},{"a":64847,"n":"doctor_leave_script","k":"routine","len":1,"c":true},{"a":64848,"n":"s_FD50","k":"routine","len":20,"c":true},{"a":64858,"n":"b_FD5A","k":"branch","len":1,"c":false},{"a":64867,"n":"b_FD63","k":"branch","len":1,"c":false},{"a":64868,"n":"a_FD64","k":"routine","len":63,"c":true},{"a":64875,"n":"b_FD6B","k":"branch","len":1,"c":false},{"a":64914,"n":"b_FD92","k":"branch","len":1,"c":false},{"a":64928,"n":"b_FDA0","k":"branch","len":1,"c":false},{"a":64931,"n":"s_FDA3","k":"routine","len":128,"c":true},{"a":64933,"n":"b_FDA5","k":"branch","len":1,"c":false},{"a":64981,"n":"b_FDD5","k":"branch","len":1,"c":false},{"a":64992,"n":"b_FDE0","k":"branch","len":1,"c":false},{"a":65016,"n":"b_FDF8","k":"branch","len":1,"c":false},{"a":65033,"n":"b_FE09","k":"branch","len":1,"c":false},{"a":65040,"n":"b_FE10","k":"branch","len":1,"c":false},{"a":65054,"n":"b_FE1E","k":"branch","len":1,"c":false},{"a":65059,"n":"departure_sequence","k":"routine","len":52,"c":true},{"a":65073,"n":"b_FE31","k":"branch","len":1,"c":false},{"a":65110,"n":"r_FE56","k":"branch","len":1,"c":false},{"a":65111,"n":"screen_on","k":"routine","len":9,"c":true},{"a":65120,"n":"load_tardis_source","k":"routine","len":24,"c":true},{"a":65131,"n":"b_FE6B","k":"branch","len":1,"c":false},{"a":65133,"n":"b_FE6D","k":"branch","len":1,"c":false},{"a":65144,"n":"set_tardis_sprites","k":"routine","len":49,"c":true},{"a":65165,"n":"b_FE8D","k":"branch","len":1,"c":false},{"a":65176,"n":"b_FE98","k":"branch","len":1,"c":false},{"a":65193,"n":"dissolve_sprite","k":"routine","len":86,"c":true},{"a":65201,"n":"b_FEB1","k":"branch","len":1,"c":false},{"a":65252,"n":"b_FEE4","k":"branch","len":1,"c":false},{"a":65256,"n":"b_FEE8","k":"branch","len":1,"c":false},{"a":65266,"n":"b_FEF2","k":"branch","len":1,"c":false},{"a":65278,"n":"r_FEFE","k":"branch","len":1,"c":false},{"a":65279,"n":"place_arrival_entities","k":"routine","len":1,"c":true},{"a":65280,"n":"a_FF00","k":"routine","len":47,"c":true},{"a":65283,"n":"b_FF03","k":"branch","len":1,"c":false},{"a":65327,"n":"arrival_sprite_colours","k":"routine","len":11,"c":true},{"a":65338,"n":"normal_sprite_colours","k":"routine","len":22,"c":true},{"a":65360,"n":"copy_sprite_source","k":"routine","len":11,"c":true},{"a":65362,"n":"b_FF52","k":"branch","len":1,"c":false},{"a":65370,"n":"b_FF5A","k":"branch","len":1,"c":false},{"a":65371,"n":"s_FF5B","k":"routine","len":6,"c":true},{"a":65377,"n":"wait_15_frames","k":"routine","len":14,"c":true},{"a":65382,"n":"b_FF66","k":"branch","len":1,"c":false},{"a":65391,"n":"kernal_area_leftovers","k":"variable","len":1,"c":true},{"a":65392,"n":"f_FF70","k":"table","len":18,"c":true},{"a":65410,"n":"loader_leftover_ff82","k":"variable","len":2,"c":true},{"a":65412,"n":"s_FF84","k":"table","len":54,"c":true},{"a":65466,"n":"s_FFBA","k":"routine","len":3,"c":true},{"a":65469,"n":"s_FFBD","k":"routine","len":14,"c":true},{"a":65496,"n":"s_FFD8","k":"routine","len":15,"c":true},{"a":65512,"n":"loader_leftover_ffe8","k":"table","len":18,"c":true},{"a":65530,"n":"cpu_vectors","k":"table","len":6,"c":true}],"records":[{"a":0,"l":"cpu_port_ddr","c":"6510 data-direction register. The game only writes it indirectly: start-up clears $02-$FF ($48B3), the resume path clears $5A-$FF ($939B), a new game clears $20-$FF ($943F); $49DE restores $02-$7F from a saved game. $9557 reads zero page by index during the save routine.","t":"byte","b":[33],"x":[18611,18910,37787,37951,38231]},{"a":1,"l":"cpu_port","c":"6510 port: memory banking. Start-up sets $35 (RAM at $A000/$E000, I/O at $D000; $485D-$4863), clears bit 2 to read the character ROM while copying glyphs ($48F5, the $0800 font), then sets it again ($495A). The save routine banks the KERNAL back in ($9586).","t":"byte","b":[33,0],"x":[18525,18531,18677,18681,18778,18782,38278,38282,65467,65475]},{"a":3,"l":"glyph_merge_lo_ptrs","c":"Five pointers ($03-$0C), copied from $4A4E at start-up: the operand low bytes of the five LDA $FF00,Y instructions at $86C7-$86EA. $869C/$86A0 write the glyph addresses of up to five character codes from the $8B list into that unrolled code (sta ($0D,x) high byte, sta ($03,x) low byte), so $86C7 merges those glyphs into one overlay character.","t":"byte","b":[170,177,145,179,34,0,0,0],"x":[18621,34464]},{"a":11,"t":"byte","b":[76,0]},{"a":13,"l":"glyph_merge_hi_ptrs","c":"Five pointers ($0D-$16), copied from $4A4E+10 at start-up: the operand high bytes ($86C9...$86E5) of the unrolled LDA $FF00,Y loads at $86C7; written through sta ($0D,X) at $869C.","t":"byte","b":[0,0,4,0,0,0,0,13],"x":[34460]},{"a":21,"t":"byte","b":[8,25]},{"a":23,"l":"pixel_pair_masks","c":"Four multicolour pixel-pair masks $C0,$30,$0C,$03 ($17-$1A), copied from $4A4E+20 at start-up; ANDed with glyph bytes at $86CA-$86ED (AND $17,X) by the overlay-character builder at $8652.","t":"byte","b":[22,0,10,118],"x":[34506,34513,34520,34527,34534,34541]},{"a":27,"l":"countdown_lo","c":"Countdown, low byte of a three-byte BCD number ($1D:$1C:$1B, high byte at $1D). New game: 1,08,05 = 10805 ($940C-$9414). $80DA subtracts 1 every 64 frames. At the end of the game $91BC adds it to the score $57-$59 as a bonus, unless the Doctor (object 0) is below Y high 3, in which case $9124 zeroes it first. No reader that prints it was found in the code read so far.","t":"byte","b":[163],"x":[33017,33022,37158,37312,37900]},{"a":28,"l":"countdown_mid","c":"Countdown, middle BCD byte of $1D:$1C:$1B; 08 at a new game ($9414) and at start-up ($499C). Decremented with borrow by $8100; added to score byte $58 at $91C6.","t":"byte","b":[0],"x":[18844,33024,33028,37160,37318,37908]},{"a":29,"l":"countdown_hi","c":"Countdown, high BCD byte of $1D:$1C:$1B; 01 at a new game ($9410, $4998). Decremented with borrow by $8106; added to score byte $57 at $91CC.","t":"byte","b":[0],"x":[18840,33030,33034,37162,37324,37904]},{"a":30,"l":"lives","c":"Regenerations left. 5 at a new game ($9408, $49B2); $912F/$9143 decrement it at a death, and below 0 the game is over; $9119 sets $FF at the end of the game (so the next start is a new game, tested at $9385). $94AC draws that many life figures ($99) into the status name field $1770-$1779. $C949 also reads it.","t":"byte","b":[0],"x":[18868,37147,37167,37187,37487,37765,37898,38060,51529]},{"a":31,"l":"splinx_battery","c":"Splinx's battery level, $18 (24) at a new game ($4984, $9458). Decremented while Splinx works ($B1F4, $B257, $B400) and increased when recharging ($B3EA); the programmer screen draws the gauge from it ($B076 indexes $AF0D/$AF26/$AF3F).","t":"byte","b":[0],"x":[18820,37976,45174,45539,45556,45561,45638,45655,46049,46058,46063,46080]},{"a":32,"l":"camera_x_lo","c":"Scroll position X (pixels), low byte; with $21. Moved by $CB at $8A42-$8A65 when the view scrolls; its low 3 bits become the fine scroll $5E ($810D). $8A90 derives $24-$2D from $20-$23. Start-up $F7/$02 ($498A).","t":"byte","b":[0],"x":[18828,18872,33037,35402,35407,35418,35423,35476,35514,35973,36056,36565,38082,51390]},{"a":33,"l":"camera_x_hi","c":"Scroll position X, high byte (pixels, with $20).","t":"byte","b":[0],"x":[18824,18876,35409,35413,35425,35429,35472,35521,35981,36064,36569,38089,51398]},{"a":34,"l":"camera_y_lo","c":"Scroll position Y (pixels), low byte; with $23. Moved by $CC at $8A6B-$8A8E; low 3 bits become the fine scroll $5F ($8113). Start-up $D4/$00.","t":"byte","b":[64],"x":[18836,18880,33043,35439,35444,35459,35464,35497,35527,35540,35988,36071,36573,38097]},{"a":35,"l":"camera_y_hi","c":"Scroll position Y, high byte (pixels, with $22).","t":"byte","b":[8],"x":[18832,18884,35446,35450,35466,35470,35493,35534,35547,35996,36079,36580,38104]},{"a":36,"l":"camera_col_lo","c":"Scroll position in character columns: ($21:$20) >> 3, low byte; written by $8A9F. Subtracted from object positions at $8568, $87AB, $AE1C, $C00F to place things on screen.","t":"byte","b":[179],"x":[34152,34731,35487,44572,49167]},{"a":37,"l":"camera_col_hi","c":"Scroll position in character columns, high byte ($8AA3).","t":"byte","b":[189],"x":[34159,34738,35491,49174]},{"a":38,"l":"camera_row_lo","c":"Scroll position in character rows: ($23:$22) >> 3, low byte ($8AB4).","t":"byte","b":[0],"x":[34180,34752,35508,44580,49188]},{"a":39,"l":"camera_row_hi","c":"Scroll position in character rows, high byte ($8AB8).","t":"byte","b":[0],"x":[34169,34758,35512,49194]},{"a":40,"l":"sprite_origin_x_lo","c":"Camera X - $1E ($8ABF): subtracted from an object X ($1B70/$1BC0) at $81DE to give its sprite X; with $29.","t":"byte","b":[0],"x":[33246,35519]},{"a":41,"l":"sprite_origin_x_hi","c":"High byte of camera X - $1E ($8AC5); objects whose difference is above $155 are not shown ($81E4-$81EE).","t":"byte","b":[0],"x":[33252,35525]},{"a":42,"l":"sprite_origin_y_lo","c":"Camera Y + $E2 ($8ACC). Sprite Y = this - object Y ($81FA-$8203): world Y grows upwards (the map rows at $0A80 run bottom-up), screen Y downwards. With $2B.","t":"byte","b":[0],"x":[33274,35532]},{"a":43,"l":"sprite_origin_y_hi","c":"High byte of camera Y + $E2 ($8AD2).","t":"byte","b":[1],"x":[33281,35538]},{"a":44,"l":"sprite_origin_y2_lo","c":"Camera Y + $CD ($8AD9): the alternative sprite-Y origin used at $822D for objects whose $18A0 (Y-expand) flag is set, 21 lines lower. With $2D.","t":"byte","b":[8],"x":[33325,35545]},{"a":45,"l":"sprite_origin_y2_hi","c":"High byte of camera Y + $CD ($8ADF); cleared at the end of the sprite pass ($81C5).","t":"byte","b":[246,121],"x":[33221,33332,35551]},{"a":47,"l":"prog_cursor","c":"Splinx Programmer: the program step (0-9) the cursor is on; moved with left/right ($B118-$B127) and advanced after a command is stored ($B0D9). Read at $B04E for the cursor sprite position ($AEEE/$AEF8).","t":"byte","b":[246],"x":[45134,45262,45267,45273,45288,45336,45342,45347,45351,45507,45993,45999]},{"a":48,"l":"splinx_program","c":"Splinx Programmer: the ten program steps $30-$39, one command code each (the row chosen in $3A); stored at $B0D0, drawn into the programmer screen at $0F82 by $B063 via $AF02, and read by Splinx's executor at $B1C5.","t":"byte","b":[121,246,121,0,160,0,160,0],"x":[45155,45264,45509]},{"a":56,"t":"byte","b":[160,30]},{"a":58,"l":"prog_command_row","c":"Splinx Programmer: the command row (0-9) under the pointer; moved with up/down ($B0FB-$B10A); row 0 selects the right-hand column instead of a command ($B0CA). Sprite Y from $AEE4.","t":"byte","b":[0],"x":[45126,45258,45307,45313,45318,45322]},{"a":59,"l":"prog_frame_count","c":"Splinx Programmer: frame counter of the programmer loop ($B034); the loop acts on every 10th value of its low four bits.","t":"byte","b":[0],"x":[45108,45110]},{"a":60,"l":"pocket_selected","c":"Status-bar box highlighted by F1 (0-4; $A553 steps it and wraps at 5): 0 = the marker box ($42-$45), 1-4 = the four pockets $3E-$41. $A53E/$A55F move the highlight ($95/$97 characters via $A4E4).","t":"byte","b":[0],"x":[42302,42323,42325,42333,42335,42508,42550]},{"a":61,"l":"pockets","c":"Pocket contents: $3E-$41 are pockets 1-4 (indexed $3D,Y with Y 1-4; $3D itself is never used as a pocket). Each holds an object id or 0. $A5BD puts a picked-up item ($1D80 >= $34) in the first empty pocket and draws its icon; $A622/$A658 take one out. $C13A compares against them.","t":"byte","b":[0,8,0,0,0],"x":[42434,42440,42530,42584,46378,49466]},{"a":66,"l":"marker_slots","c":"Markers 1-4 in hand: $42-$45 hold object ids $30-$33 while carried ($496E-$497C, $944E), 0 when placed in the mines. $A5A3 returns a picked-up marker ($1D80 in $30-$33) to its slot; $A612 drops the first one still held. $95B9/$95BD are in the save routine.","t":"byte","b":[8],"x":[18800,37968,42403,42514,42559]},{"a":67,"l":"marker_slot_2","c":"Marker 2 slot ($31 when carried); see $42.","t":"byte","b":[0],"x":[18804,38329]},{"a":68,"l":"marker_slot_3","c":"Marker 3 slot ($32 when carried); see $42.","t":"byte","b":[0],"x":[18808,38333]},{"a":69,"l":"marker_slot_4","c":"Marker 4 slot ($33 when carried); see $42.","t":"byte","b":[0],"x":[18812]},{"a":70,"l":"thrown_obj","c":"Thrown items, two slots (Y = 0,1): object id of the item in flight ($A7F9 from $1D80,X; read $A6DA).","t":"byte","b":[0,36],"x":[42714,43001]},{"a":72,"l":"thrown_timer","c":"Thrown items, two slots: flight counter, $FF = slot free. Set 0 when thrown ($A7E9), incremented each step ($A734); arcs up then down by count (>= $28 fall, $30/$60 thresholds at $A6F6-$A722); $FF when it lands ($A7B2, $A7CA) or its object leaves state $0E.","t":"byte","b":[0,8],"x":[42709,42727,42739,42770,42783,42804,42930,42954,42974,42985]},{"a":74,"l":"thrown_dx","c":"Thrown items, two slots: horizontal direction copied from $CB when thrown ($A7EE); cleared when the item hits a wall ($A767, $A789).","t":"byte","b":[0,0],"x":[42765,42855,42889,42990]},{"a":76,"l":"thrown_dy","c":"Thrown items, two slots: vertical direction ($CC form) copied when thrown ($A7F3); $82/$81 after it hits something ($A762, $A784).","t":"byte","b":[0,0],"x":[42732,42850,42884,42995]},{"a":78,"l":"event_flag_4e","c":"Flag set to $FF at $BF5B (with sound 7); tested at $BB05 (clears or sets $16A0, a terrain class, making a cell passable or not) and at $BE29. Which event sets it was not traced.","t":"byte","b":[0],"x":[47877,48681,48987]},{"a":79,"l":"heatonite_state","c":"Set $FF by $B9FC when four objects (list $B989) are all at their target places, cleared by $BA39 when the other set ($B97F) is; only in zone 2 ($56) every 8th frame. Non-zero at the end of the game lets the heatonite items at $91A4 double the bonus ($9190).","t":"byte","b":[0],"x":[37264,47559,47614,47673,47678]},{"a":80,"l":"event_flag_50","c":"Flag: bit 7 kept across a regeneration ($937F-$9383). When positive non-zero, $C9AB checks whether the Doctor is within $10,$08 of $0BBC,$0588 and then sets $FF ($C9D4). Also read at $CADD, $CE8A. Meaning not established.","t":"byte","b":[25],"x":[37759,37763,51621,51668,51933,52776,52796,52874,53028]},{"a":81,"l":"hazard_timer","c":"Zero until $C22B sets 1 (when the Doctor is within $20,$10 of a point tested at $C212). While non-zero, $C09A plays sound 3 and every 128 frames increments it; when it passes the Doctor height (object 0 Y / 8), $C0C0 sets $E8=8 (end cause 4). Non-zero at the end of the game also counts as heatonite halted ($91AB). What it represents is not established.","t":"byte","b":[0],"x":[37291,49306,49321,49340,49707]},{"a":82,"l":"screen_buffer","c":"Which play-area screen is shown: 0 or 1, indexes $8002 ($D018 = $E3 or $F3: screen $7800 or $7C00) in the IRQ ($8086) and $8000 for the bottom band ($80C2). Flipped by $8D30 after a scroll; the other screen is drawn into.","t":"byte","b":[0],"x":[32902,32962,34131,34138,34713,34720,35921,36118,36144,36148,36167,36636,44561,44673,49149,49156]},{"a":83,"l":"frame_count_lo","c":"Frame counter, low byte of 24 bits ($53-$55); incremented by the frame wait $80DA. Its low bits pace most subsystems (every 2nd, 4th, 8th, 64th, 128th frame).","t":"byte","b":[3],"x":[29932,33000,33010,34700,42108,42133,42222,43573,45546,45645,46043,46070,47322,47548,47567,47626,47682,49006,49023,49039,49042,49141,49315,49513,49538,50785,51224,51436,51540,51565,52089,52234,64833]},{"a":84,"l":"frame_count_mid","c":"Frame counter, middle byte ($80EC); read at $B1EE, $B251, $B3FA (Splinx battery drain pacing).","t":"byte","b":[76],"x":[33004,45550,45649,46074]},{"a":85,"l":"frame_count_hi","c":"Frame counter, high byte ($80F0); no reader found.","t":"byte","b":[0],"x":[33008]},{"a":86,"l":"zone","c":"Zone of the mines the Doctor is in (0-7), set by $AA3D from his position (called every 8 frames from $AA35 and at start-up with 3, $4A32). Selects the glyph/colour variant swapped in by $ABCF ($ABA3), and gates events ($A2E2, $B9B6). $A510 indexes $56,X with X 1-3 for the score bytes $57-$59.","t":"byte","b":[0],"x":[18996,33560,37912,38111,41698,42256,43581,43708,43722,43736,43750,43764,43778,43792,43983,47542,49135]},{"a":87,"l":"score_hi","c":"Score, high BCD byte (digits 1-2 of six); $57-$59. Printed at $0430-$0435 by $A50D (one byte per frame), and into the end message at $9681 ($923D). Rating thresholds at $9219.","t":"byte","b":[0],"x":[37091,37093,37095,37322,37326,37341,37345,37401,37413,37445,37459]},{"a":88,"l":"score_mid","c":"Score, middle BCD byte; see $57.","t":"byte","b":[0],"x":[37085,37087,37089,37316,37320,37335,37339,37405]},{"a":89,"l":"score_lo","c":"Score, low BCD byte; see $57. Additions at $90D1-$90E7 (restart points) and $91BC (end of game).","t":"byte","b":[0],"x":[37073,37078,37081,37083,37309,37314,37328,37333]},{"a":90,"l":"tmp_ptr_a","c":"General scratch: a pointer ($5A/$5B, used as ($5A),Y at $49FB, $8164, $85A1...) or a temporary byte. Used by almost every routine, never kept across calls; the bonus $5A-$5C at $9163 is BCD.","t":"byte","b":[0],"x":[18921,18939,33104,33124,33126,33131,33833,33914,33922,33924,33976,34194,34209,34247,34262,34388,34394,34397,34400,34405,34426,34494,34546,34548,34771,34784,34822,34835,35400,35405,35457,35462,35474,35478,35481,35484,35489,35495,35499,35502,35505,35510,36116,36165,36259,36267,36304,36306,36337,36343,36365,36417,36425,36473,36490,36497,36501,36504,36507,36510,36517,36521,36524,36527,36530,36554,36750,36821,36885,37221,37331,37441,37443,37457,37473,37532,37535,37537,37608,37617,37623,37644,38243,38259,39190,39197,39199,39270,39309,39315,39360,39366,42258,42270,42307,42318,42340,42351,42408,42420,42426,42456,42480,42492,42497,42565,42576,42579,42589,42611,42620,42625,42800,42806,43317,43413,44041,44052,44057,44077,44096,44103,44586,44625,44653,44658,44696,44718,44729,44743,45161,45166,45427,45439,45444,46602,46612,48901,48913,49207,49222,49260,49275,49326,49331,49334,49337,50307,50309,50316,50321,50326,50687,50730,50791,50795,52133,52139,52142,52150,52946,52953,52958,52963,52968,65199,65252]},{"a":91,"l":"tmp_ptr_a_hi","c":"Scratch, high byte of the $5A pointer or a temporary; see $5A. Set $D0 at $813D so that ($5A),Y reaches the sprite registers.","t":"byte","b":[0],"x":[18925,18944,33085,33928,33932,34086,34103,34202,34255,34414,34418,34421,34424,34428,34432,34779,34830,36339,36357,36374,36446,36448,36760,36858,36873,37225,37337,37539,37541,37543,37613,37627,37639,38247,38266,39203,39207,39210,39213,39216,42312,42345,42413,42461,42501,42570,42594,42629,44024,44033,44036,44039,44043,44048,44083,44594,44660,44664,44734,45433,45452,48909,48917,48936,48940,49215,49268,50302,52146,52951]},{"a":92,"l":"tmp_ptr_b","c":"Scratch: pointer $5C/$5D (source in copies, ($5C),Y at $49F9) or a temporary (multicolour mask in the sprite pass $8192).","t":"byte","b":[0],"x":[18929,18937,33095,33170,33175,33207,33951,33955,34136,34200,34447,34451,34454,34457,34462,34718,34777,36209,36277,36316,36388,36466,36770,36846,36915,37229,37343,37545,37547,37549,38251,38261,39235,39239,39242,39245,39248,42466,42484,42599,42606,44014,44055,44060,44094,44101,44602,44617,45429,45442,45447,49154,49213,52124,52152]},{"a":93,"l":"tmp_ptr_b_hi","c":"Scratch, high byte of the $5C pointer or a temporary (priority mask in the sprite pass $819E).","t":"byte","b":[0],"x":[18933,18946,33097,33182,33187,33212,34154,34163,34204,34211,34229,34235,34257,34733,34742,34781,34786,34804,34810,34832,36383,36395,36804,36831,36905,37619,37695,38255,38268,42471,42488,42604,42616,44020,44607,45437,45454,49169,49178,49217,49224,49242,49248,49270,52129]},{"a":94,"l":"fine_scroll_x","c":"Fine X scroll of the play area, camera X & 7 ($8111); the IRQ writes it, inverted, to $D016 ($8093). Also indexes the scroll tables at $88BC-$8951.","t":"byte","b":[0],"x":[32915,33041,35004,35023,35153]},{"a":95,"l":"fine_scroll_y","c":"Fine Y scroll of the play area, camera Y & 7 ($8117); the IRQ ORs it into $D011 ($809F). When 6, the bottom band starts one line earlier ($8119-$8131).","t":"byte","b":[0],"x":[32927,33047,33049,34997,35291,35341]},{"a":96,"l":"pos_x_lo","c":"Scratch position, X low byte, with $61: a candidate or sprite X (sprite pass $8143-$81F3), the next X from $9985, the thrown item ($A73F).","t":"byte","b":[0],"x":[33091,33152,33157,33197,33267,33307,34143,34253,34725,34828,35979,36062,36243,36376,36519,36567,36814,36921,39317,39331,39344,39507,39583,39756,39832,39931,40011,40085,40171,40341,40381,40420,40482,40489,40515,40546,40562,40625,40631,40670,40748,40800,40863,40935,40993,41068,41091,41127,41145,42815,43328,43359,43470,45755,46561,47166,49161,49266,50639,51998,53132]},{"a":97,"l":"pos_x_hi","c":"Scratch position, X high byte; also the $D010 bit mask built in the sprite pass ($8172).","t":"byte","b":[140],"x":[33089,33138,33143,33192,33264,33312,35986,36069,36515,36571,39324,39338,39349,39515,39590,39760,39836,39939,40015,40092,40175,40244,40349,40385,40424,40487,40493,40522,40550,40570,40629,40678,40752,40804,40867,40943,41001,41072,41099,41131,41153,42820,43333,43366,43475,45760,46566,47171,50644,52003,53137]},{"a":98,"l":"pos_y_lo","c":"Scratch position, Y low byte, with $63; also the $D017 mask in the sprite pass ($8187) and the sprite Y at $8211.","t":"byte","b":[0],"x":[33093,33159,33164,33202,33297,33317,33348,35994,36077,36204,36390,36499,36578,36599,36604,39368,39384,39397,39491,39521,39634,39640,39669,39743,39749,39764,39918,39945,40004,40019,40124,40253,40289,40355,40389,40435,40471,40693,40714,40764,40779,40826,40841,40880,40901,40957,40972,41025,41040,41076,41113,42825,43404,43457,45769,46575,47180,50653,52012,53146]},{"a":99,"l":"pos_y_hi","c":"Scratch position, Y high byte; see $62.","t":"byte","b":[0],"x":[36001,36083,36495,36584,36606,36610,39375,39391,39402,39496,39525,39638,39673,39747,39768,39923,39949,40008,40023,40128,40261,40293,40362,40396,40439,40475,40701,40718,40768,40787,40830,40849,40888,40905,40961,40980,41029,41048,41080,41121,42830,43411,43462,45774,46580,47185,50658,52017,53151]},{"a":100,"l":"probe_x_lo","c":"Probe point X low byte ($64/$65): the point $990D looks up in the map and $A3FB measures distances to. Also an overlay record coordinate at $8441.","t":"byte","b":[8],"x":[33649,33734,33764,33857,33910,33953,34289,37001,39183,39237,39441,39513,39588,39618,39653,39723,39758,39834,39861,39937,40013,40090,40108,40173,40195,40242,40347,40383,40422,40491,40520,40568,40594,40599,40676,40750,40802,40865,40941,40999,41070,41097,41129,41151,41461,41561,41893,41983,43118,43171,43341,43374,43479,44574,44619,44641,44646,44651,46014,46676,46889,47035,47060,47586,47645,47765,48067,48211,48364,49668,49712,49871,50038,50318,51629,52960,64886]},{"a":101,"l":"probe_x_hi","c":"Probe point X high byte; see $64.","t":"byte","b":[13],"x":[33654,33740,33771,33862,33949,34294,36996,39233,39448,39519,39594,39762,39840,39943,40017,40096,40113,40179,40202,40248,40353,40387,40428,40495,40526,40574,40601,40605,40682,40754,40806,40869,40947,41005,41074,41103,41133,41157,41465,41565,41900,41990,43094,43105,43113,43122,43139,43150,43157,43165,43175,43348,43381,43485,46019,46680,46885,47030,47065,47581,47640,47761,48072,48216,48359,49672,49716,49876,50043,50313,51633,52955,64881]},{"a":102,"l":"probe_y_lo","c":"Probe point Y low byte ($66/$67); see $64.","t":"byte","b":[0],"x":[33659,33748,33778,33867,33916,33930,34299,37011,39192,39205,39458,39523,39563,39569,39694,39699,39766,39805,39811,39947,39960,39965,40021,40072,40122,40259,40291,40360,40394,40437,40473,40699,40716,40732,40766,40785,40828,40847,40886,40903,40919,40959,40978,41027,41046,41078,41119,41470,41570,41881,42041,43079,43389,43440,44566,44592,46024,46684,46897,47045,47070,47594,47653,47773,48077,48221,48372,49676,49720,49881,50048,50328,51637,52970,64896]},{"a":103,"l":"probe_y_hi","c":"Probe point Y high byte; see $64.","t":"byte","b":[0],"x":[33664,33754,33785,33872,33926,34304,37006,39201,39465,39527,39567,39701,39705,39770,39809,39951,39967,39971,40025,40079,40126,40265,40295,40366,40400,40443,40477,40705,40720,40737,40770,40791,40832,40853,40892,40907,40924,40963,40984,41031,41052,41082,41125,41475,41575,41885,42048,43062,43073,43083,43396,43446,46029,46688,46893,47040,47075,47590,47649,47769,48082,48226,48368,49680,49724,49886,50053,50323,51641,52965,64891]},{"a":104,"l":"tmp_count","c":"Scratch: a saved Y register ($92E3, $A808) or a loop counter ($B16D, $B9CD).","t":"byte","b":[0],"x":[34185,34219,34237,34762,34794,34812,37603,37649,43016,43033,43047,45423,45456,45657,45675,45805,45810,47565,47608,47624,47667,49198,49232,49250]},{"a":105,"l":"tmp_flag","c":"Scratch: a saved X in $990D ($990D stx/$9982 ldx) and the \"first item line\" flag in the end tally ($91E6).","t":"byte","b":[140],"x":[37350,37360,37366,39181,39298]},{"a":106,"l":"f3_latch","c":"Edge latch for F3 ($CF): the marker drop at $A57E acts only when F3 goes from released to pressed.","t":"byte","b":[128],"x":[42361,42366,42370]},{"a":107,"l":"irq_save_a","c":"IRQ handler: saved A ($8010, restored $8009).","t":"byte","b":[192],"x":[32777,32784]},{"a":108,"l":"irq_save_x","c":"IRQ handler: saved X ($8012, restored $800B).","t":"byte","b":[0],"x":[32779,32786]},{"a":109,"l":"irq_save_y","c":"IRQ handler: saved Y ($8014, restored $800D).","t":"byte","b":[0],"x":[32781,32788]},{"a":110,"l":"scroll_stage","c":"Coarse-scroll pipeline stage: 0, 2, 4 (dispatch offset at $8C41) as the screen rebuild after a coarse scroll is spread over frames; compared with the scroll tables at $88E7-$8A23.","t":"byte","b":[0],"x":[35040,35047,35108,35145,35174,35181,35239,35275,35306,35313,35356,35363,35905,35933,36020,36161,44671]},{"a":111,"l":"scroll_block_x","c":"$FF when horizontal scrolling is not allowed this frame, 0 when it is ($88AD, $88F4...); read at $8A3E, $A36B, $CB0A.","t":"byte","b":[0],"x":[34989,35060,35194,35332,35382,35390,41835,51978]},{"a":112,"l":"scroll_block_y","c":"$FF when vertical scrolling is not allowed this frame, 0 when it is ($88AF, $88FA...); read at $8A67, $A1A3, $CB12.","t":"byte","b":[0],"x":[34991,35066,35200,35326,35376,35431,41379,51986]},{"a":113,"l":"scroll_pending","c":"$FF: a coarse scroll step is due ($88EE...); $8C39 then starts it; 0 after $8C3D. $8D3B sets $FF.","t":"byte","b":[5],"x":[34995,35056,35190,35322,35372,35387,35897,36155]},{"a":114,"l":"scroll_direction","c":"Direction of the coarse scroll in progress, 0-7 (the eight stick directions, $88DE-$8A18); with $52 selects the entries in the tables at $8AE2-$8C22 ($8C4F).","t":"byte","b":[163],"x":[34227,34802,35032,35038,35096,35104,35133,35141,35162,35170,35227,35235,35263,35271,35294,35302,35344,35352,35919,35965,49240]},{"a":115,"l":"scroll_table_index","c":"Index into the coarse-scroll tables at $8AE2-$8C22: direction $72, +8 when the screen being drawn is the second buffer ($8C58).","t":"byte","b":[230],"x":[35928,35971,36022,36054]},{"a":116,"l":"scroll_copy_flag","c":"Coarse-scroll state: 0 when the colour-RAM rebuild and buffer flip at $8D39 is due ($8C32); set $FF by $8D3D and 0 by $8D09.","t":"byte","b":[122],"x":[35890,36105,36157]},{"a":117,"l":"move_blocked","c":"Result of the movement routines ($9EC8, $A833, $9D15...): negative when the move is blocked by terrain. Read by the throw code ($A73B, $A77C) and pick-up ($A632).","t":"byte","b":[208,2,230],"x":[40215,40282,40650,40818,40823,41017,41022,41174,41222,41237,42546,42811,42876,42910,43029,43052,43133,43508,50505,50554,51957,52476]},{"a":120,"l":"probe_block","c":"Map block number found at the probe point by $990D ($9958); read at $B3D2, $BD20, $C905, $CA5B.","t":"byte","b":[123],"x":[39256,46034,48416,51461,51803]},{"a":121,"l":"sprite_slot_obj","c":"Sprite slots 0-7 ($79-$80): the object shown in each hardware sprite this frame, stored by $8219 as objects are found on screen, read by the sprite pass $814E. $B409 reads slot 0.","t":"byte","b":[173,10,8,201,58,176,10,201],"x":[33102,33305,46089]},{"a":129,"l":"sprite_count","c":"Number of sprite slots filled this frame (0-8), incremented by $822A, reset by the sprite pass ($81C3); $8133 turns on that many sprites ($81C9).","t":"byte","b":[32],"x":[33075,33219,33299,33322,64801]},{"a":130,"l":"overlay_obj","c":"Object being drawn as characters or being picked up: set at $8633/$863F, $A7CE, $A9FF, $B315...; read by $8310, $86FE.","t":"byte","b":[240],"x":[33552,34355,34367,34558,42958,43519,45845,46440,46967,47084,49489,50018,50124]},{"a":131,"l":"overlay_state","c":"State of the character-overlay/pick-up process for $82: 0 idle, $FF in progress, 1 ($8643, $A9FF) another phase; set by $8637, $A7D2, $B313...; dispatched at $8312.","t":"byte","b":[239],"x":[33554,33587,34359,34371,34598,34613,42919,42962,43305,43523,45837,45843,46436,46444,46963,46971,47080,47088,49485,49493,50005,50022,50120,50128]},{"a":132,"l":"irq_band3_line","c":"Raster line for the IRQ that starts the bottom band: $55, or $56 when the Y fine scroll is 6 ($811F-$8131); written to $D012 at $8067.","t":"byte","b":[56],"x":[32871,33062,33073]},{"a":133,"l":"overlay_col_lo","c":"Object $82 X in character columns ($1B70/$1BC0 >> 3), low byte ($8354); base for the overlay record.","t":"byte","b":[233],"x":[33620,33728]},{"a":134,"l":"overlay_col_hi","c":"Object $82 X in character columns, high byte ($8341-$8351).","t":"byte","b":[48],"x":[33601,33611,33614,33617,33736]},{"a":135,"l":"overlay_row_lo","c":"Object $82 Y in character rows, low byte ($836C).","t":"byte","b":[56],"x":[33644,33742]},{"a":136,"l":"overlay_row_hi","c":"Object $82 Y in character rows, high byte ($8359-$8369).","t":"byte","b":[233],"x":[33625,33635,33638,33641,33750]},{"a":137,"l":"throw_stand","c":"Set $FF when F7 is held with no direction ($A698), 0 otherwise ($A6B2); while set the Doctor does not move ($C9E1 clears $CB/$CC). As $89,X also the start of the list shift at $851B.","t":"byte","b":[208],"x":[34075,42648,42674,51681]},{"a":138,"l":"doctor_facing","c":"The Doctor's facing ($8A,X with X=0 at $A80E; $A8D4, $A939): negative = left; copied into $CB when he throws or drops. Also the byte before the overlay list $8B, used as $8A,X by $846E/$853A.","t":"byte","b":[96],"x":[33902,34106,34129,43022,43220,43321,46600,46607,46614,48179,51527,52217,52326,52360,52388,52447]},{"a":139,"l":"overlay_list","c":"List of 64 bytes $8B-$CA searched from the top ($8462 LDX #$40): values below $20 are overlay record numbers (tables $8250-$82EF), values $20 and up are character codes stacked in a screen cell; $8684 feeds them to the glyph builder. $83FF-$854F insert and remove entries.","t":"byte","b":[128,79,199,82,88,64,255],"x":[33798,33806,33817,33819,33893,33897,34053,34058,34066,34079,34088,34110,34117,34127,34440,34859]},{"a":146,"l":"overlay_list_7","c":"Entry 7 of the overlay list $8B ($8B+7); $832D tests it and abandons the overlay process when it is non-zero.","t":"byte","b":[0,0,64,255,0,0,0,0],"x":[33581]},{"a":154,"t":"byte","b":[3,0,0,0,0,0,0,12]},{"a":162,"t":"byte","b":[174,64,254,0,0,64,0,0]},{"a":170,"t":"byte","b":[0]},{"a":171,"l":"overlay_list_20","c":"Byte $AB, inside the overlay list $8B; the only other access is a STA from the code block at $FFD8 (not reached from known code).","t":"byte","b":[0,0,0],"x":[65496]},{"a":174,"l":"overlay_list_23","c":"Byte $AE, inside the overlay list $8B; the only other access is at $FFC5, in the $FFB9-$FFCA block, which is not reached from known code.","t":"byte","b":[192],"x":[65477]},{"a":175,"l":"overlay_list_24","c":"Byte $AF, inside the overlay list $8B; the only other access is at $FFC7 (see $AE).","t":"byte","b":[6,0,0,60,3],"x":[65479]},{"a":180,"l":"overlay_list_29","c":"Byte $B4, inside the overlay list $8B; the only other access is at $FFE2 (see $AB).","t":"byte","b":[0,0,0,5,1,96,8,251],"x":[65506]},{"a":188,"t":"byte","b":[159,0,0,0]},{"a":192,"l":"overlay_list_35","c":"Byte $C0, inside the overlay list $8B (auto symbol; no instruction names it directly in the code read).","t":"byte","b":[0,0,160,1,8,64,0,0],"x":[65469]},{"a":200,"t":"byte","b":[3,5,3]},{"a":203,"l":"move_x","c":"Horizontal movement request: from the stick/keys at $8F24 ($81 left, $01 right, 0 none), then rewritten by each object's updater before calling the movement routines (bits 0-1 give the step in pixels).","t":"byte","b":[64],"x":[35007,35328,35378,35394,35421,36648,36688,36704,36839,36854,39301,39427,39478,39498,39889,39895,39925,39987,40031,40064,40081,40161,40229,40319,40335,40554,40559,40635,40645,40658,41181,41217,41256,41367,41814,41841,41937,42663,42667,42752,42768,42871,42905,42988,43024,43085,44258,44283,44301,44327,44350,44364,45327,45360,45726,45751,45779,45908,45922,45929,45976,46535,46557,46585,47140,47162,47190,50464,50522,50595,50635,50663,51687,51722,51923,51942,51963,51984,51994,52484,53103,53128,53156,64738,64791,64907,64967,64978,65000,65035]},{"a":204,"l":"move_y","c":"Vertical movement request: $81 down, $01 up, 0 none (input $8F24); like $CB, reused by every object updater as its own vertical step.","t":"byte","b":[1],"x":[35026,35062,35092,35156,35196,35223,35279,35285,35335,35435,35442,36646,36717,36733,36866,36881,39352,39382,39425,39476,39614,39644,39647,39677,39686,39717,39753,39857,39878,39904,39985,39997,40002,40050,40135,40152,40217,40286,40323,40643,40684,40871,41062,41212,41239,41254,41363,41385,41512,41629,41818,42655,42659,42748,42756,42779,42792,42798,42993,43020,44262,44329,44366,44440,45301,45364,45765,45784,45901,45980,46571,46590,47176,47195,50500,50520,50538,50621,50649,50668,51603,51689,51726,51759,51921,51947,51965,51992,52008,52461,52482,52495,52523,52543,52556,53142,53161,64742,64911,64971,65004]},{"a":205,"l":"fire_pressed","c":"$FF while fire or RETURN is held ($8F45, $8FDD), else 0. Jump ($C9EB); in the programmer, stores the command ($B0B9).","t":"byte","b":[2],"x":[36654,36677,36829,45241,51672,51691]},{"a":206,"l":"key_unused","c":"Cleared by the input reader at $8F30 with the other key flags; nothing else reads or writes it.","t":"byte","b":[32],"x":[36656]},{"a":207,"l":"key_f3","c":"$FF while F3 is held alone ($9043): drop a marker ($A575), and in the save menu SAVE ON DISC ($9512).","t":"byte","b":[0],"x":[36658,36931,38162,42357]},{"a":208,"l":"key_f1","c":"$FF while F1 is held alone ($9040): move the pocket highlight ($A530), SAVE ON CASSETTE in the save menu ($950E), continue after the end of game ($9285).","t":"byte","b":[0],"x":[36660,36928,37509,38158,42288]},{"a":209,"l":"key_f7","c":"$FF while F7 is held alone ($9049): throw ($A68A).","t":"byte","b":[224],"x":[36662,36937,42634]},{"a":210,"l":"key_f5","c":"$FF while F5 is held alone ($9046): drop or use the pocket item ($A6B4), RETURN TO GAME in the save menu ($9516), $BB28.","t":"byte","b":[5],"x":[36664,36934,38166,42676,47912]},{"a":211,"l":"key_s","c":"$FF while S is held ($904C): opens the Splinx Programmer ($AF60) and leaves it ($B0A8).","t":"byte","b":[0],"x":[36666,36940,44896,45224]},{"a":212,"l":"stick_x","c":"Horizontal stick/key direction, same values as $CB but not rewritten by the object code ($8F2C-$8FF8): read by the programmer entry ($AF58), throw ($A68E).","t":"byte","b":[0],"x":[36652,36690,36706,36841,36856,42638,42661,44888,45358]},{"a":213,"l":"stick_y","c":"Vertical stick/key direction ($81 down, $01 up): read by the programmer entry ($AF5C), throw ($A692) and $99ED.","t":"byte","b":[39],"x":[36650,36719,36735,36868,36883,39405,42642,42653,44892,45362]},{"a":214,"l":"f1_latch","c":"Edge latch for F1: the pocket highlight moves once per press ($A534-$A53C).","t":"byte","b":[12],"x":[42292,42296,42300]},{"a":215,"l":"s_latch","c":"Edge latch for S: the programmer opens or closes once per press ($AF64-$AF6F, $B0AC-$B0B7); $FF at start-up ($4980).","t":"byte","b":[13],"x":[18816,44900,44905,44911,45228,45234,45239]},{"a":216,"l":"fire_latch","c":"Edge latch for fire in the Splinx Programmer ($B0BD-$B0C8).","t":"byte","b":[0],"x":[45245,45250,45256]},{"a":217,"l":"dist_x_lo","c":"Distance from object X to the probe point $64/$65, absolute value, low byte (written by $A3FB); with $DA. Used everywhere for \"is it near\" tests.","t":"byte","b":[132],"x":[34338,37024,41486,41588,41610,41787,41915,41985,42000,42020,42027,44142,44166,44173,44187,45684,45820,46114,46142,46287,46314,46329,46339,46359,46430,46452,46807,46854,46910,46951,46998,47054,47350,47428,47459,47786,48101,48245,48391,49624,49693,49737,49989,50337,51591,51654,52467,52712,52757,52829,52905,52920,52979,53045,64952]},{"a":218,"l":"dist_x_hi","c":"Absolute X distance, high byte ($A3FB).","t":"byte","b":[132],"x":[33677,34328,34346,37020,41482,41554,41580,41632,41643,41779,41907,41992,41994,42029,42035,44150,44152,44175,44181,44183,44291,44336,44371,44415,45680,45812,46110,46138,46283,46306,46848,46902,46947,46994,47050,47342,47420,47451,47782,48087,48231,48381,49616,49685,49729,49985,50333,51583,51646,52708,52749,52890,52975,53037,64940]},{"a":219,"l":"dist_y_lo","c":"Distance from object X to the probe point $66/$67 in Y, absolute value, low byte ($A3FB).","t":"byte","b":[132],"x":[33673,34342,37034,41496,41594,41616,41793,42043,42058,42076,42083,44204,44220,44238,44245,45694,45826,46124,46152,46277,46320,46813,46916,46957,47004,47356,47434,47465,48095,48239,48385,49631,49699,49743,49895,49999,50062,50347,51597,51660,52489,52515,52763,52835,52912,52926,52989,53051,64948]},{"a":220,"l":"dist_y_hi","c":"Absolute Y distance, high byte ($A3FB).","t":"byte","b":[132],"x":[33669,34322,37030,41492,41584,41783,41911,42050,42052,42085,42091,44212,44214,44247,44253,45690,45816,46120,46148,46273,46310,46906,47346,47424,47455,48091,48235,48377,49620,49689,49733,49995,50343,51587,51650,52753,52894,52985,53041,64944]},{"a":221,"l":"dir_x","c":"Sign of the X difference from $A3FB in movement form: 0 equal, $81 object to the right of the point, $01 to the left. Copied into $CB by chasers ($ACE0).","t":"byte","b":[132],"x":[42006,42012,42018,44158,44164,44195,44256,44269,44408,47603,47662,49891,50058,52901,64903,64963]},{"a":222,"l":"dir_y","c":"Sign of the Y difference from $A3FB: 0 equal, $81 object above the point, $01 below. Copied into $CC by chasers ($ACE4).","t":"byte","b":[132],"x":[41921,42064,42069,42074,44226,44231,44236,44260,44396,47599,47658,47778,48117,52704]},{"a":223,"l":"terrain_result","c":"Set by the movement routines ($9A3B...$9BC2: 5 or $82 by terrain class, 0 at $B28C, $C58B); a non-zero value is copied into $1E60,X by the chaser at $AD87.","t":"byte","b":[132],"x":[39483,39556,39682,39798,39874,44423,45708,50571]},{"a":224,"l":"busy_flag","c":"While non-zero, the pocket and F-key handling at $A52B is skipped. Set $FF at $C8D4, $C9DC; cleared by the lift ($A1D1, $A220, $A225); read at $BB4C.","t":"byte","b":[133],"x":[41425,41504,41509,42283,47948,51412,51676]},{"a":225,"l":"music_running","c":"Music player: 0 = the tune in $E2 must be (re)started; set 1 at $754A after the start. Cleared when the tune changes ($7538).","t":"byte","b":[133],"x":[30008,30017,30026]},{"a":226,"l":"tune","c":"Tune number 0-4, chosen every other frame by $74EA from where the Doctor is ($1BC0 X high, $1C60 Y high); 5 = silence ($C89E). Indexes the tune tables $74C2-$74E5.","t":"byte","b":[133],"x":[29930,29972,29982,29992,30002,30011,30097,51358]},{"a":227,"l":"music_v1_ptr","c":"Music: pointer into voice 1 note data (frequency high, low pairs), $E3/$E4; set from $74D6/$74DB ($7596).","t":"byte","b":[133],"x":[30102,30181,30186,30194,30199]},{"a":228,"l":"music_v1_ptr_hi","c":"Music: voice 1 note pointer, high byte.","t":"byte","b":[133],"x":[30107,30190,30203]},{"a":229,"l":"music_v2_ptr","c":"Music: pointer into voice 2 note data, $E5/$E6; set from $74E0/$74E5 ($75A0).","t":"byte","b":[133],"x":[30112,30231,30236,30244,30249]},{"a":230,"l":"music_v2_ptr_hi","c":"Music: voice 2 note pointer, high byte.","t":"byte","b":[134],"x":[30117,30240,30253]},{"a":231,"l":"event_flag_e7","c":"Flag set $FF at $C99B (with the Doctor put into state $0A) and cleared at $CD11/$CD32; while set $C966 skips to $CCE2, and $A9E8 refuses to pick up object $39 (PLATFORM).","t":"byte","b":[134],"x":[43496,51558,51611,52497,52530]},{"a":232,"l":"event_code","c":"Event request for $9102: 0 none; negative = save menu (D $80, CTRL+D $C0, L $FF); 2 escape pod, 4 TARDIS (end of game); 6-$16 deaths (e.g. $08 at $C0C2, $10 suffocation at $CAC2); $12 forced regeneration (R). Cleared at start-up and new game.","t":"byte","b":[134],"x":[18964,36778,36794,36911,36945,36950,37125,37255,38042,38191,46788,47312,47364,47411,47473,48399,48431,49346,49654,51452,51469,51815,51852,51906,52619,52826,52867]},{"a":233,"l":"pickup_cooldown","c":"Frames to wait ($0A set at $AA07 after a pick-up) before $BACC does its work again.","t":"byte","b":[134],"x":[43527,47820,47824]},{"a":234,"l":"status_scroll_x","c":"Fine X scroll of the status bar ($8046); stepped by the message scroller at $9327.","t":"byte","b":[134],"x":[32838,37671,37678]},{"a":235,"l":"terrain_prop_1","c":"Terrain property 1 of the cell found by $990D (from $98E1 by class $1600); many movement tests ($9A6C...).","t":"byte","b":[134],"x":[39281,39532,39574,39599,39775,39816,39845,39956,40118,40207,40371,40405,40505,40536,40584,40615]},{"a":236,"l":"terrain_prop_2","c":"Terrain property 2 of the probed cell (from $98EC); negative = solid for $99F6.","t":"byte","b":[134],"x":[39286,39414,39710,39976,40270,40300,40448,40710,40796,40811,40858,40897,40989,41010,41057,41138,41162,43127,43180]},{"a":237,"l":"terrain_prop_3","c":"Terrain property 3 of the probed cell (from $98F7).","t":"byte","b":[135],"x":[39291,40101,40511,40542,40912,40929,40952,40968,41036,41087]},{"a":238,"l":"terrain_prop_4","c":"Terrain property 4 of the probed cell (from $9902).","t":"byte","b":[135],"x":[39296,40184,40590,40621,40725,40742,40759,40775,40837,41108]},{"a":239,"l":"bottom_band_bg","c":"Background colour for the bottom raster band ($80D2 writes $D021). No writer found in the code read: it holds the start-up value 0 (cleared by $48B3).","t":"byte","b":[135,135],"x":[32978]},{"a":241,"l":"air_timer","c":"Air countdown: while non-zero it is decremented ($CABC) and reloaded to $32 while the AIR MASK (object $3A) is held ($CAB1); reaching 0 sets $E8=$10 (suffocation).","t":"byte","b":[135],"x":[51875,51881,51887,51898,51900,51910]},{"a":242,"l":"throw_slot","c":"Loop index over the two thrown-item slots ($46-$4D), 1 then 0 ($A6CB).","t":"byte","b":[135],"x":[42701,42703,42707,42802,42846,42880,42926,42950]},{"a":243,"l":"sfx3_freq_lo","c":"Sound effect on voice 3: current frequency low byte, swept by $C858 each frame from $C6D7 steps.","t":"byte","b":[224],"x":[51189,51288,51294,51334]},{"a":244,"l":"sfx3_freq_hi","c":"Sound effect on voice 3: current frequency high byte, swept against the limit $C6BF.","t":"byte","b":[217],"x":[51197,51299,51304,51314,51324,51339]},{"a":245,"l":"sfx_current","c":"Sound effect playing on voice 3 (index into $C677...$C797), $FF none. $C7C7 starts effect Y only if Y is lower than this (lower number wins); $C88E stops effect Y. $FF at start-up.","t":"byte","b":[0],"x":[18971,51143,51147,51230,51259,51342,51348]},{"a":246,"l":"sfx_delay","c":"Frames before the voice-3 effect starts sweeping (3, $C813).","t":"byte","b":[0],"x":[51219,51234,51238]},{"a":247,"l":"lift_riding","c":"Lift (object $0E, $A13C): non-zero while the Doctor rides it; copied to $1CB0 (object 0).","t":"byte","b":[0],"x":[41320,41369,41421,41443,52547,52552]},{"a":248,"l":"lift_dir","c":"Lift direction: $02 up, $82 down, copied to $CC ($A191).","t":"byte","b":[0],"x":[41325,41337,41352,41361]},{"a":249,"l":"lift_stop","c":"Lift stop index 0-7 (heights at $A12C/$A134); changes at each end.","t":"byte","b":[0],"x":[41286,41329,41339,41346,41354]},{"a":250,"l":"lift_wait","c":"Lift wait timer, $7F at a stop, counted down ($A1C0).","t":"byte","b":[0],"x":[41311,41400,41408,41430]},{"a":251,"l":"car_riding","c":"Horizontal car (object $0F, $A2B9): $FF while the Doctor rides it; copied to $1CB0.","t":"byte","b":[0],"x":[41744,41820,41927,51915,52188]},{"a":252,"l":"car_dir","c":"Horizontal car direction: $02 right, $82 left, copied to $CB ($A354).","t":"byte","b":[0],"x":[41761,41767,41812]},{"a":253,"l":"car_stop","c":"Horizontal car end index 0-3 (positions at $A2B0/$A2B4); bit 0 flips at each end.","t":"byte","b":[128],"x":[41666,41676,41684,41710,41749,41753]},{"a":254,"l":"car_wait","c":"Horizontal car wait timer, $BE at an end, counted down ($A388).","t":"byte","b":[0],"x":[41735,41856,41864,41877]},{"a":255,"l":"prog_column","c":"Splinx Programmer: which part the pointer is in (0-2; $B0DE); 2 resets the cursor $2F. Sprite Y from $AEE1.","t":"byte","b":[3],"x":[45118,45278,45280,45296,45496,46006]},{"a":256,"t":"gap","n":2096,"x":[18772,18889,29788,29791]},{"a":256,"t":"note","l":"stack_page","c":"Stack page. $0100-$013F is zeroed at start-up ($4954): that is sprite block 4 in VIC bank 0, the blank sprite image all eight status-band sprite pointers ($07F8-$07FF) are set to. $0100 itself also takes the first byte of $7800 at start-up ($49C9: non-zero = a saved game is present) and is read at $745C. The rest is the 6510 stack. In the image: depacker leftovers.","note":"outside the tracked image","x":[18772,18889,29788,29791]},{"a":512,"t":"note","l":"obj_backup_state","c":"Runtime copy of the object tables: start-up copies $1B20-$1D1F here ($49A0-$49AF) and every new game or regeneration copies it back ($93A2-$93C3, $945C-$9468). $0200 holds the $1B20 (state) copy; in the image it holds KERNAL/depacker leftovers.","note":"outside the tracked image","x":[18851,37794,37980]},{"a":592,"t":"note","l":"obj_backup_x_lo","c":"Runtime copy of $1B70 (object X low), restored at $93A8.","note":"outside the tracked image","x":[37800]},{"a":672,"t":"note","l":"obj_backup_x_hi","c":"Runtime copy of $1BC0 (object X high), restored at $93AE.","note":"outside the tracked image","x":[37806]},{"a":752,"t":"note","l":"obj_backup_y_lo","c":"Runtime copy of $1C10 (object Y low), restored at $93B4.","note":"outside the tracked image","x":[37812]},{"a":768,"t":"note","l":"obj_backup_page2","c":"Runtime copy of $1C20-$1D1F (second page of the object tables), copied at start-up ($49A9) and back at a new game ($9465).","note":"outside the tracked image","x":[18860,37989]},{"a":832,"t":"note","l":"obj_backup_y_hi","c":"Runtime copy of $1C60 (object Y high), restored at $93BA.","note":"outside the tracked image","x":[37818]},{"a":912,"t":"note","l":"obj_backup_1cb0","c":"Runtime copy of $1CB0 (object flags), restored at $93C0.","note":"outside the tracked image","x":[37824]},{"a":991,"t":"note","l":"loader_leftover_03df","c":"Target of a JMP at $FFE4 in a code block ($FFD8-$FFE6) not reached from the game code read; the bytes here are loader leftovers overwritten by the object-table backup at start-up. Not game code.","note":"outside the tracked image","x":[65508]},{"a":1005,"t":"note","c":"Operand of LDA $03ED,Y at $FF82, in bytes the brief lists as false code ($FF82-$FF8D); in the image this is depacker leftover. No game access known.","note":"outside the tracked image"},{"a":1024,"t":"note","l":"status_screen","c":"Status bar, VIC bank 0 ($D018=$10/$11: screen $0400, glyphs from $0000). At start-up $4B00-$4EFF is copied over $0400-$07FF ($48C2-$48E6): rows 0-3 ($0400-$049F) are the status bar, and $04A0-$07FF becomes the glyphs of character codes $94-$FF (the private alphabet: code*8). In this image the page still holds the loading screen, overwritten.","note":"outside the tracked image","x":[18631]},{"a":1064,"t":"note","l":"status_row1","c":"Status row 1 ($0428-$044F): saved to $7800 and restored ($92C0, $9391, $9432, $49D3); blanked to $94 for messages ($92CD).","note":"outside the tracked image","x":[18899,37568,37581,37777,37938,38198]},{"a":1070,"t":"note","l":"status_score","c":"Score digits base: $A51A/$A528 write the six BCD digits of $57-$59 to $0430-$0435 (Y = 2,4,6 and one less), one byte per frame, via the digit table $1730.","note":"outside the tracked image","x":[42266,42280]},{"a":1103,"t":"note","l":"status_msg_row","c":"Status row 2 ($0450-$0477): the scrolling message line. $9334/$9337 shift it one cell left; $0477 is where each new letter enters ($9341).","note":"outside the tracked image","x":[37687]},{"a":1104,"t":"note","l":"status_msg_src","c":"Status row 2, read at $9334 (shift source, one byte to the right of $044F).","note":"outside the tracked image","x":[37684]},{"a":1106,"t":"note","l":"status_item_name","c":"Item-name field: $A500 writes the 10-character name of the item held ($1D80) to $0453-$045C, or the life figures when nothing is held.","note":"outside the tracked image","x":[42243]},{"a":1143,"t":"note","l":"status_msg_entry","c":"Last cell of the message row: each new letter is written here by $9341.","note":"outside the tracked image","x":[37697]},{"a":1144,"t":"note","l":"status_row3","c":"Status row 3 ($0478-$049F): filled with character $97 for messages ($92DC).","note":"outside the tracked image","x":[37596]},{"a":1280,"t":"note","l":"status_font_page1","c":"Status font: $0500-$05FF, glyphs of codes $A0-$BF (code*8), copied from $4C00 at start-up ($48CD). Loading-screen bytes in this image.","note":"outside the tracked image","x":[18640]},{"a":1536,"t":"note","l":"status_font_page2","c":"Status font: $0600-$06DF glyphs of codes $C0-$DB, copied from $4D00 ($48D6); $06E0 on is overwritten with letters from the character ROM.","note":"outside the tracked image","x":[18649]},{"a":1760,"t":"note","l":"status_font_letters","c":"Glyphs of codes $DC-$FB (A-Z then digits 0-5 of the private alphabet): start-up copies them from the $0808 ROM copy ($492C, 256 bytes), so the private alphabet uses the C64 ROM letter shapes.","note":"outside the tracked image","x":[18735]},{"a":1792,"t":"note","l":"status_font_page3","c":"Status font: $0700-$07FF from $4E00 ($48DF), then partly replaced by ROM letters/digits ($06E0, $07E0) and sprite pointers ($07F8).","note":"outside the tracked image","x":[18658]},{"a":1960,"t":"note","l":"status_font_z_slot","c":"Glyph of code $F5 (Z): start-up copies the glyph of code $FF (digit 9) here ($4945) before $07F8-$07FF becomes sprite pointers, so code $F5 draws a 9. The digit table $1730 maps 9 to $F5.","note":"outside the tracked image","x":[18757]},{"a":2016,"t":"note","l":"status_font_digits","c":"Glyphs of codes $FC-$FF (digits 6-9), copied from $0908 ($4935).","note":"outside the tracked image","x":[18744]},{"a":2040,"t":"note","l":"status_sprite_ptrs","c":"Sprite pointers for screen $0400: all set to 4 ($4948), a blank sprite at $0100. They overlie the glyph of code $FF, hence the moved 9 ($07A8).","note":"outside the tracked image","x":[18754,18762]},{"a":2048,"t":"note","l":"prog_font","c":"Character set of the Splinx Programmer screen ($D018=$32: screen $0C00, glyphs $0800). Start-up copies the ROM glyphs of screen codes 0-26 here ($48FD, $D000-$D0D7), then clears code 0 to a blank ($490A). Zero in this image.","note":"outside the tracked image","x":[18688,18700]},{"a":2056,"t":"note","l":"prog_font_letters","c":"ROM glyphs of A-Z (screen codes 1-26), also the source of the status font letters ($492C -> $06E0).","note":"outside the tracked image","x":[18732]},{"a":2264,"t":"note","l":"prog_font_digits","c":"ROM glyphs of 0-9 copied from $D180 ($4914), screen codes $1B-$24 here.","note":"outside the tracked image","x":[18711]},{"a":2312,"t":"note","l":"prog_font_digits_6","c":"Glyphs of digits 6-9 read at $4935 for the status font ($07E0).","note":"outside the tracked image","x":[18741]},{"a":2344,"t":"note","l":"prog_font_box","c":"Screen code $25 gets the ROM \"=\" ($4921, from $D1E8); codes $26-$2F at $0930-$097F are box-drawing glyphs in the image: horizontal and vertical lines, corners and tees, used for the programmer screen frame.","note":"outside the tracked image","x":[18724]},{"a":2352,"l":"programmer_box_glyphs","c":"Ten 8-byte glyphs for codes $26-$2F of the Splinx Programmer font at $0800: the lines and corners of the boxes drawn on the programmer screen at $0C00. The rest of that font is copied from the character ROM at run time; these are the game's own.","t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":2360,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":2368,"t":"byte","b":[0,0,0,0,0,0,0,255]},{"a":2376,"t":"byte","b":[31,24,24,24,24,24,24,24]},{"a":2384,"t":"byte","b":[24,24,24,24,24,24,24,31]},{"a":2392,"t":"byte","b":[248,24,24,24,24,24,24,24]},{"a":2400,"t":"byte","b":[24,24,24,24,24,24,24,248]},{"a":2408,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2416,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2424,"t":"byte","b":[24,24,24,24,24,24,24,255]},{"a":2432,"l":"ending_pos_x_hi","c":"Four 8-entry position tables read by $FF03 (placing objects listed at $FC7C, Y stepping by 2): $0980 X high, $0988 X low, $0990 Y high, $0998 Y low.","t":"byte","b":[3,14,3,14,3,14,3,14],"x":[65288]},{"a":2440,"l":"ending_pos_x_lo","c":"X low bytes for the objects placed by $FF03 (see $0980).","t":"byte","b":[145,80,145,80,145,80,145,80],"x":[65294]},{"a":2448,"l":"ending_pos_y_hi","c":"Y high bytes for the objects placed by $FF03 (see $0980).","t":"byte","b":[1,3,1,3,1,3,1,3],"x":[65300]},{"a":2456,"l":"ending_pos_y_lo","c":"Y low bytes for the objects placed by $FF03 (see $0980).","t":"byte","b":[32,128,32,128,48,144,48,144],"x":[65306]},{"a":2464,"l":"dissolve_order","c":"A shuffled order of the numbers 0-$43 (68 entries to $09E3), used by $FEA9 (index $FC60, counting down) to clear the sprite image at $7800 byte by byte in a random-looking order: a dissolve effect.","t":"byte","b":[54,25,23,55,29,47,49,30],"x":[65204]},{"a":2472,"t":"byte","b":[13,7,62,9,28,59,2,41]},{"a":2480,"t":"byte","b":[51,1,22,48,26,43,63,34]},{"a":2488,"t":"byte","b":[19,27,56,44,8,17,36,35]},{"a":2496,"t":"byte","b":[10,24,5,18,4,39,6,20]},{"a":2504,"t":"byte","b":[33,32,37,0,11,21,45,58]},{"a":2512,"t":"byte","b":[38,12,31,42,15,40,16,50]},{"a":2520,"t":"byte","b":[14,52,60,46,53,61,57,49]},{"a":2528,"t":"byte","b":[25,60,32,11]},{"a":2532,"l":"ending_sprite_images","c":"Two 64-byte multicolour sprite images ($09E4-$0A23, $0A24-$0A63); $FE60 copies one to $7800 (bank 1 sprite $E0), the second when the Doctor is at Y high 2 or more.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[65133]},{"a":2540,"t":"byte","b":[0,0,0,0,0,0,0,169]},{"a":2548,"t":"byte","b":[169,0,106,166,0,105,106,0]},{"a":2556,"t":"byte","b":[166,154,0,170,166,0,166,170]},{"a":2564,"t":"byte","b":[0,169,170,0,170,166,0,154]},{"a":2572,"t":"byte","b":[169,0,106,106,0,170,105,0]},{"a":2580,"t":"byte","b":[166,166,0,169,170,0,170,166]},{"a":2588,"t":"byte","b":[0,154,169,0,106,170,0,0]},{"a":2596,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2604,"t":"byte","b":[0,0,0,0,0,0,0,186]},{"a":2612,"t":"byte","b":[186,0,234,234,0,171,171,0]},{"a":2620,"t":"byte","b":[174,174,0,186,186,0,234,234]},{"a":2628,"t":"byte","b":[0,186,186,0,174,174,0,186]},{"a":2636,"t":"byte","b":[186,0,234,234,0,171,171,0]},{"a":2644,"t":"byte","b":[174,174,0,186,186,0,234,234]},{"a":2652,"t":"byte","b":[0,186,186,0,174,174,0,0]},{"a":2660,"t":"byte","b":[13,0,0,0,0,0,0,0]},{"a":2668,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2676,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2684,"t":"byte","b":[0,0,0,0]},{"a":2688,"l":"map_row_lo","c":"Map row addresses, low bytes, 64 rows (index = Y in blocks); rows alternate $80/$00. With $0AC0. The map is 128 blocks per row at $E000-$FBFF stored from the top row down, so row 0 (bottom of the world) is $FB80. Read by $8491, $8D78, $8DF9, $9935, $AEB6.","t":"byte","b":[128,0,128,0,128,0,128,0],"x":[33937,36216,36345,39221,44726]},{"a":2696,"t":"byte","b":[128,0,128,0,128,0,128,0]},{"a":2704,"t":"byte","b":[128,0,128,0,128,0,128,0]},{"a":2712,"t":"byte","b":[128,0,128,0,128,0,128,0]},{"a":2720,"t":"byte","b":[128,0,128,0,128,0,128,0]},{"a":2728,"t":"byte","b":[128,0,128,0,128,0,128,0]},{"a":2736,"t":"byte","b":[128,0,128,0,128,0,128,0]},{"a":2744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2752,"l":"map_row_hi","c":"Map row addresses, high bytes ($FB, $FB, $FA ... $E0, then $FC and zeros for rows 56-63).","t":"byte","b":[251,251,250,250,249,249,248,248],"x":[33943,36222,36351,39227,44731]},{"a":2760,"t":"byte","b":[247,247,246,246,245,245,244,244]},{"a":2768,"t":"byte","b":[243,243,242,242,241,241,240,240]},{"a":2776,"t":"byte","b":[239,239,238,238,237,237,236,236]},{"a":2784,"t":"byte","b":[235,235,234,234,233,233,232,232]},{"a":2792,"t":"byte","b":[231,231,230,230,229,229,228,228]},{"a":2800,"t":"byte","b":[227,227,226,226,225,225,224,224]},{"a":2808,"t":"byte","b":[252,0,0,0,0,0,0,0]},{"a":2816,"l":"prog_sprites","c":"Splinx Programmer sprites (VIC bank 0, pointers $2C-$2F written at $AFF9): $0B00, $0B40 and $0B80 are the pointer and frame shapes (not matched to the screen live), $0BC0 the battery gauge.","t":"byte","b":[252,0,0,252,0,0,254,0]},{"a":2824,"t":"byte","b":[0,254,0,0,255,0,0,255]},{"a":2832,"t":"byte","b":[0,0,255,128,0,255,128,0]},{"a":2840,"t":"byte","b":[255,0,0,255,0,0,254,0]},{"a":2848,"t":"byte","b":[0,254,0,0,252,0,0,252]},{"a":2856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2880,"t":"byte","b":[127,255,128,127,255,192,124,3]},{"a":2888,"t":"byte","b":[224,124,3,240,124,3,248,124]},{"a":2896,"t":"byte","b":[3,252,124,3,254,124,3,252]},{"a":2904,"t":"byte","b":[124,3,248,124,3,240,124,3]},{"a":2912,"t":"byte","b":[224,127,255,192,127,255,128,0]},{"a":2920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2944,"t":"byte","b":[240,0,15,63,255,252,15,255]},{"a":2952,"t":"byte","b":[240,3,255,192,0,255,0,0]},{"a":2960,"t":"byte","b":[60,0,0,0,0,0,0,0]},{"a":2968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":2984,"t":"byte","b":[0,0,0,0,0,0,60,0]},{"a":2992,"t":"byte","b":[0,255,0,3,255,192,15,255]},{"a":3000,"t":"byte","b":[240,63,255,252,240,0,15,0]},{"a":3008,"l":"prog_gauge_sprite","c":"Battery gauge sprite (pointer $2F): $B07D-$B09B draw the level from $1F into rows 9-12 (bytes $0BDB-$0BE6) through $AF0D/$AF26/$AF3F.","t":"byte","b":[0,0,0,128,0,1,128,0],"x":[45181,45196,45211]},{"a":3016,"t":"byte","b":[1,128,16,1,128,16,1,132]},{"a":3024,"t":"byte","b":[16,65,132,16,65,0,0,0]},{"a":3032,"t":"byte","b":[0,0,0,0,0,0,128,0]},{"a":3040,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3048,"t":"byte","b":[0,0,0,0,0,132,16,65]},{"a":3056,"t":"byte","b":[132,16,65,128,16,1,128,16]},{"a":3064,"t":"byte","b":[1,128,0,1,128,0,1,0]},{"a":3072,"l":"prog_screen","c":"Splinx Programmer screen, 40x25 screen codes (glyph set $0800, code 0 blank, $26-$2F box lines). Rows: SPLINX PROGRAMMER; left column CHANGE MODE, 1-4 GOTO MARKER 1-4, R RETURN TO DOCTOR, W WAIT, P PICK UP OBJECT, D DROP OBJECT, C RECHARGE; right column SHUT DOWN, FOLLOW DOCTOR, EXECUTE PROGRAM, BATTERY FULL/EMPTY; bottom row: the ten program cells.","t":"byte","b":[41,38,38,38,38,38,38,38]},{"a":3080,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":3088,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":3096,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":3104,"t":"byte","b":[38,38,38,38,38,38,38,43]},{"a":3112,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3120,"t":"byte","b":[0,0,19,16,12,9,14,24]},{"a":3128,"t":"byte","b":[0,0,16,18,15,7,18,1]},{"a":3136,"t":"byte","b":[13,13,5,18,0,0,0,0]},{"a":3144,"t":"byte","b":[0,0,0,0,0,0,0,39]},{"a":3152,"t":"byte","b":[42,40,40,40,40,40,40,40]},{"a":3160,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":3168,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":3176,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":3184,"t":"byte","b":[40,40,40,40,40,40,40,44]},{"a":3192,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3208,"t":"byte","b":[0,0,0,0,0,39,0,0]},{"a":3216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3224,"t":"byte","b":[0,0,0,0,0,0,0,39]},{"a":3232,"t":"byte","b":[39,0,0,0,3,8,1,14]},{"a":3240,"t":"byte","b":[7,5,0,13,15,4,5,0]},{"a":3248,"t":"byte","b":[0,0,0,0,0,39,0,0]},{"a":3256,"t":"byte","b":[19,8,21,20,0,4,15,23]},{"a":3264,"t":"byte","b":[14,0,0,0,0,0,0,39]},{"a":3272,"t":"byte","b":[41,38,38,38,38,38,38,38]},{"a":3280,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":3288,"t":"byte","b":[38,38,38,38,38,43,0,0]},{"a":3296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3304,"t":"byte","b":[0,0,0,0,0,0,0,39]},{"a":3312,"t":"byte","b":[39,28,0,0,7,15,20,15]},{"a":3320,"t":"byte","b":[0,13,1,18,11,5,18,0]},{"a":3328,"t":"byte","b":[28,0,0,0,0,42,40,40]},{"a":3336,"t":"byte","b":[40,40,40,40,40]},{"a":3341,"l":"prog_screen_row8","c":"Programmer screen, inside row 8 (GOTO MARKER 2 line). Auto symbol from a data byte at $C8AB read as ORA $0D0D; no real access.","t":"byte","b":[40,40,40,40,40,40,40,40],"x":[51371]},{"a":3349,"t":"byte","b":[40,40,44,39,0,0,0,0]},{"a":3357,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3365,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3373,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3381,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3389,"t":"byte","b":[0,0,39,39,29,0,0,7]},{"a":3397,"t":"byte","b":[15,20,15,0,13,1,18,11]},{"a":3405,"t":"byte","b":[5,18,0,29,0,0,0,0]},{"a":3413,"t":"byte","b":[39,0,0,6,15,12,12,15]},{"a":3421,"t":"byte","b":[23,0,4,15,3,20,15,18]},{"a":3429,"t":"byte","b":[0,0,39,39,0,0,0,0]},{"a":3437,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3445,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3453,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3461,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3469,"t":"byte","b":[0,0,39,39,30,0,0,7]},{"a":3477,"t":"byte","b":[15,20,15,0,13,1,18,11]},{"a":3485,"t":"byte","b":[5,18,0,30,0,0,0,0]},{"a":3493,"t":"byte","b":[42,40,40,40,40,40,40,40]},{"a":3501,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":3509,"t":"byte","b":[40,40,44,39,0,0,0,0]},{"a":3517,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3525,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3533,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3541,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3549,"t":"byte","b":[0,0,39,39,31,0,0,7]},{"a":3557,"t":"byte","b":[15,20,15,0,13,1,18,11]},{"a":3565,"t":"byte","b":[5,18,0,31,0,0,0,0]},{"a":3573,"t":"byte","b":[39,0,0,5,24,5,3,21]},{"a":3581,"t":"byte","b":[20,5,0,16,18,15,7,18]},{"a":3589,"t":"byte","b":[1,13,39,39,0,0,0,0]},{"a":3597,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3605,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3613,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3621,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3629,"t":"byte","b":[0,0,39,39,18,0,0,18]},{"a":3637,"t":"byte","b":[5,20,21,18,14,0,20,15]},{"a":3645,"t":"byte","b":[0,4,15,3,20,15,18,0]},{"a":3653,"t":"byte","b":[42,40,40,40,40,40,40,40]},{"a":3661,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":3669,"t":"byte","b":[40,40,44,39,0,0,0,0]},{"a":3677,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3685,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3693,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3701,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3709,"t":"byte","b":[0,0,39,39,23,0,0,23]},{"a":3717,"t":"byte","b":[1,9,20,0,0,0,0,0]},{"a":3725,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3733,"t":"byte","b":[39,0,0,0,0,2,1,20]},{"a":3741,"t":"byte","b":[20,5,18,25,0,0,0,0]},{"a":3749,"t":"byte","b":[0,0,39,39,0,0,0,0]},{"a":3757,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3765,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3773,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3781,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3789,"t":"byte","b":[0,0,39,39,16,0,0,16]},{"a":3797,"t":"byte","b":[9,3,11,0,21,16,0,15]},{"a":3805,"t":"byte","b":[2,10,5,3,20,0,0,0]},{"a":3813,"t":"byte","b":[39,6,21,12,12,0,0,0]},{"a":3821,"t":"byte","b":[0,0,0,0,5,13,16,20]},{"a":3829,"t":"byte","b":[25,0,39,39,0,0,0,0]},{"a":3837,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3845,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3853,"t":"byte","b":[39,0,0,0,0,0,0,0]},{"a":3861,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3869,"t":"byte","b":[0,0,39,39,4,0,0,4]},{"a":3877,"t":"byte","b":[18,15,16,0,15,2,10,5]},{"a":3885,"t":"byte","b":[3,20,0,41,38,38,38,38]},{"a":3893,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":3901,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":3909,"t":"byte","b":[38,38,43,39,0,0,0,0]},{"a":3917,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3925,"t":"byte","b":[0,0,0,39,0,0,0,0]},{"a":3933,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3941,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3949,"t":"byte","b":[0,0,39,39,3,0,0,18]},{"a":3957,"t":"byte","b":[5,3,8,1,18,7,5,0]},{"a":3965,"t":"byte","b":[0,0,0,39,0]},{"a":3970,"l":"prog_screen_steps","c":"Programmer screen row 23: the ten program cells; $B070 writes each step ($30-$39) at every other column from $0F82.","t":"byte","b":[0,39,0,39,0,39,0,39],"x":[45168]},{"a":3978,"t":"byte","b":[0,39,0,39,0,39,0,39]},{"a":3986,"t":"byte","b":[0,39,0,39,0,39,39,0]},{"a":3994,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4002,"t":"byte","b":[0,0,0,0,0,0,39,0]},{"a":4010,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4018,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4026,"t":"byte","b":[0,0,0,0,0,39,42,40]},{"a":4034,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":4042,"t":"byte","b":[40,40,40,40,40,40,47,40]},{"a":4050,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":4058,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":4066,"t":"byte","b":[40,40,40,40,40,44,0,0]},{"a":4074,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4082,"t":"byte","b":[0,0,0,0,0,0]},{"a":4088,"l":"prog_sprite_ptr_0","c":"Sprite pointer 0 of screen $0C00: $2C, the arrow ($AFFB).","t":"byte","b":[0],"x":[45051]},{"a":4089,"l":"prog_sprite_ptr_1","c":"Sprite pointer 1 of screen $0C00: $2D ($B000).","t":"byte","b":[0],"x":[45056]},{"a":4090,"l":"prog_sprite_ptr_2","c":"Sprite pointer 2 of screen $0C00: $2E ($B005).","t":"byte","b":[0],"x":[45061]},{"a":4091,"l":"prog_sprite_ptr_3","c":"Sprite pointer 3 of screen $0C00: $2F, the battery gauge ($B00A).","t":"byte","b":[0,0,0,0,0],"x":[45066]},{"a":4096,"l":"prog_colour_ram","c":"Colour map of the Splinx Programmer screen, 1024 bytes: $B16D swaps $1000-$13FF with colour RAM $D800-$DBFF when the programmer opens and again when it closes, so between visits it holds the play-area colours.","t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4104,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4112,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4120,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4128,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4136,"t":"byte","b":[6,0,0,0,0,0,0,0]},{"a":4144,"t":"byte","b":[0,0]},{"a":4146,"l":"prog_colour_title","c":"Colour of screen cell $0C32 (the title row): set to 7 (yellow) at $AF7E before the swap.","t":"byte","b":[7,7,7,7,7,7,0,0],"x":[44926]},{"a":4154,"t":"byte","b":[7,7,7,7,7,7,7,7]},{"a":4162,"t":"byte","b":[7,7,0,0,0,0,0,0]},{"a":4170,"t":"byte","b":[0,0,0,0,0,6,6,6]},{"a":4178,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4186,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4194,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4202,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4210,"t":"byte","b":[6,6,6,6,6,6,6,0]},{"a":4218,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4226,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4234,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4242,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4250,"t":"byte","b":[0,0,0,0,0,6,6,0]},{"a":4258,"t":"byte","b":[0,0,4,4,4,4,4,4]},{"a":4266,"t":"byte","b":[0,4,4,4,4,0,0,0]},{"a":4274,"t":"byte","b":[0,0,0,6,0,0,4,4]},{"a":4282,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":4290,"t":"byte","b":[4,0,0,0,0,6,6,6]},{"a":4298,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4306,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4314,"t":"byte","b":[6,6,6,6,0,0,0,0]},{"a":4322,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4330,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4338,"t":"byte","b":[0,0,5,5,5,5,0,5]},{"a":4346,"t":"byte","b":[5,5,5,5,5,0,5,0]},{"a":4354,"t":"byte","b":[0,0,0,6,6,6,6,6]},{"a":4362,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4370,"t":"byte","b":[6,6,6,6,6,6,6,0]},{"a":4378,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4386,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4394,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4402,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4410,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4418,"t":"byte","b":[0,0,5,5,5,5,0,5]},{"a":4426,"t":"byte","b":[5,5,5,5,5,0,5,0]},{"a":4434,"t":"byte","b":[0,0,0,6,0,0,4,4]},{"a":4442,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":4450,"t":"byte","b":[4,4,4,4,4,6,6,0]},{"a":4458,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4466,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4474,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4482,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4490,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4498,"t":"byte","b":[0,0,5,5,5,5,0,5]},{"a":4506,"t":"byte","b":[5,5,5,5,5,0,5,0]},{"a":4514,"t":"byte","b":[0,0,0,6,6,6,6,6]},{"a":4522,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4530,"t":"byte","b":[6,6,6,6,6,6,6,0]},{"a":4538,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4546,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4554,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4562,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4570,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4578,"t":"byte","b":[0,0,5,5,5,5,0,5]},{"a":4586,"t":"byte","b":[5,5,5,5,5,0,5,0]},{"a":4594,"t":"byte","b":[0,0,0,6,0,0,4,4]},{"a":4602,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":4610,"t":"byte","b":[4,4,4,4,4,6,6,0]},{"a":4618,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4626,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4634,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4642,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4650,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4658,"t":"byte","b":[0,0,5,5,5,5,5,5]},{"a":4666,"t":"byte","b":[0,5,5,0,5,5,5,5]},{"a":4674,"t":"byte","b":[5,5,0,6,6,6,6,6]},{"a":4682,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4690,"t":"byte","b":[6,6,6,6,6,6,6,0]},{"a":4698,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4706,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4714,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4722,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4730,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4738,"t":"byte","b":[0,0,5,5,5,5,0,0]},{"a":4746,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4754,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4762,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":4770,"t":"byte","b":[0,0,0,0,0,6,6,0]},{"a":4778,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4786,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4794,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4802,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4810,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4818,"t":"byte","b":[0,0,5,5,5,5,0,5]},{"a":4826,"t":"byte","b":[5,0,5,5,5,5,5,5]},{"a":4834,"t":"byte","b":[0,0,0,6,3,3,3,3]},{"a":4842,"t":"byte","b":[0,0,0,0,0,0,0,3]},{"a":4850,"t":"byte","b":[3,3,3,3,0,6,6,0]},{"a":4858,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4866,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4874,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":4882,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4890,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4898,"t":"byte","b":[0,0,5,5,5,5,0,5]},{"a":4906,"t":"byte","b":[5,5,5,5,5,0,6,6]},{"a":4914,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4922,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":4930,"t":"byte","b":[6,6,6,6,6,6,6,0]},{"a":4938,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4946,"t":"byte","b":[0,0,0,0,0,0,6,0]},{"a":4954,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4962,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":4970,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":4978,"t":"byte","b":[0,0,5,5,5,5,5,5]},{"a":4986,"t":"byte","b":[5,5,0,0,0,0,6,0]},{"a":4994,"t":"byte","b":[3,6,3,6,3,6,3,6]},{"a":5002,"t":"byte","b":[3,6,3,6,3,6,3,6]},{"a":5010,"t":"byte","b":[3,6,3,6,0,6,6,0]},{"a":5018,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5026,"t":"byte","b":[0,0,0,0,0,0,6,0]},{"a":5034,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5042,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5050,"t":"byte","b":[0,0,0,0,0,6,6,6]},{"a":5058,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":5066,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":5074,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":5082,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":5090,"t":"byte","b":[6,6,6,6,6,6,0,0]},{"a":5098,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5106,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5114,"t":"byte","b":[0,0,0,0,0,0]},{"a":5120,"l":"block_ptr_lo","c":"Block definition addresses, low bytes, 256 entries (block number = map byte): n*16 mod 256. With $1500: block n is 16 character codes (4x4) at $3000+16n.","t":"byte","b":[0,16,32,48,64,80,96,112],"x":[33964,36273,36312,36401,36454,39258,44599]},{"a":5128,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5136,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5144,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5152,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5160,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5168,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5176,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5184,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5192,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5200,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5208,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5216,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5224,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5232,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5240,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5248,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5256,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5264,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5272,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5280,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5288,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5296,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5304,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5312,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5320,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5328,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5336,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5344,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5352,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5360,"t":"byte","b":[0,16,32,48,64,80,96,112]},{"a":5368,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":5376,"l":"block_ptr_hi","c":"Block definition addresses, high bytes ($30-$3F).","t":"byte","b":[48,48,48,48,48,48,48,48],"x":[33970,36282,36321,36407,36460,39264,44604]},{"a":5384,"t":"byte","b":[48,48,48,48,48,48,48,48]},{"a":5392,"t":"byte","b":[49,49,49,49,49,49,49,49]},{"a":5400,"t":"byte","b":[49,49,49,49,49,49,49,49]},{"a":5408,"t":"byte","b":[50,50,50,50,50,50,50,50]},{"a":5416,"t":"byte","b":[50,50,50,50,50,50,50,50]},{"a":5424,"t":"byte","b":[51,51,51,51,51,51,51,51]},{"a":5432,"t":"byte","b":[51,51,51,51,51,51,51,51]},{"a":5440,"t":"byte","b":[52,52,52,52,52,52,52,52]},{"a":5448,"t":"byte","b":[52,52,52,52,52,52,52,52]},{"a":5456,"t":"byte","b":[53,53,53,53,53,53,53,53]},{"a":5464,"t":"byte","b":[53,53,53,53,53,53,53,53]},{"a":5472,"t":"byte","b":[54,54,54,54,54,54,54,54]},{"a":5480,"t":"byte","b":[54,54,54,54,54,54,54,54]},{"a":5488,"t":"byte","b":[55,55,55,55,55,55,55,55]},{"a":5496,"t":"byte","b":[55,55,55,55,55,55,55,55]},{"a":5504,"t":"byte","b":[56,56,56,56,56,56,56,56]},{"a":5512,"t":"byte","b":[56,56,56,56,56,56,56,56]},{"a":5520,"t":"byte","b":[57,57,57,57,57,57,57,57]},{"a":5528,"t":"byte","b":[57,57,57,57,57,57,57,57]},{"a":5536,"t":"byte","b":[58,58,58,58,58,58,58,58]},{"a":5544,"t":"byte","b":[58,58,58,58,58,58,58,58]},{"a":5552,"t":"byte","b":[59,59,59,59,59,59,59,59]},{"a":5560,"t":"byte","b":[59,59,59,59,59,59,59,59]},{"a":5568,"t":"byte","b":[60,60,60,60,60,60,60,60]},{"a":5576,"t":"byte","b":[60,60,60,60,60,60,60,60]},{"a":5584,"t":"byte","b":[61,61,61,61,61,61,61,61]},{"a":5592,"t":"byte","b":[61,61,61,61,61,61,61,61]},{"a":5600,"t":"byte","b":[62,62,62,62,62,62,62,62]},{"a":5608,"t":"byte","b":[62,62,62,62,62,62,62,62]},{"a":5616,"t":"byte","b":[63,63,63,63,63,63,63,63]},{"a":5624,"t":"byte","b":[63,63,63,63,63,63,63,63]},{"a":5632,"l":"char_terrain_class","c":"Terrain class of each play-area character code (256 entries, $1600-$16FF), 0-10: $996B looks it up for the character at the probe point and $98E1-$9902 give the four properties. Codes 0-$1F hold bytes like $FF and $0D, out of range for those tables; of these only $0A-$0F appear in block definitions. $16D0-$16FF also serve as the item icon table below.","t":"byte","b":[13,255,127,175,251,251,255,255],"x":[39275]},{"a":5640,"t":"byte","b":[255,255,255,255,251,255,255,32]},{"a":5648,"t":"byte","b":[255,255,255,255,255,255,255,247]},{"a":5656,"t":"byte","b":[255,255,255,255,255,255,255,247]},{"a":5664,"t":"byte","b":[0,0,1,0,4,9,9,1]},{"a":5672,"t":"byte","b":[0,1,0,0,0,0,0,0]},{"a":5680,"t":"byte","b":[0,0,0,0,3,0,0,0]},{"a":5688,"t":"byte","b":[0,0,0,3,2,6,5,7]},{"a":5696,"t":"byte","b":[8,0,0,0,0,0,0,0]},{"a":5704,"t":"byte","b":[1,1,1,0,1,1,0,0]},{"a":5712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5736,"t":"byte","b":[0,0,4,0,0,0,0,0]},{"a":5744,"t":"byte","b":[0,0,0,0,0,0,0,2]},{"a":5752,"t":"byte","b":[3,1,1,1,1,10,0,2]},{"a":5760,"t":"byte","b":[3,0,0,0,0,0,0,0]},{"a":5768,"t":"byte","b":[0,0,0,0,0,0,0,10]},{"a":5776,"t":"byte","b":[10,0,10,9,0,0,0,0]},{"a":5784,"t":"byte","b":[0,1,1,0,1,0,0,0]},{"a":5792,"l":"char_class_a0","c":"Terrain class of character $A0; $BB0B-$BB25 set it to 0 or 1 by $4E and another test: a cell that opens and closes.","t":"byte","b":[1,0,0,1,1,0,1,0],"x":[47883,47890,47902,47909]},{"a":5800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5824,"t":"byte","b":[3,0,0,0,0,0,0,1]},{"a":5832,"t":"byte","b":[1,1,0,1,1,1,0,1]},{"a":5840,"l":"item_icon_char","c":"Item icon, first character code, per object ($16D0,X; items $30-$4F at $1700-$171F: $9A, $9C...): $A5AF/$A5E9 draw the icon in the status bar (markers two characters, $16D0 and +1); $83BA/$84FA use it for object overlays. $16D0-$16FF overlap the terrain classes of characters $D0-$FF.","t":"byte","b":[1,1,0,0,0,1,0,1],"x":[33722,34042,42415,42473]},{"a":5848,"t":"byte","b":[1,0,0,0,0,0,0,0]},{"a":5856,"t":"byte","b":[0,0,0,0,0,0,9,0]},{"a":5864,"t":"byte","b":[1,1,1,1,0,0,0,0]},{"a":5872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5888,"t":"byte","b":[154,156,158,160,162,166,168,170]},{"a":5896,"t":"byte","b":[172,174,176,180,182,184,186,188]},{"a":5904,"t":"byte","b":[190,192,194,196,198,200,202,206]},{"a":5912,"t":"byte","b":[210,212,216,216,218,0,0,0]},{"a":5920,"l":"obj_name_offset","c":"Name offset per object id ($1720,X, X = $1D80): the object name is the 10 bytes at $1770 + this ($A4F7). Object 2 -> $0A (SPLINX); $30-$33 markers; $34.. items. The entries for objects $10-$19 are the digit table $1730.","t":"byte","b":[0,0,10,0,0,0,0,0],"x":[42231]},{"a":5928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5936,"l":"digit_glyphs","c":"Private-alphabet code of each decimal digit 0-9: $F6-$FE, then $F5 for 9 (code $FF is overwritten by sprite pointers, see $07A8). Used for the score ($A517) and the end-of-game score ($924A).","t":"byte","b":[246,247,248,249,250,251,252,253],"x":[37450,37466,42263,42277]},{"a":5944,"t":"byte","b":[254,245,0,0,0,0,0,0]},{"a":5952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":5968,"t":"byte","b":[20,30,40,50,60,70,80,90]},{"a":5976,"t":"byte","b":[100,110,120,130,140,150,160,170]},{"a":5984,"t":"byte","b":[180,180,180,180,180,180,190,190]},{"a":5992,"t":"byte","b":[140,200,180,210,140,100,100,100]},{"a":6000,"l":"name_lives","c":"Name field 0, shown when nothing is held: the life figures, $99 at every other byte, one per life in $1E ($94A2-$94BA).","t":"byte","b":[153,148,153,148,153,148,153,148],"x":[38054,38068,42240]},{"a":6008,"t":"byte","b":[153,148]},{"a":6010,"l":"name_splinx","c":"Object name \"  SPLINX  \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $02.","t":"byte","b":[148,148,238,235,231,228,233,243]},{"a":6018,"t":"byte","b":[148,148]},{"a":6020,"l":"name_marker_1","c":"Object name \" MARKER 1 \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $30.","t":"byte","b":[148,232,220,237,230,224,237,148]},{"a":6028,"t":"byte","b":[247,148]},{"a":6030,"l":"name_marker_2","c":"Object name \" MARKER 2 \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $31.","t":"byte","b":[148,232,220,237,230,224,237,148]},{"a":6038,"t":"byte","b":[248,148]},{"a":6040,"l":"name_marker_3","c":"Object name \" MARKER 3 \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $32.","t":"byte","b":[148,232,220,237,230,224,237,148]},{"a":6048,"t":"byte","b":[249,148]},{"a":6050,"l":"name_marker_4","c":"Object name \" MARKER 4 \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $33.","t":"byte","b":[148,232,220,237,230,224,237,148]},{"a":6058,"t":"byte","b":[250,148]},{"a":6060,"l":"name_pick_axe","c":"Object name \"PICK AXE  \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $34.","t":"byte","b":[235,228,222,230,148,220,243,224]},{"a":6068,"t":"byte","b":[148,148]},{"a":6070,"l":"name_mat","c":"Object name \"   MAT    \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $35.","t":"byte","b":[148,148,148,232,220,239,148,148]},{"a":6078,"t":"byte","b":[148,148]},{"a":6080,"l":"name_crystal","c":"Object name \"  CRYSTAL \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $36.","t":"byte","b":[148,148,222,237,244,238,239,220]},{"a":6088,"t":"byte","b":[231,148]},{"a":6090,"l":"name_pass_card","c":"Object name \"PASS CARD \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $37.","t":"byte","b":[235,220,238,238,148,222,220,237]},{"a":6098,"t":"byte","b":[223,148]},{"a":6100,"l":"name_spanner","c":"Object name \"  SPANNER \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $38, $4D, $4E, $4F.","t":"byte","b":[148,148,238,235,220,233,233,224]},{"a":6108,"t":"byte","b":[237,148]},{"a":6110,"l":"name_platform","c":"Object name \" PLATFORM \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $39.","t":"byte","b":[148,235,231,220,239,225,234,237]},{"a":6118,"t":"byte","b":[232,148]},{"a":6120,"l":"name_air_mask","c":"Object name \" AIR MASK \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $3A.","t":"byte","b":[148,220,228,237,148,232,220,238]},{"a":6128,"t":"byte","b":[230,148]},{"a":6130,"l":"name_box","c":"Object name \"    BOX   \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $3B.","t":"byte","b":[148,148,148,148,221,234,243,148]},{"a":6138,"t":"byte","b":[148,148]},{"a":6140,"l":"name_detonator","c":"Object name \"DETONATOR \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $3C, $48, $4C.","t":"byte","b":[223,224,239,234,233,220,239,234]},{"a":6148,"t":"byte","b":[237,148]},{"a":6150,"l":"name_explosives","c":"Object name \"EXPLOSIVES\" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $3D.","t":"byte","b":[224,243,235,231,234,238,228,241]},{"a":6158,"t":"byte","b":[224,238]},{"a":6160,"l":"name_capsule","c":"Object name \"  CAPSULE \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $3E.","t":"byte","b":[148,148,222,220,235,238,240,231]},{"a":6168,"t":"byte","b":[224,148]},{"a":6170,"l":"name_activator","c":"Object name \"ACTIVATOR \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $3F.","t":"byte","b":[220,222,239,228,241,220,239,234]},{"a":6178,"t":"byte","b":[237,148]},{"a":6180,"l":"name_circuit","c":"Object name \"  CIRCUIT \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $40, $41, $42, $43, $44, $45, $4A.","t":"byte","b":[148,148,222,228,237,222,240,228]},{"a":6188,"t":"byte","b":[239,148]},{"a":6190,"l":"name_egg","c":"Object name \"    EGG   \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $46, $47.","t":"byte","b":[148,148,148,148,224,226,226,148]},{"a":6198,"t":"byte","b":[148,148]},{"a":6200,"l":"name_chemicals","c":"Object name \"CHEMICALS \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $49.","t":"byte","b":[222,227,224,232,228,222,220,231]},{"a":6208,"t":"byte","b":[238,148]},{"a":6210,"l":"name_gem","c":"Object name \"      GEM \" (10 bytes, private alphabet: letter = ASCII+155, $94 space), for object id $4B.","t":"byte","b":[148,148,148,148,148,148,226,224]},{"a":6218,"t":"byte","b":[232,148,0,0,0,0]},{"a":6224,"l":"obj_colour","c":"Sprite colour per object (80 entries, $1850-$189F), written to $D027+slot by the sprite pass ($815B). $949C/$949F reset objects 0 and 1 to 0 (black) at a new game; $CD94 changes one.","t":"byte","b":[0],"x":[33115,38044,52628,52813]},{"a":6225,"l":"obj_colour_1","c":"Sprite colour of object 1, reset to 0 at a new game ($949F).","t":"byte","b":[0,1,3,3,3,3,3,3],"x":[38047,52816]},{"a":6233,"t":"byte","b":[3,5,5,6,5,3,3,6]},{"a":6241,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":6249,"t":"byte","b":[6]},{"a":6250,"l":"obj_colour_1a","c":"Sprite colour of object $1A, set to 6 at a new game ($9427).","t":"byte","b":[6],"x":[37927]},{"a":6251,"l":"obj_colour_1b","c":"Sprite colour of object $1B, set to 6 at a new game ($942A).","t":"byte","b":[6,6,6,6,6,6,6,6],"x":[37930]},{"a":6259,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":6267,"t":"byte","b":[1,2,2,2,9,9,9,9]},{"a":6275,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":6283,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":6291,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":6299,"t":"byte","b":[6,9,0,6,0]},{"a":6304,"l":"obj_expand","c":"Sprite expansion per object ($18A0-$18EF): 0 none, positive = Y expanded (use sprite origin $2C), negative = X and Y expanded ($8179, $81F5). Objects $0C,$0D (1) and $0E,$0F ($FF: the lift and the car).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33145,33269]},{"a":6312,"t":"byte","b":[0,0,0,0,1,1,255,255]},{"a":6320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6384,"l":"obj_width","c":"Object width in pixels per object ($18F0-$193F), used for collision and terrain probes ($9A09 takes half of it as the centre; $9A56...).","t":"byte","b":[22,0,15,15,15,15,15,15],"x":[39433,39510,39825,39934,40164,40192,40234,40344,40415,40565,40673,40844,40938,40996,41043,41094,41148,43168]},{"a":6392,"t":"byte","b":[15,15,23,0,23,0,0,0]},{"a":6400,"t":"byte","b":[23,23,23,23,23,23,23,23]},{"a":6408,"t":"byte","b":[23,23,23,23,23,23,23,23]},{"a":6416,"t":"byte","b":[23,23,23,23,23,23,23,23]},{"a":6424,"t":"byte","b":[23,23,23,23,23,23,23,23]},{"a":6432,"t":"byte","b":[14,14,14,14,14,14,10,10]},{"a":6440,"t":"byte","b":[14,14,8,16,16,14,12,14]},{"a":6448,"t":"byte","b":[14,14,14,14,14,14,18,18]},{"a":6456,"t":"byte","b":[16,16,14,16,14,0,0,0]},{"a":6464,"l":"obj_height","c":"Object height in pixels per object ($1940,X; $9A1A halves it for the centre, $9D40...). The entries for objects $20 and up are the bytes at $1960.","t":"byte","b":[23,0,16,23,23,23,23,23],"x":[39450,40256,40430,40696,40782,40883,40975,41116]},{"a":6472,"t":"byte","b":[23,23,23,23,0,0,0,0]},{"a":6480,"t":"byte","b":[16,16,16,16,16,16,16,16]},{"a":6488,"t":"byte","b":[16,16,16,16,16,16,16,16]},{"a":6496,"l":"item_icon_width","c":"Item icon width in characters, read as $1960,X with X an item id $30-$4F (bytes $1990-$19AF, 2 for all but the last three): $A5DF, $A664; also the overlay size loop at $83A0/$84E0 and $8706.","t":"byte","b":[16,16,16,16,16,16,16,16],"x":[33696,33703,33709,33715,34016,34023,34029,34035,34566,42463,42596]},{"a":6504,"t":"byte","b":[16,16,16,16,16,16,16,16]},{"a":6512,"t":"byte","b":[8,8,8,8,16,8,8,8]},{"a":6520,"t":"byte","b":[8,8,16,8,8,8,8,8]},{"a":6528,"t":"byte","b":[8,8,8,8,8,8,16,16]},{"a":6536,"t":"byte","b":[8,8,8,8,8,8,8,8]},{"a":6544,"l":"item_icon_height","c":"Item icon height in character rows, read as $1990,X with item ids $30-$4F (bytes $19C0-$19DF, 1 or 2): $A5E4, $A669; $8711.","t":"byte","b":[2,2,2,2,2,2,2,2],"x":[34577,42468,42601]},{"a":6552,"t":"byte","b":[2,2,2,2,2,2,2,2]},{"a":6560,"t":"byte","b":[2,2,2,2,2,2,2,2]},{"a":6568,"t":"byte","b":[2,2,2,2,2,0,0,0]},{"a":6576,"l":"obj_hit_left","c":"Object collision table read by the object-versus-object test at $A83C/$A8C9 (added to one X, subtracted from the other).","t":"byte","b":[14,0,0,8,8,8,0,0],"x":[43068,43076,43200,43209]},{"a":6584,"t":"byte","b":[0,0,0,0,10,0,0,0]},{"a":6592,"t":"byte","b":[1,1,1,1,2,1,1,1]},{"a":6600,"t":"byte","b":[1,1,2,1,1,1,1,1]},{"a":6608,"t":"byte","b":[1,1,1,1,1,1,2,2]},{"a":6616,"t":"byte","b":[1,2,1,1,1,0,0,0]},{"a":6624,"t":"byte","b":[0,0,0,0,1,0,1,0]},{"a":6632,"t":"byte","b":[0,0,2,0,0,0,2,0]},{"a":6640,"t":"byte","b":[0,0,0,0,0,0,2,2]},{"a":6648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6656,"l":"obj_hit_right","c":"Object collision table read at $A85C/$A8F4/$A864 in the object-versus-object test.","t":"byte","b":[10,0,14,0,0,0,0,0],"x":[43100,43108,43252,43261]},{"a":6664,"t":"byte","b":[0,0,0,0,10,0,0,0]},{"a":6672,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6688,"l":"obj_hit_vert","c":"Object collision table read at $A889/$A913/$A898/$A91C in the object-versus-object test (vertical extents).","t":"byte","b":[14,0,0,16,16,16,0,0],"x":[43145,43160,43283,43292]},{"a":6696,"t":"byte","b":[0,0,0,0,14,0,0,0]},{"a":6704,"t":"byte","b":[14,14,14,14]},{"a":6708,"l":"obj_hit_vert_14","c":"Entry of $1A20 for object $14: set to $0E or $0C by $BB36/$BC2B (the object changes size).","t":"byte","b":[14,14,10,10,14,14,8,16],"x":[47926,48171]},{"a":6716,"t":"byte","b":[15,14,12,14,14,14,14,14]},{"a":6724,"t":"byte","b":[14,14,18,18,15,18,14,16]},{"a":6732,"t":"byte","b":[15,0,0,0,0,0,0,0]},{"a":6740,"l":"obj_hit_vert_34","c":"Entry of $1A20 for object $34: set to $0C or $0E by $BB3B/$BC30.","t":"byte","b":[12,1,0,0,0,0,2,0],"x":[47931,48176]},{"a":6748,"t":"byte","b":[0,0,4,0,0,0,0,0]},{"a":6756,"t":"byte","b":[0,0,6,6,0,5,0,0]},{"a":6764,"t":"byte","b":[0,0,0,0]},{"a":6768,"l":"obj_frame_count","c":"Per-object table compared with the frame counter at $A480/$A499 (animation or action timing).","t":"byte","b":[0,0,7,1,2,3,0,1],"x":[42112,42137]},{"a":6776,"t":"byte","b":[2,3]},{"a":6778,"l":"obj_1a70_0a","c":"Entry $0A of $1A70: $B6A0-$B6A5 read and rewrite it.","t":"byte","b":[0,4,0,0,0,0,4,5],"x":[46752,46757]},{"a":6786,"t":"byte","b":[6,7,0,2,3,4,5,4]},{"a":6794,"t":"byte","b":[5,6,7,0,1,2,3,6]},{"a":6802,"t":"byte","b":[5,4,1,2,3,4,5,0]},{"a":6810,"t":"byte","b":[0,0,0,0,0,0]},{"a":6816,"l":"chase_range","c":"Per-object distance threshold for the chaser AI ($AD05, $AD32, $AD55, $AD81): compared with the X distance high part $DA.","t":"byte","b":[1,1,2,5,5,5,2,2],"x":[44293,44338,44373,44417]},{"a":6824,"t":"byte","b":[2,2,1,1,2,0,0,0]},{"a":6832,"t":"byte","b":[2,2,2,2,2,2,2,2]},{"a":6840,"t":"byte","b":[2,2,2,2,2,2,2,2]},{"a":6848,"t":"byte","b":[2,2,2,2,2,2,2,2]},{"a":6856,"t":"byte","b":[2,2,2,2,2,2,2,2]},{"a":6864,"l":"obj_behind","c":"Sprite priority per object: non-zero = behind the background ($8199 -> $D01B). $B61A, $CBE6-$CBEC change it.","t":"byte","b":[0],"x":[33177,46618,52022,52198,52204]},{"a":6865,"l":"obj_behind_1","c":"Priority of object 1, set by $CB39/$CBE9 together with object 0.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[52025,52201]},{"a":6873,"t":"byte","b":[0,0,0,1,0,0,1,0]},{"a":6881,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6889,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6897,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6905,"t":"byte","b":[0,0,0,1,1,1,1,0]},{"a":6913,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6921,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6929,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6937,"t":"byte","b":[0,0,0,0,0,0,0]},{"a":6944,"l":"obj_state","c":"Object state per object (80 entries): 0 inactive/still, 2 carried or moving, 4 in a pocket, 6, 8, $0A, $0C, $0E thrown, and more (values set all over the object code). Saved to $0200 at start-up.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[18848,34314,37521,37797,37983,39420,39473,39631,39666,39690,39740,39882,39899,39982,39992,40045,40140,40147,40276,40306,40377,40411,40455,40640,41188,41243,41249,41278,41315,41418,41432,41449,41624,41702,41739,41871,42390,42445,42718,42935,43012,43041,43429,44310,44333,44368,45489,45576,45615,45710,45832,45849,46105,46519,46665,46840,46936,46975,47100,47114,47124,47334,49443,49497,49506,49549,49942,50080,50132,50174,50450,50471,50488,50532,50573,50673,50759,51575,51615,51695,51773,51925,51969,52302,52499,52508,52532,53087]},{"a":6952,"t":"byte","b":[0,0,0,0,0,0]},{"a":6958,"l":"obj_state_0e","c":"State of object $0E (the lift), read at $A280.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[41600]},{"a":6966,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6974,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6982,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":6990,"t":"byte","b":[0,0]},{"a":6992,"l":"obj_state_30","c":"State of marker 1 (object $30): 4 at start-up ($4962), i.e. carried.","t":"byte","b":[0],"x":[18786]},{"a":6993,"l":"obj_state_31","c":"State of marker 2 (object $31): 4 at start-up ($4965).","t":"byte","b":[0],"x":[18789]},{"a":6994,"l":"obj_state_32","c":"State of marker 3 (object $32): 4 at start-up ($4968).","t":"byte","b":[0],"x":[18792]},{"a":6995,"l":"obj_state_33","c":"State of marker 4 (object $33): 4 at start-up ($496B).","t":"byte","b":[0],"x":[18795]},{"a":6996,"l":"obj_state_34","c":"State of object $34 (PICK AXE): cleared at $93DE when it was held at a regeneration, written at $C35B.","t":"byte","b":[0],"x":[37854,50011]},{"a":6997,"l":"obj_state_35","c":"State of object $35 (MAT), read at $CDD6.","t":"byte","b":[0],"x":[52694]},{"a":6998,"l":"obj_state_36","c":"State of object $36 (CRYSTAL), read at $B4B7.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[46263,46345,46368,46409,46493]},{"a":7006,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":7014,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":7022,"t":"byte","b":[0,0]},{"a":7024,"l":"obj_x_lo","c":"Object X position, low byte (80 objects; with $1BC0, pixels). Object 0 is the Doctor, 2 is Splinx.","t":"byte","b":[136],"x":[33242,33603,33608,33646,34286,37803,37878,38076,39311,39328,39341,39438,40105,40188,40239,40479,41689,41712,41887,41943,41949,41961,41967,41979,42094,42155,42163,42170,42817,42858,42863,42892,42897,43096,43141,43235,43238,43248,43264,43279,43295,43325,43335,43353,43368,43466,43482,43638,43653,43671,44135,44139,45757,45948,45953,46011,46164,46563,46626,47062,47168,47204,47207,47233,47368,47371,47692,47700,47706,47714,47733,48706,48740,49420,49556,49559,50096,50099,50542,50641,50680,51395,52000,52028,52341,52419,53134,53166,65297]},{"a":7025,"l":"obj_x_lo_1","c":"X low of object 1, set at $CB3F.","t":"byte","b":[140,142,128,232,144,184,96,176],"x":[52031]},{"a":7033,"t":"byte","b":[72,64,64,168,0,248,32,128]},{"a":7041,"t":"byte","b":[224,160,192,32,192,224,96,96]},{"a":7049,"t":"byte","b":[0,128,64,116,156,96,92,160]},{"a":7057,"t":"byte","b":[160,64,192,128,32,224,192,32]},{"a":7065,"t":"byte","b":[168,0]},{"a":7067,"l":"obj_x_lo_2b","c":"X low of object $2B, set at $C10F.","t":"byte","b":[0,208,48,112,112,0,0,0],"x":[49423]},{"a":7075,"t":"byte","b":[0,96,0]},{"a":7078,"l":"obj_x_lo_36","c":"X low of object $36 (CRYSTAL): $B589 sets $C8 (the crystal is put at X $06C8, Y $06A8 by $B587-$B598).","t":"byte","b":[72,168,32,128,16,64,30,128],"x":[46473]},{"a":7086,"t":"byte","b":[224,32,200,232,8,40,8,96]},{"a":7094,"t":"byte","b":[8,40,0,136,72,96,60,176]},{"a":7102,"t":"byte","b":[0,0]},{"a":7104,"l":"obj_x_hi","c":"Object X position, high byte (80 objects).","t":"byte","b":[3],"x":[29948,33249,33598,33651,34291,37809,37872,38084,39319,39333,39346,39443,40110,40197,40484,41659,41695,41720,41895,41952,41957,41970,41975,41987,42160,42175,42822,43091,43136,43229,43232,43242,43245,43257,43269,43273,43276,43288,43300,43330,43343,43361,43376,43472,43487,43629,43662,43680,43689,44144,44147,45762,45956,45959,46016,46568,47067,47173,47210,47213,47374,47377,47697,47711,47722,47739,47844,48685,49414,49562,49565,50102,50105,50646,51402,52005,52034,53139,65291,65317]},{"a":7105,"l":"obj_x_hi_1","c":"X high of object 1, set at $CB45.","t":"byte","b":[3,3,1,0,7,2,4,4],"x":[52037]},{"a":7113,"t":"byte","b":[2,5,5,13,0,7,2,2]},{"a":7121,"t":"byte","b":[4,7,3,6,8,9,13,14]},{"a":7129,"t":"byte","b":[3,1,6,7,8,11,11,10]},{"a":7137,"t":"byte","b":[13,12,8,8,13,14,10,9]},{"a":7145,"t":"byte","b":[9,0]},{"a":7147,"l":"obj_x_hi_2b","c":"X high of object $2B, set at $C109.","t":"byte","b":[0,7,6,3,6,0,0,0],"x":[49417]},{"a":7155,"t":"byte","b":[0]},{"a":7156,"l":"obj_x_hi_34","c":"X high of object $34 (PICK AXE), read at $C327.","t":"byte","b":[1,5],"x":[49959]},{"a":7158,"l":"obj_x_hi_36","c":"X high of object $36 (CRYSTAL): 6, set at $B58E.","t":"byte","b":[2,10,6,2,6,5,10,7],"x":[46478]},{"a":7166,"t":"byte","b":[14,11,1,1,2,2,9,6]},{"a":7174,"t":"byte","b":[4,4,10,5,2,255,10,255]},{"a":7182,"t":"byte","b":[255,255]},{"a":7184,"l":"obj_y_lo","c":"Object Y position, low byte (80 objects; with $1C60; Y grows upwards).","t":"byte","b":[32],"x":[33277,33328,33627,33632,33656,34296,37815,37890,38091,39362,39378,39394,39455,39488,39915,40066,40310,40460,40729,40916,41288,41467,41518,41524,41536,41542,41567,42037,42101,42185,42193,42197,42827,42942,42947,43064,43196,43212,43383,43398,43443,43453,43592,43607,43622,44197,44201,45771,45962,45965,46021,46577,47072,47182,47216,47222,47380,47383,48422,48699,48733,49328,49432,49568,49571,50108,50111,50457,50655,50742,52014,52040,52425,52565,52582,52780,53148,65309]},{"a":7185,"l":"obj_y_lo_1","c":"Y low of object 1, set at $CB4E.","t":"byte","b":[32,32,8,128,200,168,8,8],"x":[52046]},{"a":7193,"t":"byte","b":[200,96,96,128,0,64,72]},{"a":7200,"l":"obj_tables_page2","c":"Start of the second page of the object tables, copied to $0300 at start-up ($49A9) and back at a new game ($9468).","t":"byte","b":[136,8,72,200,8,168,232,200],"x":[18857,37992]},{"a":7208,"t":"byte","b":[8,136,200,200,72,72,200,200]},{"a":7216,"t":"byte","b":[8,200,136,200,8,136,80,8]},{"a":7224,"t":"byte","b":[200,200,0]},{"a":7227,"l":"obj_y_lo_2b","c":"Y low of object $2B, set at $C11B.","t":"byte","b":[0,40,104,200,8,0,0,0],"x":[49435]},{"a":7235,"t":"byte","b":[0]},{"a":7236,"l":"obj_y_lo_34","c":"Y low of object $34 (PICK AXE), read at $C337.","t":"byte","b":[96,8],"x":[49975]},{"a":7238,"l":"obj_y_lo_36","c":"Y low of object $36 (CRYSTAL): $A8, set at $B593.","t":"byte","b":[208,216,8,72,96,136,8,168],"x":[46483]},{"a":7246,"t":"byte","b":[72,136,144,144,144,144,168,72]},{"a":7254,"t":"byte","b":[96,96,8,200,144,136,8,0]},{"a":7262,"t":"byte","b":[0,0]},{"a":7264,"l":"obj_y_hi","c":"Object Y position, high byte (80 objects). Object 0 value selects the tune ($74F5) and the countdown bonus ($911D).","t":"byte","b":[1],"x":[29941,29959,33283,33334,33622,33661,34301,37149,37821,37884,38099,39370,39386,39399,39460,39493,39920,40074,40734,40921,41296,41472,41527,41532,41545,41550,41572,42045,42190,42202,42832,43059,43190,43193,43205,43217,43391,43406,43448,43459,43583,44206,44209,45776,45968,45971,46026,46582,47077,47187,47225,47230,47386,47389,48692,48726,49323,49426,49574,49577,50114,50117,50660,51856,52019,52049,52571,52589,53153,64849,65122,65303]},{"a":7265,"l":"obj_y_hi_1","c":"Y high of object 1, set at $CB56.","t":"byte","b":[1,1,1,0,1,5,6,5],"x":[52054]},{"a":7273,"t":"byte","b":[4,0,0,3,0,1,4,1]},{"a":7281,"t":"byte","b":[2,1,1,1,1,1,0,1]},{"a":7289,"t":"byte","b":[5,4,4,6,6,5,5,5]},{"a":7297,"t":"byte","b":[4,5,4,3,3,3,3,3]},{"a":7305,"t":"byte","b":[4,0]},{"a":7307,"l":"obj_y_hi_2b","c":"Y high of object $2B, set at $C115.","t":"byte","b":[0,3,3,3,5,0,0,0],"x":[49429]},{"a":7315,"t":"byte","b":[0]},{"a":7316,"l":"obj_y_hi_34","c":"Y high of object $34 (PICK AXE), read at $C32E.","t":"byte","b":[0,6],"x":[49966]},{"a":7318,"l":"obj_y_hi_36","c":"Y high of object $36 (CRYSTAL): 6, set at $B598.","t":"byte","b":[4,4,3,6,0,2,5,0],"x":[46488]},{"a":7326,"t":"byte","b":[6,5,3,3,3,3,6,6]},{"a":7334,"t":"byte","b":[0,0,5,5,3,2,5,0]},{"a":7342,"t":"byte","b":[0,0]},{"a":7344,"l":"obj_flags","c":"Per-object flag byte (80 entries): object 0 riding flag of the lift ($A16A) and car ($A362); other objects various ($AB1E...). Restored from $0390.","t":"byte","b":[0,0,0,6,7,3,0,0],"x":[37748,37827,41322,41445,41746,41826,41929,43806,43811,43823,43828,43840,43845,43857,43862,43874,43879,43891,43896,43908,43913,43922,43927,45474,46220,46246,46295,46404,46419,46501,46731,46768,46801,46824,46870,46924,46983,47092,47442,49364,49387,49544,49639,49645,49658,49818,49844,49865,49907,49913,49933,50026,50071,50142,50159,50166,50270,50296,50353,50364,50380,50413,51550,51928,52057,52064,52641,52670,52721,52791,52808,52846,52934,53073]},{"a":7352,"t":"byte","b":[0,0,0,0]},{"a":7356,"l":"obj_flags_0c","c":"Flag of object $0C, written at $B485.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[46213,46465]},{"a":7364,"t":"byte","b":[0,0,0,0,0,0]},{"a":7370,"l":"obj_flags_1a","c":"Flag of object $1A: $BA86 reads, $BAB2 writes.","t":"byte","b":[0],"x":[47750,47794]},{"a":7371,"l":"obj_flags_1b","c":"Flag of object $1B, written at $BAB5.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[47797]},{"a":7379,"l":"obj_flags_23","c":"Flag of object $23: read and rewritten at $CA79/$CA82.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[51833,51842]},{"a":7387,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":7395,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":7403,"t":"byte","b":[0]},{"a":7404,"l":"obj_flags_3c","c":"Flag of object $3C (DETONATOR): $BCAE/$BCB5.","t":"byte","b":[0],"x":[48302,48309]},{"a":7405,"l":"obj_flags_3d","c":"Flag of object $3D (EXPLOSIVES): $BCCF/$BCD6.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[48335,48342]},{"a":7413,"t":"byte","b":[0,0,0]},{"a":7416,"l":"obj_flags_48","c":"Flag of object $48 (DETONATOR): $BCB9/$BCC0.","t":"byte","b":[0,0,0,0],"x":[48313,48320]},{"a":7420,"l":"obj_flags_4c","c":"Flag of object $4C (DETONATOR): $BCC4/$BCCB.","t":"byte","b":[0,0,0,0],"x":[48324,48331]},{"a":7424,"l":"cell_states","c":"Switchable map cells, 17 entries ($1D00-$1D10): the current character pattern number of each; $AE08 sets one and $AEB3 draws it, $AECA redraws all 17. Part of the saved state.","t":"byte","b":[224,224,224,224,224,224,224,224],"x":[38012,44552,44754]},{"a":7432,"l":"cell_state_8","c":"Switchable cell 8: $B2 until $BADD changes it to $1B (when the Doctor is at X high 8 or more).","t":"byte","b":[178,174,174],"x":[47837,47856]},{"a":7435,"l":"cell_state_b","c":"Switchable cell $0B, read at $CE8E.","t":"byte","b":[4,188,194,174],"x":[52878]},{"a":7439,"l":"cell_state_f","c":"Switchable cell $0F, set to $1B at $BAFD.","t":"byte","b":[247,178,0],"x":[47869]},{"a":7442,"l":"spanner_flags","c":"Three flags $1D12-$1D14 set $FF by $BBFC when a spanner job is done (index Y).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[48107,48124]},{"a":7450,"l":"hit_counts","c":"Three counters $1D1A-$1D1C (0-3) at $BC49-$BC93, incremented when the Doctor is near target Y; 3 = finished.","t":"byte","b":[0,0,0,0],"x":[48201,48270,48275]},{"a":7454,"l":"restart_visited","c":"Restart points visited, 9 flags $1D1E-$1D26 ($FF once reached, $90BD-$90C4); $1D1F-$1D2A cleared at a new game ($9472).","t":"byte","b":[255],"x":[37053,37060]},{"a":7455,"l":"restart_visited_1","c":"Base used at $9472 (X 11..1) to clear $1D20-$1D2A at a new game.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[38002]},{"a":7463,"t":"byte","b":[0]},{"a":7464,"l":"first_restart_done","c":"Zero until the first restart point is reached, then $64 ($90C7-$90CE).","t":"byte","b":[0],"x":[37063,37070]},{"a":7465,"l":"restart_point","c":"Current restart point 0-8 (set $90B0), where the Doctor reappears after a regeneration ($93EA).","t":"byte","b":[0,0,0,0,0,0,0],"x":[37040,37866]},{"a":7472,"l":"obj_sprite","c":"Sprite image pointer per object (80 entries), VIC bank 1 ($44 = $5100 ...): copied to both screens pointer sets by the sprite pass ($8152); animation code writes it everywhere.","t":"byte","b":[68],"x":[33106,46184,46642,46651,47249,47261,47271,47280,47292,47302,49523,49532,50736,50753,50801,51487,52069,52167,52365,52393,52436,53229]},{"a":7473,"l":"obj_sprite_1","c":"Sprite pointer of object 1 (written at $CBCC, $CC93-$CCDA; read $C925).","t":"byte","b":[92],"x":[51493,52172,52371,52382,52399,52410,52442]},{"a":7474,"l":"obj_sprite_2","c":"Sprite pointer of object 2 (Splinx), set to $79 at $B21B.","t":"byte","b":[118,0,0,0,126,126,126,126],"x":[45595]},{"a":7482,"t":"byte","b":[174,0,0,148,109,111,118,118]},{"a":7490,"t":"byte","b":[118,118,118,118,118,118,118,118]},{"a":7498,"t":"byte","b":[118,118,118,118,118,118,118,118]},{"a":7506,"t":"byte","b":[118,118,118,118,118,118,118,152]},{"a":7514,"t":"byte","b":[118,87,193,193,193,150,188,189]},{"a":7522,"t":"byte","b":[190,191]},{"a":7524,"l":"obj_sprite_34","c":"Sprite pointer of object $34, set at $BB31, $BC3B, $BC42.","t":"byte","b":[192,194,195,196,197,199,146,150],"x":[47921,48187,48194]},{"a":7532,"l":"obj_sprite_3c","c":"Sprite pointer of object $3C (DETONATOR), $40 at a new game ($948A).","t":"byte","b":[64],"x":[38026]},{"a":7533,"l":"obj_sprite_3d","c":"Sprite pointer of object $3D (EXPLOSIVES), $41 at a new game ($9495).","t":"byte","b":[65,66,89,91,113,115,122,123],"x":[38037]},{"a":7541,"t":"byte","b":[124,125,125]},{"a":7544,"l":"obj_sprite_48","c":"Sprite pointer of object $48 (DETONATOR), $40 at a new game ($948D).","t":"byte","b":[64,67,113,206],"x":[38029]},{"a":7548,"l":"obj_sprite_4c","c":"Sprite pointer of object $4C (DETONATOR), $40 at a new game ($9490).","t":"byte","b":[64,207,206,207],"x":[38032]},{"a":7552,"l":"obj_holding","c":"Object held by each object ($1D80,X): $1D80 = the item the Doctor holds (shown in the status bar, $A4F4), $1D82 = what Splinx holds. Zeroed $1D80-$1D90 at a new game.","t":"byte","b":[0,0],"x":[37516,37847,37858,37958,42228,42372,42395,42450,42536,42967,42998,43007,43035,43054,43187,43309,45482,45628,45942,45985,46399,46414,46496,46760,47097,47252,47283,47893,47962,49454,49949,50015,50089,50137,50153,50410,50689,50707,51889,52185,52207,52374,52402,52940,52995,53006,53019,65030,65104]},{"a":7554,"l":"splinx_holding","c":"The object Splinx (object 2) carries ($B31C, read $A99B, $B2E3, $C322).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[43419,45795,45852,47010,47015,49954]},{"a":7562,"l":"obj_holding_0a","c":"Holding slot of object $0A, written at $B782 with the object it takes.","t":"byte","b":[0,0],"x":[46978]},{"a":7564,"l":"obj_holding_0c","c":"Holding slot of object $0C, read at $B603.","t":"byte","b":[0,0,0,0],"x":[46456,46595]},{"a":7568,"t":"gap","n":368},{"a":7600,"t":"note","l":"obj_facing","c":"Per-object horizontal direction ($81/$01 form) for movers and chasers ($ACF1, $B20D...); $1DB0 = the Doctor, read at $A6B8/$BAD3.","note":"outside the tracked image","x":[39886,40038,40061,42123,42148,42680,44273,44317,44354,45581,45781,46171,46587,46604,46634,46659,47108,47192,47241,47827,50665,50698,50766,51944,52333,52348,52414,52861,52898,53158,53172]},{"a":7648,"t":"note","l":"obj_vert_state","c":"Per-object vertical movement state (e.g. climbing/falling); $1DE0 = the Doctor ($A6BD, $BAD8).","note":"outside the tracked image","x":[42128,42178,42685,44435,45584,45786,46592,46662,47111,47197,47832,50497,50670,51949,52858,53163]},{"a":7680,"t":"note","l":"obj_tables_tail","c":"Last page of the object tables, cleared at every start of play ($9482, $1E00-$1EFF).","note":"outside the tracked image","x":[38018]},{"a":7696,"t":"note","l":"sprite_x_lo","c":"Hardware sprite X low byte per slot (8), filled at $821D, written to $D000+2n by the sprite pass ($8161).","note":"outside the tracked image","x":[33121,33309]},{"a":7704,"t":"note","l":"sprite_x_msb","c":"Hardware sprite X bit 8 per slot (8): non-zero sets the $D010 bit ($816D).","note":"outside the tracked image","x":[33133,33314]},{"a":7712,"t":"note","l":"sprite_y","c":"Hardware sprite Y per slot (8), written to $D001+2n ($8168).","note":"outside the tracked image","x":[33128,33319]},{"a":7728,"t":"note","l":"chase_dir","c":"Chaser AI: direction override per object ($81/$01), set by $ACF8/$AD22 and used as $CB.","note":"outside the tracked image","x":[44264,44280,44298,44306,44322,44359,44403,44412,44451,45587,45903,46132,46668,46829,47117,49918,50145,50369,50383,50480,50517,50560,52800,52849,53011,53022]},{"a":7776,"t":"note","l":"chase_timer","c":"Chaser AI: timer/direction per object, bits 1-6 count down ($AD62); loaded from $DF.","note":"outside the tracked image","x":[44379,44386,44389,44398,44427,49921,50372,50386]},{"a":7824,"t":"note","l":"chase_flag","c":"Chaser AI: flag per object, cleared at $AD9E.","note":"outside the tracked image","x":[39626,39661,44430,44446]},{"a":7872,"t":"note","l":"chase_lock","c":"Chaser AI: lock flag per object; zero means test the range $1AA0 ($ACFE).","note":"outside the tracked image","x":[44286,44346,44454,45590]},{"a":7936,"l":"tune0_v1_len","c":"Music data $1F00-$2D3F for five tunes, read by the player at $7548-$7647 through the tables $74C2-$74E5: tune 0 voice 1 note lengths in frames (206 notes, 0 ends the tune and restarts both voices).","t":"byte","b":[3,3,3,3,6,6,6,6]},{"a":7944,"t":"byte","b":[3,3,6,3,3,3,3,6]},{"a":7952,"t":"byte","b":[6,6,6,3,3,6,3,3]},{"a":7960,"t":"byte","b":[3,3,6,6,12,12,6,3]},{"a":7968,"t":"byte","b":[3,6,6,6,6,6,6,3]},{"a":7976,"t":"byte","b":[3,3,3,6,6,6,6,3]},{"a":7984,"t":"byte","b":[3,6,3,3,3,3,6,6]},{"a":7992,"t":"byte","b":[6,6,3,3,6,3,3,3]},{"a":8000,"t":"byte","b":[3,6,6,6,6,3,3,6]},{"a":8008,"t":"byte","b":[6,3,3,6,6,6,6,3]},{"a":8016,"t":"byte","b":[3,6,24,6,6,6,6,6]},{"a":8024,"t":"byte","b":[6,3,3,6,6,6,6,6]},{"a":8032,"t":"byte","b":[6,6,3,3,3,3,6,6]},{"a":8040,"t":"byte","b":[6,6,6,6,3,3,6,6]},{"a":8048,"t":"byte","b":[6,6,6,6,6,3,3,6]},{"a":8056,"t":"byte","b":[6,6,6,3,3,6,6,6]},{"a":8064,"t":"byte","b":[3,3,6,6,6,6,6,6]},{"a":8072,"t":"byte","b":[3,3,6,36,12,36,12,3]},{"a":8080,"t":"byte","b":[3,3,3,6,6,12,12,6]},{"a":8088,"t":"byte","b":[3,3,6,6,6,6,6,6]},{"a":8096,"t":"byte","b":[3,3,3,3,6,6,6,6]},{"a":8104,"t":"byte","b":[3,3,6,3,3,3,3,6]},{"a":8112,"t":"byte","b":[6,6,6,3,3,6,3,3]},{"a":8120,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":8128,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":8136,"t":"byte","b":[3,3,6,6,6,6,0,0]},{"a":8144,"l":"tune0_v2_len","c":"Tune 0 voice 2 note lengths (145 notes, 0-terminated at $2061).","t":"byte","b":[36,12,36,12,12,12,3,3]},{"a":8152,"t":"byte","b":[3,3,6,6,6,3,3,6]},{"a":8160,"t":"byte","b":[6,6,6,6,6,36,12,36]},{"a":8168,"t":"byte","b":[12,3,3,3,3,6,6,6]},{"a":8176,"t":"byte","b":[6,3,3,6,18,6,6,6]},{"a":8184,"t":"byte","b":[3,3,6,6,6,6,6,6]},{"a":8192,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":8200,"t":"byte","b":[6,6,6,6,6]},{"a":8205,"l":"a_200D","c":"Inside tune 0 voice 2 lengths; auto symbol from a data byte at $C8AE read as ORA $200D, no real access.","t":"byte","b":[12,6,6,6,6,6,6,12],"x":[51374]},{"a":8213,"t":"byte","b":[3,3,3,3,6,6,6,6]},{"a":8221,"t":"byte","b":[12,6,6,6,6,6,6,6]},{"a":8229,"t":"byte","b":[6,6,6,6,6,6,6,3]},{"a":8237,"t":"byte","b":[3,6,3,3,3,3,6,6]},{"a":8245,"t":"byte","b":[6,6,3,3,6,3,3,3]},{"a":8253,"t":"byte","b":[3,6,6,6,6,3,3,6]},{"a":8261,"t":"byte","b":[12,12,3,3,3,3,6,6]},{"a":8269,"l":"tune_data_204d","c":"Continuation of the music data block $1F00-$2D3F (note lengths and frequency pairs); a label here only because the tracer minted a spurious symbol at $200D inside the data.","t":"byte","b":[6,3,3,6,6,6,6,6]},{"a":8277,"t":"byte","b":[6,36,12,36,12,24,24,18]},{"a":8285,"t":"byte","b":[6,6,6,3,0,0,0,0]},{"a":8293,"t":"byte","b":[0,0,0]},{"a":8296,"l":"tune0_v1_notes","c":"Tune 0 voice 1 notes: SID frequency pairs, high byte first ($D401 then $D400), one per length in $1F00.","t":"byte","b":[31,165,35,134,37,162,42,62]},{"a":8304,"t":"byte","b":[47,107,37,162,42,62,47,107]},{"a":8312,"t":"byte","b":[50,60,47,107,42,62,31,165]},{"a":8320,"t":"byte","b":[35,134,37,162,42,62,47,107]},{"a":8328,"t":"byte","b":[37,162,42,62,47,107,50,60]},{"a":8336,"t":"byte","b":[47,107,42,62,31,165,35,134]},{"a":8344,"t":"byte","b":[37,162,42,62,47,107,47,107]},{"a":8352,"t":"byte","b":[63,75,56,99,50,60,50,60]},{"a":8360,"t":"byte","b":[56,99,50,60,47,107,42,62]},{"a":8368,"t":"byte","b":[37,162,35,134,37,162,31,165]},{"a":8376,"t":"byte","b":[35,134,37,162,42,62,47,107]},{"a":8384,"t":"byte","b":[37,162,42,62,47,107,50,60]},{"a":8392,"t":"byte","b":[47,107,42,62,28,49,31,165]},{"a":8400,"t":"byte","b":[35,134,37,162,42,62,35,134]},{"a":8408,"t":"byte","b":[37,162,42,62,47,107,42,62]},{"a":8416,"t":"byte","b":[37,162,23,181,23,181,25,30]},{"a":8424,"t":"byte","b":[28,49,29,223,33,135,37,162]},{"a":8432,"t":"byte","b":[29,223,39,223,37,162,33,135]},{"a":8440,"t":"byte","b":[0,0,23,181,25,30,23,181]},{"a":8448,"t":"byte","b":[21,31,18,209,17,195,15,210]},{"a":8456,"t":"byte","b":[18,209,15,210,0,0,31,165]},{"a":8464,"t":"byte","b":[37,162,31,165,37,162,29,223]},{"a":8472,"t":"byte","b":[25,30,28,49,23,181,18,209]},{"a":8480,"t":"byte","b":[37,162,37,162,37,162,37,162]},{"a":8488,"t":"byte","b":[37,162,37,162,37,162,39,223]},{"a":8496,"t":"byte","b":[37,162,35,134,31,165,39,223]},{"a":8504,"t":"byte","b":[31,165,37,162,28,49,33,135]},{"a":8512,"t":"byte","b":[31,165,28,49,26,156,25,30]},{"a":8520,"t":"byte","b":[25,30,25,30,25,30,25,30]},{"a":8528,"t":"byte","b":[28,49,29,223,28,49,25,30]},{"a":8536,"t":"byte","b":[23,181,23,181,0,0,25,30]},{"a":8544,"t":"byte","b":[28,49,23,181,23,181,0,0]},{"a":8552,"t":"byte","b":[25,30,28,49,23,181,23,181]},{"a":8560,"t":"byte","b":[17,195,17,195,23,181,0,0]},{"a":8568,"t":"byte","b":[56,99,50,60,47,107,31,165]},{"a":8576,"t":"byte","b":[42,62,31,165,42,62,31,165]},{"a":8584,"t":"byte","b":[35,134,37,162,42,62,47,107]},{"a":8592,"t":"byte","b":[47,107,63,75,56,99,50,60]},{"a":8600,"t":"byte","b":[50,60,56,99,50,60,47,107]},{"a":8608,"t":"byte","b":[42,62,37,162,35,134,37,162]},{"a":8616,"t":"byte","b":[31,165,35,134,37,162,42,62]},{"a":8624,"t":"byte","b":[47,107,37,162,42,62,47,107]},{"a":8632,"t":"byte","b":[50,60,47,107,42,62,33,135]},{"a":8640,"t":"byte","b":[37,162,39,223,44,193,50,60]},{"a":8648,"t":"byte","b":[42,62,44,193,50,60,56,99]},{"a":8656,"t":"byte","b":[50,60,47,107,63,75,67,15]},{"a":8664,"t":"byte","b":[75,69,84,125,89,131,84,125]},{"a":8672,"t":"byte","b":[75,69,71,12,63,75,67,15]},{"a":8680,"t":"byte","b":[75,69,84,125,89,131,84,125]},{"a":8688,"t":"byte","b":[75,69,71,12,63,75,67,15]},{"a":8696,"t":"byte","b":[75,69,84,125,89,131,94,214]},{"a":8704,"t":"byte","b":[94,214,0,0,0,0,0,0]},{"a":8712,"l":"tune0_v2_notes","c":"Tune 0 voice 2 notes: frequency pairs, high first, one per length in $1FD0.","t":"byte","b":[15,210,21,31,15,210,21,31]},{"a":8720,"t":"byte","b":[15,210,14,24,12,143,14,24]},{"a":8728,"t":"byte","b":[15,210,17,195,18,209,18,209]},{"a":8736,"t":"byte","b":[21,31,21,31,23,181,21,31]},{"a":8744,"t":"byte","b":[18,209,17,195,15,210,14,24]},{"a":8752,"t":"byte","b":[11,218,15,210,21,31,15,210]},{"a":8760,"t":"byte","b":[18,209,11,48,11,218,12,143]},{"a":8768,"t":"byte","b":[14,24,14,239,16,195,18,209]},{"a":8776,"t":"byte","b":[14,239,19,239,18,209,16,195]},{"a":8784,"t":"byte","b":[11,218,5,237,6,71,7,12]},{"a":8792,"t":"byte","b":[7,233,9,104,7,233,9,104]},{"a":8800,"t":"byte","b":[9,104,9,104,9,104,9,104]},{"a":8808,"t":"byte","b":[9,104,9,104,9,104,9,104]},{"a":8816,"t":"byte","b":[9,104,9,104,9,104,12,143]},{"a":8824,"t":"byte","b":[11,48,9,247,9,104,8,97]},{"a":8832,"t":"byte","b":[7,119,7,12,9,247,9,104]},{"a":8840,"t":"byte","b":[9,104,9,104,9,247,9,104]},{"a":8848,"t":"byte","b":[9,104,6,71,7,12,7,233]},{"a":8856,"t":"byte","b":[8,97,9,104,9,247,11,48]},{"a":8864,"t":"byte","b":[9,104,11,218,11,218,11,218]},{"a":8872,"t":"byte","b":[0,0,11,218,11,218,11,218]},{"a":8880,"t":"byte","b":[0,0,11,218,11,218,11,218]},{"a":8888,"t":"byte","b":[8,225,8,225,11,218,0,0]},{"a":8896,"t":"byte","b":[7,12,6,71,5,237,15,210]},{"a":8904,"t":"byte","b":[17,195,18,209,21,31,23,181]},{"a":8912,"t":"byte","b":[18,209,21,31,23,181,25,30]},{"a":8920,"t":"byte","b":[23,181,21,31,15,210,17,195]},{"a":8928,"t":"byte","b":[18,209,21,31,23,181,18,209]},{"a":8936,"t":"byte","b":[21,31,23,181,25,30,23,181]},{"a":8944,"t":"byte","b":[21,31,15,210,14,24,12,143]},{"a":8952,"t":"byte","b":[14,24,15,210,17,195,18,209]},{"a":8960,"t":"byte","b":[18,209,21,31,21,31,23,181]},{"a":8968,"t":"byte","b":[21,31,18,209,17,195,15,210]},{"a":8976,"t":"byte","b":[14,24,11,218,15,210,14,24]},{"a":8984,"t":"byte","b":[12,143,11,48,33,135,33,135]},{"a":8992,"t":"byte","b":[33,135,23,181,15,210,0,0]},{"a":9000,"t":"byte","b":[0,0,0,0,0,0,0,76]},{"a":9008,"l":"tune1_v1_len","c":"Tune 1 voice 1 note lengths; runs on through $23A8 to the 0 at $242B (251 notes).","t":"byte","b":[3,6,3,6,6,3,6,3]},{"a":9016,"t":"byte","b":[12,3,3,3,3,12,3,3]},{"a":9024,"t":"byte","b":[3,3,6,6,6,6,6,3]},{"a":9032,"t":"byte","b":[3,6,6,6,6,6,3,3]},{"a":9040,"t":"byte","b":[6,6,6,6,6,6,3,6]},{"a":9048,"t":"byte","b":[3,6,3,3,3,6,3,6]},{"a":9056,"t":"byte","b":[6,9,3,6,6,24,3,6]},{"a":9064,"t":"byte","b":[3,6,6,3,6,3,6,6]},{"a":9072,"t":"byte","b":[3,6,3,6,6,6,6,6]},{"a":9080,"t":"byte","b":[6,3,6,3,6,6,3,6]},{"a":9088,"t":"byte","b":[3,6,6,9,3,6,6,24]},{"a":9096,"t":"byte","b":[9,3,6,6,6,6,6,6]},{"a":9104,"t":"byte","b":[9,3,6,6,12,6,6,3]},{"a":9112,"t":"byte","b":[6,3,6,6,24,3,6,3]},{"a":9120,"t":"byte","b":[6,6,6,6,6,6,48,6]},{"a":9128,"l":"tune1_v2_len","c":"Tune 1 voice 2 note lengths (131 notes), the tail of the voice 1 list.","t":"byte","b":[3,6,3,6,6,3,6,3]},{"a":9136,"t":"byte","b":[12,3,3,3,3,12,3,3]},{"a":9144,"t":"byte","b":[3,3,6,6,6,6,6,6]},{"a":9152,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9160,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9168,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9176,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9184,"t":"byte","b":[6,6,6,6,3,6,3,6]},{"a":9192,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9200,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9208,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9216,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9224,"t":"byte","b":[6,12,6,6,6,6,6,6]},{"a":9232,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9240,"t":"byte","b":[6,6,6,6,3,6,3,6]},{"a":9248,"t":"byte","b":[6,3,6,3,6,6,3,6]},{"a":9256,"t":"byte","b":[3,6,12,0,0,0,0,0]},{"a":9264,"l":"tune1_v1_notes","c":"Tune 1 voice 1 notes (frequency high, low pairs).","t":"byte","b":[0,0,53,57,59,190,44,193]},{"a":9272,"t":"byte","b":[59,190,53,57,44,193,39,223]},{"a":9280,"t":"byte","b":[31,165,0,0,26,156,22,96]},{"a":9288,"t":"byte","b":[19,239,15,210,0,0,13,78]},{"a":9296,"t":"byte","b":[11,48,9,247,7,233,12,143]},{"a":9304,"t":"byte","b":[0,0,14,239,0,0,14,239]},{"a":9312,"t":"byte","b":[14,239,0,0,14,239,0,0]},{"a":9320,"t":"byte","b":[14,239,0,0,14,239,14,239]},{"a":9328,"t":"byte","b":[0,0,14,239,0,0,14,239]},{"a":9336,"t":"byte","b":[0,0,14,239,29,223,26,156]},{"a":9344,"t":"byte","b":[29,223,22,96,29,223,26,156]},{"a":9352,"t":"byte","b":[26,156,22,96,19,239,16,195]},{"a":9360,"t":"byte","b":[19,239,14,239,17,195,14,239]},{"a":9368,"t":"byte","b":[19,239,14,239,14,239,13,78]},{"a":9376,"t":"byte","b":[14,239,16,195,13,78,14,239]},{"a":9384,"t":"byte","b":[13,78,14,239,15,210,13,78]},{"a":9392,"t":"byte","b":[14,239,12,143,11,48,9,247]},{"a":9400,"t":"byte","b":[9,104,8,97,6,71,8,97]},{"a":9408,"t":"byte","b":[9,104,29,223,26,156,29,223]},{"a":9416,"t":"byte","b":[22,96,29,223,33,135,22,96]},{"a":9424,"t":"byte","b":[19,239,16,195,19,239,14,239]},{"a":9432,"t":"byte","b":[17,195,14,239,19,239,14,239]},{"a":9440,"t":"byte","b":[14,239,16,195,14,239,17,195]},{"a":9448,"t":"byte","b":[19,239,22,96,19,239,23,181]},{"a":9456,"t":"byte","b":[22,96,26,156,22,96,26,156]},{"a":9464,"t":"byte","b":[18,209,59,190,0,0,16,195]},{"a":9472,"t":"byte","b":[18,209,19,239,18,209,16,195]},{"a":9480,"t":"byte","b":[18,209,16,195,18,209,19,239]},{"a":9488,"t":"byte","b":[18,209,16,195,18,209,16,195]},{"a":9496,"t":"byte","b":[18,209,25,30,13,78,12,143]},{"a":9504,"l":"tune1_v2_notes","c":"Tune 1 voice 2 notes, inside the voice 1 list.","t":"byte","b":[29,223,26,156,29,223,22,96]},{"a":9512,"t":"byte","b":[29,223,26,156,22,96,19,239]},{"a":9520,"t":"byte","b":[15,210,0,0,13,78,11,48]},{"a":9528,"t":"byte","b":[9,247,8,225,0,0,6,167]},{"a":9536,"t":"byte","b":[5,152,9,247,7,233,6,167]},{"a":9544,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9552,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9560,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9568,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9576,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9584,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9592,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9600,"t":"byte","b":[7,119,11,48,7,119,11,48]},{"a":9608,"t":"byte","b":[7,119,9,247,7,119,9,247]},{"a":9616,"t":"byte","b":[7,119,9,247,7,119,9,247]},{"a":9624,"t":"byte","b":[7,119,6,71,5,152,9,247]},{"a":9632,"t":"byte","b":[9,104,8,97,6,71,8,97]},{"a":9640,"t":"byte","b":[9,104,7,119,11,48,7,119]},{"a":9648,"t":"byte","b":[11,48,7,119,11,48,7,119]},{"a":9656,"t":"byte","b":[11,48,7,119,11,48,7,119]},{"a":9664,"t":"byte","b":[11,48,7,119,11,48,7,119]},{"a":9672,"t":"byte","b":[11,48,8,225,11,218,8,225]},{"a":9680,"t":"byte","b":[13,78,8,225,11,218,8,225]},{"a":9688,"t":"byte","b":[11,218,0,0,17,195,16,195]},{"a":9696,"t":"byte","b":[14,24,11,48,7,119,0,0]},{"a":9704,"t":"byte","b":[13,78,26,156,13,78,26,156]},{"a":9712,"t":"byte","b":[13,78,26,156,13,78,26,156]},{"a":9720,"t":"byte","b":[12,143,25,30,12,143,25,30]},{"a":9728,"t":"byte","b":[12,143,25,30,12,143,19,239]},{"a":9736,"t":"byte","b":[7,119,8,97,9,104,8,97]},{"a":9744,"t":"byte","b":[7,119,7,119,8,97,9,104]},{"a":9752,"t":"byte","b":[8,97,7,119,7,119,8,97]},{"a":9760,"t":"byte","b":[9,104,8,97,7,119,0,13]},{"a":9768,"l":"tune2_v1_len","c":"Tunes 2 and 3 voice 1 note lengths (174 notes, 0 at $26D6).","t":"byte","b":[1,6,3,3,3,3,3,3]},{"a":9776,"t":"byte","b":[6,3,3,3,3,3,3,6]},{"a":9784,"t":"byte","b":[3,3,3,3,3,3,24,6]},{"a":9792,"t":"byte","b":[3,3,3,3,3,3,6,3]},{"a":9800,"t":"byte","b":[3,3,3,3,3,6,3,3]},{"a":9808,"t":"byte","b":[6,3,3,24,6,3,3,3]},{"a":9816,"t":"byte","b":[3,3,3,6,3,3,3,3]},{"a":9824,"t":"byte","b":[3,3,6,3,3,3,3,3]},{"a":9832,"t":"byte","b":[3,24,6,3,3,3,3,3]},{"a":9840,"t":"byte","b":[3,6,3,3,3,3,3,3]},{"a":9848,"t":"byte","b":[6,3,3,6,3,3,12,6]},{"a":9856,"t":"byte","b":[6,6,6,6,6,6,3,3]},{"a":9864,"t":"byte","b":[6,6,6,6,6,6,6,3]},{"a":9872,"t":"byte","b":[3,12,6,6,6,6,6,3]},{"a":9880,"t":"byte","b":[3,6,6,6,6,6,6,6]},{"a":9888,"t":"byte","b":[3,3,6,6,3,3,6,3]},{"a":9896,"t":"byte","b":[3,6,3,3,6,3,3,6]},{"a":9904,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":9912,"t":"byte","b":[3,3,3,3,6,6,3,3]},{"a":9920,"l":"tune3_v2_len","c":"Tune 3 voice 2 note lengths: the last 22 entries of the $2628 list.","t":"byte","b":[6,3,3,6,3,3,6,3]},{"a":9928,"t":"byte","b":[3,6,3,3,3,3,3,3]},{"a":9936,"t":"byte","b":[3,3,6,6,12,14,0,0]},{"a":9944,"l":"tune2_v2_len","c":"Tune 2 voice 2 note lengths (132 notes).","t":"byte","b":[1,6,6,6,6,6,6,6]},{"a":9952,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9960,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9968,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9976,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9984,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":9992,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":10000,"t":"byte","b":[6,6,6,6,6,6,3,3]},{"a":10008,"t":"byte","b":[6,6,6,6,6,6,6,3]},{"a":10016,"t":"byte","b":[3,6,6,6,6,6,6,6]},{"a":10024,"t":"byte","b":[3,3,6,6,6,6,6,6]},{"a":10032,"t":"byte","b":[6,3,3,6,6,6,6,6]},{"a":10040,"t":"byte","b":[6,12,6,6,6,6,6,6]},{"a":10048,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":10056,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":10064,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":10072,"t":"byte","b":[6,6,12,3,0,0,0,0]},{"a":10080,"l":"tune2_v1_notes","c":"Tune 2 voice 1 notes (frequency pairs).","t":"byte","b":[37,162,25,30,25,30,25,30]},{"a":10088,"l":"tune3_v1_notes","c":"Tune 3 voice 1 notes: the tune 2 list from its fifth note.","t":"byte","b":[25,30,18,209,16,195,18,209]},{"a":10096,"t":"byte","b":[25,30,25,30,25,30,25,30]},{"a":10104,"t":"byte","b":[28,49,31,165,28,49,25,30]},{"a":10112,"t":"byte","b":[25,30,25,30,28,49,25,30]},{"a":10120,"t":"byte","b":[23,181,25,30,28,49,33,135]},{"a":10128,"t":"byte","b":[33,135,33,135,33,135,25,30]},{"a":10136,"t":"byte","b":[22,96,25,30,33,135,33,135]},{"a":10144,"t":"byte","b":[33,135,33,135,37,162,42,62]},{"a":10152,"t":"byte","b":[37,162,33,135,33,135,31,165]},{"a":10160,"t":"byte","b":[28,49,28,49,25,30,23,181]},{"a":10168,"t":"byte","b":[25,30,25,30,25,30,25,30]},{"a":10176,"t":"byte","b":[18,209,16,195,18,209,25,30]},{"a":10184,"t":"byte","b":[25,30,25,30,25,30,28,49]},{"a":10192,"t":"byte","b":[31,165,28,49,25,30,25,30]},{"a":10200,"t":"byte","b":[25,30,28,49,25,30,23,181]},{"a":10208,"t":"byte","b":[25,30,28,49,37,162,37,162]},{"a":10216,"t":"byte","b":[37,162,37,162,33,135,31,165]},{"a":10224,"t":"byte","b":[33,135,37,162,37,162,37,162]},{"a":10232,"t":"byte","b":[37,162,33,135,31,165,33,135]},{"a":10240,"t":"byte","b":[37,162,18,209,21,31,23,181]},{"a":10248,"t":"byte","b":[18,209,26,156,28,49,25,30]},{"a":10256,"t":"byte","b":[37,162,31,165,42,62,31,165]},{"a":10264,"t":"byte","b":[28,49,25,30,23,181,21,31]},{"a":10272,"t":"byte","b":[23,181,15,210,21,31,23,181]},{"a":10280,"t":"byte","b":[25,30,31,165,35,134,31,165]},{"a":10288,"t":"byte","b":[37,162,31,165,31,165,42,62]},{"a":10296,"t":"byte","b":[31,165,28,49,25,30,23,181]},{"a":10304,"t":"byte","b":[21,31,23,181,15,210,21,31]},{"a":10312,"t":"byte","b":[23,181,25,30,31,165,35,134]},{"a":10320,"t":"byte","b":[31,165,37,162,31,165,37,162]},{"a":10328,"t":"byte","b":[33,135,33,135,33,135,37,162]},{"a":10336,"t":"byte","b":[37,162,37,162,42,62,42,62]},{"a":10344,"t":"byte","b":[42,62,33,135,33,135,33,135]},{"a":10352,"t":"byte","b":[37,162,63,75,37,162,47,107]},{"a":10360,"t":"byte","b":[37,162,63,75,37,162,67,15]},{"a":10368,"t":"byte","b":[37,162,63,75,37,162,47,107]},{"a":10376,"t":"byte","b":[56,99,37,162,33,135,33,135]},{"a":10384,"t":"byte","b":[33,135,37,162,37,162,37,162]},{"a":10392,"l":"tune3_v2_notes","c":"Tune 3 voice 2 notes, inside the tune 2 voice 1 list.","t":"byte","b":[42,62,42,62,42,62,33,135]},{"a":10400,"t":"byte","b":[33,135,33,135,37,162,31,165]},{"a":10408,"t":"byte","b":[37,162,23,181,37,162,31,165]},{"a":10416,"t":"byte","b":[37,162,33,135,37,162,37,162]},{"a":10424,"t":"byte","b":[37,162,0,0,0,0,0,0]},{"a":10432,"l":"tune2_v2_notes","c":"Tune 2 voice 2 notes.","t":"byte","b":[12,143,6,71,12,143,9,104]},{"a":10440,"t":"byte","b":[14,24,6,71,12,143,9,104]},{"a":10448,"t":"byte","b":[14,24,12,143,18,209,11,218]},{"a":10456,"t":"byte","b":[18,209,10,143,15,210,9,104]},{"a":10464,"t":"byte","b":[14,24,8,97,16,195,6,71]},{"a":10472,"t":"byte","b":[12,143,8,97,16,195,6,71]},{"a":10480,"t":"byte","b":[12,143,8,97,16,195,7,12]},{"a":10488,"t":"byte","b":[14,24,7,233,11,218,7,233]},{"a":10496,"t":"byte","b":[14,24,6,71,12,143,9,104]},{"a":10504,"t":"byte","b":[14,24,6,71,12,143,9,104]},{"a":10512,"t":"byte","b":[14,24,12,143,18,209,11,218]},{"a":10520,"t":"byte","b":[18,209,10,143,15,210,9,104]},{"a":10528,"t":"byte","b":[14,24,8,97,9,247,4,251]},{"a":10536,"t":"byte","b":[11,218,8,97,9,247,4,251]},{"a":10544,"t":"byte","b":[11,218,8,97,9,104,16,195]},{"a":10552,"t":"byte","b":[16,195,14,24,9,104,9,104]},{"a":10560,"t":"byte","b":[12,143,9,104,10,143,7,233]},{"a":10568,"t":"byte","b":[10,143,11,218,12,143,14,24]},{"a":10576,"t":"byte","b":[15,210,14,24,9,104,10,143]},{"a":10584,"t":"byte","b":[7,233,15,210,7,233,11,218]},{"a":10592,"t":"byte","b":[10,143,11,218,8,225,7,233]},{"a":10600,"t":"byte","b":[10,143,7,233,10,143,11,218]},{"a":10608,"t":"byte","b":[12,143,14,24,15,210,14,24]},{"a":10616,"t":"byte","b":[9,104,10,143,7,233,15,210]},{"a":10624,"t":"byte","b":[7,233,13,78,15,210,9,104]},{"a":10632,"t":"byte","b":[8,97,9,104,9,104,9,104]},{"a":10640,"t":"byte","b":[10,143,9,104,8,97,9,104]},{"a":10648,"t":"byte","b":[7,233,5,237,7,233,8,97]},{"a":10656,"t":"byte","b":[7,233,5,237,7,233,9,104]},{"a":10664,"t":"byte","b":[8,97,9,104,9,104,9,104]},{"a":10672,"t":"byte","b":[10,143,9,104,8,97,9,104]},{"a":10680,"t":"byte","b":[7,233,5,237,7,233,8,97]},{"a":10688,"t":"byte","b":[9,104,9,104,16,195,0,0]},{"a":10696,"t":"byte","b":[9,104,12,143,12,143,8,97]},{"a":10704,"t":"byte","b":[8,97,11,218,11,218,9,104]},{"a":10712,"t":"byte","b":[9,104,12,143,12,143,8,97]},{"a":10720,"t":"byte","b":[8,97,11,218,11,218,15,210]},{"a":10728,"l":"tune4_v1_len","c":"Tune 4 voice 1 note lengths (138 notes).","t":"byte","b":[12,24,12,12,12,12,24,12]},{"a":10736,"t":"byte","b":[12,12,12,24,12,24,12,24]},{"a":10744,"t":"byte","b":[12,24,12,24,12,12,12,12]},{"a":10752,"t":"byte","b":[24,12,12,12,12,24,12,24]},{"a":10760,"t":"byte","b":[12,24,12,24,12,4,4,4]},{"a":10768,"t":"byte","b":[6,6,12,4,4,4,6,6]},{"a":10776,"t":"byte","b":[6,3,3,6,3,3,6,3]},{"a":10784,"t":"byte","b":[3,6,3,3,6,3,3,6]},{"a":10792,"t":"byte","b":[6,12,4,4,4,6,6,12]},{"a":10800,"t":"byte","b":[4,4,4,6,6,6,3,3]},{"a":10808,"t":"byte","b":[6,3,3,6,3,3,6,3]},{"a":10816,"t":"byte","b":[3,6,3,3,6,6,12,24]},{"a":10824,"t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":10832,"t":"byte","b":[12,12,24,12,12,12,12,12]},{"a":10840,"t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":10848,"t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":10856,"t":"byte","b":[24,4,4,4,36,12,12,12]},{"a":10864,"t":"byte","b":[12,24,0,4,4,4,36,12]},{"a":10872,"t":"byte","b":[12,12,12,24,12,24,12,12]},{"a":10880,"t":"byte","b":[12,12,12,12,12,12,32,0]},{"a":10888,"l":"tune4_v2_len","c":"Tune 4 voice 2 note lengths (121 notes).","t":"byte","b":[24,4,4,4,36,24,4,4]},{"a":10896,"t":"byte","b":[4,36,24,6,6,24,12,24]},{"a":10904,"t":"byte","b":[6,6,24,12,24,4,4,4]},{"a":10912,"t":"byte","b":[36,24,4,4,4,36,24,6]},{"a":10920,"t":"byte","b":[6,24,12,24,6,6,24,12]},{"a":10928,"t":"byte","b":[12,4,4,4,6,6,12,4]},{"a":10936,"t":"byte","b":[4,4,6,6,12,12,12,12]},{"a":10944,"t":"byte","b":[12,12,12,4,4,4,6,6]},{"a":10952,"t":"byte","b":[12,4,4,4,6,6,12,12]},{"a":10960,"t":"byte","b":[12,12,12,12,24,4,4,4]},{"a":10968,"t":"byte","b":[36,36,36,24,4,4,4,36]},{"a":10976,"t":"byte","b":[36,36,36,36,36,36,24,4]},{"a":10984,"t":"byte","b":[4,4,36,12,12,12,12,24]},{"a":10992,"t":"byte","b":[24,4,4,4,36,12,12,12]},{"a":11000,"t":"byte","b":[12,24,24,4,4,4,36,36]},{"a":11008,"t":"byte","b":[12,0,0,0,0,0,0,0]},{"a":11016,"l":"tune4_v1_notes","c":"Tune 4 voice 1 notes.","t":"byte","b":[9,104,16,195,9,104,21,28]},{"a":11024,"t":"byte","b":[17,195,9,104,33,135,18,209]},{"a":11032,"t":"byte","b":[47,107,39,223,18,209,23,181]},{"a":11040,"t":"byte","b":[18,209,42,57,18,209,15,210]},{"a":11048,"t":"byte","b":[18,209,21,28,18,209,16,195]},{"a":11056,"t":"byte","b":[18,209,21,28,17,195,18,209]},{"a":11064,"t":"byte","b":[33,135,18,209,47,107,39,223]},{"a":11072,"t":"byte","b":[18,209,44,193,18,209,42,57]},{"a":11080,"t":"byte","b":[18,209,35,134,18,209,37,162]},{"a":11088,"t":"byte","b":[31,165,33,135,31,165,37,162]},{"a":11096,"t":"byte","b":[47,107,18,209,23,181,28,49]},{"a":11104,"t":"byte","b":[26,156,31,165,37,162,18,209]},{"a":11112,"t":"byte","b":[18,209,18,209,28,49,33,135]},{"a":11120,"t":"byte","b":[18,209,22,96,28,49,18,209]},{"a":11128,"t":"byte","b":[22,96,25,30,18,209,18,209]},{"a":11136,"t":"byte","b":[23,181,18,209,15,210,18,209]},{"a":11144,"t":"byte","b":[18,209,15,210,16,195,15,210]},{"a":11152,"t":"byte","b":[18,209,23,181,18,209,12,143]},{"a":11160,"t":"byte","b":[14,24,13,78,15,210,18,209]},{"a":11168,"t":"byte","b":[18,209,18,209,18,209,14,24]},{"a":11176,"t":"byte","b":[16,195,18,209,11,48,14,24]},{"a":11184,"t":"byte","b":[18,209,9,247,11,218,18,209]},{"a":11192,"t":"byte","b":[9,104,11,218,18,209,7,233]},{"a":11200,"t":"byte","b":[9,104,18,209,18,209,16,195]},{"a":11208,"t":"byte","b":[18,209,23,181,21,28,18,209]},{"a":11216,"t":"byte","b":[23,181,21,28,18,209,23,181]},{"a":11224,"t":"byte","b":[21,28,18,209,16,195,18,209]},{"a":11232,"t":"byte","b":[23,181,21,28,18,209,23,181]},{"a":11240,"t":"byte","b":[21,28,18,209,23,181,21,28]},{"a":11248,"t":"byte","b":[18,209,21,28,17,195,18,209]},{"a":11256,"t":"byte","b":[17,195,15,210,18,209,18,209]},{"a":11264,"t":"byte","b":[15,210,18,209,16,195,15,210]},{"a":11272,"t":"byte","b":[14,24,16,195,22,96,23,181]},{"a":11280,"t":"byte","b":[23,181,23,181,21,28,28,49]},{"a":11288,"t":"byte","b":[23,181,33,135,28,49,33,135]},{"a":11296,"t":"byte","b":[44,193,47,107,44,193,47,107]},{"a":11304,"t":"byte","b":[42,57,47,107,23,181,33,135]},{"a":11312,"t":"byte","b":[18,209,23,181,18,209,33,135]},{"a":11320,"t":"byte","b":[31,165,18,209,33,135,31,165]},{"a":11328,"t":"byte","b":[18,209,33,135,31,165,0,0]},{"a":11336,"l":"tune4_v2_notes","c":"Tune 4 voice 2 notes (to $2D39).","t":"byte","b":[7,12,8,97,10,142,11,218]},{"a":11344,"t":"byte","b":[11,48,10,142,14,24,16,195]},{"a":11352,"t":"byte","b":[21,28,17,195,18,209,15,210]},{"a":11360,"t":"byte","b":[11,218,15,210,14,24,11,218]},{"a":11368,"t":"byte","b":[9,104,7,233,10,142,8,97]},{"a":11376,"t":"byte","b":[7,12,8,97,10,142,11,218]},{"a":11384,"t":"byte","b":[11,48,10,142,14,24,16,195]},{"a":11392,"t":"byte","b":[21,28,17,195,18,209,23,181]},{"a":11400,"t":"byte","b":[23,181,31,165,33,135,28,49]},{"a":11408,"t":"byte","b":[22,96,17,195,23,181,21,28]},{"a":11416,"t":"byte","b":[23,181,21,28,22,96,18,209]},{"a":11424,"t":"byte","b":[15,210,18,209,18,209,15,210]},{"a":11432,"t":"byte","b":[14,24,15,210,11,218,18,209]},{"a":11440,"t":"byte","b":[8,225,11,48,14,24,15,210]},{"a":11448,"t":"byte","b":[17,195,22,96,11,218,10,142]},{"a":11456,"t":"byte","b":[11,48,9,104,7,233,9,104]},{"a":11464,"t":"byte","b":[9,104,7,233,7,12,7,233]},{"a":11472,"t":"byte","b":[5,237,9,104,4,251,5,152]},{"a":11480,"t":"byte","b":[7,12,7,233,9,104,5,237]},{"a":11488,"t":"byte","b":[10,142,6,71,8,97,9,104]},{"a":11496,"t":"byte","b":[7,233,7,233,7,233,10,142]},{"a":11504,"t":"byte","b":[6,71,8,97,9,104,7,233]},{"a":11512,"t":"byte","b":[7,233,7,233,8,97,7,233]},{"a":11520,"t":"byte","b":[10,142,4,251,7,12,8,97]},{"a":11528,"t":"byte","b":[11,48,5,237,5,152,5,237]},{"a":11536,"t":"byte","b":[4,251,7,12,5,237,8,97]},{"a":11544,"t":"byte","b":[7,12,8,97,11,48,6,71]},{"a":11552,"t":"byte","b":[5,152,5,237,10,142,7,12]},{"a":11560,"t":"byte","b":[5,237,8,97,7,233,9,104]},{"a":11568,"t":"byte","b":[11,218,14,24,11,218,11,218]},{"a":11576,"t":"byte","b":[11,218,0,0,0,0,0,0]},{"a":11584,"l":"orphan_fragment_2d40","c":"Sixteen bytes that decode as code (LDA #0 / STA $DB / STA $DA / STA $98BB / RTS, then LDA $18F0,X ...) but that no instruction reaches: a leftover of an earlier build, beside tardis_music_off at $2D50.","t":"byte","b":[169,0,133,219,133,218,141,187]},{"a":11592,"t":"byte","b":[152,96,189,240,24,74,24,125]},{"a":11600,"l":"tardis_music_off","c":"Called from $C8B0 (end-of-game path): JSR $C89C (music off, tune 5), then JMP $FD4F. Sits among leftover bytes: $2D40-$2D4F look like a code fragment nothing calls.","t":"code","b":[32,156,200],"m":"jsr","oa":51356,"o":"sound_silence_all"},{"a":11603,"t":"code","b":[76,79,253],"m":"jmp","oa":64847,"o":"doctor_leave_script"},{"a":11606,"l":"fill_2d56","c":"Filler: $0D bytes then zeros and $FF after tardis_music_off; nothing reads them.","t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":11614,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":11622,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":11630,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":11638,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":11646,"t":"byte","b":[13,0,0,127]},{"a":11650,"t":"gap","n":126},{"a":11776,"l":"alt_glyphs","c":"Alternative glyphs: 16 characters x 2 variants x 8 bytes. $ABCF swaps the glyphs of play characters $A1-$A5 and $F5-$FF ($ABAC) with variant 0 ($2E00+16n) or 1 (+8) by zone $56, and their colours with $3E60/$3E70.","t":"byte","b":[235,215,235,215,235,215,235,215]},{"a":11784,"t":"byte","b":[253,127,255,255,125,255,247,255]},{"a":11792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11800,"t":"byte","b":[255,195,243,243,207,195,255,255]},{"a":11808,"t":"byte","b":[1,48,15,10,11,17,0,120]},{"a":11816,"t":"byte","b":[255,12,204,12,207,15,255,255]},{"a":11824,"t":"byte","b":[176,100,12,2,32,8,58,208]},{"a":11832,"t":"byte","b":[204,204,204,204,204,204,204,255]},{"a":11840,"t":"byte","b":[0,0,34,4,47,146,0,30]},{"a":11848,"t":"byte","b":[12,204,204,60,204,204,207,255]},{"a":11856,"t":"byte","b":[3,51,3,48,113,254,109,108]},{"a":11864,"t":"byte","b":[207,207,207,207,207,15,63,255]},{"a":11872,"t":"byte","b":[109,110,109,110,109,110,109,110]},{"a":11880,"t":"byte","b":[19,79,15,15,61,221,223,247]},{"a":11888,"t":"byte","b":[59,12,4,20,56,13,8,12]},{"a":11896,"t":"byte","b":[192,244,244,52,23,55,13,15]},{"a":11904,"t":"byte","b":[33,206,32,32,28,32,19,32]},{"a":11912,"t":"byte","b":[48,124,255,223,215,221,63,61]},{"a":11920,"t":"byte","b":[0,47,47,203,203,242,242,0]},{"a":11928,"t":"byte","b":[80,80,84,116,252,204,28,92]},{"a":11936,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":11944,"t":"byte","b":[223,223,20,20,20,20,247,247]},{"a":11952,"t":"byte","b":[242,242,242,0,203,203,47,47]},{"a":11960,"t":"byte","b":[255,255,51,51,51,0,255,255]},{"a":11968,"t":"byte","b":[255,213,218,218,216,216,216,216]},{"a":11976,"t":"byte","b":[221,221,221,221,221,221,221,221]},{"a":11984,"t":"byte","b":[213,213,53,53,29,77,19,7]},{"a":11992,"t":"byte","b":[208,216,216,216,216,216,208,208]},{"a":12000,"t":"byte","b":[87,87,92,92,116,112,208,196]},{"a":12008,"t":"byte","b":[0,0,252,84,0,0,252,87]},{"a":12016,"t":"byte","b":[184,205,205,221,50,205,205,255]},{"a":12024,"t":"byte","b":[208,252,223,213,208,244,255,255]},{"a":12032,"l":"char_colour","c":"Colour of each play-area character code (256 entries, multicolour values $08-$0F): the screen rebuild copies the screen through it into colour RAM ($8EB8), and the overlay code copies entries ($845C). $ABCF swaps entries for the variant characters.","t":"byte","b":[15,127,255,255,255,255,255,255],"x":[33884,33887,36539,44091,44098,44703]},{"a":12040,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":12048,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":12056,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":12064,"t":"byte","b":[14,8,9,10,10,11,11,14]},{"a":12072,"t":"byte","b":[14,14,13,13,11,10,13,11]},{"a":12080,"t":"byte","b":[9,11,13,13,13,14,9,13]},{"a":12088,"t":"byte","b":[15,11]},{"a":12090,"l":"char_colour_3a","c":"Colour of character $3A: $0D at a new game ($9422), rewritten at $BABD.","t":"byte","b":[13,15,15,10,10,10,10,14],"x":[37922,47805]},{"a":12098,"t":"byte","b":[15,10,10,10,10,11,15,15]},{"a":12106,"t":"byte","b":[15,15,15,15,11,11,13,11]},{"a":12114,"t":"byte","b":[11,11,11,11,15,9,11,13]},{"a":12122,"t":"byte","b":[9,15,15,2,15,15,15,15]},{"a":12130,"t":"byte","b":[10,15,15,15,13,15,13,13]},{"a":12138,"t":"byte","b":[15,12,15,11,11,11,11,11]},{"a":12146,"t":"byte","b":[11,11,11,11,11,13,13,13]},{"a":12154,"t":"byte","b":[13,13,13,11,9,10,10,15]},{"a":12162,"t":"byte","b":[13,13,13,10,10,15,15,15]},{"a":12170,"t":"byte","b":[15,15,15,15,15,11,11,15]},{"a":12178,"t":"byte","b":[13,11,13,14,15,15,13,14]},{"a":12186,"t":"byte","b":[13,15,13,13,11,13,13]},{"a":12193,"l":"char_colour_a1","c":"Colour of character $A1: $0D at a new game ($941F), rewritten at $BABA.","t":"byte","b":[3,3,3,3,3,15,15,15],"x":[37919,47802]},{"a":12201,"t":"byte","b":[15,6,6,6,6,6,6,6]},{"a":12209,"t":"byte","b":[14,14,14,14,11,15,13,13]},{"a":12217,"t":"byte","b":[13,15,15,15,15,15,15,15]},{"a":12225,"t":"byte","b":[15,15,15,9,9,9,15,14]},{"a":12233,"t":"byte","b":[14,15,13,13,14,15,13,13]},{"a":12241,"t":"byte","b":[13,14,12,13,15,15,15,15]},{"a":12249,"t":"byte","b":[15,13,11,10,10,13,13,14]},{"a":12257,"t":"byte","b":[14,12,15,15,15,11,6,15]},{"a":12265,"t":"byte","b":[15,15,15,13,13,15,15,15]},{"a":12273,"t":"byte","b":[15,15,15,14,1,1,1,1]},{"a":12281,"t":"byte","b":[1,1,1,1,1,1,1]},{"a":12288,"l":"block_defs_0","c":"Block definitions 00-3F: 16 character codes each, 4 rows of 4 (row-major), addressed through $1400/$1500. The map ($E000-$FBFF) is made of these blocks.","t":"byte","b":[32,32,32,32,166,166,166,166]},{"a":12296,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":12304,"t":"byte","b":[32,32,32,32,32,72,34,34]},{"a":12312,"t":"byte","b":[72,34,91,33,34,91,33,33]},{"a":12320,"t":"byte","b":[32,32,72,34,32,72,34,91]},{"a":12328,"t":"byte","b":[72,34,91,33,34,91,33,33]},{"a":12336,"t":"byte","b":[251,251,251,251,34,34,34,34]},{"a":12344,"t":"byte","b":[129,164,165,245,103,34,34,185]},{"a":12352,"t":"byte","b":[36,36,36,36,33,33,33,33]},{"a":12360,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":12368,"t":"byte","b":[36,143,144,36,33,37,38,33]},{"a":12376,"t":"byte","b":[33,37,38,33,33,37,38,33]},{"a":12384,"t":"byte","b":[33,37,38,33,33,37,38,33]},{"a":12392,"t":"byte","b":[33,37,38,33,33,37,38,33]},{"a":12400,"t":"byte","b":[36,143,144,36,33,37,38,33]},{"a":12408,"t":"byte","b":[33,37,38,33,33,37,38,33]},{"a":12416,"t":"byte","b":[33,33,33,127,33,33,127,33]},{"a":12424,"t":"byte","b":[33,127,33,33,127,33,33,33]},{"a":12432,"t":"byte","b":[35,35,35,35,35,35,35,35]},{"a":12440,"t":"byte","b":[162,163,169,35,35,35,35,35]},{"a":12448,"t":"byte","b":[36,36,36,36,35,35,35,35]},{"a":12456,"t":"byte","b":[230,230,230,230,250,250,250,250]},{"a":12464,"t":"byte","b":[34,33,33,33,34,33,33,33]},{"a":12472,"t":"byte","b":[34,33,33,33,34,33,33,33]},{"a":12480,"t":"byte","b":[35,35,35,35,35,35,35,35]},{"a":12488,"t":"byte","b":[35,35,35,35,35,35,35,35]},{"a":12496,"t":"byte","b":[36,36,36,36,33,43,44,33]},{"a":12504,"t":"byte","b":[45,218,219,85,33,43,44,33]},{"a":12512,"t":"byte","b":[33,33,33,33,46,46,49,33]},{"a":12520,"t":"byte","b":[47,82,44,33,33,43,44,33]},{"a":12528,"t":"byte","b":[35,252,252,252,35,35,35,35]},{"a":12536,"t":"byte","b":[134,35,230,230,33,134,250,250]},{"a":12544,"t":"byte","b":[252,252,252,35,35,35,35,35]},{"a":12552,"t":"byte","b":[230,230,35,133,250,250,133,33]},{"a":12560,"t":"byte","b":[33,43,44,33,46,84,83,46]},{"a":12568,"t":"byte","b":[47,47,47,47,33,33,33,33]},{"a":12576,"t":"byte","b":[33,33,33,33,46,89,46,46]},{"a":12584,"t":"byte","b":[47,88,47,47,33,33,33,33]},{"a":12592,"t":"byte","b":[33,37,38,33,46,37,38,46]},{"a":12600,"t":"byte","b":[47,37,38,47,33,37,38,33]},{"a":12608,"t":"byte","b":[33,84,83,33,46,147,147,46]},{"a":12616,"t":"byte","b":[47,147,147,47,33,82,81,33]},{"a":12624,"t":"byte","b":[33,33,33,33,33,80,46,46]},{"a":12632,"t":"byte","b":[33,43,81,47,33,43,44,33]},{"a":12640,"t":"byte","b":[32,32,32,32,166,166,166,166]},{"a":12648,"t":"byte","b":[46,46,49,33,47,82,44,33]},{"a":12656,"t":"byte","b":[32,32,32,32,166,166,166,166]},{"a":12664,"t":"byte","b":[46,89,46,46,47,88,47,47]},{"a":12672,"t":"byte","b":[32,32,32,32,32,72,34,34]},{"a":12680,"t":"byte","b":[72,34,75,46,34,75,32,47]},{"a":12688,"t":"byte","b":[32,32,33,33,32,32,33,33]},{"a":12696,"t":"byte","b":[32,32,33,33,32,32,33,33]},{"a":12704,"t":"byte","b":[32,32,72,34,32,72,34,75]},{"a":12712,"t":"byte","b":[72,34,75,32,34,75,32,32]},{"a":12720,"t":"byte","b":[53,65,224,65,65,224,65,53]},{"a":12728,"t":"byte","b":[53,65,53,224,224,53,224,65]},{"a":12736,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":12744,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":12752,"t":"byte","b":[33,43,44,33,33,43,44,33]},{"a":12760,"t":"byte","b":[45,218,219,85,33,43,44,33]},{"a":12768,"t":"byte","b":[33,43,44,33,33,43,83,46]},{"a":12776,"t":"byte","b":[33,78,47,47,33,33,33,33]},{"a":12784,"t":"byte","b":[199,199,199,199,32,32,32,32]},{"a":12792,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":12800,"t":"byte","b":[36,36,36,36,33,160,33,33]},{"a":12808,"t":"byte","b":[33,160,33,33,33,160,33,33]},{"a":12816,"t":"byte","b":[33,39,33,33,33,39,33,33]},{"a":12824,"t":"byte","b":[34,34,34,34,34,33,33,33]},{"a":12832,"t":"byte","b":[52,208,52,207,209,209,207,208]},{"a":12840,"t":"byte","b":[207,208,209,52,121,123,124,123]},{"a":12848,"t":"byte","b":[36,36,36,36,236,107,107,237]},{"a":12856,"t":"byte","b":[236,107,107,237,236,107,107,237]},{"a":12864,"t":"byte","b":[236,107,107,237,236,107,107,237]},{"a":12872,"t":"byte","b":[202,142,202,34,222,222,222,222]},{"a":12880,"t":"byte","b":[130,250,250,132,35,250,250,35]},{"a":12888,"t":"byte","b":[35,250,250,35,132,250,250,130]},{"a":12896,"t":"byte","b":[35,35,35,35,35,115,116,35]},{"a":12904,"t":"byte","b":[35,118,117,35,35,35,35,35]},{"a":12912,"t":"byte","b":[33,33,33,34,33,33,33,34]},{"a":12920,"t":"byte","b":[33,33,33,34,33,33,33,34]},{"a":12928,"t":"byte","b":[33,43,44,33,33,43,44,33]},{"a":12936,"t":"byte","b":[33,43,44,33,36,36,36,36]},{"a":12944,"t":"byte","b":[34,36,36,36,34,33,33,33]},{"a":12952,"t":"byte","b":[34,33,33,33,34,33,33,33]},{"a":12960,"t":"byte","b":[34,33,33,33,34,76,33,33]},{"a":12968,"t":"byte","b":[74,34,33,33,32,34,76,33]},{"a":12976,"t":"byte","b":[32,74,34,33,32,32,34,76]},{"a":12984,"t":"byte","b":[32,32,74,34,32,32,32,34]},{"a":12992,"t":"byte","b":[34,76,33,33,74,34,76,33]},{"a":13000,"t":"byte","b":[32,74,34,76,32,32,74,34]},{"a":13008,"t":"byte","b":[34,34,76,33,32,74,34,34]},{"a":13016,"t":"byte","b":[32,32,32,74,32,32,32,32]},{"a":13024,"t":"byte","b":[33,33,33,33,76,33,33,33]},{"a":13032,"t":"byte","b":[34,34,76,33,32,74,34,34]},{"a":13040,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":13048,"t":"byte","b":[33,33,33,33,36,36,36,36]},{"a":13056,"t":"byte","b":[33,33,33,33,33,33,33,77]},{"a":13064,"t":"byte","b":[33,77,34,34,34,34,75,32]},{"a":13072,"t":"byte","b":[33,77,34,34,34,34,75,32]},{"a":13080,"t":"byte","b":[75,32,32,32,32,32,32,32]},{"a":13088,"t":"byte","b":[33,33,77,34,33,77,34,75]},{"a":13096,"t":"byte","b":[77,34,75,32,34,75,32,32]},{"a":13104,"t":"byte","b":[33,34,75,32,77,34,32,32]},{"a":13112,"t":"byte","b":[34,75,32,32,34,32,32,32]},{"a":13120,"t":"byte","b":[33,33,33,34,33,33,77,34]},{"a":13128,"t":"byte","b":[33,33,34,75,33,77,34,32]},{"a":13136,"t":"byte","b":[35,35,35,35,35,251,251,35]},{"a":13144,"t":"byte","b":[35,251,251,35,35,35,35,35]},{"a":13152,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":13160,"t":"byte","b":[33,33,33,33,33,33,33,34]},{"a":13168,"t":"byte","b":[208,209,52,122,207,52,207,123]},{"a":13176,"t":"byte","b":[209,208,208,122,52,209,207,124]},{"a":13184,"t":"byte","b":[33,43,44,33,46,84,44,33]},{"a":13192,"t":"byte","b":[47,47,79,33,33,33,33,33]},{"a":13200,"t":"byte","b":[36,36,36,36,65,53,224,53]},{"a":13208,"t":"byte","b":[65,224,53,224,53,65,65,224]},{"a":13216,"t":"byte","b":[94,95,94,95,100,90,90,100]},{"a":13224,"t":"byte","b":[100,90,90,100,97,252,252,96]},{"a":13232,"t":"byte","b":[149,149,149,149,100,100,140,141]},{"a":13240,"t":"byte","b":[100,155,135,136,92,100,100,100]},{"a":13248,"t":"byte","b":[33,43,44,34,33,43,44,34]},{"a":13256,"t":"byte","b":[33,78,47,34,33,33,33,34]},{"a":13264,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":13272,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":13280,"t":"byte","b":[33,33,33,33,46,46,46,46]},{"a":13288,"t":"byte","b":[47,82,81,47,33,43,44,33]},{"a":13296,"t":"byte","b":[34,34,34,34,229,229,229,229]},{"a":13304,"t":"byte","b":[229,229,229,229,229,229,229,229]},{"a":13312,"l":"block_defs_1","c":"Block definitions 40-7F: 16 character codes each, 4 rows of 4 (row-major), addressed through $1400/$1500. The map ($E000-$FBFF) is made of these blocks.","t":"byte","b":[229,229,229,229,34,34,34,34]},{"a":13320,"t":"byte","b":[106,106,106,106,106,106,106,106]},{"a":13328,"t":"byte","b":[34,43,44,33,34,43,44,33]},{"a":13336,"t":"byte","b":[34,47,79,33,34,33,33,33]},{"a":13344,"t":"byte","b":[149,149,149,149,142,129,100,100]},{"a":13352,"t":"byte","b":[137,138,139,100,100,100,100,91]},{"a":13360,"t":"byte","b":[201,200,153,153,205,153,200,205]},{"a":13368,"t":"byte","b":[153,201,205,201,205,200,205,153]},{"a":13376,"t":"byte","b":[59,52,201,205,65,59,52,205]},{"a":13384,"t":"byte","b":[224,65,59,52,53,224,53,59]},{"a":13392,"t":"byte","b":[205,201,207,60,205,207,60,53]},{"a":13400,"t":"byte","b":[207,60,224,65,60,65,53,224]},{"a":13408,"t":"byte","b":[53,53,65,156,65,224,203,52]},{"a":13416,"t":"byte","b":[224,156,52,205,203,52,205,153]},{"a":13424,"t":"byte","b":[245,53,224,65,52,203,65,53]},{"a":13432,"t":"byte","b":[205,52,157,224,201,201,52,207]},{"a":13440,"t":"byte","b":[119,120,122,124,32,32,32,32]},{"a":13448,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":13456,"t":"byte","b":[53,37,38,224,224,37,38,65]},{"a":13464,"t":"byte","b":[65,37,38,53,53,37,38,224]},{"a":13472,"t":"byte","b":[53,37,38,53,53,37,38,53]},{"a":13480,"t":"byte","b":[53,37,38,53,36,143,144,36]},{"a":13488,"t":"byte","b":[36,36,36,36,33,37,38,33]},{"a":13496,"t":"byte","b":[33,37,38,33,33,37,38,33]},{"a":13504,"t":"byte","b":[33,43,44,33,33,43,83,46]},{"a":13512,"t":"byte","b":[33,43,81,47,33,43,44,33]},{"a":13520,"t":"byte","b":[123,121,124,122,208,207,52,208]},{"a":13528,"t":"byte","b":[209,52,209,207,207,209,208,52]},{"a":13536,"t":"byte","b":[36,143,144,36,53,37,38,224]},{"a":13544,"t":"byte","b":[224,37,38,53,65,37,38,65]},{"a":13552,"t":"byte","b":[36,36,36,36,149,149,149,149]},{"a":13560,"t":"byte","b":[149,149,149,149,149,149,149,149]},{"a":13568,"t":"byte","b":[34,73,32,32,92,34,73,32]},{"a":13576,"t":"byte","b":[33,92,34,73,33,33,92,34]},{"a":13584,"t":"byte","b":[153,201,153,204,244,52,244,52]},{"a":13592,"t":"byte","b":[224,245,53,245,65,53,224,244]},{"a":13600,"t":"byte","b":[120,208,207,208,33,120,52,207]},{"a":13608,"t":"byte","b":[33,33,120,120,33,33,33,120]},{"a":13616,"t":"byte","b":[208,209,208,119,208,52,119,33]},{"a":13624,"t":"byte","b":[119,119,33,33,119,33,33,33]},{"a":13632,"t":"byte","b":[33,33,33,121,33,33,122,208]},{"a":13640,"t":"byte","b":[33,124,208,209,123,209,209,208]},{"a":13648,"t":"byte","b":[121,33,33,33,207,124,124,33]},{"a":13656,"t":"byte","b":[208,209,122,33,208,207,209,124]},{"a":13664,"t":"byte","b":[115,111,111,116,114,109,110,113]},{"a":13672,"t":"byte","b":[114,110,109,113,118,112,112,117]},{"a":13680,"t":"byte","b":[128,33,33,33,33,128,33,33]},{"a":13688,"t":"byte","b":[33,33,128,33,33,33,33,128]},{"a":13696,"t":"byte","b":[36,36,36,36,114,246,107,113]},{"a":13704,"t":"byte","b":[114,247,249,113,118,246,112,117]},{"a":13712,"t":"byte","b":[34,34,34,34,34,43,44,33]},{"a":13720,"t":"byte","b":[34,218,219,85,34,43,44,33]},{"a":13728,"t":"byte","b":[54,54,54,54,33,33,33,33]},{"a":13736,"t":"byte","b":[33,33,33,33,210,210,210,210]},{"a":13744,"t":"byte","b":[34,34,34,34,33,43,44,34]},{"a":13752,"t":"byte","b":[45,218,219,34,33,43,44,34]},{"a":13760,"t":"byte","b":[34,33,33,33,34,46,49,33]},{"a":13768,"t":"byte","b":[34,82,44,33,34,43,44,33]},{"a":13776,"t":"byte","b":[33,43,44,33,46,84,44,33]},{"a":13784,"t":"byte","b":[47,82,44,33,33,43,44,33]},{"a":13792,"t":"byte","b":[94,95,94,95,100,98,98,100]},{"a":13800,"t":"byte","b":[100,98,98,100,97,99,101,96]},{"a":13808,"t":"byte","b":[33,33,247,108,33,107,246,249]},{"a":13816,"t":"byte","b":[33,104,247,248,33,33,246,249]},{"a":13824,"t":"byte","b":[33,104,247,107,33,107,246,249]},{"a":13832,"t":"byte","b":[33,104,247,248,33,33,246,249]},{"a":13840,"t":"byte","b":[33,33,33,34,33,80,34,34]},{"a":13848,"t":"byte","b":[33,43,44,34,33,43,44,34]},{"a":13856,"t":"byte","b":[34,33,33,33,34,46,46,46]},{"a":13864,"t":"byte","b":[34,47,47,47,34,33,33,33]},{"a":13872,"t":"byte","b":[33,33,247,248,33,107,246,249]},{"a":13880,"t":"byte","b":[33,104,247,108,33,33,246,249]},{"a":13888,"t":"byte","b":[33,33,247,33,33,107,246,33]},{"a":13896,"t":"byte","b":[33,104,247,33,33,33,246,33]},{"a":13904,"t":"byte","b":[33,33,246,33,33,33,247,33]},{"a":13912,"t":"byte","b":[33,33,246,33,36,36,36,36]},{"a":13920,"t":"byte","b":[36,36,36,36,114,109,110,113]},{"a":13928,"t":"byte","b":[114,110,109,113,118,112,112,117]},{"a":13936,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":13944,"t":"byte","b":[32,32,32,32,34,34,34,34]},{"a":13952,"t":"byte","b":[33,39,33,33,33,39,33,33]},{"a":13960,"t":"byte","b":[34,34,34,34,33,33,33,34]},{"a":13968,"t":"byte","b":[36,36,36,36,33,108,246,33]},{"a":13976,"t":"byte","b":[33,104,247,107,33,33,246,249]},{"a":13984,"t":"byte","b":[121,209,208,207,123,52,209,52]},{"a":13992,"t":"byte","b":[122,207,209,208,124,208,52,207]},{"a":14000,"t":"byte","b":[33,33,247,33,46,46,247,46]},{"a":14008,"t":"byte","b":[47,246,247,47,33,33,246,33]},{"a":14016,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":14024,"t":"byte","b":[33,33,33,33,34,33,33,33]},{"a":14032,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":14040,"t":"byte","b":[204,156,163,156,205,200,205,200]},{"a":14048,"t":"byte","b":[54,54,54,54,33,33,33,33]},{"a":14056,"t":"byte","b":[46,46,46,46,47,47,47,47]},{"a":14064,"t":"byte","b":[210,37,38,210,182,37,38,182]},{"a":14072,"t":"byte","b":[182,37,38,182,181,37,38,181]},{"a":14080,"t":"byte","b":[34,166,166,34,210,145,145,181]},{"a":14088,"t":"byte","b":[210,145,145,181,210,145,145,181]},{"a":14096,"t":"byte","b":[210,145,145,181,210,145,145,181]},{"a":14104,"t":"byte","b":[210,145,145,181,36,36,36,36]},{"a":14112,"t":"byte","b":[128,205,201,205,224,128,200,201]},{"a":14120,"t":"byte","b":[53,65,128,200,224,53,65,128]},{"a":14128,"t":"byte","b":[205,201,205,127,201,205,127,53]},{"a":14136,"t":"byte","b":[205,127,53,224,127,65,224,65]},{"a":14144,"t":"byte","b":[52,208,209,208,119,154,33,52]},{"a":14152,"t":"byte","b":[33,52,33,154,33,33,33,33]},{"a":14160,"t":"byte","b":[210,210,210,210,182,182,182,182]},{"a":14168,"t":"byte","b":[182,182,182,182,181,181,181,181]},{"a":14176,"t":"byte","b":[33,143,144,33,33,143,144,33]},{"a":14184,"t":"byte","b":[33,143,144,33,36,143,144,36]},{"a":14192,"t":"byte","b":[210,145,145,181,210,145,145,181]},{"a":14200,"t":"byte","b":[210,145,145,181,210,145,145,181]},{"a":14208,"t":"byte","b":[33,33,33,33,158,158,158,158]},{"a":14216,"t":"byte","b":[220,220,220,220,33,33,33,33]},{"a":14224,"t":"byte","b":[33,33,33,33,158,158,49,33]},{"a":14232,"t":"byte","b":[220,222,44,33,33,221,44,33]},{"a":14240,"t":"byte","b":[33,221,44,33,33,221,44,33]},{"a":14248,"t":"byte","b":[33,221,44,33,33,221,44,33]},{"a":14256,"t":"byte","b":[33,221,44,33,33,221,83,158]},{"a":14264,"t":"byte","b":[33,223,220,220,33,33,33,33]},{"a":14272,"t":"byte","b":[36,36,36,36,33,221,44,33]},{"a":14280,"t":"byte","b":[33,221,44,33,33,221,44,33]},{"a":14288,"t":"byte","b":[161,161,161,161,33,161,161,161]},{"a":14296,"t":"byte","b":[33,33,161,161,33,33,33,161]},{"a":14304,"t":"byte","b":[161,161,161,161,161,161,161,33]},{"a":14312,"t":"byte","b":[161,161,33,33,161,33,33,33]},{"a":14320,"t":"byte","b":[33,33,33,253,33,33,253,249]},{"a":14328,"t":"byte","b":[33,253,251,251,253,249,249,249]},{"a":14336,"l":"block_defs_2","c":"Block definitions 80-BF: 16 character codes each, 4 rows of 4 (row-major), addressed through $1400/$1500. The map ($E000-$FBFF) is made of these blocks.","t":"byte","b":[254,33,33,33,249,254,33,33]},{"a":14344,"t":"byte","b":[251,251,254,33,249,249,249,254]},{"a":14352,"t":"byte","b":[251,251,251,251,249,249,249,249]},{"a":14360,"t":"byte","b":[251,251,251,251,249,249,249,249]},{"a":14368,"t":"byte","b":[107,107,107,107,107,107,107,107]},{"a":14376,"t":"byte","b":[107,107,107,107,107,107,107,107]},{"a":14384,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":14392,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":14400,"t":"byte","b":[36,36,36,34,33,33,33,34]},{"a":14408,"t":"byte","b":[33,33,33,34,33,33,33,34]},{"a":14416,"t":"byte","b":[32,32,32,34,32,32,32,34]},{"a":14424,"t":"byte","b":[32,32,32,34,32,32,32,34]},{"a":14432,"t":"byte","b":[46,46,46,46,252,252,252,252]},{"a":14440,"t":"byte","b":[46,46,46,46,252,252,252,252]},{"a":14448,"t":"byte","b":[33,33,33,34,33,33,33,34]},{"a":14456,"t":"byte","b":[33,33,33,34,36,36,36,34]},{"a":14464,"t":"byte","b":[34,33,33,33,34,33,33,33]},{"a":14472,"t":"byte","b":[34,33,33,33,34,36,36,36]},{"a":14480,"t":"byte","b":[32,32,32,34,34,34,34,34]},{"a":14488,"t":"byte","b":[33,33,33,34,33,33,33,34]},{"a":14496,"t":"byte","b":[36,36,36,36,251,251,251,251]},{"a":14504,"t":"byte","b":[250,250,250,250,249,249,249,249]},{"a":14512,"t":"byte","b":[33,186,161,33,33,186,161,33]},{"a":14520,"t":"byte","b":[33,186,161,33,33,186,161,33]},{"a":14528,"t":"byte","b":[36,36,36,36,186,246,246,246]},{"a":14536,"t":"byte","b":[33,186,161,33,33,186,161,33]},{"a":14544,"t":"byte","b":[32,32,32,32,34,34,73,32]},{"a":14552,"t":"byte","b":[33,92,34,73,33,33,92,34]},{"a":14560,"t":"byte","b":[33,33,33,57,33,33,33,57]},{"a":14568,"t":"byte","b":[33,33,33,57,33,33,33,57]},{"a":14576,"t":"byte","b":[35,33,33,33,35,33,33,33]},{"a":14584,"t":"byte","b":[35,33,33,33,35,33,33,33]},{"a":14592,"t":"byte","b":[36,36,36,36,44,33,33,33]},{"a":14600,"t":"byte","b":[44,33,33,33,44,33,33,33]},{"a":14608,"t":"byte","b":[36,36,36,36,33,61,33,33]},{"a":14616,"t":"byte","b":[33,33,128,33,33,33,33,128]},{"a":14624,"t":"byte","b":[36,36,36,36,33,33,62,33]},{"a":14632,"t":"byte","b":[33,127,33,33,127,33,33,33]},{"a":14640,"t":"byte","b":[33,33,33,127,46,46,127,46]},{"a":14648,"t":"byte","b":[47,127,47,47,127,33,33,33]},{"a":14656,"t":"byte","b":[128,33,33,33,46,128,46,46]},{"a":14664,"t":"byte","b":[47,47,128,47,33,33,33,128]},{"a":14672,"t":"byte","b":[36,36,36,36,53,61,224,53]},{"a":14680,"t":"byte","b":[53,65,128,65,65,224,224,128]},{"a":14688,"t":"byte","b":[36,36,36,36,224,53,62,224]},{"a":14696,"t":"byte","b":[53,127,224,65,127,65,224,53]},{"a":14704,"t":"byte","b":[224,65,53,127,65,224,127,224]},{"a":14712,"t":"byte","b":[224,127,224,65,127,65,224,53]},{"a":14720,"t":"byte","b":[128,53,65,224,65,128,224,53]},{"a":14728,"t":"byte","b":[224,53,128,65,53,65,224,128]},{"a":14736,"t":"byte","b":[36,36,36,36,33,61,33,33]},{"a":14744,"t":"byte","b":[33,33,128,33,33,33,33,128]},{"a":14752,"t":"byte","b":[36,36,36,36,33,33,62,33]},{"a":14760,"t":"byte","b":[33,127,33,33,127,33,33,33]},{"a":14768,"t":"byte","b":[128,52,208,208,33,128,52,156]},{"a":14776,"t":"byte","b":[33,33,128,52,33,33,33,128]},{"a":14784,"t":"byte","b":[208,207,208,127,207,208,127,33]},{"a":14792,"t":"byte","b":[208,127,33,33,127,33,33,33]},{"a":14800,"t":"byte","b":[36,36,36,36,33,33,33,57]},{"a":14808,"t":"byte","b":[33,33,33,57,33,33,33,57]},{"a":14816,"t":"byte","b":[36,36,36,36,35,33,33,33]},{"a":14824,"t":"byte","b":[35,33,33,33,35,33,33,33]},{"a":14832,"t":"byte","b":[33,100,33,33,33,100,33,33]},{"a":14840,"t":"byte","b":[33,90,33,33,33,33,33,33]},{"a":14848,"t":"byte","b":[34,43,44,33,34,43,44,33]},{"a":14856,"t":"byte","b":[34,218,219,85,34,43,44,33]},{"a":14864,"t":"byte","b":[33,43,44,34,33,43,44,34]},{"a":14872,"t":"byte","b":[45,218,219,34,33,43,44,34]},{"a":14880,"t":"byte","b":[33,33,33,34,46,46,49,34]},{"a":14888,"t":"byte","b":[47,82,44,34,33,43,44,34]},{"a":14896,"t":"byte","b":[124,209,208,124,122,207,52,124]},{"a":14904,"t":"byte","b":[124,208,207,121,121,52,209,122]},{"a":14912,"t":"byte","b":[33,43,44,34,46,84,44,34]},{"a":14920,"t":"byte","b":[47,47,79,34,33,33,33,34]},{"a":14928,"t":"byte","b":[34,43,44,33,34,43,83,46]},{"a":14936,"t":"byte","b":[34,78,47,47,34,33,33,33]},{"a":14944,"t":"byte","b":[149,149,149,149,100,100,140,141]},{"a":14952,"t":"byte","b":[100,155,135,136,74,100,100,100]},{"a":14960,"t":"byte","b":[149,149,149,149,142,129,100,100]},{"a":14968,"t":"byte","b":[137,138,139,100,100,100,100,75]},{"a":14976,"t":"byte","b":[36,36,36,36,149,149,149,149]},{"a":14984,"t":"byte","b":[149,149,149,149,149,149,149,149]},{"a":14992,"t":"byte","b":[36,36,36,36,100,49,80,100]},{"a":15000,"t":"byte","b":[227,100,100,228,43,149,149,113]},{"a":15008,"t":"byte","b":[43,149,149,113,43,149,149,113]},{"a":15016,"t":"byte","b":[43,149,149,113,43,149,149,113]},{"a":15024,"t":"byte","b":[43,149,149,113,43,149,149,113]},{"a":15032,"t":"byte","b":[43,94,95,113,33,97,96,33]},{"a":15040,"t":"byte","b":[36,36,36,36,161,161,161,161]},{"a":15048,"t":"byte","b":[161,161,161,161,58,58,58,58]},{"a":15056,"t":"byte","b":[33,33,33,33,33,150,151,33]},{"a":15064,"t":"byte","b":[67,68,69,70,33,71,33,33]},{"a":15072,"t":"byte","b":[163,123,121,122,164,122,123,124]},{"a":15080,"t":"byte","b":[154,123,119,164,156,124,120,119]},{"a":15088,"t":"byte","b":[163,123,121,122,164,122,123,124]},{"a":15096,"t":"byte","b":[53,163,119,164,224,53,156,119]},{"a":15104,"t":"byte","b":[53,165,121,122,65,224,164,124]},{"a":15112,"t":"byte","b":[53,65,53,156,224,53,224,65]},{"a":15120,"t":"byte","b":[33,33,33,33,33,123,33,33]},{"a":15128,"t":"byte","b":[33,208,122,33,123,52,209,207]},{"a":15136,"t":"byte","b":[177,178,180,179,177,178,180,179]},{"a":15144,"t":"byte","b":[177,178,180,179,177,178,180,179]},{"a":15152,"t":"byte","b":[224,247,53,224,53,245,224,248]},{"a":15160,"t":"byte","b":[156,205,122,52,156,200,153,203]},{"a":15168,"t":"byte","b":[207,52,209,208,209,208,209,207]},{"a":15176,"t":"byte","b":[208,209,52,208,207,52,207,52]},{"a":15184,"t":"byte","b":[115,111,111,116,114,115,116,113]},{"a":15192,"t":"byte","b":[114,118,117,113,118,112,112,117]},{"a":15200,"t":"byte","b":[115,111,111,116,114,107,107,113]},{"a":15208,"t":"byte","b":[114,107,107,113,118,112,112,117]},{"a":15216,"t":"byte","b":[36,36,36,36,114,115,116,113]},{"a":15224,"t":"byte","b":[114,118,117,113,118,112,112,117]},{"a":15232,"t":"byte","b":[36,36,36,36,51,42,51,42]},{"a":15240,"t":"byte","b":[185,220,220,220,184,33,33,33]},{"a":15248,"t":"byte","b":[33,33,33,33,46,89,46,46]},{"a":15256,"t":"byte","b":[47,88,47,47,34,34,34,34]},{"a":15264,"t":"byte","b":[65,53,224,53,53,65,224,65]},{"a":15272,"t":"byte","b":[65,53,224,224,204,52,204,123]},{"a":15280,"t":"byte","b":[33,124,33,33,33,52,33,52]},{"a":15288,"t":"byte","b":[123,52,123,52,52,208,52,208]},{"a":15296,"t":"byte","b":[193,186,186,194,187,186,186,188]},{"a":15304,"t":"byte","b":[187,186,186,188,189,191,191,190]},{"a":15312,"t":"byte","b":[36,36,36,36,33,33,33,33]},{"a":15320,"t":"byte","b":[33,33,40,33,33,33,33,33]},{"a":15328,"t":"byte","b":[36,36,36,36,33,43,33,33]},{"a":15336,"t":"byte","b":[33,43,33,33,33,43,33,33]},{"a":15344,"t":"byte","b":[124,124,121,122,208,209,52,209]},{"a":15352,"t":"byte","b":[207,52,207,208,121,123,122,123]},{"a":15360,"l":"block_defs_3","c":"Block definitions C0-FF: 16 character codes each, 4 rows of 4 (row-major), addressed through $1400/$1500. The map ($E000-$FBFF) is made of these blocks. $3E60-$3E7F (blocks $E6-$E7, never in the map) are the alternative colours swapped by $ABCF.","t":"byte","b":[203,208,207,208,53,65,53,224]},{"a":15368,"t":"byte","b":[65,65,53,224,224,65,224,53]},{"a":15376,"t":"byte","b":[36,36,36,36,106,106,106,106]},{"a":15384,"t":"byte","b":[106,192,33,106,33,33,33,33]},{"a":15392,"t":"byte","b":[36,36,36,36,39,33,33,33]},{"a":15400,"t":"byte","b":[39,33,33,33,39,33,33,33]},{"a":15408,"t":"byte","b":[36,36,36,36,33,51,42,33]},{"a":15416,"t":"byte","b":[46,159,212,46,33,33,33,33]},{"a":15424,"t":"byte","b":[36,36,36,36,33,51,42,33]},{"a":15432,"t":"byte","b":[33,255,254,33,33,253,33,33]},{"a":15440,"t":"byte","b":[36,36,36,36,33,51,42,33]},{"a":15448,"t":"byte","b":[33,148,105,33,33,33,152,33]},{"a":15456,"t":"byte","b":[200,201,200,201,201,153,200,153]},{"a":15464,"t":"byte","b":[205,201,201,205,201,200,153,200]},{"a":15472,"t":"byte","b":[200,200,153,201,201,201,205,200]},{"a":15480,"t":"byte","b":[200,153,201,153,205,200,201,200]},{"a":15488,"t":"byte","b":[205,205,201,200,200,200,153,205]},{"a":15496,"t":"byte","b":[200,153,200,201,204,204,203,203]},{"a":15504,"t":"byte","b":[205,153,200,157,153,201,153,52]},{"a":15512,"t":"byte","b":[200,205,200,207,153,200,153,204]},{"a":15520,"t":"byte","b":[203,59,52,204,201,205,201,205]},{"a":15528,"t":"byte","b":[205,200,153,200,153,205,200,205]},{"a":15536,"t":"byte","b":[33,33,33,44,33,33,33,44]},{"a":15544,"t":"byte","b":[33,33,33,44,33,33,33,44]},{"a":15552,"t":"byte","b":[44,33,33,33,44,33,33,33]},{"a":15560,"t":"byte","b":[44,33,33,33,44,33,33,33]},{"a":15568,"t":"byte","b":[184,55,55,55,50,222,55,55]},{"a":15576,"t":"byte","b":[55,50,222,55,46,46,46,46]},{"a":15584,"t":"byte","b":[184,55,55,55,132,222,55,55]},{"a":15592,"t":"byte","b":[33,132,222,55,33,33,46,46]},{"a":15600,"t":"byte","b":[36,36,36,36,55,185,183,55]},{"a":15608,"t":"byte","b":[185,183,55,55,184,55,55,55]},{"a":15616,"t":"byte","b":[204,201,205,200,207,200,201,153]},{"a":15624,"t":"byte","b":[204,205,200,200,203,205,153,200]},{"a":15632,"t":"byte","b":[39,33,33,33,39,33,33,33]},{"a":15640,"t":"byte","b":[39,33,33,33,39,33,33,33]},{"a":15648,"t":"byte","b":[36,36,36,36,33,102,183,55]},{"a":15656,"t":"byte","b":[102,183,55,55,184,55,55,55]},{"a":15664,"t":"byte","b":[52,209,208,209,208,52,207,208]},{"a":15672,"t":"byte","b":[209,207,52,209,207,208,52,207]},{"a":15680,"t":"byte","b":[36,36,36,36,188,188,188,188]},{"a":15688,"t":"byte","b":[220,220,220,220,33,33,33,33]},{"a":15696,"t":"byte","b":[36,36,36,36,40,40,40,33]},{"a":15704,"t":"byte","b":[40,40,40,33,40,40,40,33]},{"a":15712,"t":"byte","b":[210,210,210,210,210,210,210,210]},{"a":15720,"t":"byte","b":[210,210,210,210,210,210,210,210]},{"a":15728,"t":"byte","b":[238,93,93,239,238,93,93,239]},{"a":15736,"t":"byte","b":[56,66,66,86,36,36,36,36]},{"a":15744,"t":"byte","b":[36,36,36,36,238,33,33,239]},{"a":15752,"t":"byte","b":[238,92,91,239,56,66,66,86]},{"a":15760,"t":"byte","b":[33,33,33,33,33,33,46,33]},{"a":15768,"t":"byte","b":[33,33,46,33,33,33,33,33]},{"a":15776,"t":"byte","b":[208,207,52,207,209,52,208,209]},{"a":15784,"t":"byte","b":[52,207,209,52,207,208,52,208]},{"a":15792,"t":"byte","b":[52,208,207,208,207,52,209,52]},{"a":15800,"t":"byte","b":[209,207,208,207,208,209,207,52]},{"a":15808,"t":"byte","b":[34,210,210,210,34,210,210,210]},{"a":15816,"t":"byte","b":[34,210,210,210,34,210,210,210]},{"a":15824,"t":"byte","b":[33,33,33,33,196,197,197,197]},{"a":15832,"t":"byte","b":[33,195,33,33,33,195,33,33]},{"a":15840,"t":"byte","b":[33,33,33,33,197,197,197,198]},{"a":15848,"t":"byte","b":[33,33,195,33,33,33,195,33]},{"a":15856,"t":"byte","b":[33,33,33,33,33,206,33,33]},{"a":15864,"t":"byte","b":[94,108,95,33,71,71,33,33]},{"a":15872,"t":"byte","b":[36,143,144,36,232,233,234,235]},{"a":15880,"t":"byte","b":[33,37,38,33,33,37,38,33]},{"a":15888,"t":"byte","b":[36,143,144,36,240,37,38,243]},{"a":15896,"t":"byte","b":[241,37,38,242,33,37,38,33]},{"a":15904,"t":"byte","b":[36,36,36,63,33,33,33,33]},{"a":15912,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":15920,"t":"byte","b":[64,36,36,36,33,33,33,33]},{"a":15928,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":15936,"t":"byte","b":[64,36,36,36,53,224,53,65]},{"a":15944,"t":"byte","b":[65,224,53,224,224,65,65,53]},{"a":15952,"t":"byte","b":[36,36,36,63,65,224,65,53]},{"a":15960,"t":"byte","b":[224,65,224,53,224,53,53,65]},{"a":15968,"t":"byte","b":[10,10,13,217,33,13,217,221]},{"a":15976,"t":"byte","b":[45,11,12,10,15,10,10,33]},{"a":15984,"t":"byte","b":[13,15,15,15,15,15,13,13]},{"a":15992,"t":"byte","b":[14,13,10,10,11,13,13,13]},{"a":16000,"t":"byte","b":[128,36,36,36,224,65,65,224]},{"a":16008,"t":"byte","b":[65,53,53,53,224,224,65,53]},{"a":16016,"t":"byte","b":[36,36,36,127,65,53,65,224]},{"a":16024,"t":"byte","b":[224,224,53,53,53,65,65,224]},{"a":16032,"t":"byte","b":[128,36,36,36,33,33,33,33]},{"a":16040,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":16048,"t":"byte","b":[36,36,36,127,33,33,33,33]},{"a":16056,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":16064,"t":"byte","b":[106,106,106,106,61,106,106,106]},{"a":16072,"t":"byte","b":[33,188,188,33,33,188,188,33]},{"a":16080,"t":"byte","b":[33,188,188,33,33,188,188,33]},{"a":16088,"t":"byte","b":[33,56,56,66,33,33,33,33]},{"a":16096,"t":"byte","b":[106,106,106,106,106,106,106,62]},{"a":16104,"t":"byte","b":[33,187,187,33,33,187,187,33]},{"a":16112,"t":"byte","b":[33,187,187,33,33,187,187,33]},{"a":16120,"t":"byte","b":[66,86,86,33,33,33,33,33]},{"a":16128,"t":"byte","b":[214,217,214,217,217,214,217,214]},{"a":16136,"t":"byte","b":[214,217,214,217,33,214,217,33]},{"a":16144,"t":"byte","b":[36,36,36,36,43,41,33,33]},{"a":16152,"t":"byte","b":[43,41,33,33,43,41,33,33]},{"a":16160,"t":"byte","b":[36,36,36,36,114,113,112,112]},{"a":16168,"t":"byte","b":[114,113,112,112,118,117,33,33]},{"a":16176,"t":"byte","b":[36,36,36,34,114,113,112,34]},{"a":16184,"t":"byte","b":[114,113,112,34,118,117,33,34]},{"a":16192,"t":"byte","b":[33,33,33,127,33,33,127,32]},{"a":16200,"t":"byte","b":[33,127,32,32,127,32,32,32]},{"a":16208,"t":"byte","b":[33,33,214,217,33,214,217,214]},{"a":16216,"t":"byte","b":[33,33,214,217,33,33,33,33]},{"a":16224,"t":"byte","b":[214,217,214,217,217,214,217,33]},{"a":16232,"t":"byte","b":[214,217,214,217,33,214,217,33]},{"a":16240,"t":"byte","b":[174,175,231,176,170,171,172,173]},{"a":16248,"t":"byte","b":[53,65,53,224,224,53,224,65]},{"a":16256,"t":"byte","b":[174,175,231,176,170,171,172,173]},{"a":16264,"t":"byte","b":[33,33,33,33,33,33,33,33]},{"a":16272,"t":"byte","b":[177,32,180,179,177,32,180,179]},{"a":16280,"t":"byte","b":[177,32,180,179,177,32,180,179]},{"a":16288,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":16296,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":16304,"t":"byte","b":[36,36,36,36,55,185,168,33]},{"a":16312,"t":"byte","b":[185,32,32,168,184,32,32,103]},{"a":16320,"t":"byte","b":[163,123,121,122,164,122,123,124]},{"a":16328,"t":"byte","b":[33,163,119,164,33,33,156,119]},{"a":16336,"t":"byte","b":[33,165,121,122,33,33,163,124]},{"a":16344,"t":"byte","b":[33,33,33,156,33,33,33,33]},{"a":16352,"t":"byte","b":[184,32,32,131,50,32,32,130]},{"a":16360,"t":"byte","b":[55,50,130,33,46,46,33,33]},{"a":16368,"t":"byte","b":[36,36,36,36,33,33,175,170]},{"a":16376,"t":"byte","b":[33,33,33,33,33,170,177,33]},{"a":16384,"l":"play_charset","c":"Play-area character set, bank 1 ($D018=$F1 below the top 8 lines: glyphs $4000), codes 0-$7F, multicolour. $8652 builds overlay characters into it ($4000+8*code).","t":"byte","b":[60,102,110,118,102,102,60,0]},{"a":16392,"t":"byte","b":[24,24,56,24,24,24,126,0]},{"a":16400,"t":"byte","b":[60,102,6,12,48,96,126,0]},{"a":16408,"t":"byte","b":[60,102,6,28,6,102,60,0]},{"a":16416,"t":"byte","b":[6,14,30,102,127,6,6,0]},{"a":16424,"t":"byte","b":[126,96,124,6,6,102,60,0]},{"a":16432,"t":"byte","b":[60,102,96,124,102,102,60,0]},{"a":16440,"t":"byte","b":[126,102,12,24,24,24,24,0]},{"a":16448,"t":"byte","b":[60,102,102,60,102,102,60,0]},{"a":16456,"t":"byte","b":[60,102,102,62,6,102,60,0]},{"a":16464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16472,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":16480,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":16488,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":16496,"t":"byte","b":[0,0,0,0,0,4,0,0]},{"a":16504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16528,"t":"byte","b":[127,119,115,115,170,170,170,170]},{"a":16536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16576,"t":"byte","b":[192,192,128,160,160,168,168,171]},{"a":16584,"t":"byte","b":[12,48,14,10,9,37,38,38]},{"a":16592,"t":"byte","b":[168,170,170,170,170,168,171,163]},{"a":16600,"t":"byte","b":[230,170,170,170,170,42,42,10]},{"a":16608,"t":"byte","b":[192,192,128,160,160,168,168,171]},{"a":16616,"t":"byte","b":[12,48,14,10,9,37,38,38]},{"a":16624,"t":"byte","b":[168,170,170,170,170,168,171,163]},{"a":16632,"t":"byte","b":[230,170,170,170,170,42,42,10]},{"a":16640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16648,"t":"byte","b":[16,64,1,4,16,64,16,4]},{"a":16656,"t":"byte","b":[235,235,235,235,235,235,235,235]},{"a":16664,"t":"byte","b":[255,221,255,119,255,221,255,119]},{"a":16672,"t":"byte","b":[170,255,192,51,12,51,192,255]},{"a":16680,"t":"byte","b":[127,117,112,112,127,117,112,112]},{"a":16688,"t":"byte","b":[253,93,13,13,253,93,13,13]},{"a":16696,"t":"byte","b":[243,207,195,195,243,207,195,195]},{"a":16704,"t":"byte","b":[60,255,195,195,195,195,255,60]},{"a":16712,"t":"byte","b":[204,204,255,207,207,207,207,207]},{"a":16720,"t":"byte","b":[240,64,65,68,80,112,92,87]},{"a":16728,"t":"byte","b":[29,77,13,13,29,77,29,13]},{"a":16736,"t":"byte","b":[252,252,253,252,252,252,252,252]},{"a":16744,"t":"byte","b":[16,64,1,4,24,72,24,8]},{"a":16752,"t":"byte","b":[255,85,85,255,16,64,16,4]},{"a":16760,"t":"byte","b":[16,64,1,4,255,255,255,255]},{"a":16768,"t":"byte","b":[74,74,74,10,170,170,170,170]},{"a":16776,"t":"byte","b":[240,240,193,196,16,64,16,4]},{"a":16784,"t":"byte","b":[250,250,234,234,168,168,160,160]},{"a":16792,"t":"byte","b":[61,79,3,7,19,77,63,213]},{"a":16800,"t":"byte","b":[12,252,48,192,243,3,195,207]},{"a":16808,"t":"byte","b":[48,192,0,12,3,0,48,192]},{"a":16816,"t":"byte","b":[160,160,175,175,175,175,175,175]},{"a":16824,"t":"byte","b":[85,255,255,255,85,255,255,255]},{"a":16832,"t":"byte","b":[92,94,90,89,87,95,92,92]},{"a":16840,"t":"byte","b":[166,106,166,106,166,106,166,106]},{"a":16848,"t":"byte","b":[16,192,49,52,252,255,223,247]},{"a":16856,"t":"byte","b":[15,26,56,22,240,41,226,216]},{"a":16864,"t":"byte","b":[32,192,192,48,176,48,47,139]},{"a":16872,"t":"byte","b":[170,255,192,51,12,51,192,255]},{"a":16880,"t":"byte","b":[170,255,192,51,12,51,192,255]},{"a":16888,"t":"byte","b":[170,255,192,51,12,51,192,255]},{"a":16896,"t":"byte","b":[170,255,192,51,12,51,192,255]},{"a":16904,"t":"byte","b":[3,192,195,12,0,12,3,0]},{"a":16912,"t":"byte","b":[0,0,255,255,85,85,0,0]},{"a":16920,"t":"byte","b":[16,64,1,4,19,79,60,255]},{"a":16928,"t":"byte","b":[19,79,63,243,207,63,0,255]},{"a":16936,"t":"byte","b":[16,192,241,252,255,255,255,255]},{"a":16944,"t":"byte","b":[16,64,1,4,16,192,240,252]},{"a":16952,"t":"byte","b":[19,67,3,7,19,67,19,7]},{"a":16960,"t":"byte","b":[15,15,15,15,0,0,0,0]},{"a":16968,"t":"byte","b":[240,240,240,240,0,0,0,0]},{"a":16976,"t":"byte","b":[0,0,0,0,15,15,15,15]},{"a":16984,"t":"byte","b":[0,0,0,0,240,240,240,240]},{"a":16992,"t":"byte","b":[240,240,241,244,16,64,16,4]},{"a":17000,"t":"byte","b":[31,79,15,15,16,64,16,4]},{"a":17008,"t":"byte","b":[16,64,1,4,16,67,19,15]},{"a":17016,"t":"byte","b":[16,64,1,4,16,64,208,244]},{"a":17024,"t":"byte","b":[31,79,3,7,16,64,16,4]},{"a":17032,"t":"byte","b":[252,252,253,255,255,255,255,255]},{"a":17040,"t":"byte","b":[77,77,77,61,253,245,245,253]},{"a":17048,"t":"byte","b":[255,245,253,255,255,252,252,252]},{"a":17056,"t":"byte","b":[255,95,87,245,125,125,93,93]},{"a":17064,"t":"byte","b":[16,64,1,4,32,96,32,36]},{"a":17072,"t":"byte","b":[53,181,165,101,213,245,53,53]},{"a":17080,"t":"byte","b":[165,5,165,85,80,81,81,81]},{"a":17088,"t":"byte","b":[160,64,1,164,175,175,175,175]},{"a":17096,"t":"byte","b":[175,165,165,175,160,64,16,164]},{"a":17104,"t":"byte","b":[170,142,178,142,178,142,178,170]},{"a":17112,"t":"byte","b":[16,64,1,4,240,240,240,244]},{"a":17120,"t":"byte","b":[16,64,1,4,31,79,31,15]},{"a":17128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17136,"t":"byte","b":[255,127,79,7,83,95,127,255]},{"a":17144,"t":"byte","b":[255,253,245,197,208,241,253,255]},{"a":17152,"t":"byte","b":[245,245,253,255,255,255,255,255]},{"a":17160,"t":"byte","b":[95,95,127,127,255,255,255,255]},{"a":17168,"t":"byte","b":[170,255,170,255,170,255,170,255]},{"a":17176,"t":"byte","b":[255,207,207,3,207,207,255,255]},{"a":17184,"t":"byte","b":[255,255,235,215,235,215,255,255]},{"a":17192,"t":"byte","b":[255,255,255,192,255,255,255,255]},{"a":17200,"t":"byte","b":[160,160,168,168,42,106,26,10]},{"a":17208,"t":"byte","b":[5,5,5,5,5,5,5,5]},{"a":17216,"t":"byte","b":[16,64,1,4,28,115,48,52]},{"a":17224,"t":"byte","b":[29,125,247,215,79,77,245,84]},{"a":17232,"t":"byte","b":[170,255,255,170,255,170,170,85]},{"a":17240,"t":"byte","b":[125,239,230,154,155,231,233,125]},{"a":17248,"t":"byte","b":[125,247,238,171,238,230,239,125]},{"a":17256,"t":"byte","b":[87,84,93,81,117,69,213,21]},{"a":17264,"t":"byte","b":[213,21,117,69,93,81,87,84]},{"a":17272,"t":"byte","b":[85,85,85,85,85,255,255,0]},{"a":17280,"t":"byte","b":[0,255,255,85,85,85,85,85]},{"a":17288,"t":"byte","b":[92,92,92,92,92,92,92,92]},{"a":17296,"t":"byte","b":[213,213,213,213,213,213,213,213]},{"a":17304,"t":"byte","b":[215,212,221,209,53,53,79,80]},{"a":17312,"t":"byte","b":[220,28,124,76,112,240,193,5]},{"a":17320,"t":"byte","b":[0,192,112,112,124,76,220,28]},{"a":17328,"t":"byte","b":[16,79,53,53,221,209,215,212]},{"a":17336,"t":"byte","b":[136,128,41,164,168,170,40,160]},{"a":17344,"t":"byte","b":[34,194,48,10,160,106,166,138]},{"a":17352,"t":"byte","b":[130,168,34,42,136,10,2,2]},{"a":17360,"t":"byte","b":[250,10,40,171,176,224,128,128]},{"a":17368,"t":"byte","b":[140,174,42,174,27,74,27,6]},{"a":17376,"t":"byte","b":[170,40,161,136,170,160,152,132]},{"a":17384,"t":"byte","b":[16,64,1,4,16,64,16,4]},{"a":17392,"t":"byte","b":[255,255,255,255,195,195,195,195]},{"a":17400,"t":"byte","b":[170,255,192,51,12,51,192,255]},{"a":17408,"l":"play_charset_hi","c":"Play-area character set, codes $80-$FF; $A1-$A5 and $F5-$FF are swapped with $2E00 by zone ($ABCF).","t":"byte","b":[170,255,192,51,12,51,192,255]},{"a":17416,"t":"byte","b":[192,243,243,243,243,243,243,255]},{"a":17424,"t":"byte","b":[80,80,85,84,21,21,5,5]},{"a":17432,"t":"byte","b":[5,5,5,5,5,5,5,5]},{"a":17440,"t":"byte","b":[26,74,42,42,168,168,160,160]},{"a":17448,"t":"byte","b":[16,64,1,4,240,240,240,244]},{"a":17456,"t":"byte","b":[16,64,1,4,31,79,31,15]},{"a":17464,"t":"byte","b":[12,252,252,204,204,204,12,255]},{"a":17472,"t":"byte","b":[204,204,204,204,204,204,12,255]},{"a":17480,"t":"byte","b":[12,204,204,12,204,204,204,255]},{"a":17488,"t":"byte","b":[12,204,204,60,204,204,204,255]},{"a":17496,"t":"byte","b":[63,207,207,207,207,207,15,255]},{"a":17504,"t":"byte","b":[192,204,204,192,207,207,207,255]},{"a":17512,"t":"byte","b":[192,204,204,204,204,204,192,255]},{"a":17520,"t":"byte","b":[192,207,207,192,252,252,192,255]},{"a":17528,"t":"byte","b":[127,117,112,112,127,117,112,112]},{"a":17536,"t":"byte","b":[253,93,13,13,253,93,13,13]},{"a":17544,"t":"byte","b":[0,0,170,170,170,255,255,255]},{"a":17552,"t":"byte","b":[255,85,85,255,16,64,16,4]},{"a":17560,"t":"byte","b":[154,89,24,219,154,89,24,219]},{"a":17568,"t":"byte","b":[16,64,63,53,16,64,63,213]},{"a":17576,"t":"byte","b":[105,125,105,125,105,125,105,125]},{"a":17584,"t":"byte","b":[31,67,1,4,16,64,16,4]},{"a":17592,"t":"byte","b":[208,64,1,4,16,64,16,4]},{"a":17600,"t":"byte","b":[29,109,45,45,45,109,29,13]},{"a":17608,"t":"byte","b":[240,240,192,195,3,15,15,12]},{"a":17616,"t":"byte","b":[248,44,48,32,40,32,8,32]},{"a":17624,"t":"byte","b":[252,252,252,252,252,252,252,255]},{"a":17632,"t":"byte","b":[172,32,43,227,26,50,2,3]},{"a":17640,"t":"byte","b":[75,42,162,160,172,75,224,136]},{"a":17648,"t":"byte","b":[255,255,255,255,16,64,16,4]},{"a":17656,"t":"byte","b":[255,85,85,191,165,37,41,9]},{"a":17664,"t":"byte","b":[219,219,219,219,219,219,219,219]},{"a":17672,"t":"byte","b":[24,56,24,24,24,24,126,0]},{"a":17680,"t":"byte","b":[60,102,6,12,24,48,126,0]},{"a":17688,"t":"byte","b":[60,102,6,28,6,102,60,0]},{"a":17696,"t":"byte","b":[12,28,60,108,126,12,12,0]},{"a":17704,"t":"byte","b":[126,96,124,6,6,102,60,0]},{"a":17712,"t":"byte","b":[170,170,170,170,255,255,255,255]},{"a":17720,"t":"byte","b":[3,3,15,15,63,63,255,255]},{"a":17728,"t":"byte","b":[5,5,21,21,84,84,80,84]},{"a":17736,"t":"byte","b":[255,51,51,51,51,51,255,255]},{"a":17744,"t":"byte","b":[0,0,0,127,255,192,191,163]},{"a":17752,"t":"byte","b":[3,3,3,248,255,0,255,13]},{"a":17760,"t":"byte","b":[192,192,192,31,255,0,255,216]},{"a":17768,"t":"byte","b":[0,0,0,254,255,3,253,197]},{"a":17776,"t":"byte","b":[173,173,163,175,191,128,192,255]},{"a":17784,"t":"byte","b":[109,109,109,12,255,0,0,255]},{"a":17792,"t":"byte","b":[221,197,221,197,253,1,3,255]},{"a":17800,"t":"byte","b":[255,240,243,243,243,243,243,240]},{"a":17808,"t":"byte","b":[255,3,243,243,243,243,243,3]},{"a":17816,"t":"byte","b":[255,15,207,207,207,207,207,15]},{"a":17824,"t":"byte","b":[255,192,207,207,207,207,207,192]},{"a":17832,"t":"byte","b":[62,62,142,143,163,163,232,232]},{"a":17840,"t":"byte","b":[184,184,184,184,184,184,184,184]},{"a":17848,"t":"byte","b":[85,87,63,63,5,5,15,15]},{"a":17856,"t":"byte","b":[164,164,164,164,164,164,164,164]},{"a":17864,"t":"byte","b":[160,160,168,232,232,234,250,250]},{"a":17872,"t":"byte","b":[187,187,187,187,187,187,187,187]},{"a":17880,"t":"byte","b":[27,75,11,11,27,75,27,11]},{"a":17888,"t":"byte","b":[176,176,177,180,176,176,176,180]},{"a":17896,"t":"byte","b":[255,127,11,11,27,75,27,11]},{"a":17904,"t":"byte","b":[255,252,177,180,176,176,176,180]},{"a":17912,"t":"byte","b":[255,255,187,187,187,187,187,187]},{"a":17920,"t":"byte","b":[16,64,1,4,16,64,16,4]},{"a":17928,"t":"byte","b":[27,75,11,11,27,75,63,255]},{"a":17936,"t":"byte","b":[176,176,177,180,176,176,252,255]},{"a":17944,"t":"byte","b":[48,112,49,52,48,112,48,52]},{"a":17952,"t":"byte","b":[170,128,128,191,191,191,128,128]},{"a":17960,"t":"byte","b":[170,0,0,255,255,255,0,0]},{"a":17968,"t":"byte","b":[170,2,2,254,254,254,2,2]},{"a":17976,"t":"byte","b":[4,21,81,64,255,255,255,255]},{"a":17984,"t":"byte","b":[60,63,12,48,60,60,240,240]},{"a":17992,"t":"byte","b":[15,12,12,12,60,60,48,192]},{"a":18000,"t":"byte","b":[192,207,207,207,207,207,192,255]},{"a":18008,"t":"byte","b":[195,12,178,235,130,10,32,4]},{"a":18016,"t":"byte","b":[209,227,127,195,232,9,17,1]},{"a":18024,"t":"byte","b":[15,195,195,243,240,0,48,51]},{"a":18032,"t":"byte","b":[255,255,255,255,255,255,255,125]},{"a":18040,"t":"byte","b":[48,63,11,3,130,240,48,48]},{"a":18048,"t":"byte","b":[207,195,32,160,163,128,3,195]},{"a":18056,"t":"byte","b":[60,12,12,8,40,232,240,48]},{"a":18064,"t":"byte","b":[164,184,176,178,194,202,11,43]},{"a":18072,"t":"byte","b":[255,255,255,255,16,64,16,4]},{"a":18080,"t":"byte","b":[255,85,85,255,90,88,104,96]},{"a":18088,"t":"byte","b":[19,204,64,12,16,129,196,76]},{"a":18096,"t":"byte","b":[170,166,154,169,166,153,170,0]},{"a":18104,"t":"byte","b":[177,1,60,12,12,0,1,1]},{"a":18112,"t":"byte","b":[51,204,204,32,112,0,192,64]},{"a":18120,"t":"byte","b":[168,104,168,152,104,152,168,0]},{"a":18128,"t":"byte","b":[29,77,13,13,170,170,170,160]},{"a":18136,"t":"byte","b":[252,252,253,252,170,170,170,10]},{"a":18144,"t":"byte","b":[16,64,1,4,255,255,255,255]},{"a":18152,"t":"byte","b":[31,79,15,15,31,79,31,15]},{"a":18160,"t":"byte","b":[21,85,63,63,85,95,255,255]},{"a":18168,"t":"byte","b":[16,64,1,4,19,67,31,15]},{"a":18176,"t":"byte","b":[3,12,192,48,12,0,0,12]},{"a":18184,"t":"byte","b":[2,15,255,234,255,51,3,0]},{"a":18192,"t":"byte","b":[51,204,34,255,170,85,85,255]},{"a":18200,"t":"byte","b":[95,95,127,127,255,255,255,255]},{"a":18208,"t":"byte","b":[245,245,253,253,255,255,255,255]},{"a":18216,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":18224,"t":"byte","b":[255,234,229,229,255,234,229,229]},{"a":18232,"t":"byte","b":[219,219,219,88,255,0,0,255]},{"a":18240,"t":"byte","b":[16,64,1,4,16,79,63,245]},{"a":18248,"t":"byte","b":[16,64,13,53,223,255,255,85]},{"a":18256,"t":"byte","b":[0,0,113,92,87,213,245,85]},{"a":18264,"t":"byte","b":[16,64,1,4,192,112,92,87]},{"a":18272,"t":"byte","b":[31,79,15,15,31,79,31,15]},{"a":18280,"t":"byte","b":[240,240,241,244,240,240,240,244]},{"a":18288,"t":"byte","b":[112,112,112,112,112,112,112,112]},{"a":18296,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":18304,"t":"byte","b":[57,126,62,14,30,79,19,7]},{"a":18312,"t":"byte","b":[19,79,14,62,58,121,57,57]},{"a":18320,"t":"byte","b":[208,240,177,188,108,108,108,108]},{"a":18328,"t":"byte","b":[108,188,177,176,176,240,208,196]},{"a":18336,"t":"byte","b":[48,48,24,24,24,90,223,223]},{"a":18344,"t":"byte","b":[124,102,102,124,108,102,102,0]},{"a":18352,"t":"byte","b":[99,99,107,107,127,119,99,0]},{"a":18360,"t":"byte","b":[124,102,102,124,102,102,124,0]},{"a":18368,"t":"byte","b":[60,102,96,110,102,102,60,0]},{"a":18376,"t":"byte","b":[102,102,102,60,24,24,24,0]},{"a":18384,"t":"byte","b":[127,127,127,127,127,127,127,0]},{"a":18392,"t":"byte","b":[24,24,24,255,24,24,24,0]},{"a":18400,"t":"byte","b":[8,28,62,127,62,28,8,0]},{"a":18408,"t":"byte","b":[8,8,28,28,62,62,127,0]},{"a":18416,"t":"byte","b":[0,60,126,126,126,60,0,0]},{"a":18424,"t":"byte","b":[60,102,6,12,24,24,0,24]},{"a":18432,"l":"startup_unused_clear_0800","c":"Unreached prologue of the unpacked file: LDA #0/TAX/STA $0800,X loop then NOP padding to $484C. The loader stub at $7F40 does the same $0800 clear itself and jumps straight to $484D, so these bytes never run; zeroed by main_start ($7440) with the rest of $4800-$4FFF.","t":"byte","b":[169,0,170,157,0,8,232,208],"x":[29774]},{"a":18440,"t":"byte","b":[250,234,234,234,234,234,234,234]},{"a":18448,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":18456,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":18464,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":18472,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":18480,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":18488,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":18496,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":18504,"t":"byte","b":[234,234,234,234,234]},{"a":18509,"l":"game_entry","c":"Start-up, runs once from the loader's JMP $484D. Blanks the screen ($D011 bit4), stops CIA1 timer A, sets $01=$35 (RAM under BASIC/KERNAL, I/O in), 38 columns, 24 rows, multicolour text, colours (border/background 0, $D022=9, $D023=8, sprite MC $D025=2 $D026=8), points IRQ $FFFE at $8010 and NMI $FFFA at $800F, zeroes zero page $02-$FF, copies the word table $4A4E to $03-$1B, copies $4B00-$4EFF to $0400-$07FF (status-bar screen plus its glyphs) and $4F00-$4F9F to colour RAM $D800 (4 status rows), then continues at $48F5.","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":18512,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":18514,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":18517,"t":"code","b":[173,14,220],"m":"lda","o":"cia1_control_a"},{"a":18520,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":18522,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":18525,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":18527,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":18529,"t":"code","b":[41,61],"m":"and","o":"#$3D"},{"a":18531,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":18533,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":18536,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":18538,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":18541,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":18544,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":18546,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":18549,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":18552,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":18554,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":18557,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18559,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":18562,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18564,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":18567,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":18569,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":18572,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":18574,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":18577,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":18579,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":18582,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":18584,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":18587,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":18589,"t":"code","b":[141,254,255],"m":"sta","oa":65534,"o":"$FFFE"},{"a":18592,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":18594,"t":"code","b":[141,255,255],"m":"sta","oa":65535,"o":"$FFFF"},{"a":18597,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":18599,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"cpu_vectors"},{"a":18602,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":18604,"t":"code","b":[141,251,255],"m":"sta","oa":65531,"o":"$FFFB"},{"a":18607,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18609,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":18611,"l":"b_48B3","t":"code","b":[149,0],"m":"sta","oa":0,"o":"cpu_port_ddr,x","x":[18614]},{"a":18613,"t":"code","b":[232],"m":"inx"},{"a":18614,"t":"code","b":[208,251],"m":"bne","oa":18611,"o":"b_48B3"},{"a":18616,"t":"code","b":[162,24],"m":"ldx","o":"#$18"},{"a":18618,"l":"b_48BA","t":"code","b":[189,78,74],"m":"lda","oa":19022,"o":"zp_word_table_init,x","x":[18624]},{"a":18621,"t":"code","b":[149,3],"m":"sta","oa":3,"o":"glyph_merge_lo_ptrs,x"},{"a":18623,"t":"code","b":[202],"m":"dex"},{"a":18624,"t":"code","b":[16,248],"m":"bpl","oa":18618,"o":"b_48BA"},{"a":18626,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":18628,"l":"b_48C4","t":"code","b":[189,0,75],"m":"lda","oa":19200,"o":"status_screen_src,x","x":[18635]},{"a":18631,"t":"code","b":[157,0,4],"m":"sta","oa":1024,"o":"status_screen,x"},{"a":18634,"t":"code","b":[232],"m":"inx"},{"a":18635,"t":"code","b":[208,247],"m":"bne","oa":18628,"o":"b_48C4"},{"a":18637,"l":"b_48CD","t":"code","b":[189,0,76],"m":"lda","oa":19456,"o":"status_font_src_4c00,x","x":[18644]},{"a":18640,"t":"code","b":[157,0,5],"m":"sta","oa":1280,"o":"status_font_page1,x"},{"a":18643,"t":"code","b":[232],"m":"inx"},{"a":18644,"t":"code","b":[208,247],"m":"bne","oa":18637,"o":"b_48CD"},{"a":18646,"l":"b_48D6","t":"code","b":[189,0,77],"m":"lda","oa":19712,"o":"status_font_src_4d00,x","x":[18653]},{"a":18649,"t":"code","b":[157,0,6],"m":"sta","oa":1536,"o":"status_font_page2,x"},{"a":18652,"t":"code","b":[232],"m":"inx"},{"a":18653,"t":"code","b":[208,247],"m":"bne","oa":18646,"o":"b_48D6"},{"a":18655,"l":"b_48DF","t":"code","b":[189,0,78],"m":"lda","oa":19968,"o":"status_font_src_4e00,x","x":[18662]},{"a":18658,"t":"code","b":[157,0,7],"m":"sta","oa":1792,"o":"status_font_page3,x"},{"a":18661,"t":"code","b":[232],"m":"inx"},{"a":18662,"t":"code","b":[208,247],"m":"bne","oa":18655,"o":"b_48DF"},{"a":18664,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":18666,"l":"b_48EA","t":"code","b":[189,0,79],"m":"lda","oa":20224,"o":"status_colour_src,x","x":[18675]},{"a":18669,"t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x"},{"a":18672,"t":"code","b":[232],"m":"inx"},{"a":18673,"t":"code","b":[224,160],"m":"cpx","o":"#$A0"},{"a":18675,"t":"code","b":[208,245],"m":"bne","oa":18666,"o":"b_48EA"},{"a":18677,"l":"startup_build_alphabet_glyphs","c":"Start-up, part 2: switches the character ROM in ($01 bit2 clear), copies ROM chars 0-26 (@,A-Z), the digits 0-9 and '=' to $0800, then moves them to $06E0-$07FF so the private alphabet codes $DC-$F5 (A-Z), $F6-$FF (0-9) draw with ROM letter shapes (code = char*8 offset from $0000 in bank 0); moves the '=' glyph to $07A8 (code $F5), sets the status-band sprite pointers $07F8-$07FF to 4 (sprite data $0100) and clears $0100-$013F so those sprites are blank. Switches I/O back in at $495A.","t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":18679,"t":"code","b":[41,251],"m":"and","o":"#$FB"},{"a":18681,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":18683,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":18685,"l":"b_48FD","t":"code","b":[189,0,208],"m":"lda","o":"vic_sprite0_x,x","x":[18694]},{"a":18688,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"prog_font,x"},{"a":18691,"t":"code","b":[232],"m":"inx"},{"a":18692,"t":"code","b":[224,216],"m":"cpx","o":"#$D8"},{"a":18694,"t":"code","b":[208,245],"m":"bne","oa":18685,"o":"b_48FD"},{"a":18696,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":18698,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18700,"l":"b_490C","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"prog_font,x","x":[18704]},{"a":18703,"t":"code","b":[202],"m":"dex"},{"a":18704,"t":"code","b":[16,250],"m":"bpl","oa":18700,"o":"b_490C"},{"a":18706,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":18708,"l":"b_4914","t":"code","b":[189,128,209],"m":"lda","o":"$D180,x","x":[18717]},{"a":18711,"t":"code","b":[157,216,8],"m":"sta","oa":2264,"o":"prog_font_digits,x"},{"a":18714,"t":"code","b":[232],"m":"inx"},{"a":18715,"t":"code","b":[224,80],"m":"cpx","o":"#$50"},{"a":18717,"t":"code","b":[208,245],"m":"bne","oa":18708,"o":"b_4914"},{"a":18719,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":18721,"l":"b_4921","t":"code","b":[189,232,209],"m":"lda","o":"$D1E8,x","x":[18728]},{"a":18724,"t":"code","b":[157,40,9],"m":"sta","oa":2344,"o":"prog_font_box,x"},{"a":18727,"t":"code","b":[202],"m":"dex"},{"a":18728,"t":"code","b":[16,247],"m":"bpl","oa":18721,"o":"b_4921"},{"a":18730,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":18732,"l":"b_492C","t":"code","b":[189,8,8],"m":"lda","oa":2056,"o":"prog_font_letters,x","x":[18739]},{"a":18735,"t":"code","b":[157,224,6],"m":"sta","oa":1760,"o":"status_font_letters,x"},{"a":18738,"t":"code","b":[232],"m":"inx"},{"a":18739,"t":"code","b":[208,247],"m":"bne","oa":18732,"o":"b_492C"},{"a":18741,"l":"b_4935","t":"code","b":[189,8,9],"m":"lda","oa":2312,"o":"prog_font_digits_6,x","x":[18750]},{"a":18744,"t":"code","b":[157,224,7],"m":"sta","oa":2016,"o":"status_font_digits,x"},{"a":18747,"t":"code","b":[232],"m":"inx"},{"a":18748,"t":"code","b":[224,32],"m":"cpx","o":"#$20"},{"a":18750,"t":"code","b":[208,245],"m":"bne","oa":18741,"o":"b_4935"},{"a":18752,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":18754,"l":"b_4942","t":"code","b":[189,248,7],"m":"lda","oa":2040,"o":"status_sprite_ptrs,x","x":[18766]},{"a":18757,"t":"code","b":[157,168,7],"m":"sta","oa":1960,"o":"status_font_z_slot,x"},{"a":18760,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":18762,"t":"code","b":[157,248,7],"m":"sta","oa":2040,"o":"status_sprite_ptrs,x"},{"a":18765,"t":"code","b":[202],"m":"dex"},{"a":18766,"t":"code","b":[16,242],"m":"bpl","oa":18754,"o":"b_4942"},{"a":18768,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":18770,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18772,"l":"b_4954","t":"code","b":[157,0,1],"m":"sta","oa":256,"o":"stack_page,x","x":[18776]},{"a":18775,"t":"code","b":[202],"m":"dex"},{"a":18776,"t":"code","b":[16,250],"m":"bpl","oa":18772,"o":"b_4954"},{"a":18778,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":18780,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":18782,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":18784,"l":"startup_init_variables","c":"Start-up, part 3: $1B50-$1B53 = 4, $42-$45 = $30-$33, $D7=$FF, $1F=$18, $20/$21=$F7/$02, $22/$23=$D4/$00, BCD counter $1D/$1C = $01/$08 (with $1B=$03 from the $4A4E table: $010803), copies $1B20-$1D1F to $0200-$03FF, $1E=5. Meanings of these variables belong to their readers; not established here.","t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":18786,"t":"code","b":[141,80,27],"m":"sta","oa":6992,"o":"obj_state_30"},{"a":18789,"t":"code","b":[141,81,27],"m":"sta","oa":6993,"o":"obj_state_31"},{"a":18792,"t":"code","b":[141,82,27],"m":"sta","oa":6994,"o":"obj_state_32"},{"a":18795,"t":"code","b":[141,83,27],"m":"sta","oa":6995,"o":"obj_state_33"},{"a":18798,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":18800,"t":"code","b":[133,66],"m":"sta","oa":66,"o":"marker_slots"},{"a":18802,"t":"code","b":[169,49],"m":"lda","o":"#$31"},{"a":18804,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"marker_slot_2"},{"a":18806,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":18808,"t":"code","b":[133,68],"m":"sta","oa":68,"o":"marker_slot_3"},{"a":18810,"t":"code","b":[169,51],"m":"lda","o":"#$33"},{"a":18812,"t":"code","b":[133,69],"m":"sta","oa":69,"o":"marker_slot_4"},{"a":18814,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":18816,"t":"code","b":[133,215],"m":"sta","oa":215,"o":"s_latch"},{"a":18818,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":18820,"t":"code","b":[133,31],"m":"sta","oa":31,"o":"splinx_battery"},{"a":18822,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":18824,"t":"code","b":[133,33],"m":"sta","oa":33,"o":"camera_x_hi"},{"a":18826,"t":"code","b":[169,247],"m":"lda","o":"#$F7"},{"a":18828,"t":"code","b":[133,32],"m":"sta","oa":32,"o":"camera_x_lo"},{"a":18830,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18832,"t":"code","b":[133,35],"m":"sta","oa":35,"o":"camera_y_hi"},{"a":18834,"t":"code","b":[169,212],"m":"lda","o":"#$D4"},{"a":18836,"t":"code","b":[133,34],"m":"sta","oa":34,"o":"camera_y_lo"},{"a":18838,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18840,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"countdown_hi"},{"a":18842,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":18844,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"countdown_mid"},{"a":18846,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":18848,"l":"b_49A0","t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y","x":[18855]},{"a":18851,"t":"code","b":[153,0,2],"m":"sta","oa":512,"o":"obj_backup_state,y"},{"a":18854,"t":"code","b":[200],"m":"iny"},{"a":18855,"t":"code","b":[208,247],"m":"bne","oa":18848,"o":"b_49A0"},{"a":18857,"l":"b_49A9","t":"code","b":[185,32,28],"m":"lda","oa":7200,"o":"obj_tables_page2,y","x":[18864]},{"a":18860,"t":"code","b":[153,0,3],"m":"sta","oa":768,"o":"obj_backup_page2,y"},{"a":18863,"t":"code","b":[200],"m":"iny"},{"a":18864,"t":"code","b":[208,247],"m":"bne","oa":18857,"o":"b_49A9"},{"a":18866,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":18868,"t":"code","b":[133,30],"m":"sta","oa":30,"o":"lives"},{"a":18870,"t":"code","b":[169,247],"m":"lda","o":"#$F7"},{"a":18872,"t":"code","b":[133,32],"m":"sta","oa":32,"o":"camera_x_lo"},{"a":18874,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":18876,"t":"code","b":[133,33],"m":"sta","oa":33,"o":"camera_x_hi"},{"a":18878,"t":"code","b":[169,212],"m":"lda","o":"#$D4"},{"a":18880,"t":"code","b":[133,34],"m":"sta","oa":34,"o":"camera_y_lo"},{"a":18882,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18884,"t":"code","b":[133,35],"m":"sta","oa":35,"o":"camera_y_hi"},{"a":18886,"l":"startup_restore_saved_game","c":"Start-up, part 4: $0100 := $7800 (the 'restored game' flag main_start tests). If $7800 <> 0 the block $7800-$7D7F is a saved game (the layout save_game $9542 writes): $7D00-$7D77 -> status rows $0428, $7802-$787F -> zero page $02-$7F, $7920-$7CFF -> $1B20-$1EFF. In the hand-over image $7800 = 0, so a fresh start skips to $4A07. How a loaded save file comes to run this code is not traced.","t":"code","b":[173,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block"},{"a":18889,"t":"code","b":[141,0,1],"m":"sta","oa":256,"o":"stack_page"},{"a":18892,"t":"code","b":[240,57],"m":"beq","oa":18951,"o":"startup_final_setup"},{"a":18894,"t":"code","b":[162,119],"m":"ldx","o":"#$77"},{"a":18896,"l":"b_49D0","t":"code","b":[189,0,125],"m":"lda","oa":32000,"o":"saved_status_rows,x","x":[18903]},{"a":18899,"t":"code","b":[157,40,4],"m":"sta","oa":1064,"o":"status_row1,x"},{"a":18902,"t":"code","b":[202],"m":"dex"},{"a":18903,"t":"code","b":[16,247],"m":"bpl","oa":18896,"o":"b_49D0"},{"a":18905,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":18907,"l":"b_49DB","t":"code","b":[189,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block,x","x":[18915]},{"a":18910,"t":"code","b":[149,0],"m":"sta","oa":0,"o":"cpu_port_ddr,x"},{"a":18912,"t":"code","b":[232],"m":"inx"},{"a":18913,"t":"code","b":[224,128],"m":"cpx","o":"#$80"},{"a":18915,"t":"code","b":[208,246],"m":"bne","oa":18907,"o":"b_49DB"},{"a":18917,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":18919,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18921,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":18923,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":18925,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":18927,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18929,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":18931,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":18933,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":18935,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":18937,"l":"b_49F9","t":"code","b":[177,92],"m":"lda","oa":92,"o":"(tmp_ptr_b),y","x":[18942,18949]},{"a":18939,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":18941,"t":"code","b":[200],"m":"iny"},{"a":18942,"t":"code","b":[208,249],"m":"bne","oa":18937,"o":"b_49F9"},{"a":18944,"t":"code","b":[230,91],"m":"inc","oa":91,"o":"tmp_ptr_a_hi"},{"a":18946,"t":"code","b":[230,93],"m":"inc","oa":93,"o":"tmp_ptr_b_hi"},{"a":18948,"t":"code","b":[202],"m":"dex"},{"a":18949,"t":"code","b":[16,242],"m":"bpl","oa":18937,"o":"b_49F9"},{"a":18951,"l":"startup_final_setup","c":"Start-up, part 5: copies $4B28-$4B9F (status rows 1-3) to $7C00, clears $E8 and $BAC9, $F5=$FF, raster IRQ at line $3C with $D011 bit7 clear, enables the raster IRQ ($D01A=1), $56=3, then calls initialisers $AA3D, $ABCF, $AECA, $881D, $8ED0, $92B3, $9358 (other ranges) and falls into $4A80.","t":"code","b":[162,119],"m":"ldx","o":"#$77","x":[18892]},{"a":18953,"l":"b_4A09","t":"code","b":[189,40,75],"m":"lda","oa":19240,"o":"f_4B28,x","x":[18960]},{"a":18956,"t":"code","b":[157,0,124],"m":"sta","oa":31744,"o":"screen_b,x"},{"a":18959,"t":"code","b":[202],"m":"dex"},{"a":18960,"t":"code","b":[16,247],"m":"bpl","oa":18953,"o":"b_4A09"},{"a":18962,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18964,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":18966,"t":"code","b":[141,201,186],"m":"sta","oa":47817,"o":"use_first_press_flag"},{"a":18969,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":18971,"t":"code","b":[133,245],"m":"sta","oa":245,"o":"sfx_current"},{"a":18973,"t":"code","b":[169,60],"m":"lda","o":"#$3C"},{"a":18975,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":18978,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":18981,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":18983,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":18986,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18988,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":18991,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":18994,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":18996,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":18998,"t":"code","b":[32,61,170],"m":"jsr","oa":43581,"o":"zone_classify"},{"a":19001,"t":"code","b":[32,207,171],"m":"jsr","oa":43983,"o":"zone_graphics"},{"a":19004,"t":"code","b":[32,202,174],"m":"jsr","oa":44746,"o":"switch_restore_all"},{"a":19007,"t":"code","b":[32,29,136],"m":"jsr","oa":34845,"o":"charobj_reset"},{"a":19010,"t":"code","b":[32,208,142],"m":"jsr","oa":36560,"o":"redraw_play_area"},{"a":19013,"t":"code","b":[32,179,146],"m":"jsr","oa":37555,"o":"save_status_bar"},{"a":19016,"t":"code","b":[32,88,147],"m":"jsr","oa":37720,"o":"start_or_resume_play"},{"a":19019,"t":"code","b":[76,128,74],"m":"jmp","oa":19072,"o":"startup_exit"},{"a":19022,"l":"zp_word_table_init","c":"25 bytes copied to zero page $03-$1B at $48B8: words $86E4,$86DD,$86D6,$86CF,$86C8,$86E5,$86DE,$86D7,$86D0,$86C9 (two runs stepping by -7), $30C0, then byte $03 at $4A66 -> $1B (low byte of the BCD counter $1B-$1D). Readers not traced here.","t":"word","b":[228,134,221,134,214,134,207,134],"d":[34532,34525,34518,34511],"x":[18618]},{"a":19030,"t":"word","b":[200,134,229,134,222,134,215,134],"d":[34504,34533,34526,34519]},{"a":19038,"t":"word","b":[208,134,201,134,192,48,12,3],"d":[34512,34505,12480,780]},{"a":19046,"l":"zp_init_last_byte","c":"Last byte of the zero-page init copy: $03 lands in $1B, the low byte of the three-byte BCD counter. $4A67-$4A7F are zero padding (not copied).","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19054,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19062,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19070,"t":"byte","b":[0,0]},{"a":19072,"l":"startup_exit","c":"End of start-up: JSR $C89C (sets music tune $E2=5, i.e. off, and gate bytes $D404/$D40B=$FF), then JMP $7440 main_start.","t":"code","b":[32,156,200],"m":"jsr","oa":51356,"o":"sound_silence_all","x":[19019]},{"a":19075,"t":"code","b":[76,64,116],"m":"jmp","oa":29760,"o":"main_start"},{"a":19078,"l":"startup_padding","c":"Zero padding $4A86-$4AFF between the start-up code and the status-bar screen data; not read by the game.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19086,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19094,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19102,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19110,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19118,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19126,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19134,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19142,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19150,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19158,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19166,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19174,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19182,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19190,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19198,"t":"byte","b":[0,0]},{"a":19200,"l":"status_screen_src","c":"Source of the bank-0 screen $0400-$07FF, copied at $48C2. $4B00-$4B9F: the 4-row status bar in the private alphabet ($94 space, letters ASCII+155, $96-$A1 panel pieces); row 1 at $4B28 is also copied to $7C00 at $4A07. From $4BA0 on: glyph bytes for character codes $94-$FF (the VIC's character base is $0000 in this band, lead's live capture), later overlaid for letters and digits by startup_build_alphabet_glyphs.","t":"byte","b":[148,148,148,148,148,148,148,148],"x":[18628]},{"a":19208,"t":"byte","b":[148,148,148,148,148,148,148,148]},{"a":19216,"t":"byte","b":[148,148,148,148,148,148,148,148]},{"a":19224,"t":"byte","b":[148,148,148,148,148,148,148,148]},{"a":19232,"t":"byte","b":[148,148,148,148,148,148,148,148]},{"a":19240,"l":"f_4B28","c":"Status row 1 of the bank-0 status bar (40 bytes from $4B28), copied with rows 2-3 ($4B28-$4B9F) into $7C00 as well as to $0428.","t":"byte","b":[148,238,222,234,237,224,148,148],"x":[18953]},{"a":19248,"t":"byte","b":[148,148,148,148,148,148,150,154]},{"a":19256,"t":"byte","b":[155,156,157,150,148,148,148,148]},{"a":19264,"t":"byte","b":[150,148,148,148,148,150,148,148]},{"a":19272,"t":"byte","b":[148,148,150,148,148,148,148,148]},{"a":19280,"t":"byte","b":[148,148,148,148,148,148,148,148]},{"a":19288,"t":"byte","b":[148,148,148,148,148,148,150,158]},{"a":19296,"t":"byte","b":[159,160,161,150,148,148,148,148]},{"a":19304,"t":"gap","n":152},{"a":19456,"l":"status_font_src_4c00","c":"Status-bar glyph data, second page (-> $0500-$05FF, codes $A0-$BF). Pixel data for panel graphics; not decoded individually.","t":"byte","b":[0,170,166,166,165,170,170,170],"x":[18637]},{"a":19464,"t":"byte","b":[0,168,104,104,104,104,104,168]},{"a":19472,"t":"byte","b":[66,2,2,2,2,2,2,2]},{"a":19480,"t":"byte","b":[4,0,0,0,0,0,0,0]},{"a":19488,"t":"byte","b":[0,0,0,0,0,2,6,21]},{"a":19496,"t":"byte","b":[0,0,0,0,0,0,64,80]},{"a":19504,"t":"byte","b":[0,0,0,0,0,0,162,42]},{"a":19512,"t":"byte","b":[0,0,0,0,0,40,168,8]},{"a":19520,"t":"byte","b":[0,0,0,0,10,38,9,2]},{"a":19528,"t":"byte","b":[0,0,0,0,128,96,128,0]},{"a":19536,"t":"byte","b":[0,85,106,102,106,101,101,85]},{"a":19544,"t":"byte","b":[0,64,64,64,64,64,64,64]},{"a":19552,"t":"byte","b":[0,0,0,0,0,0,166,170]},{"a":19560,"t":"byte","b":[0,0,0,0,0,40,32,170]},{"a":19568,"t":"byte","b":[0,0,0,170,149,170,32,170]},{"a":19576,"t":"byte","b":[0,0,0,168,88,168,32,168]},{"a":19584,"t":"byte","b":[42,38,42,38,42,42,42,42]},{"a":19592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19600,"t":"byte","b":[0,0,0,0,128,170,136,8]},{"a":19608,"t":"byte","b":[0,0,0,0,128,128,128,0]},{"a":19616,"t":"byte","b":[0,170,153,166,154,169,154,170]},{"a":19624,"t":"byte","b":[0,170,166,154,106,166,102,170]},{"a":19632,"t":"byte","b":[10,38,41,38,10,165,106,170]},{"a":19640,"t":"byte","b":[128,96,160,96,128,104,166,170]},{"a":19648,"t":"byte","b":[0,154,154,154,16,154,154,154]},{"a":19656,"t":"byte","b":[0,104,102,104,64,104,102,105]},{"a":19664,"t":"byte","b":[0,0,170,149,153,149,154,170]},{"a":19672,"t":"byte","b":[0,0,168,88,152,152,88,170]},{"a":19680,"t":"byte","b":[0,0,0,0,10,8,8,168]},{"a":19688,"t":"byte","b":[0,0,0,0,160,32,32,42]},{"a":19696,"t":"byte","b":[0,170,101,102,101,106,101,106]},{"a":19704,"t":"byte","b":[0,168,100,164,100,100,100,168]},{"a":19712,"l":"status_font_src_4d00","c":"Status-bar glyph data, third page (-> $0600-$06FF, codes $C0-$DF; $06E0 onward is replaced by ROM letters at start-up).","t":"byte","b":[0,170,101,105,105,105,105,170],"x":[18646]},{"a":19720,"t":"byte","b":[0,168,100,164,164,164,164,168]},{"a":19728,"t":"byte","b":[0,170,100,102,100,102,102,170]},{"a":19736,"t":"byte","b":[0,170,100,100,100,100,100,168]},{"a":19744,"t":"byte","b":[0,170,101,102,101,102,102,170]},{"a":19752,"t":"byte","b":[0,168,100,100,164,100,100,168]},{"a":19760,"t":"byte","b":[0,170,101,101,102,102,101,170]},{"a":19768,"t":"byte","b":[0,168,100,100,100,100,100,168]},{"a":19776,"t":"byte","b":[0,170,101,102,101,102,102,170]},{"a":19784,"t":"byte","b":[0,168,100,100,100,164,164,168]},{"a":19792,"t":"byte","b":[38,170,170,170,170,42,42,10]},{"a":19800,"t":"byte","b":[168,170,170,170,170,168,168,160]},{"a":19808,"t":"byte","b":[0,0,2,10,9,37,38,38]},{"a":19816,"t":"byte","b":[0,0,128,160,160,168,168,168]},{"a":19824,"t":"byte","b":[38,170,170,170,170,42,42,10]},{"a":19832,"t":"byte","b":[168,170,170,170,170,168,168,160]},{"a":19840,"t":"byte","b":[0,0,2,10,9,37,38,38]},{"a":19848,"t":"byte","b":[0,0,128,160,160,168,168,168]},{"a":19856,"t":"byte","b":[10,38,41,38,10,165,106,170]},{"a":19864,"t":"byte","b":[128,96,160,96,128,104,166,170]},{"a":19872,"t":"byte","b":[128,128,149,149,149,149,165,42]},{"a":19880,"t":"byte","b":[8,8,88,88,88,88,104,160]},{"a":19888,"t":"byte","b":[0,32,8,8,8,32,32,32]},{"a":19896,"t":"byte","b":[0,32,128,128,128,32,32,32]},{"a":19904,"t":"byte","b":[0,170,101,105,105,105,105,170]},{"a":19912,"t":"byte","b":[0,168,100,164,164,164,164,168]},{"a":19920,"t":"byte","b":[10,38,41,38,10,165,106,170]},{"a":19928,"t":"byte","b":[128,96,160,96,128,104,166,170]},{"a":19936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19968,"l":"status_font_src_4e00","c":"Status-bar glyph data, fourth page (-> $0700-$07FF, codes $E0-$FF); replaced at start-up by ROM letter/digit glyphs and the blank-sprite pointers at $07F8.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[18655]},{"a":19976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20016,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20040,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20048,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20224,"l":"status_colour_src","c":"160 colour-RAM bytes for the 4 status rows, copied to $D800-$D89F at $48E8.","t":"byte","b":[8,8,8,8,8,8,8,8],"x":[18666]},{"a":20232,"t":"byte","b":[9,8,8,8,8,8,9,8]},{"a":20240,"t":"byte","b":[8,8,8,9,8,8,8,8]},{"a":20248,"t":"byte","b":[9,8,8,8,8,9,8,8]},{"a":20256,"t":"byte","b":[8,8,9,8,8,8,8,8]},{"a":20264,"t":"byte","b":[8,2,2,2,2,2,2,5]},{"a":20272,"t":"byte","b":[5,5,5,5,5,8,9,8]},{"a":20280,"t":"byte","b":[8,8,8,9,8,8,8,8]},{"a":20288,"t":"byte","b":[9,8,8,8,8,9,8,8]},{"a":20296,"t":"byte","b":[8,8,9,8,8,8,8,8]},{"a":20304,"t":"byte","b":[8,8,4,4,4,4,4,4]},{"a":20312,"t":"byte","b":[4,4,4,4,4,8,9,8]},{"a":20320,"t":"byte","b":[8,8,8,9,8,8,8,8]},{"a":20328,"t":"byte","b":[9,8,8,8,8,9,8,8]},{"a":20336,"t":"byte","b":[8,8,9,8,8,8,8,8]},{"a":20344,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":20352,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":20360,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":20368,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":20376,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":20384,"t":"gap","n":96},{"a":20480,"l":"sprite_images_5000","c":"Sprite images, VIC bank 1, part 1 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $40-$4F (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20512,"t":"byte","b":[0,0,0,0,0,0,0,15]},{"a":20520,"t":"byte","b":[192,0,59,176,0,62,240,0]},{"a":20528,"t":"byte","b":[59,176,0,15,192,0,250,188]},{"a":20536,"t":"byte","b":[0,191,251,0,255,252,0,0]},{"a":20544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20584,"t":"byte","b":[0,0,239,188,0,239,187,0]},{"a":20592,"t":"byte","b":[239,188,0,32,128,0,239,188]},{"a":20600,"t":"byte","b":[0,239,187,0,239,188,0,0]},{"a":20608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20648,"t":"byte","b":[0,0,0,0,0,255,252,0]},{"a":20656,"t":"byte","b":[234,172,0,238,236,0,234,172]},{"a":20664,"t":"byte","b":[0,239,236,0,255,252,0,0]},{"a":20672,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20688,"t":"byte","b":[0,0,3,3,0,0,204,0]},{"a":20696,"t":"byte","b":[0,204,0,0,204,0,3,3]},{"a":20704,"t":"byte","b":[0,3,3,0,3,3,0,12]},{"a":20712,"t":"byte","b":[0,192,12,0,192,14,170,192]},{"a":20720,"t":"byte","b":[14,170,192,14,170,192,14,170]},{"a":20728,"t":"byte","b":[192,15,171,192,3,255,0,0]},{"a":20736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20760,"t":"byte","b":[0,0,0,0,190,88,2,254]},{"a":20768,"t":"byte","b":[86,2,250,86,2,250,106,11]},{"a":20776,"t":"byte","b":[250,174,11,226,254,11,226,254]},{"a":20784,"t":"byte","b":[11,226,255,47,226,233,155,226]},{"a":20792,"t":"byte","b":[149,38,162,150,9,98,88,0]},{"a":20800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20824,"t":"byte","b":[0,0,0,0,191,88,2,254]},{"a":20832,"t":"byte","b":[86,2,251,150,2,251,152,11]},{"a":20840,"t":"byte","b":[251,224,11,235,248,43,226,248]},{"a":20848,"t":"byte","b":[150,226,254,37,160,186,9,96]},{"a":20856,"t":"byte","b":[37,2,128,149,0,2,90,0]},{"a":20864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20888,"t":"byte","b":[0,0,0,2,255,150,2,251]},{"a":20896,"t":"byte","b":[150,2,251,149,2,251,229,2]},{"a":20904,"t":"byte","b":[251,248,2,162,248,2,90,248]},{"a":20912,"t":"byte","b":[9,90,248,2,170,254,0,2]},{"a":20920,"t":"byte","b":[168,0,9,88,0,37,96,0]},{"a":20928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20952,"t":"byte","b":[0,0,0,0,187,150,0,187]},{"a":20960,"t":"byte","b":[230,0,187,229,0,187,229,0]},{"a":20968,"t":"byte","b":[187,234,0,155,224,2,91,224]},{"a":20976,"t":"byte","b":[0,171,224,0,11,224,0,10]},{"a":20984,"t":"byte","b":[160,0,37,96,0,149,96,0]},{"a":20992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21016,"t":"byte","b":[0,0,0,0,45,150,0,46]},{"a":21024,"t":"byte","b":[86,0,46,85,0,46,90,0]},{"a":21032,"t":"byte","b":[47,168,0,47,184,0,47,152]},{"a":21040,"t":"byte","b":[0,47,152,0,47,152,0,42]},{"a":21048,"t":"byte","b":[160,0,149,128,2,85,128,0]},{"a":21056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21080,"t":"byte","b":[0,0,0,0,191,152,0,190]},{"a":21088,"t":"byte","b":[88,0,190,86,0,190,86,0]},{"a":21096,"t":"byte","b":[190,104,0,190,184,0,190,248]},{"a":21104,"t":"byte","b":[0,190,230,0,190,150,0,170]},{"a":21112,"t":"byte","b":[88,2,86,96,9,86,128,0]},{"a":21120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21144,"t":"byte","b":[0,0,0,0,190,88,0,190]},{"a":21152,"t":"byte","b":[86,0,190,86,2,250,88,2]},{"a":21160,"t":"byte","b":[251,104,2,251,184,2,251,248]},{"a":21168,"t":"byte","b":[2,250,254,2,248,181,2,160]},{"a":21176,"t":"byte","b":[149,9,90,90,37,90,96,0]},{"a":21184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21208,"t":"byte","b":[0,0,0,0,190,86,0,190]},{"a":21216,"t":"byte","b":[86,0,190,85,2,250,90,2]},{"a":21224,"t":"byte","b":[251,168,2,251,248,11,250,254]},{"a":21232,"t":"byte","b":[11,248,190,11,248,186,38,160]},{"a":21240,"t":"byte","b":[37,37,88,149,10,90,90,0]},{"a":21248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21272,"t":"byte","b":[0,0,0,149,190,0,149,190]},{"a":21280,"t":"byte","b":[0,85,190,0,165,175,128,42]},{"a":21288,"t":"byte","b":[239,128,47,239,128,191,175,224]},{"a":21296,"t":"byte","b":[190,47,224,174,47,224,88,10]},{"a":21304,"t":"byte","b":[152,86,37,88,165,165,160,0]},{"a":21312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21336,"t":"byte","b":[0,0,0,37,190,0,149,190]},{"a":21344,"t":"byte","b":[0,149,190,0,37,175,128,41]},{"a":21352,"t":"byte","b":[239,128,46,239,128,47,239,128]},{"a":21360,"t":"byte","b":[191,175,128,94,47,128,86,10]},{"a":21368,"t":"byte","b":[128,165,165,96,9,165,88,0]},{"a":21376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21384,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21400,"t":"byte","b":[0,0,0,38,254,0,37,190]},{"a":21408,"t":"byte","b":[0,149,190,0,149,190,0,41]},{"a":21416,"t":"byte","b":[190,0,46,190,0,47,190,0]},{"a":21424,"t":"byte","b":[155,190,0,150,190,0,37,170]},{"a":21432,"t":"byte","b":[0,9,149,128,2,149,96,0]},{"a":21440,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21456,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21464,"t":"byte","b":[0,0,0,150,120,0,149,184]},{"a":21472,"t":"byte","b":[0,85,184,0,165,184,0,42]},{"a":21480,"t":"byte","b":[248,0,46,248,0,38,248,0]},{"a":21488,"t":"byte","b":[38,248,0,38,248,0,10,168]},{"a":21496,"t":"byte","b":[0,2,86,0,2,85,128,0]},{"a":21504,"l":"sprite_images_5400","c":"Sprite images, VIC bank 1, part 2 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $50-$5F (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21528,"t":"byte","b":[0,0,0,150,238,0,155,238]},{"a":21536,"t":"byte","b":[0,91,238,0,91,238,0,171]},{"a":21544,"t":"byte","b":[238,0,11,230,0,11,229,128]},{"a":21552,"t":"byte","b":[11,234,0,11,224,0,10,160]},{"a":21560,"t":"byte","b":[0,9,88,0,9,86,0,0]},{"a":21568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21592,"t":"byte","b":[0,0,0,150,255,128,150,239]},{"a":21600,"t":"byte","b":[128,86,239,128,91,239,128,47]},{"a":21608,"t":"byte","b":[239,128,47,138,128,47,165,128]},{"a":21616,"t":"byte","b":[47,165,96,191,170,128,42,128]},{"a":21624,"t":"byte","b":[0,37,96,0,9,88,0,0]},{"a":21632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21656,"t":"byte","b":[0,0,0,37,254,0,149,191]},{"a":21664,"t":"byte","b":[128,150,239,128,38,239,128,11]},{"a":21672,"t":"byte","b":[239,224,47,235,224,47,139,232]},{"a":21680,"t":"byte","b":[191,139,150,174,10,88,88,9]},{"a":21688,"t":"byte","b":[96,86,2,128,165,128,0,0]},{"a":21696,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21720,"t":"byte","b":[0,0,0,37,190,0,149,191]},{"a":21728,"t":"byte","b":[128,149,175,128,169,175,128,186]},{"a":21736,"t":"byte","b":[175,224,191,139,224,191,139,224]},{"a":21744,"t":"byte","b":[255,139,224,107,139,248,86,139]},{"a":21752,"t":"byte","b":[230,150,138,152,37,137,96,0]},{"a":21760,"t":"byte","b":[10,85,128,37,85,96,37,85]},{"a":21768,"t":"byte","b":[96,9,85,128,10,86,0,9]},{"a":21776,"t":"byte","b":[85,128,9,85,128,9,85,128]},{"a":21784,"t":"byte","b":[9,85,128,9,85,128,37,85]},{"a":21792,"t":"byte","b":[96,37,85,96,37,117,96,37]},{"a":21800,"t":"byte","b":[117,96,11,239,128,11,239,128]},{"a":21808,"t":"byte","b":[2,170,0,9,101,128,2,170]},{"a":21816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21832,"t":"byte","b":[0,0,0,32,0,0,152,0]},{"a":21840,"t":"byte","b":[0,150,0,0,38,0,0,37]},{"a":21848,"t":"byte","b":[0,0,9,0,0,47,0,0]},{"a":21856,"t":"byte","b":[47,8,0,191,174,0,47,238]},{"a":21864,"t":"byte","b":[0,174,191,138,94,251,174,94]},{"a":21872,"t":"byte","b":[191,189,110,239,105,104,187,149]},{"a":21880,"t":"byte","b":[166,239,149,149,187,106,85,0]},{"a":21888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21904,"t":"byte","b":[2,160,0,10,168,0,40,168]},{"a":21912,"t":"byte","b":[0,10,160,127,242,128,223,250]},{"a":21920,"t":"byte","b":[0,247,112,32,125,248,96,223]},{"a":21928,"t":"byte","b":[170,144,247,168,80,221,224,80]},{"a":21936,"t":"byte","b":[255,241,80,0,1,84,0,2]},{"a":21944,"t":"byte","b":[8,0,8,2,0,40,8,0]},{"a":21952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21960,"t":"byte","b":[0,0,4,0,0,4,0,0]},{"a":21968,"t":"byte","b":[4,0,0,20,0,16,28,1]},{"a":21976,"t":"byte","b":[20,28,4,13,28,20,5,93]},{"a":21984,"t":"byte","b":[112,3,95,208,1,221,64,0]},{"a":21992,"t":"byte","b":[253,20,5,127,125,95,215,212]},{"a":22000,"t":"byte","b":[5,245,64,0,119,80,1,125]},{"a":22008,"t":"byte","b":[244,21,247,221,95,215,84,0]},{"a":22016,"t":"byte","b":[9,85,96,37,85,96,37,85]},{"a":22024,"t":"byte","b":[96,37,149,128,38,86,0,9]},{"a":22032,"t":"byte","b":[89,128,9,85,128,9,85,128]},{"a":22040,"t":"byte","b":[9,85,128,9,85,128,37,85]},{"a":22048,"t":"byte","b":[96,37,85,96,37,117,128,37]},{"a":22056,"t":"byte","b":[127,128,11,239,128,11,229,128]},{"a":22064,"t":"byte","b":[11,234,0,11,224,0,11,224]},{"a":22072,"t":"byte","b":[0,2,128,0,9,96,0,0]},{"a":22080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22128,"t":"byte","b":[0,0,0,15,240,0,12,48]},{"a":22136,"t":"byte","b":[0,12,48,0,252,63,0,0]},{"a":22144,"t":"byte","b":[37,85,128,37,85,96,37,85]},{"a":22152,"t":"byte","b":[96,9,89,96,2,86,96,9]},{"a":22160,"t":"byte","b":[149,128,9,85,128,9,85,128]},{"a":22168,"t":"byte","b":[9,85,128,9,85,128,37,85]},{"a":22176,"t":"byte","b":[96,37,85,96,9,117,96,11]},{"a":22184,"t":"byte","b":[245,96,11,239,128,9,111,128]},{"a":22192,"t":"byte","b":[2,175,128,0,47,128,0,47]},{"a":22200,"t":"byte","b":[128,0,10,0,0,37,128,0]},{"a":22208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22248,"t":"byte","b":[0,0,255,252,0,186,184,0]},{"a":22256,"t":"byte","b":[187,248,0,186,184,0,191,184]},{"a":22264,"t":"byte","b":[0,186,184,0,255,252,0,0]},{"a":22272,"t":"byte","b":[0,187,128,2,238,224,0,191]},{"a":22280,"t":"byte","b":[184,0,187,224,2,255,184,0]},{"a":22288,"t":"byte","b":[191,224,0,47,128,0,190,0]},{"a":22296,"t":"byte","b":[0,41,128,0,37,96,0,37]},{"a":22304,"t":"byte","b":[96,0,182,88,0,181,152,0]},{"a":22312,"t":"byte","b":[182,88,0,187,96,0,187,152]},{"a":22320,"t":"byte","b":[0,38,88,0,0,0,0,0]},{"a":22328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22336,"t":"byte","b":[0,187,128,2,238,224,0,191]},{"a":22344,"t":"byte","b":[184,0,187,224,2,255,184,0]},{"a":22352,"t":"byte","b":[191,224,0,47,128,0,190,0]},{"a":22360,"t":"byte","b":[0,41,128,0,37,96,0,181]},{"a":22368,"t":"byte","b":[96,0,182,88,0,181,152,2]},{"a":22376,"t":"byte","b":[230,88,0,167,104,0,39,152]},{"a":22384,"t":"byte","b":[0,182,88,0,0,0,0,0]},{"a":22392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22400,"t":"byte","b":[0,46,224,0,187,184,0,47]},{"a":22408,"t":"byte","b":[238,0,46,248,0,191,238,0]},{"a":22416,"t":"byte","b":[47,248,0,11,224,0,47,128]},{"a":22424,"t":"byte","b":[0,10,96,0,45,96,0,45]},{"a":22432,"t":"byte","b":[88,0,189,88,0,185,150,0]},{"a":22440,"t":"byte","b":[41,102,0,9,150,0,46,218]},{"a":22448,"t":"byte","b":[0,190,166,0,0,0,0,0]},{"a":22456,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22464,"t":"byte","b":[0,46,224,0,187,184,0,47]},{"a":22472,"t":"byte","b":[238,0,46,248,0,191,238,0]},{"a":22480,"t":"byte","b":[47,248,0,11,224,0,47,128]},{"a":22488,"t":"byte","b":[0,10,64,0,45,96,0,189]},{"a":22496,"t":"byte","b":[88,0,185,88,0,185,150,0]},{"a":22504,"t":"byte","b":[41,102,0,9,150,0,42,216]},{"a":22512,"t":"byte","b":[0,187,160,0,0,0,0,0]},{"a":22520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22528,"l":"sprite_images_5800","c":"Sprite images, VIC bank 1, part 3 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $60-$6F (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,46,224,0,187,184,0,47]},{"a":22536,"t":"byte","b":[238,0,46,248,0,191,238,0]},{"a":22544,"t":"byte","b":[47,248,0,11,224,0,47,128]},{"a":22552,"t":"byte","b":[0,10,96,0,45,96,0,189]},{"a":22560,"t":"byte","b":[88,0,185,88,0,185,150,0]},{"a":22568,"t":"byte","b":[41,102,0,45,150,0,46,216]},{"a":22576,"t":"byte","b":[0,46,224,0,0,0,0,0]},{"a":22584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22592,"t":"byte","b":[0,46,224,0,187,184,0,47]},{"a":22600,"t":"byte","b":[238,0,46,248,0,191,238,0]},{"a":22608,"t":"byte","b":[47,248,0,11,224,0,47,128]},{"a":22616,"t":"byte","b":[0,10,96,0,45,96,0,45]},{"a":22624,"t":"byte","b":[88,0,45,88,0,45,150,0]},{"a":22632,"t":"byte","b":[185,102,0,41,150,0,46,216]},{"a":22640,"t":"byte","b":[0,46,224,0,0,0,0,0]},{"a":22648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22656,"t":"byte","b":[0,187,128,2,238,224,0,191]},{"a":22664,"t":"byte","b":[184,0,187,224,2,255,184,0]},{"a":22672,"t":"byte","b":[191,224,0,175,128,0,190,0]},{"a":22680,"t":"byte","b":[0,41,128,0,37,96,0,181]},{"a":22688,"t":"byte","b":[96,0,182,88,0,181,152,0]},{"a":22696,"t":"byte","b":[190,88,0,47,104,0,47,152]},{"a":22704,"t":"byte","b":[0,46,88,0,0,0,0,0]},{"a":22712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22720,"t":"byte","b":[0,187,128,2,238,224,0,191]},{"a":22728,"t":"byte","b":[184,0,187,224,2,255,184,0]},{"a":22736,"t":"byte","b":[191,224,0,47,128,0,190,0]},{"a":22744,"t":"byte","b":[0,41,128,0,37,96,0,181]},{"a":22752,"t":"byte","b":[96,0,182,88,0,181,152,0]},{"a":22760,"t":"byte","b":[182,88,0,43,104,0,43,152]},{"a":22768,"t":"byte","b":[0,46,88,0,0,0,0,0]},{"a":22776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22784,"t":"byte","b":[2,238,0,11,187,128,46,254]},{"a":22792,"t":"byte","b":[0,11,238,0,46,255,128,11]},{"a":22800,"t":"byte","b":[254,0,2,248,0,0,190,0]},{"a":22808,"t":"byte","b":[2,104,0,9,88,0,9,94]},{"a":22816,"t":"byte","b":[0,37,158,0,38,94,0,37]},{"a":22824,"t":"byte","b":[158,0,41,232,0,38,232,0]},{"a":22832,"t":"byte","b":[37,184,0,0,0,0,0,0]},{"a":22840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22848,"t":"byte","b":[2,238,0,11,187,128,46,254]},{"a":22856,"t":"byte","b":[0,11,238,0,46,255,128,11]},{"a":22864,"t":"byte","b":[254,0,2,250,0,0,190,0]},{"a":22872,"t":"byte","b":[2,104,0,9,88,0,9,94]},{"a":22880,"t":"byte","b":[0,37,158,0,38,94,0,37]},{"a":22888,"t":"byte","b":[190,0,41,232,0,38,168,0]},{"a":22896,"t":"byte","b":[37,248,0,0,0,0,0,0]},{"a":22904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22912,"t":"byte","b":[11,184,0,46,238,0,187,248]},{"a":22920,"t":"byte","b":[0,47,184,0,187,254,0,47]},{"a":22928,"t":"byte","b":[248,0,11,224,0,2,248,0]},{"a":22936,"t":"byte","b":[9,160,0,9,120,0,37,120]},{"a":22944,"t":"byte","b":[0,37,120,0,150,120,0,153]},{"a":22952,"t":"byte","b":[110,0,150,104,0,39,184,0]},{"a":22960,"t":"byte","b":[11,184,0,0,0,0,0,0]},{"a":22968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22976,"t":"byte","b":[11,184,0,46,238,0,187,248]},{"a":22984,"t":"byte","b":[0,47,184,0,187,254,0,47]},{"a":22992,"t":"byte","b":[248,0,11,224,0,2,248,0]},{"a":23000,"t":"byte","b":[9,160,0,9,120,0,37,126]},{"a":23008,"t":"byte","b":[0,37,110,0,150,110,0,153]},{"a":23016,"t":"byte","b":[104,0,150,120,0,39,184,0]},{"a":23024,"t":"byte","b":[11,184,0,0,0,0,0,0]},{"a":23032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23040,"t":"byte","b":[11,184,0,46,238,0,187,248]},{"a":23048,"t":"byte","b":[0,47,184,0,187,254,0,47]},{"a":23056,"t":"byte","b":[248,0,11,224,0,2,248,0]},{"a":23064,"t":"byte","b":[1,160,0,9,120,0,37,126]},{"a":23072,"t":"byte","b":[0,37,110,0,150,110,0,153]},{"a":23080,"t":"byte","b":[104,0,150,96,0,39,184,0]},{"a":23088,"t":"byte","b":[11,190,0,0,0,0,0,0]},{"a":23096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23104,"t":"byte","b":[11,184,0,46,238,0,187,248]},{"a":23112,"t":"byte","b":[0,47,184,0,187,254,0,47]},{"a":23120,"t":"byte","b":[248,0,11,224,0,2,248,0]},{"a":23128,"t":"byte","b":[9,160,0,9,120,0,37,120]},{"a":23136,"t":"byte","b":[0,37,126,0,150,110,0,153]},{"a":23144,"t":"byte","b":[104,0,150,96,0,167,184,0]},{"a":23152,"t":"byte","b":[155,190,0,0,0,0,0,0]},{"a":23160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23168,"t":"byte","b":[2,238,0,11,187,128,46,254]},{"a":23176,"t":"byte","b":[0,11,238,0,46,255,128,11]},{"a":23184,"t":"byte","b":[254,0,2,248,0,0,190,0]},{"a":23192,"t":"byte","b":[2,104,0,9,88,0,9,94]},{"a":23200,"t":"byte","b":[0,37,158,0,38,94,0,37]},{"a":23208,"t":"byte","b":[155,128,41,218,0,38,216,0]},{"a":23216,"t":"byte","b":[37,190,0,0,0,0,0,0]},{"a":23224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23232,"t":"byte","b":[2,238,0,11,187,128,46,254]},{"a":23240,"t":"byte","b":[0,11,238,0,46,255,128,11]},{"a":23248,"t":"byte","b":[254,0,2,248,0,0,190,0]},{"a":23256,"t":"byte","b":[2,104,0,9,88,0,9,88]},{"a":23264,"t":"byte","b":[0,37,158,0,38,94,0,37]},{"a":23272,"t":"byte","b":[158,0,9,238,0,38,238,0]},{"a":23280,"t":"byte","b":[37,184,0,0,0,0,0,0]},{"a":23288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23296,"t":"byte","b":[2,238,0,11,187,128,10,238]},{"a":23304,"t":"byte","b":[128,11,187,128,10,238,128,11]},{"a":23312,"t":"byte","b":[187,128,37,237,96,38,86,96]},{"a":23320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23360,"t":"byte","b":[1,85,64,5,0,80,4,0]},{"a":23368,"t":"byte","b":[16,4,0,16,102,170,153,100]},{"a":23376,"t":"byte","b":[0,25,102,170,153,100,0,25]},{"a":23384,"t":"byte","b":[102,170,153,100,0,25,102,170]},{"a":23392,"t":"byte","b":[153,100,0,25,102,170,153,100]},{"a":23400,"t":"byte","b":[0,25,100,0,25,100,0,25]},{"a":23408,"t":"byte","b":[100,0,25,5,85,80,5,170]},{"a":23416,"t":"byte","b":[80,5,170,80,1,85,64,0]},{"a":23424,"t":"byte","b":[0,46,0,0,187,128,2,238]},{"a":23432,"t":"byte","b":[224,2,187,96,2,238,224,11]},{"a":23440,"t":"byte","b":[187,96,2,238,96,2,86,96]},{"a":23448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23456,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23488,"t":"byte","b":[1,85,64,5,85,80,21,85]},{"a":23496,"t":"byte","b":[84,23,255,212,31,0,244,28]},{"a":23504,"t":"byte","b":[0,52,28,0,52,28,0,52]},{"a":23512,"t":"byte","b":[28,0,52,42,170,168,24,0]},{"a":23520,"t":"byte","b":[36,24,0,36,24,0,36,24]},{"a":23528,"t":"byte","b":[0,36,24,0,36,106,170,169]},{"a":23536,"t":"byte","b":[85,85,85,85,85,85,21,85]},{"a":23544,"t":"byte","b":[84,32,0,8,14,238,224,0]},{"a":23552,"l":"sprite_images_5c00","c":"Sprite images, VIC bank 1, part 4 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $70-$7F (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23568,"t":"byte","b":[2,160,0,10,168,0,40,168]},{"a":23576,"t":"byte","b":[0,10,160,127,242,128,223,250]},{"a":23584,"t":"byte","b":[0,247,112,32,125,248,96,223]},{"a":23592,"t":"byte","b":[170,144,247,168,80,221,224,80]},{"a":23600,"t":"byte","b":[255,241,80,0,1,80,0,0]},{"a":23608,"t":"byte","b":[128,0,2,32,0,0,128,0]},{"a":23616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23656,"t":"byte","b":[0,0,255,252,0,186,184,0]},{"a":23664,"t":"byte","b":[190,248,0,190,248,0,190,248]},{"a":23672,"t":"byte","b":[0,190,248,0,255,252,0,0]},{"a":23680,"t":"byte","b":[2,224,0,11,184,0,46,238]},{"a":23688,"t":"byte","b":[0,39,186,0,46,238,0,39]},{"a":23696,"t":"byte","b":[187,128,38,238,0,38,86,0]},{"a":23704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23784,"t":"byte","b":[0,0,255,252,0,186,184,0]},{"a":23792,"t":"byte","b":[187,184,0,186,184,0,187,184]},{"a":23800,"t":"byte","b":[0,187,184,0,255,252,0,0]},{"a":23808,"t":"byte","b":[0,187,128,2,238,224,0,191]},{"a":23816,"t":"byte","b":[184,0,187,224,2,255,184,0]},{"a":23824,"t":"byte","b":[191,224,0,47,128,0,190,0]},{"a":23832,"t":"byte","b":[0,41,128,0,37,96,0,37]},{"a":23840,"t":"byte","b":[96,0,38,88,0,42,88,0]},{"a":23848,"t":"byte","b":[181,88,0,181,96,0,42,160]},{"a":23856,"t":"byte","b":[0,45,88,0,0,0,0,0]},{"a":23864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23872,"t":"byte","b":[2,238,0,11,187,128,46,254]},{"a":23880,"t":"byte","b":[0,11,238,0,46,255,128,11]},{"a":23888,"t":"byte","b":[254,0,2,248,0,0,190,0]},{"a":23896,"t":"byte","b":[2,104,0,9,88,0,9,88]},{"a":23904,"t":"byte","b":[0,37,152,0,37,168,0,37]},{"a":23912,"t":"byte","b":[94,0,9,94,0,38,168,0]},{"a":23920,"t":"byte","b":[37,248,0,0,0,0,0,0]},{"a":23928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23944,"t":"byte","b":[0,0,0,0,0,0,0,2]},{"a":23952,"t":"byte","b":[160,0,11,232,0,47,170,0]},{"a":23960,"t":"byte","b":[46,170,0,190,170,128,186,170]},{"a":23968,"t":"byte","b":[128,186,170,128,170,170,128,170]},{"a":23976,"t":"byte","b":[170,128,170,170,128,170,170,128]},{"a":23984,"t":"byte","b":[170,170,128,42,170,0,42,170]},{"a":23992,"t":"byte","b":[0,10,168,0,2,160,0,0]},{"a":24000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24008,"t":"byte","b":[0,0,0,0,0,0,0,2]},{"a":24016,"t":"byte","b":[160,0,10,168,0,42,170,0]},{"a":24024,"t":"byte","b":[42,174,0,170,174,128,170,171]},{"a":24032,"t":"byte","b":[128,170,171,128,170,171,128,170]},{"a":24040,"t":"byte","b":[171,128,170,171,128,170,171,128]},{"a":24048,"t":"byte","b":[170,170,128,42,170,0,42,170]},{"a":24056,"t":"byte","b":[0,10,168,0,2,160,0,0]},{"a":24064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24072,"t":"byte","b":[0,0,0,0,0,0,0,2]},{"a":24080,"t":"byte","b":[160,0,10,168,0,42,170,0]},{"a":24088,"t":"byte","b":[42,170,0,170,170,128,170,170]},{"a":24096,"t":"byte","b":[128,170,170,128,170,170,128,170]},{"a":24104,"t":"byte","b":[170,128,170,170,128,186,170,128]},{"a":24112,"t":"byte","b":[174,174,128,47,254,0,43,250]},{"a":24120,"t":"byte","b":[0,10,168,0,2,160,0,0]},{"a":24128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24144,"t":"byte","b":[0,0,0,0,0,32,128,0]},{"a":24152,"t":"byte","b":[42,128,0,38,64,0,9,128]},{"a":24160,"t":"byte","b":[0,10,0,0,5,0,0,10]},{"a":24168,"t":"byte","b":[128,0,10,160,0,10,160,0]},{"a":24176,"t":"byte","b":[9,168,0,9,168,0,137,168]},{"a":24184,"t":"byte","b":[0,149,88,0,42,160,0,0]},{"a":24192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24232,"t":"byte","b":[0,0,255,252,0,186,184,0]},{"a":24240,"t":"byte","b":[187,184,0,186,248,0,187,184]},{"a":24248,"t":"byte","b":[0,187,184,0,255,252,0,0]},{"a":24256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24296,"t":"byte","b":[0,0,255,252,0,186,184,0]},{"a":24304,"t":"byte","b":[187,184,0,187,184,0,187,184]},{"a":24312,"t":"byte","b":[0,186,184,0,255,252,0,0]},{"a":24320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24360,"t":"byte","b":[0,0,255,252,0,186,184,0]},{"a":24368,"t":"byte","b":[187,184,0,186,184,0,187,248]},{"a":24376,"t":"byte","b":[0,187,248,0,255,252,0,0]},{"a":24384,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24400,"t":"byte","b":[0,0,0,0,0,0,60,0]},{"a":24408,"t":"byte","b":[0,255,0,0,239,0,3,239]},{"a":24416,"t":"byte","b":[192,3,175,192,3,191,192,3]},{"a":24424,"t":"byte","b":[191,192,15,255,240,15,255,240]},{"a":24432,"t":"byte","b":[15,255,240,15,255,240,3,255]},{"a":24440,"t":"byte","b":[192,3,255,192,0,255,0,0]},{"a":24448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24456,"t":"byte","b":[0,0,0,0,0,0,0,2]},{"a":24464,"t":"byte","b":[160,0,10,168,0,40,168,0]},{"a":24472,"t":"byte","b":[10,160,0,34,128,0,10,0]},{"a":24480,"t":"byte","b":[0,0,128,0,1,160,0,137]},{"a":24488,"t":"byte","b":[72,0,33,32,0,1,128,0]},{"a":24496,"t":"byte","b":[5,0,0,5,80,0,136,32]},{"a":24504,"t":"byte","b":[0,32,8,0,0,32,0,0]},{"a":24512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24520,"t":"byte","b":[0,0,0,0,0,0,0,2]},{"a":24528,"t":"byte","b":[160,0,10,168,0,40,168,0]},{"a":24536,"t":"byte","b":[10,160,0,2,128,0,42,0]},{"a":24544,"t":"byte","b":[0,0,128,0,1,96,0,9]},{"a":24552,"t":"byte","b":[128,0,6,64,0,1,0,0]},{"a":24560,"t":"byte","b":[1,64,0,5,64,0,2,0]},{"a":24568,"t":"byte","b":[0,8,128,0,2,0,0,0]},{"a":24576,"l":"sprite_images_6000","c":"Sprite images, VIC bank 1, part 5 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $80-$8F (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24592,"t":"byte","b":[42,0,0,170,128,2,138,128]},{"a":24600,"t":"byte","b":[0,170,0,0,40,0,60,160]},{"a":24608,"t":"byte","b":[0,247,2,0,223,134,0,247]},{"a":24616,"t":"byte","b":[41,0,247,133,0,222,5,0]},{"a":24624,"t":"byte","b":[220,21,0,60,21,64,0,32]},{"a":24632,"t":"byte","b":[128,0,128,32,2,128,128,0]},{"a":24640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24656,"t":"byte","b":[42,0,0,170,128,2,138,128]},{"a":24664,"t":"byte","b":[0,170,0,0,40,0,60,160]},{"a":24672,"t":"byte","b":[0,247,2,0,223,134,0,247]},{"a":24680,"t":"byte","b":[41,0,247,133,0,222,5,0]},{"a":24688,"t":"byte","b":[220,21,0,60,21,0,0,8]},{"a":24696,"t":"byte","b":[0,0,34,0,0,8,0,0]},{"a":24704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24712,"t":"byte","b":[0,0,0,0,0,0,0,42]},{"a":24720,"t":"byte","b":[0,0,170,128,0,168,160,0]},{"a":24728,"t":"byte","b":[42,128,0,10,32,0,2,128]},{"a":24736,"t":"byte","b":[0,8,0,0,41,0,0,133]},{"a":24744,"t":"byte","b":[136,0,33,32,0,9,0,0]},{"a":24752,"t":"byte","b":[1,64,0,21,64,0,32,128]},{"a":24760,"t":"byte","b":[0,128,32,0,32,40,0,0]},{"a":24768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24776,"t":"byte","b":[0,0,0,0,0,0,0,42]},{"a":24784,"t":"byte","b":[0,0,170,128,0,168,160,0]},{"a":24792,"t":"byte","b":[42,128,0,10,0,0,2,160]},{"a":24800,"t":"byte","b":[0,8,0,0,37,0,0,9]},{"a":24808,"t":"byte","b":[128,0,6,64,0,1,0,0]},{"a":24816,"t":"byte","b":[5,0,0,5,64,0,2,0]},{"a":24824,"t":"byte","b":[0,8,128,0,2,0,0,0]},{"a":24832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24840,"t":"byte","b":[0,0,0,0,0,0,0,10]},{"a":24848,"t":"byte","b":[128,0,42,160,0,42,40,0]},{"a":24856,"t":"byte","b":[10,160,0,2,128,0,0,163]},{"a":24864,"t":"byte","b":[192,8,13,240,9,47,112,6]},{"a":24872,"t":"byte","b":[141,240,5,45,240,5,11,112]},{"a":24880,"t":"byte","b":[5,67,112,21,67,192,32,128]},{"a":24888,"t":"byte","b":[0,128,32,0,32,40,0,0]},{"a":24896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24904,"t":"byte","b":[0,0,0,0,0,0,0,10]},{"a":24912,"t":"byte","b":[128,0,42,160,0,42,40,0]},{"a":24920,"t":"byte","b":[10,160,0,2,128,0,0,163]},{"a":24928,"t":"byte","b":[192,8,13,240,9,47,112,6]},{"a":24936,"t":"byte","b":[141,240,5,45,240,5,11,112]},{"a":24944,"t":"byte","b":[5,67,112,5,67,192,2,0]},{"a":24952,"t":"byte","b":[0,8,128,0,2,0,0,0]},{"a":24960,"t":"byte","b":[0,0,0,2,128,0,10,160]},{"a":24968,"t":"byte","b":[0,10,160,0,10,160,0,10]},{"a":24976,"t":"byte","b":[160,0,34,128,0,130,128,0]},{"a":24984,"t":"byte","b":[33,104,0,5,96,0,1,64]},{"a":24992,"t":"byte","b":[0,4,64,0,5,0,0,5]},{"a":25000,"t":"byte","b":[128,0,4,128,0,6,128,0]},{"a":25008,"t":"byte","b":[4,160,0,8,0,0,8,0]},{"a":25016,"t":"byte","b":[0,40,0,0,0,0,0,0]},{"a":25024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25040,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25048,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25056,"t":"byte","b":[0,0,0,1,0,0,4,0]},{"a":25064,"t":"byte","b":[0,16,239,188,100,239,187,105]},{"a":25072,"t":"byte","b":[239,189,148,32,128,64,239,189]},{"a":25080,"t":"byte","b":[144,239,187,164,239,188,85,0]},{"a":25088,"t":"byte","b":[0,0,0,10,0,0,42,128]},{"a":25096,"t":"byte","b":[0,42,128,0,42,128,0,10]},{"a":25104,"t":"byte","b":[128,0,34,0,0,130,0,0]},{"a":25112,"t":"byte","b":[33,104,0,5,96,0,1,64]},{"a":25120,"t":"byte","b":[0,5,64,0,4,0,0,5]},{"a":25128,"t":"byte","b":[128,0,8,64,0,9,64,0]},{"a":25136,"t":"byte","b":[40,128,0,0,128,0,0,128]},{"a":25144,"t":"byte","b":[0,0,160,0,0,0,0,0]},{"a":25152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25176,"t":"byte","b":[0,0,0,0,0,4,0,0]},{"a":25184,"t":"byte","b":[4,0,0,16,0,0,80,0]},{"a":25192,"t":"byte","b":[0,97,239,188,100,239,187,100]},{"a":25200,"t":"byte","b":[239,189,144,32,128,65,239,189]},{"a":25208,"t":"byte","b":[149,239,187,164,239,188,80,0]},{"a":25216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25232,"t":"byte","b":[42,0,0,170,128,2,138,128]},{"a":25240,"t":"byte","b":[0,170,0,0,40,0,48,160]},{"a":25248,"t":"byte","b":[0,139,2,0,59,134,0,172]},{"a":25256,"t":"byte","b":[41,0,203,133,0,34,5,0]},{"a":25264,"t":"byte","b":[44,21,0,0,21,64,0,32]},{"a":25272,"t":"byte","b":[128,0,128,32,2,128,128,0]},{"a":25280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25296,"t":"byte","b":[42,0,0,170,128,2,138,128]},{"a":25304,"t":"byte","b":[0,170,0,0,40,0,48,160]},{"a":25312,"t":"byte","b":[0,139,2,0,59,134,0,172]},{"a":25320,"t":"byte","b":[41,0,203,133,0,34,5,0]},{"a":25328,"t":"byte","b":[44,21,0,0,21,0,0,8]},{"a":25336,"t":"byte","b":[0,0,34,0,0,8,0,0]},{"a":25344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25352,"t":"byte","b":[0,0,0,0,0,0,0,10]},{"a":25360,"t":"byte","b":[128,0,42,160,0,42,40,0]},{"a":25368,"t":"byte","b":[10,160,0,2,128,0,0,160]},{"a":25376,"t":"byte","b":[192,8,14,32,9,46,192,6]},{"a":25384,"t":"byte","b":[131,160,5,46,48,5,8,128]},{"a":25392,"t":"byte","b":[5,67,128,5,64,0,2,0]},{"a":25400,"t":"byte","b":[0,8,128,0,2,0,0,0]},{"a":25408,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25416,"t":"byte","b":[0,0,0,0,0,0,0,10]},{"a":25424,"t":"byte","b":[128,0,42,160,0,42,40,0]},{"a":25432,"t":"byte","b":[10,160,0,2,128,0,0,160]},{"a":25440,"t":"byte","b":[192,8,14,32,9,46,192,6]},{"a":25448,"t":"byte","b":[131,160,5,46,48,5,8,128]},{"a":25456,"t":"byte","b":[5,67,128,21,64,0,32,128]},{"a":25464,"t":"byte","b":[0,128,32,0,32,40,0,0]},{"a":25472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25488,"t":"byte","b":[42,0,0,170,128,2,138,128]},{"a":25496,"t":"byte","b":[12,170,0,48,40,0,48,160]},{"a":25504,"t":"byte","b":[0,208,2,0,196,6,0,193]},{"a":25512,"t":"byte","b":[169,0,192,69,0,0,5,0]},{"a":25520,"t":"byte","b":[0,21,0,0,21,64,0,32]},{"a":25528,"t":"byte","b":[128,0,128,32,2,128,128,0]},{"a":25536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25552,"t":"byte","b":[42,0,0,170,128,2,138,128]},{"a":25560,"t":"byte","b":[12,170,0,48,40,0,48,160]},{"a":25568,"t":"byte","b":[0,208,2,0,196,6,0,193]},{"a":25576,"t":"byte","b":[169,0,192,69,0,0,5,0]},{"a":25584,"t":"byte","b":[0,21,0,0,21,0,0,8]},{"a":25592,"t":"byte","b":[0,0,34,0,0,8,0,0]},{"a":25600,"l":"sprite_images_6400","c":"Sprite images, VIC bank 1, part 6 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $90-$9F (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25608,"t":"byte","b":[0,0,0,0,0,0,0,10]},{"a":25616,"t":"byte","b":[128,0,42,160,0,42,40,0]},{"a":25624,"t":"byte","b":[10,161,0,2,128,64,0,160]},{"a":25632,"t":"byte","b":[64,8,0,208,9,3,16,6]},{"a":25640,"t":"byte","b":[172,16,5,48,16,5,0,0]},{"a":25648,"t":"byte","b":[5,64,0,21,64,0,32,128]},{"a":25656,"t":"byte","b":[0,128,32,0,32,40,0,0]},{"a":25664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25672,"t":"byte","b":[0,0,0,0,0,0,0,10]},{"a":25680,"t":"byte","b":[128,0,42,160,0,42,40,0]},{"a":25688,"t":"byte","b":[10,161,0,2,128,64,0,160]},{"a":25696,"t":"byte","b":[64,8,0,208,9,3,16,6]},{"a":25704,"t":"byte","b":[172,16,5,48,16,5,0,16]},{"a":25712,"t":"byte","b":[5,64,0,5,64,0,2,0]},{"a":25720,"t":"byte","b":[0,8,128,0,2,0,0,0]},{"a":25728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25752,"t":"byte","b":[0,0,0,192,192,0,255,192]},{"a":25760,"t":"byte","b":[0,204,192,0,12,0,0,63]},{"a":25768,"t":"byte","b":[0,0,59,0,0,63,0,0]},{"a":25776,"t":"byte","b":[59,0,0,63,0,0,63,0]},{"a":25784,"t":"byte","b":[0,63,0,0,63,0,0,0]},{"a":25792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25808,"t":"byte","b":[2,160,0,10,168,12,40,168]},{"a":25816,"t":"byte","b":[12,10,160,48,34,128,48,10]},{"a":25824,"t":"byte","b":[0,53,0,128,48,106,128,192]},{"a":25832,"t":"byte","b":[136,0,192,33,64,192,1,64]},{"a":25840,"t":"byte","b":[0,5,64,0,5,80,0,8]},{"a":25848,"t":"byte","b":[32,0,32,8,0,160,32,0]},{"a":25856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25872,"t":"byte","b":[0,0,42,168,0,154,166,0]},{"a":25880,"t":"byte","b":[150,150,0,170,170,0,165,90]},{"a":25888,"t":"byte","b":[0,31,244,0,13,112,0,26]},{"a":25896,"t":"byte","b":[148,0,54,164,0,245,159,0]},{"a":25904,"t":"byte","b":[223,127,0,253,223,0,247,247]},{"a":25912,"t":"byte","b":[0,63,252,0,15,240,0,0]},{"a":25920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25936,"t":"byte","b":[2,160,0,10,168,0,40,168]},{"a":25944,"t":"byte","b":[0,10,160,0,34,128,48,10]},{"a":25952,"t":"byte","b":[0,48,0,128,48,2,128,48]},{"a":25960,"t":"byte","b":[90,0,53,41,64,48,1,64]},{"a":25968,"t":"byte","b":[48,5,64,48,5,80,12,8]},{"a":25976,"t":"byte","b":[32,12,32,8,12,160,32,0]},{"a":25984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26016,"t":"byte","b":[0,0,0,0,255,255,0,238]},{"a":26024,"t":"byte","b":[251,0,251,239,0,239,191,0]},{"a":26032,"t":"byte","b":[254,251,0,251,239,0,239,187]},{"a":26040,"t":"byte","b":[0,255,255,0,0,0,0,0]},{"a":26048,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26056,"t":"byte","b":[0,0,0,0,0,0,0,42]},{"a":26064,"t":"byte","b":[0,0,170,128,0,168,160,192]},{"a":26072,"t":"byte","b":[42,128,192,10,32,48,2,128]},{"a":26080,"t":"byte","b":[48,8,1,112,10,164,48,0]},{"a":26088,"t":"byte","b":[136,12,5,32,12,5,0,12]},{"a":26096,"t":"byte","b":[5,64,0,21,64,0,32,128]},{"a":26104,"t":"byte","b":[0,128,32,0,32,40,0,0]},{"a":26112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26120,"t":"byte","b":[0,4,16,64,1,17,0,1]},{"a":26128,"t":"byte","b":[17,0,64,68,4,21,17,80]},{"a":26136,"t":"byte","b":[0,0,0,84,0,84,0,0]},{"a":26144,"t":"byte","b":[0,84,0,84,0,0,0,84]},{"a":26152,"t":"byte","b":[0,84,0,0,0,5,1,64]},{"a":26160,"t":"byte","b":[16,0,16,64,68,4,1,17]},{"a":26168,"t":"byte","b":[0,4,16,64,16,16,16,0]},{"a":26176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26184,"t":"byte","b":[0,0,0,0,0,0,0,42]},{"a":26192,"t":"byte","b":[0,0,170,128,0,168,160,0]},{"a":26200,"t":"byte","b":[42,128,0,10,32,0,2,128]},{"a":26208,"t":"byte","b":[48,8,0,48,10,0,48,2]},{"a":26216,"t":"byte","b":[148,48,5,161,112,5,0,48]},{"a":26224,"t":"byte","b":[5,64,48,21,64,48,32,128]},{"a":26232,"t":"byte","b":[192,128,32,192,32,40,192,0]},{"a":26240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26256,"t":"byte","b":[0,0,0,10,128,0,43,192]},{"a":26264,"t":"byte","b":[0,47,240,0,11,192,0,40]},{"a":26272,"t":"byte","b":[160,0,42,0,0,162,0,0]},{"a":26280,"t":"byte","b":[168,0,2,42,0,2,142,128]},{"a":26288,"t":"byte","b":[10,2,160,42,0,160,136,0]},{"a":26296,"t":"byte","b":[160,160,0,138,42,0,40,0]},{"a":26304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26320,"t":"byte","b":[0,0,0,42,0,0,175,0]},{"a":26328,"t":"byte","b":[0,191,192,0,47,0,0,162]},{"a":26336,"t":"byte","b":[128,0,168,0,2,136,0,0]},{"a":26344,"t":"byte","b":[168,0,2,46,0,0,138,0]},{"a":26352,"t":"byte","b":[2,162,128,8,130,128,2,2]},{"a":26360,"t":"byte","b":[128,0,128,0,0,2,160,0]},{"a":26368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26384,"t":"byte","b":[0,0,0,42,0,0,175,0]},{"a":26392,"t":"byte","b":[0,191,192,0,47,0,0,162]},{"a":26400,"t":"byte","b":[128,0,168,0,2,136,0,0]},{"a":26408,"t":"byte","b":[170,0,0,46,0,0,138,0]},{"a":26416,"t":"byte","b":[0,138,0,0,138,0,0,138]},{"a":26424,"t":"byte","b":[0,0,160,0,0,10,128,0]},{"a":26432,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26440,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26448,"t":"byte","b":[0,0,0,10,128,0,43,192]},{"a":26456,"t":"byte","b":[0,47,240,0,11,192,0,40]},{"a":26464,"t":"byte","b":[160,0,42,0,0,162,0,0]},{"a":26472,"t":"byte","b":[42,128,0,131,128,0,168,32]},{"a":26480,"t":"byte","b":[0,160,160,2,160,160,2,128]},{"a":26488,"t":"byte","b":[0,8,0,168,2,160,0,0]},{"a":26496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26512,"t":"byte","b":[0,0,2,160,0,3,232,0]},{"a":26520,"t":"byte","b":[15,248,0,3,224,0,10,40]},{"a":26528,"t":"byte","b":[0,0,168,0,0,138,0,0]},{"a":26536,"t":"byte","b":[42,0,0,168,128,2,178,128]},{"a":26544,"t":"byte","b":[10,128,160,10,0,168,10,0]},{"a":26552,"t":"byte","b":[34,162,0,10,40,0,168,0]},{"a":26560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26576,"t":"byte","b":[0,0,0,168,0,0,250,0]},{"a":26584,"t":"byte","b":[3,254,0,0,248,0,2,138]},{"a":26592,"t":"byte","b":[0,0,42,0,0,34,128,0]},{"a":26600,"t":"byte","b":[42,0,0,184,128,0,162,0]},{"a":26608,"t":"byte","b":[2,138,128,2,130,32,2,128]},{"a":26616,"t":"byte","b":[128,0,2,0,10,128,0,0]},{"a":26624,"l":"sprite_images_6800","c":"Sprite images, VIC bank 1, part 7 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $A0-$AF (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26640,"t":"byte","b":[0,0,0,168,0,0,250,0]},{"a":26648,"t":"byte","b":[3,254,0,0,248,0,2,138]},{"a":26656,"t":"byte","b":[0,0,42,0,0,34,128,0]},{"a":26664,"t":"byte","b":[170,0,0,184,0,0,162,0]},{"a":26672,"t":"byte","b":[0,162,0,0,162,0,0,162]},{"a":26680,"t":"byte","b":[128,0,10,0,2,160,0,14]},{"a":26688,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26696,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26704,"t":"byte","b":[0,0,2,160,0,3,232,0]},{"a":26712,"t":"byte","b":[15,248,0,3,224,0,10,40]},{"a":26720,"t":"byte","b":[0,0,168,0,0,138,0,2]},{"a":26728,"t":"byte","b":[168,0,2,194,0,8,42,0]},{"a":26736,"t":"byte","b":[10,10,0,10,10,128,0,2]},{"a":26744,"t":"byte","b":[128,42,0,32,0,10,128,14]},{"a":26752,"t":"byte","b":[0,53,112,204,117,116,85,127]},{"a":26760,"t":"byte","b":[252,85,85,84,204,127,252,0]},{"a":26768,"t":"byte","b":[151,148,0,151,148,0,151,148]},{"a":26776,"t":"byte","b":[0,151,148,0,151,148,0,255]},{"a":26784,"t":"byte","b":[252,0,21,80,0,5,64,58]},{"a":26792,"t":"byte","b":[250,250,58,170,171,43,255,251]},{"a":26800,"t":"byte","b":[10,255,232,14,255,232,3,191]},{"a":26808,"t":"byte","b":[176,2,170,176,0,190,128,12]},{"a":26816,"t":"byte","b":[0,29,80,204,93,92,85,127]},{"a":26824,"t":"byte","b":[252,85,85,84,204,255,252,0]},{"a":26832,"t":"byte","b":[94,92,0,94,92,0,94,92]},{"a":26840,"t":"byte","b":[0,94,92,0,94,92,0,255]},{"a":26848,"t":"byte","b":[252,0,21,80,0,5,64,62]},{"a":26856,"t":"byte","b":[190,190,42,170,170,43,255,251]},{"a":26864,"t":"byte","b":[14,255,236,14,255,232,2,191]},{"a":26872,"t":"byte","b":[160,2,170,176,0,250,192,14]},{"a":26880,"t":"byte","b":[0,23,80,51,87,84,85,127]},{"a":26888,"t":"byte","b":[252,85,85,84,51,127,252,0]},{"a":26896,"t":"byte","b":[121,120,0,121,120,0,121,120]},{"a":26904,"t":"byte","b":[0,121,120,0,121,120,0,255]},{"a":26912,"t":"byte","b":[252,0,21,80,0,5,64,47]},{"a":26920,"t":"byte","b":[175,175,42,170,170,59,255,250]},{"a":26928,"t":"byte","b":[14,255,236,10,255,236,2,191]},{"a":26936,"t":"byte","b":[160,3,170,160,0,235,192,0]},{"a":26944,"t":"byte","b":[0,21,208,51,213,212,85,127]},{"a":26952,"t":"byte","b":[252,85,85,84,51,255,252,0]},{"a":26960,"t":"byte","b":[229,228,0,229,228,0,229,228]},{"a":26968,"t":"byte","b":[0,229,228,0,229,228,0,255]},{"a":26976,"t":"byte","b":[252,0,21,80,0,5,64,43]},{"a":26984,"t":"byte","b":[235,235,58,170,171,59,255,250]},{"a":26992,"t":"byte","b":[10,255,232,10,255,236,3,191]},{"a":27000,"t":"byte","b":[176,3,170,160,0,175,128,0]},{"a":27008,"t":"byte","b":[7,84,0,23,87,204,63,253]},{"a":27016,"t":"byte","b":[85,21,85,85,63,255,204,23]},{"a":27024,"t":"byte","b":[151,0,23,151,0,23,151,0]},{"a":27032,"t":"byte","b":[23,151,0,23,151,0,63,255]},{"a":27040,"t":"byte","b":[0,5,84,0,1,80,0,235]},{"a":27048,"t":"byte","b":[235,232,234,170,172,175,255,236]},{"a":27056,"t":"byte","b":[43,255,160,59,255,160,14,254]},{"a":27064,"t":"byte","b":[192,10,170,192,2,250,0,0]},{"a":27072,"t":"byte","b":[5,212,0,21,213,204,63,253]},{"a":27080,"t":"byte","b":[85,21,85,85,63,255,204,37]},{"a":27088,"t":"byte","b":[229,0,37,229,0,37,229,0]},{"a":27096,"t":"byte","b":[37,229,0,37,229,0,63,255]},{"a":27104,"t":"byte","b":[0,5,84,0,1,80,0,250]},{"a":27112,"t":"byte","b":[250,248,170,170,168,175,255,236]},{"a":27120,"t":"byte","b":[59,255,176,59,255,160,10,254]},{"a":27128,"t":"byte","b":[128,10,170,192,3,235,0,0]},{"a":27136,"t":"byte","b":[5,116,0,53,117,51,63,253]},{"a":27144,"t":"byte","b":[85,21,85,85,63,255,51,57]},{"a":27152,"t":"byte","b":[121,0,57,121,0,57,121,0]},{"a":27160,"t":"byte","b":[57,121,0,57,121,0,63,255]},{"a":27168,"t":"byte","b":[0,5,84,0,1,80,0,190]},{"a":27176,"t":"byte","b":[190,188,170,170,168,239,255,232]},{"a":27184,"t":"byte","b":[59,255,176,43,255,176,10,254]},{"a":27192,"t":"byte","b":[128,14,170,128,3,175,0,0]},{"a":27200,"t":"byte","b":[13,92,0,29,93,51,63,253]},{"a":27208,"t":"byte","b":[85,21,85,85,63,255,51,30]},{"a":27216,"t":"byte","b":[94,0,30,94,0,30,94,0]},{"a":27224,"t":"byte","b":[30,94,0,30,94,0,63,255]},{"a":27232,"t":"byte","b":[0,5,84,0,1,80,0,175]},{"a":27240,"t":"byte","b":[175,172,234,170,172,239,255,232]},{"a":27248,"t":"byte","b":[43,255,160,43,255,176,14,254]},{"a":27256,"t":"byte","b":[192,14,170,128,2,190,0,0]},{"a":27264,"t":"byte","b":[0,0,170,0,42,186,0,130]},{"a":27272,"t":"byte","b":[186,2,43,171,8,170,251,8]},{"a":27280,"t":"byte","b":[186,170,12,190,168,8,170,136]},{"a":27288,"t":"byte","b":[8,170,160,8,174,160,10,43]},{"a":27296,"t":"byte","b":[32,10,43,128,2,10,160,2]},{"a":27304,"t":"byte","b":[138,176,2,162,168,2,162,138]},{"a":27312,"t":"byte","b":[0,34,42,0,168,170,10,160]},{"a":27320,"t":"byte","b":[168,42,130,160,170,138,128,0]},{"a":27328,"t":"byte","b":[0,2,170,0,42,234,0,170]},{"a":27336,"t":"byte","b":[234,2,171,174,10,171,172,10]},{"a":27344,"t":"byte","b":[234,168,10,250,40,10,170,136]},{"a":27352,"t":"byte","b":[10,170,176,10,162,128,2,168]},{"a":27360,"t":"byte","b":[0,2,170,0,0,170,0,0]},{"a":27368,"t":"byte","b":[170,0,2,42,0,2,42,128]},{"a":27376,"t":"byte","b":[0,138,128,0,138,160,0,42]},{"a":27384,"t":"byte","b":[128,0,168,0,0,0,0,0]},{"a":27392,"t":"byte","b":[0,2,170,0,170,186,2,170]},{"a":27400,"t":"byte","b":[186,10,171,171,10,170,251,10]},{"a":27408,"t":"byte","b":[186,170,14,190,168,10,170,136]},{"a":27416,"t":"byte","b":[10,170,32,10,172,160,10,160]},{"a":27424,"t":"byte","b":[160,10,163,160,2,162,160,2]},{"a":27432,"t":"byte","b":[162,176,2,162,168,2,162,170]},{"a":27440,"t":"byte","b":[2,130,42,2,128,170,10,160]},{"a":27448,"t":"byte","b":[168,42,130,160,170,138,128,0]},{"a":27456,"t":"byte","b":[0,2,170,0,42,234,0,170]},{"a":27464,"t":"byte","b":[234,2,171,174,10,171,172,10]},{"a":27472,"t":"byte","b":[234,168,10,250,40,10,170,136]},{"a":27480,"t":"byte","b":[10,170,176,10,162,128,2,168]},{"a":27488,"t":"byte","b":[0,2,170,0,0,168,128,0]},{"a":27496,"t":"byte","b":[168,160,0,42,32,0,42,136]},{"a":27504,"t":"byte","b":[0,8,136,0,2,160,0,42]},{"a":27512,"t":"byte","b":[32,0,168,160,0,170,128,0]},{"a":27520,"t":"byte","b":[170,0,0,174,168,0,174,130]},{"a":27528,"t":"byte","b":[0,234,232,128,239,170,32,170]},{"a":27536,"t":"byte","b":[174,32,42,190,48,34,170,32]},{"a":27544,"t":"byte","b":[10,170,32,10,186,32,8,232]},{"a":27552,"t":"byte","b":[160,2,232,160,10,160,128,14]},{"a":27560,"t":"byte","b":[162,128,42,138,128,162,138,128]},{"a":27568,"t":"byte","b":[168,136,0,170,42,0,42,10]},{"a":27576,"t":"byte","b":[160,10,130,168,2,162,170,0]},{"a":27584,"t":"byte","b":[170,128,0,171,168,0,171,170]},{"a":27592,"t":"byte","b":[0,186,234,128,58,234,160,42]},{"a":27600,"t":"byte","b":[171,160,40,187,160,34,170,160]},{"a":27608,"t":"byte","b":[14,170,160,2,162,160,0,42]},{"a":27616,"t":"byte","b":[128,0,170,128,0,170,0,0]},{"a":27624,"t":"byte","b":[170,0,0,168,128,2,168,128]},{"a":27632,"t":"byte","b":[2,138,0,10,138,0,2,168]},{"a":27640,"t":"byte","b":[0,0,42,0,0,0,0,0]},{"a":27648,"l":"sprite_images_6c00","c":"Sprite images, VIC bank 1, part 8 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $B0-$BF (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[170,128,0,174,170,0,174,170]},{"a":27656,"t":"byte","b":[128,234,234,160,239,170,160,170]},{"a":27664,"t":"byte","b":[174,160,42,190,176,34,170,160]},{"a":27672,"t":"byte","b":[8,170,160,10,58,160,10,10]},{"a":27680,"t":"byte","b":[160,10,202,160,10,138,128,14]},{"a":27688,"t":"byte","b":[138,128,42,138,128,170,138,128]},{"a":27696,"t":"byte","b":[168,130,128,170,2,128,42,10]},{"a":27704,"t":"byte","b":[160,10,130,168,2,162,170,0]},{"a":27712,"t":"byte","b":[170,128,0,171,168,0,171,170]},{"a":27720,"t":"byte","b":[0,186,234,128,58,234,160,42]},{"a":27728,"t":"byte","b":[171,160,40,175,160,34,170,160]},{"a":27736,"t":"byte","b":[14,170,160,2,138,160,0,42]},{"a":27744,"t":"byte","b":[128,0,170,128,2,42,0,10]},{"a":27752,"t":"byte","b":[42,0,8,168,0,34,168,0]},{"a":27760,"t":"byte","b":[34,32,0,10,128,0,8,168]},{"a":27768,"t":"byte","b":[0,10,42,0,2,170,0,0]},{"a":27776,"t":"byte","b":[8,0,128,0,34,0,2,2]},{"a":27784,"t":"byte","b":[8,2,40,32,10,168,128,42]},{"a":27792,"t":"byte","b":[170,2,47,175,40,130,11,128]},{"a":27800,"t":"byte","b":[144,66,128,138,47,138,170,174]},{"a":27808,"t":"byte","b":[160,136,138,240,48,40,184,33]},{"a":27816,"t":"byte","b":[96,184,5,66,168,0,34,170]},{"a":27824,"t":"byte","b":[10,138,234,32,10,239,34,170]},{"a":27832,"t":"byte","b":[170,136,191,139,34,168,15,0]},{"a":27840,"t":"byte","b":[2,0,32,0,32,128,2,2]},{"a":27848,"t":"byte","b":[0,2,40,42,10,168,128,42]},{"a":27856,"t":"byte","b":[170,0,62,190,42,136,46,128]},{"a":27864,"t":"byte","b":[65,10,128,40,190,138,170,186]},{"a":27872,"t":"byte","b":[160,168,139,224,0,42,232,5]},{"a":27880,"t":"byte","b":[168,232,21,162,168,0,10,168]},{"a":27888,"t":"byte","b":[32,11,168,10,43,190,2,170]},{"a":27896,"t":"byte","b":[170,168,254,174,2,168,190,0]},{"a":27904,"t":"byte","b":[2,0,128,0,32,0,2,2]},{"a":27912,"t":"byte","b":[0,2,40,32,10,168,128,42]},{"a":27920,"t":"byte","b":[170,0,31,175,40,130,171,128]},{"a":27928,"t":"byte","b":[170,170,128,170,175,136,170,174]},{"a":27936,"t":"byte","b":[160,74,170,240,26,170,184,42]},{"a":27944,"t":"byte","b":[170,184,10,170,168,0,42,170]},{"a":27952,"t":"byte","b":[138,10,234,42,170,239,170,170]},{"a":27960,"t":"byte","b":[170,42,191,171,170,170,175,0]},{"a":27968,"t":"byte","b":[2,2,0,0,32,0,2,2]},{"a":27976,"t":"byte","b":[8,2,40,32,10,168,128,42]},{"a":27984,"t":"byte","b":[170,8,46,190,32,128,174,128]},{"a":27992,"t":"byte","b":[146,170,128,138,174,138,170,170]},{"a":28000,"t":"byte","b":[160,170,171,224,130,170,232,84]},{"a":28008,"t":"byte","b":[170,232,38,170,168,0,170,168]},{"a":28016,"t":"byte","b":[32,11,168,10,43,190,2,170]},{"a":28024,"t":"byte","b":[170,168,254,174,2,168,190,0]},{"a":28032,"t":"byte","b":[2,0,32,0,136,0,32,128]},{"a":28040,"t":"byte","b":[128,8,40,128,2,42,160,128]},{"a":28048,"t":"byte","b":[170,168,40,250,248,2,224,130]},{"a":28056,"t":"byte","b":[2,129,6,162,248,162,10,186]},{"a":28064,"t":"byte","b":[170,15,162,34,46,40,12,46]},{"a":28072,"t":"byte","b":[9,72,42,129,80,170,136,0]},{"a":28080,"t":"byte","b":[171,162,160,251,160,8,170,170]},{"a":28088,"t":"byte","b":[136,226,254,34,240,42,136,0]},{"a":28096,"t":"byte","b":[8,0,128,2,8,0,0,128]},{"a":28104,"t":"byte","b":[128,168,40,128,2,42,160,0]},{"a":28112,"t":"byte","b":[170,168,168,190,188,2,184,34]},{"a":28120,"t":"byte","b":[2,160,65,162,190,40,10,174]},{"a":28128,"t":"byte","b":[170,11,226,42,43,168,0,43]},{"a":28136,"t":"byte","b":[42,80,42,138,84,42,160,0]},{"a":28144,"t":"byte","b":[42,224,8,190,232,160,170,170]},{"a":28152,"t":"byte","b":[128,186,191,42,190,42,128,0]},{"a":28160,"t":"byte","b":[2,0,128,0,8,0,0,128]},{"a":28168,"t":"byte","b":[128,8,40,128,2,42,160,0]},{"a":28176,"t":"byte","b":[170,168,40,250,244,2,234,130]},{"a":28184,"t":"byte","b":[2,170,170,34,250,170,10,186]},{"a":28192,"t":"byte","b":[170,15,170,161,46,170,164,46]},{"a":28200,"t":"byte","b":[170,168,42,170,160,170,168,0]},{"a":28208,"t":"byte","b":[171,160,162,251,170,168,170,170]},{"a":28216,"t":"byte","b":[170,234,254,168,250,170,170,0]},{"a":28224,"t":"byte","b":[0,128,128,0,8,0,32,128]},{"a":28232,"t":"byte","b":[128,8,40,128,2,42,160,32]},{"a":28240,"t":"byte","b":[170,168,8,190,184,2,186,2]},{"a":28248,"t":"byte","b":[2,170,134,162,186,162,10,170]},{"a":28256,"t":"byte","b":[170,11,234,170,43,170,130,43]},{"a":28264,"t":"byte","b":[170,21,42,170,152,42,170,0]},{"a":28272,"t":"byte","b":[42,224,8,190,232,160,170,170]},{"a":28280,"t":"byte","b":[128,186,191,42,190,42,128,0]},{"a":28288,"t":"byte","b":[15,192,128,60,240,0,48,242]},{"a":28296,"t":"byte","b":[0,51,240,32,195,252,128,195]},{"a":28304,"t":"byte","b":[254,0,255,252,40,255,252,128]},{"a":28312,"t":"byte","b":[255,252,128,255,252,136,204,252]},{"a":28320,"t":"byte","b":[160,34,12,240,34,204,184,202]},{"a":28328,"t":"byte","b":[176,184,202,178,168,50,138,42]},{"a":28336,"t":"byte","b":[62,160,234,2,171,239,2,170]},{"a":28344,"t":"byte","b":[170,0,191,139,0,40,47,0]},{"a":28352,"t":"byte","b":[2,3,240,0,15,60,0,143]},{"a":28360,"t":"byte","b":[12,8,15,204,2,63,195,0]},{"a":28368,"t":"byte","b":[191,195,40,63,255,2,63,255]},{"a":28376,"t":"byte","b":[2,63,255,34,63,255,10,63]},{"a":28384,"t":"byte","b":[51,15,48,136,46,51,136,46]},{"a":28392,"t":"byte","b":[14,163,42,142,163,168,162,140]},{"a":28400,"t":"byte","b":[171,10,188,251,234,128,170,170]},{"a":28408,"t":"byte","b":[128,226,254,0,248,40,0,0]},{"a":28416,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28424,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28432,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28440,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28456,"t":"byte","b":[0,0,255,252,0,250,252,0]},{"a":28464,"t":"byte","b":[254,252,0,254,252,0,254,252]},{"a":28472,"t":"byte","b":[0,250,188,0,255,252,0,0]},{"a":28480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28520,"t":"byte","b":[0,0,255,252,0,250,188,0]},{"a":28528,"t":"byte","b":[255,188,0,250,188,0,251,252]},{"a":28536,"t":"byte","b":[0,250,188,0,255,252,0,0]},{"a":28544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28584,"t":"byte","b":[0,0,255,252,0,250,188,0]},{"a":28592,"t":"byte","b":[255,188,0,254,188,0,255,188]},{"a":28600,"t":"byte","b":[0,250,188,0,255,252,0,0]},{"a":28608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28648,"t":"byte","b":[0,0,255,252,0,251,188,0]},{"a":28656,"t":"byte","b":[251,188,0,250,188,0,255,188]},{"a":28664,"t":"byte","b":[0,255,188,0,255,252,0,0]},{"a":28672,"l":"sprite_images_7000","c":"Sprite images, VIC bank 1, part 9 of 9 ($5000-$73FF): sixteen 64-byte multicolour frames, pointer values $C0-$CF (address = $4000 + pointer*64). The objects' current frames are in $1D30 and are copied to the sprite pointers at $7BF8/$7FF8 by $814E.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28688,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28696,"t":"byte","b":[0,0,0,0,0,0,3,0]},{"a":28704,"t":"byte","b":[0,11,128,0,42,160,0,131]},{"a":28712,"t":"byte","b":[8,0,3,0,0,3,0,0]},{"a":28720,"t":"byte","b":[3,0,0,3,0,0,3,0]},{"a":28728,"t":"byte","b":[0,3,0,0,3,0,0,0]},{"a":28736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28768,"t":"byte","b":[0,0,0,0,0,0,0,3]},{"a":28776,"t":"byte","b":[0,0,46,192,0,234,192,0]},{"a":28784,"t":"byte","b":[186,128,0,171,128,0,234,128]},{"a":28792,"t":"byte","b":[0,59,0,0,10,0,0,0]},{"a":28800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28848,"t":"byte","b":[0,0,0,0,0,0,0,240]},{"a":28856,"t":"byte","b":[0,243,252,0,63,12,0,0]},{"a":28864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28912,"t":"byte","b":[0,0,0,63,0,0,238,192]},{"a":28920,"t":"byte","b":[0,59,0,0,12,0,0,0]},{"a":28928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28968,"t":"byte","b":[0,0,170,128,0,191,128,0]},{"a":28976,"t":"byte","b":[187,128,0,191,128,0,186,128]},{"a":28984,"t":"byte","b":[0,186,128,0,170,128,0,0]},{"a":28992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29016,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29040,"t":"byte","b":[0,0,0,0,0,0,0,60]},{"a":29048,"t":"byte","b":[0,251,48,0,255,252,0,0]},{"a":29056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29088,"t":"byte","b":[0,0,0,0,0,0,0,5]},{"a":29096,"t":"byte","b":[80,0,37,88,0,25,100,0]},{"a":29104,"t":"byte","b":[21,84,0,9,96,0,5,80]},{"a":29112,"t":"byte","b":[0,2,128,0,1,64,0,0]},{"a":29120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29168,"t":"byte","b":[255,252,0,234,172,0,255,252]},{"a":29176,"t":"byte","b":[0,48,48,0,252,252,0,0]},{"a":29184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29208,"t":"byte","b":[0,21,0,0,1,64,0,0]},{"a":29216,"t":"byte","b":[112,0,0,52,0,0,196,0]},{"a":29224,"t":"byte","b":[0,196,0,3,1,0,3,1]},{"a":29232,"t":"byte","b":[0,3,1,0,12,0,0,12]},{"a":29240,"t":"byte","b":[0,0,48,0,0,48,0,0]},{"a":29248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29272,"t":"byte","b":[0,21,0,0,80,0,3,64]},{"a":29280,"t":"byte","b":[0,7,0,0,4,192,0,4]},{"a":29288,"t":"byte","b":[192,0,16,48,0,16,48,0]},{"a":29296,"t":"byte","b":[16,48,0,0,12,0,0,12]},{"a":29304,"t":"byte","b":[0,0,3,0,0,3,0,0]},{"a":29312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29344,"t":"byte","b":[0,0,0,0,0,0,0,14]},{"a":29352,"t":"byte","b":[192,0,62,240,0,42,160,0]},{"a":29360,"t":"byte","b":[62,240,0,14,192,0,250,188]},{"a":29368,"t":"byte","b":[0,191,251,0,255,252,0,13]},{"a":29376,"t":"byte","b":[0,29,64,3,221,112,1,223]},{"a":29384,"t":"byte","b":[240,1,213,80,3,223,240,0]},{"a":29392,"t":"byte","b":[23,144,0,151,144,0,151,144]},{"a":29400,"t":"byte","b":[0,151,144,0,151,144,0,255]},{"a":29408,"t":"byte","b":[240,0,21,64,0,5,0,58]},{"a":29416,"t":"byte","b":[250,250,58,170,171,43,255,251]},{"a":29424,"t":"byte","b":[10,255,232,14,255,232,3,191]},{"a":29432,"t":"byte","b":[176,2,170,176,0,190,128,0]},{"a":29440,"t":"byte","b":[0,21,64,0,95,80,0,117]},{"a":29448,"t":"byte","b":[208,0,117,208,0,95,80,0]},{"a":29456,"t":"byte","b":[213,112,0,255,224,0,229,224]},{"a":29464,"t":"byte","b":[0,229,224,0,229,224,0,255]},{"a":29472,"t":"byte","b":[240,0,21,64,0,5,0,62]},{"a":29480,"t":"byte","b":[190,190,42,170,170,43,255,251]},{"a":29488,"t":"byte","b":[14,255,236,14,255,232,2,191]},{"a":29496,"t":"byte","b":[160,2,170,176,0,250,192,0]},{"a":29504,"t":"byte","b":[0,93,0,3,93,240,3,253]},{"a":29512,"t":"byte","b":[208,1,85,208,3,253,240,1]},{"a":29520,"t":"byte","b":[231,0,1,229,192,1,229,192]},{"a":29528,"t":"byte","b":[1,229,192,1,229,192,3,255]},{"a":29536,"t":"byte","b":[192,0,85,0,0,20,0,47]},{"a":29544,"t":"byte","b":[175,175,42,170,170,59,255,250]},{"a":29552,"t":"byte","b":[14,255,236,10,255,236,2,191]},{"a":29560,"t":"byte","b":[160,3,170,160,0,235,192,0]},{"a":29568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29576,"t":"byte","b":[0,0,0,0,0,0,0,170]},{"a":29584,"t":"byte","b":[170,0,128,10,0,138,138,0]},{"a":29592,"t":"byte","b":[138,138,0,138,138,0,138,138]},{"a":29600,"t":"byte","b":[0,138,138,0,128,10,0,170]},{"a":29608,"t":"byte","b":[170,0,128,10,0,138,138,0]},{"a":29616,"t":"byte","b":[138,138,0,138,138,0,138,138]},{"a":29624,"t":"byte","b":[0,138,138,0,128,10,0,0]},{"a":29632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29648,"t":"byte","b":[0,0,42,160,0,32,32,0]},{"a":29656,"t":"byte","b":[32,32,0,32,32,0,32,32]},{"a":29664,"t":"byte","b":[0,32,32,0,42,160,0,0]},{"a":29672,"t":"byte","b":[0,0,42,160,0,32,32,0]},{"a":29680,"t":"byte","b":[32,32,0,32,32,0,32,32]},{"a":29688,"t":"byte","b":[0,32,32,0,42,160,0,0]},{"a":29696,"l":"tardis_sprite_image","c":"64-byte sprite image at sprite pointer $D0 of bank 1 ($4000+$D0*64). During the arrival sequence all six sprites point here (set_tardis_sprites $FE78); copy_sprite_source $FF50 fills it from $7800 and dissolve_sprite $FEA9 clears pixel pairs in it.","t":"byte","b":[0,93,0,3,93,240,3,253],"x":[65243,65249,65365]},{"a":29704,"t":"byte","b":[208,1,85,208,3,253,240,1]},{"a":29712,"t":"byte","b":[231,0,1,229,192,1,229,192]},{"a":29720,"t":"byte","b":[1,229,192,1,229,192,3,255]},{"a":29728,"t":"byte","b":[192,0,85,0,0,20,0,47]},{"a":29736,"t":"byte","b":[175,175,42,170,170,59,255,250]},{"a":29744,"t":"byte","b":[14,255,236,10,255,236,2,191]},{"a":29752,"t":"byte","b":[160,3,170,160,0,235,192,0]},{"a":29760,"l":"main_start","c":"Entered from start-up. Clears $4800-$4FFF (8 pages, high byte self-modified at $7450), erasing the start-up code. Reads and clears $0100 (restored-game flag set at $49C6): if zero runs the arrival sequence $FC8C; otherwise turns the screen on and sets $FC64=1. Falls into main_loop.","t":"code","b":[234],"m":"nop","x":[19075]},{"a":29761,"t":"code","b":[234],"m":"nop"},{"a":29762,"t":"code","b":[234],"m":"nop"},{"a":29763,"t":"code","b":[169,72],"m":"lda","o":"#$48"},{"a":29765,"t":"code","b":[141,80,116],"m":"sta","oa":29776,"o":"a_7450"},{"a":29768,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":29770,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":29772,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":29774,"l":"b_744E","t":"code","b":[157,0,72],"m":"sta","oa":18432,"o":"startup_unused_clear_0800,x","x":[29778,29784]},{"a":29776,"t":"note","l":"a_7450","c":"Self-modified high byte of the STA $4800,X in main_start: stepped $48..$4F to clear 8 pages.","note":"inside the item at $744E","x":[29765,29780]},{"a":29777,"t":"code","b":[232],"m":"inx"},{"a":29778,"t":"code","b":[208,250],"m":"bne","oa":29774,"o":"b_744E"},{"a":29780,"t":"code","b":[238,80,116],"m":"inc","oa":29776,"o":"a_7450"},{"a":29783,"t":"code","b":[136],"m":"dey"},{"a":29784,"t":"code","b":[16,244],"m":"bpl","oa":29774,"o":"b_744E"},{"a":29786,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":29788,"t":"code","b":[173,0,1],"m":"lda","oa":256,"o":"stack_page"},{"a":29791,"t":"code","b":[142,0,1],"m":"stx","oa":256,"o":"stack_page"},{"a":29794,"t":"code","b":[240,15],"m":"beq","oa":29811,"o":"b_7473"},{"a":29796,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":29799,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":29801,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":29804,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":29806,"t":"code","b":[141,100,252],"m":"sta","oa":64612,"o":"arrival_done_flag"},{"a":29809,"t":"code","b":[208,3],"m":"bne","oa":29814,"o":"main_loop"},{"a":29811,"l":"b_7473","t":"code","b":[32,140,252],"m":"jsr","oa":64652,"o":"arrival_sequence","x":[29794]},{"a":29814,"l":"main_loop","c":"Per-frame loop: $8F24 input, $80DA frame wait, $74EA music, $878C, $BFEF, $AA35, $BACC, $C8BC, $A13C, $AF58 (only while $FC64 <> 0), $CD9A (entities 16-40 on routes, see route tables $7736), $B9B6, $B48A, $C28E, $B680, $C44D, $C09A, $A2B9, $A4EE, $A6CB, $8C32, $C818, then JMP back. Never returns.","t":"code","b":[32,36,143],"m":"jsr","oa":36644,"o":"read_input","x":[29809,29885]},{"a":29817,"t":"code","b":[32,218,128],"m":"jsr","oa":32986,"o":"wait_frame_and_update_sprites"},{"a":29820,"t":"code","b":[32,234,116],"m":"jsr","oa":29930,"o":"music_update"},{"a":29823,"t":"code","b":[32,140,135],"m":"jsr","oa":34700,"o":"slot_redraw_tick"},{"a":29826,"t":"code","b":[32,239,191],"m":"jsr","oa":49135,"o":"every8_mode3_update"},{"a":29829,"t":"code","b":[32,53,170],"m":"jsr","oa":43573,"o":"zone_update"},{"a":29832,"t":"code","b":[32,204,186],"m":"jsr","oa":47820,"o":"use_item_update"},{"a":29835,"t":"code","b":[32,188,200],"m":"jsr","oa":51388,"o":"doctor_update"},{"a":29838,"t":"code","b":[32,60,161],"m":"jsr","oa":41276,"o":"lift_update"},{"a":29841,"t":"code","b":[173,100,252],"m":"lda","oa":64612,"o":"arrival_done_flag"},{"a":29844,"t":"code","b":[240,3],"m":"beq","oa":29849,"o":"b_7499"},{"a":29846,"t":"code","b":[32,88,175],"m":"jsr","oa":44888,"o":"splinx_programmer_open"},{"a":29849,"l":"b_7499","t":"code","b":[32,154,205],"m":"jsr","oa":52634,"o":"controllers_update","x":[29844]},{"a":29852,"t":"code","b":[32,182,185],"m":"jsr","oa":47542,"o":"machinery_update"},{"a":29855,"t":"code","b":[32,138,180],"m":"jsr","oa":46218,"o":"crystal_thief_update"},{"a":29858,"t":"code","b":[32,142,194],"m":"jsr","oa":49806,"o":"trio_update"},{"a":29861,"t":"code","b":[32,128,182],"m":"jsr","oa":46720,"o":"madrag_update"},{"a":29864,"t":"code","b":[32,77,196],"m":"jsr","oa":50253,"o":"patrol_update"},{"a":29867,"t":"code","b":[32,154,192],"m":"jsr","oa":49306,"o":"fuse_update"},{"a":29870,"t":"code","b":[32,185,162],"m":"jsr","oa":41657,"o":"truck_update"},{"a":29873,"t":"code","b":[32,238,164],"m":"jsr","oa":42222,"o":"status_and_pockets"},{"a":29876,"t":"code","b":[32,203,166],"m":"jsr","oa":42699,"o":"thrown_update"},{"a":29879,"t":"code","b":[32,50,140],"m":"jsr","oa":35890,"o":"coarse_scroll_step"},{"a":29882,"t":"code","b":[32,24,200],"m":"jsr","oa":51224,"o":"sound_update"},{"a":29885,"t":"code","b":[76,118,116],"m":"jmp","oa":29814,"o":"main_loop"},{"a":29888,"l":"music_v1_count","c":"Music voice 1 note-length countdown (frames/2); $74C1 is voice 2's. Set to 1 at tune start, reloaded from the duration list, a 0 duration restarts the tune.","t":"byte","b":[0],"x":[30030,30144,30149,30213]},{"a":29889,"l":"music_v2_count","c":"Music voice 2 note-length countdown (see $74C0).","t":"byte","b":[0],"x":[30033,30161,30166,30263]},{"a":29890,"l":"music_v1_dur_lo","c":"Per-tune tables, 5 entries each, index = tune $E2 (0-4): $74C2/$74C7 voice-1 duration list lo/hi ($1F00,$2330,$2628,$2628,$29E8), $74CC/$74D1 voice-2 duration lists, $74D6/$74DB voice-1 note lists, $74E0/$74E5 voice-2 note lists. Tunes 2 and 3 share voice-1 durations.","t":"byte","b":[0,48,40,40,232],"x":[30119]},{"a":29895,"l":"music_v1_dur_hi","c":"High bytes of voice-1 duration lists (see $74C2).","t":"byte","b":[31,35,38,38,41],"x":[30125]},{"a":29900,"l":"music_v2_dur_lo","c":"Voice-2 duration lists lo; with $74D1: $1FD0,$23A8,$26D8,$26C0,$2A88.","t":"byte","b":[208,168,216,192,136],"x":[30131]},{"a":29905,"l":"music_v2_dur_hi","c":"Voice-2 duration lists hi (see $74CC).","t":"byte","b":[31,35,38,38,42],"x":[30137]},{"a":29910,"l":"music_v1_notes_lo","c":"Voice-1 note lists lo; with $74DB: $2068,$2430,$2760,$2768,$2B08. Notes are SID frequency words stored hi byte first.","t":"byte","b":[104,48,96,104,8],"x":[30099]},{"a":29915,"l":"music_v1_notes_hi","c":"Voice-1 note lists hi (see $74D6).","t":"byte","b":[32,36,39,39,43],"x":[30104]},{"a":29920,"l":"music_v2_notes_lo","c":"Voice-2 note lists lo; with $74E5: $2208,$2520,$28C0,$2898,$2C48.","t":"byte","b":[8,32,192,152,72],"x":[30109]},{"a":29925,"l":"music_v2_notes_hi","c":"Voice-2 note lists hi (see $74E0).","t":"byte","b":[34,37,40,40,44],"x":[30114]},{"a":29930,"l":"music_update","c":"Two-voice music, called once a frame from main_loop. Odd frames ($53 bit0 set): choose tune $E2 from game state: $1C60 < 3 -> 2; else $1BC0 < 8 -> 1; $1BC0 < 13 -> 0; else $1C60 >= 4 -> 0, otherwise 4 (entity 0's position bytes, presumably the Doctor's), and clear $E1 so the tune restarts; the 'same tune' test compares Y, not $E2 (see note). Even frames: $E2 = 5 means silent; $E1 = 0 starts the tune (music_start $7548), else music_step $75C0.","t":"code","b":[164,226],"m":"ldy","oa":226,"o":"tune","x":[29820]},{"a":29932,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":29934,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":29936,"t":"code","b":[208,3],"m":"bne","oa":29941,"o":"b_74F5"},{"a":29938,"t":"code","b":[76,59,117],"m":"jmp","oa":30011,"o":"music_even_frame"},{"a":29941,"l":"b_74F5","t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi","x":[29936]},{"a":29944,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":29946,"t":"code","b":[144,28],"m":"bcc","oa":29976,"o":"b_7518"},{"a":29948,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":29951,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":29953,"t":"code","b":[144,31],"m":"bcc","oa":29986,"o":"b_7522"},{"a":29955,"t":"code","b":[201,13],"m":"cmp","o":"#$0D"},{"a":29957,"t":"code","b":[144,37],"m":"bcc","oa":29996,"o":"b_752C"},{"a":29959,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":29962,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":29964,"t":"code","b":[176,30],"m":"bcs","oa":29996,"o":"b_752C"},{"a":29966,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":29968,"t":"code","b":[240,40],"m":"beq","oa":30010,"o":"r_753A"},{"a":29970,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":29972,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"tune"},{"a":29974,"t":"code","b":[16,30],"m":"bpl","oa":30006,"o":"b_7536"},{"a":29976,"l":"b_7518","t":"code","b":[192,2],"m":"cpy","o":"#$02","x":[29946]},{"a":29978,"t":"code","b":[240,30],"m":"beq","oa":30010,"o":"r_753A"},{"a":29980,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":29982,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"tune"},{"a":29984,"t":"code","b":[16,20],"m":"bpl","oa":30006,"o":"b_7536"},{"a":29986,"l":"b_7522","t":"code","b":[192,1],"m":"cpy","o":"#$01","x":[29953]},{"a":29988,"t":"code","b":[240,20],"m":"beq","oa":30010,"o":"r_753A"},{"a":29990,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":29992,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"tune"},{"a":29994,"t":"code","b":[16,10],"m":"bpl","oa":30006,"o":"b_7536"},{"a":29996,"l":"b_752C","t":"code","b":[192,0],"m":"cpy","o":"#$00","x":[29957,29964]},{"a":29998,"t":"code","b":[240,10],"m":"beq","oa":30010,"o":"r_753A"},{"a":30000,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":30002,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"tune"},{"a":30004,"t":"code","b":[16,0],"m":"bpl","oa":30006,"o":"b_7536"},{"a":30006,"l":"b_7536","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[29974,29984,29994,30004]},{"a":30008,"t":"code","b":[133,225],"m":"sta","oa":225,"o":"music_running"},{"a":30010,"l":"r_753A","t":"code","b":[96],"m":"rts","x":[29968,29978,29988,29998,30015]},{"a":30011,"l":"music_even_frame","c":"Even-frame half of music_update: nothing if $E2=5, start the tune if $E1=0, else step it.","t":"code","b":[165,226],"m":"lda","oa":226,"o":"tune","x":[29938]},{"a":30013,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":30015,"t":"code","b":[240,249],"m":"beq","oa":30010,"o":"r_753A"},{"a":30017,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"music_running"},{"a":30019,"t":"code","b":[240,3],"m":"beq","oa":30024,"o":"music_start"},{"a":30021,"t":"code","b":[76,192,117],"m":"jmp","oa":30144,"o":"music_step"},{"a":30024,"l":"music_start","c":"Start tune $E2: $E1=1, both countdowns =1, writes the SID register list $756B (volume $0F, saw/pulse settings, ADSR), then music_select_tune.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[30019,30279]},{"a":30026,"t":"code","b":[133,225],"m":"sta","oa":225,"o":"music_running"},{"a":30028,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":30030,"t":"code","b":[141,192,116],"m":"sta","oa":29888,"o":"music_v1_count"},{"a":30033,"t":"code","b":[141,193,116],"m":"sta","oa":29889,"o":"music_v2_count"},{"a":30036,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":30038,"t":"code","b":[188,107,117],"m":"ldy","oa":30059,"o":"sid_init_list,x"},{"a":30041,"l":"b_7559","t":"code","b":[232],"m":"inx","x":[30054]},{"a":30042,"t":"code","b":[189,107,117],"m":"lda","oa":30059,"o":"sid_init_list,x"},{"a":30045,"t":"code","b":[153,0,212],"m":"sta","o":"sid_v1_freq_lo,y"},{"a":30048,"t":"code","b":[232],"m":"inx"},{"a":30049,"t":"code","b":[188,107,117],"m":"ldy","oa":30059,"o":"sid_init_list,x"},{"a":30052,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":30054,"t":"code","b":[208,241],"m":"bne","oa":30041,"o":"b_7559"},{"a":30056,"t":"code","b":[76,145,117],"m":"jmp","oa":30097,"o":"music_select_tune"},{"a":30059,"l":"sid_init_list","c":"Register/value pairs written to $D400+reg by music_start, $FF ends: $17=0 $15=0 $03=$0B $02=$56 $0A=$0B $09=$56 $04=0 $0B=0 $0F=0 $0E=0 $06=$22 $05=$05 $0D=$44 $0C=$24 $16=0 $18=$0F (filter off, volume 15, voice 1 AD=$05 SR=$22, voice 2 AD=$24 SR=$44, pulse width $0B56).","t":"byte","b":[23,0,21,0,3,11,2,86],"x":[30038,30042,30049]},{"a":30067,"t":"byte","b":[10,11,9,86,4,0,4,0]},{"a":30075,"t":"byte","b":[11,0,11,0,15,0,14,0]},{"a":30083,"t":"byte","b":[6,34,5,5,13,68,12,36]},{"a":30091,"t":"byte","b":[22,0,24,15,255,0]},{"a":30097,"l":"music_select_tune","c":"Loads tune $E2's pointers: note list pointers into $E3/$E4 (voice 1) and $E5/$E6 (voice 2), duration list pointers into the self-modified operands $7603/$7604 and $7635/$7636.","t":"code","b":[166,226],"m":"ldx","oa":226,"o":"tune","x":[30056]},{"a":30099,"t":"code","b":[189,214,116],"m":"lda","oa":29910,"o":"music_v1_notes_lo,x"},{"a":30102,"t":"code","b":[133,227],"m":"sta","oa":227,"o":"music_v1_ptr"},{"a":30104,"t":"code","b":[189,219,116],"m":"lda","oa":29915,"o":"music_v1_notes_hi,x"},{"a":30107,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"music_v1_ptr_hi"},{"a":30109,"t":"code","b":[189,224,116],"m":"lda","oa":29920,"o":"music_v2_notes_lo,x"},{"a":30112,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"music_v2_ptr"},{"a":30114,"t":"code","b":[189,229,116],"m":"lda","oa":29925,"o":"music_v2_notes_hi,x"},{"a":30117,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"music_v2_ptr_hi"},{"a":30119,"t":"code","b":[189,194,116],"m":"lda","oa":29890,"o":"music_v1_dur_lo,x"},{"a":30122,"t":"code","b":[141,3,118],"m":"sta","oa":30211,"o":"a_7603"},{"a":30125,"t":"code","b":[189,199,116],"m":"lda","oa":29895,"o":"music_v1_dur_hi,x"},{"a":30128,"t":"code","b":[141,4,118],"m":"sta","oa":30212,"o":"a_7604"},{"a":30131,"t":"code","b":[189,204,116],"m":"lda","oa":29900,"o":"music_v2_dur_lo,x"},{"a":30134,"t":"code","b":[141,53,118],"m":"sta","oa":30261,"o":"a_7635"},{"a":30137,"t":"code","b":[189,209,116],"m":"lda","oa":29905,"o":"music_v2_dur_hi,x"},{"a":30140,"t":"code","b":[141,54,118],"m":"sta","oa":30262,"o":"a_7636"},{"a":30143,"t":"code","b":[96],"m":"rts"},{"a":30144,"l":"music_step","c":"Counts down both voices; at 1 the gate is released (control register 0), at 0 the next note is played: frequency word (hi, lo) from the note list, control $21 (sawtooth, gate on), new length from the duration list; a zero length restarts the tune (music_start).","t":"code","b":[206,192,116],"m":"dec","oa":29888,"o":"music_v1_count","x":[30021]},{"a":30147,"t":"code","b":[240,30],"m":"beq","oa":30179,"o":"b_75E3"},{"a":30149,"t":"code","b":[173,192,116],"m":"lda","oa":29888,"o":"music_v1_count"},{"a":30152,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":30154,"t":"code","b":[208,5],"m":"bne","oa":30161,"o":"b_75D1"},{"a":30156,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":30158,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":30161,"l":"b_75D1","t":"code","b":[206,193,116],"m":"dec","oa":29889,"o":"music_v2_count","x":[30154,30226]},{"a":30164,"t":"code","b":[240,63],"m":"beq","oa":30229,"o":"b_7615"},{"a":30166,"t":"code","b":[173,193,116],"m":"lda","oa":29889,"o":"music_v2_count"},{"a":30169,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":30171,"t":"code","b":[208,5],"m":"bne","oa":30178,"o":"r_75E2"},{"a":30173,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":30175,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":30178,"l":"r_75E2","t":"code","b":[96],"m":"rts","x":[30171,30276]},{"a":30179,"l":"b_75E3","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[30147]},{"a":30181,"t":"code","b":[177,227],"m":"lda","oa":227,"o":"(music_v1_ptr),y"},{"a":30183,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":30186,"t":"code","b":[230,227],"m":"inc","oa":227,"o":"music_v1_ptr"},{"a":30188,"t":"code","b":[208,2],"m":"bne","oa":30192,"o":"b_75F0"},{"a":30190,"t":"code","b":[230,228],"m":"inc","oa":228,"o":"music_v1_ptr_hi"},{"a":30192,"l":"b_75F0","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[30188]},{"a":30194,"t":"code","b":[177,227],"m":"lda","oa":227,"o":"(music_v1_ptr),y"},{"a":30196,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":30199,"t":"code","b":[230,227],"m":"inc","oa":227,"o":"music_v1_ptr"},{"a":30201,"t":"code","b":[208,2],"m":"bne","oa":30205,"o":"b_75FD"},{"a":30203,"t":"code","b":[230,228],"m":"inc","oa":228,"o":"music_v1_ptr_hi"},{"a":30205,"l":"b_75FD","t":"code","b":[169,33],"m":"lda","o":"#$21","x":[30201]},{"a":30207,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":30210,"t":"code","b":[173,0,255],"m":"lda","oa":65280,"o":"a_FF00"},{"a":30211,"t":"note","l":"a_7603","c":"Self-modified operand of LDA $FF00 in music_step: pointer into voice 1's duration list, set by music_select_tune, incremented per note.","note":"inside the item at $7602","x":[30122,30218]},{"a":30212,"t":"note","l":"a_7604","c":"High byte of voice 1's duration-list pointer (operand of the LDA at $7602).","note":"inside the item at $7602","x":[30128,30223]},{"a":30213,"t":"code","b":[141,192,116],"m":"sta","oa":29888,"o":"music_v1_count"},{"a":30216,"t":"code","b":[240,61],"m":"beq","oa":30279,"o":"b_7647"},{"a":30218,"t":"code","b":[238,3,118],"m":"inc","oa":30211,"o":"a_7603"},{"a":30221,"t":"code","b":[208,3],"m":"bne","oa":30226,"o":"b_7612"},{"a":30223,"t":"code","b":[238,4,118],"m":"inc","oa":30212,"o":"a_7604"},{"a":30226,"l":"b_7612","t":"code","b":[76,209,117],"m":"jmp","oa":30161,"o":"b_75D1","x":[30221]},{"a":30229,"l":"b_7615","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[30164]},{"a":30231,"t":"code","b":[177,229],"m":"lda","oa":229,"o":"(music_v2_ptr),y"},{"a":30233,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":30236,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"music_v2_ptr"},{"a":30238,"t":"code","b":[208,2],"m":"bne","oa":30242,"o":"b_7622"},{"a":30240,"t":"code","b":[230,230],"m":"inc","oa":230,"o":"music_v2_ptr_hi"},{"a":30242,"l":"b_7622","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[30238]},{"a":30244,"t":"code","b":[177,229],"m":"lda","oa":229,"o":"(music_v2_ptr),y"},{"a":30246,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":30249,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"music_v2_ptr"},{"a":30251,"t":"code","b":[208,2],"m":"bne","oa":30255,"o":"b_762F"},{"a":30253,"t":"code","b":[230,230],"m":"inc","oa":230,"o":"music_v2_ptr_hi"},{"a":30255,"l":"b_762F","t":"code","b":[169,33],"m":"lda","o":"#$21","x":[30251]},{"a":30257,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":30260,"t":"code","b":[173,0,255],"m":"lda","oa":65280,"o":"a_FF00"},{"a":30261,"t":"note","l":"a_7635","c":"Self-modified operand of LDA $FF00 at $7634: pointer into voice 2's duration list.","note":"inside the item at $7634","x":[30134,30268]},{"a":30262,"t":"note","l":"a_7636","c":"High byte of voice 2's duration-list pointer (operand of the LDA at $7634).","note":"inside the item at $7634","x":[30140,30273]},{"a":30263,"t":"code","b":[141,193,116],"m":"sta","oa":29889,"o":"music_v2_count"},{"a":30266,"t":"code","b":[240,11],"m":"beq","oa":30279,"o":"b_7647"},{"a":30268,"t":"code","b":[238,53,118],"m":"inc","oa":30261,"o":"a_7635"},{"a":30271,"t":"code","b":[208,3],"m":"bne","oa":30276,"o":"b_7644"},{"a":30273,"t":"code","b":[238,54,118],"m":"inc","oa":30262,"o":"a_7636"},{"a":30276,"l":"b_7644","t":"code","b":[76,226,117],"m":"jmp","oa":30178,"o":"r_75E2","x":[30271]},{"a":30279,"l":"b_7647","t":"code","b":[76,72,117],"m":"jmp","oa":30024,"o":"music_start","x":[30216,30266]},{"a":30282,"l":"route_waypoints","c":"Patrol routes for entity slots 16-40, walked by the entity loop $CD9A (routine $CECC): records of 4 bytes (target position hi/lo pairs -> $65,$64,$67,$66, passed to $A3FB). Each slot's list starts at the pointer in $7736/$774F and its last record offset is in $7768; $1D80,x is the slot's current offset, advanced by 4 and wrapped to 0.","t":"byte","b":[2,128,1,136,1,160,1,72],"x":[30518]},{"a":30290,"t":"byte","b":[1,65,1,8]},{"a":30294,"l":"a_7656","c":"Route waypoint list for entity slot 17 (last offset 8); 4-byte records read by $CECC.","t":"byte","b":[4,224,2,8,6,160,1,200],"x":[30519]},{"a":30302,"t":"byte","b":[7,72,2,8]},{"a":30306,"l":"a_7662","c":"Route waypoint list for entity slot 18 (last offset 8); 4-byte records read by $CECC.","t":"byte","b":[7,160,1,72,1,160,1,104],"x":[30520]},{"a":30314,"t":"byte","b":[3,32,1,200]},{"a":30318,"l":"a_766E","c":"Route waypoint list for entity slot 19 (last offset 8); 4-byte records read by $CECC.","t":"byte","b":[1,160,1,104,3,32,1,200],"x":[30521]},{"a":30326,"t":"byte","b":[7,160,1,72]},{"a":30330,"l":"a_767A","c":"Route waypoint list for entity slot 20 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[6,32,1,8,7,96,0,168],"x":[30522]},{"a":30338,"l":"a_7682","c":"Route waypoint list for entity slot 21 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[8,192,1,168,9,224,1,232],"x":[30523]},{"a":30346,"l":"a_768A","c":"Route waypoint list for entity slot 22 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[9,224,1,232,12,128,1,232],"x":[30524]},{"a":30354,"l":"a_7692","c":"Route waypoint list for entity slot 23 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[13,96,0,200,15,0,0,168],"x":[30525]},{"a":30362,"l":"a_769A","c":"Route waypoint list for entity slot 24 (last offset 8); 4-byte records read by $CECC.","t":"byte","b":[14,96,1,8,13,104,1,72],"x":[30526]},{"a":30370,"t":"byte","b":[15,72,1,72]},{"a":30374,"l":"a_76A6","c":"Route waypoint list for entity slot 25 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[3,0,5,136,5,96,5,136],"x":[30527]},{"a":30382,"l":"a_76AE","c":"Route waypoint list for entity slot 26 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[1,128,4,200,6,64,4,200],"x":[30528]},{"a":30390,"l":"a_76B6","c":"Route waypoint list for entity slot 27 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[6,64,4,200,1,128,4,200],"x":[30529]},{"a":30398,"l":"a_76BE","c":"Route waypoint list for entity slot 28 (last offset 0); 4-byte records read by $CECC.","t":"byte","b":[7,136,6,72],"x":[30530]},{"a":30402,"l":"a_76C2","c":"Route waypoint list for entity slot 29 (last offset 0); 4-byte records read by $CECC.","t":"byte","b":[8,136,6,72],"x":[30531]},{"a":30406,"l":"a_76C6","c":"Route waypoint list for entity slot 30 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[11,96,5,200,8,128,5,8],"x":[30532]},{"a":30414,"l":"a_76CE","c":"Route waypoint list for entity slot 31 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[11,92,5,200,12,72,5,200],"x":[30533]},{"a":30422,"l":"a_76D6","c":"Route waypoint list for entity slot 32 (last offset 8); 4-byte records read by $CECC.","t":"byte","b":[10,160,5,8,13,0,5,8],"x":[30534]},{"a":30430,"t":"byte","b":[13,160,4,200]},{"a":30434,"l":"a_76E2","c":"Route waypoint list for entity slot 33 (last offset 8); 4-byte records read by $CECC.","t":"byte","b":[13,160,4,200,13,160,4,200],"x":[30535]},{"a":30442,"t":"byte","b":[11,64,4,200]},{"a":30446,"l":"a_76EE","c":"Route waypoint list for entity slot 34 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[12,16,5,136,12,160,5,136],"x":[30536]},{"a":30454,"l":"a_76F6","c":"Route waypoint list for entity slot 35 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[8,192,4,200,8,192,4,200],"x":[30537]},{"a":30462,"l":"a_76FE","c":"Route waypoint list for entity slot 36 (last offset 12); 4-byte records read by $CECC.","t":"byte","b":[8,128,3,8,11,32,3,136],"x":[30538]},{"a":30470,"t":"byte","b":[9,0,3,136,10,112,3,136]},{"a":30478,"l":"a_770E","c":"Route waypoint list for entity slot 37 (last offset 12); 4-byte records read by $CECC.","t":"byte","b":[13,32,3,136,11,96,3,136],"x":[30539]},{"a":30486,"t":"byte","b":[13,224,3,200,11,96,3,136]},{"a":30494,"l":"a_771E","c":"Route waypoint list for entity slot 38 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[13,160,3,80,12,64,3,72],"x":[30540]},{"a":30502,"l":"route_ptr_lo_base","c":"Route waypoint list for slot 39 (last offset 4), $7726-$772D. The address is also the base of the $7726,X read at $CECF (X=16-40), whose low-byte entries start at $7736.","t":"byte","b":[10,192,3,8,12,32,3,8],"x":[30541,52943]},{"a":30510,"l":"a_772E","c":"Route waypoint list for entity slot 40 (last offset 4); 4-byte records read by $CECC.","t":"byte","b":[9,32,3,200,11,64,3,200],"x":[30542]},{"a":30518,"l":"route_ptr_table","c":"Route list pointers for entity slots 16-40: 25 low bytes $7736-$774E then 25 high bytes $774F-$7767 (read as $7726,X / $773F,X). All point into $764A-$7735.","t":"byte","b":[74,86,98,110,122,130,138,146],"d":["route_waypoints","a_7656","a_7662","a_766E","a_767A","a_7682","a_768A","a_7692","a_769A","a_76A6","a_76AE","a_76B6","a_76BE","a_76C2","a_76C6","a_76CE","a_76D6","a_76E2","a_76EE","a_76F6","a_76FE","a_770E","a_771E","route_ptr_lo_base","a_772E"],"note":"split table: 25 lo/hi pointers"},{"a":30526,"t":"byte","b":[154]},{"a":30527,"l":"f_773F","c":"Base used as $773F,X (X=16-40) at $CED4: the route pointer high bytes start at $774F; $773F-$774E are the last low bytes.","t":"byte","b":[166,174,182,190,194,198,206,214],"x":[52948]},{"a":30535,"t":"byte","b":[226,238,246,254,14,30,38,46]},{"a":30543,"t":"byte","b":[118,118,118,118,118,118,118,118]},{"a":30551,"t":"byte","b":[118]},{"a":30552,"l":"f_7758","c":"Base used as $7758,X (X=16-40) at $CF06: last-record offsets start at $7768; $7758-$7767 are route pointer high bytes.","t":"byte","b":[118,118,118,118,118,118,118,118],"x":[52998]},{"a":30560,"t":"byte","b":[118,118,118,118,119,119,119,119]},{"a":30568,"l":"route_last_offset","c":"Per slot 16-40 (read $7758,X at $CF06): offset of the route's last record; when $1D80,X equals it the offset resets to 0.","t":"byte","b":[8,8,8,8,4,4,4,4]},{"a":30576,"t":"byte","b":[8]},{"a":30577,"l":"f_7771","c":"Base used as $7771,X at $CEAB (reach table from $7781); these 16 bytes are route_last_offset entries.","t":"byte","b":[4,4,4,0,0,4,4,8],"x":[52907]},{"a":30585,"t":"byte","b":[8,4,4,12,12,4,4,4]},{"a":30593,"l":"entity_x_reach","c":"Per slot 16-40 (read $7771,X at $CEAB): horizontal distance ($D9) under which the slot reacts to the player; values $C0 or $12.","t":"byte","b":[192,192,192,192,192,192,192,192]},{"a":30601,"t":"byte","b":[192]},{"a":30602,"l":"f_778A","c":"Base used as $778A,X at $CDB9/$CE21 (flag table from $779A); these 16 bytes are entity_x_reach entries.","t":"byte","b":[192,192,192,18,18,192,192,192],"x":[52665,52769]},{"a":30610,"t":"byte","b":[192,192,192,192,192,192,192,192]},{"a":30618,"l":"entity_kind_flag","c":"Per slot 16-40 (read $778A,X at $CDB9/$CE21): negative, 0 or 1; 1 marks the slot handled at $CE28 (sets state 9 and $50=$79 on contact). Meaning in game terms not established.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30626,"t":"byte","b":[0,0,255,255,0,0,0,0]},{"a":30634,"t":"byte","b":[0,0,1,0,0,0,0,0]},{"a":30642,"t":"byte","b":[0]},{"a":30643,"l":"entity_anim_frames","c":"Sprite pointer values for route entities, read by $CFCB-$CFEA with small indexes from bases $77B3, $77B7, $77BB, $77C4 (frames $A2-$A9 and $CB-$CD) -> $1D30,X.","t":"byte","b":[162,163,164,165],"x":[53226]},{"a":30647,"l":"f_77B7","c":"Frame table base read as $77B7,Y at $CFD0 (Y = $1B70,X and 3), part of entity_anim_frames.","t":"byte","b":[166,167,168,169],"x":[53200]},{"a":30651,"l":"f_77BB","c":"Frame table base read as $77BB,Y at $CFE5 (Y = animation counter), part of entity_anim_frames.","t":"byte","b":[203,203],"x":[53221]},{"a":30653,"l":"f_77BD","c":"Base used as $77BD,X (X=16-40) at $CDC3/$CF5C: the toggle bytes start at $77CD.","t":"byte","b":[203,204,204,204,205,205,205],"x":[52675,52680,53084]},{"a":30660,"l":"f_77C4","c":"Frame table base read as $77C4,Y at $CFCB (Y = counter and $7F), part of entity_anim_frames.","t":"byte","b":[205,205,205,204,204,204,203,203],"x":[53195]},{"a":30668,"t":"byte","b":[203]},{"a":30669,"l":"entity_toggle","c":"Per slot 16-40 (read/written $77BD,X at $CDC3/$CF5C): flips each pass in state 0, cleared at $CF5C.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30677,"t":"byte","b":[0]},{"a":30678,"l":"f_77D6","c":"Base used as $77D6,X (X=16-40) in $CFB9-$CFE2: the animation counters start at $77E6.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[53177,53185,53192,53205,53211,53218]},{"a":30686,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30694,"l":"entity_anim_count","c":"Per slot 16-40 ($77D6,X, $CFB9-$CFE2): animation frame counter; bit7 selects the direction set, reloaded with 8 or $88.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30702,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30710,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30718,"t":"byte","b":[0]},{"a":30719,"t":"gap","n":2049},{"a":30720,"t":"note","l":"screen_a_and_save_block","c":"Bank-1 screen at $7800 (one of the two play-area buffers; sprite pointers at $7BF8). Also reused: the arrival sequence keeps its sprite source image in $7800-$787F ($FE60, $FEA9), and save_game $9542 builds its file here ($7800 = $FF marker, zero page at $7803-$78FF, $1B20-$1EFF at $7920-$7CFF, status rows at $7D00), which startup_restore_saved_game reads back.","note":"outside the tracked image","x":[18886,18907,37571,37774,38195,38220,38233,38275,52113,65136,65210,65220,65226,65362]},{"a":30784,"t":"note","l":"f_7840","c":"Second 64 bytes of the $7800 block: dissolve_sprite also clears pixels here when $FC65 <> 0; otherwise part of screen A / the save block (zero page $40-$7F image).","note":"outside the tracked image","x":[65234,65240]},{"a":31736,"t":"note","l":"sprite_ptrs_screen_a","c":"Sprite pointers for the $7800 screen, written with $7FF8 by $814E-$8158 and set_tardis_sprites $FE98.","note":"outside the tracked image","x":[33109,65178]},{"a":31744,"t":"note","l":"screen_b","c":"Bank-1 screen at $7C00, the other play-area buffer; start-up puts status row 1 ($4B28-$4B9F) in its first 3 rows at $4A07.","note":"outside the tracked image","x":[18956,37935]},{"a":32000,"t":"note","l":"saved_status_rows","c":"120 bytes: copy of status rows 1-3 ($0428) inside the save block; save_game fills it from $7800 (itself from $0428 at $92C0), start-up restores it. In the hand-over image it holds the unpacked file's contents, not a real save.","note":"outside the tracked image","x":[18896,38223]},{"a":32760,"t":"note","l":"sprite_ptrs_screen_b","c":"Sprite pointers for the $7C00 screen (see $7BF8).","note":"outside the tracked image","x":[33112,65181]},{"a":32768,"l":"irq_bottom_d018_by_buffer","c":"IRQ bottom band: $D018 value per displayed buffer ($52): $E1 = screen $7800, $F1 = screen $7C00, charset $4000 in bank 1. Read at $80C4.","t":"byte","b":[225,241],"x":[32964]},{"a":32770,"l":"irq_play_d018_by_buffer","c":"IRQ play-area band: $D018 value per displayed buffer ($52): $E3 = screen $7800, $F3 = screen $7C00, charset bits %001 ($4800 in bank 1). Read at $8088.","t":"byte","b":[227,243],"x":[32904]},{"a":32772,"l":"irq_exit","c":"Common IRQ exit: acknowledge the raster interrupt ($D019 = 1), restore A/X/Y from $6B/$6C/$6D (the IRQ saves registers in zero page, not on the stack), RTI. $800F is the bare RTI the NMI vector $FFFA points at.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[32861,32932,32983]},{"a":32774,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":32777,"t":"code","b":[165,107],"m":"lda","oa":107,"o":"irq_save_a"},{"a":32779,"t":"code","b":[166,108],"m":"ldx","oa":108,"o":"irq_save_x"},{"a":32781,"t":"code","b":[164,109],"m":"ldy","oa":109,"o":"irq_save_y"},{"a":32783,"t":"code","b":[64],"m":"rti"},{"a":32784,"l":"irq_raster","c":"Raster IRQ ($FFFE). Saves A/X/Y to $6B-$6D, then a three-way dispatch through a self-modified BCC offset at $8018 (0/2/4). 0 -> $8062 play-area band: next raster $84 ($55/$56), VIC bank 1, $D018 from $8002,$52, $D016 fine X = $5E EOR 7, $D011 fine Y = $5F. 2 -> $80A7 lower band: next raster $FF, a short NOP delay whose length is set at $80B3 by $8113, $D018 from $8000,$52, background $D021 = $EF. 4 -> $801D status band: next raster $4D, VIC bank 0, $D016 fine X from $EA, $D011 scroll bits cleared, $D018 = $10, background black.","t":"code","b":[133,107],"m":"sta","oa":107,"o":"irq_save_a"},{"a":32786,"t":"code","b":[134,108],"m":"stx","oa":108,"o":"irq_save_x"},{"a":32788,"t":"code","b":[132,109],"m":"sty","oa":109,"o":"irq_save_y"},{"a":32790,"t":"code","b":[24],"m":"clc"},{"a":32791,"t":"code","b":[144,0],"m":"bcc","oa":32793,"o":"b_8019"},{"a":32792,"t":"note","l":"irq_band_select","c":"Self-modified operand of the BCC at $8017: 0, 2 or 4 selects which raster band the next IRQ sets up (written at $801F, $8064, $80A9).","note":"inside the item at $8017","x":[32799,32868,32937]},{"a":32793,"l":"b_8019","t":"code","b":[144,71],"m":"bcc","oa":32866,"o":"b_8062","x":[32791]},{"a":32795,"t":"code","b":[144,67],"m":"bcc","oa":32864,"o":"b_8060"},{"a":32797,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32799,"t":"code","b":[141,24,128],"m":"sta","oa":32792,"o":"irq_band_select"},{"a":32802,"t":"code","b":[169,77],"m":"lda","o":"#$4D"},{"a":32804,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":32807,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":32810,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":32812,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":32815,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":32818,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":32820,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":32823,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":32826,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":32828,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":32830,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":32833,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":32836,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":32838,"t":"code","b":[5,234],"m":"ora","oa":234,"o":"status_scroll_x"},{"a":32840,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":32843,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":32846,"t":"code","b":[41,120],"m":"and","o":"#$78"},{"a":32848,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":32851,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":32853,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":32856,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32858,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":32861,"t":"code","b":[76,4,128],"m":"jmp","oa":32772,"o":"irq_exit"},{"a":32864,"l":"b_8060","t":"code","b":[144,69],"m":"bcc","oa":32935,"o":"b_80A7","x":[32795]},{"a":32866,"l":"b_8062","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[32793]},{"a":32868,"t":"code","b":[141,24,128],"m":"sta","oa":32792,"o":"irq_band_select"},{"a":32871,"t":"code","b":[165,132],"m":"lda","oa":132,"o":"irq_band3_line"},{"a":32873,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":32876,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":32879,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":32881,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":32884,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":32887,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":32889,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":32892,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":32895,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":32897,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":32899,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":32902,"t":"code","b":[166,82],"m":"ldx","oa":82,"o":"screen_buffer"},{"a":32904,"t":"code","b":[189,2,128],"m":"lda","oa":32770,"o":"irq_play_d018_by_buffer,x"},{"a":32907,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":32910,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":32913,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":32915,"t":"code","b":[5,94],"m":"ora","oa":94,"o":"fine_scroll_x"},{"a":32917,"t":"code","b":[73,7],"m":"eor","o":"#$07"},{"a":32919,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":32922,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":32925,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":32927,"t":"code","b":[5,95],"m":"ora","oa":95,"o":"fine_scroll_y"},{"a":32929,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":32932,"t":"code","b":[76,4,128],"m":"jmp","oa":32772,"o":"irq_exit"},{"a":32935,"l":"b_80A7","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[32864]},{"a":32937,"t":"code","b":[141,24,128],"m":"sta","oa":32792,"o":"irq_band_select"},{"a":32940,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":32942,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":32945,"t":"code","b":[24],"m":"clc"},{"a":32946,"t":"code","b":[144,14],"m":"bcc","oa":32962,"o":"b_80C2"},{"a":32947,"t":"note","l":"irq_lower_delay","c":"Self-modified operand of the BCC at $80B2: $0C skips all NOPs, $00 runs 12 of them; written at $8121/$812C from the fine vertical scroll ($5F = 6 gives $00).","note":"inside the item at $80B2","x":[33057,33068]},{"a":32948,"t":"code","b":[234],"m":"nop"},{"a":32949,"t":"code","b":[234],"m":"nop"},{"a":32950,"t":"code","b":[234],"m":"nop"},{"a":32951,"t":"code","b":[234],"m":"nop"},{"a":32952,"t":"code","b":[234],"m":"nop"},{"a":32953,"t":"code","b":[234],"m":"nop"},{"a":32954,"t":"code","b":[234],"m":"nop"},{"a":32955,"t":"code","b":[234],"m":"nop"},{"a":32956,"t":"code","b":[234],"m":"nop"},{"a":32957,"t":"code","b":[234],"m":"nop"},{"a":32958,"t":"code","b":[234],"m":"nop"},{"a":32959,"t":"code","b":[234],"m":"nop"},{"a":32960,"t":"code","b":[234],"m":"nop"},{"a":32961,"t":"code","b":[234],"m":"nop"},{"a":32962,"l":"b_80C2","t":"code","b":[166,82],"m":"ldx","oa":82,"o":"screen_buffer","x":[32946]},{"a":32964,"t":"code","b":[189,0,128],"m":"lda","oa":32768,"o":"irq_bottom_d018_by_buffer,x"},{"a":32967,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":32970,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":32973,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":32975,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":32978,"t":"code","b":[165,239],"m":"lda","oa":239,"o":"bottom_band_bg"},{"a":32980,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":32983,"t":"code","b":[76,4,128],"m":"jmp","oa":32772,"o":"irq_exit"},{"a":32986,"l":"wait_frame_and_update_sprites","c":"Once per frame, called from the main loop and elsewhere: waits for raster line $FA and increments the 24-bit frame counter $53-$55. The BCD decrement of $1B-$1D (by 1) is reached only when $53 and $54 both wrap (BNEs at $80EA/$80EE), so once per 65536 frames; the AND #$3F test at $80F4 is then always true. Then sets fine scroll $5E = $20 AND 7, $5F = $22 AND 7, chooses the lower IRQ band raster ($84 = $55 or $56) and delay ($80B3), and falls into the sprite update at $8133.","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1","x":[29817,32991,32998,64730,64818,65382]},{"a":32989,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":32991,"t":"code","b":[208,249],"m":"bne","oa":32986,"o":"wait_frame_and_update_sprites"},{"a":32993,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":32996,"t":"code","b":[201,250],"m":"cmp","o":"#$FA"},{"a":32998,"t":"code","b":[208,242],"m":"bne","oa":32986,"o":"wait_frame_and_update_sprites"},{"a":33000,"t":"code","b":[230,83],"m":"inc","oa":83,"o":"frame_count_lo"},{"a":33002,"t":"code","b":[208,33],"m":"bne","oa":33037,"o":"b_810D"},{"a":33004,"t":"code","b":[230,84],"m":"inc","oa":84,"o":"frame_count_mid"},{"a":33006,"t":"code","b":[208,29],"m":"bne","oa":33037,"o":"b_810D"},{"a":33008,"t":"code","b":[230,85],"m":"inc","oa":85,"o":"frame_count_hi"},{"a":33010,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":33012,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":33014,"t":"code","b":[208,21],"m":"bne","oa":33037,"o":"b_810D"},{"a":33016,"t":"code","b":[248],"m":"sed"},{"a":33017,"t":"code","b":[165,27],"m":"lda","oa":27,"o":"countdown_lo"},{"a":33019,"t":"code","b":[56],"m":"sec"},{"a":33020,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":33022,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"countdown_lo"},{"a":33024,"t":"code","b":[165,28],"m":"lda","oa":28,"o":"countdown_mid"},{"a":33026,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":33028,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"countdown_mid"},{"a":33030,"t":"code","b":[165,29],"m":"lda","oa":29,"o":"countdown_hi"},{"a":33032,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":33034,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"countdown_hi"},{"a":33036,"t":"code","b":[216],"m":"cld"},{"a":33037,"l":"b_810D","t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo","x":[33002,33006,33014]},{"a":33039,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":33041,"t":"code","b":[133,94],"m":"sta","oa":94,"o":"fine_scroll_x"},{"a":33043,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":33045,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":33047,"t":"code","b":[133,95],"m":"sta","oa":95,"o":"fine_scroll_y"},{"a":33049,"t":"code","b":[165,95],"m":"lda","oa":95,"o":"fine_scroll_y"},{"a":33051,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":33053,"t":"code","b":[208,11],"m":"bne","oa":33066,"o":"b_812A"},{"a":33055,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33057,"t":"code","b":[141,179,128],"m":"sta","oa":32947,"o":"irq_lower_delay"},{"a":33060,"t":"code","b":[169,85],"m":"lda","o":"#$55"},{"a":33062,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"irq_band3_line"},{"a":33064,"t":"code","b":[16,9],"m":"bpl","oa":33075,"o":"sprite_update_from_list"},{"a":33066,"l":"b_812A","t":"code","b":[169,12],"m":"lda","o":"#$0C","x":[33053]},{"a":33068,"t":"code","b":[141,179,128],"m":"sta","oa":32947,"o":"irq_lower_delay"},{"a":33071,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":33073,"t":"code","b":[133,132],"m":"sta","oa":132,"o":"irq_band3_line"},{"a":33075,"l":"sprite_update_from_list","c":"Writes up to 8 hardware sprites from the list built by $81DA: $81 = count, enable mask from $81C9. For each sprite y: object $79,y; pointer $1D30,obj to both screens' pointer bytes $7BF8/$7FF8; colour $1850,obj to $D027; X $1E10,y and Y $1E20,y through the pointer ($5A)=$D000+y; MSB from $1E18,y; $18A0,obj nonzero = Y-expand, negative = X-expand too; $1AD0,obj nonzero = behind background. Multicolour is set for every sprite ($818E test is constant). Ends by clearing $81 and $2D.","t":"code","b":[164,129],"m":"ldy","oa":129,"o":"sprite_count","x":[33064]},{"a":33077,"t":"code","b":[185,201,129],"m":"lda","oa":33225,"o":"sprite_enable_masks,y"},{"a":33080,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":33083,"t":"code","b":[169,208],"m":"lda","o":"#$D0"},{"a":33085,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":33087,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33089,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":33091,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":33093,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":33095,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":33097,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":33099,"l":"b_814B","t":"code","b":[136],"m":"dey","x":[33180,33189]},{"a":33100,"t":"code","b":[48,90],"m":"bmi","oa":33192,"o":"b_81A8"},{"a":33102,"t":"code","b":[182,121],"m":"ldx","oa":121,"o":"sprite_slot_obj,y"},{"a":33104,"t":"code","b":[132,90],"m":"sty","oa":90,"o":"tmp_ptr_a"},{"a":33106,"t":"code","b":[189,48,29],"m":"lda","oa":7472,"o":"obj_sprite,x"},{"a":33109,"t":"code","b":[153,248,123],"m":"sta","oa":31736,"o":"sprite_ptrs_screen_a,y"},{"a":33112,"t":"code","b":[153,248,127],"m":"sta","oa":32760,"o":"sprite_ptrs_screen_b,y"},{"a":33115,"t":"code","b":[189,80,24],"m":"lda","oa":6224,"o":"obj_colour,x"},{"a":33118,"t":"code","b":[153,39,208],"m":"sta","o":"vic_sprite0_colour,y"},{"a":33121,"t":"code","b":[185,16,30],"m":"lda","oa":7696,"o":"sprite_x_lo,y"},{"a":33124,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":33126,"t":"code","b":[230,90],"m":"inc","oa":90,"o":"tmp_ptr_a"},{"a":33128,"t":"code","b":[185,32,30],"m":"lda","oa":7712,"o":"sprite_y,y"},{"a":33131,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":33133,"t":"code","b":[185,24,30],"m":"lda","oa":7704,"o":"sprite_x_msb,y"},{"a":33136,"t":"code","b":[240,7],"m":"beq","oa":33145,"o":"b_8179"},{"a":33138,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":33140,"t":"code","b":[25,210,129],"m":"ora","oa":33234,"o":"sprite_bit_masks,y"},{"a":33143,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":33145,"l":"b_8179","t":"code","b":[189,160,24],"m":"lda","oa":6304,"o":"obj_expand,x","x":[33136]},{"a":33148,"t":"code","b":[240,16],"m":"beq","oa":33166,"o":"b_818E"},{"a":33150,"t":"code","b":[16,7],"m":"bpl","oa":33159,"o":"b_8187"},{"a":33152,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":33154,"t":"code","b":[25,210,129],"m":"ora","oa":33234,"o":"sprite_bit_masks,y"},{"a":33157,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":33159,"l":"b_8187","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[33150]},{"a":33161,"t":"code","b":[25,210,129],"m":"ora","oa":33234,"o":"sprite_bit_masks,y"},{"a":33164,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":33166,"l":"b_818E","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[33148]},{"a":33168,"t":"code","b":[240,7],"m":"beq","oa":33177,"o":"b_8199"},{"a":33170,"t":"code","b":[165,92],"m":"lda","oa":92,"o":"tmp_ptr_b"},{"a":33172,"t":"code","b":[25,210,129],"m":"ora","oa":33234,"o":"sprite_bit_masks,y"},{"a":33175,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":33177,"l":"b_8199","t":"code","b":[189,208,26],"m":"lda","oa":6864,"o":"obj_behind,x","x":[33168]},{"a":33180,"t":"code","b":[240,173],"m":"beq","oa":33099,"o":"b_814B"},{"a":33182,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":33184,"t":"code","b":[25,210,129],"m":"ora","oa":33234,"o":"sprite_bit_masks,y"},{"a":33187,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":33189,"t":"code","b":[76,75,129],"m":"jmp","oa":33099,"o":"b_814B"},{"a":33192,"l":"b_81A8","t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi","x":[33100]},{"a":33194,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":33197,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":33199,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":33202,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":33204,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":33207,"t":"code","b":[165,92],"m":"lda","oa":92,"o":"tmp_ptr_b"},{"a":33209,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":33212,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":33214,"t":"code","b":[141,27,208],"m":"sta","o":"vic_sprite_priority"},{"a":33217,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33219,"t":"code","b":[133,129],"m":"sta","oa":129,"o":"sprite_count"},{"a":33221,"t":"code","b":[133,45],"m":"sta","oa":45,"o":"sprite_origin_y2_hi"},{"a":33223,"t":"code","b":[96],"m":"rts"},{"a":33224,"l":"pad_81c8","c":"One unreferenced $EA byte between the sprite update's RTS and its tables (no reference found in the snapshot scan).","t":"byte","b":[234]},{"a":33225,"l":"sprite_enable_masks","c":"$D015 value for 0-8 sprites in use: $00,$01,$03,...,$FF, indexed by the sprite count $81 (read at $8135).","t":"byte","b":[0,1,3,7,15,31,63,127],"x":[33077]},{"a":33233,"t":"byte","b":[255]},{"a":33234,"l":"sprite_bit_masks","c":"Single-bit masks $01..$80 for sprite 0-7, used to build $D010/$D01D/$D017/$D01C/$D01B in $8174-$81A0.","t":"byte","b":[1,2,4,8,16,32,64,128],"x":[33140,33154,33161,33172,33184]},{"a":33242,"l":"sprite_list_add_object","c":"Adds object X to the frame's sprite list if it is on screen. Screen X = $1B70/$1BC0,x - $28/$29 must be below $156; screen Y = $2A/$2B - $1C10/$1C60,x must be $20-$F9 (objects with $18A0,x set use $2C/$2D and $0B-$F9). Stores object, X low, X MSB and Y at $79,y, $1E10,y, $1E18,y, $1E20,y for slot y = $81 and increments $81; at most 8 (a ninth is dropped). Called from many places ($A17F...).","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[41343,41358,41397,41410,41427,41454,41771,41853,41866,41874,41934,42835,45571,46091,46187,46539,46621,46645,46654,47305,47309,47399,47742,49440,49526,49535,49910,50029,50148,50169,50177,50739,50756,50804,52072,52177,52182,52221,52242,53232,64810,65312]},{"a":33245,"t":"code","b":[56],"m":"sec"},{"a":33246,"t":"code","b":[229,40],"m":"sbc","oa":40,"o":"sprite_origin_x_lo"},{"a":33248,"t":"code","b":[168],"m":"tay"},{"a":33249,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":33252,"t":"code","b":[229,41],"m":"sbc","oa":41,"o":"sprite_origin_x_hi"},{"a":33254,"t":"code","b":[240,8],"m":"beq","oa":33264,"o":"b_81F0"},{"a":33256,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":33258,"t":"code","b":[208,64],"m":"bne","oa":33324,"o":"r_822C"},{"a":33260,"t":"code","b":[192,86],"m":"cpy","o":"#$56"},{"a":33262,"t":"code","b":[176,60],"m":"bcs","oa":33324,"o":"r_822C"},{"a":33264,"l":"b_81F0","t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi","x":[33254]},{"a":33266,"t":"code","b":[152],"m":"tya"},{"a":33267,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":33269,"t":"code","b":[189,160,24],"m":"lda","oa":6304,"o":"obj_expand,x"},{"a":33272,"t":"code","b":[208,51],"m":"bne","oa":33325,"o":"b_822D"},{"a":33274,"t":"code","b":[165,42],"m":"lda","oa":42,"o":"sprite_origin_y_lo"},{"a":33276,"t":"code","b":[56],"m":"sec"},{"a":33277,"t":"code","b":[253,16,28],"m":"sbc","oa":7184,"o":"obj_y_lo,x"},{"a":33280,"t":"code","b":[168],"m":"tay"},{"a":33281,"t":"code","b":[165,43],"m":"lda","oa":43,"o":"sprite_origin_y_hi"},{"a":33283,"t":"code","b":[253,96,28],"m":"sbc","oa":7264,"o":"obj_y_hi,x"},{"a":33286,"t":"code","b":[208,36],"m":"bne","oa":33324,"o":"r_822C"},{"a":33288,"t":"code","b":[192,32],"m":"cpy","o":"#$20"},{"a":33290,"t":"code","b":[144,32],"m":"bcc","oa":33324,"o":"r_822C"},{"a":33292,"t":"code","b":[192,250],"m":"cpy","o":"#$FA"},{"a":33294,"t":"code","b":[176,28],"m":"bcs","oa":33324,"o":"r_822C"},{"a":33296,"t":"code","b":[152],"m":"tya"},{"a":33297,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":33299,"l":"j_8213","t":"code","b":[164,129],"m":"ldy","oa":129,"o":"sprite_count","x":[33350]},{"a":33301,"t":"code","b":[192,8],"m":"cpy","o":"#$08"},{"a":33303,"t":"code","b":[240,19],"m":"beq","oa":33324,"o":"r_822C"},{"a":33305,"t":"code","b":[150,121],"m":"stx","oa":121,"o":"sprite_slot_obj,y"},{"a":33307,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":33309,"t":"code","b":[153,16,30],"m":"sta","oa":7696,"o":"sprite_x_lo,y"},{"a":33312,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":33314,"t":"code","b":[153,24,30],"m":"sta","oa":7704,"o":"sprite_x_msb,y"},{"a":33317,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":33319,"t":"code","b":[153,32,30],"m":"sta","oa":7712,"o":"sprite_y,y"},{"a":33322,"t":"code","b":[230,129],"m":"inc","oa":129,"o":"sprite_count"},{"a":33324,"l":"r_822C","t":"code","b":[96],"m":"rts","x":[33258,33262,33286,33290,33294,33303,33337,33341,33345]},{"a":33325,"l":"b_822D","t":"code","b":[165,44],"m":"lda","oa":44,"o":"sprite_origin_y2_lo","x":[33272]},{"a":33327,"t":"code","b":[56],"m":"sec"},{"a":33328,"t":"code","b":[253,16,28],"m":"sbc","oa":7184,"o":"obj_y_lo,x"},{"a":33331,"t":"code","b":[168],"m":"tay"},{"a":33332,"t":"code","b":[165,45],"m":"lda","oa":45,"o":"sprite_origin_y2_hi"},{"a":33334,"t":"code","b":[253,96,28],"m":"sbc","oa":7264,"o":"obj_y_hi,x"},{"a":33337,"t":"code","b":[208,241],"m":"bne","oa":33324,"o":"r_822C"},{"a":33339,"t":"code","b":[192,11],"m":"cpy","o":"#$0B"},{"a":33341,"t":"code","b":[144,237],"m":"bcc","oa":33324,"o":"r_822C"},{"a":33343,"t":"code","b":[192,250],"m":"cpy","o":"#$FA"},{"a":33345,"t":"code","b":[176,233],"m":"bcs","oa":33324,"o":"r_822C"},{"a":33347,"t":"code","b":[152],"m":"tya"},{"a":33348,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":33350,"t":"code","b":[76,19,130],"m":"jmp","oa":33299,"o":"j_8213"},{"a":33353,"l":"pad_8249","c":"Unreferenced byte before the char-object variables (no reference in the snapshot scan).","t":"byte","b":[0]},{"a":33354,"l":"charobj_row","c":"Char-object drawer: current cell row within the object (0..height-1, compared with $1990,x at $8711); reset to 0 when a pass starts.","t":"byte","b":[0],"x":[33595,33691,33745,34006,34011,34571,34574]},{"a":33355,"l":"charobj_col","c":"Char-object drawer: current cell column within the object; $FF = no pass in progress, otherwise 0..width-1 ($1960,x at $8706).","t":"byte","b":[255],"x":[33573,33592,33719,33731,33983,34003,34039,34560,34563,34584,34602,34617]},{"a":33356,"l":"charobj_bg_char","c":"Char-object drawer: background screen code under the cell being added (returned by $8476, stored into $82D0 for a new slot).","t":"byte","b":[0],"x":[33841,33877]},{"a":33357,"l":"charobj_cell_code","c":"Char-object drawer: the object's own character code for the current cell = $16D0,x + row*width + column (computed at $8399/$84D9).","t":"byte","b":[0],"x":[33725,33814,33899]},{"a":33358,"l":"charobj_list_end","c":"Char-object drawer: index into the overlay list $8B-$CA marking the end of the current slot's group (read by the compositor at $8684).","t":"byte","b":[0],"x":[33802,33904,34097,34436]},{"a":33359,"l":"charobj_slot","c":"Char-object drawer: dynamic character slot (0-31) the current cell uses.","t":"byte","b":[0],"x":[33790,33827,33854,34072,34100,34119,34145,34587,34605]},{"a":33360,"l":"slot_char_x_lo","c":"32 dynamic character slots (codes $00-$1F): map column low byte of each slot's cell.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33761,33859,34148,34727]},{"a":33368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33384,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33392,"l":"slot_char_x_hi","c":"32 slots: map column high byte; $FF marks the slot free (set by $881D and when a slot is released at $85DA).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33768,33849,33864,34156,34266,34735,34849]},{"a":33400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33408,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33416,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33424,"l":"slot_char_y_lo","c":"32 slots: map row low byte of each slot's cell.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33775,33869,34176,34748]},{"a":33432,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33440,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33456,"l":"slot_char_y_hi","c":"32 slots: map row high byte of each slot's cell.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33782,33874,34171,34755]},{"a":33464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33472,"l":"charobj_drawn_base","c":"Base of the per-object 'drawn as characters' flag, indexed by object number $30-$4F, so the flags live at $82F0-$830F (cleared by $881D). $82C0-$82CF itself is never indexed below $30 as far as traced.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33686,33988,33998,34350,34362,34868]},{"a":33480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33488,"l":"slot_bg_char","c":"32 slots: the background screen code the slot's cell replaced; the compositor draws it underneath and it is put back on screen when the slot is freed ($859E/$85D3).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33880,34206,34259,34390]},{"a":33496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33520,"l":"charobj_drawn_flags","c":"Per-object flag for objects $30-$4F (address $82C0+object): 1 while the object is drawn into the background as characters, 0 when not (written $8396, $84CE; read $84C4, $862E, $863A).","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33552,"l":"charobj_step","c":"Char-object drawer state machine, run for object $82 per state $83: 0 = look for an object to draw or erase ($85E9); $FF = add every cell of the object into the dynamic character slots (needs $A3FB's on-screen test to pass, and no pass in progress, $92 = 0); $01 = remove the object's cells ($84BF). Cells: width $1960,x by height $1990,x, codes from $16D0,x. Called from $8721 (loops until done) and $ABCC.","t":"code","b":[166,130],"m":"ldx","oa":130,"o":"overlay_obj","x":[34593,43980]},{"a":33554,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":33556,"t":"code","b":[208,10],"m":"bne","oa":33568,"o":"b_8320"},{"a":33558,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":33560,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":33562,"t":"code","b":[32,61,170],"m":"jsr","oa":43581,"o":"zone_classify"},{"a":33565,"t":"code","b":[76,233,133],"m":"jmp","oa":34281,"o":"charobj_find_work"},{"a":33568,"l":"b_8320","t":"code","b":[48,3],"m":"bmi","oa":33573,"o":"b_8325","x":[33556]},{"a":33570,"t":"code","b":[76,191,132],"m":"jmp","oa":33983,"o":"charobj_remove_cell"},{"a":33573,"l":"b_8325","t":"code","b":[173,75,130],"m":"lda","oa":33355,"o":"charobj_col","x":[33568]},{"a":33576,"t":"code","b":[48,3],"m":"bmi","oa":33581,"o":"b_832D"},{"a":33578,"t":"code","b":[76,153,131],"m":"jmp","oa":33689,"o":"j_8399"},{"a":33581,"l":"b_832D","t":"code","b":[165,146],"m":"lda","oa":146,"o":"overlay_list_7","x":[33576]},{"a":33583,"t":"code","b":[240,5],"m":"beq","oa":33590,"o":"b_8336"},{"a":33585,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33587,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":33589,"t":"code","b":[96],"m":"rts"},{"a":33590,"l":"b_8336","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[33583]},{"a":33592,"t":"code","b":[141,75,130],"m":"sta","oa":33355,"o":"charobj_col"},{"a":33595,"t":"code","b":[141,74,130],"m":"sta","oa":33354,"o":"charobj_row"},{"a":33598,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":33601,"t":"code","b":[133,134],"m":"sta","oa":134,"o":"overlay_col_hi"},{"a":33603,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":33606,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":33608,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":33611,"t":"code","b":[70,134],"m":"lsr","oa":134,"o":"overlay_col_hi"},{"a":33613,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33614,"t":"code","b":[70,134],"m":"lsr","oa":134,"o":"overlay_col_hi"},{"a":33616,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33617,"t":"code","b":[70,134],"m":"lsr","oa":134,"o":"overlay_col_hi"},{"a":33619,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33620,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"overlay_col_lo"},{"a":33622,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":33625,"t":"code","b":[133,136],"m":"sta","oa":136,"o":"overlay_row_hi"},{"a":33627,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":33630,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":33632,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":33635,"t":"code","b":[70,136],"m":"lsr","oa":136,"o":"overlay_row_hi"},{"a":33637,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33638,"t":"code","b":[70,136],"m":"lsr","oa":136,"o":"overlay_row_hi"},{"a":33640,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33641,"t":"code","b":[70,136],"m":"lsr","oa":136,"o":"overlay_row_hi"},{"a":33643,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33644,"t":"code","b":[133,135],"m":"sta","oa":135,"o":"overlay_row_lo"},{"a":33646,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":33649,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":33651,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":33654,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":33656,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":33659,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":33661,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":33664,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":33666,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":33669,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":33671,"t":"code","b":[208,8],"m":"bne","oa":33681,"o":"b_8391"},{"a":33673,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":33675,"t":"code","b":[48,4],"m":"bmi","oa":33681,"o":"b_8391"},{"a":33677,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":33679,"t":"code","b":[240,3],"m":"beq","oa":33684,"o":"b_8394"},{"a":33681,"l":"b_8391","t":"code","b":[76,51,135],"m":"jmp","oa":34611,"o":"j_8733","x":[33671,33675]},{"a":33684,"l":"b_8394","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[33679]},{"a":33686,"t":"code","b":[157,192,130],"m":"sta","oa":33472,"o":"charobj_drawn_base,x"},{"a":33689,"l":"j_8399","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[33578]},{"a":33691,"t":"code","b":[172,74,130],"m":"ldy","oa":33354,"o":"charobj_row"},{"a":33694,"t":"code","b":[240,22],"m":"beq","oa":33718,"o":"b_83B6"},{"a":33696,"t":"code","b":[189,96,25],"m":"lda","oa":6496,"o":"item_icon_width,x"},{"a":33699,"t":"code","b":[136],"m":"dey"},{"a":33700,"t":"code","b":[240,16],"m":"beq","oa":33718,"o":"b_83B6"},{"a":33702,"t":"code","b":[24],"m":"clc"},{"a":33703,"t":"code","b":[125,96,25],"m":"adc","oa":6496,"o":"item_icon_width,x"},{"a":33706,"t":"code","b":[136],"m":"dey"},{"a":33707,"t":"code","b":[240,9],"m":"beq","oa":33718,"o":"b_83B6"},{"a":33709,"t":"code","b":[125,96,25],"m":"adc","oa":6496,"o":"item_icon_width,x"},{"a":33712,"t":"code","b":[136],"m":"dey"},{"a":33713,"t":"code","b":[240,3],"m":"beq","oa":33718,"o":"b_83B6"},{"a":33715,"t":"code","b":[125,96,25],"m":"adc","oa":6496,"o":"item_icon_width,x"},{"a":33718,"l":"b_83B6","t":"code","b":[24],"m":"clc","x":[33694,33700,33707,33713]},{"a":33719,"t":"code","b":[109,75,130],"m":"adc","oa":33355,"o":"charobj_col"},{"a":33722,"t":"code","b":[125,208,22],"m":"adc","oa":5840,"o":"item_icon_char,x"},{"a":33725,"t":"code","b":[141,77,130],"m":"sta","oa":33357,"o":"charobj_cell_code"},{"a":33728,"t":"code","b":[165,133],"m":"lda","oa":133,"o":"overlay_col_lo"},{"a":33730,"t":"code","b":[24],"m":"clc"},{"a":33731,"t":"code","b":[109,75,130],"m":"adc","oa":33355,"o":"charobj_col"},{"a":33734,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":33736,"t":"code","b":[165,134],"m":"lda","oa":134,"o":"overlay_col_hi"},{"a":33738,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":33740,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":33742,"t":"code","b":[165,135],"m":"lda","oa":135,"o":"overlay_row_lo"},{"a":33744,"t":"code","b":[24],"m":"clc"},{"a":33745,"t":"code","b":[109,74,130],"m":"adc","oa":33354,"o":"charobj_row"},{"a":33748,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":33750,"t":"code","b":[165,136],"m":"lda","oa":136,"o":"overlay_row_hi"},{"a":33752,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":33754,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":33756,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":33758,"l":"b_83DE","t":"code","b":[136],"m":"dey","x":[33766,33773,33780,33787]},{"a":33759,"t":"code","b":[48,77],"m":"bmi","oa":33838,"o":"b_842E"},{"a":33761,"t":"code","b":[185,80,130],"m":"lda","oa":33360,"o":"slot_char_x_lo,y"},{"a":33764,"t":"code","b":[197,100],"m":"cmp","oa":100,"o":"probe_x_lo"},{"a":33766,"t":"code","b":[208,246],"m":"bne","oa":33758,"o":"b_83DE"},{"a":33768,"t":"code","b":[185,112,130],"m":"lda","oa":33392,"o":"slot_char_x_hi,y"},{"a":33771,"t":"code","b":[197,101],"m":"cmp","oa":101,"o":"probe_x_hi"},{"a":33773,"t":"code","b":[208,239],"m":"bne","oa":33758,"o":"b_83DE"},{"a":33775,"t":"code","b":[185,144,130],"m":"lda","oa":33424,"o":"slot_char_y_lo,y"},{"a":33778,"t":"code","b":[197,102],"m":"cmp","oa":102,"o":"probe_y_lo"},{"a":33780,"t":"code","b":[208,232],"m":"bne","oa":33758,"o":"b_83DE"},{"a":33782,"t":"code","b":[185,176,130],"m":"lda","oa":33456,"o":"slot_char_y_hi,y"},{"a":33785,"t":"code","b":[197,103],"m":"cmp","oa":103,"o":"probe_y_hi"},{"a":33787,"t":"code","b":[208,225],"m":"bne","oa":33758,"o":"b_83DE"},{"a":33789,"t":"code","b":[152],"m":"tya"},{"a":33790,"t":"code","b":[141,79,130],"m":"sta","oa":33359,"o":"charobj_slot"},{"a":33793,"t":"code","b":[162,64],"m":"ldx","o":"#$40"},{"a":33795,"l":"b_8403","t":"code","b":[202],"m":"dex","x":[33800]},{"a":33796,"t":"code","b":[48,35],"m":"bmi","oa":33833,"o":"b_8429"},{"a":33798,"t":"code","b":[213,139],"m":"cmp","oa":139,"o":"overlay_list,x"},{"a":33800,"t":"code","b":[208,249],"m":"bne","oa":33795,"o":"b_8403"},{"a":33802,"t":"code","b":[142,78,130],"m":"stx","oa":33358,"o":"charobj_list_end"},{"a":33805,"l":"b_840D","t":"code","b":[202],"m":"dex","x":[33812]},{"a":33806,"t":"code","b":[181,139],"m":"lda","oa":139,"o":"overlay_list,x"},{"a":33808,"t":"code","b":[240,4],"m":"beq","oa":33814,"o":"b_8416"},{"a":33810,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":33812,"t":"code","b":[176,247],"m":"bcs","oa":33805,"o":"b_840D"},{"a":33814,"l":"b_8416","t":"code","b":[172,77,130],"m":"ldy","oa":33357,"o":"charobj_cell_code","x":[33808]},{"a":33817,"l":"b_8419","t":"code","b":[181,139],"m":"lda","oa":139,"o":"overlay_list,x","x":[33825]},{"a":33819,"t":"code","b":[148,139],"m":"sty","oa":139,"o":"overlay_list,x"},{"a":33821,"t":"code","b":[240,4],"m":"beq","oa":33827,"o":"b_8423"},{"a":33823,"t":"code","b":[168],"m":"tay"},{"a":33824,"t":"code","b":[202],"m":"dex"},{"a":33825,"t":"code","b":[16,246],"m":"bpl","oa":33817,"o":"b_8419"},{"a":33827,"l":"b_8423","t":"code","b":[172,79,130],"m":"ldy","oa":33359,"o":"charobj_slot","x":[33821]},{"a":33830,"t":"code","b":[76,82,134],"m":"jmp","oa":34386,"o":"charobj_composite_char"},{"a":33833,"l":"b_8429","t":"code","b":[164,90],"m":"ldy","oa":90,"o":"tmp_ptr_a","x":[33796,33847]},{"a":33835,"t":"code","b":[76,51,135],"m":"jmp","oa":34611,"o":"j_8733"},{"a":33838,"l":"b_842E","t":"code","b":[32,118,132],"m":"jsr","oa":33910,"o":"charobj_bg_char_at","x":[33759]},{"a":33841,"t":"code","b":[140,76,130],"m":"sty","oa":33356,"o":"charobj_bg_char"},{"a":33844,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":33846,"l":"b_8436","t":"code","b":[136],"m":"dey","x":[33852]},{"a":33847,"t":"code","b":[240,240],"m":"beq","oa":33833,"o":"b_8429"},{"a":33849,"t":"code","b":[185,112,130],"m":"lda","oa":33392,"o":"slot_char_x_hi,y"},{"a":33852,"t":"code","b":[16,248],"m":"bpl","oa":33846,"o":"b_8436"},{"a":33854,"t":"code","b":[140,79,130],"m":"sty","oa":33359,"o":"charobj_slot"},{"a":33857,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":33859,"t":"code","b":[153,80,130],"m":"sta","oa":33360,"o":"slot_char_x_lo,y"},{"a":33862,"t":"code","b":[165,101],"m":"lda","oa":101,"o":"probe_x_hi"},{"a":33864,"t":"code","b":[153,112,130],"m":"sta","oa":33392,"o":"slot_char_x_hi,y"},{"a":33867,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":33869,"t":"code","b":[153,144,130],"m":"sta","oa":33424,"o":"slot_char_y_lo,y"},{"a":33872,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":33874,"t":"code","b":[153,176,130],"m":"sta","oa":33456,"o":"slot_char_y_hi,y"},{"a":33877,"t":"code","b":[173,76,130],"m":"lda","oa":33356,"o":"charobj_bg_char"},{"a":33880,"t":"code","b":[153,208,130],"m":"sta","oa":33488,"o":"slot_bg_char,y"},{"a":33883,"t":"code","b":[170],"m":"tax"},{"a":33884,"t":"code","b":[189,0,47],"m":"lda","oa":12032,"o":"char_colour,x"},{"a":33887,"t":"code","b":[153,0,47],"m":"sta","oa":12032,"o":"char_colour,y"},{"a":33890,"t":"code","b":[162,64],"m":"ldx","o":"#$40"},{"a":33892,"l":"b_8464","t":"code","b":[202],"m":"dex","x":[33895]},{"a":33893,"t":"code","b":[181,139],"m":"lda","oa":139,"o":"overlay_list,x"},{"a":33895,"t":"code","b":[208,251],"m":"bne","oa":33892,"o":"b_8464"},{"a":33897,"t":"code","b":[148,139],"m":"sty","oa":139,"o":"overlay_list,x"},{"a":33899,"t":"code","b":[173,77,130],"m":"lda","oa":33357,"o":"charobj_cell_code"},{"a":33902,"t":"code","b":[149,138],"m":"sta","oa":138,"o":"doctor_facing,x"},{"a":33904,"t":"code","b":[142,78,130],"m":"stx","oa":33358,"o":"charobj_list_end"},{"a":33907,"t":"code","b":[76,82,134],"m":"jmp","oa":34386,"o":"charobj_composite_char"},{"a":33910,"l":"charobj_bg_char_at","c":"Returns in Y the background screen code at map cell ($64/$65,$66/$67): row pointer from $0A80/$0AC0 by y/4, tile number from the map, tile's char block from $1400/$1500, cell within the 4x4 tile from the low two bits of x and y. Self-modifies $84A9/$84AA and $84BB/$84BC.","t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo","x":[33838]},{"a":33912,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":33914,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":33916,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":33918,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":33920,"t":"code","b":[10],"m":"asl","o":"a"},{"a":33921,"t":"code","b":[10],"m":"asl","o":"a"},{"a":33922,"t":"code","b":[101,90],"m":"adc","oa":90,"o":"tmp_ptr_a"},{"a":33924,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":33926,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":33928,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":33930,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":33932,"t":"code","b":[70,91],"m":"lsr","oa":91,"o":"tmp_ptr_a_hi"},{"a":33934,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33935,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":33936,"t":"code","b":[168],"m":"tay"},{"a":33937,"t":"code","b":[185,128,10],"m":"lda","oa":2688,"o":"map_row_lo,y"},{"a":33940,"t":"code","b":[141,169,132],"m":"sta","oa":33961,"o":"patch_maprow_lo"},{"a":33943,"t":"code","b":[185,192,10],"m":"lda","oa":2752,"o":"map_row_hi,y"},{"a":33946,"t":"code","b":[141,170,132],"m":"sta","oa":33962,"o":"patch_maprow_hi"},{"a":33949,"t":"code","b":[165,101],"m":"lda","oa":101,"o":"probe_x_hi"},{"a":33951,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":33953,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":33955,"t":"code","b":[70,92],"m":"lsr","oa":92,"o":"tmp_ptr_b"},{"a":33957,"t":"code","b":[106],"m":"ror","o":"a"},{"a":33958,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":33959,"t":"code","b":[168],"m":"tay"},{"a":33960,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":33961,"t":"note","l":"patch_maprow_lo","c":"Self-modified: low byte of the map row address read at $84A8 (from $0A80,y).","note":"inside the item at $84A8","x":[33940]},{"a":33962,"t":"note","l":"patch_maprow_hi","c":"Self-modified: high byte of the map row address read at $84A8 (from $0AC0,y).","note":"inside the item at $84A8","x":[33946]},{"a":33963,"t":"code","b":[168],"m":"tay"},{"a":33964,"t":"code","b":[185,0,20],"m":"lda","oa":5120,"o":"block_ptr_lo,y"},{"a":33967,"t":"code","b":[141,187,132],"m":"sta","oa":33979,"o":"patch_tilechars_lo"},{"a":33970,"t":"code","b":[185,0,21],"m":"lda","oa":5376,"o":"block_ptr_hi,y"},{"a":33973,"t":"code","b":[141,188,132],"m":"sta","oa":33980,"o":"patch_tilechars_hi"},{"a":33976,"t":"code","b":[164,90],"m":"ldy","oa":90,"o":"tmp_ptr_a"},{"a":33978,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":33979,"t":"note","l":"patch_tilechars_lo","c":"Self-modified: low byte of the tile's 4x4 char block read at $84BA (from $1400,y).","note":"inside the item at $84BA","x":[33967]},{"a":33980,"t":"note","l":"patch_tilechars_hi","c":"Self-modified: high byte of the tile's char block read at $84BA (from $1500,y).","note":"inside the item at $84BA","x":[33973]},{"a":33981,"t":"code","b":[168],"m":"tay"},{"a":33982,"t":"code","b":[96],"m":"rts"},{"a":33983,"l":"charobj_remove_cell","c":"Removes the object's current cell from the overlay list $8B-$CA; when the slot has no overlays left, puts its background code back on the visible screens ($859E, $85D3) and frees the slot ($8270,x = $FF); otherwise recomposites it via $8652.","t":"code","b":[173,75,130],"m":"lda","oa":33355,"o":"charobj_col","x":[33570]},{"a":33986,"t":"code","b":[16,21],"m":"bpl","oa":34009,"o":"b_84D9"},{"a":33988,"t":"code","b":[189,192,130],"m":"lda","oa":33472,"o":"charobj_drawn_base,x"},{"a":33991,"t":"code","b":[208,3],"m":"bne","oa":33996,"o":"b_84CC"},{"a":33993,"t":"code","b":[76,51,135],"m":"jmp","oa":34611,"o":"j_8733"},{"a":33996,"l":"b_84CC","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[33991]},{"a":33998,"t":"code","b":[157,192,130],"m":"sta","oa":33472,"o":"charobj_drawn_base,x"},{"a":34001,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34003,"t":"code","b":[141,75,130],"m":"sta","oa":33355,"o":"charobj_col"},{"a":34006,"t":"code","b":[141,74,130],"m":"sta","oa":33354,"o":"charobj_row"},{"a":34009,"l":"b_84D9","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[33986]},{"a":34011,"t":"code","b":[172,74,130],"m":"ldy","oa":33354,"o":"charobj_row"},{"a":34014,"t":"code","b":[240,22],"m":"beq","oa":34038,"o":"b_84F6"},{"a":34016,"t":"code","b":[189,96,25],"m":"lda","oa":6496,"o":"item_icon_width,x"},{"a":34019,"t":"code","b":[136],"m":"dey"},{"a":34020,"t":"code","b":[240,16],"m":"beq","oa":34038,"o":"b_84F6"},{"a":34022,"t":"code","b":[24],"m":"clc"},{"a":34023,"t":"code","b":[125,96,25],"m":"adc","oa":6496,"o":"item_icon_width,x"},{"a":34026,"t":"code","b":[136],"m":"dey"},{"a":34027,"t":"code","b":[240,9],"m":"beq","oa":34038,"o":"b_84F6"},{"a":34029,"t":"code","b":[125,96,25],"m":"adc","oa":6496,"o":"item_icon_width,x"},{"a":34032,"t":"code","b":[136],"m":"dey"},{"a":34033,"t":"code","b":[240,3],"m":"beq","oa":34038,"o":"b_84F6"},{"a":34035,"t":"code","b":[125,96,25],"m":"adc","oa":6496,"o":"item_icon_width,x"},{"a":34038,"l":"b_84F6","t":"code","b":[24],"m":"clc","x":[34014,34020,34027,34033]},{"a":34039,"t":"code","b":[109,75,130],"m":"adc","oa":33355,"o":"charobj_col"},{"a":34042,"t":"code","b":[125,208,22],"m":"adc","oa":5840,"o":"item_icon_char,x"},{"a":34045,"t":"code","b":[162,64],"m":"ldx","o":"#$40"},{"a":34047,"l":"b_84FF","t":"code","b":[202],"m":"dex","x":[34055]},{"a":34048,"t":"code","b":[16,3],"m":"bpl","oa":34053,"o":"b_8505"},{"a":34050,"t":"code","b":[76,254,134],"m":"jmp","oa":34558,"o":"j_86FE"},{"a":34053,"l":"b_8505","t":"code","b":[213,139],"m":"cmp","oa":139,"o":"overlay_list,x","x":[34048]},{"a":34055,"t":"code","b":[208,246],"m":"bne","oa":34047,"o":"b_84FF"},{"a":34057,"t":"code","b":[202],"m":"dex"},{"a":34058,"t":"code","b":[181,139],"m":"lda","oa":139,"o":"overlay_list,x"},{"a":34060,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":34062,"t":"code","b":[232],"m":"inx"},{"a":34063,"t":"code","b":[232],"m":"inx"},{"a":34064,"t":"code","b":[176,20],"m":"bcs","oa":34086,"o":"b_8526"},{"a":34066,"t":"code","b":[181,139],"m":"lda","oa":139,"o":"overlay_list,x"},{"a":34068,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":34070,"t":"code","b":[176,14],"m":"bcs","oa":34086,"o":"b_8526"},{"a":34072,"t":"code","b":[141,79,130],"m":"sta","oa":33359,"o":"charobj_slot"},{"a":34075,"l":"b_851B","t":"code","b":[181,137],"m":"lda","oa":137,"o":"throw_stand,x","x":[34082]},{"a":34077,"t":"code","b":[240,46],"m":"beq","oa":34125,"o":"b_854D"},{"a":34079,"t":"code","b":[149,139],"m":"sta","oa":139,"o":"overlay_list,x"},{"a":34081,"t":"code","b":[202],"m":"dex"},{"a":34082,"t":"code","b":[16,247],"m":"bpl","oa":34075,"o":"b_851B"},{"a":34084,"t":"code","b":[48,39],"m":"bmi","oa":34125,"o":"b_854D"},{"a":34086,"l":"b_8526","t":"code","b":[134,91],"m":"stx","oa":91,"o":"tmp_ptr_a_hi","x":[34064,34070]},{"a":34088,"l":"b_8528","t":"code","b":[181,139],"m":"lda","oa":139,"o":"overlay_list,x","x":[34095]},{"a":34090,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":34092,"t":"code","b":[144,3],"m":"bcc","oa":34097,"o":"b_8531"},{"a":34094,"t":"code","b":[232],"m":"inx"},{"a":34095,"t":"code","b":[16,247],"m":"bpl","oa":34088,"o":"b_8528"},{"a":34097,"l":"b_8531","t":"code","b":[142,78,130],"m":"stx","oa":33358,"o":"charobj_list_end","x":[34092]},{"a":34100,"t":"code","b":[141,79,130],"m":"sta","oa":33359,"o":"charobj_slot"},{"a":34103,"t":"code","b":[166,91],"m":"ldx","oa":91,"o":"tmp_ptr_a_hi"},{"a":34105,"t":"code","b":[202],"m":"dex"},{"a":34106,"l":"b_853A","t":"code","b":[181,138],"m":"lda","oa":138,"o":"doctor_facing,x","x":[34113]},{"a":34108,"t":"code","b":[240,5],"m":"beq","oa":34115,"o":"b_8543"},{"a":34110,"t":"code","b":[149,139],"m":"sta","oa":139,"o":"overlay_list,x"},{"a":34112,"t":"code","b":[202],"m":"dex"},{"a":34113,"t":"code","b":[16,247],"m":"bpl","oa":34106,"o":"b_853A"},{"a":34115,"l":"b_8543","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[34108]},{"a":34117,"t":"code","b":[149,139],"m":"sta","oa":139,"o":"overlay_list,x"},{"a":34119,"t":"code","b":[172,79,130],"m":"ldy","oa":33359,"o":"charobj_slot"},{"a":34122,"t":"code","b":[76,82,134],"m":"jmp","oa":34386,"o":"charobj_composite_char"},{"a":34125,"l":"b_854D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[34077,34084]},{"a":34127,"t":"code","b":[149,139],"m":"sta","oa":139,"o":"overlay_list,x"},{"a":34129,"t":"code","b":[149,138],"m":"sta","oa":138,"o":"doctor_facing,x"},{"a":34131,"t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer"},{"a":34133,"t":"code","b":[185,136,135],"m":"lda","oa":34696,"o":"screen_hi_by_buffer,y"},{"a":34136,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":34138,"t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer"},{"a":34140,"t":"code","b":[185,138,135],"m":"lda","oa":34698,"o":"screen_hi_other_buffer,y"},{"a":34143,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":34145,"t":"code","b":[174,79,130],"m":"ldx","oa":33359,"o":"charobj_slot"},{"a":34148,"t":"code","b":[189,80,130],"m":"lda","oa":33360,"o":"slot_char_x_lo,x"},{"a":34151,"t":"code","b":[56],"m":"sec"},{"a":34152,"t":"code","b":[229,36],"m":"sbc","oa":36,"o":"camera_col_lo"},{"a":34154,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":34156,"t":"code","b":[189,112,130],"m":"lda","oa":33392,"o":"slot_char_x_hi,x"},{"a":34159,"t":"code","b":[229,37],"m":"sbc","oa":37,"o":"camera_col_hi"},{"a":34161,"t":"code","b":[208,101],"m":"bne","oa":34264,"o":"b_85D8"},{"a":34163,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":34165,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":34167,"t":"code","b":[176,95],"m":"bcs","oa":34264,"o":"b_85D8"},{"a":34169,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"camera_row_hi"},{"a":34171,"t":"code","b":[221,176,130],"m":"cmp","oa":33456,"o":"slot_char_y_hi,x"},{"a":34174,"t":"code","b":[208,88],"m":"bne","oa":34264,"o":"b_85D8"},{"a":34176,"t":"code","b":[189,144,130],"m":"lda","oa":33424,"o":"slot_char_y_lo,x"},{"a":34179,"t":"code","b":[56],"m":"sec"},{"a":34180,"t":"code","b":[229,38],"m":"sbc","oa":38,"o":"camera_row_lo"},{"a":34182,"t":"code","b":[144,80],"m":"bcc","oa":34264,"o":"b_85D8"},{"a":34184,"t":"code","b":[168],"m":"tay"},{"a":34185,"t":"code","b":[133,104],"m":"sta","oa":104,"o":"tmp_count"},{"a":34187,"t":"code","b":[201,25],"m":"cmp","o":"#$19"},{"a":34189,"t":"code","b":[176,73],"m":"bcs","oa":34264,"o":"b_85D8"},{"a":34191,"t":"code","b":[185,70,135],"m":"lda","oa":34630,"o":"screen_row_offset_lo,y"},{"a":34194,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":34196,"t":"code","b":[185,95,135],"m":"lda","oa":34655,"o":"screen_row_offset_hi,y"},{"a":34199,"t":"code","b":[24],"m":"clc"},{"a":34200,"t":"code","b":[101,92],"m":"adc","oa":92,"o":"tmp_ptr_b"},{"a":34202,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":34204,"t":"code","b":[164,93],"m":"ldy","oa":93,"o":"tmp_ptr_b_hi"},{"a":34206,"t":"code","b":[189,208,130],"m":"lda","oa":33488,"o":"slot_bg_char,x"},{"a":34209,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":34211,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":34213,"t":"code","b":[240,49],"m":"beq","oa":34264,"o":"b_85D8"},{"a":34215,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":34217,"t":"code","b":[240,45],"m":"beq","oa":34264,"o":"b_85D8"},{"a":34219,"t":"code","b":[165,104],"m":"lda","oa":104,"o":"tmp_count"},{"a":34221,"t":"code","b":[240,41],"m":"beq","oa":34264,"o":"b_85D8"},{"a":34223,"t":"code","b":[201,21],"m":"cmp","o":"#$15"},{"a":34225,"t":"code","b":[240,37],"m":"beq","oa":34264,"o":"b_85D8"},{"a":34227,"t":"code","b":[164,114],"m":"ldy","oa":114,"o":"scroll_direction"},{"a":34229,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":34231,"t":"code","b":[24],"m":"clc"},{"a":34232,"t":"code","b":[121,120,135],"m":"adc","oa":34680,"o":"scroll_dir_dx,y"},{"a":34235,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":34237,"t":"code","b":[165,104],"m":"lda","oa":104,"o":"tmp_count"},{"a":34239,"t":"code","b":[24],"m":"clc"},{"a":34240,"t":"code","b":[121,128,135],"m":"adc","oa":34688,"o":"scroll_dir_dy,y"},{"a":34243,"t":"code","b":[168],"m":"tay"},{"a":34244,"t":"code","b":[185,70,135],"m":"lda","oa":34630,"o":"screen_row_offset_lo,y"},{"a":34247,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":34249,"t":"code","b":[185,95,135],"m":"lda","oa":34655,"o":"screen_row_offset_hi,y"},{"a":34252,"t":"code","b":[24],"m":"clc"},{"a":34253,"t":"code","b":[101,96],"m":"adc","oa":96,"o":"pos_x_lo"},{"a":34255,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":34257,"t":"code","b":[164,93],"m":"ldy","oa":93,"o":"tmp_ptr_b_hi"},{"a":34259,"t":"code","b":[189,208,130],"m":"lda","oa":33488,"o":"slot_bg_char,x"},{"a":34262,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":34264,"l":"b_85D8","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[34161,34167,34174,34182,34189,34213,34217,34221,34225]},{"a":34266,"t":"code","b":[157,112,130],"m":"sta","oa":33392,"o":"slot_char_x_hi,x"},{"a":34269,"t":"code","b":[76,254,134],"m":"jmp","oa":34558,"o":"j_86FE"},{"a":34272,"l":"charobj_scan_cursor","c":"Scan cursor for $85E9: last object number tried, $4F down to $30, wraps to $50.","t":"byte","b":[80],"x":[34275,34283]},{"a":34273,"l":"charobj_scan_wrap","c":"Tail of $85E9: restart the cursor at $50 / save it, then JMP $907D (outside this range).","t":"code","b":[162,80],"m":"ldx","o":"#$50","x":[34312]},{"a":34275,"l":"b_85E3","t":"code","b":[142,224,133],"m":"stx","oa":34272,"o":"charobj_scan_cursor","x":[34307]},{"a":34278,"t":"code","b":[76,125,144],"m":"jmp","oa":36989,"o":"check_restart_points"},{"a":34281,"l":"charobj_find_work","c":"Tests up to 4 objects per call (cursor $85E0, objects $4F..$30 with $1B20,x = 0) against the object at index 0 using $A3FB. An object that should be visible and is not drawn gets $82 = object, $83 = $FF (draw); one that should not and is drawn gets $83 = $01 (erase).","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[33565]},{"a":34283,"t":"code","b":[174,224,133],"m":"ldx","oa":34272,"o":"charobj_scan_cursor"},{"a":34286,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":34289,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":34291,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":34294,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":34296,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":34299,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":34301,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":34304,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":34306,"l":"b_8602","t":"code","b":[136],"m":"dey","x":[34317,34344,34348,34353,34365]},{"a":34307,"t":"code","b":[48,222],"m":"bmi","oa":34275,"o":"b_85E3"},{"a":34309,"t":"code","b":[202],"m":"dex"},{"a":34310,"t":"code","b":[224,48],"m":"cpx","o":"#$30"},{"a":34312,"t":"code","b":[144,215],"m":"bcc","oa":34273,"o":"charobj_scan_wrap"},{"a":34314,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":34317,"t":"code","b":[208,243],"m":"bne","oa":34306,"o":"b_8602"},{"a":34319,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":34322,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":34324,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":34326,"t":"code","b":[176,34],"m":"bcs","oa":34362,"o":"b_863A"},{"a":34328,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":34330,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":34332,"t":"code","b":[176,28],"m":"bcs","oa":34362,"o":"b_863A"},{"a":34334,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":34336,"t":"code","b":[208,4],"m":"bne","oa":34342,"o":"b_8626"},{"a":34338,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":34340,"t":"code","b":[48,20],"m":"bmi","oa":34362,"o":"b_863A"},{"a":34342,"l":"b_8626","t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo","x":[34336]},{"a":34344,"t":"code","b":[48,216],"m":"bmi","oa":34306,"o":"b_8602"},{"a":34346,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":34348,"t":"code","b":[208,212],"m":"bne","oa":34306,"o":"b_8602"},{"a":34350,"t":"code","b":[189,192,130],"m":"lda","oa":33472,"o":"charobj_drawn_base,x"},{"a":34353,"t":"code","b":[208,207],"m":"bne","oa":34306,"o":"b_8602"},{"a":34355,"t":"code","b":[134,130],"m":"stx","oa":130,"o":"overlay_obj"},{"a":34357,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":34359,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":34361,"t":"code","b":[96],"m":"rts"},{"a":34362,"l":"b_863A","t":"code","b":[189,192,130],"m":"lda","oa":33472,"o":"charobj_drawn_base,x","x":[34326,34332,34340]},{"a":34365,"t":"code","b":[240,195],"m":"beq","oa":34306,"o":"b_8602"},{"a":34367,"t":"code","b":[134,130],"m":"stx","oa":130,"o":"overlay_obj"},{"a":34369,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":34371,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":34373,"t":"code","b":[96],"m":"rts"},{"a":34374,"l":"charobj_merge_entry_offsets","c":"Self-modified branch offsets for $86F7 by number of overlays (1-5), entering the unrolled merge chain at the right source; $00 = none.","t":"byte","b":[0,234,227,220,213,206],"x":[34478]},{"a":34380,"l":"charobj_merge_loop_offsets","c":"Branch offsets for $86FC (loop back per pixel pair) by number of overlays; $00 falls out.","t":"byte","b":[0,229,222,215,208,201],"x":[34484]},{"a":34386,"l":"charobj_composite_char","c":"Builds the 8 bytes of dynamic char slot Y at $4000+Y*8: for each multicolour pixel pair (masks $C0/$30/$0C/$03 at zero page $17-$1A) takes the first overlay char (up to 5, from the list at $8B, their operands patched through the pointers at zero page $03-$16) whose pair is non-zero, else the background char ($82D0,y at $4000+code*8). Overlay operands get only code*8 as address (high byte 0-7). Heavily self-modifying.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[33830,33907,34122]},{"a":34388,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":34390,"t":"code","b":[185,208,130],"m":"lda","oa":33488,"o":"slot_bg_char,y"},{"a":34393,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34394,"t":"code","b":[38,90],"m":"rol","oa":90,"o":"tmp_ptr_a"},{"a":34396,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34397,"t":"code","b":[38,90],"m":"rol","oa":90,"o":"tmp_ptr_a"},{"a":34399,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34400,"t":"code","b":[38,90],"m":"rol","oa":90,"o":"tmp_ptr_a"},{"a":34402,"t":"code","b":[141,235,134],"m":"sta","oa":34539,"o":"patch_bgchar_lo"},{"a":34405,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":34407,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":34409,"t":"code","b":[141,236,134],"m":"sta","oa":34540,"o":"patch_bgchar_hi"},{"a":34412,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34414,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":34416,"t":"code","b":[152],"m":"tya"},{"a":34417,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34418,"t":"code","b":[38,91],"m":"rol","oa":91,"o":"tmp_ptr_a_hi"},{"a":34420,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34421,"t":"code","b":[38,91],"m":"rol","oa":91,"o":"tmp_ptr_a_hi"},{"a":34423,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34424,"t":"code","b":[38,91],"m":"rol","oa":91,"o":"tmp_ptr_a_hi"},{"a":34426,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":34428,"t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi"},{"a":34430,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":34432,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":34434,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":34436,"t":"code","b":[172,78,130],"m":"ldy","oa":33358,"o":"charobj_list_end"},{"a":34439,"t":"code","b":[136],"m":"dey"},{"a":34440,"l":"b_8688","t":"code","b":[185,139,0],"m":"lda","oa":139,"o":"overlay_list,y","x":[34473]},{"a":34443,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":34445,"t":"code","b":[144,28],"m":"bcc","oa":34475,"o":"b_86AB"},{"a":34447,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":34449,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34451,"t":"code","b":[6,92],"m":"asl","oa":92,"o":"tmp_ptr_b"},{"a":34453,"t":"code","b":[42],"m":"rol","o":"a"},{"a":34454,"t":"code","b":[6,92],"m":"asl","oa":92,"o":"tmp_ptr_b"},{"a":34456,"t":"code","b":[42],"m":"rol","o":"a"},{"a":34457,"t":"code","b":[6,92],"m":"asl","oa":92,"o":"tmp_ptr_b"},{"a":34459,"t":"code","b":[42],"m":"rol","o":"a"},{"a":34460,"t":"code","b":[129,13],"m":"sta","oa":13,"o":"(glyph_merge_hi_ptrs,x)"},{"a":34462,"t":"code","b":[165,92],"m":"lda","oa":92,"o":"tmp_ptr_b"},{"a":34464,"t":"code","b":[129,3],"m":"sta","oa":3,"o":"(glyph_merge_lo_ptrs,x)"},{"a":34466,"t":"code","b":[136],"m":"dey"},{"a":34467,"t":"code","b":[232],"m":"inx"},{"a":34468,"t":"code","b":[232],"m":"inx"},{"a":34469,"t":"code","b":[224,10],"m":"cpx","o":"#$0A"},{"a":34471,"t":"code","b":[240,2],"m":"beq","oa":34475,"o":"b_86AB"},{"a":34473,"t":"code","b":[208,221],"m":"bne","oa":34440,"o":"b_8688"},{"a":34475,"l":"b_86AB","t":"code","b":[138],"m":"txa","x":[34445,34471]},{"a":34476,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34477,"t":"code","b":[170],"m":"tax"},{"a":34478,"t":"code","b":[189,70,134],"m":"lda","oa":34374,"o":"charobj_merge_entry_offsets,x"},{"a":34481,"t":"code","b":[141,248,134],"m":"sta","oa":34552,"o":"patch_merge_entry"},{"a":34484,"t":"code","b":[189,76,134],"m":"lda","oa":34380,"o":"charobj_merge_loop_offsets,x"},{"a":34487,"t":"code","b":[141,253,134],"m":"sta","oa":34557,"o":"patch_merge_loop"},{"a":34490,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":34492,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34494,"l":"b_86BE","t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y","x":[34497]},{"a":34496,"t":"code","b":[136],"m":"dey"},{"a":34497,"t":"code","b":[16,251],"m":"bpl","oa":34494,"o":"b_86BE"},{"a":34499,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":34501,"t":"code","b":[16,50],"m":"bpl","oa":34553,"o":"b_86F9"},{"a":34503,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":34506,"t":"code","b":[53,23],"m":"and","oa":23,"o":"pixel_pair_masks,x"},{"a":34508,"t":"code","b":[208,36],"m":"bne","oa":34546,"o":"b_86F2"},{"a":34510,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":34513,"t":"code","b":[53,23],"m":"and","oa":23,"o":"pixel_pair_masks,x"},{"a":34515,"t":"code","b":[208,29],"m":"bne","oa":34546,"o":"b_86F2"},{"a":34517,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":34520,"t":"code","b":[53,23],"m":"and","oa":23,"o":"pixel_pair_masks,x"},{"a":34522,"t":"code","b":[208,22],"m":"bne","oa":34546,"o":"b_86F2"},{"a":34524,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":34527,"t":"code","b":[53,23],"m":"and","oa":23,"o":"pixel_pair_masks,x"},{"a":34529,"t":"code","b":[208,15],"m":"bne","oa":34546,"o":"b_86F2"},{"a":34531,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":34534,"t":"code","b":[53,23],"m":"and","oa":23,"o":"pixel_pair_masks,x"},{"a":34536,"t":"code","b":[208,8],"m":"bne","oa":34546,"o":"b_86F2"},{"a":34538,"t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y"},{"a":34539,"t":"note","l":"patch_bgchar_lo","c":"Self-modified: low byte of the background char's graphics read at $86EA (code*8, written $8662).","note":"inside the item at $86EA","x":[34402]},{"a":34540,"t":"note","l":"patch_bgchar_hi","c":"Self-modified: high byte of the background char's graphics, $40 + code/32 (written $8669): charset at $4000.","note":"inside the item at $86EA","x":[34409]},{"a":34541,"t":"code","b":[53,23],"m":"and","oa":23,"o":"pixel_pair_masks,x"},{"a":34543,"t":"code","b":[76,242,134],"m":"jmp","oa":34546,"o":"b_86F2"},{"a":34546,"l":"b_86F2","t":"code","b":[17,90],"m":"ora","oa":90,"o":"(tmp_ptr_a),y","x":[34508,34515,34522,34529,34536,34543]},{"a":34548,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":34550,"t":"code","b":[202],"m":"dex"},{"a":34551,"l":"b_86F7","t":"code","b":[16,254],"m":"bpl","oa":34551,"o":"b_86F7","x":[34551]},{"a":34552,"t":"note","l":"patch_merge_entry","c":"Self-modified offset of BPL $86F7 (from $8646): enters the merge chain at the first overlay source.","note":"inside the item at $86F7","x":[34481]},{"a":34553,"l":"b_86F9","t":"code","b":[162,3],"m":"ldx","o":"#$03","x":[34501]},{"a":34555,"t":"code","b":[136],"m":"dey"},{"a":34556,"l":"b_86FC","t":"code","b":[16,254],"m":"bpl","oa":34556,"o":"b_86FC","x":[34556]},{"a":34557,"t":"note","l":"patch_merge_loop","c":"Self-modified offset of BPL $86FC (from $864C): loops the merge chain for the next pixel pair and row.","note":"inside the item at $86FC","x":[34487]},{"a":34558,"l":"j_86FE","t":"code","b":[166,130],"m":"ldx","oa":130,"o":"overlay_obj","x":[34050,34269]},{"a":34560,"t":"code","b":[238,75,130],"m":"inc","oa":33355,"o":"charobj_col"},{"a":34563,"t":"code","b":[173,75,130],"m":"lda","oa":33355,"o":"charobj_col"},{"a":34566,"t":"code","b":[221,96,25],"m":"cmp","oa":6496,"o":"item_icon_width,x"},{"a":34569,"t":"code","b":[208,16],"m":"bne","oa":34587,"o":"b_871B"},{"a":34571,"t":"code","b":[238,74,130],"m":"inc","oa":33354,"o":"charobj_row"},{"a":34574,"t":"code","b":[173,74,130],"m":"lda","oa":33354,"o":"charobj_row"},{"a":34577,"t":"code","b":[221,144,25],"m":"cmp","oa":6544,"o":"item_icon_height,x"},{"a":34580,"t":"code","b":[240,14],"m":"beq","oa":34596,"o":"b_8724"},{"a":34582,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34584,"t":"code","b":[141,75,130],"m":"sta","oa":33355,"o":"charobj_col"},{"a":34587,"l":"b_871B","t":"code","b":[174,79,130],"m":"ldx","oa":33359,"o":"charobj_slot","x":[34569]},{"a":34590,"t":"code","b":[32,153,135],"m":"jsr","oa":34713,"o":"slot_draw_on_screens"},{"a":34593,"t":"code","b":[76,16,131],"m":"jmp","oa":33552,"o":"charobj_step"},{"a":34596,"l":"b_8724","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[34580]},{"a":34598,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":34600,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":34602,"t":"code","b":[141,75,130],"m":"sta","oa":33355,"o":"charobj_col"},{"a":34605,"t":"code","b":[174,79,130],"m":"ldx","oa":33359,"o":"charobj_slot"},{"a":34608,"t":"code","b":[76,153,135],"m":"jmp","oa":34713,"o":"slot_draw_on_screens"},{"a":34611,"l":"j_8733","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[33681,33835,33993]},{"a":34613,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":34615,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":34617,"t":"code","b":[141,75,130],"m":"sta","oa":33355,"o":"charobj_col"},{"a":34620,"t":"code","b":[96],"m":"rts"},{"a":34621,"l":"slot_redraw_count","c":"Loop counter for $8799: slots left to draw this call (3 = four slots).","t":"byte","b":[0],"x":[34710,34838]},{"a":34622,"l":"slot_redraw_start","c":"First slot to redraw per frame phase ($53 AND 7): 0,4,...,28, so all 32 slots are refreshed every 8 frames.","t":"byte","b":[0,4,8,12,16,20,24,28],"x":[34705]},{"a":34630,"l":"screen_row_offset_lo","c":"Low byte of a screen row's offset, 25 entries indexed from the bottom: entry 0 = row 24 ($3C0), entry 24 = row 0. Also read from $AE27 and elsewhere.","t":"byte","b":[192,152,112,72,32,248,208,168],"x":[34191,34244,34768,34819,44583,49204,49257]},{"a":34638,"t":"byte","b":[128,88,48,8,224,184,144,104]},{"a":34646,"t":"byte","b":[64,24,240,200,160,120,80,40]},{"a":34654,"t":"byte","b":[0]},{"a":34655,"l":"screen_row_offset_hi","c":"High byte of the same bottom-up row offsets (added to the screen base $78/$7C).","t":"byte","b":[3,3,3,3,3,2,2,2],"x":[34196,34249,34773,34824,44588,49209,49262]},{"a":34663,"t":"byte","b":[2,2,2,2,1,1,1,1]},{"a":34671,"t":"byte","b":[1,1,0,0,0,0,0,0]},{"a":34679,"t":"byte","b":[0]},{"a":34680,"l":"scroll_dir_dx","c":"Column offset per scroll direction $72 (0-7), used to place a slot char on the back buffer where it will be after the pending coarse scroll.","t":"byte","b":[1,255,0,0,1,255,255,1],"x":[34232,34807,49245]},{"a":34688,"l":"scroll_dir_dy","c":"Row offset per scroll direction $72 (0-7), paired with $8778.","t":"byte","b":[0,0,255,1,255,1,255,1],"x":[34240,34815,49253]},{"a":34696,"l":"screen_hi_by_buffer","c":"High byte of the screen $52 shows: $78 / $7C.","t":"byte","b":[120,124],"x":[34133,34715,44563,44675,49151]},{"a":34698,"l":"screen_hi_other_buffer","c":"High byte of the other screen (the back buffer): $7C / $78.","t":"byte","b":[124,120],"x":[34140,34722,49158]},{"a":34700,"l":"slot_redraw_tick","c":"Main-loop step: redraws four dynamic char slots per frame (start from $873E by frame counter $53) via $8799.","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[29823]},{"a":34702,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":34704,"t":"code","b":[168],"m":"tay"},{"a":34705,"t":"code","b":[190,62,135],"m":"ldx","oa":34622,"o":"slot_redraw_start,y"},{"a":34708,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":34710,"t":"code","b":[141,61,135],"m":"sta","oa":34621,"o":"slot_redraw_count"},{"a":34713,"l":"slot_draw_on_screens","c":"Draws slot X (and the following $873D slots) on screen: if the slot's map cell is within the 40x21 window at $24-$27, stores the slot code at that position on the shown screen and, offset by the pending scroll direction $72 ($8778/$8780), on the back buffer.","t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer","x":[34590,34608]},{"a":34715,"t":"code","b":[185,136,135],"m":"lda","oa":34696,"o":"screen_hi_by_buffer,y"},{"a":34718,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":34720,"t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer"},{"a":34722,"t":"code","b":[185,138,135],"m":"lda","oa":34698,"o":"screen_hi_other_buffer,y"},{"a":34725,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":34727,"l":"b_87A7","t":"code","b":[189,80,130],"m":"lda","oa":33360,"o":"slot_char_x_lo,x","x":[34841]},{"a":34730,"t":"code","b":[56],"m":"sec"},{"a":34731,"t":"code","b":[229,36],"m":"sbc","oa":36,"o":"camera_col_lo"},{"a":34733,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":34735,"t":"code","b":[189,112,130],"m":"lda","oa":33392,"o":"slot_char_x_hi,x"},{"a":34738,"t":"code","b":[229,37],"m":"sbc","oa":37,"o":"camera_col_hi"},{"a":34740,"t":"code","b":[208,95],"m":"bne","oa":34837,"o":"b_8815"},{"a":34742,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":34744,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":34746,"t":"code","b":[176,89],"m":"bcs","oa":34837,"o":"b_8815"},{"a":34748,"t":"code","b":[189,144,130],"m":"lda","oa":33424,"o":"slot_char_y_lo,x"},{"a":34751,"t":"code","b":[56],"m":"sec"},{"a":34752,"t":"code","b":[229,38],"m":"sbc","oa":38,"o":"camera_row_lo"},{"a":34754,"t":"code","b":[168],"m":"tay"},{"a":34755,"t":"code","b":[189,176,130],"m":"lda","oa":33456,"o":"slot_char_y_hi,x"},{"a":34758,"t":"code","b":[229,39],"m":"sbc","oa":39,"o":"camera_row_hi"},{"a":34760,"t":"code","b":[208,75],"m":"bne","oa":34837,"o":"b_8815"},{"a":34762,"t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count"},{"a":34764,"t":"code","b":[192,21],"m":"cpy","o":"#$15"},{"a":34766,"t":"code","b":[176,69],"m":"bcs","oa":34837,"o":"b_8815"},{"a":34768,"t":"code","b":[185,70,135],"m":"lda","oa":34630,"o":"screen_row_offset_lo,y"},{"a":34771,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":34773,"t":"code","b":[185,95,135],"m":"lda","oa":34655,"o":"screen_row_offset_hi,y"},{"a":34776,"t":"code","b":[24],"m":"clc"},{"a":34777,"t":"code","b":[101,92],"m":"adc","oa":92,"o":"tmp_ptr_b"},{"a":34779,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":34781,"t":"code","b":[164,93],"m":"ldy","oa":93,"o":"tmp_ptr_b_hi"},{"a":34783,"t":"code","b":[138],"m":"txa"},{"a":34784,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":34786,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":34788,"t":"code","b":[240,47],"m":"beq","oa":34837,"o":"b_8815"},{"a":34790,"t":"code","b":[201,39],"m":"cmp","o":"#$27"},{"a":34792,"t":"code","b":[240,43],"m":"beq","oa":34837,"o":"b_8815"},{"a":34794,"t":"code","b":[165,104],"m":"lda","oa":104,"o":"tmp_count"},{"a":34796,"t":"code","b":[240,39],"m":"beq","oa":34837,"o":"b_8815"},{"a":34798,"t":"code","b":[201,21],"m":"cmp","o":"#$15"},{"a":34800,"t":"code","b":[240,35],"m":"beq","oa":34837,"o":"b_8815"},{"a":34802,"t":"code","b":[164,114],"m":"ldy","oa":114,"o":"scroll_direction"},{"a":34804,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":34806,"t":"code","b":[24],"m":"clc"},{"a":34807,"t":"code","b":[121,120,135],"m":"adc","oa":34680,"o":"scroll_dir_dx,y"},{"a":34810,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":34812,"t":"code","b":[165,104],"m":"lda","oa":104,"o":"tmp_count"},{"a":34814,"t":"code","b":[24],"m":"clc"},{"a":34815,"t":"code","b":[121,128,135],"m":"adc","oa":34688,"o":"scroll_dir_dy,y"},{"a":34818,"t":"code","b":[168],"m":"tay"},{"a":34819,"t":"code","b":[185,70,135],"m":"lda","oa":34630,"o":"screen_row_offset_lo,y"},{"a":34822,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":34824,"t":"code","b":[185,95,135],"m":"lda","oa":34655,"o":"screen_row_offset_hi,y"},{"a":34827,"t":"code","b":[24],"m":"clc"},{"a":34828,"t":"code","b":[101,96],"m":"adc","oa":96,"o":"pos_x_lo"},{"a":34830,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":34832,"t":"code","b":[164,93],"m":"ldy","oa":93,"o":"tmp_ptr_b_hi"},{"a":34834,"t":"code","b":[138],"m":"txa"},{"a":34835,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":34837,"l":"b_8815","t":"code","b":[232],"m":"inx","x":[34740,34746,34760,34766,34788,34792,34796,34800]},{"a":34838,"t":"code","b":[206,61,135],"m":"dec","oa":34621,"o":"slot_redraw_count"},{"a":34841,"t":"code","b":[16,140],"m":"bpl","oa":34727,"o":"b_87A7"},{"a":34843,"t":"code","b":[96],"m":"rts"},{"a":34844,"l":"unused_loop_counter","c":"Byte used only by the unreferenced code at $883D ($881C referenced at $8840/$8846 only).","t":"byte","b":[0]},{"a":34845,"l":"charobj_reset","c":"Frees all 32 dynamic char slots ($8270 = $FF), clears the overlay list $8B-$CA and the drawn flags of objects $30-$4E ($82F0-$830E; $4F is not cleared, loop stops at $4F). Called at start-up $4A3F and from $94ED.","t":"code","b":[162,31],"m":"ldx","o":"#$1F","x":[19007,38125]},{"a":34847,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":34849,"l":"b_8821","t":"code","b":[157,112,130],"m":"sta","oa":33392,"o":"slot_char_x_hi,x","x":[34853]},{"a":34852,"t":"code","b":[202],"m":"dex"},{"a":34853,"t":"code","b":[16,250],"m":"bpl","oa":34849,"o":"b_8821"},{"a":34855,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":34857,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34859,"l":"b_882B","t":"code","b":[149,139],"m":"sta","oa":139,"o":"overlay_list,x","x":[34862]},{"a":34861,"t":"code","b":[202],"m":"dex"},{"a":34862,"t":"code","b":[16,251],"m":"bpl","oa":34859,"o":"b_882B"},{"a":34864,"t":"code","b":[162,48],"m":"ldx","o":"#$30"},{"a":34866,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34868,"l":"b_8834","t":"code","b":[157,192,130],"m":"sta","oa":33472,"o":"charobj_drawn_base,x","x":[34874]},{"a":34871,"t":"code","b":[232],"m":"inx"},{"a":34872,"t":"code","b":[224,79],"m":"cpx","o":"#$4F"},{"a":34874,"t":"code","b":[208,248],"m":"bne","oa":34868,"o":"b_8834"},{"a":34876,"t":"code","b":[96],"m":"rts"},{"a":34877,"l":"unreferenced_find_loop","c":"14 bytes of code shape nothing references (snapshot scan for $883D found none): LDA #7, STA $881C, JSR $85E9, DEC $881C, BPL, RTS, i.e. calling $85E9 eight times. Left as bytes.","t":"byte","b":[169,7,141,28,136,32,233,133]},{"a":34885,"t":"byte","b":[206,28,136,16,248,96]},{"a":34891,"l":"scroll_phase_limit_h","c":"Per fine-scroll value (index = ($CB AND 2)*4 + $5E): the coarse-scroll phase at which horizontal motion may continue; negative = scroll allowed at once. Read at $88E2 and $89EC.","t":"byte","b":[4,2,0,255,255,255,255,255],"x":[35042,35308]},{"a":34899,"t":"byte","b":[4,4,2,2,0,0,255,255]},{"a":34907,"l":"scroll_phase_limit_v","c":"The same for the other direction sense (read at $8968, $8A1E).","t":"byte","b":[255,255,255,255,255,0,2,4],"x":[35176,35358]},{"a":34915,"t":"byte","b":[255,255,0,0,2,2,4,4]},{"a":34923,"l":"scroll_diag_decision","c":"64 bytes indexed by (7-$5F)*8+$5E: for diagonal stick input, a self-modified branch offset (low bits) choosing whether to move diagonally or along one axis; bit 7 selects which half applies. Read at $88FD, $8928, $8983, $89AB.","t":"byte","b":[132,0,0,6,134,0,0,4],"x":[35069,35112,35203,35243]},{"a":34931,"t":"byte","b":[0,132,6,0,0,134,4,0]},{"a":34939,"t":"byte","b":[0,6,132,0,0,4,134,0]},{"a":34947,"t":"byte","b":[6,0,0,132,4,0,0,134]},{"a":34955,"t":"byte","b":[130,0,0,4,132,0,0,2]},{"a":34963,"t":"byte","b":[0,130,4,0,0,132,2,0]},{"a":34971,"t":"byte","b":[0,4,130,0,0,2,132,0]},{"a":34979,"t":"byte","b":[4,0,0,130,2,0,0,132]},{"a":34987,"l":"scroll_decide_motion","c":"From the stick flags $CB/$CC and the fine scroll $5E/$5F picks the scroll direction $72 (0-7), resets the coarse-scroll phase $6E on a change of direction, and returns $6F/$70 = 0 when motion along X/Y is allowed ($FF blocked) and $71 = $FF when no coarse scroll is due. Called from $A19D, $A365, $CB04.","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[41373,41829,51972]},{"a":34989,"t":"code","b":[133,111],"m":"sta","oa":111,"o":"scroll_block_x"},{"a":34991,"t":"code","b":[133,112],"m":"sta","oa":112,"o":"scroll_block_y"},{"a":34993,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34995,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"scroll_pending"},{"a":34997,"t":"code","b":[165,95],"m":"lda","oa":95,"o":"fine_scroll_y"},{"a":34999,"t":"code","b":[73,7],"m":"eor","o":"#$07"},{"a":35001,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35002,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35003,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35004,"t":"code","b":[101,94],"m":"adc","oa":94,"o":"fine_scroll_x"},{"a":35006,"t":"code","b":[168],"m":"tay"},{"a":35007,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":35009,"t":"code","b":[208,3],"m":"bne","oa":35014,"o":"b_88C6"},{"a":35011,"t":"code","b":[76,207,137],"m":"jmp","oa":35279,"o":"j_89CF"},{"a":35014,"l":"b_88C6","t":"code","b":[48,3],"m":"bmi","oa":35019,"o":"b_88CB","x":[35009]},{"a":35016,"t":"code","b":[76,77,137],"m":"jmp","oa":35149,"o":"j_894D"},{"a":35019,"l":"b_88CB","t":"code","b":[41,2],"m":"and","o":"#$02","x":[35014]},{"a":35021,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35022,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35023,"t":"code","b":[101,94],"m":"adc","oa":94,"o":"fine_scroll_x"},{"a":35025,"t":"code","b":[170],"m":"tax"},{"a":35026,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":35028,"t":"code","b":[48,82],"m":"bmi","oa":35112,"o":"b_8928"},{"a":35030,"t":"code","b":[208,37],"m":"bne","oa":35069,"o":"b_88FD"},{"a":35032,"l":"b_88D8","t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction","x":[35083,35094,35128]},{"a":35034,"t":"code","b":[240,6],"m":"beq","oa":35042,"o":"b_88E2"},{"a":35036,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35038,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35040,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35042,"l":"b_88E2","t":"code","b":[189,75,136],"m":"lda","oa":34891,"o":"scroll_phase_limit_h,x","x":[35034,35100,35110,35137,35147]},{"a":35045,"t":"code","b":[48,7],"m":"bmi","oa":35054,"o":"b_88EE"},{"a":35047,"t":"code","b":[197,110],"m":"cmp","oa":110,"o":"scroll_stage"},{"a":35049,"t":"code","b":[240,7],"m":"beq","oa":35058,"o":"b_88F2"},{"a":35051,"t":"code","b":[48,1],"m":"bmi","oa":35054,"o":"b_88EE"},{"a":35053,"t":"code","b":[96],"m":"rts"},{"a":35054,"l":"b_88EE","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[35045,35051]},{"a":35056,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"scroll_pending"},{"a":35058,"l":"b_88F2","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35049]},{"a":35060,"t":"code","b":[133,111],"m":"sta","oa":111,"o":"scroll_block_x"},{"a":35062,"t":"code","b":[164,204],"m":"ldy","oa":204,"o":"move_y"},{"a":35064,"t":"code","b":[240,2],"m":"beq","oa":35068,"o":"r_88FC"},{"a":35066,"t":"code","b":[133,112],"m":"sta","oa":112,"o":"scroll_block_y"},{"a":35068,"l":"r_88FC","t":"code","b":[96],"m":"rts","x":[35064]},{"a":35069,"l":"b_88FD","t":"code","b":[185,107,136],"m":"lda","oa":34923,"o":"scroll_diag_decision,y","x":[35030]},{"a":35072,"t":"code","b":[16,16],"m":"bpl","oa":35090,"o":"b_8912"},{"a":35074,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":35076,"t":"code","b":[141,8,137],"m":"sta","oa":35080,"o":"patch_diag_branch_a"},{"a":35079,"l":"b_8907","t":"code","b":[16,254],"m":"bpl","oa":35079,"o":"b_8907","x":[35079]},{"a":35080,"t":"note","l":"patch_diag_branch_a","c":"Self-modified offset of BPL $8907 (from $886B AND 7): picks axis handling for left+up/down diagonal input.","note":"inside the item at $8907","x":[35076]},{"a":35081,"t":"code","b":[16,7],"m":"bpl","oa":35090,"o":"b_8912"},{"a":35083,"t":"code","b":[16,203],"m":"bpl","oa":35032,"o":"b_88D8"},{"a":35085,"t":"code","b":[16,9],"m":"bpl","oa":35096,"o":"b_8918"},{"a":35087,"t":"code","b":[76,7,138],"m":"jmp","oa":35335,"o":"j_8A07"},{"a":35090,"l":"b_8912","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35072,35081,35115,35122]},{"a":35092,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":35094,"t":"code","b":[240,192],"m":"beq","oa":35032,"o":"b_88D8"},{"a":35096,"l":"b_8918","t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction","x":[35085]},{"a":35098,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":35100,"t":"code","b":[240,196],"m":"beq","oa":35042,"o":"b_88E2"},{"a":35102,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":35104,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35106,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35108,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35110,"t":"code","b":[240,186],"m":"beq","oa":35042,"o":"b_88E2"},{"a":35112,"l":"b_8928","t":"code","b":[185,107,136],"m":"lda","oa":34923,"o":"scroll_diag_decision,y","x":[35028]},{"a":35115,"t":"code","b":[48,229],"m":"bmi","oa":35090,"o":"b_8912"},{"a":35117,"t":"code","b":[141,49,137],"m":"sta","oa":35121,"o":"patch_diag_branch_b"},{"a":35120,"l":"b_8930","t":"code","b":[16,254],"m":"bpl","oa":35120,"o":"b_8930","x":[35120]},{"a":35121,"t":"note","l":"patch_diag_branch_b","c":"Self-modified offset of BPL $8930 (from $886B): diagonal choice, left+down case.","note":"inside the item at $8930","x":[35117]},{"a":35122,"t":"code","b":[16,222],"m":"bpl","oa":35090,"o":"b_8912"},{"a":35124,"t":"code","b":[16,4],"m":"bpl","oa":35130,"o":"b_893A"},{"a":35126,"t":"code","b":[16,5],"m":"bpl","oa":35133,"o":"b_893D"},{"a":35128,"t":"code","b":[16,158],"m":"bpl","oa":35032,"o":"b_88D8"},{"a":35130,"l":"b_893A","t":"code","b":[76,213,137],"m":"jmp","oa":35285,"o":"j_89D5","x":[35124]},{"a":35133,"l":"b_893D","t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction","x":[35126]},{"a":35135,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":35137,"t":"code","b":[240,159],"m":"beq","oa":35042,"o":"b_88E2"},{"a":35139,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":35141,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35143,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35145,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35147,"t":"code","b":[240,149],"m":"beq","oa":35042,"o":"b_88E2"},{"a":35149,"l":"j_894D","t":"code","b":[41,2],"m":"and","o":"#$02","x":[35016]},{"a":35151,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35152,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35153,"t":"code","b":[101,94],"m":"adc","oa":94,"o":"fine_scroll_x"},{"a":35155,"t":"code","b":[170],"m":"tax"},{"a":35156,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":35158,"t":"code","b":[48,83],"m":"bmi","oa":35243,"o":"b_89AB"},{"a":35160,"t":"code","b":[208,41],"m":"bne","oa":35203,"o":"b_8983"},{"a":35162,"l":"b_895A","t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction","x":[35215,35225,35261]},{"a":35164,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":35166,"t":"code","b":[240,8],"m":"beq","oa":35176,"o":"b_8968"},{"a":35168,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":35170,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35172,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35174,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35176,"l":"b_8968","t":"code","b":[189,91,136],"m":"lda","oa":34907,"o":"scroll_phase_limit_v,x","x":[35166,35231,35241,35267,35277]},{"a":35179,"t":"code","b":[48,7],"m":"bmi","oa":35188,"o":"b_8974"},{"a":35181,"t":"code","b":[197,110],"m":"cmp","oa":110,"o":"scroll_stage"},{"a":35183,"t":"code","b":[48,3],"m":"bmi","oa":35188,"o":"b_8974"},{"a":35185,"t":"code","b":[240,5],"m":"beq","oa":35192,"o":"b_8978"},{"a":35187,"t":"code","b":[96],"m":"rts"},{"a":35188,"l":"b_8974","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[35179,35183]},{"a":35190,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"scroll_pending"},{"a":35192,"l":"b_8978","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35185]},{"a":35194,"t":"code","b":[133,111],"m":"sta","oa":111,"o":"scroll_block_x"},{"a":35196,"t":"code","b":[164,204],"m":"ldy","oa":204,"o":"move_y"},{"a":35198,"t":"code","b":[240,2],"m":"beq","oa":35202,"o":"r_8982"},{"a":35200,"t":"code","b":[133,112],"m":"sta","oa":112,"o":"scroll_block_y"},{"a":35202,"l":"r_8982","t":"code","b":[96],"m":"rts","x":[35198]},{"a":35203,"l":"b_8983","t":"code","b":[185,107,136],"m":"lda","oa":34923,"o":"scroll_diag_decision,y","x":[35160]},{"a":35206,"t":"code","b":[48,13],"m":"bmi","oa":35221,"o":"b_8995"},{"a":35208,"t":"code","b":[141,140,137],"m":"sta","oa":35212,"o":"patch_diag_branch_c"},{"a":35211,"l":"b_898B","t":"code","b":[16,254],"m":"bpl","oa":35211,"o":"b_898B","x":[35211]},{"a":35212,"t":"note","l":"patch_diag_branch_c","c":"Self-modified offset of BPL $898B (from $886B): diagonal choice, right+up case.","note":"inside the item at $898B","x":[35208]},{"a":35213,"t":"code","b":[16,6],"m":"bpl","oa":35221,"o":"b_8995"},{"a":35215,"t":"code","b":[16,201],"m":"bpl","oa":35162,"o":"b_895A"},{"a":35217,"t":"code","b":[16,8],"m":"bpl","oa":35227,"o":"b_899B"},{"a":35219,"t":"code","b":[16,114],"m":"bpl","oa":35335,"o":"j_8A07"},{"a":35221,"l":"b_8995","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35206,35213,35246,35255]},{"a":35223,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":35225,"t":"code","b":[240,191],"m":"beq","oa":35162,"o":"b_895A"},{"a":35227,"l":"b_899B","t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction","x":[35217]},{"a":35229,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":35231,"t":"code","b":[240,199],"m":"beq","oa":35176,"o":"b_8968"},{"a":35233,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":35235,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35237,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35239,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35241,"t":"code","b":[240,189],"m":"beq","oa":35176,"o":"b_8968"},{"a":35243,"l":"b_89AB","t":"code","b":[185,107,136],"m":"lda","oa":34923,"o":"scroll_diag_decision,y","x":[35158]},{"a":35246,"t":"code","b":[16,229],"m":"bpl","oa":35221,"o":"b_8995"},{"a":35248,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":35250,"t":"code","b":[141,182,137],"m":"sta","oa":35254,"o":"patch_diag_branch_d"},{"a":35253,"l":"b_89B5","t":"code","b":[16,254],"m":"bpl","oa":35253,"o":"b_89B5","x":[35253]},{"a":35254,"t":"note","l":"patch_diag_branch_d","c":"Self-modified offset of BPL $89B5 (from $886B AND 7): diagonal choice, right+down case.","note":"inside the item at $89B5","x":[35250]},{"a":35255,"t":"code","b":[16,220],"m":"bpl","oa":35221,"o":"b_8995"},{"a":35257,"t":"code","b":[16,26],"m":"bpl","oa":35285,"o":"j_89D5"},{"a":35259,"t":"code","b":[16,2],"m":"bpl","oa":35263,"o":"b_89BF"},{"a":35261,"t":"code","b":[16,155],"m":"bpl","oa":35162,"o":"b_895A"},{"a":35263,"l":"b_89BF","t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction","x":[35259]},{"a":35265,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":35267,"t":"code","b":[240,163],"m":"beq","oa":35176,"o":"b_8968"},{"a":35269,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":35271,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35273,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35275,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35277,"t":"code","b":[240,153],"m":"beq","oa":35176,"o":"b_8968"},{"a":35279,"l":"j_89CF","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[35011]},{"a":35281,"t":"code","b":[240,102],"m":"beq","oa":35385,"o":"b_8A39"},{"a":35283,"t":"code","b":[16,50],"m":"bpl","oa":35335,"o":"j_8A07"},{"a":35285,"l":"j_89D5","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[35130,35257]},{"a":35287,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":35289,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35290,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35291,"t":"code","b":[101,95],"m":"adc","oa":95,"o":"fine_scroll_y"},{"a":35293,"t":"code","b":[170],"m":"tax"},{"a":35294,"t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction"},{"a":35296,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":35298,"t":"code","b":[240,8],"m":"beq","oa":35308,"o":"b_89EC"},{"a":35300,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":35302,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35304,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35306,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35308,"l":"b_89EC","t":"code","b":[189,75,136],"m":"lda","oa":34891,"o":"scroll_phase_limit_h,x","x":[35298]},{"a":35311,"t":"code","b":[48,7],"m":"bmi","oa":35320,"o":"b_89F8"},{"a":35313,"t":"code","b":[197,110],"m":"cmp","oa":110,"o":"scroll_stage"},{"a":35315,"t":"code","b":[240,7],"m":"beq","oa":35324,"o":"b_89FC"},{"a":35317,"t":"code","b":[48,1],"m":"bmi","oa":35320,"o":"b_89F8"},{"a":35319,"t":"code","b":[96],"m":"rts"},{"a":35320,"l":"b_89F8","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[35311,35317]},{"a":35322,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"scroll_pending"},{"a":35324,"l":"b_89FC","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35315]},{"a":35326,"t":"code","b":[133,112],"m":"sta","oa":112,"o":"scroll_block_y"},{"a":35328,"t":"code","b":[164,203],"m":"ldy","oa":203,"o":"move_x"},{"a":35330,"t":"code","b":[240,2],"m":"beq","oa":35334,"o":"r_8A06"},{"a":35332,"t":"code","b":[133,111],"m":"sta","oa":111,"o":"scroll_block_x"},{"a":35334,"l":"r_8A06","t":"code","b":[96],"m":"rts","x":[35330]},{"a":35335,"l":"j_8A07","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[35087,35219,35283]},{"a":35337,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":35339,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35340,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35341,"t":"code","b":[101,95],"m":"adc","oa":95,"o":"fine_scroll_y"},{"a":35343,"t":"code","b":[170],"m":"tax"},{"a":35344,"t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction"},{"a":35346,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":35348,"t":"code","b":[240,8],"m":"beq","oa":35358,"o":"b_8A1E"},{"a":35350,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":35352,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"scroll_direction"},{"a":35354,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35356,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35358,"l":"b_8A1E","t":"code","b":[189,91,136],"m":"lda","oa":34907,"o":"scroll_phase_limit_v,x","x":[35348]},{"a":35361,"t":"code","b":[48,7],"m":"bmi","oa":35370,"o":"b_8A2A"},{"a":35363,"t":"code","b":[197,110],"m":"cmp","oa":110,"o":"scroll_stage"},{"a":35365,"t":"code","b":[240,7],"m":"beq","oa":35374,"o":"b_8A2E"},{"a":35367,"t":"code","b":[48,1],"m":"bmi","oa":35370,"o":"b_8A2A"},{"a":35369,"t":"code","b":[96],"m":"rts"},{"a":35370,"l":"b_8A2A","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[35361,35367]},{"a":35372,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"scroll_pending"},{"a":35374,"l":"b_8A2E","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35365]},{"a":35376,"t":"code","b":[133,112],"m":"sta","oa":112,"o":"scroll_block_y"},{"a":35378,"t":"code","b":[164,203],"m":"ldy","oa":203,"o":"move_x"},{"a":35380,"t":"code","b":[240,2],"m":"beq","oa":35384,"o":"r_8A38"},{"a":35382,"t":"code","b":[133,111],"m":"sta","oa":111,"o":"scroll_block_x"},{"a":35384,"l":"r_8A38","t":"code","b":[96],"m":"rts","x":[35380]},{"a":35385,"l":"b_8A39","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[35281]},{"a":35387,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"scroll_pending"},{"a":35389,"t":"code","b":[96],"m":"rts"},{"a":35390,"l":"apply_motion_and_view","c":"Moves the world position $20/$21 (X) and $22/$23 (Y) by $CB/$CC (magnitude low 2 bits) where $6F/$70 allow, then derives the view: $24/$25 = X/8, $26/$27 = Y/8 (map char coords), $28/$29 = X-$1E, $2A/$2B = Y+$E2, $2C/$2D = Y+$CD (sprite clipping bases for $81DA). $8A90 is the entry that only recomputes the view (from $94DA).","t":"code","b":[165,111],"m":"lda","oa":111,"o":"scroll_block_x","x":[41376,41832,51975,64712]},{"a":35392,"t":"code","b":[48,37],"m":"bmi","oa":35431,"o":"b_8A67"},{"a":35394,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":35396,"t":"code","b":[16,20],"m":"bpl","oa":35418,"o":"b_8A5A"},{"a":35398,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":35400,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":35402,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo"},{"a":35404,"t":"code","b":[56],"m":"sec"},{"a":35405,"t":"code","b":[229,90],"m":"sbc","oa":90,"o":"tmp_ptr_a"},{"a":35407,"t":"code","b":[133,32],"m":"sta","oa":32,"o":"camera_x_lo"},{"a":35409,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi"},{"a":35411,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":35413,"t":"code","b":[133,33],"m":"sta","oa":33,"o":"camera_x_hi"},{"a":35415,"t":"code","b":[76,103,138],"m":"jmp","oa":35431,"o":"b_8A67"},{"a":35418,"l":"b_8A5A","t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo","x":[35396]},{"a":35420,"t":"code","b":[24],"m":"clc"},{"a":35421,"t":"code","b":[101,203],"m":"adc","oa":203,"o":"move_x"},{"a":35423,"t":"code","b":[133,32],"m":"sta","oa":32,"o":"camera_x_lo"},{"a":35425,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi"},{"a":35427,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":35429,"t":"code","b":[133,33],"m":"sta","oa":33,"o":"camera_x_hi"},{"a":35431,"l":"b_8A67","t":"code","b":[165,112],"m":"lda","oa":112,"o":"scroll_block_y","x":[35392,35415]},{"a":35433,"t":"code","b":[48,37],"m":"bmi","oa":35472,"o":"b_8A90"},{"a":35435,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":35437,"t":"code","b":[48,16],"m":"bmi","oa":35455,"o":"b_8A7F"},{"a":35439,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":35441,"t":"code","b":[24],"m":"clc"},{"a":35442,"t":"code","b":[101,204],"m":"adc","oa":204,"o":"move_y"},{"a":35444,"t":"code","b":[133,34],"m":"sta","oa":34,"o":"camera_y_lo"},{"a":35446,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":35448,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":35450,"t":"code","b":[133,35],"m":"sta","oa":35,"o":"camera_y_hi"},{"a":35452,"t":"code","b":[76,144,138],"m":"jmp","oa":35472,"o":"b_8A90"},{"a":35455,"l":"b_8A7F","t":"code","b":[41,3],"m":"and","o":"#$03","x":[35437]},{"a":35457,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":35459,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":35461,"t":"code","b":[56],"m":"sec"},{"a":35462,"t":"code","b":[229,90],"m":"sbc","oa":90,"o":"tmp_ptr_a"},{"a":35464,"t":"code","b":[133,34],"m":"sta","oa":34,"o":"camera_y_lo"},{"a":35466,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":35468,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":35470,"t":"code","b":[133,35],"m":"sta","oa":35,"o":"camera_y_hi"},{"a":35472,"l":"b_8A90","t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi","x":[35433,35452,38106]},{"a":35474,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":35476,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo"},{"a":35478,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":35480,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35481,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":35483,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35484,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":35486,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35487,"t":"code","b":[133,36],"m":"sta","oa":36,"o":"camera_col_lo"},{"a":35489,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":35491,"t":"code","b":[133,37],"m":"sta","oa":37,"o":"camera_col_hi"},{"a":35493,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":35495,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":35497,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":35499,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":35501,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35502,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":35504,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35505,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":35507,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35508,"t":"code","b":[133,38],"m":"sta","oa":38,"o":"camera_row_lo"},{"a":35510,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":35512,"t":"code","b":[133,39],"m":"sta","oa":39,"o":"camera_row_hi"},{"a":35514,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo"},{"a":35516,"t":"code","b":[56],"m":"sec"},{"a":35517,"t":"code","b":[233,30],"m":"sbc","o":"#$1E"},{"a":35519,"t":"code","b":[133,40],"m":"sta","oa":40,"o":"sprite_origin_x_lo"},{"a":35521,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi"},{"a":35523,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":35525,"t":"code","b":[133,41],"m":"sta","oa":41,"o":"sprite_origin_x_hi"},{"a":35527,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":35529,"t":"code","b":[24],"m":"clc"},{"a":35530,"t":"code","b":[105,226],"m":"adc","o":"#$E2"},{"a":35532,"t":"code","b":[133,42],"m":"sta","oa":42,"o":"sprite_origin_y_lo"},{"a":35534,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":35536,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":35538,"t":"code","b":[133,43],"m":"sta","oa":43,"o":"sprite_origin_y_hi"},{"a":35540,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":35542,"t":"code","b":[24],"m":"clc"},{"a":35543,"t":"code","b":[105,205],"m":"adc","o":"#$CD"},{"a":35545,"t":"code","b":[133,44],"m":"sta","oa":44,"o":"sprite_origin_y2_lo"},{"a":35547,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":35549,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":35551,"t":"code","b":[133,45],"m":"sta","oa":45,"o":"sprite_origin_y2_hi"},{"a":35553,"t":"code","b":[96],"m":"rts"},{"a":35554,"l":"scroll1_src_lo","c":"Coarse scroll phase 1: table set indexed by $73 = direction $72 + 8 when $52 = 0. $8AE2 = source low, $8AF2 source high, $8B02 dest low, $8B12 dest high, $8B22 start Y for the page copy at $8E77.","t":"byte","b":[128,128,128,88,128,88,128,88],"x":[35950]},{"a":35562,"t":"byte","b":[128,128,128,88,128,88,128,88]},{"a":35570,"l":"scroll1_src_hi","c":"Coarse scroll phase 1 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll1_src_hi.","t":"byte","b":[120,120,120,120,120,120,120,120],"x":[35956]},{"a":35578,"t":"byte","b":[124,124,124,124,124,124,124,124]},{"a":35586,"l":"scroll1_dst_lo","c":"Coarse scroll phase 1 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll1_dst_lo.","t":"byte","b":[127,129,88,128,87,129,89,127],"x":[35938]},{"a":35594,"t":"byte","b":[127,129,88,128,87,129,89,127]},{"a":35602,"l":"scroll1_dst_hi","c":"Coarse scroll phase 1 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll1_dst_hi.","t":"byte","b":[124,124,124,124,124,124,124,124],"x":[35944]},{"a":35610,"t":"byte","b":[120,120,120,120,120,120,120,120]},{"a":35618,"l":"scroll1_start_y","c":"Coarse scroll phase 1 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll1_start_y.","t":"byte","b":[32,32,72,72,72,72,72,72],"x":[35935]},{"a":35626,"t":"byte","b":[32,32,72,72,72,72,72,72]},{"a":35634,"l":"scroll2_src_lo","c":"Coarse scroll phase 2 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll2_src_lo.","t":"byte","b":[232,232,232,192,232,192,232,192],"x":[36039]},{"a":35642,"t":"byte","b":[232,232,232,192,232,192,232,192]},{"a":35650,"l":"scroll2_src_hi","c":"Coarse scroll phase 2 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll2_src_hi.","t":"byte","b":[121,121,121,121,121,121,121,121],"x":[36045]},{"a":35658,"t":"byte","b":[125,125,125,125,125,125,125,125]},{"a":35666,"l":"scroll2_dst_lo","c":"Coarse scroll phase 2 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll2_dst_lo.","t":"byte","b":[231,233,192,232,191,233,193,231],"x":[36027]},{"a":35674,"t":"byte","b":[231,233,192,232,191,233,193,231]},{"a":35682,"l":"scroll2_dst_hi","c":"Coarse scroll phase 2 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll2_dst_hi.","t":"byte","b":[125,125,125,125,125,125,125,125],"x":[36033]},{"a":35690,"t":"byte","b":[121,121,121,121,121,121,121,121]},{"a":35698,"l":"scroll2_start_y","c":"Coarse scroll phase 2 (page copy $8E77): 16 entries by $73 (direction + 8*buffer), field scroll2_start_y.","t":"byte","b":[152,152,152,152,152,152,152,152],"x":[36024]},{"a":35706,"t":"byte","b":[152,152,152,152,152,152,152,152]},{"a":35714,"l":"newrow_dst_lo","c":"Phase 1 new-row draw ($8D6C): 16 entries by $73 (direction + 8*buffer), field newrow_dst_lo.","t":"byte","b":[160,160,160,192,160,192,160,192],"x":[36003]},{"a":35722,"t":"byte","b":[160,160,160,192,160,192,160,192]},{"a":35730,"l":"newrow_dst_hi","c":"Phase 1 new-row draw ($8D6C): 16 entries by $73 (direction + 8*buffer), field newrow_dst_hi.","t":"byte","b":[120,120,120,123,120,123,120,123],"x":[36009]},{"a":35738,"t":"byte","b":[124,124,124,127,124,127,124,127]},{"a":35746,"l":"newrow_dx_lo","c":"Phase 1 new-row draw ($8D6C): 16 entries by $73 (direction + 8*buffer), field newrow_dx_lo.","t":"byte","b":[248,8,0,0,248,8,8,248],"x":[35976]},{"a":35754,"t":"byte","b":[248,8,0,0,248,8,8,248]},{"a":35762,"l":"newrow_dx_hi","c":"Phase 1 new-row draw ($8D6C): 16 entries by $73 (direction + 8*buffer), field newrow_dx_hi.","t":"byte","b":[255,0,0,0,255,0,0,255],"x":[35983]},{"a":35770,"t":"byte","b":[255,0,0,0,255,0,0,255]},{"a":35778,"l":"newrow_dy_lo","c":"Phase 1 new-row draw ($8D6C): 16 entries by $73 (direction + 8*buffer), field newrow_dy_lo.","t":"byte","b":[160,160,168,248,168,248,168,248],"x":[35991]},{"a":35786,"t":"byte","b":[160,160,168,248,168,248,168,248]},{"a":35794,"l":"newrow_dy_hi","c":"Phase 1 new-row draw ($8D6C): 16 entries by $73 (direction + 8*buffer), field newrow_dy_hi.","t":"byte","b":[0,0,0,255,0,255,0,255],"x":[35998]},{"a":35802,"t":"byte","b":[0,0,0,255,0,255,0,255]},{"a":35810,"l":"newcol_dst_lo","c":"Phase 2 new-column draw ($8DEE): 16 entries by $73 (direction + 8*buffer), field newcol_dst_lo.","t":"byte","b":[160,199,160,160,160,199,199,160],"x":[36085]},{"a":35818,"t":"byte","b":[160,199,160,160,160,199,199,160]},{"a":35826,"l":"newcol_dst_hi","c":"Phase 2 new-column draw ($8DEE): 16 entries by $73 (direction + 8*buffer), field newcol_dst_hi.","t":"byte","b":[120,120,120,120,120,120,120,120],"x":[36091]},{"a":35834,"t":"byte","b":[124,124,124,124,124,124,124,124]},{"a":35842,"l":"newcol_dx_lo","c":"Phase 2 new-column draw ($8DEE): 16 entries by $73 (direction + 8*buffer), field newcol_dx_lo.","t":"byte","b":[248,64,0,0,248,64,64,248],"x":[36059]},{"a":35850,"t":"byte","b":[248,64,0,0,248,64,64,248]},{"a":35858,"l":"newcol_dx_hi","c":"Phase 2 new-column draw ($8DEE): 16 entries by $73 (direction + 8*buffer), field newcol_dx_hi.","t":"byte","b":[255,1,0,0,255,1,1,255],"x":[36066]},{"a":35866,"t":"byte","b":[255,1,0,0,255,1,1,255]},{"a":35874,"l":"newcol_dy_lo","c":"Phase 2 new-column draw ($8DEE): 16 entries by $73 (direction + 8*buffer), field newcol_dy_lo.","t":"byte","b":[160,160,168,152,168,152,168,152],"x":[36074]},{"a":35882,"t":"byte","b":[160,160,168,152,168,152,168,152]},{"a":35890,"l":"coarse_scroll_step","c":"Main-loop step: advances the coarse scroll of the play area over several frames. $74 = 0: colour the lower screen half ($8D39). $71 negative: JMP $ABCF. Else phase $6E via self-modified branch: 0 -> copy the shown screen shifted into the back buffer (first part) and draw the new map row; 2 -> second part and new column ($8DEE); 4 -> $8D07 colour upper half and flip buffers.","t":"code","b":[165,116],"m":"lda","oa":116,"o":"scroll_copy_flag","x":[29879,64770]},{"a":35892,"t":"code","b":[208,3],"m":"bne","oa":35897,"o":"b_8C39"},{"a":35894,"t":"code","b":[76,57,141],"m":"jmp","oa":36153,"o":"colour_bottom_half"},{"a":35897,"l":"b_8C39","t":"code","b":[165,113],"m":"lda","oa":113,"o":"scroll_pending","x":[35892]},{"a":35899,"t":"code","b":[16,4],"m":"bpl","oa":35905,"o":"b_8C41"},{"a":35901,"t":"code","b":[76,207,171],"m":"jmp","oa":43983,"o":"zone_graphics"},{"a":35904,"l":"r_8C40","t":"code","b":[96],"m":"rts","x":[35969]},{"a":35905,"l":"b_8C41","t":"code","b":[165,110],"m":"lda","oa":110,"o":"scroll_stage","x":[35899]},{"a":35907,"t":"code","b":[141,71,140],"m":"sta","oa":35911,"o":"patch_scroll_phase"},{"a":35910,"l":"b_8C46","t":"code","b":[16,254],"m":"bpl","oa":35910,"o":"b_8C46","x":[35910]},{"a":35911,"t":"note","l":"patch_scroll_phase","c":"Self-modified offset of BPL $8C46 = coarse-scroll phase $6E (0, 2 or 4) selecting the step of $8C32.","note":"inside the item at $8C46","x":[35907]},{"a":35912,"t":"code","b":[16,5],"m":"bpl","oa":35919,"o":"b_8C4F"},{"a":35914,"t":"code","b":[16,102],"m":"bpl","oa":36018,"o":"b_8CB2"},{"a":35916,"t":"code","b":[76,7,141],"m":"jmp","oa":36103,"o":"flip_buffer_colour_top"},{"a":35919,"l":"b_8C4F","t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction","x":[35912]},{"a":35921,"t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer"},{"a":35923,"t":"code","b":[208,3],"m":"bne","oa":35928,"o":"b_8C58"},{"a":35925,"t":"code","b":[24],"m":"clc"},{"a":35926,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":35928,"l":"b_8C58","t":"code","b":[133,115],"m":"sta","oa":115,"o":"scroll_table_index","x":[35923]},{"a":35930,"t":"code","b":[170],"m":"tax"},{"a":35931,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":35933,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":35935,"t":"code","b":[188,34,139],"m":"ldy","oa":35618,"o":"scroll1_start_y,x"},{"a":35938,"t":"code","b":[189,2,139],"m":"lda","oa":35586,"o":"scroll1_dst_lo,x"},{"a":35941,"t":"code","b":[141,124,142],"m":"sta","oa":36476,"o":"patch_copysrc_lo"},{"a":35944,"t":"code","b":[189,18,139],"m":"lda","oa":35602,"o":"scroll1_dst_hi,x"},{"a":35947,"t":"code","b":[141,125,142],"m":"sta","oa":36477,"o":"patch_copysrc_hi"},{"a":35950,"t":"code","b":[189,226,138],"m":"lda","oa":35554,"o":"scroll1_src_lo,x"},{"a":35953,"t":"code","b":[141,127,142],"m":"sta","oa":36479,"o":"patch_copydst_lo"},{"a":35956,"t":"code","b":[189,242,138],"m":"lda","oa":35570,"o":"scroll1_src_hi,x"},{"a":35959,"t":"code","b":[141,128,142],"m":"sta","oa":36480,"o":"patch_copydst_hi"},{"a":35962,"t":"code","b":[32,119,142],"m":"jsr","oa":36471,"o":"copy_screen_pages"},{"a":35965,"t":"code","b":[165,114],"m":"lda","oa":114,"o":"scroll_direction"},{"a":35967,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":35969,"t":"code","b":[48,189],"m":"bmi","oa":35904,"o":"r_8C40"},{"a":35971,"t":"code","b":[166,115],"m":"ldx","oa":115,"o":"scroll_table_index"},{"a":35973,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo"},{"a":35975,"t":"code","b":[24],"m":"clc"},{"a":35976,"t":"code","b":[125,162,139],"m":"adc","oa":35746,"o":"newrow_dx_lo,x"},{"a":35979,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":35981,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi"},{"a":35983,"t":"code","b":[125,178,139],"m":"adc","oa":35762,"o":"newrow_dx_hi,x"},{"a":35986,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":35988,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":35990,"t":"code","b":[24],"m":"clc"},{"a":35991,"t":"code","b":[125,194,139],"m":"adc","oa":35778,"o":"newrow_dy_lo,x"},{"a":35994,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":35996,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":35998,"t":"code","b":[125,210,139],"m":"adc","oa":35794,"o":"newrow_dy_hi,x"},{"a":36001,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":36003,"t":"code","b":[189,130,139],"m":"lda","oa":35714,"o":"newrow_dst_lo,x"},{"a":36006,"t":"code","b":[141,200,141],"m":"sta","oa":36296,"o":"patch_rowdst_lo"},{"a":36009,"t":"code","b":[189,146,139],"m":"lda","oa":35730,"o":"newrow_dst_hi,x"},{"a":36012,"t":"code","b":[141,201,141],"m":"sta","oa":36297,"o":"patch_rowdst_hi"},{"a":36015,"t":"code","b":[76,108,141],"m":"jmp","oa":36204,"o":"draw_map_row"},{"a":36018,"l":"b_8CB2","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[35914]},{"a":36020,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":36022,"t":"code","b":[166,115],"m":"ldx","oa":115,"o":"scroll_table_index"},{"a":36024,"t":"code","b":[188,114,139],"m":"ldy","oa":35698,"o":"scroll2_start_y,x"},{"a":36027,"t":"code","b":[189,82,139],"m":"lda","oa":35666,"o":"scroll2_dst_lo,x"},{"a":36030,"t":"code","b":[141,124,142],"m":"sta","oa":36476,"o":"patch_copysrc_lo"},{"a":36033,"t":"code","b":[189,98,139],"m":"lda","oa":35682,"o":"scroll2_dst_hi,x"},{"a":36036,"t":"code","b":[141,125,142],"m":"sta","oa":36477,"o":"patch_copysrc_hi"},{"a":36039,"t":"code","b":[189,50,139],"m":"lda","oa":35634,"o":"scroll2_src_lo,x"},{"a":36042,"t":"code","b":[141,127,142],"m":"sta","oa":36479,"o":"patch_copydst_lo"},{"a":36045,"t":"code","b":[189,66,139],"m":"lda","oa":35650,"o":"scroll2_src_hi,x"},{"a":36048,"t":"code","b":[141,128,142],"m":"sta","oa":36480,"o":"patch_copydst_hi"},{"a":36051,"t":"code","b":[32,119,142],"m":"jsr","oa":36471,"o":"copy_screen_pages"},{"a":36054,"t":"code","b":[166,115],"m":"ldx","oa":115,"o":"scroll_table_index"},{"a":36056,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo"},{"a":36058,"t":"code","b":[24],"m":"clc"},{"a":36059,"t":"code","b":[125,2,140],"m":"adc","oa":35842,"o":"newcol_dx_lo,x"},{"a":36062,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":36064,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi"},{"a":36066,"t":"code","b":[125,18,140],"m":"adc","oa":35858,"o":"newcol_dx_hi,x"},{"a":36069,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":36071,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":36073,"t":"code","b":[24],"m":"clc"},{"a":36074,"t":"code","b":[125,34,140],"m":"adc","oa":35874,"o":"newcol_dy_lo,x"},{"a":36077,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":36079,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":36081,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":36083,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":36085,"t":"code","b":[189,226,139],"m":"lda","oa":35810,"o":"newcol_dst_lo,x"},{"a":36088,"t":"code","b":[141,71,142],"m":"sta","oa":36423,"o":"patch_coldst_lo"},{"a":36091,"t":"code","b":[189,242,139],"m":"lda","oa":35826,"o":"newcol_dst_hi,x"},{"a":36094,"t":"code","b":[141,72,142],"m":"sta","oa":36424,"o":"patch_coldst_hi"},{"a":36097,"t":"code","b":[32,238,141],"m":"jsr","oa":36334,"o":"draw_map_column"},{"a":36100,"t":"code","b":[96],"m":"rts"},{"a":36101,"l":"colour_src_hi_top","c":"Screen high byte ($7C/$78) for the top-half colour pass, by $52 (the buffer about to be shown).","t":"byte","b":[124,120],"x":[36128]},{"a":36103,"l":"flip_buffer_colour_top","c":"Waits for raster >= $5A (signed compare, BMI), colours $D8A0-$DA2F from the new screen through the char->colour table $2F00, then flips $52 (displayed buffer) and sets $74 = 0.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35916,36112,36638]},{"a":36105,"t":"code","b":[133,116],"m":"sta","oa":116,"o":"scroll_copy_flag"},{"a":36107,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":36110,"t":"code","b":[201,90],"m":"cmp","o":"#$5A"},{"a":36112,"t":"code","b":[48,245],"m":"bmi","oa":36103,"o":"flip_buffer_colour_top"},{"a":36114,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":36116,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":36118,"t":"code","b":[166,82],"m":"ldx","oa":82,"o":"screen_buffer"},{"a":36120,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":36122,"t":"code","b":[141,185,142],"m":"sta","oa":36537,"o":"patch_colsrc_screen_lo"},{"a":36125,"t":"code","b":[141,191,142],"m":"sta","oa":36543,"o":"patch_colour_ram_lo"},{"a":36128,"t":"code","b":[189,5,141],"m":"lda","oa":36101,"o":"colour_src_hi_top,x"},{"a":36131,"t":"code","b":[141,186,142],"m":"sta","oa":36538,"o":"patch_colsrc_screen_hi"},{"a":36134,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":36136,"t":"code","b":[141,192,142],"m":"sta","oa":36544,"o":"patch_colour_ram_hi"},{"a":36139,"t":"code","b":[162,112],"m":"ldx","o":"#$70"},{"a":36141,"t":"code","b":[32,184,142],"m":"jsr","oa":36536,"o":"colour_from_chars"},{"a":36144,"t":"code","b":[165,82],"m":"lda","oa":82,"o":"screen_buffer"},{"a":36146,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":36148,"t":"code","b":[133,82],"m":"sta","oa":82,"o":"screen_buffer"},{"a":36150,"t":"code","b":[96],"m":"rts"},{"a":36151,"l":"colour_src_hi_bottom","c":"Screen high byte ($7A/$7E) for the bottom-half colour pass, by $52.","t":"byte","b":[122,126],"x":[36177]},{"a":36153,"l":"colour_bottom_half","c":"Colours $DA30-$DBFF from the shown screen through $2F00; sets $71 = $74 = $FF, $6E = 0.","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[35894,36641]},{"a":36155,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"scroll_pending"},{"a":36157,"t":"code","b":[133,116],"m":"sta","oa":116,"o":"scroll_copy_flag"},{"a":36159,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":36161,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":36163,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":36165,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":36167,"t":"code","b":[166,82],"m":"ldx","oa":82,"o":"screen_buffer"},{"a":36169,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":36171,"t":"code","b":[141,185,142],"m":"sta","oa":36537,"o":"patch_colsrc_screen_lo"},{"a":36174,"t":"code","b":[141,191,142],"m":"sta","oa":36543,"o":"patch_colour_ram_lo"},{"a":36177,"t":"code","b":[189,55,141],"m":"lda","oa":36151,"o":"colour_src_hi_bottom,x"},{"a":36180,"t":"code","b":[141,186,142],"m":"sta","oa":36538,"o":"patch_colsrc_screen_hi"},{"a":36183,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":36185,"t":"code","b":[141,192,142],"m":"sta","oa":36544,"o":"patch_colour_ram_hi"},{"a":36188,"t":"code","b":[162,48],"m":"ldx","o":"#$30"},{"a":36190,"t":"code","b":[76,184,142],"m":"jmp","oa":36536,"o":"colour_from_chars"},{"a":36193,"l":"tile_row_buffer","c":"11 tile numbers fetched from the map for the row or column being drawn ($8D6C, $8DEE).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[36235,36269,36308,36362,36398,36450]},{"a":36201,"t":"byte","b":[0,0,0]},{"a":36204,"l":"draw_map_row","c":"Draws one 40-char screen row at the patched destination $8DC8/$8DC9 from the map position $60-$63: fetches 11 tile numbers from the map row ($0A80/$0AC0 row pointers), then copies chars right to left out of each tile's 4x4 block ($1400/$1500).","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[36015,36596]},{"a":36206,"t":"code","b":[41,24],"m":"and","o":"#$18"},{"a":36208,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36209,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":36211,"t":"code","b":[32,143,142],"m":"jsr","oa":36495,"o":"map_pos_to_tile"},{"a":36214,"t":"code","b":[138],"m":"txa"},{"a":36215,"t":"code","b":[24],"m":"clc"},{"a":36216,"t":"code","b":[121,128,10],"m":"adc","oa":2688,"o":"map_row_lo,y"},{"a":36219,"t":"code","b":[141,137,141],"m":"sta","oa":36233,"o":"patch_rowtiles_lo"},{"a":36222,"t":"code","b":[185,192,10],"m":"lda","oa":2752,"o":"map_row_hi,y"},{"a":36225,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":36227,"t":"code","b":[141,138,141],"m":"sta","oa":36234,"o":"patch_rowtiles_hi"},{"a":36230,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":36232,"l":"b_8D88","t":"code","b":[189,0,255],"m":"lda","oa":65280,"o":"a_FF00,x","x":[36241]},{"a":36233,"t":"note","l":"patch_rowtiles_lo","c":"Self-modified: low byte of the map row address + tile X for the 11-tile fetch at $8D88.","note":"inside the item at $8D88","x":[36219]},{"a":36234,"t":"note","l":"patch_rowtiles_hi","c":"Self-modified: high byte of that map row address.","note":"inside the item at $8D88","x":[36227]},{"a":36235,"t":"code","b":[157,97,141],"m":"sta","oa":36193,"o":"tile_row_buffer,x"},{"a":36238,"t":"code","b":[232],"m":"inx"},{"a":36239,"t":"code","b":[224,11],"m":"cpx","o":"#$0B"},{"a":36241,"t":"code","b":[208,245],"m":"bne","oa":36232,"o":"b_8D88"},{"a":36243,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":36245,"t":"code","b":[41,24],"m":"and","o":"#$18"},{"a":36247,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36248,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36249,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36250,"t":"code","b":[168],"m":"tay"},{"a":36251,"t":"code","b":[240,4],"m":"beq","oa":36257,"o":"b_8DA1"},{"a":36253,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":36255,"t":"code","b":[16,2],"m":"bpl","oa":36259,"o":"b_8DA3"},{"a":36257,"l":"b_8DA1","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[36251]},{"a":36259,"l":"b_8DA3","t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a","x":[36255]},{"a":36261,"t":"code","b":[152],"m":"tya"},{"a":36262,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":36264,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":36266,"t":"code","b":[168],"m":"tay"},{"a":36267,"t":"code","b":[166,90],"m":"ldx","oa":90,"o":"tmp_ptr_a"},{"a":36269,"t":"code","b":[189,97,141],"m":"lda","oa":36193,"o":"tile_row_buffer,x"},{"a":36272,"t":"code","b":[170],"m":"tax"},{"a":36273,"t":"code","b":[189,0,20],"m":"lda","oa":5120,"o":"block_ptr_lo,x"},{"a":36276,"t":"code","b":[24],"m":"clc"},{"a":36277,"t":"code","b":[101,92],"m":"adc","oa":92,"o":"tmp_ptr_b"},{"a":36279,"t":"code","b":[141,197,141],"m":"sta","oa":36293,"o":"patch_rowsrc_lo"},{"a":36282,"t":"code","b":[189,0,21],"m":"lda","oa":5376,"o":"block_ptr_hi,x"},{"a":36285,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":36287,"t":"code","b":[141,198,141],"m":"sta","oa":36294,"o":"patch_rowsrc_hi"},{"a":36290,"t":"code","b":[162,39],"m":"ldx","o":"#$27"},{"a":36292,"l":"b_8DC4","t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y","x":[36302,36331]},{"a":36293,"t":"note","l":"patch_rowsrc_lo","c":"Self-modified: low byte of the current tile's char row read at $8DC4.","note":"inside the item at $8DC4","x":[36279,36318]},{"a":36294,"t":"note","l":"patch_rowsrc_hi","c":"Self-modified: high byte of the current tile's char row.","note":"inside the item at $8DC4","x":[36287,36326]},{"a":36295,"t":"code","b":[157,0,255],"m":"sta","oa":65280,"o":"a_FF00,x"},{"a":36296,"t":"note","l":"patch_rowdst_lo","c":"Self-modified: low byte of the screen row written at $8DC7 (set by $8CA6, $8EEC).","note":"inside the item at $8DC7","x":[36006,36588,36612,36618]},{"a":36297,"t":"note","l":"patch_rowdst_hi","c":"Self-modified: high byte of the screen row written at $8DC7.","note":"inside the item at $8DC7","x":[36012,36593,36621,36626]},{"a":36298,"t":"code","b":[202],"m":"dex"},{"a":36299,"t":"code","b":[48,32],"m":"bmi","oa":36333,"o":"r_8DED"},{"a":36301,"t":"code","b":[136],"m":"dey"},{"a":36302,"t":"code","b":[16,244],"m":"bpl","oa":36292,"o":"b_8DC4"},{"a":36304,"t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a"},{"a":36306,"t":"code","b":[164,90],"m":"ldy","oa":90,"o":"tmp_ptr_a"},{"a":36308,"t":"code","b":[185,97,141],"m":"lda","oa":36193,"o":"tile_row_buffer,y"},{"a":36311,"t":"code","b":[168],"m":"tay"},{"a":36312,"t":"code","b":[185,0,20],"m":"lda","oa":5120,"o":"block_ptr_lo,y"},{"a":36315,"t":"code","b":[24],"m":"clc"},{"a":36316,"t":"code","b":[101,92],"m":"adc","oa":92,"o":"tmp_ptr_b"},{"a":36318,"t":"code","b":[141,197,141],"m":"sta","oa":36293,"o":"patch_rowsrc_lo"},{"a":36321,"t":"code","b":[185,0,21],"m":"lda","oa":5376,"o":"block_ptr_hi,y"},{"a":36324,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":36326,"t":"code","b":[141,198,141],"m":"sta","oa":36294,"o":"patch_rowsrc_hi"},{"a":36329,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":36331,"t":"code","b":[208,215],"m":"bne","oa":36292,"o":"b_8DC4"},{"a":36333,"l":"r_8DED","t":"code","b":[96],"m":"rts","x":[36299]},{"a":36334,"l":"draw_map_column","c":"Draws one 21-char screen column at the patched destination $8E47/$8E48 from the map position $60-$63, fetching 6 tiles down the map.","t":"code","b":[32,143,142],"m":"jsr","oa":36495,"o":"map_pos_to_tile","x":[36097]},{"a":36337,"t":"code","b":[132,90],"m":"sty","oa":90,"o":"tmp_ptr_a"},{"a":36339,"t":"code","b":[134,91],"m":"stx","oa":91,"o":"tmp_ptr_a_hi"},{"a":36341,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":36343,"l":"b_8DF7","t":"code","b":[166,90],"m":"ldx","oa":90,"o":"tmp_ptr_a","x":[36370]},{"a":36345,"t":"code","b":[189,128,10],"m":"lda","oa":2688,"o":"map_row_lo,x"},{"a":36348,"t":"code","b":[141,8,142],"m":"sta","oa":36360,"o":"patch_coltiles_lo"},{"a":36351,"t":"code","b":[189,192,10],"m":"lda","oa":2752,"o":"map_row_hi,x"},{"a":36354,"t":"code","b":[141,9,142],"m":"sta","oa":36361,"o":"patch_coltiles_hi"},{"a":36357,"t":"code","b":[166,91],"m":"ldx","oa":91,"o":"tmp_ptr_a_hi"},{"a":36359,"t":"code","b":[189,0,255],"m":"lda","oa":65280,"o":"a_FF00,x"},{"a":36360,"t":"note","l":"patch_coltiles_lo","c":"Self-modified: low byte of the map row address for the column fetch at $8E07.","note":"inside the item at $8E07","x":[36348]},{"a":36361,"t":"note","l":"patch_coltiles_hi","c":"Self-modified: high byte of the map row address for the column fetch.","note":"inside the item at $8E07","x":[36354]},{"a":36362,"t":"code","b":[153,97,141],"m":"sta","oa":36193,"o":"tile_row_buffer,y"},{"a":36365,"t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a"},{"a":36367,"t":"code","b":[200],"m":"iny"},{"a":36368,"t":"code","b":[192,6],"m":"cpy","o":"#$06"},{"a":36370,"t":"code","b":[208,227],"m":"bne","oa":36343,"o":"b_8DF7"},{"a":36372,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":36374,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":36376,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":36378,"t":"code","b":[41,24],"m":"and","o":"#$18"},{"a":36380,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36381,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36382,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36383,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":36385,"t":"code","b":[24],"m":"clc"},{"a":36386,"t":"code","b":[105,12],"m":"adc","o":"#$0C"},{"a":36388,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":36390,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":36392,"t":"code","b":[41,24],"m":"and","o":"#$18"},{"a":36394,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36395,"t":"code","b":[101,93],"m":"adc","oa":93,"o":"tmp_ptr_b_hi"},{"a":36397,"t":"code","b":[168],"m":"tay"},{"a":36398,"t":"code","b":[174,97,141],"m":"ldx","oa":36193,"o":"tile_row_buffer"},{"a":36401,"t":"code","b":[189,0,20],"m":"lda","oa":5120,"o":"block_ptr_lo,x"},{"a":36404,"t":"code","b":[141,68,142],"m":"sta","oa":36420,"o":"patch_colsrc_lo"},{"a":36407,"t":"code","b":[189,0,21],"m":"lda","oa":5376,"o":"block_ptr_hi,x"},{"a":36410,"t":"code","b":[141,69,142],"m":"sta","oa":36421,"o":"patch_colsrc_hi"},{"a":36413,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":36415,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":36417,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":36419,"l":"b_8E43","t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y","x":[36444,36468]},{"a":36420,"t":"note","l":"patch_colsrc_lo","c":"Self-modified: low byte of the current tile's char column read at $8E43.","note":"inside the item at $8E43","x":[36404,36457]},{"a":36421,"t":"note","l":"patch_colsrc_hi","c":"Self-modified: high byte of the tile char block for the column.","note":"inside the item at $8E43","x":[36410,36463]},{"a":36422,"t":"code","b":[157,0,255],"m":"sta","oa":65280,"o":"a_FF00,x"},{"a":36423,"t":"note","l":"patch_coldst_lo","c":"Self-modified: low byte of the screen column written at $8E46 (from $8BE2).","note":"inside the item at $8E46","x":[36088]},{"a":36424,"t":"note","l":"patch_coldst_hi","c":"Self-modified: high byte of the screen column, incremented as the column crosses a page.","note":"inside the item at $8E46","x":[36094,36436]},{"a":36425,"t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a"},{"a":36427,"t":"code","b":[48,41],"m":"bmi","oa":36470,"o":"r_8E76"},{"a":36429,"t":"code","b":[138],"m":"txa"},{"a":36430,"t":"code","b":[24],"m":"clc"},{"a":36431,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":36433,"t":"code","b":[170],"m":"tax"},{"a":36434,"t":"code","b":[144,3],"m":"bcc","oa":36439,"o":"b_8E57"},{"a":36436,"t":"code","b":[238,72,142],"m":"inc","oa":36424,"o":"patch_coldst_hi"},{"a":36439,"l":"b_8E57","t":"code","b":[152],"m":"tya","x":[36434]},{"a":36440,"t":"code","b":[56],"m":"sec"},{"a":36441,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":36443,"t":"code","b":[168],"m":"tay"},{"a":36444,"t":"code","b":[16,229],"m":"bpl","oa":36419,"o":"b_8E43"},{"a":36446,"t":"code","b":[230,91],"m":"inc","oa":91,"o":"tmp_ptr_a_hi"},{"a":36448,"t":"code","b":[164,91],"m":"ldy","oa":91,"o":"tmp_ptr_a_hi"},{"a":36450,"t":"code","b":[185,97,141],"m":"lda","oa":36193,"o":"tile_row_buffer,y"},{"a":36453,"t":"code","b":[168],"m":"tay"},{"a":36454,"t":"code","b":[185,0,20],"m":"lda","oa":5120,"o":"block_ptr_lo,y"},{"a":36457,"t":"code","b":[141,68,142],"m":"sta","oa":36420,"o":"patch_colsrc_lo"},{"a":36460,"t":"code","b":[185,0,21],"m":"lda","oa":5376,"o":"block_ptr_hi,y"},{"a":36463,"t":"code","b":[141,69,142],"m":"sta","oa":36421,"o":"patch_colsrc_hi"},{"a":36466,"t":"code","b":[164,92],"m":"ldy","oa":92,"o":"tmp_ptr_b"},{"a":36468,"t":"code","b":[208,205],"m":"bne","oa":36419,"o":"b_8E43"},{"a":36470,"l":"r_8E76","t":"code","b":[96],"m":"rts","x":[36427]},{"a":36471,"l":"copy_screen_pages","c":"Copies two pages starting at Y with self-modified source $8E7C/$8E7D and destination $8E7F/$8E80: the shifted screen copy of a coarse scroll.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[35962,36051]},{"a":36473,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":36475,"l":"b_8E7B","t":"code","b":[185,0,255],"m":"lda","oa":65280,"o":"a_FF00,y","x":[36482,36492]},{"a":36476,"t":"note","l":"patch_copysrc_lo","c":"Self-modified: low byte of the scroll copy source at $8E7B.","note":"inside the item at $8E7B","x":[35941,36030]},{"a":36477,"t":"note","l":"patch_copysrc_hi","c":"Self-modified: high byte of the scroll copy source, incremented per page.","note":"inside the item at $8E7B","x":[35947,36036,36484]},{"a":36478,"t":"code","b":[153,0,255],"m":"sta","oa":65280,"o":"a_FF00,y"},{"a":36479,"t":"note","l":"patch_copydst_lo","c":"Self-modified: low byte of the scroll copy destination at $8E7E.","note":"inside the item at $8E7E","x":[35953,36042]},{"a":36480,"t":"note","l":"patch_copydst_hi","c":"Self-modified: high byte of the scroll copy destination, incremented per page.","note":"inside the item at $8E7E","x":[35959,36048,36487]},{"a":36481,"t":"code","b":[200],"m":"iny"},{"a":36482,"t":"code","b":[208,247],"m":"bne","oa":36475,"o":"b_8E7B"},{"a":36484,"t":"code","b":[238,125,142],"m":"inc","oa":36477,"o":"patch_copysrc_hi"},{"a":36487,"t":"code","b":[238,128,142],"m":"inc","oa":36480,"o":"patch_copydst_hi"},{"a":36490,"t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a"},{"a":36492,"t":"code","b":[16,237],"m":"bpl","oa":36475,"o":"b_8E7B"},{"a":36494,"t":"code","b":[96],"m":"rts"},{"a":36495,"l":"map_pos_to_tile","c":"Converts the pixel position $60/$61 (X) and $62/$63 (Y) to tile coordinates: X reg = X/32, Y reg = Y/32.","t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi","x":[36211,36334]},{"a":36497,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":36499,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":36501,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36503,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36504,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36506,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36507,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36509,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36510,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36512,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36513,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36514,"t":"code","b":[168],"m":"tay"},{"a":36515,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":36517,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":36519,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":36521,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36523,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36524,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36526,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36527,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36529,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36530,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":36532,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36533,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36534,"t":"code","b":[170],"m":"tax"},{"a":36535,"t":"code","b":[96],"m":"rts"},{"a":36536,"l":"colour_from_chars","c":"Copies screen chars to colour RAM through the table $2F00 (colour per char code); source/dest patched at $8EB9/$8EBA and $8EBF/$8EC0; X start, $5A+1 pages.","t":"code","b":[188,0,255],"m":"ldy","oa":65280,"o":"a_FF00,x","x":[36141,36190,36546,36556]},{"a":36537,"t":"note","l":"patch_colsrc_screen_lo","c":"Self-modified: low byte of the screen read by the colour pass at $8EB8.","note":"inside the item at $8EB8","x":[36122,36171]},{"a":36538,"t":"note","l":"patch_colsrc_screen_hi","c":"Self-modified: high byte of the screen read by the colour pass.","note":"inside the item at $8EB8","x":[36131,36180,36548]},{"a":36539,"t":"code","b":[185,0,47],"m":"lda","oa":12032,"o":"char_colour,y"},{"a":36542,"t":"code","b":[157,0,255],"m":"sta","oa":65280,"o":"a_FF00,x"},{"a":36543,"t":"note","l":"patch_colour_ram_lo","c":"Self-modified: low byte of the colour RAM address written at $8EBE.","note":"inside the item at $8EBE","x":[36125,36174]},{"a":36544,"t":"note","l":"patch_colour_ram_hi","c":"Self-modified: high byte of the colour RAM address ($D8/$DA).","note":"inside the item at $8EBE","x":[36136,36185,36551]},{"a":36545,"t":"code","b":[232],"m":"inx"},{"a":36546,"t":"code","b":[208,244],"m":"bne","oa":36536,"o":"colour_from_chars"},{"a":36548,"t":"code","b":[238,186,142],"m":"inc","oa":36538,"o":"patch_colsrc_screen_hi"},{"a":36551,"t":"code","b":[238,192,142],"m":"inc","oa":36544,"o":"patch_colour_ram_hi"},{"a":36554,"t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a"},{"a":36556,"t":"code","b":[16,234],"m":"bpl","oa":36536,"o":"colour_from_chars"},{"a":36558,"t":"code","b":[96],"m":"rts"},{"a":36559,"l":"redraw_row_count","c":"Row counter for $8ED0 (starts $14: 21 rows).","t":"byte","b":[0],"x":[36562,36629]},{"a":36560,"l":"redraw_play_area","c":"Redraws the whole play area: 21 map rows (screen rows 4-24 of $7800, destination from $78A0 stepping +40) via $8D6C, map Y from $22+$A0 stepping down 8, then both colour passes, displayed buffer $52 = 1 then flipped. Called at start-up $4A42 and from $94EA.","t":"code","b":[169,20],"m":"lda","o":"#$14","x":[19010,38122]},{"a":36562,"t":"code","b":[141,207,142],"m":"sta","oa":36559,"o":"redraw_row_count"},{"a":36565,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo"},{"a":36567,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":36569,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi"},{"a":36571,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":36573,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"camera_y_lo"},{"a":36575,"t":"code","b":[24],"m":"clc"},{"a":36576,"t":"code","b":[105,160],"m":"adc","o":"#$A0"},{"a":36578,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":36580,"t":"code","b":[165,35],"m":"lda","oa":35,"o":"camera_y_hi"},{"a":36582,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":36584,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":36586,"t":"code","b":[169,160],"m":"lda","o":"#$A0"},{"a":36588,"t":"code","b":[141,200,141],"m":"sta","oa":36296,"o":"patch_rowdst_lo"},{"a":36591,"t":"code","b":[169,120],"m":"lda","o":"#$78"},{"a":36593,"t":"code","b":[141,201,141],"m":"sta","oa":36297,"o":"patch_rowdst_hi"},{"a":36596,"l":"b_8EF4","t":"code","b":[32,108,141],"m":"jsr","oa":36204,"o":"draw_map_row","x":[36632]},{"a":36599,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":36601,"t":"code","b":[56],"m":"sec"},{"a":36602,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":36604,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":36606,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":36608,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":36610,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":36612,"t":"code","b":[173,200,141],"m":"lda","oa":36296,"o":"patch_rowdst_lo"},{"a":36615,"t":"code","b":[24],"m":"clc"},{"a":36616,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":36618,"t":"code","b":[141,200,141],"m":"sta","oa":36296,"o":"patch_rowdst_lo"},{"a":36621,"t":"code","b":[173,201,141],"m":"lda","oa":36297,"o":"patch_rowdst_hi"},{"a":36624,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":36626,"t":"code","b":[141,201,141],"m":"sta","oa":36297,"o":"patch_rowdst_hi"},{"a":36629,"t":"code","b":[206,207,142],"m":"dec","oa":36559,"o":"redraw_row_count"},{"a":36632,"t":"code","b":[16,218],"m":"bpl","oa":36596,"o":"b_8EF4"},{"a":36634,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":36636,"t":"code","b":[133,82],"m":"sta","oa":82,"o":"screen_buffer"},{"a":36638,"t":"code","b":[32,7,141],"m":"jsr","oa":36103,"o":"flip_buffer_colour_top"},{"a":36641,"t":"code","b":[76,57,141],"m":"jmp","oa":36153,"o":"colour_bottom_half"},{"a":36644,"l":"read_input","c":"Reads joystick port 2 and the keyboard into flags: $CB horizontal ($81 left: stick or Z; $01 right: stick or X), $CC vertical ($81 down: stick or /; $01 up: stick or ;), copies in $D4/$D5; $CD = $FF for fire or RETURN; D sets $E8 = $80, CTRL+D $C0; tail $9000-$9058 does F-keys, S, R, L. Called from the main loop $7476, $9282, $9509, $B0A5.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[29814,37506,38153,45221]},{"a":36646,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":36648,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":36650,"t":"code","b":[133,213],"m":"sta","oa":213,"o":"stick_y"},{"a":36652,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"stick_x"},{"a":36654,"t":"code","b":[133,205],"m":"sta","oa":205,"o":"fire_pressed"},{"a":36656,"t":"code","b":[133,206],"m":"sta","oa":206,"o":"key_unused"},{"a":36658,"t":"code","b":[133,207],"m":"sta","oa":207,"o":"key_f3"},{"a":36660,"t":"code","b":[133,208],"m":"sta","oa":208,"o":"key_f1"},{"a":36662,"t":"code","b":[133,209],"m":"sta","oa":209,"o":"key_f7"},{"a":36664,"t":"code","b":[133,210],"m":"sta","oa":210,"o":"key_f5"},{"a":36666,"t":"code","b":[133,211],"m":"sta","oa":211,"o":"key_s"},{"a":36668,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":36671,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":36673,"t":"code","b":[208,4],"m":"bne","oa":36679,"o":"b_8F47"},{"a":36675,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":36677,"t":"code","b":[133,205],"m":"sta","oa":205,"o":"fire_pressed"},{"a":36679,"l":"b_8F47","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[36673]},{"a":36682,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":36684,"t":"code","b":[208,9],"m":"bne","oa":36695,"o":"b_8F57"},{"a":36686,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":36688,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":36690,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"stick_x"},{"a":36692,"t":"code","b":[76,100,143],"m":"jmp","oa":36708,"o":"j_8F64"},{"a":36695,"l":"b_8F57","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[36684]},{"a":36698,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":36700,"t":"code","b":[208,6],"m":"bne","oa":36708,"o":"j_8F64"},{"a":36702,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":36704,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":36706,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"stick_x"},{"a":36708,"l":"j_8F64","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[36692,36700]},{"a":36711,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":36713,"t":"code","b":[208,9],"m":"bne","oa":36724,"o":"b_8F74"},{"a":36715,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":36717,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":36719,"t":"code","b":[133,213],"m":"sta","oa":213,"o":"stick_y"},{"a":36721,"t":"code","b":[76,129,143],"m":"jmp","oa":36737,"o":"j_8F81"},{"a":36724,"l":"b_8F74","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[36713]},{"a":36727,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":36729,"t":"code","b":[208,6],"m":"bne","oa":36737,"o":"j_8F81"},{"a":36731,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":36733,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":36735,"t":"code","b":[133,213],"m":"sta","oa":213,"o":"stick_y"},{"a":36737,"l":"j_8F81","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[36721,36729]},{"a":36739,"t":"code","b":[140,2,220],"m":"sty","o":"cia1_ddr_a"},{"a":36742,"t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":36744,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":36747,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":36750,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":36752,"t":"code","b":[169,191],"m":"lda","o":"#$BF"},{"a":36754,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":36757,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":36760,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":36762,"t":"code","b":[169,251],"m":"lda","o":"#$FB"},{"a":36764,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":36767,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":36770,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":36772,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":36774,"t":"code","b":[208,20],"m":"bne","oa":36796,"o":"b_8FBC"},{"a":36776,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":36778,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":36780,"t":"code","b":[169,127],"m":"lda","o":"#$7F"},{"a":36782,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":36785,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":36788,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":36790,"t":"code","b":[208,4],"m":"bne","oa":36796,"o":"b_8FBC"},{"a":36792,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":36794,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":36796,"l":"b_8FBC","t":"code","b":[169,253],"m":"lda","o":"#$FD","x":[36774,36790]},{"a":36798,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":36801,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":36804,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":36806,"t":"code","b":[169,223],"m":"lda","o":"#$DF"},{"a":36808,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":36811,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":36814,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":36816,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":36818,"t":"code","b":[141,2,220],"m":"sta","o":"cia1_ddr_a"},{"a":36821,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":36823,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":36825,"t":"code","b":[208,4],"m":"bne","oa":36831,"o":"b_8FDF"},{"a":36827,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":36829,"t":"code","b":[133,205],"m":"sta","oa":205,"o":"fire_pressed"},{"a":36831,"l":"b_8FDF","t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi","x":[36825]},{"a":36833,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":36835,"t":"code","b":[208,9],"m":"bne","oa":36846,"o":"b_8FEE"},{"a":36837,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":36839,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":36841,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"stick_x"},{"a":36843,"t":"code","b":[76,250,143],"m":"jmp","oa":36858,"o":"j_8FFA"},{"a":36846,"l":"b_8FEE","t":"code","b":[165,92],"m":"lda","oa":92,"o":"tmp_ptr_b","x":[36835]},{"a":36848,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":36850,"t":"code","b":[208,6],"m":"bne","oa":36858,"o":"j_8FFA"},{"a":36852,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":36854,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":36856,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"stick_x"},{"a":36858,"l":"j_8FFA","t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi","x":[36843,36850]},{"a":36860,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":36862,"t":"code","b":[208,9],"m":"bne","oa":36873,"o":"b_9009"},{"a":36864,"l":"input_keys_tail","c":"Tail of the input reader begun at $8F24: stick down/up set $CC/$D5 ($81 down, $01 up); keyboard row byte $5A tested for F1/F3/F5/F7 (Y=$FF stored to $D0/$CF/$D2/$D1), $5D=$DF sets $D3 (S); when $E8 is 0, $5C=$FD sets $E8=$12 and $60=$FB sets $E8=$FF. Ends $9058.","t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":36866,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":36868,"t":"code","b":[133,213],"m":"sta","oa":213,"o":"stick_y"},{"a":36870,"t":"code","b":[76,21,144],"m":"jmp","oa":36885,"o":"j_9015"},{"a":36873,"l":"b_9009","t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi","x":[36862]},{"a":36875,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":36877,"t":"code","b":[208,6],"m":"bne","oa":36885,"o":"j_9015"},{"a":36879,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":36881,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":36883,"t":"code","b":[133,213],"m":"sta","oa":213,"o":"stick_y"},{"a":36885,"l":"j_9015","t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a","x":[36870,36877]},{"a":36887,"t":"code","b":[41,120],"m":"and","o":"#$78"},{"a":36889,"t":"code","b":[201,56],"m":"cmp","o":"#$38"},{"a":36891,"t":"code","b":[240,41],"m":"beq","oa":36934,"o":"b_9046"},{"a":36893,"t":"code","b":[201,88],"m":"cmp","o":"#$58"},{"a":36895,"t":"code","b":[240,34],"m":"beq","oa":36931,"o":"b_9043"},{"a":36897,"t":"code","b":[201,104],"m":"cmp","o":"#$68"},{"a":36899,"t":"code","b":[240,27],"m":"beq","oa":36928,"o":"b_9040"},{"a":36901,"t":"code","b":[201,112],"m":"cmp","o":"#$70"},{"a":36903,"t":"code","b":[240,32],"m":"beq","oa":36937,"o":"b_9049"},{"a":36905,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":36907,"t":"code","b":[201,223],"m":"cmp","o":"#$DF"},{"a":36909,"t":"code","b":[240,29],"m":"beq","oa":36940,"o":"b_904C"},{"a":36911,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code"},{"a":36913,"t":"code","b":[208,12],"m":"bne","oa":36927,"o":"r_903F"},{"a":36915,"t":"code","b":[165,92],"m":"lda","oa":92,"o":"tmp_ptr_b"},{"a":36917,"t":"code","b":[201,253],"m":"cmp","o":"#$FD"},{"a":36919,"t":"code","b":[240,22],"m":"beq","oa":36943,"o":"b_904F"},{"a":36921,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":36923,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":36925,"t":"code","b":[240,21],"m":"beq","oa":36948,"o":"b_9054"},{"a":36927,"l":"r_903F","t":"code","b":[96],"m":"rts","x":[36913]},{"a":36928,"l":"b_9040","t":"code","b":[132,208],"m":"sty","oa":208,"o":"key_f1","x":[36899]},{"a":36930,"t":"code","b":[96],"m":"rts"},{"a":36931,"l":"b_9043","t":"code","b":[132,207],"m":"sty","oa":207,"o":"key_f3","x":[36895]},{"a":36933,"t":"code","b":[96],"m":"rts"},{"a":36934,"l":"b_9046","t":"code","b":[132,210],"m":"sty","oa":210,"o":"key_f5","x":[36891]},{"a":36936,"t":"code","b":[96],"m":"rts"},{"a":36937,"l":"b_9049","t":"code","b":[132,209],"m":"sty","oa":209,"o":"key_f7","x":[36903]},{"a":36939,"t":"code","b":[96],"m":"rts"},{"a":36940,"l":"b_904C","t":"code","b":[132,211],"m":"sty","oa":211,"o":"key_s","x":[36909]},{"a":36942,"t":"code","b":[96],"m":"rts"},{"a":36943,"l":"b_904F","t":"code","b":[169,18],"m":"lda","o":"#$12","x":[36919]},{"a":36945,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":36947,"t":"code","b":[96],"m":"rts"},{"a":36948,"l":"b_9054","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[36925]},{"a":36950,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":36952,"t":"code","b":[96],"m":"rts"},{"a":36953,"l":"restart_point_x_hi","c":"Restart-point table, 9 entries (index = $1D29): X position high byte. With $9062 (X lo), $906B (Y hi), $9074 (Y lo). Read by $907D (proximity test) and $93ED (placing the Doctor, object 0, after a regeneration).","t":"byte","b":[3,4,8,5,11,7,2,15],"x":[36993,37869]},{"a":36961,"t":"byte","b":[15]},{"a":36962,"l":"restart_point_x_lo","c":"Restart-point table: X position low byte for each of the 9 restart points; copied to $1B70 (object 0 X lo) at $93F3.","t":"byte","b":[136,40,104,72,232,104,40,40],"x":[36998,37875]},{"a":36970,"t":"byte","b":[8]},{"a":36971,"l":"restart_point_y_hi","c":"Restart-point table: Y position high byte for each of the 9 restart points; copied to $1C60 at $93F9.","t":"byte","b":[1,2,2,3,1,4,6,6],"x":[37003,37881]},{"a":36979,"t":"byte","b":[3]},{"a":36980,"l":"restart_point_y_lo","c":"Restart-point table: Y position low byte for each of the 9 restart points; copied to $1C10 at $93FF.","t":"byte","b":[32,40,136,8,17,72,72,72],"x":[37008,37887]},{"a":36988,"t":"byte","b":[136]},{"a":36989,"l":"check_restart_points","c":"Called from $85E6. For restart points 8..0 loads the point into $64-$67 and calls $A3FB (distance into $D9-$DC); the first point with both distances under $14 (hi bytes 0) becomes the current restart point ($1D29). On the first visit to that point ($1D1E,y = 0, then set $FF): if $1D28 is 0 it is set to $64 and $59 is set to $64; otherwise the BCD score $57-$59 is doubled (SED, add to itself). The $64 store into a BCD byte is odd: open question.","t":"code","b":[160,8],"m":"ldy","o":"#$08","x":[34278]},{"a":36991,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":36993,"l":"j_9081","t":"code","b":[185,89,144],"m":"lda","oa":36953,"o":"restart_point_x_hi,y","x":[37049]},{"a":36996,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":36998,"t":"code","b":[185,98,144],"m":"lda","oa":36962,"o":"restart_point_x_lo,y"},{"a":37001,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":37003,"t":"code","b":[185,107,144],"m":"lda","oa":36971,"o":"restart_point_y_hi,y"},{"a":37006,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":37008,"t":"code","b":[185,116,144],"m":"lda","oa":36980,"o":"restart_point_y_lo,y"},{"a":37011,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":37013,"t":"code","b":[152],"m":"tya"},{"a":37014,"t":"code","b":[72],"m":"pha"},{"a":37015,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":37018,"t":"code","b":[104],"m":"pla"},{"a":37019,"t":"code","b":[168],"m":"tay"},{"a":37020,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":37022,"t":"code","b":[208,22],"m":"bne","oa":37046,"o":"b_90B6"},{"a":37024,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":37026,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":37028,"t":"code","b":[176,16],"m":"bcs","oa":37046,"o":"b_90B6"},{"a":37030,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":37032,"t":"code","b":[208,12],"m":"bne","oa":37046,"o":"b_90B6"},{"a":37034,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":37036,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":37038,"t":"code","b":[176,6],"m":"bcs","oa":37046,"o":"b_90B6"},{"a":37040,"t":"code","b":[140,41,29],"m":"sty","oa":7465,"o":"restart_point"},{"a":37043,"t":"code","b":[76,189,144],"m":"jmp","oa":37053,"o":"j_90BD"},{"a":37046,"l":"b_90B6","t":"code","b":[136],"m":"dey","x":[37022,37028,37032,37038]},{"a":37047,"t":"code","b":[48,3],"m":"bmi","oa":37052,"o":"r_90BC"},{"a":37049,"t":"code","b":[76,129,144],"m":"jmp","oa":36993,"o":"j_9081"},{"a":37052,"l":"r_90BC","t":"code","b":[96],"m":"rts","x":[37047]},{"a":37053,"l":"j_90BD","t":"code","b":[185,30,29],"m":"lda","oa":7454,"o":"restart_visited,y","x":[37043]},{"a":37056,"t":"code","b":[208,40],"m":"bne","oa":37098,"o":"r_90EA"},{"a":37058,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37060,"t":"code","b":[153,30,29],"m":"sta","oa":7454,"o":"restart_visited,y"},{"a":37063,"t":"code","b":[173,40,29],"m":"lda","oa":7464,"o":"first_restart_done"},{"a":37066,"t":"code","b":[208,9],"m":"bne","oa":37077,"o":"b_90D5"},{"a":37068,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":37070,"t":"code","b":[141,40,29],"m":"sta","oa":7464,"o":"first_restart_done"},{"a":37073,"t":"code","b":[133,89],"m":"sta","oa":89,"o":"score_lo"},{"a":37075,"t":"code","b":[16,21],"m":"bpl","oa":37098,"o":"r_90EA"},{"a":37077,"l":"b_90D5","t":"code","b":[248],"m":"sed","x":[37066]},{"a":37078,"t":"code","b":[165,89],"m":"lda","oa":89,"o":"score_lo"},{"a":37080,"t":"code","b":[24],"m":"clc"},{"a":37081,"t":"code","b":[101,89],"m":"adc","oa":89,"o":"score_lo"},{"a":37083,"t":"code","b":[133,89],"m":"sta","oa":89,"o":"score_lo"},{"a":37085,"t":"code","b":[165,88],"m":"lda","oa":88,"o":"score_mid"},{"a":37087,"t":"code","b":[101,88],"m":"adc","oa":88,"o":"score_mid"},{"a":37089,"t":"code","b":[133,88],"m":"sta","oa":88,"o":"score_mid"},{"a":37091,"t":"code","b":[165,87],"m":"lda","oa":87,"o":"score_hi"},{"a":37093,"t":"code","b":[101,87],"m":"adc","oa":87,"o":"score_hi"},{"a":37095,"t":"code","b":[133,87],"m":"sta","oa":87,"o":"score_hi"},{"a":37097,"t":"code","b":[216],"m":"cld"},{"a":37098,"l":"r_90EA","t":"code","b":[96],"m":"rts","x":[37056,37075]},{"a":37099,"l":"end_item_flags","c":"Three flags set at end of game ($9174-$9184): $FF when the item with id $36, $3E, $02 (in order) is carried or in state 4 (s_928C); a set flag prints WITH + the item name (messages $1E/$20/$22: THE CRYSTAL, THE TIRU PLANS, SPLINX) and doubled the bonus. $90EE unused byte.","t":"byte","b":[0],"x":[37236,37355]},{"a":37100,"l":"a_90EC","c":"Second end-game item flag (object $3E, THE TIRU PLANS), written at $917C.","t":"byte","b":[0],"x":[37244]},{"a":37101,"l":"a_90ED","c":"Third end-game item flag (object $02, SPLINX), written at $9184; $90EE after it is spare.","t":"byte","b":[0,0],"x":[37252]},{"a":37103,"l":"end_message_by_cause","c":"Message index by end cause, indexed by $E8/2 in $9102: 0 = $00 (overwritten at run time with the heatonite success flag), 1 = $58 (escape pod), 2 = $55 (TARDIS), 3 = $0C explosion, 4 = $2A GAME OVER, 5..8 = $10 controller, $12 fall, $14 stalagmite, $16 suffocating, 9 = $18 forced regeneration, 10 = $1A madrag bite, 11 = $1C baby madrag. Entries 12-14 double as $90FB.","t":"byte","b":[0,88,85,12,42,16,18,20],"x":[37139,37196,37210,37278,37298,37305,37382]},{"a":37111,"t":"byte","b":[22,24,26,28]},{"a":37115,"l":"end_item_message","c":"Messages for the carried end-game items, indexed 0-2 at $91FD: $1E THE CRYSTAL, $20 THE TIRU PLANS, $22 SPLINX. Starts inside $90EF (entries 12-14).","t":"byte","b":[30,32,34],"x":[37373]},{"a":37118,"l":"goto_save_menu","c":"JMP $94FF: branch trampoline for $9107 when $E8 is negative (key D/CTRL+D/L) into the save menu. $9101 is a spare zero byte.","t":"code","b":[76,255,148],"m":"jmp","oa":38143,"o":"save_menu","x":[37127]},{"a":37121,"t":"gap","n":1},{"a":37122,"l":"game_event_handler","c":"Called from $C93F with the event code in $E8. Saves the status bar ($92B3). $E8 negative: save menu ($94FF). Y=$E8/2: 9 (key R) = forced regeneration; 3-8,10,11 = a death cause: prints THE DOCTOR REGENERATES AFTER + cause, decrements lives $1E, and either resumes ($9353) or, below 0, GAME OVER. Y 0-2 = end of game: prints YOU HAVE RETURNED TO GALLIFREY IN (TARDIS for $E8=4, escape pod for 2), sets lives $1E=$FF, adds countdown $1B-$1D (zeroed unless $1C60 >= 3) and a bonus to the score $57-$59, prints items, heatonite result, final score and the Time Lords rating, then waits for F1 and restarts via $9358.","t":"code","b":[32,179,146],"m":"jsr","oa":37555,"o":"save_status_bar","x":[51519]},{"a":37125,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code"},{"a":37127,"t":"code","b":[48,245],"m":"bmi","oa":37118,"o":"goto_save_menu"},{"a":37129,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37130,"t":"code","b":[168],"m":"tay"},{"a":37131,"t":"code","b":[192,9],"m":"cpy","o":"#$09"},{"a":37133,"t":"code","b":[240,32],"m":"beq","oa":37167,"o":"b_912F"},{"a":37135,"t":"code","b":[192,3],"m":"cpy","o":"#$03"},{"a":37137,"t":"code","b":[176,48],"m":"bcs","oa":37187,"o":"b_9143"},{"a":37139,"t":"code","b":[190,239,144],"m":"ldx","oa":37103,"o":"end_message_by_cause,y"},{"a":37142,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37145,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37147,"t":"code","b":[133,30],"m":"sta","oa":30,"o":"lives"},{"a":37149,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":37152,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":37154,"t":"code","b":[176,8],"m":"bcs","oa":37164,"o":"b_912C"},{"a":37156,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37158,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"countdown_lo"},{"a":37160,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"countdown_mid"},{"a":37162,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"countdown_hi"},{"a":37164,"l":"b_912C","t":"code","b":[76,99,145],"m":"jmp","oa":37219,"o":"j_9163","x":[37154]},{"a":37167,"l":"b_912F","t":"code","b":[198,30],"m":"dec","oa":30,"o":"lives","x":[37133]},{"a":37169,"t":"code","b":[16,8],"m":"bpl","oa":37179,"o":"b_913B"},{"a":37171,"t":"code","b":[162,42],"m":"ldx","o":"#$2A"},{"a":37173,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37176,"t":"code","b":[76,61,146],"m":"jmp","oa":37437,"o":"j_923D"},{"a":37179,"l":"b_913B","t":"code","b":[162,24],"m":"ldx","o":"#$18","x":[37169]},{"a":37181,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37184,"t":"code","b":[76,83,147],"m":"jmp","oa":37715,"o":"resume_after_message"},{"a":37187,"l":"b_9143","t":"code","b":[198,30],"m":"dec","oa":30,"o":"lives","x":[37137]},{"a":37189,"t":"code","b":[48,14],"m":"bmi","oa":37205,"o":"b_9155"},{"a":37191,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":37193,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37196,"t":"code","b":[190,239,144],"m":"ldx","oa":37103,"o":"end_message_by_cause,y"},{"a":37199,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37202,"t":"code","b":[76,83,147],"m":"jmp","oa":37715,"o":"resume_after_message"},{"a":37205,"l":"b_9155","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[37189]},{"a":37207,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37210,"t":"code","b":[190,239,144],"m":"ldx","oa":37103,"o":"end_message_by_cause,y"},{"a":37213,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37216,"t":"code","b":[76,61,146],"m":"jmp","oa":37437,"o":"j_923D"},{"a":37219,"l":"j_9163","t":"code","b":[169,36],"m":"lda","o":"#$24","x":[37164]},{"a":37221,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":37223,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":37225,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":37227,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37229,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":37231,"t":"code","b":[162,54],"m":"ldx","o":"#$36"},{"a":37233,"t":"code","b":[32,140,146],"m":"jsr","oa":37516,"o":"item_bonus_check"},{"a":37236,"t":"code","b":[141,235,144],"m":"sta","oa":37099,"o":"end_item_flags"},{"a":37239,"t":"code","b":[162,62],"m":"ldx","o":"#$3E"},{"a":37241,"t":"code","b":[32,140,146],"m":"jsr","oa":37516,"o":"item_bonus_check"},{"a":37244,"t":"code","b":[141,236,144],"m":"sta","oa":37100,"o":"a_90EC"},{"a":37247,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":37249,"t":"code","b":[32,140,146],"m":"jsr","oa":37516,"o":"item_bonus_check"},{"a":37252,"t":"code","b":[141,237,144],"m":"sta","oa":37101,"o":"a_90ED"},{"a":37255,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code"},{"a":37257,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":37259,"t":"code","b":[208,3],"m":"bne","oa":37264,"o":"b_9190"},{"a":37261,"t":"code","b":[32,155,146],"m":"jsr","oa":37531,"o":"double_bonus"},{"a":37264,"l":"b_9190","t":"code","b":[165,79],"m":"lda","oa":79,"o":"heatonite_state","x":[37259]},{"a":37266,"t":"code","b":[240,23],"m":"beq","oa":37291,"o":"b_91AB"},{"a":37268,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":37270,"l":"b_9196","t":"code","b":[190,164,145],"m":"ldx","oa":37284,"o":"heatonite_item_ids,y","x":[37289]},{"a":37273,"t":"code","b":[32,140,146],"m":"jsr","oa":37516,"o":"item_bonus_check"},{"a":37276,"t":"code","b":[16,10],"m":"bpl","oa":37288,"o":"end_bonus_heatonite_loop"},{"a":37278,"t":"code","b":[141,239,144],"m":"sta","oa":37103,"o":"end_message_by_cause"},{"a":37281,"t":"code","b":[76,188,145],"m":"jmp","oa":37308,"o":"j_91BC"},{"a":37284,"l":"heatonite_item_ids","c":"Four object ids $42,$43,$41,$4A tested by s_928C at $9196 when $4F is non-zero; the first one carried (or in state 4) doubles the bonus and sets the success flag at $90EF (AND HAVE SUCCESSFULLY vs BUT HAVE NOT HALTED THE PRODUCTION OF HEATONITE).","t":"byte","b":[66,67,65,74],"x":[37270]},{"a":37288,"l":"end_bonus_heatonite_loop","c":"Continuation of game_event_handler ($9102) after the id table at $91A4: loops the heatonite ids, then adds countdown and bonus to the score, prints items, heatonite verdict, final score, rating (score < 4100 VERY DISPLEASED, < 20000 DISPLEASED, < 40000 PLEASED, else VERY PLEASED; tests at $9219-$9233), and waits for F1 ($9282) before $9358.","t":"code","b":[136],"m":"dey","x":[37276]},{"a":37289,"t":"code","b":[16,235],"m":"bpl","oa":37270,"o":"b_9196"},{"a":37291,"l":"b_91AB","t":"code","b":[165,81],"m":"lda","oa":81,"o":"hazard_timer","x":[37266]},{"a":37293,"t":"code","b":[240,8],"m":"beq","oa":37303,"o":"b_91B7"},{"a":37295,"t":"code","b":[32,155,146],"m":"jsr","oa":37531,"o":"double_bonus"},{"a":37298,"t":"code","b":[141,239,144],"m":"sta","oa":37103,"o":"end_message_by_cause"},{"a":37301,"t":"code","b":[48,5],"m":"bmi","oa":37308,"o":"j_91BC"},{"a":37303,"l":"b_91B7","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[37293]},{"a":37305,"t":"code","b":[141,239,144],"m":"sta","oa":37103,"o":"end_message_by_cause"},{"a":37308,"l":"j_91BC","t":"code","b":[248],"m":"sed","x":[37281,37301]},{"a":37309,"t":"code","b":[165,89],"m":"lda","oa":89,"o":"score_lo"},{"a":37311,"t":"code","b":[24],"m":"clc"},{"a":37312,"t":"code","b":[101,27],"m":"adc","oa":27,"o":"countdown_lo"},{"a":37314,"t":"code","b":[133,89],"m":"sta","oa":89,"o":"score_lo"},{"a":37316,"t":"code","b":[165,88],"m":"lda","oa":88,"o":"score_mid"},{"a":37318,"t":"code","b":[101,28],"m":"adc","oa":28,"o":"countdown_mid"},{"a":37320,"t":"code","b":[133,88],"m":"sta","oa":88,"o":"score_mid"},{"a":37322,"t":"code","b":[165,87],"m":"lda","oa":87,"o":"score_hi"},{"a":37324,"t":"code","b":[101,29],"m":"adc","oa":29,"o":"countdown_hi"},{"a":37326,"t":"code","b":[133,87],"m":"sta","oa":87,"o":"score_hi"},{"a":37328,"t":"code","b":[165,89],"m":"lda","oa":89,"o":"score_lo"},{"a":37330,"t":"code","b":[24],"m":"clc"},{"a":37331,"t":"code","b":[101,90],"m":"adc","oa":90,"o":"tmp_ptr_a"},{"a":37333,"t":"code","b":[133,89],"m":"sta","oa":89,"o":"score_lo"},{"a":37335,"t":"code","b":[165,88],"m":"lda","oa":88,"o":"score_mid"},{"a":37337,"t":"code","b":[101,91],"m":"adc","oa":91,"o":"tmp_ptr_a_hi"},{"a":37339,"t":"code","b":[133,88],"m":"sta","oa":88,"o":"score_mid"},{"a":37341,"t":"code","b":[165,87],"m":"lda","oa":87,"o":"score_hi"},{"a":37343,"t":"code","b":[101,92],"m":"adc","oa":92,"o":"tmp_ptr_b"},{"a":37345,"t":"code","b":[133,87],"m":"sta","oa":87,"o":"score_hi"},{"a":37347,"t":"code","b":[216],"m":"cld"},{"a":37348,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":37350,"t":"code","b":[132,105],"m":"sty","oa":105,"o":"tmp_flag"},{"a":37352,"l":"b_91E8","t":"code","b":[136],"m":"dey","x":[37358,37379]},{"a":37353,"t":"code","b":[48,27],"m":"bmi","oa":37382,"o":"b_9206"},{"a":37355,"t":"code","b":[185,235,144],"m":"lda","oa":37099,"o":"end_item_flags,y"},{"a":37358,"t":"code","b":[240,248],"m":"beq","oa":37352,"o":"b_91E8"},{"a":37360,"t":"code","b":[165,105],"m":"lda","oa":105,"o":"tmp_flag"},{"a":37362,"t":"code","b":[48,9],"m":"bmi","oa":37373,"o":"b_91FD"},{"a":37364,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37366,"t":"code","b":[133,105],"m":"sta","oa":105,"o":"tmp_flag"},{"a":37368,"t":"code","b":[162,46],"m":"ldx","o":"#$2E"},{"a":37370,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37373,"l":"b_91FD","t":"code","b":[190,251,144],"m":"ldx","oa":37115,"o":"end_item_message,y","x":[37362]},{"a":37376,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37379,"t":"code","b":[76,232,145],"m":"jmp","oa":37352,"o":"b_91E8"},{"a":37382,"l":"b_9206","t":"code","b":[173,239,144],"m":"lda","oa":37103,"o":"end_message_by_cause","x":[37353]},{"a":37385,"t":"code","b":[240,4],"m":"beq","oa":37391,"o":"b_920F"},{"a":37387,"t":"code","b":[162,48],"m":"ldx","o":"#$30"},{"a":37389,"t":"code","b":[208,2],"m":"bne","oa":37393,"o":"b_9211"},{"a":37391,"l":"b_920F","t":"code","b":[162,51],"m":"ldx","o":"#$33","x":[37385]},{"a":37393,"l":"b_9211","t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message","x":[37389]},{"a":37396,"t":"code","b":[162,54],"m":"ldx","o":"#$36"},{"a":37398,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37401,"t":"code","b":[164,87],"m":"ldy","oa":87,"o":"score_hi"},{"a":37403,"t":"code","b":[208,8],"m":"bne","oa":37413,"o":"b_9225"},{"a":37405,"t":"code","b":[164,88],"m":"ldy","oa":88,"o":"score_mid"},{"a":37407,"t":"code","b":[162,58],"m":"ldx","o":"#$3A"},{"a":37409,"t":"code","b":[192,65],"m":"cpy","o":"#$41"},{"a":37411,"t":"code","b":[144,16],"m":"bcc","oa":37429,"o":"b_9235"},{"a":37413,"l":"b_9225","t":"code","b":[164,87],"m":"ldy","oa":87,"o":"score_hi","x":[37403]},{"a":37415,"t":"code","b":[162,61],"m":"ldx","o":"#$3D"},{"a":37417,"t":"code","b":[192,2],"m":"cpy","o":"#$02"},{"a":37419,"t":"code","b":[144,8],"m":"bcc","oa":37429,"o":"b_9235"},{"a":37421,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":37423,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":37425,"t":"code","b":[144,2],"m":"bcc","oa":37429,"o":"b_9235"},{"a":37427,"t":"code","b":[162,65],"m":"ldx","o":"#$41"},{"a":37429,"l":"b_9235","t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message","x":[37411,37419,37425]},{"a":37432,"t":"code","b":[162,56],"m":"ldx","o":"#$38"},{"a":37434,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37437,"l":"j_923D","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[37176,37216]},{"a":37439,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":37441,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":37443,"l":"b_9243","t":"code","b":[166,90],"m":"ldx","oa":90,"o":"tmp_ptr_a","x":[37475]},{"a":37445,"t":"code","b":[181,87],"m":"lda","oa":87,"o":"score_hi,x"},{"a":37447,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":37449,"t":"code","b":[170],"m":"tax"},{"a":37450,"t":"code","b":[189,48,23],"m":"lda","oa":5936,"o":"digit_glyphs,x"},{"a":37453,"t":"code","b":[153,129,150],"m":"sta","oa":38529,"o":"msg_final_score_digits,y"},{"a":37456,"t":"code","b":[136],"m":"dey"},{"a":37457,"t":"code","b":[166,90],"m":"ldx","oa":90,"o":"tmp_ptr_a"},{"a":37459,"t":"code","b":[181,87],"m":"lda","oa":87,"o":"score_hi,x"},{"a":37461,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37462,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37463,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37464,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37465,"t":"code","b":[170],"m":"tax"},{"a":37466,"t":"code","b":[189,48,23],"m":"lda","oa":5936,"o":"digit_glyphs,x"},{"a":37469,"t":"code","b":[153,129,150],"m":"sta","oa":38529,"o":"msg_final_score_digits,y"},{"a":37472,"t":"code","b":[136],"m":"dey"},{"a":37473,"t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a"},{"a":37475,"t":"code","b":[16,222],"m":"bpl","oa":37443,"o":"b_9243"},{"a":37477,"t":"code","b":[162,44],"m":"ldx","o":"#$2C"},{"a":37479,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37482,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":37484,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37487,"t":"code","b":[165,30],"m":"lda","oa":30,"o":"lives"},{"a":37489,"t":"code","b":[48,3],"m":"bmi","oa":37494,"o":"b_9276"},{"a":37491,"t":"code","b":[76,83,147],"m":"jmp","oa":37715,"o":"resume_after_message"},{"a":37494,"l":"b_9276","t":"code","b":[234],"m":"nop","x":[37489]},{"a":37495,"t":"code","b":[234],"m":"nop"},{"a":37496,"t":"code","b":[162,8],"m":"ldx","o":"#$08"},{"a":37498,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37501,"t":"code","b":[162,44],"m":"ldx","o":"#$2C"},{"a":37503,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37506,"l":"b_9282","t":"code","b":[32,36,143],"m":"jsr","oa":36644,"o":"read_input","x":[37511]},{"a":37509,"t":"code","b":[165,208],"m":"lda","oa":208,"o":"key_f1"},{"a":37511,"t":"code","b":[240,249],"m":"beq","oa":37506,"o":"b_9282"},{"a":37513,"t":"code","b":[76,88,147],"m":"jmp","oa":37720,"o":"start_or_resume_play"},{"a":37516,"l":"item_bonus_check","c":"X = object id. If X equals $1D80 (a held-item slot) or the object state $1B20,X is 4, falls into $929B (doubles the bonus, returns $FF); otherwise returns A=0.","t":"code","b":[236,128,29],"m":"cpx","oa":7552,"o":"obj_holding","x":[37233,37241,37249,37273]},{"a":37519,"t":"code","b":[240,10],"m":"beq","oa":37531,"o":"double_bonus"},{"a":37521,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":37524,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":37526,"t":"code","b":[240,3],"m":"beq","oa":37531,"o":"double_bonus"},{"a":37528,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37530,"t":"code","b":[96],"m":"rts"},{"a":37531,"l":"double_bonus","c":"Doubles the three-byte BCD bonus $5A-$5C (SED, adds it to itself) and returns A=$FF (negative).","t":"code","b":[248],"m":"sed","x":[37261,37295,37519,37526]},{"a":37532,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":37534,"t":"code","b":[24],"m":"clc"},{"a":37535,"t":"code","b":[101,90],"m":"adc","oa":90,"o":"tmp_ptr_a"},{"a":37537,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":37539,"t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi"},{"a":37541,"t":"code","b":[101,91],"m":"adc","oa":91,"o":"tmp_ptr_a_hi"},{"a":37543,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":37545,"t":"code","b":[165,92],"m":"lda","oa":92,"o":"tmp_ptr_b"},{"a":37547,"t":"code","b":[101,92],"m":"adc","oa":92,"o":"tmp_ptr_b"},{"a":37549,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":37551,"t":"code","b":[216],"m":"cld"},{"a":37552,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37554,"t":"code","b":[96],"m":"rts"},{"a":37555,"l":"save_status_bar","c":"Saves status-bar colour $D828-$D89F to $FF70 and screen $0428-$049F to $7800, then blanks rows $0428-$0477 to $94 (space, colour 2) and fills row $0478-$049F with $97, ready for a scrolling message.","t":"code","b":[160,119],"m":"ldy","o":"#$77","x":[19013,37122]},{"a":37557,"l":"b_92B5","t":"code","b":[185,40,216],"m":"lda","o":"$D828,y","x":[37564]},{"a":37560,"t":"code","b":[153,112,255],"m":"sta","oa":65392,"o":"f_FF70,y"},{"a":37563,"t":"code","b":[136],"m":"dey"},{"a":37564,"t":"code","b":[16,247],"m":"bpl","oa":37557,"o":"b_92B5"},{"a":37566,"t":"code","b":[162,119],"m":"ldx","o":"#$77"},{"a":37568,"l":"b_92C0","t":"code","b":[189,40,4],"m":"lda","oa":1064,"o":"status_row1,x","x":[37575]},{"a":37571,"t":"code","b":[157,0,120],"m":"sta","oa":30720,"o":"screen_a_and_save_block,x"},{"a":37574,"t":"code","b":[202],"m":"dex"},{"a":37575,"t":"code","b":[16,247],"m":"bpl","oa":37568,"o":"b_92C0"},{"a":37577,"t":"code","b":[160,79],"m":"ldy","o":"#$4F"},{"a":37579,"l":"b_92CB","t":"code","b":[169,148],"m":"lda","o":"#$94","x":[37590]},{"a":37581,"t":"code","b":[153,40,4],"m":"sta","oa":1064,"o":"status_row1,y"},{"a":37584,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":37586,"t":"code","b":[153,40,216],"m":"sta","o":"$D828,y"},{"a":37589,"t":"code","b":[136],"m":"dey"},{"a":37590,"t":"code","b":[16,243],"m":"bpl","oa":37579,"o":"b_92CB"},{"a":37592,"t":"code","b":[160,39],"m":"ldy","o":"#$27"},{"a":37594,"l":"b_92DA","t":"code","b":[169,151],"m":"lda","o":"#$97","x":[37600]},{"a":37596,"t":"code","b":[153,120,4],"m":"sta","oa":1144,"o":"status_row3,y"},{"a":37599,"t":"code","b":[136],"m":"dey"},{"a":37600,"t":"code","b":[16,248],"m":"bpl","oa":37594,"o":"b_92DA"},{"a":37602,"t":"code","b":[96],"m":"rts"},{"a":37603,"l":"print_scrolling_message","c":"X = message index into $95CB/$9626. Prints each string of the chain (the next index is taken until a high byte of $FF) letter by letter onto status row $0450-$0477: for each character waits for raster $C8, steps fine scroll $EA by 2 and, once a character cell has passed, shifts the row left and puts the letter at $0477. Y preserved via $68.","t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count","x":[37142,37173,37181,37193,37199,37207,37213,37370,37376,37393,37398,37429,37434,37479,37484,37498,37503,37717,38150]},{"a":37605,"t":"code","b":[189,203,149],"m":"lda","oa":38347,"o":"message_ptr_lo,x"},{"a":37608,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":37610,"t":"code","b":[189,38,150],"m":"lda","oa":38438,"o":"message_ptr_hi,x"},{"a":37613,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":37615,"l":"j_92EF","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[37646,37700]},{"a":37617,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":37619,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":37621,"t":"code","b":[240,8],"m":"beq","oa":37631,"o":"b_92FF"},{"a":37623,"t":"code","b":[230,90],"m":"inc","oa":90,"o":"tmp_ptr_a"},{"a":37625,"t":"code","b":[208,25],"m":"bne","oa":37652,"o":"b_9314"},{"a":37627,"t":"code","b":[230,91],"m":"inc","oa":91,"o":"tmp_ptr_a_hi"},{"a":37629,"t":"code","b":[208,21],"m":"bne","oa":37652,"o":"b_9314"},{"a":37631,"l":"b_92FF","t":"code","b":[232],"m":"inx","x":[37621]},{"a":37632,"t":"code","b":[189,38,150],"m":"lda","oa":38438,"o":"message_ptr_hi,x"},{"a":37635,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":37637,"t":"code","b":[240,10],"m":"beq","oa":37649,"o":"b_9311"},{"a":37639,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":37641,"t":"code","b":[189,203,149],"m":"lda","oa":38347,"o":"message_ptr_lo,x"},{"a":37644,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":37646,"t":"code","b":[76,239,146],"m":"jmp","oa":37615,"o":"j_92EF"},{"a":37649,"l":"b_9311","t":"code","b":[164,104],"m":"ldy","oa":104,"o":"tmp_count","x":[37637]},{"a":37651,"t":"code","b":[96],"m":"rts"},{"a":37652,"l":"b_9314","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1","x":[37625,37629,37657,37664,37680]},{"a":37655,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":37657,"t":"code","b":[208,249],"m":"bne","oa":37652,"o":"b_9314"},{"a":37659,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":37662,"t":"code","b":[201,200],"m":"cmp","o":"#$C8"},{"a":37664,"t":"code","b":[208,242],"m":"bne","oa":37652,"o":"b_9314"},{"a":37666,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":37668,"l":"b_9324","t":"code","b":[136],"m":"dey","x":[37669]},{"a":37669,"t":"code","b":[208,253],"m":"bne","oa":37668,"o":"b_9324"},{"a":37671,"t":"code","b":[165,234],"m":"lda","oa":234,"o":"status_scroll_x"},{"a":37673,"t":"code","b":[56],"m":"sec"},{"a":37674,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":37676,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":37678,"t":"code","b":[133,234],"m":"sta","oa":234,"o":"status_scroll_x"},{"a":37680,"t":"code","b":[176,226],"m":"bcs","oa":37652,"o":"b_9314"},{"a":37682,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":37684,"l":"b_9334","t":"code","b":[185,80,4],"m":"lda","oa":1104,"o":"status_msg_src,y","x":[37693]},{"a":37687,"t":"code","b":[153,79,4],"m":"sta","oa":1103,"o":"status_msg_row,y"},{"a":37690,"t":"code","b":[200],"m":"iny"},{"a":37691,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":37693,"t":"code","b":[208,245],"m":"bne","oa":37684,"o":"b_9334"},{"a":37695,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":37697,"t":"code","b":[141,119,4],"m":"sta","oa":1143,"o":"status_msg_entry"},{"a":37700,"t":"code","b":[76,239,146],"m":"jmp","oa":37615,"o":"j_92EF"},{"a":37703,"l":"restore_status_colour","c":"Copies the saved status-bar colours $FF70-$FFE7 back to $D828-$D89F.","t":"code","b":[160,119],"m":"ldy","o":"#$77","x":[37738,38204]},{"a":37705,"l":"b_9349","t":"code","b":[185,112,255],"m":"lda","oa":65392,"o":"f_FF70,y","x":[37712]},{"a":37708,"t":"code","b":[153,40,216],"m":"sta","o":"$D828,y"},{"a":37711,"t":"code","b":[136],"m":"dey"},{"a":37712,"t":"code","b":[16,247],"m":"bpl","oa":37705,"o":"b_9349"},{"a":37714,"t":"code","b":[96],"m":"rts"},{"a":37715,"l":"resume_after_message","c":"Prints message $24 (eight spaces, to scroll the text off) then falls into $9358.","t":"code","b":[162,36],"m":"ldx","o":"#$24","x":[37184,37202,37491]},{"a":37717,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":37720,"l":"start_or_resume_play","c":"Called at start-up ($4A48) and after every end-of-life or end-of-game message. Blanks the screen, stops sprites and raster IRQ, restores status colour, resets four $1CB0/$C086 entries. If lives $1E >= 0 (a regeneration): restores the status screen from $7800, clears zero page $5A-$FF, restores object tables $1B20-$1CD8 from the copies at $0200-$03BF (skipping objects $1A,$1B), puts the Doctor at the current restart point ($1D29, table $9059). If $1E < 0 (new game): lives=5, countdown $1B-$1D = 1,08,05 (BCD 10805), zero page $20-$FF cleared, $1B20-$1D1F copied from $0200-$03FF. Both: clears $1D90-$1EFF, draws life figures ($99) in $1770-$1779, sets scroll origin $20-$23, redraws and re-enables the raster IRQ.","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1","x":[19016,37513]},{"a":37723,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":37725,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":37728,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37730,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":37733,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37735,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":37738,"t":"code","b":[32,71,147],"m":"jsr","oa":37703,"o":"restore_status_colour"},{"a":37741,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":37743,"l":"b_936F","t":"code","b":[190,129,192],"m":"ldx","oa":49281,"o":"fuse_object_ids,y","x":[37757]},{"a":37746,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37748,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":37751,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37753,"t":"code","b":[153,134,192],"m":"sta","oa":49286,"o":"fuse_countdown,y"},{"a":37756,"t":"code","b":[136],"m":"dey"},{"a":37757,"t":"code","b":[16,240],"m":"bpl","oa":37743,"o":"b_936F"},{"a":37759,"t":"code","b":[165,80],"m":"lda","oa":80,"o":"event_flag_50"},{"a":37761,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":37763,"t":"code","b":[133,80],"m":"sta","oa":80,"o":"event_flag_50"},{"a":37765,"t":"code","b":[165,30],"m":"lda","oa":30,"o":"lives"},{"a":37767,"t":"code","b":[16,3],"m":"bpl","oa":37772,"o":"b_938C"},{"a":37769,"t":"code","b":[76,8,148],"m":"jmp","oa":37896,"o":"j_9408"},{"a":37772,"l":"b_938C","t":"code","b":[162,119],"m":"ldx","o":"#$77","x":[37767]},{"a":37774,"l":"b_938E","t":"code","b":[189,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block,x","x":[37781]},{"a":37777,"t":"code","b":[157,40,4],"m":"sta","oa":1064,"o":"status_row1,x"},{"a":37780,"t":"code","b":[202],"m":"dex"},{"a":37781,"t":"code","b":[16,247],"m":"bpl","oa":37774,"o":"b_938E"},{"a":37783,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37785,"t":"code","b":[162,90],"m":"ldx","o":"#$5A"},{"a":37787,"l":"b_939B","t":"code","b":[149,0],"m":"sta","oa":0,"o":"cpu_port_ddr,x","x":[37790]},{"a":37789,"t":"code","b":[232],"m":"inx"},{"a":37790,"t":"code","b":[208,251],"m":"bne","oa":37787,"o":"b_939B"},{"a":37792,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":37794,"l":"b_93A2","t":"code","b":[185,0,2],"m":"lda","oa":512,"o":"obj_backup_state,y","x":[37841]},{"a":37797,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":37800,"t":"code","b":[185,80,2],"m":"lda","oa":592,"o":"obj_backup_x_lo,y"},{"a":37803,"t":"code","b":[153,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,y"},{"a":37806,"t":"code","b":[185,160,2],"m":"lda","oa":672,"o":"obj_backup_x_hi,y"},{"a":37809,"t":"code","b":[153,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,y"},{"a":37812,"t":"code","b":[185,240,2],"m":"lda","oa":752,"o":"obj_backup_y_lo,y"},{"a":37815,"t":"code","b":[153,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,y"},{"a":37818,"t":"code","b":[185,64,3],"m":"lda","oa":832,"o":"obj_backup_y_hi,y"},{"a":37821,"t":"code","b":[153,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,y"},{"a":37824,"t":"code","b":[185,144,3],"m":"lda","oa":912,"o":"obj_backup_1cb0,y"},{"a":37827,"t":"code","b":[153,176,28],"m":"sta","oa":7344,"o":"obj_flags,y"},{"a":37830,"l":"b_93C6","t":"code","b":[200],"m":"iny","x":[37833,37837]},{"a":37831,"t":"code","b":[192,26],"m":"cpy","o":"#$1A"},{"a":37833,"t":"code","b":[240,251],"m":"beq","oa":37830,"o":"b_93C6"},{"a":37835,"t":"code","b":[192,27],"m":"cpy","o":"#$1B"},{"a":37837,"t":"code","b":[240,247],"m":"beq","oa":37830,"o":"b_93C6"},{"a":37839,"t":"code","b":[192,41],"m":"cpy","o":"#$29"},{"a":37841,"t":"code","b":[208,207],"m":"bne","oa":37794,"o":"b_93A2"},{"a":37843,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":37845,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":37847,"l":"b_93D7","t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x","x":[37864]},{"a":37850,"t":"code","b":[201,52],"m":"cmp","o":"#$34"},{"a":37852,"t":"code","b":[208,3],"m":"bne","oa":37857,"o":"b_93E1"},{"a":37854,"t":"code","b":[140,84,27],"m":"sty","oa":6996,"o":"obj_state_34"},{"a":37857,"l":"b_93E1","t":"code","b":[152],"m":"tya","x":[37852]},{"a":37858,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":37861,"t":"code","b":[232],"m":"inx"},{"a":37862,"t":"code","b":[224,6],"m":"cpx","o":"#$06"},{"a":37864,"t":"code","b":[208,237],"m":"bne","oa":37847,"o":"b_93D7"},{"a":37866,"t":"code","b":[172,41,29],"m":"ldy","oa":7465,"o":"restart_point"},{"a":37869,"t":"code","b":[185,89,144],"m":"lda","oa":36953,"o":"restart_point_x_hi,y"},{"a":37872,"t":"code","b":[141,192,27],"m":"sta","oa":7104,"o":"obj_x_hi"},{"a":37875,"t":"code","b":[185,98,144],"m":"lda","oa":36962,"o":"restart_point_x_lo,y"},{"a":37878,"t":"code","b":[141,112,27],"m":"sta","oa":7024,"o":"obj_x_lo"},{"a":37881,"t":"code","b":[185,107,144],"m":"lda","oa":36971,"o":"restart_point_y_hi,y"},{"a":37884,"t":"code","b":[141,96,28],"m":"sta","oa":7264,"o":"obj_y_hi"},{"a":37887,"t":"code","b":[185,116,144],"m":"lda","oa":36980,"o":"restart_point_y_lo,y"},{"a":37890,"t":"code","b":[141,16,28],"m":"sta","oa":7184,"o":"obj_y_lo"},{"a":37893,"t":"code","b":[76,120,148],"m":"jmp","oa":38008,"o":"j_9478"},{"a":37896,"l":"j_9408","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[37769]},{"a":37898,"t":"code","b":[133,30],"m":"sta","oa":30,"o":"lives"},{"a":37900,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"countdown_lo"},{"a":37902,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":37904,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"countdown_hi"},{"a":37906,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":37908,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"countdown_mid"},{"a":37910,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":37912,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":37914,"t":"code","b":[32,207,171],"m":"jsr","oa":43983,"o":"zone_graphics"},{"a":37917,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":37919,"t":"code","b":[141,161,47],"m":"sta","oa":12193,"o":"char_colour_a1"},{"a":37922,"t":"code","b":[141,58,47],"m":"sta","oa":12090,"o":"char_colour_3a"},{"a":37925,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":37927,"t":"code","b":[141,106,24],"m":"sta","oa":6250,"o":"obj_colour_1a"},{"a":37930,"t":"code","b":[141,107,24],"m":"sta","oa":6251,"o":"obj_colour_1b"},{"a":37933,"t":"code","b":[162,119],"m":"ldx","o":"#$77"},{"a":37935,"l":"b_942F","t":"code","b":[189,0,124],"m":"lda","oa":31744,"o":"screen_b,x","x":[37942]},{"a":37938,"t":"code","b":[157,40,4],"m":"sta","oa":1064,"o":"status_row1,x"},{"a":37941,"t":"code","b":[202],"m":"dex"},{"a":37942,"t":"code","b":[16,247],"m":"bpl","oa":37935,"o":"b_942F"},{"a":37944,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37946,"t":"code","b":[141,201,186],"m":"sta","oa":47817,"o":"use_first_press_flag"},{"a":37949,"t":"code","b":[162,32],"m":"ldx","o":"#$20"},{"a":37951,"l":"b_943F","t":"code","b":[149,0],"m":"sta","oa":0,"o":"cpu_port_ddr,x","x":[37954]},{"a":37953,"t":"code","b":[232],"m":"inx"},{"a":37954,"t":"code","b":[208,251],"m":"bne","oa":37951,"o":"b_943F"},{"a":37956,"t":"code","b":[162,16],"m":"ldx","o":"#$10"},{"a":37958,"l":"b_9446","t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x","x":[37962]},{"a":37961,"t":"code","b":[202],"m":"dex"},{"a":37962,"t":"code","b":[16,250],"m":"bpl","oa":37958,"o":"b_9446"},{"a":37964,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":37966,"t":"code","b":[160,51],"m":"ldy","o":"#$33"},{"a":37968,"l":"b_9450","t":"code","b":[148,66],"m":"sty","oa":66,"o":"marker_slots,x","x":[37972]},{"a":37970,"t":"code","b":[136],"m":"dey"},{"a":37971,"t":"code","b":[202],"m":"dex"},{"a":37972,"t":"code","b":[16,250],"m":"bpl","oa":37968,"o":"b_9450"},{"a":37974,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":37976,"t":"code","b":[133,31],"m":"sta","oa":31,"o":"splinx_battery"},{"a":37978,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":37980,"l":"b_945C","t":"code","b":[185,0,2],"m":"lda","oa":512,"o":"obj_backup_state,y","x":[37987]},{"a":37983,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":37986,"t":"code","b":[200],"m":"iny"},{"a":37987,"t":"code","b":[208,247],"m":"bne","oa":37980,"o":"b_945C"},{"a":37989,"l":"b_9465","t":"code","b":[185,0,3],"m":"lda","oa":768,"o":"obj_backup_page2,y","x":[37996]},{"a":37992,"t":"code","b":[153,32,28],"m":"sta","oa":7200,"o":"obj_tables_page2,y"},{"a":37995,"t":"code","b":[200],"m":"iny"},{"a":37996,"t":"code","b":[208,247],"m":"bne","oa":37989,"o":"b_9465"},{"a":37998,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38000,"t":"code","b":[162,11],"m":"ldx","o":"#$0B"},{"a":38002,"l":"b_9472","t":"code","b":[157,31,29],"m":"sta","oa":7455,"o":"restart_visited_1,x","x":[38006]},{"a":38005,"t":"code","b":[202],"m":"dex"},{"a":38006,"t":"code","b":[16,250],"m":"bpl","oa":38002,"o":"b_9472"},{"a":38008,"l":"j_9478","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[37893]},{"a":38010,"t":"code","b":[160,144],"m":"ldy","o":"#$90"},{"a":38012,"l":"b_947C","t":"code","b":[153,0,29],"m":"sta","oa":7424,"o":"cell_states,y","x":[38016]},{"a":38015,"t":"code","b":[200],"m":"iny"},{"a":38016,"t":"code","b":[208,250],"m":"bne","oa":38012,"o":"b_947C"},{"a":38018,"l":"b_9482","t":"code","b":[153,0,30],"m":"sta","oa":7680,"o":"obj_tables_tail,y","x":[38022]},{"a":38021,"t":"code","b":[200],"m":"iny"},{"a":38022,"t":"code","b":[208,250],"m":"bne","oa":38018,"o":"b_9482"},{"a":38024,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":38026,"t":"code","b":[141,108,29],"m":"sta","oa":7532,"o":"obj_sprite_3c"},{"a":38029,"t":"code","b":[141,120,29],"m":"sta","oa":7544,"o":"obj_sprite_48"},{"a":38032,"t":"code","b":[141,124,29],"m":"sta","oa":7548,"o":"obj_sprite_4c"},{"a":38035,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":38037,"t":"code","b":[141,109,29],"m":"sta","oa":7533,"o":"obj_sprite_3d"},{"a":38040,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38042,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":38044,"t":"code","b":[141,80,24],"m":"sta","oa":6224,"o":"obj_colour"},{"a":38047,"t":"code","b":[141,81,24],"m":"sta","oa":6225,"o":"obj_colour_1"},{"a":38050,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":38052,"t":"code","b":[169,148],"m":"lda","o":"#$94"},{"a":38054,"l":"b_94A6","t":"code","b":[153,112,23],"m":"sta","oa":6000,"o":"name_lives,y","x":[38058]},{"a":38057,"t":"code","b":[136],"m":"dey"},{"a":38058,"t":"code","b":[16,250],"m":"bpl","oa":38054,"o":"b_94A6"},{"a":38060,"t":"code","b":[166,30],"m":"ldx","oa":30,"o":"lives"},{"a":38062,"t":"code","b":[240,12],"m":"beq","oa":38076,"o":"b_94BC"},{"a":38064,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":38066,"l":"b_94B2","t":"code","b":[169,153],"m":"lda","o":"#$99","x":[38074]},{"a":38068,"t":"code","b":[153,112,23],"m":"sta","oa":6000,"o":"name_lives,y"},{"a":38071,"t":"code","b":[136],"m":"dey"},{"a":38072,"t":"code","b":[136],"m":"dey"},{"a":38073,"t":"code","b":[202],"m":"dex"},{"a":38074,"t":"code","b":[208,246],"m":"bne","oa":38066,"o":"b_94B2"},{"a":38076,"l":"b_94BC","t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo","x":[38062]},{"a":38079,"t":"code","b":[56],"m":"sec"},{"a":38080,"t":"code","b":[233,145],"m":"sbc","o":"#$91"},{"a":38082,"t":"code","b":[133,32],"m":"sta","oa":32,"o":"camera_x_lo"},{"a":38084,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":38087,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":38089,"t":"code","b":[133,33],"m":"sta","oa":33,"o":"camera_x_hi"},{"a":38091,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":38094,"t":"code","b":[56],"m":"sec"},{"a":38095,"t":"code","b":[233,76],"m":"sbc","o":"#$4C"},{"a":38097,"t":"code","b":[133,34],"m":"sta","oa":34,"o":"camera_y_lo"},{"a":38099,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":38102,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":38104,"t":"code","b":[133,35],"m":"sta","oa":35,"o":"camera_y_hi"},{"a":38106,"t":"code","b":[32,144,138],"m":"jsr","oa":35472,"o":"b_8A90"},{"a":38109,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":38111,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":38113,"t":"code","b":[32,61,170],"m":"jsr","oa":43581,"o":"zone_classify"},{"a":38116,"t":"code","b":[32,207,171],"m":"jsr","oa":43983,"o":"zone_graphics"},{"a":38119,"t":"code","b":[32,202,174],"m":"jsr","oa":44746,"o":"switch_restore_all"},{"a":38122,"t":"code","b":[32,208,142],"m":"jsr","oa":36560,"o":"redraw_play_area"},{"a":38125,"t":"code","b":[32,29,136],"m":"jsr","oa":34845,"o":"charobj_reset"},{"a":38128,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":38130,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":38133,"t":"code","b":[96],"m":"rts"},{"a":38134,"l":"save_menu_messages","c":"Bytes $50,$4A,$44 are the message indices of the three save-menu prompts (F5 RETURN TO GAME, F3 SAVE ON DISC, F1 SAVE ON CASSETTE), read by $9501; the next five bytes $94F9-$94FD are the save file name DRWHO in PETSCII (SETNAM at $95B4). Together they read PJDDRWHO.","t":"byte","b":[80,74,68],"x":[38145]},{"a":38137,"t":"gap","n":5},{"a":38142,"l":"save_device","c":"Device number for the save: 1 cassette (F1), 8 disc (F3); passed to SETLFS at $95A8.","t":"byte","b":[0],"x":[38177,38184,38312]},{"a":38143,"l":"save_menu","c":"Save menu, entered from $9102 when $E8 is negative. Cycles the three prompts on the status bar until F1 (cassette, device 1), F3 (disc, device 8) or F5 (return to game: restores the status bar, clears $E8, drops the caller and returns). A save copies $7800-$7877 to $7D00, zero page $03-$FF to $7803, $1B20-$1EFF to $7920-$7CFF, marks $7800=$FF, banks BASIC and KERNAL in ($01 |= 2), re-initialises the KERNAL (IOINIT, RAMTAS, RESTOR, CINT) and SAVEs $7800-$7D7F as DRWHO, then JMP ($A000): BASIC cold start. The game does not resume after a save.","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[37118,38173]},{"a":38145,"l":"b_9501","t":"code","b":[190,246,148],"m":"ldx","oa":38134,"o":"save_menu_messages,y","x":[38171]},{"a":38148,"t":"code","b":[152],"m":"tya"},{"a":38149,"t":"code","b":[72],"m":"pha"},{"a":38150,"t":"code","b":[32,227,146],"m":"jsr","oa":37603,"o":"print_scrolling_message"},{"a":38153,"t":"code","b":[32,36,143],"m":"jsr","oa":36644,"o":"read_input"},{"a":38156,"t":"code","b":[104],"m":"pla"},{"a":38157,"t":"code","b":[168],"m":"tay"},{"a":38158,"t":"code","b":[165,208],"m":"lda","oa":208,"o":"key_f1"},{"a":38160,"t":"code","b":[208,13],"m":"bne","oa":38175,"o":"b_951F"},{"a":38162,"t":"code","b":[165,207],"m":"lda","oa":207,"o":"key_f3"},{"a":38164,"t":"code","b":[208,16],"m":"bne","oa":38182,"o":"b_9526"},{"a":38166,"t":"code","b":[165,210],"m":"lda","oa":210,"o":"key_f5"},{"a":38168,"t":"code","b":[208,19],"m":"bne","oa":38189,"o":"b_952D"},{"a":38170,"t":"code","b":[136],"m":"dey"},{"a":38171,"t":"code","b":[16,228],"m":"bpl","oa":38145,"o":"b_9501"},{"a":38173,"t":"code","b":[48,224],"m":"bmi","oa":38143,"o":"save_menu"},{"a":38175,"l":"b_951F","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[38160]},{"a":38177,"t":"code","b":[141,254,148],"m":"sta","oa":38142,"o":"save_device"},{"a":38180,"t":"code","b":[16,28],"m":"bpl","oa":38210,"o":"b_9542"},{"a":38182,"l":"b_9526","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[38164]},{"a":38184,"t":"code","b":[141,254,148],"m":"sta","oa":38142,"o":"save_device"},{"a":38187,"t":"code","b":[16,21],"m":"bpl","oa":38210,"o":"b_9542"},{"a":38189,"l":"b_952D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[38168]},{"a":38191,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":38193,"t":"code","b":[162,119],"m":"ldx","o":"#$77"},{"a":38195,"l":"b_9533","t":"code","b":[189,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block,x","x":[38202]},{"a":38198,"t":"code","b":[157,40,4],"m":"sta","oa":1064,"o":"status_row1,x"},{"a":38201,"t":"code","b":[202],"m":"dex"},{"a":38202,"t":"code","b":[16,247],"m":"bpl","oa":38195,"o":"b_9533"},{"a":38204,"t":"code","b":[32,71,147],"m":"jsr","oa":37703,"o":"restore_status_colour"},{"a":38207,"t":"code","b":[104],"m":"pla"},{"a":38208,"t":"code","b":[104],"m":"pla"},{"a":38209,"t":"code","b":[96],"m":"rts"},{"a":38210,"l":"b_9542","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1","x":[38180,38187]},{"a":38213,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":38215,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":38218,"t":"code","b":[162,119],"m":"ldx","o":"#$77"},{"a":38220,"l":"b_954C","t":"code","b":[189,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block,x","x":[38227]},{"a":38223,"t":"code","b":[157,0,125],"m":"sta","oa":32000,"o":"saved_status_rows,x"},{"a":38226,"t":"code","b":[202],"m":"dex"},{"a":38227,"t":"code","b":[16,247],"m":"bpl","oa":38220,"o":"b_954C"},{"a":38229,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":38231,"l":"b_9557","t":"code","b":[181,0],"m":"lda","oa":0,"o":"cpu_port_ddr,x","x":[38237]},{"a":38233,"t":"code","b":[157,0,120],"m":"sta","oa":30720,"o":"screen_a_and_save_block,x"},{"a":38236,"t":"code","b":[232],"m":"inx"},{"a":38237,"t":"code","b":[208,248],"m":"bne","oa":38231,"o":"b_9557"},{"a":38239,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":38241,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38243,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":38245,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":38247,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":38249,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38251,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":38253,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":38255,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":38257,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":38259,"l":"b_9573","t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y","x":[38264,38271]},{"a":38261,"t":"code","b":[145,92],"m":"sta","oa":92,"o":"(tmp_ptr_b),y"},{"a":38263,"t":"code","b":[200],"m":"iny"},{"a":38264,"t":"code","b":[208,249],"m":"bne","oa":38259,"o":"b_9573"},{"a":38266,"t":"code","b":[230,91],"m":"inc","oa":91,"o":"tmp_ptr_a_hi"},{"a":38268,"t":"code","b":[230,93],"m":"inc","oa":93,"o":"tmp_ptr_b_hi"},{"a":38270,"t":"code","b":[202],"m":"dex"},{"a":38271,"t":"code","b":[16,242],"m":"bpl","oa":38259,"o":"b_9573"},{"a":38273,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":38275,"t":"code","b":[141,0,120],"m":"sta","oa":30720,"o":"screen_a_and_save_block"},{"a":38278,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":38280,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":38282,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":38284,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":38286,"t":"code","b":[120],"m":"sei"},{"a":38287,"t":"code","b":[154],"m":"txs"},{"a":38288,"t":"code","b":[216],"m":"cld"},{"a":38289,"t":"code","b":[32,2,253],"m":"jsr","oa":64770,"o":"s_FD02"},{"a":38292,"t":"code","b":[142,22,208],"m":"stx","o":"vic_control2"},{"a":38295,"t":"code","b":[32,163,253],"m":"jsr","oa":64931,"o":"s_FDA3"},{"a":38298,"t":"code","b":[32,80,253],"m":"jsr","oa":64848,"o":"s_FD50"},{"a":38301,"t":"code","b":[32,21,253],"m":"jsr","oa":64789,"o":"s_FD15"},{"a":38304,"t":"code","b":[32,91,255],"m":"jsr","oa":65371,"o":"s_FF5B"},{"a":38307,"t":"code","b":[88],"m":"cli"},{"a":38308,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":38310,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":38312,"t":"code","b":[174,254,148],"m":"ldx","oa":38142,"o":"save_device"},{"a":38315,"t":"code","b":[32,186,255],"m":"jsr","oa":65466,"o":"s_FFBA"},{"a":38318,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":38320,"t":"code","b":[162,249],"m":"ldx","o":"#$F9"},{"a":38322,"t":"code","b":[160,148],"m":"ldy","o":"#$94"},{"a":38324,"t":"code","b":[32,189,255],"m":"jsr","oa":65469,"o":"s_FFBD"},{"a":38327,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38329,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"marker_slot_2"},{"a":38331,"t":"code","b":[169,120],"m":"lda","o":"#$78"},{"a":38333,"t":"code","b":[133,68],"m":"sta","oa":68,"o":"marker_slot_3"},{"a":38335,"t":"code","b":[169,67],"m":"lda","o":"#$43"},{"a":38337,"t":"code","b":[162,128],"m":"ldx","o":"#$80"},{"a":38339,"t":"code","b":[160,125],"m":"ldy","o":"#$7D"},{"a":38341,"t":"code","b":[32,216,255],"m":"jsr","oa":65496,"o":"s_FFD8"},{"a":38344,"t":"code","b":[108,0,160],"m":"jmp","oa":40960,"o":"(p_A000)"},{"a":38347,"l":"message_ptr_lo","c":"Message table, low bytes, 91 entries ($00-$5A); high bytes at $9626. Messages are chains: printing index n continues with n+1 until an entry whose high byte is $FF. Read by $92E3.","t":"byte","b":[161,255,191,222,255,140,129,255],"x":[37605,37641]},{"a":38355,"t":"byte","b":[202,209,230,255,44,255,59,255]},{"a":38363,"t":"byte","b":[82,255,109,255,117,255,142,255]},{"a":38371,"t":"byte","b":[242,255,155,255,180,255,7,255]},{"a":38379,"t":"byte","b":[20,255,36,255,213,213,213,213]},{"a":38387,"t":"byte","b":[213,255,191,255,213,255,35,255]},{"a":38395,"t":"byte","b":[41,78,255,64,78,255,114,255]},{"a":38403,"t":"byte","b":[134,255,219,198,255,198,255,210]},{"a":38411,"t":"byte","b":[255,219,210,255,202,209,157,166]},{"a":38419,"t":"byte","b":[213,255,202,216,157,176,213,255]},{"a":38427,"t":"byte","b":[202,223,182,213,255,229,8,255]},{"a":38435,"t":"byte","b":[229,20,255]},{"a":38438,"l":"message_ptr_hi","c":"Message table, high bytes (index as $95CB); $FF ends a chain.","t":"byte","b":[150,255,150,151,255,150,150,255],"x":[37610,37632]},{"a":38446,"t":"byte","b":[150,150,150,255,151,255,151,255]},{"a":38454,"t":"byte","b":[151,255,151,255,151,255,151,255]},{"a":38462,"t":"byte","b":[150,255,151,255,151,255,151,255]},{"a":38470,"t":"byte","b":[151,255,151,255,151,151,151,151]},{"a":38478,"t":"byte","b":[151,255,150,255,151,255,152,255]},{"a":38486,"t":"byte","b":[152,152,255,152,152,255,152,255]},{"a":38494,"t":"byte","b":[152,255,152,152,255,152,255,152]},{"a":38502,"t":"byte","b":[255,152,152,255,150,150,152,152]},{"a":38510,"t":"byte","b":[151,255,150,150,152,152,151,255]},{"a":38518,"t":"byte","b":[150,150,152,151,255,151,152,255]},{"a":38526,"t":"byte","b":[151,152,255]},{"a":38529,"l":"msg_final_score_digits","c":"Final-score digits, six bytes written at $924D from $57-$59 through the digit table $1730, then two spaces; message $06. Private alphabet, 0-terminated.","t":"byte","b":[1,1,1,1,1,1,148,148],"x":[37453,37469]},{"a":38537,"t":"byte","b":[148,0,0]},{"a":38540,"l":"msg_your_final_score_is","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $968C-$96A0: \"YOUR FINAL SCORE IS \"","t":"byte","b":[244,234,240,237,148,225,228,233]},{"a":38548,"t":"byte","b":[220,231,148,238,222,234,237,224]},{"a":38556,"t":"byte","b":[148,228,238,148,0]},{"a":38561,"l":"msg_the_doctor_regenerates_after","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96A1-$96BE: \"THE DOCTOR REGENERATES AFTER \"","t":"byte","b":[239,227,224,148,223,234,222,239]},{"a":38569,"t":"byte","b":[234,237,148,237,224,226,224,233]},{"a":38577,"t":"byte","b":[224,237,220,239,224,238,148,220]},{"a":38585,"t":"byte","b":[225,239,224,237,148,0]},{"a":38591,"l":"msg_game_over","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96BF-$96C9: \"GAME OVER \"","t":"byte","b":[226,220,232,224,148,234,241,224]},{"a":38599,"t":"byte","b":[237,148,0]},{"a":38602,"l":"msg_press","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96CA-$96D0: \"PRESS \"","t":"byte","b":[235,237,224,238,238,148,0]},{"a":38609,"l":"msg_f1_to","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96D1-$96D7: \"F1 TO \"","t":"byte","b":[225,247,148,239,234,148,0]},{"a":38616,"l":"msg_f3_to","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96D8-$96DE: \"F3 TO \"","t":"byte","b":[225,249,148,239,234,148,0]},{"a":38623,"l":"msg_f5_to","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96DF-$96E5: \"F5 TO \"","t":"byte","b":[225,251,148,239,234,148,0]},{"a":38630,"l":"msg_play_again","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96E6-$96F1: \"PLAY AGAIN \"","t":"byte","b":[235,231,220,244,148,220,226,220]},{"a":38638,"t":"byte","b":[228,233,148,0]},{"a":38642,"l":"msg_forced_regeneration","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $96F2-$9706: \"FORCED REGENERATION \"","t":"byte","b":[225,234,237,222,224,223,148,237]},{"a":38650,"t":"byte","b":[224,226,224,233,224,237,220,239]},{"a":38658,"t":"byte","b":[228,234,233,148,0]},{"a":38663,"l":"msg_the_crystal","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9707-$9713: \"THE CRYSTAL \"","t":"byte","b":[239,227,224,148,222,237,244,238]},{"a":38671,"t":"byte","b":[239,220,231,148,0]},{"a":38676,"l":"msg_the_tiru_plans","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9714-$9723: \"THE TIRU PLANS \"","t":"byte","b":[239,227,224,148,239,228,237,240]},{"a":38684,"t":"byte","b":[148,235,231,220,233,238,148,0]},{"a":38692,"l":"msg_splinx","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9724-$972B: \"SPLINX \"","t":"byte","b":[238,235,231,228,233,243,148,0]},{"a":38700,"l":"msg_the_explosion","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $972C-$973A: \"THE EXPLOSION \"","t":"byte","b":[239,227,224,148,224,243,235,231]},{"a":38708,"t":"byte","b":[234,238,228,234,233,148,0]},{"a":38715,"l":"msg_exposure_to_radiation","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $973B-$9751: \"EXPOSURE TO RADIATION \"","t":"byte","b":[224,243,235,234,238,240,237,224]},{"a":38723,"t":"byte","b":[148,239,234,148,237,220,223,228]},{"a":38731,"t":"byte","b":[220,239,228,234,233,148,0]},{"a":38738,"l":"msg_a_shock_from_a_controller","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9752-$976C: \"A SHOCK FROM A CONTROLLER \"","t":"byte","b":[220,148,238,227,234,222,230,148]},{"a":38746,"t":"byte","b":[225,237,234,232,148,220,148,222]},{"a":38754,"t":"byte","b":[234,233,239,237,234,231,231,224]},{"a":38762,"t":"byte","b":[237,148,0]},{"a":38765,"l":"msg_a_fall","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $976D-$9774: \"A FALL \"","t":"byte","b":[220,148,225,220,231,231,148,0]},{"a":38773,"l":"msg_falling_on_a_stalagmite","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9775-$978D: \"FALLING ON A STALAGMITE \"","t":"byte","b":[225,220,231,231,228,233,226,148]},{"a":38781,"t":"byte","b":[234,233,148,220,148,238,239,220]},{"a":38789,"t":"byte","b":[231,220,226,232,228,239,224,148]},{"a":38797,"t":"byte","b":[0]},{"a":38798,"l":"msg_suffocating","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $978E-$979A: \"SUFFOCATING \"","t":"byte","b":[238,240,225,225,234,222,220,239]},{"a":38806,"t":"byte","b":[228,233,226,148,0]},{"a":38811,"l":"msg_suffering_a_madrag_bite","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $979B-$97B3: \"SUFFERING A MADRAG BITE \"","t":"byte","b":[238,240,225,225,224,237,228,233]},{"a":38819,"t":"byte","b":[226,148,220,148,232,220,223,237]},{"a":38827,"t":"byte","b":[220,226,148,221,228,239,224,148]},{"a":38835,"t":"byte","b":[0]},{"a":38836,"l":"msg_being_attacked_by_a_baby_madrag","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $97B4-$97D4: \"BEING ATTACKED BY A BABY MADRAG \"","t":"byte","b":[221,224,228,233,226,148,220,239]},{"a":38844,"t":"byte","b":[239,220,222,230,224,223,148,221]},{"a":38852,"t":"byte","b":[244,148,220,148,221,220,221,244]},{"a":38860,"t":"byte","b":[148,232,220,223,237,220,226,148]},{"a":38868,"t":"byte","b":[0]},{"a":38869,"l":"msg_eight_spaces","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $97D5-$97DD: \"        \"","t":"byte","b":[148,148,148,148,148,148,148,148]},{"a":38877,"t":"byte","b":[0]},{"a":38878,"l":"msg_after","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $97DE-$97E4: \"AFTER \"","t":"byte","b":[220,225,239,224,237,148,0]},{"a":38885,"l":"msg_you_have_returned_to_gallifrey_in","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $97E5-$9807: \"YOU HAVE RETURNED TO GALLIFREY IN \"","t":"byte","b":[244,234,240,148,227,220,241,224]},{"a":38893,"t":"byte","b":[148,237,224,239,240,237,233,224]},{"a":38901,"t":"byte","b":[223,148,239,234,148,226,220,231]},{"a":38909,"t":"byte","b":[231,228,225,237,224,244,148,228]},{"a":38917,"t":"byte","b":[233,148,0]},{"a":38920,"l":"msg_the_tardis","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9808-$9813: \"THE TARDIS \"","t":"byte","b":[239,227,224,148,239,220,237,223]},{"a":38928,"t":"byte","b":[228,238,148,0]},{"a":38932,"l":"msg_an_escape_pod","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9814-$9822: \"AN ESCAPE POD \"","t":"byte","b":[220,233,148,224,238,222,220,235]},{"a":38940,"t":"byte","b":[224,148,235,234,223,148,0]},{"a":38947,"l":"msg_with","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9823-$9828: \"WITH \"","t":"byte","b":[242,228,239,227,148,0]},{"a":38953,"l":"msg_and_have_successfully","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9829-$983F: \"AND HAVE SUCCESSFULLY \"","t":"byte","b":[220,233,223,148,227,220,241,224]},{"a":38961,"t":"byte","b":[148,238,240,222,222,224,238,238]},{"a":38969,"t":"byte","b":[225,240,231,231,244,148,0]},{"a":38976,"l":"msg_but_have_not","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9840-$984D: \"BUT HAVE NOT \"","t":"byte","b":[221,240,239,148,227,220,241,224]},{"a":38984,"t":"byte","b":[148,233,234,239,148,0]},{"a":38990,"l":"msg_halted_the_production_of_heatonite","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $984E-$9871: \"HALTED THE PRODUCTION OF HEATONITE \"","t":"byte","b":[227,220,231,239,224,223,148,239]},{"a":38998,"t":"byte","b":[227,224,148,235,237,234,223,240]},{"a":39006,"t":"byte","b":[222,239,228,234,233,148,234,225]},{"a":39014,"t":"byte","b":[148,227,224,220,239,234,233,228]},{"a":39022,"t":"byte","b":[239,224,148,0]},{"a":39026,"l":"msg_the_time_lords_are","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9872-$9885: \"THE TIME LORDS ARE \"","t":"byte","b":[239,227,224,148,239,228,232,224]},{"a":39034,"t":"byte","b":[148,231,234,237,223,238,148,220]},{"a":39042,"t":"byte","b":[237,224,148,0]},{"a":39046,"l":"msg_with_your_performance","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $9886-$989C: \"WITH YOUR PERFORMANCE \"","t":"byte","b":[242,228,239,227,148,244,234,240]},{"a":39054,"t":"byte","b":[237,148,235,224,237,225,234,237]},{"a":39062,"t":"byte","b":[232,220,233,222,224,148,0]},{"a":39069,"l":"msg_save_on","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $989D-$98A5: \"SAVE ON \"","t":"byte","b":[238,220,241,224,148,234,233,148]},{"a":39077,"t":"byte","b":[0]},{"a":39078,"l":"msg_cassette","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $98A6-$98AF: \"CASSETTE \"","t":"byte","b":[222,220,238,238,224,239,239,224]},{"a":39086,"t":"byte","b":[148,0]},{"a":39088,"l":"msg_disc","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $98B0-$98B5: \"DISC \"","t":"byte","b":[223,228,238,222,148,0]},{"a":39094,"l":"msg_return_to_game","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $98B6-$98C5: \"RETURN TO GAME \"","t":"byte","b":[237,224,239,240,237,233,148,239]},{"a":39102,"t":"byte","b":[234,148,226,220,232,224,148,0]},{"a":39110,"l":"msg_displeased","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $98C6-$98D1: \"DISPLEASED \"","t":"byte","b":[223,228,238,235,231,224,220,238]},{"a":39118,"t":"byte","b":[224,223,148,0]},{"a":39122,"l":"msg_pleased","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $98D2-$98DA: \"PLEASED \"","t":"byte","b":[235,231,224,220,238,224,223,148]},{"a":39130,"t":"byte","b":[0]},{"a":39131,"l":"msg_very","c":"Message text, private alphabet (letter = ASCII+155, $94 space), 0-terminated, $98DB-$98E0: \"VERY \"","t":"byte","b":[241,224,237,244,148,0]},{"a":39137,"l":"terrain_class_eb","c":"Terrain property tables, 11 entries each, indexed by the tile class from $1600 in $990D: this one gives $EB (0,2,2,2,4,6,8,$0A,$0C,0,4), used as a computed branch offset at $9A6E/$9B61 and tested for 0/$0A/$0C by the movement routines.","t":"byte","b":[0,2,2,2,4,6,8,10],"x":[39278]},{"a":39145,"t":"byte","b":[12,0,4]},{"a":39148,"l":"terrain_class_ec","c":"Terrain property table 2 (11 entries) giving $EC at $9973: $01,$00,$01 x7,$FF,$FF; the sign is tested by the vertical movement code ($99F6, $9D4E).","t":"byte","b":[1,0,1,1,1,1,1,1],"x":[39283]},{"a":39156,"t":"byte","b":[1,255,255]},{"a":39159,"l":"terrain_class_ed","c":"Terrain property table 3 (11 entries) giving $ED at $9978: $00,$FF,$FF,$00,$01,$FF,$00,$00,$00,$00,$01.","t":"byte","b":[0,255,255,0,1,255,0,0],"x":[39288]},{"a":39167,"t":"byte","b":[0,0,1]},{"a":39170,"l":"terrain_class_ee","c":"Terrain property table 4 (11 entries) giving $EE at $997D: $00,$FF,$00,$FF,$01,$00,$FF,$00,$00,$00,$01.","t":"byte","b":[0,255,0,255,1,0,255,0],"x":[39293]},{"a":39178,"t":"byte","b":[0,0,1]},{"a":39181,"l":"terrain_probe","c":"Terrain lookup at a point. In: X = object (saved in $69), $64/$65 = X, $66/$67 = Y in pixels. Row = Y/8 indexes $0A80/$0AC0 (patched into $9956), column = X/8 indexes the row ($FF00 page, self-modified) to get a block number ($78), which picks a tile address from $1400/$1500 (patched into $9969); the char within the block, from the low bits of X and Y, gives a tile byte whose class $1600 selects $EB-$EE from the tables at $98E1. Returns X restored.","t":"code","b":[134,105],"m":"stx","oa":105,"o":"tmp_flag","x":[39467,39529,39571,39596,39707,39772,39813,39842,39953,39973,40098,40115,40181,40204,40267,40297,40368,40402,40445,40497,40528,40576,40607,40707,40722,40739,40756,40772,40793,40808,40834,40855,40894,40909,40926,40949,40965,40986,41007,41033,41054,41084,41105,41135,41159,43124,43177,46031]},{"a":39183,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":39185,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":39187,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39188,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39189,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39190,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":39192,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":39194,"t":"code","b":[41,24],"m":"and","o":"#$18"},{"a":39196,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39197,"t":"code","b":[101,90],"m":"adc","oa":90,"o":"tmp_ptr_a"},{"a":39199,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":39201,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":39203,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":39205,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":39207,"t":"code","b":[70,91],"m":"lsr","oa":91,"o":"tmp_ptr_a_hi"},{"a":39209,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39210,"t":"code","b":[70,91],"m":"lsr","oa":91,"o":"tmp_ptr_a_hi"},{"a":39212,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39213,"t":"code","b":[70,91],"m":"lsr","oa":91,"o":"tmp_ptr_a_hi"},{"a":39215,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39216,"t":"code","b":[70,91],"m":"lsr","oa":91,"o":"tmp_ptr_a_hi"},{"a":39218,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39219,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39220,"t":"code","b":[168],"m":"tay"},{"a":39221,"t":"code","b":[185,128,10],"m":"lda","oa":2688,"o":"map_row_lo,y"},{"a":39224,"t":"code","b":[141,86,153],"m":"sta","oa":39254,"o":"a_9956"},{"a":39227,"t":"code","b":[185,192,10],"m":"lda","oa":2752,"o":"map_row_hi,y"},{"a":39230,"t":"code","b":[141,87,153],"m":"sta","oa":39255,"o":"a_9957"},{"a":39233,"t":"code","b":[165,101],"m":"lda","oa":101,"o":"probe_x_hi"},{"a":39235,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":39237,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":39239,"t":"code","b":[70,92],"m":"lsr","oa":92,"o":"tmp_ptr_b"},{"a":39241,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39242,"t":"code","b":[70,92],"m":"lsr","oa":92,"o":"tmp_ptr_b"},{"a":39244,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39245,"t":"code","b":[70,92],"m":"lsr","oa":92,"o":"tmp_ptr_b"},{"a":39247,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39248,"t":"code","b":[70,92],"m":"lsr","oa":92,"o":"tmp_ptr_b"},{"a":39250,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39251,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39252,"t":"code","b":[168],"m":"tay"},{"a":39253,"t":"code","b":[190,0,255],"m":"ldx","oa":65280,"o":"a_FF00,y"},{"a":39254,"t":"note","l":"a_9956","c":"Self-modified operand bytes: $9956/$9957 take the row base from $0A80/$0AC0 ($9938/$993E); $9969/$996A take the tile address from $1400/$1500 ($995D/$9963). The rest of terrain_probe continues here.","note":"inside the item at $9955","x":[39224]},{"a":39255,"t":"note","l":"a_9957","c":"High byte of the row base patched at $993E; the code after it reads the column index and fetches the tile address from $1400/$1500 into $9969/$996A (self-modified) before the class lookup.","note":"inside the item at $9955","x":[39230]},{"a":39256,"t":"code","b":[134,120],"m":"stx","oa":120,"o":"probe_block"},{"a":39258,"t":"code","b":[189,0,20],"m":"lda","oa":5120,"o":"block_ptr_lo,x"},{"a":39261,"t":"code","b":[141,105,153],"m":"sta","oa":39273,"o":"a_9969"},{"a":39264,"t":"code","b":[189,0,21],"m":"lda","oa":5376,"o":"block_ptr_hi,x"},{"a":39267,"t":"code","b":[141,106,153],"m":"sta","oa":39274,"o":"a_996A"},{"a":39270,"t":"code","b":[164,90],"m":"ldy","oa":90,"o":"tmp_ptr_a"},{"a":39272,"t":"code","b":[190,0,255],"m":"ldx","oa":65280,"o":"a_FF00,y"},{"a":39273,"t":"note","l":"a_9969","c":"Tile-address operand of LDX at $9968, patched from $1400/$1500; the tile byte read here indexes the class table $1600, which selects the four terrain properties $EB-$EE from $98E1-$990C.","note":"inside the item at $9968","x":[39261]},{"a":39274,"t":"note","l":"a_996A","c":"High byte of the tile-address operand, patched from $1500 at $9963.","note":"inside the item at $9968","x":[39267]},{"a":39275,"t":"code","b":[188,0,22],"m":"ldy","oa":5632,"o":"char_terrain_class,x"},{"a":39278,"t":"code","b":[185,225,152],"m":"lda","oa":39137,"o":"terrain_class_eb,y"},{"a":39281,"t":"code","b":[133,235],"m":"sta","oa":235,"o":"terrain_prop_1"},{"a":39283,"t":"code","b":[185,236,152],"m":"lda","oa":39148,"o":"terrain_class_ec,y"},{"a":39286,"t":"code","b":[133,236],"m":"sta","oa":236,"o":"terrain_prop_2"},{"a":39288,"t":"code","b":[185,247,152],"m":"lda","oa":39159,"o":"terrain_class_ed,y"},{"a":39291,"t":"code","b":[133,237],"m":"sta","oa":237,"o":"terrain_prop_3"},{"a":39293,"t":"code","b":[185,2,153],"m":"lda","oa":39170,"o":"terrain_class_ee,y"},{"a":39296,"t":"code","b":[133,238],"m":"sta","oa":238,"o":"terrain_prop_4"},{"a":39298,"t":"code","b":[166,105],"m":"ldx","oa":105,"o":"tmp_flag"},{"a":39300,"t":"code","b":[96],"m":"rts"},{"a":39301,"l":"next_x_from_cb","c":"Object X = $1B70/$1BC0,X moved by $CB (bit 7 = left, low two bits = step; positive adds $CB) into $60/$61. $CB = 0 copies it unchanged.","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[39485,39906,39912,40052,40058,40130,40231,40329,40652,50527,52455]},{"a":39303,"t":"code","b":[240,36],"m":"beq","oa":39341,"o":"b_99AD"},{"a":39305,"t":"code","b":[16,20],"m":"bpl","oa":39327,"o":"b_999F"},{"a":39307,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":39309,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":39311,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":39314,"t":"code","b":[56],"m":"sec"},{"a":39315,"t":"code","b":[229,90],"m":"sbc","oa":90,"o":"tmp_ptr_a"},{"a":39317,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":39319,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":39322,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":39324,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":39326,"t":"code","b":[96],"m":"rts"},{"a":39327,"l":"b_999F","t":"code","b":[24],"m":"clc","x":[39305]},{"a":39328,"t":"code","b":[125,112,27],"m":"adc","oa":7024,"o":"obj_x_lo,x"},{"a":39331,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":39333,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":39336,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39338,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":39340,"t":"code","b":[96],"m":"rts"},{"a":39341,"l":"b_99AD","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[39303]},{"a":39344,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":39346,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":39349,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":39351,"t":"code","b":[96],"m":"rts"},{"a":39352,"l":"next_y_from_cc","c":"Object Y = $1C10/$1C60,X moved by $CC (bit 7 = subtract low two bits; positive adds $CC) into $62/$63.","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[39909,40055,40224,40325,40332,40468,40655,50524,52458]},{"a":39354,"t":"code","b":[240,38],"m":"beq","oa":39394,"o":"b_99E2"},{"a":39356,"t":"code","b":[16,20],"m":"bpl","oa":39378,"o":"b_99D2"},{"a":39358,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":39360,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":39362,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":39365,"t":"code","b":[56],"m":"sec"},{"a":39366,"t":"code","b":[229,90],"m":"sbc","oa":90,"o":"tmp_ptr_a"},{"a":39368,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":39370,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":39373,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":39375,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":39377,"t":"code","b":[96],"m":"rts"},{"a":39378,"l":"b_99D2","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[39356]},{"a":39381,"t":"code","b":[24],"m":"clc"},{"a":39382,"t":"code","b":[101,204],"m":"adc","oa":204,"o":"move_y"},{"a":39384,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":39386,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":39389,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39391,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":39393,"t":"code","b":[96],"m":"rts"},{"a":39394,"l":"b_99E2","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[39354]},{"a":39397,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":39399,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":39402,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":39404,"t":"code","b":[96],"m":"rts"},{"a":39405,"l":"check_up_blocked","c":"Called from $CA31/$CA47/$CD19. If $D5 is positive (stick up), probes the object centre ($9A09); if $EC is negative, sets state $1B20,X = 8, stops $CB/$CC and clears $A0D2.","t":"code","b":[165,213],"m":"lda","oa":213,"o":"stick_y","x":[51761,51783,52505]},{"a":39407,"t":"code","b":[48,23],"m":"bmi","oa":39432,"o":"r_9A08"},{"a":39409,"t":"code","b":[240,21],"m":"beq","oa":39432,"o":"r_9A08"},{"a":39411,"t":"code","b":[32,9,154],"m":"jsr","oa":39433,"o":"terrain_probe_centre"},{"a":39414,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":39416,"t":"code","b":[16,14],"m":"bpl","oa":39432,"o":"r_9A08"},{"a":39418,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":39420,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39423,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":39425,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39427,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":39429,"t":"code","b":[141,210,160],"m":"sta","oa":41170,"o":"jump_frame_count"},{"a":39432,"l":"r_9A08","t":"code","b":[96],"m":"rts","x":[39407,39409,39416]},{"a":39433,"l":"terrain_probe_centre","c":"Probes the terrain at the object centre: X + width/2 ($18F0,X) and Y + height/2 ($1940,X), then $990D.","t":"code","b":[189,240,24],"m":"lda","oa":6384,"o":"obj_width,x","x":[39411,48413,51458,51800]},{"a":39436,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39437,"t":"code","b":[24],"m":"clc"},{"a":39438,"t":"code","b":[125,112,27],"m":"adc","oa":7024,"o":"obj_x_lo,x"},{"a":39441,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":39443,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":39446,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39448,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":39450,"t":"code","b":[189,64,25],"m":"lda","oa":6464,"o":"obj_height,x"},{"a":39453,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39454,"t":"code","b":[24],"m":"clc"},{"a":39455,"t":"code","b":[125,16,28],"m":"adc","oa":7184,"o":"obj_y_lo,x"},{"a":39458,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":39460,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":39463,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39465,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":39467,"t":"code","b":[76,13,153],"m":"jmp","oa":39181,"o":"terrain_probe"},{"a":39470,"l":"walk_above_flag","c":"Flag for $9A39/$9B4C: $FF when the probe one pixel above the leading edge found non-zero $EB.","t":"byte","b":[0],"x":[39560,39580,39733,39802,39822]},{"a":39471,"l":"move_walk_stop","c":"Shared exit of the movement code: object state $1B20,X = 0 and $CB/$CC cleared (object stands still).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[39500,39714]},{"a":39473,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39476,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39478,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":39480,"t":"code","b":[96],"m":"rts"},{"a":39481,"l":"move_walk","c":"Horizontal movement against terrain for object X (callers $B2A5, $B5CE, $B82B, $C524, $C5A9, $CA15, $CF76). $CB = 0 stops (state 0). Probes the leading edge (right: X+width; left: X) and dispatches on $EB through a self-modified BPL chain ($9A6E, $9B61): free, step up/down, blocked, or special classes $0A/$0C which with $CC set start a climb (state 4 up / 6 down, $1E90,X = 1). Sets $DF to 5 or $82 for two classes (meaning open). Writes state $1B20,X and $CB/$CC, new position in $60-$63.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[45733,46542,47147,50468,50601,51733,53110]},{"a":39483,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"terrain_result"},{"a":39485,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":39488,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":39491,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":39493,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":39496,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":39498,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":39500,"t":"code","b":[240,225],"m":"beq","oa":39471,"o":"move_walk_stop"},{"a":39502,"t":"code","b":[16,3],"m":"bpl","oa":39507,"o":"b_9A53"},{"a":39504,"t":"code","b":[76,76,155],"m":"jmp","oa":39756,"o":"j_9B4C"},{"a":39507,"l":"b_9A53","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[39502]},{"a":39509,"t":"code","b":[24],"m":"clc"},{"a":39510,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":39513,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":39515,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":39517,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39519,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":39521,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":39523,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":39525,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":39527,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":39529,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39532,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":39534,"t":"code","b":[141,114,154],"m":"sta","oa":39538,"o":"a_9A72"},{"a":39537,"l":"b_9A71","t":"code","b":[16,254],"m":"bpl","oa":39537,"o":"b_9A71","x":[39537]},{"a":39538,"t":"note","l":"a_9A72","c":"Operand of the BPL at $9A71, rewritten with $EB at $9A6E: a computed branch into the BPL chain $9A73-$9A7D, one landing per even $EB value (0 free, 2/4/6 step, 8 blocked, $0A/$0C special). Rest of move_walk (rightward) continues here.","note":"inside the item at $9A71","x":[39534]},{"a":39539,"t":"code","b":[16,17],"m":"bpl","oa":39558,"o":"b_9A86"},{"a":39541,"t":"code","b":[16,8],"m":"bpl","oa":39551,"o":"b_9A7F"},{"a":39543,"t":"code","b":[16,13],"m":"bpl","oa":39558,"o":"b_9A86"},{"a":39545,"t":"code","b":[16,7],"m":"bpl","oa":39554,"o":"b_9A82"},{"a":39547,"t":"code","b":[16,98],"m":"bpl","oa":39647,"o":"b_9ADF"},{"a":39549,"t":"code","b":[16,0],"m":"bpl","oa":39551,"o":"b_9A7F"},{"a":39551,"l":"b_9A7F","t":"code","b":[76,14,155],"m":"jmp","oa":39694,"o":"j_9B0E","x":[39541,39549]},{"a":39554,"l":"b_9A82","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[39545]},{"a":39556,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"terrain_result"},{"a":39558,"l":"b_9A86","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[39539,39543,39649,39651,39657]},{"a":39560,"t":"code","b":[141,46,154],"m":"sta","oa":39470,"o":"walk_above_flag"},{"a":39563,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":39565,"t":"code","b":[208,2],"m":"bne","oa":39569,"o":"b_9A91"},{"a":39567,"t":"code","b":[198,103],"m":"dec","oa":103,"o":"probe_y_hi"},{"a":39569,"l":"b_9A91","t":"code","b":[198,102],"m":"dec","oa":102,"o":"probe_y_lo","x":[39565]},{"a":39571,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39574,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":39576,"t":"code","b":[240,5],"m":"beq","oa":39583,"o":"b_9A9F"},{"a":39578,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":39580,"t":"code","b":[141,46,154],"m":"sta","oa":39470,"o":"walk_above_flag"},{"a":39583,"l":"b_9A9F","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[39576]},{"a":39585,"t":"code","b":[24],"m":"clc"},{"a":39586,"t":"code","b":[105,7],"m":"adc","o":"#$07"},{"a":39588,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":39590,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":39592,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39594,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":39596,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39599,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":39601,"t":"code","b":[208,3],"m":"bne","oa":39606,"o":"b_9AB6"},{"a":39603,"t":"code","b":[76,53,155],"m":"jmp","oa":39733,"o":"j_9B35"},{"a":39606,"l":"b_9AB6","t":"code","b":[201,10],"m":"cmp","o":"#$0A","x":[39601]},{"a":39608,"t":"code","b":[240,70],"m":"beq","oa":39680,"o":"b_9B00"},{"a":39610,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":39612,"t":"code","b":[208,70],"m":"bne","oa":39684,"o":"b_9B04"},{"a":39614,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":39616,"t":"code","b":[16,66],"m":"bpl","oa":39684,"o":"b_9B04"},{"a":39618,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":39620,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":39622,"t":"code","b":[208,60],"m":"bne","oa":39684,"o":"b_9B04"},{"a":39624,"l":"j_9AC8","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[39869]},{"a":39626,"t":"code","b":[157,144,30],"m":"sta","oa":7824,"o":"chase_flag,x"},{"a":39629,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":39631,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39634,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":39636,"t":"code","b":[208,2],"m":"bne","oa":39640,"o":"b_9AD8"},{"a":39638,"t":"code","b":[198,99],"m":"dec","oa":99,"o":"pos_y_hi"},{"a":39640,"l":"b_9AD8","t":"code","b":[198,98],"m":"dec","oa":98,"o":"pos_y_lo","x":[39636]},{"a":39642,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":39644,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39646,"t":"code","b":[96],"m":"rts"},{"a":39647,"l":"b_9ADF","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[39547]},{"a":39649,"t":"code","b":[48,163],"m":"bmi","oa":39558,"o":"b_9A86"},{"a":39651,"t":"code","b":[240,161],"m":"beq","oa":39558,"o":"b_9A86"},{"a":39653,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":39655,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":39657,"t":"code","b":[208,155],"m":"bne","oa":39558,"o":"b_9A86"},{"a":39659,"l":"b_9AEB","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[39731]},{"a":39661,"t":"code","b":[157,144,30],"m":"sta","oa":7824,"o":"chase_flag,x"},{"a":39664,"l":"b_9AF0","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[39712]},{"a":39666,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39669,"t":"code","b":[230,98],"m":"inc","oa":98,"o":"pos_y_lo"},{"a":39671,"t":"code","b":[208,2],"m":"bne","oa":39675,"o":"b_9AFB"},{"a":39673,"t":"code","b":[230,99],"m":"inc","oa":99,"o":"pos_y_hi"},{"a":39675,"l":"b_9AFB","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[39671]},{"a":39677,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39679,"t":"code","b":[96],"m":"rts"},{"a":39680,"l":"b_9B00","t":"code","b":[169,130],"m":"lda","o":"#$82","x":[39608]},{"a":39682,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"terrain_result"},{"a":39684,"l":"b_9B04","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[39612,39616,39622,39736]},{"a":39686,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39688,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":39690,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39693,"t":"code","b":[96],"m":"rts"},{"a":39694,"l":"j_9B0E","t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo","x":[39551,39784,39792,39794]},{"a":39696,"t":"code","b":[24],"m":"clc"},{"a":39697,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":39699,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":39701,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":39703,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39705,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":39707,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39710,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":39712,"t":"code","b":[208,206],"m":"bne","oa":39664,"o":"b_9AF0"},{"a":39714,"t":"code","b":[76,47,154],"m":"jmp","oa":39471,"o":"move_walk_stop"},{"a":39717,"l":"b_9B25","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[39788]},{"a":39719,"t":"code","b":[48,79],"m":"bmi","oa":39800,"o":"b_9B78"},{"a":39721,"t":"code","b":[240,77],"m":"beq","oa":39800,"o":"b_9B78"},{"a":39723,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":39725,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":39727,"t":"code","b":[73,7],"m":"eor","o":"#$07"},{"a":39729,"t":"code","b":[208,69],"m":"bne","oa":39800,"o":"b_9B78"},{"a":39731,"t":"code","b":[240,182],"m":"beq","oa":39659,"o":"b_9AEB"},{"a":39733,"l":"j_9B35","t":"code","b":[173,46,154],"m":"lda","oa":39470,"o":"walk_above_flag","x":[39603,39847]},{"a":39736,"t":"code","b":[208,202],"m":"bne","oa":39684,"o":"b_9B04"},{"a":39738,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":39740,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39743,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":39745,"t":"code","b":[208,2],"m":"bne","oa":39749,"o":"b_9B45"},{"a":39747,"t":"code","b":[198,99],"m":"dec","oa":99,"o":"pos_y_hi"},{"a":39749,"l":"b_9B45","t":"code","b":[198,98],"m":"dec","oa":98,"o":"pos_y_lo","x":[39745]},{"a":39751,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":39753,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39755,"t":"code","b":[96],"m":"rts"},{"a":39756,"l":"j_9B4C","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[39504]},{"a":39758,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":39760,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":39762,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":39764,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":39766,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":39768,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":39770,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":39772,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39775,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":39777,"t":"code","b":[141,101,155],"m":"sta","oa":39781,"o":"a_9B65"},{"a":39780,"l":"b_9B64","t":"code","b":[16,254],"m":"bpl","oa":39780,"o":"b_9B64","x":[39780]},{"a":39781,"t":"note","l":"a_9B65","c":"Operand of the BPL at $9B64, rewritten with $EB at $9B61: computed branch into the chain $9B66-$9B72 for leftward walking (mirror of $9A72).","note":"inside the item at $9B64","x":[39777]},{"a":39782,"t":"code","b":[16,16],"m":"bpl","oa":39800,"o":"b_9B78"},{"a":39784,"t":"code","b":[16,164],"m":"bpl","oa":39694,"o":"j_9B0E"},{"a":39786,"t":"code","b":[16,12],"m":"bpl","oa":39800,"o":"b_9B78"},{"a":39788,"t":"code","b":[16,183],"m":"bpl","oa":39717,"o":"b_9B25"},{"a":39790,"t":"code","b":[16,4],"m":"bpl","oa":39796,"o":"b_9B74"},{"a":39792,"t":"code","b":[16,156],"m":"bpl","oa":39694,"o":"j_9B0E"},{"a":39794,"t":"code","b":[16,154],"m":"bpl","oa":39694,"o":"j_9B0E"},{"a":39796,"l":"b_9B74","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[39790]},{"a":39798,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"terrain_result"},{"a":39800,"l":"b_9B78","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[39719,39721,39729,39782,39786]},{"a":39802,"t":"code","b":[141,46,154],"m":"sta","oa":39470,"o":"walk_above_flag"},{"a":39805,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":39807,"t":"code","b":[208,2],"m":"bne","oa":39811,"o":"b_9B83"},{"a":39809,"t":"code","b":[198,103],"m":"dec","oa":103,"o":"probe_y_hi"},{"a":39811,"l":"b_9B83","t":"code","b":[198,102],"m":"dec","oa":102,"o":"probe_y_lo","x":[39807]},{"a":39813,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39816,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":39818,"t":"code","b":[240,5],"m":"beq","oa":39825,"o":"b_9B91"},{"a":39820,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":39822,"t":"code","b":[141,46,154],"m":"sta","oa":39470,"o":"walk_above_flag"},{"a":39825,"l":"b_9B91","t":"code","b":[189,240,24],"m":"lda","oa":6384,"o":"obj_width,x","x":[39818]},{"a":39828,"t":"code","b":[56],"m":"sec"},{"a":39829,"t":"code","b":[233,7],"m":"sbc","o":"#$07"},{"a":39831,"t":"code","b":[24],"m":"clc"},{"a":39832,"t":"code","b":[101,96],"m":"adc","oa":96,"o":"pos_x_lo"},{"a":39834,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":39836,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":39838,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39840,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":39842,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39845,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":39847,"t":"code","b":[240,140],"m":"beq","oa":39733,"o":"j_9B35"},{"a":39849,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":39851,"t":"code","b":[240,19],"m":"beq","oa":39872,"o":"b_9BC0"},{"a":39853,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":39855,"t":"code","b":[208,19],"m":"bne","oa":39876,"o":"b_9BC4"},{"a":39857,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":39859,"t":"code","b":[16,15],"m":"bpl","oa":39876,"o":"b_9BC4"},{"a":39861,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":39863,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":39865,"t":"code","b":[73,7],"m":"eor","o":"#$07"},{"a":39867,"t":"code","b":[208,7],"m":"bne","oa":39876,"o":"b_9BC4"},{"a":39869,"t":"code","b":[76,200,154],"m":"jmp","oa":39624,"o":"j_9AC8"},{"a":39872,"l":"b_9BC0","t":"code","b":[169,130],"m":"lda","o":"#$82","x":[39851]},{"a":39874,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"terrain_result"},{"a":39876,"l":"b_9BC4","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[39855,39859,39867]},{"a":39878,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39880,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":39882,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39885,"t":"code","b":[96],"m":"rts"},{"a":39886,"l":"move_turn_or_walk","c":"Callers as $9A39. If $CB differs from the facing $1DB0,X the object turns: $CB flipped, state 6, $CC=$81. Otherwise probes ahead at foot level and one row lower: blocked ahead gives state 2; no floor ($EC 0) stops (state 0); else steps down one pixel ($CC=1).","t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x","x":[45739,46548,47153,50607,51739,53116]},{"a":39889,"t":"code","b":[197,203],"m":"cmp","oa":203,"o":"move_x"},{"a":39891,"t":"code","b":[240,19],"m":"beq","oa":39912,"o":"b_9BE8"},{"a":39893,"t":"code","b":[73,128],"m":"eor","o":"#$80"},{"a":39895,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":39897,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":39899,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39902,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":39904,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39906,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":39909,"t":"code","b":[76,184,153],"m":"jmp","oa":39352,"o":"next_y_from_cc"},{"a":39912,"l":"b_9BE8","t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb","x":[39891]},{"a":39915,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":39918,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":39920,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":39923,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":39925,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":39927,"t":"code","b":[48,82],"m":"bmi","oa":40011,"o":"b_9C4B"},{"a":39929,"t":"code","b":[208,0],"m":"bne","oa":39931,"o":"b_9BFB"},{"a":39931,"l":"b_9BFB","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[39929]},{"a":39933,"t":"code","b":[24],"m":"clc"},{"a":39934,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":39937,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":39939,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":39941,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39943,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":39945,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":39947,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":39949,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":39951,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":39953,"l":"j_9C11","t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe","x":[40027]},{"a":39956,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":39958,"t":"code","b":[240,30],"m":"beq","oa":39990,"o":"b_9C36"},{"a":39960,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":39962,"t":"code","b":[24],"m":"clc"},{"a":39963,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":39965,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":39967,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":39969,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":39971,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":39973,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":39976,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":39978,"t":"code","b":[208,20],"m":"bne","oa":40000,"o":"b_9C40"},{"a":39980,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":39982,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39985,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39987,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":39989,"t":"code","b":[96],"m":"rts"},{"a":39990,"l":"b_9C36","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[39958]},{"a":39992,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":39995,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":39997,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":39999,"t":"code","b":[96],"m":"rts"},{"a":40000,"l":"b_9C40","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[39978]},{"a":40002,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":40004,"t":"code","b":[230,98],"m":"inc","oa":98,"o":"pos_y_lo"},{"a":40006,"t":"code","b":[208,2],"m":"bne","oa":40010,"o":"r_9C4A"},{"a":40008,"t":"code","b":[230,99],"m":"inc","oa":99,"o":"pos_y_hi"},{"a":40010,"l":"r_9C4A","t":"code","b":[96],"m":"rts","x":[40006]},{"a":40011,"l":"b_9C4B","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[39927]},{"a":40013,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40015,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40017,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40019,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40021,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40023,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40025,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40027,"t":"code","b":[76,17,156],"m":"jmp","oa":39953,"o":"j_9C11"},{"a":40030,"l":"saved_cb","c":"Copy of $CB kept by $9C5F.","t":"byte","b":[0],"x":[40033,40154]},{"a":40031,"l":"move_climb_up","c":"Callers as $9A39. If $CB is set and differs from $1DB0,X, state 4 and $CC=1. Otherwise uses facing $1DB0,X and probes one pixel above the object at its leading corner using $ED/$EE (right/left) and $EB: open above moves up ($CC=$81, state $0C when nothing is under the trailing corner); blocked gives state 2 and clears $CB unless it was set.","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[45745,46554,47159,50613,51745,53122]},{"a":40033,"t":"code","b":[141,94,156],"m":"sta","oa":40030,"o":"saved_cb"},{"a":40036,"t":"code","b":[240,20],"m":"beq","oa":40058,"o":"b_9C7A"},{"a":40038,"t":"code","b":[221,176,29],"m":"cmp","oa":7600,"o":"obj_facing,x"},{"a":40041,"t":"code","b":[240,15],"m":"beq","oa":40058,"o":"b_9C7A"},{"a":40043,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":40045,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40048,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":40050,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":40052,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":40055,"t":"code","b":[76,184,153],"m":"jmp","oa":39352,"o":"next_y_from_cc"},{"a":40058,"l":"b_9C7A","t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb","x":[40036,40041]},{"a":40061,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":40064,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40066,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":40069,"t":"code","b":[56],"m":"sec"},{"a":40070,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":40072,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40074,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":40077,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":40079,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40081,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":40083,"t":"code","b":[48,79],"m":"bmi","oa":40164,"o":"b_9CE4"},{"a":40085,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":40087,"t":"code","b":[24],"m":"clc"},{"a":40088,"t":"code","b":[105,7],"m":"adc","o":"#$07"},{"a":40090,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40092,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40094,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40096,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40098,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40101,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3"},{"a":40103,"t":"code","b":[208,40],"m":"bne","oa":40145,"o":"b_9CD1"},{"a":40105,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":40108,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40110,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":40113,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40115,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40118,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40120,"t":"code","b":[240,16],"m":"beq","oa":40138,"o":"b_9CCA"},{"a":40122,"l":"b_9CBA","t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo","x":[40143,40211]},{"a":40124,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":40126,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":40128,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":40130,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":40133,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":40135,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":40137,"t":"code","b":[96],"m":"rts"},{"a":40138,"l":"b_9CCA","t":"code","b":[169,12],"m":"lda","o":"#$0C","x":[40120,40209]},{"a":40140,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40143,"t":"code","b":[16,233],"m":"bpl","oa":40122,"o":"b_9CBA"},{"a":40145,"l":"b_9CD1","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[40103,40186]},{"a":40147,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40150,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40152,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":40154,"t":"code","b":[173,94,156],"m":"lda","oa":40030,"o":"saved_cb"},{"a":40157,"t":"code","b":[208,4],"m":"bne","oa":40163,"o":"r_9CE3"},{"a":40159,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40161,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40163,"l":"r_9CE3","t":"code","b":[96],"m":"rts","x":[40157]},{"a":40164,"l":"b_9CE4","t":"code","b":[189,240,24],"m":"lda","oa":6384,"o":"obj_width,x","x":[40083]},{"a":40167,"t":"code","b":[56],"m":"sec"},{"a":40168,"t":"code","b":[233,7],"m":"sbc","o":"#$07"},{"a":40170,"t":"code","b":[24],"m":"clc"},{"a":40171,"t":"code","b":[101,96],"m":"adc","oa":96,"o":"pos_x_lo"},{"a":40173,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40175,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40177,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40179,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40181,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40184,"t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4"},{"a":40186,"t":"code","b":[208,213],"m":"bne","oa":40145,"o":"b_9CD1"},{"a":40188,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":40191,"t":"code","b":[24],"m":"clc"},{"a":40192,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":40195,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40197,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":40200,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40202,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40204,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40207,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40209,"t":"code","b":[240,183],"m":"beq","oa":40138,"o":"b_9CCA"},{"a":40211,"t":"code","b":[208,165],"m":"bne","oa":40122,"o":"b_9CBA"},{"a":40213,"l":"move_vertical","c":"Callers $C546, $C577, $C5C5, $CA27. Clears $75. With $CC set: moves Y ($99B8) and probes the head (up) or feet (down) at mid-width; $EC negative gives state 8, else $75=$FF and $CC=0. With $CC 0: when Y is not on an 8-pixel row forces $CC=$81; otherwise probes the corners ahead one pixel up (state 2 if blocked) and the centre ($EC positive gives state $0C).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[50502,50551,50629,51751]},{"a":40215,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":40217,"t":"code","b":[164,204],"m":"ldy","oa":204,"o":"move_y"},{"a":40219,"t":"code","b":[208,3],"m":"bne","oa":40224,"o":"b_9D20"},{"a":40221,"t":"code","b":[76,118,157],"m":"jmp","oa":40310,"o":"j_9D76"},{"a":40224,"l":"b_9D20","t":"code","b":[32,184,153],"m":"jsr","oa":39352,"o":"next_y_from_cc","x":[40219]},{"a":40227,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40229,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40231,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":40234,"t":"code","b":[189,240,24],"m":"lda","oa":6384,"o":"obj_width,x"},{"a":40237,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":40238,"t":"code","b":[24],"m":"clc"},{"a":40239,"t":"code","b":[125,112,27],"m":"adc","oa":7024,"o":"obj_x_lo,x"},{"a":40242,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40244,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40246,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40248,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40250,"t":"code","b":[152],"m":"tya"},{"a":40251,"t":"code","b":[48,36],"m":"bmi","oa":40289,"o":"b_9D61"},{"a":40253,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40255,"t":"code","b":[24],"m":"clc"},{"a":40256,"t":"code","b":[125,64,25],"m":"adc","oa":6464,"o":"obj_height,x"},{"a":40259,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40261,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40263,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40265,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40267,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40270,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40272,"t":"code","b":[16,6],"m":"bpl","oa":40280,"o":"b_9D58"},{"a":40274,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":40276,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40279,"t":"code","b":[96],"m":"rts"},{"a":40280,"l":"b_9D58","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[40272,40302,40337]},{"a":40282,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":40284,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40286,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":40288,"t":"code","b":[96],"m":"rts"},{"a":40289,"l":"b_9D61","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[40251]},{"a":40291,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40293,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40295,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40297,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40300,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40302,"t":"code","b":[16,232],"m":"bpl","oa":40280,"o":"b_9D58"},{"a":40304,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":40306,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40309,"t":"code","b":[96],"m":"rts"},{"a":40310,"l":"j_9D76","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[40221]},{"a":40313,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":40315,"t":"code","b":[240,12],"m":"beq","oa":40329,"o":"b_9D89"},{"a":40317,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40319,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40321,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":40323,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":40325,"t":"code","b":[32,184,153],"m":"jsr","oa":39352,"o":"next_y_from_cc"},{"a":40328,"t":"code","b":[96],"m":"rts"},{"a":40329,"l":"b_9D89","t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb","x":[40315]},{"a":40332,"t":"code","b":[32,184,153],"m":"jsr","oa":39352,"o":"next_y_from_cc"},{"a":40335,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":40337,"t":"code","b":[240,197],"m":"beq","oa":40280,"o":"b_9D58"},{"a":40339,"t":"code","b":[48,40],"m":"bmi","oa":40381,"o":"b_9DBD"},{"a":40341,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":40343,"t":"code","b":[24],"m":"clc"},{"a":40344,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":40347,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40349,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40351,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40353,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40355,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40357,"t":"code","b":[56],"m":"sec"},{"a":40358,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":40360,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40362,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40364,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":40366,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40368,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40371,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40373,"t":"code","b":[240,40],"m":"beq","oa":40415,"o":"b_9DDF"},{"a":40375,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":40377,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40380,"t":"code","b":[96],"m":"rts"},{"a":40381,"l":"b_9DBD","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40339]},{"a":40383,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40385,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40387,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40389,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40391,"t":"code","b":[56],"m":"sec"},{"a":40392,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":40394,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40396,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40398,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":40400,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40402,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40405,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40407,"t":"code","b":[240,6],"m":"beq","oa":40415,"o":"b_9DDF"},{"a":40409,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":40411,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40414,"t":"code","b":[96],"m":"rts"},{"a":40415,"l":"b_9DDF","t":"code","b":[189,240,24],"m":"lda","oa":6384,"o":"obj_width,x","x":[40373,40407]},{"a":40418,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":40419,"t":"code","b":[24],"m":"clc"},{"a":40420,"t":"code","b":[101,96],"m":"adc","oa":96,"o":"pos_x_lo"},{"a":40422,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40424,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40426,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40428,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40430,"t":"code","b":[189,64,25],"m":"lda","oa":6464,"o":"obj_height,x"},{"a":40433,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":40434,"t":"code","b":[24],"m":"clc"},{"a":40435,"t":"code","b":[101,98],"m":"adc","oa":98,"o":"pos_y_lo"},{"a":40437,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40439,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40441,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40443,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40445,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40448,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40450,"t":"code","b":[16,1],"m":"bpl","oa":40453,"o":"b_9E05"},{"a":40452,"t":"code","b":[96],"m":"rts"},{"a":40453,"l":"b_9E05","t":"code","b":[169,12],"m":"lda","o":"#$0C","x":[40450]},{"a":40455,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40458,"t":"code","b":[96],"m":"rts"},{"a":40459,"l":"y_fine_offset","c":"Y MOD 8 of the object, stored by $9E0C: 0 selects the $EB test, otherwise $ED/$EE.","t":"byte","b":[0],"x":[40465,40500,40531,40579,40610]},{"a":40460,"l":"move_slide_horizontal","c":"Callers $C5BF, $CA34. Probes the object's left and right edges at its current row (using $EB on a row boundary, $ED/$EE between rows) and nudges X one pixel towards the open side ($CB = 1 or $81), or $CB=0 when neither side decides.","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[50623,51764]},{"a":40463,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":40465,"t":"code","b":[141,11,158],"m":"sta","oa":40459,"o":"y_fine_offset"},{"a":40468,"t":"code","b":[32,184,153],"m":"jsr","oa":39352,"o":"next_y_from_cc"},{"a":40471,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40473,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40475,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40477,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40479,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":40482,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":40484,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":40487,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":40489,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":40491,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40493,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40495,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40497,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40500,"t":"code","b":[173,11,158],"m":"lda","oa":40459,"o":"y_fine_offset"},{"a":40503,"t":"code","b":[208,6],"m":"bne","oa":40511,"o":"b_9E3F"},{"a":40505,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40507,"t":"code","b":[240,53],"m":"beq","oa":40562,"o":"b_9E72"},{"a":40509,"t":"code","b":[208,4],"m":"bne","oa":40515,"o":"b_9E43"},{"a":40511,"l":"b_9E3F","t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3","x":[40503]},{"a":40513,"t":"code","b":[16,47],"m":"bpl","oa":40562,"o":"b_9E72"},{"a":40515,"l":"b_9E43","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40509]},{"a":40517,"t":"code","b":[24],"m":"clc"},{"a":40518,"t":"code","b":[105,7],"m":"adc","o":"#$07"},{"a":40520,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40522,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40524,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40526,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40528,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40531,"t":"code","b":[173,11,158],"m":"lda","oa":40459,"o":"y_fine_offset"},{"a":40534,"t":"code","b":[208,6],"m":"bne","oa":40542,"o":"b_9E5E"},{"a":40536,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40538,"t":"code","b":[240,6],"m":"beq","oa":40546,"o":"b_9E62"},{"a":40540,"t":"code","b":[208,96],"m":"bne","oa":40638,"o":"b_9EBE"},{"a":40542,"l":"b_9E5E","t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3","x":[40534]},{"a":40544,"t":"code","b":[48,92],"m":"bmi","oa":40638,"o":"b_9EBE"},{"a":40546,"l":"b_9E62","t":"code","b":[230,96],"m":"inc","oa":96,"o":"pos_x_lo","x":[40538]},{"a":40548,"t":"code","b":[208,2],"m":"bne","oa":40552,"o":"b_9E68"},{"a":40550,"t":"code","b":[230,97],"m":"inc","oa":97,"o":"pos_x_hi"},{"a":40552,"l":"b_9E68","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[40548]},{"a":40554,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40556,"t":"code","b":[96],"m":"rts"},{"a":40557,"l":"b_9E6D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[40586,40592]},{"a":40559,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40561,"t":"code","b":[96],"m":"rts"},{"a":40562,"l":"b_9E72","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40507,40513]},{"a":40564,"t":"code","b":[24],"m":"clc"},{"a":40565,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":40568,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40570,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40572,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40574,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40576,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40579,"t":"code","b":[173,11,158],"m":"lda","oa":40459,"o":"y_fine_offset"},{"a":40582,"t":"code","b":[208,6],"m":"bne","oa":40590,"o":"b_9E8E"},{"a":40584,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40586,"t":"code","b":[240,225],"m":"beq","oa":40557,"o":"b_9E6D"},{"a":40588,"t":"code","b":[208,4],"m":"bne","oa":40594,"o":"b_9E92"},{"a":40590,"l":"b_9E8E","t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4","x":[40582]},{"a":40592,"t":"code","b":[16,219],"m":"bpl","oa":40557,"o":"b_9E6D"},{"a":40594,"l":"b_9E92","t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo","x":[40588]},{"a":40596,"t":"code","b":[56],"m":"sec"},{"a":40597,"t":"code","b":[233,7],"m":"sbc","o":"#$07"},{"a":40599,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40601,"t":"code","b":[165,101],"m":"lda","oa":101,"o":"probe_x_hi"},{"a":40603,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":40605,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40607,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40610,"t":"code","b":[173,11,158],"m":"lda","oa":40459,"o":"y_fine_offset"},{"a":40613,"t":"code","b":[208,6],"m":"bne","oa":40621,"o":"b_9EAD"},{"a":40615,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"terrain_prop_1"},{"a":40617,"t":"code","b":[240,6],"m":"beq","oa":40625,"o":"b_9EB1"},{"a":40619,"t":"code","b":[208,17],"m":"bne","oa":40638,"o":"b_9EBE"},{"a":40621,"l":"b_9EAD","t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4","x":[40613]},{"a":40623,"t":"code","b":[48,13],"m":"bmi","oa":40638,"o":"b_9EBE"},{"a":40625,"l":"b_9EB1","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40617]},{"a":40627,"t":"code","b":[208,2],"m":"bne","oa":40631,"o":"b_9EB7"},{"a":40629,"t":"code","b":[198,97],"m":"dec","oa":97,"o":"pos_x_hi"},{"a":40631,"l":"b_9EB7","t":"code","b":[198,96],"m":"dec","oa":96,"o":"pos_x_lo","x":[40627]},{"a":40633,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":40635,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40637,"t":"code","b":[96],"m":"rts"},{"a":40638,"l":"b_9EBE","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[40540,40544,40619,40623]},{"a":40640,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":40643,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":40645,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":40647,"t":"code","b":[96],"m":"rts"},{"a":40648,"l":"move_object_general","c":"Callers $A103, $A738, $A779, $A79B, $CCF9; body continues past $A000. Clears $75, moves X ($9985) and Y ($99B8) and probes the leading corners in the direction of $CB/$CC with $EB-$EE, setting $75 to $80 or $FF when blocked and stopping the move. Full semantics not traced here.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[41219,42808,42873,42907,52473]},{"a":40650,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":40652,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":40655,"t":"code","b":[32,184,153],"m":"jsr","oa":39352,"o":"next_y_from_cc"},{"a":40658,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":40660,"t":"code","b":[16,3],"m":"bpl","oa":40665,"o":"b_9ED9"},{"a":40662,"t":"code","b":[76,159,159],"m":"jmp","oa":40863,"o":"j_9F9F"},{"a":40665,"l":"b_9ED9","t":"code","b":[208,3],"m":"bne","oa":40670,"o":"b_9EDE","x":[40660]},{"a":40667,"t":"code","b":[76,102,160],"m":"jmp","oa":41062,"o":"move_check_vertical"},{"a":40670,"l":"b_9EDE","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40665]},{"a":40672,"t":"code","b":[24],"m":"clc"},{"a":40673,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":40676,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40678,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40680,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40682,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40684,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":40686,"t":"code","b":[48,5],"m":"bmi","oa":40693,"o":"b_9EF5"},{"a":40688,"t":"code","b":[208,74],"m":"bne","oa":40764,"o":"b_9F3C"},{"a":40690,"t":"code","b":[76,122,159],"m":"jmp","oa":40826,"o":"j_9F7A"},{"a":40693,"l":"b_9EF5","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[40686]},{"a":40695,"t":"code","b":[24],"m":"clc"},{"a":40696,"t":"code","b":[125,64,25],"m":"adc","oa":6464,"o":"obj_height,x"},{"a":40699,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40701,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40703,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40705,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40707,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40710,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40712,"t":"code","b":[240,102],"m":"beq","oa":40816,"o":"b_9F70"},{"a":40714,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40716,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40718,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40720,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40722,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40725,"t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4"},{"a":40727,"t":"code","b":[240,19],"m":"beq","oa":40748,"o":"b_9F2C"},{"a":40729,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":40732,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40734,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":40737,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40739,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40742,"t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4"},{"a":40744,"t":"code","b":[240,75],"m":"beq","oa":40821,"o":"b_9F75"},{"a":40746,"t":"code","b":[208,68],"m":"bne","oa":40816,"o":"b_9F70"},{"a":40748,"l":"b_9F2C","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40727]},{"a":40750,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40752,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40754,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40756,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40759,"t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4"},{"a":40761,"t":"code","b":[208,58],"m":"bne","oa":40821,"o":"b_9F75"},{"a":40763,"t":"code","b":[96],"m":"rts"},{"a":40764,"l":"b_9F3C","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[40688]},{"a":40766,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40768,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40770,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40772,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40775,"t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4"},{"a":40777,"t":"code","b":[48,37],"m":"bmi","oa":40816,"o":"b_9F70"},{"a":40779,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40781,"t":"code","b":[24],"m":"clc"},{"a":40782,"t":"code","b":[125,64,25],"m":"adc","oa":6464,"o":"obj_height,x"},{"a":40785,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40787,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40789,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40791,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40793,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40796,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40798,"t":"code","b":[240,16],"m":"beq","oa":40816,"o":"b_9F70"},{"a":40800,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":40802,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40804,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40806,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40808,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40811,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40813,"t":"code","b":[240,1],"m":"beq","oa":40816,"o":"b_9F70"},{"a":40815,"t":"code","b":[96],"m":"rts"},{"a":40816,"l":"b_9F70","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[40712,40746,40777,40798,40813,40839,40860,40899]},{"a":40818,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":40820,"t":"code","b":[96],"m":"rts"},{"a":40821,"l":"b_9F75","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[40744,40761]},{"a":40823,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":40825,"t":"code","b":[96],"m":"rts"},{"a":40826,"l":"j_9F7A","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[40690]},{"a":40828,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40830,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40832,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40834,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40837,"t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4"},{"a":40839,"t":"code","b":[48,231],"m":"bmi","oa":40816,"o":"b_9F70"},{"a":40841,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40843,"t":"code","b":[24],"m":"clc"},{"a":40844,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":40847,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40849,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40851,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40853,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40855,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40858,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40860,"t":"code","b":[240,210],"m":"beq","oa":40816,"o":"b_9F70"},{"a":40862,"t":"code","b":[96],"m":"rts"},{"a":40863,"l":"j_9F9F","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40662]},{"a":40865,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40867,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40869,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40871,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":40873,"t":"code","b":[48,5],"m":"bmi","oa":40880,"o":"b_9FB0"},{"a":40875,"t":"code","b":[208,80],"m":"bne","oa":40957,"o":"b_9FFD"},{"a":40877,"t":"code","b":[76,65,160],"m":"jmp","oa":41025,"o":"move_check_left_level"},{"a":40880,"l":"b_9FB0","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[40873]},{"a":40882,"t":"code","b":[24],"m":"clc"},{"a":40883,"t":"code","b":[125,64,25],"m":"adc","oa":6464,"o":"obj_height,x"},{"a":40886,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40888,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40890,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40892,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40894,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40897,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40899,"t":"code","b":[240,171],"m":"beq","oa":40816,"o":"b_9F70"},{"a":40901,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40903,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40905,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40907,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40909,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40912,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3"},{"a":40914,"t":"code","b":[240,19],"m":"beq","oa":40935,"o":"b_9FE7"},{"a":40916,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":40919,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40921,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":40924,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40926,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40929,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3"},{"a":40931,"t":"code","b":[240,87],"m":"beq","oa":41020,"o":"move_blocked_ff"},{"a":40933,"t":"code","b":[208,80],"m":"bne","oa":41015,"o":"move_blocked_80"},{"a":40935,"l":"b_9FE7","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[40914]},{"a":40937,"t":"code","b":[24],"m":"clc"},{"a":40938,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":40941,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":40943,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":40945,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40947,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":40949,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40952,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3"},{"a":40954,"t":"code","b":[208,64],"m":"bne","oa":41020,"o":"move_blocked_ff"},{"a":40956,"t":"code","b":[96],"m":"rts"},{"a":40957,"l":"b_9FFD","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[40875]},{"a":40959,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40961,"l":"move_check_tail","c":"Tail of the object move/collision test s_9EC8 (entered from $9FFD with the up/left case): probes the map with j_990D at the object's next position ($64-$67 = x,y) using the per-object size tables $18F0 (width) and $1940 (height) and the tile flags $EC/$ED/$EE it returns; leaves $75 = 0 when the move is clear.","t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40963,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40965,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40968,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3"},{"a":40970,"t":"code","b":[48,43],"m":"bmi","oa":41015,"o":"move_blocked_80"},{"a":40972,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":40974,"t":"code","b":[24],"m":"clc"},{"a":40975,"t":"code","b":[125,64,25],"m":"adc","oa":6464,"o":"obj_height,x"},{"a":40978,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":40980,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":40982,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40984,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":40986,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":40989,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":40991,"t":"code","b":[240,22],"m":"beq","oa":41015,"o":"move_blocked_80"},{"a":40993,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":40995,"t":"code","b":[24],"m":"clc"},{"a":40996,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":40999,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41001,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":41003,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41005,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41007,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":41010,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":41012,"t":"code","b":[240,1],"m":"beq","oa":41015,"o":"move_blocked_80"},{"a":41014,"t":"code","b":[96],"m":"rts"},{"a":41015,"l":"move_blocked_80","c":"Shared exit of the move test: $75 = $80 (move refused by the solid-tile test, flags $EC/$ED). Callers read $75 as negative = cannot move.","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[40933,40970,40991,41012,41038,41059]},{"a":41017,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":41019,"t":"code","b":[96],"m":"rts"},{"a":41020,"l":"move_blocked_ff","c":"Shared exit of the move test: $75 = $FF (move refused by the other flag test, $ED/$EE). What distinguishes $FF from $80 in play is not established; A0D4 treats $80 as landing and $FF as a stop.","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[40931,40954,41089,41110,41142,41166]},{"a":41022,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":41024,"t":"code","b":[96],"m":"rts"},{"a":41025,"l":"move_check_left_level","c":"Move test, left with no vertical component (from $9FAD): checks the tile at the object's top-left and bottom-left edges ($18F0 width) via j_990D; $75 = $80 if blocked.","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[40877]},{"a":41027,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":41029,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":41031,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":41033,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":41036,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3"},{"a":41038,"t":"code","b":[48,231],"m":"bmi","oa":41015,"o":"move_blocked_80"},{"a":41040,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":41042,"t":"code","b":[24],"m":"clc"},{"a":41043,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":41046,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":41048,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":41050,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41052,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":41054,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":41057,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":41059,"t":"code","b":[240,210],"m":"beq","oa":41015,"o":"move_blocked_80"},{"a":41061,"t":"code","b":[96],"m":"rts"},{"a":41062,"l":"move_check_vertical","c":"Move test for a purely vertical move ($CB = 0, from $9EDB): $CC positive = up, negative = down; probes both bottom corners (down) or top corners with $1940 height (up) through j_990D and sets $75 = $FF if blocked.","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[40667]},{"a":41064,"t":"code","b":[240,103],"m":"beq","oa":41169,"o":"r_A0D1"},{"a":41066,"t":"code","b":[16,45],"m":"bpl","oa":41113,"o":"b_A099"},{"a":41068,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":41070,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41072,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":41074,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41076,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":41078,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":41080,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":41082,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":41084,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":41087,"t":"code","b":[165,237],"m":"lda","oa":237,"o":"terrain_prop_3"},{"a":41089,"t":"code","b":[208,185],"m":"bne","oa":41020,"o":"move_blocked_ff"},{"a":41091,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":41093,"t":"code","b":[24],"m":"clc"},{"a":41094,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":41097,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41099,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":41101,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41103,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41105,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":41108,"t":"code","b":[165,238],"m":"lda","oa":238,"o":"terrain_prop_4"},{"a":41110,"t":"code","b":[208,164],"m":"bne","oa":41020,"o":"move_blocked_ff"},{"a":41112,"t":"code","b":[96],"m":"rts"},{"a":41113,"l":"b_A099","t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo","x":[41066]},{"a":41115,"t":"code","b":[24],"m":"clc"},{"a":41116,"t":"code","b":[125,64,25],"m":"adc","oa":6464,"o":"obj_height,x"},{"a":41119,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":41121,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":41123,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41125,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":41127,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":41129,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41131,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":41133,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41135,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":41138,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":41140,"t":"code","b":[208,3],"m":"bne","oa":41145,"o":"b_A0B9"},{"a":41142,"t":"code","b":[76,60,160],"m":"jmp","oa":41020,"o":"move_blocked_ff"},{"a":41145,"l":"b_A0B9","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[41140]},{"a":41147,"t":"code","b":[24],"m":"clc"},{"a":41148,"t":"code","b":[125,240,24],"m":"adc","oa":6384,"o":"obj_width,x"},{"a":41151,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41153,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":41155,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41157,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41159,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":41162,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":41164,"t":"code","b":[208,3],"m":"bne","oa":41169,"o":"r_A0D1"},{"a":41166,"t":"code","b":[76,60,160],"m":"jmp","oa":41020,"o":"move_blocked_ff"},{"a":41169,"l":"r_A0D1","t":"code","b":[96],"m":"rts","x":[41064,41164]},{"a":41170,"l":"jump_frame_count","c":"Frame counter of the jump arc run by jump_arc_step: 0 = not jumping; counts up each frame; reset to 0 on landing. Also read at $9A05 and $CA07.","t":"byte","b":[0],"x":[39429,41176,41209,41228,51719]},{"a":41171,"l":"jump_saved_horizontal","c":"Horizontal direction ($CB) latched at take-off by jump_arc_step and reimposed every frame of the jump, so the direction cannot change in mid air.","t":"byte","b":[0],"x":[41183,41214]},{"a":41172,"l":"jump_arc_step","c":"One frame of a jump for object X (called from $CA44): on the first frame latches $CB and sets $1B20 (object 0 state) = $0A; vertical $CC = $01 (up) for frames 0-23, 0 for frames 24-39, then $81 (down) until blocked; moves through s_9EC8. On landing ($75 = $80) or $FF, clears the counter, stops $CC (and $CB on $80) and sets state $1B20,X = $0C.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[51780]},{"a":41174,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":41176,"t":"code","b":[172,210,160],"m":"ldy","oa":41170,"o":"jump_frame_count"},{"a":41179,"t":"code","b":[208,10],"m":"bne","oa":41191,"o":"b_A0E7"},{"a":41181,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":41183,"t":"code","b":[141,211,160],"m":"sta","oa":41171,"o":"jump_saved_horizontal"},{"a":41186,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":41188,"t":"code","b":[141,32,27],"m":"sta","oa":6944,"o":"obj_state"},{"a":41191,"l":"b_A0E7","t":"code","b":[192,24],"m":"cpy","o":"#$18","x":[41179]},{"a":41193,"t":"code","b":[144,8],"m":"bcc","oa":41203,"o":"b_A0F3"},{"a":41195,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":41197,"t":"code","b":[144,8],"m":"bcc","oa":41207,"o":"b_A0F7"},{"a":41199,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":41201,"t":"code","b":[48,9],"m":"bmi","oa":41212,"o":"b_A0FC"},{"a":41203,"l":"b_A0F3","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[41193]},{"a":41205,"t":"code","b":[16,2],"m":"bpl","oa":41209,"o":"b_A0F9"},{"a":41207,"l":"b_A0F7","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[41197]},{"a":41209,"l":"b_A0F9","t":"code","b":[238,210,160],"m":"inc","oa":41170,"o":"jump_frame_count","x":[41205]},{"a":41212,"l":"b_A0FC","t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y","x":[41201]},{"a":41214,"t":"code","b":[173,211,160],"m":"lda","oa":41171,"o":"jump_saved_horizontal"},{"a":41217,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":41219,"t":"code","b":[32,200,158],"m":"jsr","oa":40648,"o":"move_object_general"},{"a":41222,"t":"code","b":[164,117],"m":"ldy","oa":117,"o":"move_blocked"},{"a":41224,"t":"code","b":[16,20],"m":"bpl","oa":41246,"o":"r_A11E"},{"a":41226,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41228,"t":"code","b":[141,210,160],"m":"sta","oa":41170,"o":"jump_frame_count"},{"a":41231,"t":"code","b":[192,128],"m":"cpy","o":"#$80"},{"a":41233,"t":"code","b":[240,12],"m":"beq","oa":41247,"o":"b_A11F"},{"a":41235,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41237,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":41239,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":41241,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":41243,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":41246,"l":"r_A11E","t":"code","b":[96],"m":"rts","x":[41224]},{"a":41247,"l":"b_A11F","t":"code","b":[169,12],"m":"lda","o":"#$0C","x":[41233]},{"a":41249,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":41252,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41254,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":41256,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":41258,"t":"code","b":[96],"m":"rts"},{"a":41259,"l":"unused_byte_a12b","c":"One zero byte between jump_arc_step and the lift stop tables; no reference found by address search.","t":"byte","b":[0]},{"a":41260,"l":"lift_stop_y_lo","c":"Lift (object $0E) stop positions, Y low byte, indexed by the stop number $F9 (0-7). Pairs with lift_stop_y_hi: Y = $0140,$01E0,$0300,$0400,$0440,$0480,$04C0,$0640.","t":"byte","b":[64,224,0,0,64,128,192,64],"x":[41291]},{"a":41268,"l":"lift_stop_y_hi","c":"Lift (object $0E) stop positions, Y high byte, indexed by $F9 (0-7); see lift_stop_y_lo.","t":"byte","b":[1,1,3,4,4,4,4,6],"x":[41299]},{"a":41276,"l":"lift_update","c":"Main-loop subsystem: the vertical lift, object $0E. While moving ($1B20+$0E <> 0) it steps Y by 2 in direction $F8 (via lift_step_y), carrying the Doctor (object 0) when $F7 is set; on reaching the stop in lift_stop_y_lo/hi[$F9] it plays sound $16, sets pause timer $FA = $7F, stops, and chooses the next stop (bounces between stop 0 and stop 7, $F8 = $02 up / $82 down). While stopped it counts $FA down; at $FA = 5 lift_check_board tests whether the Doctor is standing on it; at 0 it restarts. Every frame it ends in j_81DA (sprite update for X).","t":"code","b":[162,14],"m":"ldx","o":"#$0E","x":[29838]},{"a":41278,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":41281,"t":"code","b":[208,3],"m":"bne","oa":41286,"o":"b_A146"},{"a":41283,"t":"code","b":[76,184,161],"m":"jmp","oa":41400,"o":"j_A1B8"},{"a":41286,"l":"b_A146","t":"code","b":[164,249],"m":"ldy","oa":249,"o":"lift_stop","x":[41281]},{"a":41288,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":41291,"t":"code","b":[217,44,161],"m":"cmp","oa":41260,"o":"lift_stop_y_lo,y"},{"a":41294,"t":"code","b":[208,65],"m":"bne","oa":41361,"o":"b_A191"},{"a":41296,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":41299,"t":"code","b":[217,52,161],"m":"cmp","oa":41268,"o":"lift_stop_y_hi,y"},{"a":41302,"t":"code","b":[208,57],"m":"bne","oa":41361,"o":"b_A191"},{"a":41304,"t":"code","b":[160,22],"m":"ldy","o":"#$16"},{"a":41306,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":41309,"t":"code","b":[169,127],"m":"lda","o":"#$7F"},{"a":41311,"t":"code","b":[133,250],"m":"sta","oa":250,"o":"lift_wait"},{"a":41313,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41315,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":41318,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41320,"t":"code","b":[133,247],"m":"sta","oa":247,"o":"lift_riding"},{"a":41322,"t":"code","b":[141,176,28],"m":"sta","oa":7344,"o":"obj_flags"},{"a":41325,"t":"code","b":[165,248],"m":"lda","oa":248,"o":"lift_dir"},{"a":41327,"t":"code","b":[48,17],"m":"bmi","oa":41346,"o":"b_A182"},{"a":41329,"t":"code","b":[165,249],"m":"lda","oa":249,"o":"lift_stop"},{"a":41331,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":41333,"t":"code","b":[208,15],"m":"bne","oa":41350,"o":"b_A186"},{"a":41335,"l":"b_A177","t":"code","b":[169,130],"m":"lda","o":"#$82","x":[41348]},{"a":41337,"t":"code","b":[133,248],"m":"sta","oa":248,"o":"lift_dir"},{"a":41339,"t":"code","b":[198,249],"m":"dec","oa":249,"o":"lift_stop"},{"a":41341,"t":"code","b":[162,14],"m":"ldx","o":"#$0E"},{"a":41343,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41346,"l":"b_A182","t":"code","b":[165,249],"m":"lda","oa":249,"o":"lift_stop","x":[41327]},{"a":41348,"t":"code","b":[208,241],"m":"bne","oa":41335,"o":"b_A177"},{"a":41350,"l":"b_A186","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[41333]},{"a":41352,"t":"code","b":[133,248],"m":"sta","oa":248,"o":"lift_dir"},{"a":41354,"t":"code","b":[230,249],"m":"inc","oa":249,"o":"lift_stop"},{"a":41356,"t":"code","b":[162,14],"m":"ldx","o":"#$0E"},{"a":41358,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41361,"l":"b_A191","t":"code","b":[165,248],"m":"lda","oa":248,"o":"lift_dir","x":[41294,41302]},{"a":41363,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":41365,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41367,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":41369,"t":"code","b":[165,247],"m":"lda","oa":247,"o":"lift_riding"},{"a":41371,"t":"code","b":[240,19],"m":"beq","oa":41392,"o":"b_A1B0"},{"a":41373,"t":"code","b":[32,171,136],"m":"jsr","oa":34987,"o":"scroll_decide_motion"},{"a":41376,"t":"code","b":[32,62,138],"m":"jsr","oa":35390,"o":"apply_motion_and_view"},{"a":41379,"t":"code","b":[165,112],"m":"lda","oa":112,"o":"scroll_block_y"},{"a":41381,"t":"code","b":[240,4],"m":"beq","oa":41387,"o":"b_A1AB"},{"a":41383,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41385,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":41387,"l":"b_A1AB","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[41381]},{"a":41389,"t":"code","b":[32,40,162],"m":"jsr","oa":41512,"o":"lift_step_y"},{"a":41392,"l":"b_A1B0","t":"code","b":[162,14],"m":"ldx","o":"#$0E","x":[41371]},{"a":41394,"t":"code","b":[32,40,162],"m":"jsr","oa":41512,"o":"lift_step_y"},{"a":41397,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41400,"l":"j_A1B8","t":"code","b":[165,250],"m":"lda","oa":250,"o":"lift_wait","x":[41283]},{"a":41402,"t":"code","b":[240,12],"m":"beq","oa":41416,"o":"b_A1C8"},{"a":41404,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":41406,"t":"code","b":[240,22],"m":"beq","oa":41430,"o":"b_A1D6"},{"a":41408,"t":"code","b":[198,250],"m":"dec","oa":250,"o":"lift_wait"},{"a":41410,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":41413,"t":"code","b":[76,241,161],"m":"jmp","oa":41457,"o":"lift_doctor_near"},{"a":41416,"l":"b_A1C8","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[41402]},{"a":41418,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":41421,"t":"code","b":[165,247],"m":"lda","oa":247,"o":"lift_riding"},{"a":41423,"t":"code","b":[208,2],"m":"bne","oa":41427,"o":"b_A1D3"},{"a":41425,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"busy_flag"},{"a":41427,"l":"b_A1D3","t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object","x":[41423]},{"a":41430,"l":"b_A1D6","t":"code","b":[198,250],"m":"dec","oa":250,"o":"lift_wait","x":[41406]},{"a":41432,"t":"code","b":[173,32,27],"m":"lda","oa":6944,"o":"obj_state"},{"a":41435,"t":"code","b":[72],"m":"pha"},{"a":41436,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":41438,"t":"code","b":[32,82,162],"m":"jsr","oa":41554,"o":"lift_check_board"},{"a":41441,"t":"code","b":[240,5],"m":"beq","oa":41448,"o":"b_A1E8"},{"a":41443,"t":"code","b":[133,247],"m":"sta","oa":247,"o":"lift_riding"},{"a":41445,"t":"code","b":[141,176,28],"m":"sta","oa":7344,"o":"obj_flags"},{"a":41448,"l":"b_A1E8","t":"code","b":[104],"m":"pla","x":[41441]},{"a":41449,"t":"code","b":[141,32,27],"m":"sta","oa":6944,"o":"obj_state"},{"a":41452,"t":"code","b":[162,14],"m":"ldx","o":"#$0E"},{"a":41454,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41457,"l":"lift_doctor_near","c":"Sets $E0 = $FF when the Doctor (object 0) is within $3C horizontally and $10 vertically of the lift (object $0E, offset 7,8 pixels), else $E0 = 0. $E0 <> 0 suppresses the pocket keys in status_and_pockets.","t":"code","b":[162,14],"m":"ldx","o":"#$0E","x":[41413]},{"a":41459,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":41461,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41463,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":41465,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41467,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":41470,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":41472,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":41475,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":41477,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":41479,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":41482,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":41484,"t":"code","b":[208,21],"m":"bne","oa":41507,"o":"b_A223"},{"a":41486,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":41488,"t":"code","b":[201,60],"m":"cmp","o":"#$3C"},{"a":41490,"t":"code","b":[176,15],"m":"bcs","oa":41507,"o":"b_A223"},{"a":41492,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":41494,"t":"code","b":[208,11],"m":"bne","oa":41507,"o":"b_A223"},{"a":41496,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":41498,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":41500,"t":"code","b":[176,5],"m":"bcs","oa":41507,"o":"b_A223"},{"a":41502,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":41504,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"busy_flag"},{"a":41506,"t":"code","b":[96],"m":"rts"},{"a":41507,"l":"b_A223","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[41484,41490,41494,41500]},{"a":41509,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"busy_flag"},{"a":41511,"t":"code","b":[96],"m":"rts"},{"a":41512,"l":"lift_step_y","c":"Moves object X two pixels vertically: $CC positive adds 2 to Y ($1C10/$1C60), negative subtracts 2, zero does nothing. Used by the lift for itself and for the Doctor riding it.","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[41389,41394]},{"a":41514,"t":"code","b":[240,19],"m":"beq","oa":41535,"o":"r_A23F"},{"a":41516,"t":"code","b":[48,18],"m":"bmi","oa":41536,"o":"b_A240"},{"a":41518,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":41521,"t":"code","b":[24],"m":"clc"},{"a":41522,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":41524,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":41527,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":41530,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41532,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":41535,"l":"r_A23F","t":"code","b":[96],"m":"rts","x":[41514]},{"a":41536,"l":"b_A240","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[41516]},{"a":41539,"t":"code","b":[56],"m":"sec"},{"a":41540,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":41542,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":41545,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":41548,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":41550,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":41553,"t":"code","b":[96],"m":"rts"},{"a":41554,"l":"lift_check_board","c":"Tests whether the Doctor (object X=0) stands on the lift (object $0E): within $96/$64 plays sound $16 (s_C7C7, only if $1B2E set), and if |dx| < $12 and |dy| = 8 exactly sets $1B20,X = 2, stops $CC and returns A = $FF (boarded); otherwise stops sound $16 when far and returns 0. Preserves $DA. Also called from $CAC8.","t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi","x":[41438,51912]},{"a":41556,"t":"code","b":[72],"m":"pha"},{"a":41557,"t":"code","b":[160,14],"m":"ldy","o":"#$0E"},{"a":41559,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":41561,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41563,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":41565,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41567,"t":"code","b":[185,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,y"},{"a":41570,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":41572,"t":"code","b":[185,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,y"},{"a":41575,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":41577,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":41580,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":41582,"t":"code","b":[208,53],"m":"bne","oa":41637,"o":"b_A2A5"},{"a":41584,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":41586,"t":"code","b":[208,49],"m":"bne","oa":41637,"o":"b_A2A5"},{"a":41588,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":41590,"t":"code","b":[201,150],"m":"cmp","o":"#$96"},{"a":41592,"t":"code","b":[176,43],"m":"bcs","oa":41637,"o":"b_A2A5"},{"a":41594,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":41596,"t":"code","b":[201,100],"m":"cmp","o":"#$64"},{"a":41598,"t":"code","b":[176,37],"m":"bcs","oa":41637,"o":"b_A2A5"},{"a":41600,"t":"code","b":[173,46,27],"m":"lda","oa":6958,"o":"obj_state_0e"},{"a":41603,"t":"code","b":[240,5],"m":"beq","oa":41610,"o":"b_A28A"},{"a":41605,"t":"code","b":[160,22],"m":"ldy","o":"#$16"},{"a":41607,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":41610,"l":"b_A28A","t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo","x":[41603]},{"a":41612,"t":"code","b":[201,18],"m":"cmp","o":"#$12"},{"a":41614,"t":"code","b":[176,26],"m":"bcs","oa":41642,"o":"b_A2AA"},{"a":41616,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":41618,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":41620,"t":"code","b":[208,20],"m":"bne","oa":41642,"o":"b_A2AA"},{"a":41622,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":41624,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":41627,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41629,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":41631,"t":"code","b":[104],"m":"pla"},{"a":41632,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"dist_x_hi"},{"a":41634,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":41636,"t":"code","b":[96],"m":"rts"},{"a":41637,"l":"b_A2A5","t":"code","b":[169,22],"m":"lda","o":"#$16","x":[41582,41586,41592,41598]},{"a":41639,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":41642,"l":"b_A2AA","t":"code","b":[104],"m":"pla","x":[41614,41620]},{"a":41643,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"dist_x_hi"},{"a":41645,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41647,"t":"code","b":[96],"m":"rts"},{"a":41648,"l":"truck_stop_x_lo","c":"Horizontal mover (object $0F) end positions, X low byte, indexed by $FD (0-3): X = $0228,$0708,$0888,$0E48 with truck_stop_x_hi. $FD 0/1 is one track, 2/3 (via Y=3) the other.","t":"byte","b":[40,8,136,72],"x":[41686,41715]},{"a":41652,"l":"truck_stop_x_hi","c":"Horizontal mover (object $0F) end positions, X high byte, indexed by $FD; see truck_stop_x_lo.","t":"byte","b":[2,7,8,14],"x":[41692,41723]},{"a":41656,"l":"truck_return","c":"RTS used as the early exit of truck_update when zone $56 is 0.","t":"code","b":[96],"m":"rts","x":[41700]},{"a":41657,"l":"truck_update","c":"Main-loop subsystem: the horizontal carrier, object $0F. First picks which of two tracks it serves from the mover's own X high byte ($1BC0+$0F < 8: stops 0/1, else stops 2/3, only on a change of track). Does nothing while zone $56 = 0. Moving: steps X by 2 in direction $FC, carrying the Doctor while $FB is set; plays sound $17 while the Doctor is within $96/$64. At an end stop: sound $17 off, pause $FE = $BE, flips $FD bit 0 and reverses $FC. At pause 5, truck_check_board decides whether the Doctor is aboard. Ends in j_81DA.","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[29870]},{"a":41659,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":41662,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":41664,"t":"code","b":[176,10],"m":"bcs","oa":41676,"o":"b_A2CC"},{"a":41666,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"car_stop"},{"a":41668,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":41670,"t":"code","b":[240,26],"m":"beq","oa":41698,"o":"b_A2E2"},{"a":41672,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41674,"t":"code","b":[240,8],"m":"beq","oa":41684,"o":"b_A2D4"},{"a":41676,"l":"b_A2CC","t":"code","b":[165,253],"m":"lda","oa":253,"o":"car_stop","x":[41664]},{"a":41678,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":41680,"t":"code","b":[208,16],"m":"bne","oa":41698,"o":"b_A2E2"},{"a":41682,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":41684,"l":"b_A2D4","t":"code","b":[132,253],"m":"sty","oa":253,"o":"car_stop","x":[41674]},{"a":41686,"t":"code","b":[185,176,162],"m":"lda","oa":41648,"o":"truck_stop_x_lo,y"},{"a":41689,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":41692,"t":"code","b":[185,180,162],"m":"lda","oa":41652,"o":"truck_stop_x_hi,y"},{"a":41695,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":41698,"l":"b_A2E2","t":"code","b":[165,86],"m":"lda","oa":86,"o":"zone","x":[41670,41680]},{"a":41700,"t":"code","b":[240,210],"m":"beq","oa":41656,"o":"truck_return"},{"a":41702,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":41705,"t":"code","b":[208,3],"m":"bne","oa":41710,"o":"b_A2EE"},{"a":41707,"t":"code","b":[76,128,163],"m":"jmp","oa":41856,"o":"j_A380"},{"a":41710,"l":"b_A2EE","t":"code","b":[164,253],"m":"ldy","oa":253,"o":"car_stop","x":[41705]},{"a":41712,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":41715,"t":"code","b":[217,176,162],"m":"cmp","oa":41648,"o":"truck_stop_x_lo,y"},{"a":41718,"t":"code","b":[208,54],"m":"bne","oa":41774,"o":"b_A32E"},{"a":41720,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":41723,"t":"code","b":[217,180,162],"m":"cmp","oa":41652,"o":"truck_stop_x_hi,y"},{"a":41726,"t":"code","b":[208,46],"m":"bne","oa":41774,"o":"b_A32E"},{"a":41728,"t":"code","b":[160,23],"m":"ldy","o":"#$17"},{"a":41730,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":41733,"t":"code","b":[169,190],"m":"lda","o":"#$BE"},{"a":41735,"t":"code","b":[133,254],"m":"sta","oa":254,"o":"car_wait"},{"a":41737,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41739,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":41742,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41744,"t":"code","b":[133,251],"m":"sta","oa":251,"o":"car_riding"},{"a":41746,"t":"code","b":[141,176,28],"m":"sta","oa":7344,"o":"obj_flags"},{"a":41749,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"car_stop"},{"a":41751,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":41753,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"car_stop"},{"a":41755,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":41757,"t":"code","b":[240,6],"m":"beq","oa":41765,"o":"b_A325"},{"a":41759,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":41761,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"car_dir"},{"a":41763,"t":"code","b":[16,4],"m":"bpl","oa":41769,"o":"b_A329"},{"a":41765,"l":"b_A325","t":"code","b":[169,130],"m":"lda","o":"#$82","x":[41757]},{"a":41767,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"car_dir"},{"a":41769,"l":"b_A329","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[41763]},{"a":41771,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41774,"l":"b_A32E","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[41718,41726]},{"a":41776,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":41779,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":41781,"t":"code","b":[208,24],"m":"bne","oa":41807,"o":"b_A34F"},{"a":41783,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":41785,"t":"code","b":[208,20],"m":"bne","oa":41807,"o":"b_A34F"},{"a":41787,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":41789,"t":"code","b":[201,150],"m":"cmp","o":"#$96"},{"a":41791,"t":"code","b":[176,14],"m":"bcs","oa":41807,"o":"b_A34F"},{"a":41793,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":41795,"t":"code","b":[201,100],"m":"cmp","o":"#$64"},{"a":41797,"t":"code","b":[176,8],"m":"bcs","oa":41807,"o":"b_A34F"},{"a":41799,"t":"code","b":[160,23],"m":"ldy","o":"#$17"},{"a":41801,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":41804,"t":"code","b":[76,84,163],"m":"jmp","oa":41812,"o":"j_A354"},{"a":41807,"l":"b_A34F","t":"code","b":[160,23],"m":"ldy","o":"#$17","x":[41781,41785,41791,41797]},{"a":41809,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":41812,"l":"j_A354","t":"code","b":[165,252],"m":"lda","oa":252,"o":"car_dir","x":[41804]},{"a":41814,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":41816,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41818,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":41820,"t":"code","b":[165,251],"m":"lda","oa":251,"o":"car_riding"},{"a":41822,"t":"code","b":[240,24],"m":"beq","oa":41848,"o":"b_A378"},{"a":41824,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":41826,"t":"code","b":[141,176,28],"m":"sta","oa":7344,"o":"obj_flags"},{"a":41829,"t":"code","b":[32,171,136],"m":"jsr","oa":34987,"o":"scroll_decide_motion"},{"a":41832,"t":"code","b":[32,62,138],"m":"jsr","oa":35390,"o":"apply_motion_and_view"},{"a":41835,"t":"code","b":[165,111],"m":"lda","oa":111,"o":"scroll_block_x"},{"a":41837,"t":"code","b":[240,9],"m":"beq","oa":41848,"o":"b_A378"},{"a":41839,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41841,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":41843,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":41845,"t":"code","b":[32,209,163],"m":"jsr","oa":41937,"o":"truck_step_x"},{"a":41848,"l":"b_A378","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[41822,41837]},{"a":41850,"t":"code","b":[32,209,163],"m":"jsr","oa":41937,"o":"truck_step_x"},{"a":41853,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41856,"l":"j_A380","t":"code","b":[165,254],"m":"lda","oa":254,"o":"car_wait","x":[41707]},{"a":41858,"t":"code","b":[240,9],"m":"beq","oa":41869,"o":"b_A38D"},{"a":41860,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":41862,"t":"code","b":[240,13],"m":"beq","oa":41877,"o":"truck_check_board"},{"a":41864,"t":"code","b":[198,254],"m":"dec","oa":254,"o":"car_wait"},{"a":41866,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41869,"l":"b_A38D","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[41858]},{"a":41871,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":41874,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41877,"l":"truck_check_board","c":"Sets $FB = $FF (and $1CB0 = $FF) when the Doctor is standing on the carrier: |dx| from carrier X+$0C < 8 and the Doctor's Y equals exactly $0450. The exact Y match means the Doctor must be at that one height.","t":"code","b":[198,254],"m":"dec","oa":254,"o":"car_wait","x":[41862]},{"a":41879,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":41881,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":41883,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":41885,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":41887,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":41890,"t":"code","b":[24],"m":"clc"},{"a":41891,"t":"code","b":[105,12],"m":"adc","o":"#$0C"},{"a":41893,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":41895,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":41898,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41900,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":41902,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":41904,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":41907,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":41909,"t":"code","b":[208,21],"m":"bne","oa":41932,"o":"b_A3CC"},{"a":41911,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":41913,"t":"code","b":[208,17],"m":"bne","oa":41932,"o":"b_A3CC"},{"a":41915,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":41917,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":41919,"t":"code","b":[176,11],"m":"bcs","oa":41932,"o":"b_A3CC"},{"a":41921,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":41923,"t":"code","b":[208,7],"m":"bne","oa":41932,"o":"b_A3CC"},{"a":41925,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":41927,"t":"code","b":[133,251],"m":"sta","oa":251,"o":"car_riding"},{"a":41929,"t":"code","b":[141,176,28],"m":"sta","oa":7344,"o":"obj_flags"},{"a":41932,"l":"b_A3CC","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[41909,41913,41919,41923]},{"a":41934,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":41937,"l":"truck_step_x","c":"Moves object X two pixels horizontally: $CB positive adds 2 to X ($1B70/$1BC0), negative subtracts 2.","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[41845,41850]},{"a":41939,"t":"code","b":[240,19],"m":"beq","oa":41960,"o":"r_A3E8"},{"a":41941,"t":"code","b":[48,18],"m":"bmi","oa":41961,"o":"b_A3E9"},{"a":41943,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":41946,"t":"code","b":[24],"m":"clc"},{"a":41947,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":41949,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":41952,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":41955,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":41957,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":41960,"l":"r_A3E8","t":"code","b":[96],"m":"rts","x":[41939]},{"a":41961,"l":"b_A3E9","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[41941]},{"a":41964,"t":"code","b":[56],"m":"sec"},{"a":41965,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":41967,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":41970,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":41973,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":41975,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":41978,"t":"code","b":[96],"m":"rts"},{"a":41979,"l":"distance_to_point","c":"Distance from object X to the point ($64/$65 = x, $66/$67 = y): |dx| to $D9/$DA with direction $DD ($81 when the object is right of the point, $01 left, 0 equal), |dy| to $DB/$DC with $DE ($81 below, $01 above, 0 equal). Called from many subsystems ($8382, $860F, $9097 and more).","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[33666,34319,37015,41479,41577,41904,46690,46899,47047,47596,47655,47775,48084,48228,48374,49682,49726,49888,50055,50330,51643,52972,64900]},{"a":41982,"t":"code","b":[56],"m":"sec"},{"a":41983,"t":"code","b":[229,100],"m":"sbc","oa":100,"o":"probe_x_lo"},{"a":41985,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"dist_x_lo"},{"a":41987,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":41990,"t":"code","b":[229,101],"m":"sbc","oa":101,"o":"probe_x_hi"},{"a":41992,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"dist_x_hi"},{"a":41994,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":41996,"t":"code","b":[48,18],"m":"bmi","oa":42016,"o":"b_A420"},{"a":41998,"t":"code","b":[208,10],"m":"bne","oa":42010,"o":"b_A41A"},{"a":42000,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":42002,"t":"code","b":[208,6],"m":"bne","oa":42010,"o":"b_A41A"},{"a":42004,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42006,"t":"code","b":[133,221],"m":"sta","oa":221,"o":"dir_x"},{"a":42008,"t":"code","b":[240,27],"m":"beq","oa":42037,"o":"b_A435"},{"a":42010,"l":"b_A41A","t":"code","b":[169,129],"m":"lda","o":"#$81","x":[41998,42002]},{"a":42012,"t":"code","b":[133,221],"m":"sta","oa":221,"o":"dir_x"},{"a":42014,"t":"code","b":[48,21],"m":"bmi","oa":42037,"o":"b_A435"},{"a":42016,"l":"b_A420","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[41996]},{"a":42018,"t":"code","b":[133,221],"m":"sta","oa":221,"o":"dir_x"},{"a":42020,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":42022,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":42024,"t":"code","b":[24],"m":"clc"},{"a":42025,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":42027,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"dist_x_lo"},{"a":42029,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":42031,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":42033,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":42035,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"dist_x_hi"},{"a":42037,"l":"b_A435","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[42008,42014]},{"a":42040,"t":"code","b":[56],"m":"sec"},{"a":42041,"t":"code","b":[229,102],"m":"sbc","oa":102,"o":"probe_y_lo"},{"a":42043,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"dist_y_lo"},{"a":42045,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":42048,"t":"code","b":[229,103],"m":"sbc","oa":103,"o":"probe_y_hi"},{"a":42050,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"dist_y_hi"},{"a":42052,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":42054,"t":"code","b":[48,16],"m":"bmi","oa":42072,"o":"b_A458"},{"a":42056,"t":"code","b":[208,9],"m":"bne","oa":42067,"o":"b_A453"},{"a":42058,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":42060,"t":"code","b":[208,5],"m":"bne","oa":42067,"o":"b_A453"},{"a":42062,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42064,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"dir_y"},{"a":42066,"t":"code","b":[96],"m":"rts"},{"a":42067,"l":"b_A453","t":"code","b":[169,129],"m":"lda","o":"#$81","x":[42056,42060]},{"a":42069,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"dir_y"},{"a":42071,"t":"code","b":[96],"m":"rts"},{"a":42072,"l":"b_A458","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[42054]},{"a":42074,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"dir_y"},{"a":42076,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":42078,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":42080,"t":"code","b":[24],"m":"clc"},{"a":42081,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":42083,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"dist_y_lo"},{"a":42085,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":42087,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":42089,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":42091,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"dist_y_hi"},{"a":42093,"t":"code","b":[96],"m":"rts"},{"a":42094,"l":"object_step_due","c":"Decides whether object X moves this frame: when aligned to the 8-pixel grid in both X and Y, or not moving ($1DB0 and $1DE0 both 0), returns Y = 0 when the frame counter $53 AND 7 equals the object's phase $1A70,X, else Y = $FF; when off-grid and moving returns Y = 1 (keep going). Used by the creature routines at $B25B-$B694 and elsewhere.","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[45659,45878,46082,46229,46740,49827,50279,52654]},{"a":42097,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":42099,"t":"code","b":[208,22],"m":"bne","oa":42123,"o":"b_A48B"},{"a":42101,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":42104,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":42106,"t":"code","b":[208,15],"m":"bne","oa":42123,"o":"b_A48B"},{"a":42108,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":42110,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":42112,"t":"code","b":[221,112,26],"m":"cmp","oa":6768,"o":"obj_frame_count,x"},{"a":42115,"t":"code","b":[208,3],"m":"bne","oa":42120,"o":"b_A488"},{"a":42117,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42119,"t":"code","b":[96],"m":"rts"},{"a":42120,"l":"b_A488","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[42115,42140]},{"a":42122,"t":"code","b":[96],"m":"rts"},{"a":42123,"l":"b_A48B","t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x","x":[42099,42106]},{"a":42126,"t":"code","b":[208,17],"m":"bne","oa":42145,"o":"b_A4A1"},{"a":42128,"t":"code","b":[189,224,29],"m":"lda","oa":7648,"o":"obj_vert_state,x"},{"a":42131,"t":"code","b":[208,12],"m":"bne","oa":42145,"o":"b_A4A1"},{"a":42133,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":42135,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":42137,"t":"code","b":[221,112,26],"m":"cmp","oa":6768,"o":"obj_frame_count,x"},{"a":42140,"t":"code","b":[208,234],"m":"bne","oa":42120,"o":"b_A488"},{"a":42142,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42144,"t":"code","b":[96],"m":"rts"},{"a":42145,"l":"b_A4A1","t":"code","b":[160,1],"m":"ldy","o":"#$01","x":[42126,42131]},{"a":42147,"t":"code","b":[96],"m":"rts"},{"a":42148,"l":"object_step_pixel","c":"Moves object X one pixel along its current direction: $1DB0,X (horizontal, bit 7 = left) changes X $1B70/$1BC0, $1DE0,X (vertical, bit 7 = up (decrement)) changes Y $1C10/$1C60.","t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x","x":[45669,45888,46094,46240,46749,49838,50290,50491,52688]},{"a":42151,"t":"code","b":[240,25],"m":"beq","oa":42178,"o":"b_A4C2"},{"a":42153,"t":"code","b":[16,14],"m":"bpl","oa":42169,"o":"b_A4B9"},{"a":42155,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":42158,"t":"code","b":[208,3],"m":"bne","oa":42163,"o":"b_A4B3"},{"a":42160,"t":"code","b":[222,192,27],"m":"dec","oa":7104,"o":"obj_x_hi,x"},{"a":42163,"l":"b_A4B3","t":"code","b":[222,112,27],"m":"dec","oa":7024,"o":"obj_x_lo,x","x":[42158]},{"a":42166,"t":"code","b":[76,194,164],"m":"jmp","oa":42178,"o":"b_A4C2"},{"a":42169,"l":"b_A4B9","t":"code","b":[24],"m":"clc","x":[42153]},{"a":42170,"t":"code","b":[254,112,27],"m":"inc","oa":7024,"o":"obj_x_lo,x"},{"a":42173,"t":"code","b":[208,3],"m":"bne","oa":42178,"o":"b_A4C2"},{"a":42175,"t":"code","b":[254,192,27],"m":"inc","oa":7104,"o":"obj_x_hi,x"},{"a":42178,"l":"b_A4C2","t":"code","b":[189,224,29],"m":"lda","oa":7648,"o":"obj_vert_state,x","x":[42151,42166,42173]},{"a":42181,"t":"code","b":[240,22],"m":"beq","oa":42205,"o":"r_A4DD"},{"a":42183,"t":"code","b":[16,12],"m":"bpl","oa":42197,"o":"b_A4D5"},{"a":42185,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":42188,"t":"code","b":[208,3],"m":"bne","oa":42193,"o":"b_A4D1"},{"a":42190,"t":"code","b":[222,96,28],"m":"dec","oa":7264,"o":"obj_y_hi,x"},{"a":42193,"l":"b_A4D1","t":"code","b":[222,16,28],"m":"dec","oa":7184,"o":"obj_y_lo,x","x":[42188]},{"a":42196,"t":"code","b":[96],"m":"rts"},{"a":42197,"l":"b_A4D5","t":"code","b":[254,16,28],"m":"inc","oa":7184,"o":"obj_y_lo,x","x":[42183]},{"a":42200,"t":"code","b":[208,3],"m":"bne","oa":42205,"o":"r_A4DD"},{"a":42202,"t":"code","b":[254,96,28],"m":"inc","oa":7264,"o":"obj_y_hi,x"},{"a":42205,"l":"r_A4DD","t":"code","b":[96],"m":"rts","x":[42181,42200]},{"a":42206,"l":"pocket_screen_lo","c":"Low bytes of the bottom-row screen addresses ($045F,$0464,$0469,$046E,$0473) of the five pocket boxes on the status bar, indexed by pocket 0-4; the high byte is pocket_screen_hi. Pocket items are drawn upward from here, $28 per row.","t":"byte","b":[95,100,105,110,115],"x":[42453,42586]},{"a":42211,"l":"pocket_screen_hi","c":"High byte ($04) shared by pocket_screen_lo and pocket_frame_lo.","t":"byte","b":[4],"x":[42309,42342,42458,42591]},{"a":42212,"l":"pocket_frame_lo","c":"Low bytes of the screen addresses ($0487-$049B, three characters each) under the five pockets where the selection marker is drawn: char $95 under the selected pocket, $97 under the others.","t":"byte","b":[135,140,145,150,155],"x":[42304,42337]},{"a":42217,"l":"marker_screen_lo","c":"Low bytes of where the four markers are shown on the status bar ($0437,$0439,$045F,$0461), indexed by marker 0-3; two characters each; high byte marker_screen_hi.","t":"byte","b":[55,57,95,97],"x":[42405,42562]},{"a":42221,"l":"marker_screen_hi","c":"High byte ($04) for marker_screen_lo.","t":"byte","b":[4],"x":[42410,42567]},{"a":42222,"l":"status_and_pockets","c":"Main-loop subsystem: status bar and the function keys. On frames with $53 AND 3 = 0 prints the 10-character name of the item the Doctor holds ($1D80 via offset table $1720 into names $1770) at $0453; on the other three frames prints one BCD byte of the score $57/$58/$59 as two digits (glyphs $1730) at $042F-$0434. Then, unless $E0 is set: F1 ($D0, edge-triggered by $D6) moves the pocket selector $3C round 0-4; F3 ($CF, edge $6A) puts the held item into a pocket or a marker slot (objects $30-$33) or, with empty hands, takes the selected one out (pocket_take); F7 ($D1) throws (throw_start) or with no direction sets $89; F5 ($D2) while standing still picks up (pickup_nearby).","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[29873,64824]},{"a":42224,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":42226,"t":"code","b":[208,25],"m":"bne","oa":42253,"o":"b_A50D"},{"a":42228,"t":"code","b":[174,128,29],"m":"ldx","oa":7552,"o":"obj_holding"},{"a":42231,"t":"code","b":[189,32,23],"m":"lda","oa":5920,"o":"obj_name_offset,x"},{"a":42234,"t":"code","b":[24],"m":"clc"},{"a":42235,"t":"code","b":[105,9],"m":"adc","o":"#$09"},{"a":42237,"t":"code","b":[170],"m":"tax"},{"a":42238,"t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":42240,"l":"b_A500","t":"code","b":[189,112,23],"m":"lda","oa":6000,"o":"name_lives,x","x":[42248]},{"a":42243,"t":"code","b":[153,82,4],"m":"sta","oa":1106,"o":"status_item_name,y"},{"a":42246,"t":"code","b":[202],"m":"dex"},{"a":42247,"t":"code","b":[136],"m":"dey"},{"a":42248,"t":"code","b":[208,246],"m":"bne","oa":42240,"o":"b_A500"},{"a":42250,"t":"code","b":[76,43,165],"m":"jmp","oa":42283,"o":"j_A52B"},{"a":42253,"l":"b_A50D","t":"code","b":[170],"m":"tax","x":[42226]},{"a":42254,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42255,"t":"code","b":[168],"m":"tay"},{"a":42256,"t":"code","b":[181,86],"m":"lda","oa":86,"o":"zone,x"},{"a":42258,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42260,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":42262,"t":"code","b":[170],"m":"tax"},{"a":42263,"t":"code","b":[189,48,23],"m":"lda","oa":5936,"o":"digit_glyphs,x"},{"a":42266,"t":"code","b":[153,46,4],"m":"sta","oa":1070,"o":"status_score,y"},{"a":42269,"t":"code","b":[136],"m":"dey"},{"a":42270,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":42272,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":42273,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":42274,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":42275,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":42276,"t":"code","b":[170],"m":"tax"},{"a":42277,"t":"code","b":[189,48,23],"m":"lda","oa":5936,"o":"digit_glyphs,x"},{"a":42280,"t":"code","b":[153,46,4],"m":"sta","oa":1070,"o":"status_score,y"},{"a":42283,"l":"j_A52B","t":"code","b":[165,224],"m":"lda","oa":224,"o":"busy_flag","x":[42250]},{"a":42285,"t":"code","b":[240,1],"m":"beq","oa":42288,"o":"b_A530"},{"a":42287,"t":"code","b":[96],"m":"rts"},{"a":42288,"l":"b_A530","t":"code","b":[165,208],"m":"lda","oa":208,"o":"key_f1","x":[42285]},{"a":42290,"t":"code","b":[208,4],"m":"bne","oa":42296,"o":"b_A538"},{"a":42292,"t":"code","b":[133,214],"m":"sta","oa":214,"o":"f1_latch"},{"a":42294,"t":"code","b":[240,61],"m":"beq","oa":42357,"o":"b_A575"},{"a":42296,"l":"b_A538","t":"code","b":[164,214],"m":"ldy","oa":214,"o":"f1_latch","x":[42290]},{"a":42298,"t":"code","b":[48,56],"m":"bmi","oa":42356,"o":"r_A574"},{"a":42300,"t":"code","b":[133,214],"m":"sta","oa":214,"o":"f1_latch"},{"a":42302,"t":"code","b":[164,60],"m":"ldy","oa":60,"o":"pocket_selected"},{"a":42304,"t":"code","b":[185,228,164],"m":"lda","oa":42212,"o":"pocket_frame_lo,y"},{"a":42307,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42309,"t":"code","b":[173,227,164],"m":"lda","oa":42211,"o":"pocket_screen_hi"},{"a":42312,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":42314,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":42316,"t":"code","b":[169,151],"m":"lda","o":"#$97"},{"a":42318,"l":"b_A54E","t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y","x":[42321]},{"a":42320,"t":"code","b":[136],"m":"dey"},{"a":42321,"t":"code","b":[16,251],"m":"bpl","oa":42318,"o":"b_A54E"},{"a":42323,"t":"code","b":[230,60],"m":"inc","oa":60,"o":"pocket_selected"},{"a":42325,"t":"code","b":[165,60],"m":"lda","oa":60,"o":"pocket_selected"},{"a":42327,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":42329,"t":"code","b":[208,4],"m":"bne","oa":42335,"o":"b_A55F"},{"a":42331,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42333,"t":"code","b":[133,60],"m":"sta","oa":60,"o":"pocket_selected"},{"a":42335,"l":"b_A55F","t":"code","b":[164,60],"m":"ldy","oa":60,"o":"pocket_selected","x":[42329]},{"a":42337,"t":"code","b":[185,228,164],"m":"lda","oa":42212,"o":"pocket_frame_lo,y"},{"a":42340,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42342,"t":"code","b":[173,227,164],"m":"lda","oa":42211,"o":"pocket_screen_hi"},{"a":42345,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":42347,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":42349,"t":"code","b":[169,149],"m":"lda","o":"#$95"},{"a":42351,"l":"b_A56F","t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y","x":[42354]},{"a":42353,"t":"code","b":[136],"m":"dey"},{"a":42354,"t":"code","b":[16,251],"m":"bpl","oa":42351,"o":"b_A56F"},{"a":42356,"l":"r_A574","t":"code","b":[96],"m":"rts","x":[42298,42368,42382]},{"a":42357,"l":"b_A575","t":"code","b":[165,207],"m":"lda","oa":207,"o":"key_f3","x":[42294]},{"a":42359,"t":"code","b":[208,5],"m":"bne","oa":42366,"o":"b_A57E"},{"a":42361,"t":"code","b":[133,106],"m":"sta","oa":106,"o":"f3_latch"},{"a":42363,"t":"code","b":[76,138,166],"m":"jmp","oa":42634,"o":"fkeys_throw_pickup"},{"a":42366,"l":"b_A57E","t":"code","b":[164,106],"m":"ldy","oa":106,"o":"f3_latch","x":[42359]},{"a":42368,"t":"code","b":[48,242],"m":"bmi","oa":42356,"o":"r_A574"},{"a":42370,"t":"code","b":[133,106],"m":"sta","oa":106,"o":"f3_latch"},{"a":42372,"t":"code","b":[174,128,29],"m":"ldx","oa":7552,"o":"obj_holding"},{"a":42375,"t":"code","b":[208,3],"m":"bne","oa":42380,"o":"b_A58C"},{"a":42377,"t":"code","b":[76,12,166],"m":"jmp","oa":42508,"o":"pocket_take"},{"a":42380,"l":"b_A58C","t":"code","b":[224,2],"m":"cpx","o":"#$02","x":[42375]},{"a":42382,"t":"code","b":[240,228],"m":"beq","oa":42356,"o":"r_A574"},{"a":42384,"t":"code","b":[224,52],"m":"cpx","o":"#$34"},{"a":42386,"t":"code","b":[176,41],"m":"bcs","oa":42429,"o":"b_A5BD"},{"a":42388,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":42390,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":42393,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42395,"t":"code","b":[141,128,29],"m":"sta","oa":7552,"o":"obj_holding"},{"a":42398,"t":"code","b":[138],"m":"txa"},{"a":42399,"t":"code","b":[56],"m":"sec"},{"a":42400,"t":"code","b":[233,48],"m":"sbc","o":"#$30"},{"a":42402,"t":"code","b":[168],"m":"tay"},{"a":42403,"t":"code","b":[150,66],"m":"stx","oa":66,"o":"marker_slots,y"},{"a":42405,"t":"code","b":[185,233,164],"m":"lda","oa":42217,"o":"marker_screen_lo,y"},{"a":42408,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42410,"t":"code","b":[173,237,164],"m":"lda","oa":42221,"o":"marker_screen_hi"},{"a":42413,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":42415,"t":"code","b":[189,208,22],"m":"lda","oa":5840,"o":"item_icon_char,x"},{"a":42418,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42420,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":42422,"t":"code","b":[24],"m":"clc"},{"a":42423,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":42425,"t":"code","b":[200],"m":"iny"},{"a":42426,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":42428,"t":"code","b":[96],"m":"rts"},{"a":42429,"l":"b_A5BD","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[42386]},{"a":42431,"l":"b_A5BF","t":"code","b":[136],"m":"dey","x":[42437]},{"a":42432,"t":"code","b":[240,72],"m":"beq","oa":42506,"o":"r_A60A"},{"a":42434,"t":"code","b":[185,61,0],"m":"lda","oa":61,"o":"pockets,y"},{"a":42437,"t":"code","b":[208,248],"m":"bne","oa":42431,"o":"b_A5BF"},{"a":42439,"t":"code","b":[138],"m":"txa"},{"a":42440,"t":"code","b":[153,61,0],"m":"sta","oa":61,"o":"pockets,y"},{"a":42443,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":42445,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":42448,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42450,"t":"code","b":[141,128,29],"m":"sta","oa":7552,"o":"obj_holding"},{"a":42453,"t":"code","b":[185,222,164],"m":"lda","oa":42206,"o":"pocket_screen_lo,y"},{"a":42456,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42458,"t":"code","b":[173,227,164],"m":"lda","oa":42211,"o":"pocket_screen_hi"},{"a":42461,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":42463,"t":"code","b":[189,96,25],"m":"lda","oa":6496,"o":"item_icon_width,x"},{"a":42466,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":42468,"t":"code","b":[189,144,25],"m":"lda","oa":6544,"o":"item_icon_height,x"},{"a":42471,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":42473,"t":"code","b":[189,208,22],"m":"lda","oa":5840,"o":"item_icon_char,x"},{"a":42476,"t":"code","b":[170],"m":"tax"},{"a":42477,"l":"b_A5ED","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[42499,42503]},{"a":42479,"l":"b_A5EF","t":"code","b":[138],"m":"txa","x":[42486]},{"a":42480,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":42482,"t":"code","b":[232],"m":"inx"},{"a":42483,"t":"code","b":[200],"m":"iny"},{"a":42484,"t":"code","b":[196,92],"m":"cpy","oa":92,"o":"tmp_ptr_b"},{"a":42486,"t":"code","b":[208,247],"m":"bne","oa":42479,"o":"b_A5EF"},{"a":42488,"t":"code","b":[198,93],"m":"dec","oa":93,"o":"tmp_ptr_b_hi"},{"a":42490,"t":"code","b":[240,14],"m":"beq","oa":42506,"o":"r_A60A"},{"a":42492,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":42494,"t":"code","b":[56],"m":"sec"},{"a":42495,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":42497,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42499,"t":"code","b":[176,232],"m":"bcs","oa":42477,"o":"b_A5ED"},{"a":42501,"t":"code","b":[198,91],"m":"dec","oa":91,"o":"tmp_ptr_a_hi"},{"a":42503,"t":"code","b":[76,237,165],"m":"jmp","oa":42477,"o":"b_A5ED"},{"a":42506,"l":"r_A60A","t":"code","b":[96],"m":"rts","x":[42432,42490,42534,42539,42548]},{"a":42507,"l":"marker_take_slot","c":"Scratch: which marker slot (0-3) pocket_take found when pocket 0 (the marker pocket) is selected.","t":"byte","b":[0],"x":[42523,42554]},{"a":42508,"l":"pocket_take","c":"F3 with empty hands: takes the item in the selected pocket $3C (pocket 0 = the most recently stored marker, $42-$45) and tries to place it beside the Doctor via place_held_item; on success clears the pocket ($3D+$3C or the marker slot) and blanks its box on the status bar with char $94.","t":"code","b":[164,60],"m":"ldy","oa":60,"o":"pocket_selected","x":[42377]},{"a":42510,"t":"code","b":[208,18],"m":"bne","oa":42530,"o":"b_A622"},{"a":42512,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":42514,"l":"b_A612","t":"code","b":[185,66,0],"m":"lda","oa":66,"o":"marker_slots,y","x":[42520]},{"a":42517,"t":"code","b":[208,4],"m":"bne","oa":42523,"o":"b_A61B"},{"a":42519,"t":"code","b":[136],"m":"dey"},{"a":42520,"t":"code","b":[16,248],"m":"bpl","oa":42514,"o":"b_A612"},{"a":42522,"t":"code","b":[96],"m":"rts"},{"a":42523,"l":"b_A61B","t":"code","b":[140,11,166],"m":"sty","oa":42507,"o":"marker_take_slot","x":[42517]},{"a":42526,"t":"code","b":[168],"m":"tay"},{"a":42527,"t":"code","b":[76,40,166],"m":"jmp","oa":42536,"o":"j_A628"},{"a":42530,"l":"b_A622","t":"code","b":[185,61,0],"m":"lda","oa":61,"o":"pockets,y","x":[42510]},{"a":42533,"t":"code","b":[168],"m":"tay"},{"a":42534,"t":"code","b":[240,226],"m":"beq","oa":42506,"o":"r_A60A"},{"a":42536,"l":"j_A628","t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding","x":[42527]},{"a":42539,"t":"code","b":[208,221],"m":"bne","oa":42506,"o":"r_A60A"},{"a":42541,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":42543,"t":"code","b":[32,8,168],"m":"jsr","oa":43016,"o":"place_held_item"},{"a":42546,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":42548,"t":"code","b":[48,212],"m":"bmi","oa":42506,"o":"r_A60A"},{"a":42550,"t":"code","b":[166,60],"m":"ldx","oa":60,"o":"pocket_selected"},{"a":42552,"t":"code","b":[208,28],"m":"bne","oa":42582,"o":"pocket_clear_box"},{"a":42554,"t":"code","b":[172,11,166],"m":"ldy","oa":42507,"o":"marker_take_slot"},{"a":42557,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42559,"t":"code","b":[153,66,0],"m":"sta","oa":66,"o":"marker_slots,y"},{"a":42562,"t":"code","b":[185,233,164],"m":"lda","oa":42217,"o":"marker_screen_lo,y"},{"a":42565,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42567,"t":"code","b":[173,237,164],"m":"lda","oa":42221,"o":"marker_screen_hi"},{"a":42570,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":42572,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42574,"t":"code","b":[169,148],"m":"lda","o":"#$94"},{"a":42576,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":42578,"t":"code","b":[200],"m":"iny"},{"a":42579,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":42581,"t":"code","b":[96],"m":"rts"},{"a":42582,"l":"pocket_clear_box","c":"Clears pocket X ($3D,X = 0) and blanks its item graphic on the status bar (width $1960,Y by height $1990,Y characters of $94, upward from pocket_screen_lo). Also entered from $C143.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[42552,46389,49475]},{"a":42584,"t":"code","b":[149,61],"m":"sta","oa":61,"o":"pockets,x"},{"a":42586,"t":"code","b":[189,222,164],"m":"lda","oa":42206,"o":"pocket_screen_lo,x"},{"a":42589,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42591,"t":"code","b":[173,227,164],"m":"lda","oa":42211,"o":"pocket_screen_hi"},{"a":42594,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":42596,"t":"code","b":[185,96,25],"m":"lda","oa":6496,"o":"item_icon_width,y"},{"a":42599,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":42601,"t":"code","b":[185,144,25],"m":"lda","oa":6544,"o":"item_icon_height,y"},{"a":42604,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":42606,"l":"b_A66E","t":"code","b":[164,92],"m":"ldy","oa":92,"o":"tmp_ptr_b","x":[42627,42631]},{"a":42608,"t":"code","b":[136],"m":"dey"},{"a":42609,"t":"code","b":[169,148],"m":"lda","o":"#$94"},{"a":42611,"l":"b_A673","t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y","x":[42614]},{"a":42613,"t":"code","b":[136],"m":"dey"},{"a":42614,"t":"code","b":[16,251],"m":"bpl","oa":42611,"o":"b_A673"},{"a":42616,"t":"code","b":[198,93],"m":"dec","oa":93,"o":"tmp_ptr_b_hi"},{"a":42618,"t":"code","b":[240,75],"m":"beq","oa":42695,"o":"r_A6C7"},{"a":42620,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":42622,"t":"code","b":[56],"m":"sec"},{"a":42623,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":42625,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":42627,"t":"code","b":[176,233],"m":"bcs","oa":42606,"o":"b_A66E"},{"a":42629,"t":"code","b":[198,91],"m":"dec","oa":91,"o":"tmp_ptr_a_hi"},{"a":42631,"t":"code","b":[76,110,166],"m":"jmp","oa":42606,"o":"b_A66E"},{"a":42634,"l":"fkeys_throw_pickup","c":"F7 and F5 handling for status_and_pockets. F7 with a direction held ($D4/$D5) throws the held item with $CB/$CC = direction+1 (so $02 or $82) through throw_start; F7 alone sets $89 = $FF. F5 when the Doctor is not moving ($1DB0, $1DE0 = 0) goes to pickup_nearby.","t":"code","b":[165,209],"m":"lda","oa":209,"o":"key_f7","x":[42363]},{"a":42636,"t":"code","b":[240,34],"m":"beq","oa":42672,"o":"b_A6B0"},{"a":42638,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"stick_x"},{"a":42640,"t":"code","b":[208,9],"m":"bne","oa":42651,"o":"b_A69B"},{"a":42642,"t":"code","b":[165,213],"m":"lda","oa":213,"o":"stick_y"},{"a":42644,"t":"code","b":[208,5],"m":"bne","oa":42651,"o":"b_A69B"},{"a":42646,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42648,"t":"code","b":[133,137],"m":"sta","oa":137,"o":"throw_stand"},{"a":42650,"t":"code","b":[96],"m":"rts"},{"a":42651,"l":"b_A69B","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[42640,42644]},{"a":42653,"t":"code","b":[165,213],"m":"lda","oa":213,"o":"stick_y"},{"a":42655,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":42657,"t":"code","b":[240,2],"m":"beq","oa":42661,"o":"b_A6A5"},{"a":42659,"t":"code","b":[230,204],"m":"inc","oa":204,"o":"move_y"},{"a":42661,"l":"b_A6A5","t":"code","b":[165,212],"m":"lda","oa":212,"o":"stick_x","x":[42657]},{"a":42663,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":42665,"t":"code","b":[240,2],"m":"beq","oa":42669,"o":"b_A6AD"},{"a":42667,"t":"code","b":[230,203],"m":"inc","oa":203,"o":"move_x"},{"a":42669,"l":"b_A6AD","t":"code","b":[76,215,167],"m":"jmp","oa":42967,"o":"throw_start","x":[42665]},{"a":42672,"l":"b_A6B0","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[42636]},{"a":42674,"t":"code","b":[133,137],"m":"sta","oa":137,"o":"throw_stand"},{"a":42676,"t":"code","b":[165,210],"m":"lda","oa":210,"o":"key_f5"},{"a":42678,"t":"code","b":[240,15],"m":"beq","oa":42695,"o":"r_A6C7"},{"a":42680,"t":"code","b":[173,176,29],"m":"lda","oa":7600,"o":"obj_facing"},{"a":42683,"t":"code","b":[208,10],"m":"bne","oa":42695,"o":"r_A6C7"},{"a":42685,"t":"code","b":[173,224,29],"m":"lda","oa":7648,"o":"obj_vert_state"},{"a":42688,"t":"code","b":[208,5],"m":"bne","oa":42695,"o":"r_A6C7"},{"a":42690,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":42692,"t":"code","b":[76,41,169],"m":"jmp","oa":43305,"o":"pickup_nearby"},{"a":42695,"l":"r_A6C7","t":"code","b":[96],"m":"rts","x":[42618,42678,42683,42688]},{"a":42696,"l":"unused_bytes_a6c8","c":"Two bytes $02,$82 (the right and left direction values) between the key handler and the throw code; no reference found.","t":"byte","b":[2,130]},{"a":42698,"l":"thrown_return","c":"RTS: exit of thrown_update when both flight slots are done.","t":"code","b":[96],"m":"rts","x":[42705]},{"a":42699,"l":"thrown_update","c":"Main-loop subsystem: objects in flight. Two slots (Y = 1,0): $46,Y object number, $48,Y frame count ($FF = free), $4A,Y horizontal and $4C,Y vertical direction. An object whose state $1B20 is no longer $0E frees its slot. Thrown level: flies flat until frame $30, then drops ($81) and falls faster ($82) from frame $60; thrown up: rises until frame $28. Moves by s_9EC8; on hitting a wall it loses horizontal motion and snaps X to 8 pixels; on landing it gets state 0 and, except for Splinx (object 2), is reported in $82 with $83 = $FF. Sound $0B while flying.","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[29876]},{"a":42701,"t":"code","b":[133,242],"m":"sta","oa":242,"o":"throw_slot"},{"a":42703,"l":"b_A6CF","t":"code","b":[198,242],"m":"dec","oa":242,"o":"throw_slot","x":[42712,42730,42843,42866,42900,42964]},{"a":42705,"t":"code","b":[48,247],"m":"bmi","oa":42698,"o":"thrown_return"},{"a":42707,"t":"code","b":[164,242],"m":"ldy","oa":242,"o":"throw_slot"},{"a":42709,"t":"code","b":[185,72,0],"m":"lda","oa":72,"o":"thrown_timer,y"},{"a":42712,"t":"code","b":[48,245],"m":"bmi","oa":42703,"o":"b_A6CF"},{"a":42714,"t":"code","b":[185,70,0],"m":"lda","oa":70,"o":"thrown_obj,y"},{"a":42717,"t":"code","b":[170],"m":"tax"},{"a":42718,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":42721,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":42723,"t":"code","b":[240,7],"m":"beq","oa":42732,"o":"b_A6EC"},{"a":42725,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42727,"t":"code","b":[153,72,0],"m":"sta","oa":72,"o":"thrown_timer,y"},{"a":42730,"t":"code","b":[48,227],"m":"bmi","oa":42703,"o":"b_A6CF"},{"a":42732,"l":"b_A6EC","t":"code","b":[185,76,0],"m":"lda","oa":76,"o":"thrown_dy,y","x":[42723]},{"a":42735,"t":"code","b":[240,28],"m":"beq","oa":42765,"o":"b_A70D"},{"a":42737,"t":"code","b":[48,17],"m":"bmi","oa":42756,"o":"b_A704"},{"a":42739,"t":"code","b":[185,72,0],"m":"lda","oa":72,"o":"thrown_timer,y"},{"a":42742,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":42744,"t":"code","b":[176,100],"m":"bcs","oa":42846,"o":"b_A75E"},{"a":42746,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":42748,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":42750,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42752,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":42754,"t":"code","b":[240,44],"m":"beq","oa":42800,"o":"b_A730"},{"a":42756,"l":"b_A704","t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y","x":[42737]},{"a":42758,"t":"code","b":[201,129],"m":"cmp","o":"#$81"},{"a":42760,"t":"code","b":[208,107],"m":"bne","oa":42869,"o":"b_A775"},{"a":42762,"t":"code","b":[76,151,167],"m":"jmp","oa":42903,"o":"j_A797"},{"a":42765,"l":"b_A70D","t":"code","b":[185,74,0],"m":"lda","oa":74,"o":"thrown_dx,y","x":[42735]},{"a":42768,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":42770,"t":"code","b":[185,72,0],"m":"lda","oa":72,"o":"thrown_timer,y"},{"a":42773,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":42775,"t":"code","b":[144,6],"m":"bcc","oa":42783,"o":"b_A71F"},{"a":42777,"t":"code","b":[169,130],"m":"lda","o":"#$82"},{"a":42779,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":42781,"t":"code","b":[48,17],"m":"bmi","oa":42800,"o":"b_A730"},{"a":42783,"l":"b_A71F","t":"code","b":[185,72,0],"m":"lda","oa":72,"o":"thrown_timer,y","x":[42775]},{"a":42786,"t":"code","b":[201,48],"m":"cmp","o":"#$30"},{"a":42788,"t":"code","b":[176,6],"m":"bcs","oa":42796,"o":"b_A72C"},{"a":42790,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42792,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":42794,"t":"code","b":[240,4],"m":"beq","oa":42800,"o":"b_A730"},{"a":42796,"l":"b_A72C","t":"code","b":[169,129],"m":"lda","o":"#$81","x":[42788]},{"a":42798,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":42800,"l":"b_A730","t":"code","b":[134,90],"m":"stx","oa":90,"o":"tmp_ptr_a","x":[42754,42781,42794]},{"a":42802,"t":"code","b":[166,242],"m":"ldx","oa":242,"o":"throw_slot"},{"a":42804,"t":"code","b":[246,72],"m":"inc","oa":72,"o":"thrown_timer,x"},{"a":42806,"t":"code","b":[166,90],"m":"ldx","oa":90,"o":"tmp_ptr_a"},{"a":42808,"t":"code","b":[32,200,158],"m":"jsr","oa":40648,"o":"move_object_general"},{"a":42811,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":42813,"t":"code","b":[48,31],"m":"bmi","oa":42846,"o":"b_A75E"},{"a":42815,"l":"b_A73F","t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo","x":[42878,42912]},{"a":42817,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":42820,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":42822,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":42825,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":42827,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":42830,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":42832,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":42835,"l":"j_A753","t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object","x":[42923]},{"a":42838,"t":"code","b":[160,11],"m":"ldy","o":"#$0B"},{"a":42840,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":42843,"t":"code","b":[76,207,166],"m":"jmp","oa":42703,"o":"b_A6CF"},{"a":42846,"l":"b_A75E","t":"code","b":[164,242],"m":"ldy","oa":242,"o":"throw_slot","x":[42744,42813]},{"a":42848,"t":"code","b":[169,130],"m":"lda","o":"#$82"},{"a":42850,"t":"code","b":[153,76,0],"m":"sta","oa":76,"o":"thrown_dy,y"},{"a":42853,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42855,"t":"code","b":[153,74,0],"m":"sta","oa":74,"o":"thrown_dx,y"},{"a":42858,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":42861,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":42863,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":42866,"t":"code","b":[76,207,166],"m":"jmp","oa":42703,"o":"b_A6CF"},{"a":42869,"l":"b_A775","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[42760]},{"a":42871,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":42873,"t":"code","b":[32,200,158],"m":"jsr","oa":40648,"o":"move_object_general"},{"a":42876,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":42878,"t":"code","b":[16,191],"m":"bpl","oa":42815,"o":"b_A73F"},{"a":42880,"t":"code","b":[164,242],"m":"ldy","oa":242,"o":"throw_slot"},{"a":42882,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":42884,"t":"code","b":[153,76,0],"m":"sta","oa":76,"o":"thrown_dy,y"},{"a":42887,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42889,"t":"code","b":[153,74,0],"m":"sta","oa":74,"o":"thrown_dx,y"},{"a":42892,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":42895,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":42897,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":42900,"t":"code","b":[76,207,166],"m":"jmp","oa":42703,"o":"b_A6CF"},{"a":42903,"l":"j_A797","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[42762]},{"a":42905,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":42907,"t":"code","b":[32,200,158],"m":"jsr","oa":40648,"o":"move_object_general"},{"a":42910,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":42912,"t":"code","b":[16,157],"m":"bpl","oa":42815,"o":"b_A73F"},{"a":42914,"t":"code","b":[160,11],"m":"ldy","o":"#$0B"},{"a":42916,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":42919,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":42921,"t":"code","b":[240,3],"m":"beq","oa":42926,"o":"b_A7AE"},{"a":42923,"t":"code","b":[76,83,167],"m":"jmp","oa":42835,"o":"j_A753"},{"a":42926,"l":"b_A7AE","t":"code","b":[164,242],"m":"ldy","oa":242,"o":"throw_slot","x":[42921]},{"a":42928,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42930,"t":"code","b":[153,72,0],"m":"sta","oa":72,"o":"thrown_timer,y"},{"a":42933,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42935,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":42938,"t":"code","b":[224,2],"m":"cpx","o":"#$02"},{"a":42940,"t":"code","b":[208,16],"m":"bne","oa":42958,"o":"b_A7CE"},{"a":42942,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":42945,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":42947,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":42950,"t":"code","b":[164,242],"m":"ldy","oa":242,"o":"throw_slot"},{"a":42952,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42954,"t":"code","b":[153,72,0],"m":"sta","oa":72,"o":"thrown_timer,y"},{"a":42957,"t":"code","b":[96],"m":"rts"},{"a":42958,"l":"b_A7CE","t":"code","b":[134,130],"m":"stx","oa":130,"o":"overlay_obj","x":[42940]},{"a":42960,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42962,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":42964,"t":"code","b":[76,207,166],"m":"jmp","oa":42703,"o":"b_A6CF"},{"a":42967,"l":"throw_start","c":"Starts a throw of the item held by object X ($1D80,X): takes a free flight slot ($48,Y negative), stores $CB/$CC and the object, empties the hand and sets the item's state $1B20 = $0E. Also called from $B39E.","t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x","x":[42669,45982]},{"a":42970,"t":"code","b":[240,10],"m":"beq","oa":42982,"o":"r_A7E6"},{"a":42972,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":42974,"l":"b_A7DE","t":"code","b":[185,72,0],"m":"lda","oa":72,"o":"thrown_timer,y","x":[42980]},{"a":42977,"t":"code","b":[48,4],"m":"bmi","oa":42983,"o":"b_A7E7"},{"a":42979,"t":"code","b":[136],"m":"dey"},{"a":42980,"t":"code","b":[16,248],"m":"bpl","oa":42974,"o":"b_A7DE"},{"a":42982,"l":"r_A7E6","t":"code","b":[96],"m":"rts","x":[42970]},{"a":42983,"l":"b_A7E7","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[42977]},{"a":42985,"t":"code","b":[153,72,0],"m":"sta","oa":72,"o":"thrown_timer,y"},{"a":42988,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":42990,"t":"code","b":[153,74,0],"m":"sta","oa":74,"o":"thrown_dx,y"},{"a":42993,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":42995,"t":"code","b":[153,76,0],"m":"sta","oa":76,"o":"thrown_dy,y"},{"a":42998,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":43001,"t":"code","b":[153,70,0],"m":"sta","oa":70,"o":"thrown_obj,y"},{"a":43004,"t":"code","b":[168],"m":"tay"},{"a":43005,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43007,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":43010,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":43012,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":43015,"t":"code","b":[96],"m":"rts"},{"a":43016,"l":"place_held_item","c":"Tries to put item Y into the hand of object X: tests the space ahead in facing direction $8A,X with item_fits; if clear, $1D80,X = Y, the item's state $1B20 = 2 (carried) and item_follow_holder positions it. Returns $75 negative when blocked; Y preserved.","t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count","x":[42543,43505]},{"a":43018,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43020,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":43022,"t":"code","b":[181,138],"m":"lda","oa":138,"o":"doctor_facing,x"},{"a":43024,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":43026,"t":"code","b":[32,51,168],"m":"jsr","oa":43059,"o":"item_fits"},{"a":43029,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":43031,"t":"code","b":[48,14],"m":"bmi","oa":43047,"o":"b_A827"},{"a":43033,"t":"code","b":[165,104],"m":"lda","oa":104,"o":"tmp_count"},{"a":43035,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":43038,"t":"code","b":[168],"m":"tay"},{"a":43039,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":43041,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":43044,"t":"code","b":[32,177,168],"m":"jsr","oa":43185,"o":"item_follow_holder"},{"a":43047,"l":"b_A827","t":"code","b":[164,104],"m":"ldy","oa":104,"o":"tmp_count","x":[43031]},{"a":43049,"t":"code","b":[96],"m":"rts"},{"a":43050,"l":"held_item_fits","c":"Entry used by $CAF2: $75 = 0, then item_fits for the item object X is holding (does nothing if none).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[51954]},{"a":43052,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":43054,"t":"code","b":[188,128,29],"m":"ldy","oa":7552,"o":"obj_holding,x"},{"a":43057,"t":"code","b":[240,76],"m":"beq","oa":43135,"o":"r_A87F"},{"a":43059,"l":"item_fits","c":"Map test for placing item Y beside object X: aligns the bottoms using heights $19B0, then for facing left ($CB negative) or right uses the edge offsets $1A00/$1A20 and width $18F0 to find the cell, and asks j_990D; $75 = $FF when the space is solid.","t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x","x":[43026]},{"a":43062,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":43064,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":43067,"t":"code","b":[24],"m":"clc"},{"a":43068,"t":"code","b":[125,176,25],"m":"adc","oa":6576,"o":"obj_hit_left,x"},{"a":43071,"t":"code","b":[144,2],"m":"bcc","oa":43075,"o":"b_A843"},{"a":43073,"t":"code","b":[230,103],"m":"inc","oa":103,"o":"probe_y_hi"},{"a":43075,"l":"b_A843","t":"code","b":[56],"m":"sec","x":[43071]},{"a":43076,"t":"code","b":[249,176,25],"m":"sbc","oa":6576,"o":"obj_hit_left,y"},{"a":43079,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":43081,"t":"code","b":[176,2],"m":"bcs","oa":43085,"o":"b_A84D"},{"a":43083,"t":"code","b":[198,103],"m":"dec","oa":103,"o":"probe_y_hi"},{"a":43085,"l":"b_A84D","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[43081]},{"a":43087,"t":"code","b":[240,46],"m":"beq","oa":43135,"o":"r_A87F"},{"a":43089,"t":"code","b":[16,45],"m":"bpl","oa":43136,"o":"b_A880"},{"a":43091,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":43094,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":43096,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":43099,"t":"code","b":[24],"m":"clc"},{"a":43100,"t":"code","b":[125,0,26],"m":"adc","oa":6656,"o":"obj_hit_right,x"},{"a":43103,"t":"code","b":[144,2],"m":"bcc","oa":43107,"o":"b_A863"},{"a":43105,"t":"code","b":[230,101],"m":"inc","oa":101,"o":"probe_x_hi"},{"a":43107,"l":"b_A863","t":"code","b":[56],"m":"sec","x":[43103]},{"a":43108,"t":"code","b":[249,0,26],"m":"sbc","oa":6656,"o":"obj_hit_right,y"},{"a":43111,"t":"code","b":[176,2],"m":"bcs","oa":43115,"o":"b_A86B"},{"a":43113,"t":"code","b":[198,101],"m":"dec","oa":101,"o":"probe_x_hi"},{"a":43115,"l":"b_A86B","t":"code","b":[56],"m":"sec","x":[43111]},{"a":43116,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":43118,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":43120,"t":"code","b":[176,2],"m":"bcs","oa":43124,"o":"b_A874"},{"a":43122,"t":"code","b":[198,101],"m":"dec","oa":101,"o":"probe_x_hi"},{"a":43124,"l":"b_A874","t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe","x":[43120]},{"a":43127,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":43129,"t":"code","b":[208,4],"m":"bne","oa":43135,"o":"r_A87F"},{"a":43131,"l":"b_A87B","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[43182]},{"a":43133,"t":"code","b":[133,117],"m":"sta","oa":117,"o":"move_blocked"},{"a":43135,"l":"r_A87F","t":"code","b":[96],"m":"rts","x":[43057,43087,43129]},{"a":43136,"l":"b_A880","t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x","x":[43089]},{"a":43139,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":43141,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":43144,"t":"code","b":[24],"m":"clc"},{"a":43145,"t":"code","b":[125,32,26],"m":"adc","oa":6688,"o":"obj_hit_vert,x"},{"a":43148,"t":"code","b":[144,2],"m":"bcc","oa":43152,"o":"b_A890"},{"a":43150,"t":"code","b":[230,101],"m":"inc","oa":101,"o":"probe_x_hi"},{"a":43152,"l":"b_A890","t":"code","b":[24],"m":"clc","x":[43148]},{"a":43153,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":43155,"t":"code","b":[144,2],"m":"bcc","oa":43159,"o":"b_A897"},{"a":43157,"t":"code","b":[230,101],"m":"inc","oa":101,"o":"probe_x_hi"},{"a":43159,"l":"b_A897","t":"code","b":[56],"m":"sec","x":[43155]},{"a":43160,"t":"code","b":[249,32,26],"m":"sbc","oa":6688,"o":"obj_hit_vert,y"},{"a":43163,"t":"code","b":[176,2],"m":"bcs","oa":43167,"o":"b_A89F"},{"a":43165,"t":"code","b":[198,101],"m":"dec","oa":101,"o":"probe_x_hi"},{"a":43167,"l":"b_A89F","t":"code","b":[24],"m":"clc","x":[43163]},{"a":43168,"t":"code","b":[121,240,24],"m":"adc","oa":6384,"o":"obj_width,y"},{"a":43171,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":43173,"t":"code","b":[144,2],"m":"bcc","oa":43177,"o":"b_A8A9"},{"a":43175,"t":"code","b":[230,101],"m":"inc","oa":101,"o":"probe_x_hi"},{"a":43177,"l":"b_A8A9","t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe","x":[43173]},{"a":43180,"t":"code","b":[165,236],"m":"lda","oa":236,"o":"terrain_prop_2"},{"a":43182,"t":"code","b":[240,203],"m":"beq","oa":43131,"o":"b_A87B"},{"a":43184,"t":"code","b":[96],"m":"rts"},{"a":43185,"l":"item_follow_holder","c":"Positions the item held by object X ($1D80,X) at its holder: bottoms aligned via $19B0, horizontally at the holder's X, or at its left/right hand edge ($1A00/$1A20) by facing $8A. Called from $B611, $CBF6.","t":"code","b":[138],"m":"txa","x":[43044,46609,52214]},{"a":43186,"t":"code","b":[168],"m":"tay"},{"a":43187,"t":"code","b":[190,128,29],"m":"ldx","oa":7552,"o":"obj_holding,y"},{"a":43190,"t":"code","b":[185,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,y"},{"a":43193,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":43196,"t":"code","b":[185,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,y"},{"a":43199,"t":"code","b":[24],"m":"clc"},{"a":43200,"t":"code","b":[121,176,25],"m":"adc","oa":6576,"o":"obj_hit_left,y"},{"a":43203,"t":"code","b":[144,3],"m":"bcc","oa":43208,"o":"b_A8C8"},{"a":43205,"t":"code","b":[254,96,28],"m":"inc","oa":7264,"o":"obj_y_hi,x"},{"a":43208,"l":"b_A8C8","t":"code","b":[56],"m":"sec","x":[43203]},{"a":43209,"t":"code","b":[253,176,25],"m":"sbc","oa":6576,"o":"obj_hit_left,x"},{"a":43212,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":43215,"t":"code","b":[176,3],"m":"bcs","oa":43220,"o":"b_A8D4"},{"a":43217,"t":"code","b":[222,96,28],"m":"dec","oa":7264,"o":"obj_y_hi,x"},{"a":43220,"l":"b_A8D4","t":"code","b":[165,138],"m":"lda","oa":138,"o":"doctor_facing","x":[43215]},{"a":43222,"t":"code","b":[48,18],"m":"bmi","oa":43242,"o":"b_A8EA"},{"a":43224,"t":"code","b":[240,3],"m":"beq","oa":43229,"o":"b_A8DD"},{"a":43226,"t":"code","b":[76,9,169],"m":"jmp","oa":43273,"o":"j_A909"},{"a":43229,"l":"b_A8DD","t":"code","b":[185,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,y","x":[43224]},{"a":43232,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":43235,"t":"code","b":[185,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,y"},{"a":43238,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":43241,"t":"code","b":[96],"m":"rts"},{"a":43242,"l":"b_A8EA","t":"code","b":[185,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,y","x":[43222]},{"a":43245,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":43248,"t":"code","b":[185,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,y"},{"a":43251,"t":"code","b":[24],"m":"clc"},{"a":43252,"t":"code","b":[121,0,26],"m":"adc","oa":6656,"o":"obj_hit_right,y"},{"a":43255,"t":"code","b":[144,3],"m":"bcc","oa":43260,"o":"b_A8FC"},{"a":43257,"t":"code","b":[254,192,27],"m":"inc","oa":7104,"o":"obj_x_hi,x"},{"a":43260,"l":"b_A8FC","t":"code","b":[56],"m":"sec","x":[43255]},{"a":43261,"t":"code","b":[253,0,26],"m":"sbc","oa":6656,"o":"obj_hit_right,x"},{"a":43264,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":43267,"t":"code","b":[176,3],"m":"bcs","oa":43272,"o":"r_A908"},{"a":43269,"t":"code","b":[222,192,27],"m":"dec","oa":7104,"o":"obj_x_hi,x"},{"a":43272,"l":"r_A908","t":"code","b":[96],"m":"rts","x":[43267]},{"a":43273,"l":"j_A909","t":"code","b":[185,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,y","x":[43226]},{"a":43276,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":43279,"t":"code","b":[185,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,y"},{"a":43282,"t":"code","b":[24],"m":"clc"},{"a":43283,"t":"code","b":[121,32,26],"m":"adc","oa":6688,"o":"obj_hit_vert,y"},{"a":43286,"t":"code","b":[144,3],"m":"bcc","oa":43291,"o":"b_A91B"},{"a":43288,"t":"code","b":[254,192,27],"m":"inc","oa":7104,"o":"obj_x_hi,x"},{"a":43291,"l":"b_A91B","t":"code","b":[56],"m":"sec","x":[43286]},{"a":43292,"t":"code","b":[253,32,26],"m":"sbc","oa":6688,"o":"obj_hit_vert,x"},{"a":43295,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":43298,"t":"code","b":[176,3],"m":"bcs","oa":43303,"o":"r_A927"},{"a":43300,"t":"code","b":[222,192,27],"m":"dec","oa":7104,"o":"obj_x_hi,x"},{"a":43303,"l":"r_A927","t":"code","b":[96],"m":"rts","x":[43298]},{"a":43304,"l":"pickup_candidate","c":"Scratch: the object number pickup_nearby is trying to pick up.","t":"byte","b":[0],"x":[43502,43512]},{"a":43305,"l":"pickup_nearby","c":"F5 pick-up for object X (the Doctor): unless $83 is busy or the hands are full, scans objects $4F down to 3, then Splinx (2, only if Splinx holds nothing), skipping those with state 2 or 4 (carried, pocketed), for one inside a box from 8 above to $10 below and $0E/$18 either side depending on facing $8A. Object $39 is skipped while $E7 <> 0. Picks the first that place_held_item accepts; unless it is Splinx sets $82 = object, $83 = 1, $E9 = $0A.","t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state","x":[42692]},{"a":43307,"t":"code","b":[208,5],"m":"bne","oa":43314,"o":"r_A932"},{"a":43309,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":43312,"t":"code","b":[240,1],"m":"beq","oa":43315,"o":"b_A933"},{"a":43314,"l":"r_A932","t":"code","b":[96],"m":"rts","x":[43307,43415,43422]},{"a":43315,"l":"b_A933","t":"code","b":[169,33],"m":"lda","o":"#$21","x":[43312]},{"a":43317,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":43319,"t":"code","b":[160,80],"m":"ldy","o":"#$50"},{"a":43321,"t":"code","b":[165,138],"m":"lda","oa":138,"o":"doctor_facing"},{"a":43323,"t":"code","b":[48,28],"m":"bmi","oa":43353,"o":"b_A959"},{"a":43325,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":43328,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":43330,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":43333,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":43335,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":43338,"t":"code","b":[24],"m":"clc"},{"a":43339,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":43341,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":43343,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":43346,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":43348,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":43350,"t":"code","b":[76,119,169],"m":"jmp","oa":43383,"o":"j_A977"},{"a":43353,"l":"b_A959","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[43323]},{"a":43356,"t":"code","b":[56],"m":"sec"},{"a":43357,"t":"code","b":[233,14],"m":"sbc","o":"#$0E"},{"a":43359,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":43361,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":43364,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":43366,"t":"code","b":[133,97],"m":"sta","oa":97,"o":"pos_x_hi"},{"a":43368,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":43371,"t":"code","b":[24],"m":"clc"},{"a":43372,"t":"code","b":[105,11],"m":"adc","o":"#$0B"},{"a":43374,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":43376,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":43379,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":43381,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":43383,"l":"j_A977","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[43350]},{"a":43386,"t":"code","b":[24],"m":"clc"},{"a":43387,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":43389,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":43391,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":43394,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":43396,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":43398,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":43401,"t":"code","b":[56],"m":"sec"},{"a":43402,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":43404,"t":"code","b":[133,98],"m":"sta","oa":98,"o":"pos_y_lo"},{"a":43406,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":43409,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":43411,"t":"code","b":[133,99],"m":"sta","oa":99,"o":"pos_y_hi"},{"a":43413,"l":"b_A995","t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a","x":[43434,43438,43451,43464,43477,43490,43500]},{"a":43415,"t":"code","b":[48,153],"m":"bmi","oa":43314,"o":"r_A932"},{"a":43417,"t":"code","b":[208,9],"m":"bne","oa":43428,"o":"b_A9A4"},{"a":43419,"t":"code","b":[173,130,29],"m":"lda","oa":7554,"o":"splinx_holding"},{"a":43422,"t":"code","b":[208,146],"m":"bne","oa":43314,"o":"r_A932"},{"a":43424,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":43426,"t":"code","b":[16,12],"m":"bpl","oa":43440,"o":"b_A9B0"},{"a":43428,"l":"b_A9A4","t":"code","b":[136],"m":"dey","x":[43417]},{"a":43429,"t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y"},{"a":43432,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":43434,"t":"code","b":[240,233],"m":"beq","oa":43413,"o":"b_A995"},{"a":43436,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":43438,"t":"code","b":[240,229],"m":"beq","oa":43413,"o":"b_A995"},{"a":43440,"l":"b_A9B0","t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo","x":[43426]},{"a":43442,"t":"code","b":[56],"m":"sec"},{"a":43443,"t":"code","b":[249,16,28],"m":"sbc","oa":7184,"o":"obj_y_lo,y"},{"a":43446,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":43448,"t":"code","b":[249,96,28],"m":"sbc","oa":7264,"o":"obj_y_hi,y"},{"a":43451,"t":"code","b":[48,216],"m":"bmi","oa":43413,"o":"b_A995"},{"a":43453,"t":"code","b":[185,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,y"},{"a":43456,"t":"code","b":[56],"m":"sec"},{"a":43457,"t":"code","b":[229,98],"m":"sbc","oa":98,"o":"pos_y_lo"},{"a":43459,"t":"code","b":[185,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,y"},{"a":43462,"t":"code","b":[229,99],"m":"sbc","oa":99,"o":"pos_y_hi"},{"a":43464,"t":"code","b":[48,203],"m":"bmi","oa":43413,"o":"b_A995"},{"a":43466,"t":"code","b":[185,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,y"},{"a":43469,"t":"code","b":[56],"m":"sec"},{"a":43470,"t":"code","b":[229,96],"m":"sbc","oa":96,"o":"pos_x_lo"},{"a":43472,"t":"code","b":[185,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,y"},{"a":43475,"t":"code","b":[229,97],"m":"sbc","oa":97,"o":"pos_x_hi"},{"a":43477,"t":"code","b":[48,190],"m":"bmi","oa":43413,"o":"b_A995"},{"a":43479,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":43481,"t":"code","b":[56],"m":"sec"},{"a":43482,"t":"code","b":[249,112,27],"m":"sbc","oa":7024,"o":"obj_x_lo,y"},{"a":43485,"t":"code","b":[165,101],"m":"lda","oa":101,"o":"probe_x_hi"},{"a":43487,"t":"code","b":[249,192,27],"m":"sbc","oa":7104,"o":"obj_x_hi,y"},{"a":43490,"t":"code","b":[48,177],"m":"bmi","oa":43413,"o":"b_A995"},{"a":43492,"t":"code","b":[192,57],"m":"cpy","o":"#$39"},{"a":43494,"t":"code","b":[208,6],"m":"bne","oa":43502,"o":"b_A9EE"},{"a":43496,"t":"code","b":[165,231],"m":"lda","oa":231,"o":"event_flag_e7"},{"a":43498,"t":"code","b":[240,2],"m":"beq","oa":43502,"o":"b_A9EE"},{"a":43500,"t":"code","b":[208,167],"m":"bne","oa":43413,"o":"b_A995"},{"a":43502,"l":"b_A9EE","t":"code","b":[140,40,169],"m":"sty","oa":43304,"o":"pickup_candidate","x":[43494,43498]},{"a":43505,"t":"code","b":[32,8,168],"m":"jsr","oa":43016,"o":"place_held_item"},{"a":43508,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":43510,"t":"code","b":[48,17],"m":"bmi","oa":43529,"o":"r_AA09"},{"a":43512,"t":"code","b":[173,40,169],"m":"lda","oa":43304,"o":"pickup_candidate"},{"a":43515,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":43517,"t":"code","b":[240,10],"m":"beq","oa":43529,"o":"r_AA09"},{"a":43519,"t":"code","b":[133,130],"m":"sta","oa":130,"o":"overlay_obj"},{"a":43521,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":43523,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":43525,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":43527,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"pickup_cooldown"},{"a":43529,"l":"r_AA09","t":"code","b":[96],"m":"rts","x":[43510,43517]},{"a":43530,"l":"zone0_objects","c":"Object numbers woken when the Doctor enters zone 0 (10 bytes, read by zone_wake_0): $03,$04,$05,$0A,$0B,$10-$14.","t":"byte","b":[3,4,5,10,11,16,17,18],"x":[43803]},{"a":43538,"t":"byte","b":[19,20]},{"a":43540,"l":"zone1_objects","c":"Object numbers woken in zone 1 (4 bytes): $15-$18.","t":"byte","b":[21,22,23,24],"x":[43820]},{"a":43544,"l":"zone2_objects","c":"Object numbers woken in zone 2 (7 bytes): $06-$09,$19-$1B.","t":"byte","b":[6,7,8,9,25,26,27],"x":[43837]},{"a":43551,"l":"zone3_objects","c":"Object numbers woken in zone 3 (6 bytes): $1E-$23.","t":"byte","b":[30,31,32,33,34,35],"x":[43854]},{"a":43557,"l":"zone4_objects","c":"Object numbers woken in zone 4 (6 bytes): $0C,$24-$28.","t":"byte","b":[12,36,37,38,39,40],"x":[43871]},{"a":43563,"l":"zone5_objects","c":"Object numbers woken in zone 5 (2 bytes): $1C,$1D.","t":"byte","b":[28,29],"x":[43888]},{"a":43565,"l":"zone6_objects","c":"Object numbers woken in zone 6 (7 bytes): $19-$1B,$23,$1E,$20,$1F.","t":"byte","b":[25,26,27,35,30,32,31],"x":[43905]},{"a":43572,"l":"zone_return","c":"RTS: zone_update exits here on seven frames out of eight.","t":"code","b":[96],"m":"rts","x":[43579]},{"a":43573,"l":"zone_update","c":"Main-loop subsystem, every 8th frame ($53 AND 7 = 3): runs zone_classify.","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[29829]},{"a":43575,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":43577,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":43579,"t":"code","b":[208,247],"m":"bne","oa":43572,"o":"zone_return"},{"a":43581,"l":"zone_classify","c":"Works out which of seven map zones (0-6) the Doctor is in from his Y ($1C60/$1C10 thresholds $02A0, $0440, $05E0) and X ($1BC0/$1B70 thresholds $0640, $0820, $09C0, $0700, $0900). When it differs from $56 it stores the new zone, puts every object 3-$2F to sleep (zone_sleep_all) and wakes that zone's list. Also called from start-up $4A36, $831A, $94E1.","t":"code","b":[166,86],"m":"ldx","oa":86,"o":"zone","x":[18998,33562,38113]},{"a":43583,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":43586,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":43588,"t":"code","b":[144,72],"m":"bcc","oa":43662,"o":"b_AA8E"},{"a":43590,"t":"code","b":[208,9],"m":"bne","oa":43601,"o":"b_AA51"},{"a":43592,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":43595,"t":"code","b":[201,160],"m":"cmp","o":"#$A0"},{"a":43597,"t":"code","b":[144,63],"m":"bcc","oa":43662,"o":"b_AA8E"},{"a":43599,"t":"code","b":[176,79],"m":"bcs","oa":43680,"o":"b_AAA0"},{"a":43601,"l":"b_AA51","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[43590]},{"a":43603,"t":"code","b":[144,75],"m":"bcc","oa":43680,"o":"b_AAA0"},{"a":43605,"t":"code","b":[208,9],"m":"bne","oa":43616,"o":"b_AA60"},{"a":43607,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":43610,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":43612,"t":"code","b":[144,66],"m":"bcc","oa":43680,"o":"b_AAA0"},{"a":43614,"t":"code","b":[176,73],"m":"bcs","oa":43689,"o":"b_AAA9"},{"a":43616,"l":"b_AA60","t":"code","b":[201,5],"m":"cmp","o":"#$05","x":[43605]},{"a":43618,"t":"code","b":[144,69],"m":"bcc","oa":43689,"o":"b_AAA9"},{"a":43620,"t":"code","b":[208,7],"m":"bne","oa":43629,"o":"b_AA6D"},{"a":43622,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":43625,"t":"code","b":[201,224],"m":"cmp","o":"#$E0"},{"a":43627,"t":"code","b":[144,60],"m":"bcc","oa":43689,"o":"b_AAA9"},{"a":43629,"l":"b_AA6D","t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi","x":[43620]},{"a":43632,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":43634,"t":"code","b":[144,94],"m":"bcc","oa":43730,"o":"b_AAD2"},{"a":43636,"t":"code","b":[208,9],"m":"bne","oa":43647,"o":"b_AA7F"},{"a":43638,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":43641,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":43643,"t":"code","b":[144,85],"m":"bcc","oa":43730,"o":"b_AAD2"},{"a":43645,"t":"code","b":[176,125],"m":"bcs","oa":43772,"o":"b_AAFC"},{"a":43647,"l":"b_AA7F","t":"code","b":[201,9],"m":"cmp","o":"#$09","x":[43636]},{"a":43649,"t":"code","b":[144,121],"m":"bcc","oa":43772,"o":"b_AAFC"},{"a":43651,"t":"code","b":[208,91],"m":"bne","oa":43744,"o":"b_AAE0"},{"a":43653,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":43656,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":43658,"t":"code","b":[144,112],"m":"bcc","oa":43772,"o":"b_AAFC"},{"a":43660,"t":"code","b":[176,82],"m":"bcs","oa":43744,"o":"b_AAE0"},{"a":43662,"l":"b_AA8E","t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi","x":[43588,43597]},{"a":43665,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":43667,"t":"code","b":[144,33],"m":"bcc","oa":43702,"o":"b_AAB6"},{"a":43669,"t":"code","b":[208,45],"m":"bne","oa":43716,"o":"b_AAC4"},{"a":43671,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":43674,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":43676,"t":"code","b":[144,24],"m":"bcc","oa":43702,"o":"b_AAB6"},{"a":43678,"t":"code","b":[176,36],"m":"bcs","oa":43716,"o":"b_AAC4"},{"a":43680,"l":"b_AAA0","t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi","x":[43599,43603,43612]},{"a":43683,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":43685,"t":"code","b":[144,43],"m":"bcc","oa":43730,"o":"b_AAD2"},{"a":43687,"t":"code","b":[176,69],"m":"bcs","oa":43758,"o":"b_AAEE"},{"a":43689,"l":"b_AAA9","t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi","x":[43614,43618,43627]},{"a":43692,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":43694,"t":"code","b":[144,34],"m":"bcc","oa":43730,"o":"b_AAD2"},{"a":43696,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":43698,"t":"code","b":[176,44],"m":"bcs","oa":43744,"o":"b_AAE0"},{"a":43700,"t":"code","b":[144,84],"m":"bcc","oa":43786,"o":"b_AB0A"},{"a":43702,"l":"b_AAB6","t":"code","b":[224,0],"m":"cpx","o":"#$00","x":[43667,43676]},{"a":43704,"t":"code","b":[240,94],"m":"beq","oa":43800,"o":"r_AB18"},{"a":43706,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43708,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":43710,"t":"code","b":[32,144,171],"m":"jsr","oa":43920,"o":"zone_sleep_all"},{"a":43713,"t":"code","b":[76,25,171],"m":"jmp","oa":43801,"o":"zone_wake_0"},{"a":43716,"l":"b_AAC4","t":"code","b":[224,1],"m":"cpx","o":"#$01","x":[43669,43678]},{"a":43718,"t":"code","b":[240,80],"m":"beq","oa":43800,"o":"r_AB18"},{"a":43720,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":43722,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":43724,"t":"code","b":[32,144,171],"m":"jsr","oa":43920,"o":"zone_sleep_all"},{"a":43727,"t":"code","b":[76,42,171],"m":"jmp","oa":43818,"o":"zone_wake_1"},{"a":43730,"l":"b_AAD2","t":"code","b":[224,2],"m":"cpx","o":"#$02","x":[43634,43643,43685,43694]},{"a":43732,"t":"code","b":[240,66],"m":"beq","oa":43800,"o":"r_AB18"},{"a":43734,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":43736,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":43738,"t":"code","b":[32,144,171],"m":"jsr","oa":43920,"o":"zone_sleep_all"},{"a":43741,"t":"code","b":[76,59,171],"m":"jmp","oa":43835,"o":"zone_wake_2"},{"a":43744,"l":"b_AAE0","t":"code","b":[224,3],"m":"cpx","o":"#$03","x":[43651,43660,43698]},{"a":43746,"t":"code","b":[240,52],"m":"beq","oa":43800,"o":"r_AB18"},{"a":43748,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":43750,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":43752,"t":"code","b":[32,144,171],"m":"jsr","oa":43920,"o":"zone_sleep_all"},{"a":43755,"t":"code","b":[76,76,171],"m":"jmp","oa":43852,"o":"zone_wake_3"},{"a":43758,"l":"b_AAEE","t":"code","b":[224,4],"m":"cpx","o":"#$04","x":[43687]},{"a":43760,"t":"code","b":[240,38],"m":"beq","oa":43800,"o":"r_AB18"},{"a":43762,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":43764,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":43766,"t":"code","b":[32,144,171],"m":"jsr","oa":43920,"o":"zone_sleep_all"},{"a":43769,"t":"code","b":[76,93,171],"m":"jmp","oa":43869,"o":"zone_wake_4"},{"a":43772,"l":"b_AAFC","t":"code","b":[224,5],"m":"cpx","o":"#$05","x":[43645,43649,43658]},{"a":43774,"t":"code","b":[240,24],"m":"beq","oa":43800,"o":"r_AB18"},{"a":43776,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":43778,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":43780,"t":"code","b":[32,144,171],"m":"jsr","oa":43920,"o":"zone_sleep_all"},{"a":43783,"t":"code","b":[76,110,171],"m":"jmp","oa":43886,"o":"zone_wake_5"},{"a":43786,"l":"b_AB0A","t":"code","b":[224,6],"m":"cpx","o":"#$06","x":[43700]},{"a":43788,"t":"code","b":[240,10],"m":"beq","oa":43800,"o":"r_AB18"},{"a":43790,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":43792,"t":"code","b":[133,86],"m":"sta","oa":86,"o":"zone"},{"a":43794,"t":"code","b":[32,144,171],"m":"jsr","oa":43920,"o":"zone_sleep_all"},{"a":43797,"t":"code","b":[76,127,171],"m":"jmp","oa":43903,"o":"zone_wake_6"},{"a":43800,"l":"r_AB18","t":"code","b":[96],"m":"rts","x":[43704,43718,43732,43746,43760,43774,43788]},{"a":43801,"l":"zone_wake_0","c":"Clears bit 7 of $1CB0 (asleep flag) for each object in zone0_objects.","t":"code","b":[160,9],"m":"ldy","o":"#$09","x":[43713]},{"a":43803,"l":"b_AB1B","t":"code","b":[190,10,170],"m":"ldx","oa":43530,"o":"zone0_objects,y","x":[43815]},{"a":43806,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":43809,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43811,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43814,"t":"code","b":[136],"m":"dey"},{"a":43815,"t":"code","b":[16,242],"m":"bpl","oa":43803,"o":"b_AB1B"},{"a":43817,"t":"code","b":[96],"m":"rts"},{"a":43818,"l":"zone_wake_1","c":"Clears bit 7 of $1CB0 for each object in zone1_objects.","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[43727]},{"a":43820,"l":"b_AB2C","t":"code","b":[190,20,170],"m":"ldx","oa":43540,"o":"zone1_objects,y","x":[43832]},{"a":43823,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":43826,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43828,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43831,"t":"code","b":[136],"m":"dey"},{"a":43832,"t":"code","b":[16,242],"m":"bpl","oa":43820,"o":"b_AB2C"},{"a":43834,"t":"code","b":[96],"m":"rts"},{"a":43835,"l":"zone_wake_2","c":"Clears bit 7 of $1CB0 for each object in zone2_objects.","t":"code","b":[160,6],"m":"ldy","o":"#$06","x":[43741]},{"a":43837,"l":"b_AB3D","t":"code","b":[190,24,170],"m":"ldx","oa":43544,"o":"zone2_objects,y","x":[43849]},{"a":43840,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":43843,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43845,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43848,"t":"code","b":[136],"m":"dey"},{"a":43849,"t":"code","b":[16,242],"m":"bpl","oa":43837,"o":"b_AB3D"},{"a":43851,"t":"code","b":[96],"m":"rts"},{"a":43852,"l":"zone_wake_3","c":"Clears bit 7 of $1CB0 for each object in zone3_objects.","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[43755]},{"a":43854,"l":"b_AB4E","t":"code","b":[190,31,170],"m":"ldx","oa":43551,"o":"zone3_objects,y","x":[43866]},{"a":43857,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":43860,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43862,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43865,"t":"code","b":[136],"m":"dey"},{"a":43866,"t":"code","b":[16,242],"m":"bpl","oa":43854,"o":"b_AB4E"},{"a":43868,"t":"code","b":[96],"m":"rts"},{"a":43869,"l":"zone_wake_4","c":"Clears bit 7 of $1CB0 for each object in zone4_objects.","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[43769]},{"a":43871,"l":"b_AB5F","t":"code","b":[190,37,170],"m":"ldx","oa":43557,"o":"zone4_objects,y","x":[43883]},{"a":43874,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":43877,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43879,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43882,"t":"code","b":[136],"m":"dey"},{"a":43883,"t":"code","b":[16,242],"m":"bpl","oa":43871,"o":"b_AB5F"},{"a":43885,"t":"code","b":[96],"m":"rts"},{"a":43886,"l":"zone_wake_5","c":"Clears bit 7 of $1CB0 for each object in zone5_objects.","t":"code","b":[160,1],"m":"ldy","o":"#$01","x":[43783]},{"a":43888,"l":"b_AB70","t":"code","b":[190,43,170],"m":"ldx","oa":43563,"o":"zone5_objects,y","x":[43900]},{"a":43891,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":43894,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43896,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43899,"t":"code","b":[136],"m":"dey"},{"a":43900,"t":"code","b":[16,242],"m":"bpl","oa":43888,"o":"b_AB70"},{"a":43902,"t":"code","b":[96],"m":"rts"},{"a":43903,"l":"zone_wake_6","c":"Clears bit 7 of $1CB0 for each object in zone6_objects.","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[43797]},{"a":43905,"l":"b_AB81","t":"code","b":[190,45,170],"m":"ldx","oa":43565,"o":"zone6_objects,y","x":[43917]},{"a":43908,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":43911,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43913,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43916,"t":"code","b":[136],"m":"dey"},{"a":43917,"t":"code","b":[16,242],"m":"bpl","oa":43905,"o":"b_AB81"},{"a":43919,"t":"code","b":[96],"m":"rts"},{"a":43920,"l":"zone_sleep_all","c":"Sets bit 7 of $1CB0,X for objects 3-$2F: every creature and item in that range stops being processed until its zone wakes it.","t":"code","b":[162,3],"m":"ldx","o":"#$03","x":[43710,43724,43738,43752,43766,43780,43794]},{"a":43922,"l":"b_AB92","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[43933]},{"a":43925,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":43927,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":43930,"t":"code","b":[232],"m":"inx"},{"a":43931,"t":"code","b":[224,48],"m":"cpx","o":"#$30"},{"a":43933,"t":"code","b":[208,243],"m":"bne","oa":43922,"o":"b_AB92"},{"a":43935,"t":"code","b":[96],"m":"rts"},{"a":43936,"l":"charset_bank_slot","c":"Three bytes, one per graphics set 0-2: the offset ($00, $08) within the store at $2E00 where that set is kept, or $FF for the set currently installed in the character set. Rewritten by zone_graphics.","t":"byte","b":[0,8,255],"x":[43991,44011,44071,44074,44112,44123,44126,44131]},{"a":43939,"l":"zone_charset_bank","c":"Graphics set (0-2) each zone 0-6 uses: 0,0,1,2,2,2,0.","t":"byte","b":[0,0,1,2,2,2,0],"x":[43985]},{"a":43946,"l":"charset_swap_index","c":"Loop counter of zone_graphics: which of the 16 swapped characters (15 down to 0).","t":"byte","b":[0],"x":[43998,44001,44026,44085,44105]},{"a":43947,"l":"charset_wanted_bank","c":"Scratch: the graphics set zone_graphics is installing.","t":"byte","b":[0],"x":[43988,44004,44065,44120]},{"a":43948,"l":"swap_char_codes","c":"The 16 character codes whose shapes change by zone: $A1-$A5 and $F5-$FF.","t":"byte","b":[161,162,163,164,165,245,246,247],"x":[44029,44088]},{"a":43956,"t":"byte","b":[248,249,250,251,252,253,254,255]},{"a":43964,"l":"swap_char_store_lo","c":"Offsets $00-$F0 (16 per character) into the $2E00 store for each of the 16 swapped characters; the set's slot offset from charset_bank_slot is added.","t":"byte","b":[0,16,32,48,64,80,96,112],"x":[44007]},{"a":43972,"t":"byte","b":[128,144,160,176,192,208,224,240]},{"a":43980,"l":"zone_graphics_done","c":"Graphics set already installed: continue at j_8310.","t":"code","b":[76,16,131],"m":"jmp","oa":33552,"o":"charobj_step","x":[43994]},{"a":43983,"l":"zone_graphics","c":"Installs the character shapes and colours for zone $56: if the set zone_charset_bank[$56] is not already in, swaps the 8 bytes of each of the 16 characters in swap_char_codes (at $4000 + 8*code) with its store at $2E00 + 16*n + slot, and swaps each character's colour byte $2F00,code with $3E60 + 2*slot + n; then records which slot is now free. Ends in j_8310 when nothing to do. Called from start-up $4A39, $8C3D, $941A, $94E4.","t":"code","b":[166,86],"m":"ldx","oa":86,"o":"zone","x":[19001,35901,37914,38116]},{"a":43985,"t":"code","b":[188,163,171],"m":"ldy","oa":43939,"o":"zone_charset_bank,x"},{"a":43988,"t":"code","b":[140,171,171],"m":"sty","oa":43947,"o":"charset_wanted_bank"},{"a":43991,"t":"code","b":[185,160,171],"m":"lda","oa":43936,"o":"charset_bank_slot,y"},{"a":43994,"t":"code","b":[48,240],"m":"bmi","oa":43980,"o":"zone_graphics_done"},{"a":43996,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":43998,"t":"code","b":[141,170,171],"m":"sta","oa":43946,"o":"charset_swap_index"},{"a":44001,"l":"b_ABE1","t":"code","b":[174,170,171],"m":"ldx","oa":43946,"o":"charset_swap_index","x":[44108]},{"a":44004,"t":"code","b":[172,171,171],"m":"ldy","oa":43947,"o":"charset_wanted_bank"},{"a":44007,"t":"code","b":[189,188,171],"m":"lda","oa":43964,"o":"swap_char_store_lo,x"},{"a":44010,"t":"code","b":[24],"m":"clc"},{"a":44011,"t":"code","b":[121,160,171],"m":"adc","oa":43936,"o":"charset_bank_slot,y"},{"a":44014,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":44016,"t":"code","b":[169,46],"m":"lda","o":"#$2E"},{"a":44018,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":44020,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":44022,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44024,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":44026,"t":"code","b":[174,170,171],"m":"ldx","oa":43946,"o":"charset_swap_index"},{"a":44029,"t":"code","b":[189,172,171],"m":"lda","oa":43948,"o":"swap_char_codes,x"},{"a":44032,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44033,"t":"code","b":[38,91],"m":"rol","oa":91,"o":"tmp_ptr_a_hi"},{"a":44035,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44036,"t":"code","b":[38,91],"m":"rol","oa":91,"o":"tmp_ptr_a_hi"},{"a":44038,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44039,"t":"code","b":[38,91],"m":"rol","oa":91,"o":"tmp_ptr_a_hi"},{"a":44041,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":44043,"t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi"},{"a":44045,"t":"code","b":[24],"m":"clc"},{"a":44046,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":44048,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":44050,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":44052,"l":"b_AC14","t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y","x":[44063]},{"a":44054,"t":"code","b":[170],"m":"tax"},{"a":44055,"t":"code","b":[177,92],"m":"lda","oa":92,"o":"(tmp_ptr_b),y"},{"a":44057,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":44059,"t":"code","b":[138],"m":"txa"},{"a":44060,"t":"code","b":[145,92],"m":"sta","oa":92,"o":"(tmp_ptr_b),y"},{"a":44062,"t":"code","b":[136],"m":"dey"},{"a":44063,"t":"code","b":[16,243],"m":"bpl","oa":44052,"o":"b_AC14"},{"a":44065,"t":"code","b":[174,171,171],"m":"ldx","oa":43947,"o":"charset_wanted_bank"},{"a":44068,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":44070,"t":"code","b":[24],"m":"clc"},{"a":44071,"t":"code","b":[125,160,171],"m":"adc","oa":43936,"o":"charset_bank_slot,x"},{"a":44074,"t":"code","b":[125,160,171],"m":"adc","oa":43936,"o":"charset_bank_slot,x"},{"a":44077,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":44079,"t":"code","b":[169,62],"m":"lda","o":"#$3E"},{"a":44081,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":44083,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":44085,"t":"code","b":[172,170,171],"m":"ldy","oa":43946,"o":"charset_swap_index"},{"a":44088,"t":"code","b":[190,172,171],"m":"ldx","oa":43948,"o":"swap_char_codes,y"},{"a":44091,"t":"code","b":[189,0,47],"m":"lda","oa":12032,"o":"char_colour,x"},{"a":44094,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":44096,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":44098,"t":"code","b":[157,0,47],"m":"sta","oa":12032,"o":"char_colour,x"},{"a":44101,"t":"code","b":[165,92],"m":"lda","oa":92,"o":"tmp_ptr_b"},{"a":44103,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":44105,"t":"code","b":[206,170,171],"m":"dec","oa":43946,"o":"charset_swap_index"},{"a":44108,"t":"code","b":[16,147],"m":"bpl","oa":44001,"o":"b_ABE1"},{"a":44110,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":44112,"l":"b_AC50","t":"code","b":[189,160,171],"m":"lda","oa":43936,"o":"charset_bank_slot,x","x":[44118]},{"a":44115,"t":"code","b":[48,3],"m":"bmi","oa":44120,"o":"b_AC58"},{"a":44117,"t":"code","b":[202],"m":"dex"},{"a":44118,"t":"code","b":[16,248],"m":"bpl","oa":44112,"o":"b_AC50"},{"a":44120,"l":"b_AC58","t":"code","b":[172,171,171],"m":"ldy","oa":43947,"o":"charset_wanted_bank","x":[44115]},{"a":44123,"t":"code","b":[185,160,171],"m":"lda","oa":43936,"o":"charset_bank_slot,y"},{"a":44126,"t":"code","b":[157,160,171],"m":"sta","oa":43936,"o":"charset_bank_slot,x"},{"a":44129,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":44131,"t":"code","b":[153,160,171],"m":"sta","oa":43936,"o":"charset_bank_slot,y"},{"a":44134,"t":"code","b":[96],"m":"rts"},{"a":44135,"l":"distance_between","c":"Distance from object X to object Y: |dx| $D9/$DA with direction $DD ($81 when X is right of Y, $01 left, 0 when within 8 pixels), |dy| $DB/$DC with $DE ($81 below, $01 above, 0 level). Used by creatures and the carrier.","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[41776,45677,45807,46102,46270,46303,46356,46427,46845,46944,46991,47339,47417,47448,49613,49982,51580,52452,52701,52746,52887,53034,64937]},{"a":44138,"t":"code","b":[56],"m":"sec"},{"a":44139,"t":"code","b":[249,112,27],"m":"sbc","oa":7024,"o":"obj_x_lo,y"},{"a":44142,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"dist_x_lo"},{"a":44144,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":44147,"t":"code","b":[249,192,27],"m":"sbc","oa":7104,"o":"obj_x_hi,y"},{"a":44150,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"dist_x_hi"},{"a":44152,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":44154,"t":"code","b":[48,6],"m":"bmi","oa":44162,"o":"b_AC82"},{"a":44156,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":44158,"t":"code","b":[133,221],"m":"sta","oa":221,"o":"dir_x"},{"a":44160,"t":"code","b":[48,21],"m":"bmi","oa":44183,"o":"b_AC97"},{"a":44162,"l":"b_AC82","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[44154]},{"a":44164,"t":"code","b":[133,221],"m":"sta","oa":221,"o":"dir_x"},{"a":44166,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":44168,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":44170,"t":"code","b":[24],"m":"clc"},{"a":44171,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":44173,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"dist_x_lo"},{"a":44175,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":44177,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":44179,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":44181,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"dist_x_hi"},{"a":44183,"l":"b_AC97","t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi","x":[44160]},{"a":44185,"t":"code","b":[208,10],"m":"bne","oa":44197,"o":"b_ACA5"},{"a":44187,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":44189,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":44191,"t":"code","b":[176,4],"m":"bcs","oa":44197,"o":"b_ACA5"},{"a":44193,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44195,"t":"code","b":[133,221],"m":"sta","oa":221,"o":"dir_x"},{"a":44197,"l":"b_ACA5","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[44185,44191]},{"a":44200,"t":"code","b":[56],"m":"sec"},{"a":44201,"t":"code","b":[249,16,28],"m":"sbc","oa":7184,"o":"obj_y_lo,y"},{"a":44204,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"dist_y_lo"},{"a":44206,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":44209,"t":"code","b":[249,96,28],"m":"sbc","oa":7264,"o":"obj_y_hi,y"},{"a":44212,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"dist_y_hi"},{"a":44214,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":44216,"t":"code","b":[48,16],"m":"bmi","oa":44234,"o":"b_ACCA"},{"a":44218,"t":"code","b":[208,9],"m":"bne","oa":44229,"o":"b_ACC5"},{"a":44220,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":44222,"t":"code","b":[208,5],"m":"bne","oa":44229,"o":"b_ACC5"},{"a":44224,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44226,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"dir_y"},{"a":44228,"t":"code","b":[96],"m":"rts"},{"a":44229,"l":"b_ACC5","t":"code","b":[169,129],"m":"lda","o":"#$81","x":[44218,44222]},{"a":44231,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"dir_y"},{"a":44233,"t":"code","b":[96],"m":"rts"},{"a":44234,"l":"b_ACCA","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[44216]},{"a":44236,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"dir_y"},{"a":44238,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":44240,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":44242,"t":"code","b":[24],"m":"clc"},{"a":44243,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":44245,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"dist_y_lo"},{"a":44247,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":44249,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":44251,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":44253,"t":"code","b":[133,220],"m":"sta","oa":220,"o":"dist_y_hi"},{"a":44255,"t":"code","b":[96],"m":"rts"},{"a":44256,"l":"chase_direction","c":"Turns the direction from distance_between into movement for creature X: $CB/$CC = $DD/$DE; if the creature has a turned-away heading $1E30,X it keeps it until $1EC0 is clear and |dx| high byte reaches $1AA0,X; with no horizontal difference it starts wandering in its current direction $1DB0 (or left). Called from $B287, $B811, $C50F and others.","t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x","x":[45703,46516,47121,50447,50512,50566,51678,53079]},{"a":44258,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":44260,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":44262,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":44264,"t":"code","b":[189,48,30],"m":"lda","oa":7728,"o":"chase_dir,x"},{"a":44267,"t":"code","b":[208,17],"m":"bne","oa":44286,"o":"b_ACFE"},{"a":44269,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":44271,"t":"code","b":[208,12],"m":"bne","oa":44285,"o":"r_ACFD"},{"a":44273,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":44276,"t":"code","b":[208,2],"m":"bne","oa":44280,"o":"b_ACF8"},{"a":44278,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":44280,"l":"b_ACF8","t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x","x":[44276]},{"a":44283,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":44285,"l":"r_ACFD","t":"code","b":[96],"m":"rts","x":[44271]},{"a":44286,"l":"b_ACFE","t":"code","b":[189,192,30],"m":"lda","oa":7872,"o":"chase_lock,x","x":[44267]},{"a":44289,"t":"code","b":[208,7],"m":"bne","oa":44298,"o":"b_AD0A"},{"a":44291,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":44293,"t":"code","b":[221,160,26],"m":"cmp","oa":6816,"o":"chase_range,x"},{"a":44296,"t":"code","b":[176,6],"m":"bcs","oa":44304,"o":"b_AD10"},{"a":44298,"l":"b_AD0A","t":"code","b":[189,48,30],"m":"lda","oa":7728,"o":"chase_dir,x","x":[44289]},{"a":44301,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":44303,"t":"code","b":[96],"m":"rts"},{"a":44304,"l":"b_AD10","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[44296]},{"a":44306,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":44309,"t":"code","b":[96],"m":"rts"},{"a":44310,"l":"creature_blocked","c":"Reaction of creature X when its move was refused: in state $0C (landed/stopped) reverses its heading into $1E30, stops it and sets state 6; with no horizontal move it reverses and sets state 0; otherwise counts down its climb timer $1E60 and, at the end, reverses when the vertical direction $DE matches. Sets $1EC0 = 1 when far ($DA >= $1AA0,X). Called from $B2B4, $C5C8, $CAE3, $CF85.","t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x","x":[45748,50632,51939,53125]},{"a":44313,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":44315,"t":"code","b":[208,33],"m":"bne","oa":44350,"o":"b_AD3E"},{"a":44317,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":44320,"t":"code","b":[73,128],"m":"eor","o":"#$80"},{"a":44322,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":44325,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44327,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":44329,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":44331,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":44333,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":44336,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":44338,"t":"code","b":[221,160,26],"m":"cmp","oa":6816,"o":"chase_range,x"},{"a":44341,"t":"code","b":[176,1],"m":"bcs","oa":44344,"o":"b_AD38"},{"a":44343,"t":"code","b":[96],"m":"rts"},{"a":44344,"l":"b_AD38","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[44341,44376,44420]},{"a":44346,"t":"code","b":[157,192,30],"m":"sta","oa":7872,"o":"chase_lock,x"},{"a":44349,"t":"code","b":[96],"m":"rts"},{"a":44350,"l":"b_AD3E","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[44315]},{"a":44352,"t":"code","b":[208,25],"m":"bne","oa":44379,"o":"b_AD5B"},{"a":44354,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":44357,"t":"code","b":[73,128],"m":"eor","o":"#$80"},{"a":44359,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":44362,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44364,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":44366,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":44368,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":44371,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":44373,"t":"code","b":[221,160,26],"m":"cmp","oa":6816,"o":"chase_range,x"},{"a":44376,"t":"code","b":[176,222],"m":"bcs","oa":44344,"o":"b_AD38"},{"a":44378,"t":"code","b":[96],"m":"rts"},{"a":44379,"l":"b_AD5B","t":"code","b":[189,96,30],"m":"lda","oa":7776,"o":"chase_timer,x","x":[44352]},{"a":44382,"t":"code","b":[41,126],"m":"and","o":"#$7E"},{"a":44384,"t":"code","b":[240,37],"m":"beq","oa":44423,"o":"b_AD87"},{"a":44386,"t":"code","b":[222,96,30],"m":"dec","oa":7776,"o":"chase_timer,x"},{"a":44389,"t":"code","b":[189,96,30],"m":"lda","oa":7776,"o":"chase_timer,x"},{"a":44392,"t":"code","b":[41,126],"m":"and","o":"#$7E"},{"a":44394,"t":"code","b":[208,34],"m":"bne","oa":44430,"o":"b_AD8E"},{"a":44396,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":44398,"t":"code","b":[221,96,30],"m":"cmp","oa":7776,"o":"chase_timer,x"},{"a":44401,"t":"code","b":[208,27],"m":"bne","oa":44430,"o":"b_AD8E"},{"a":44403,"t":"code","b":[189,48,30],"m":"lda","oa":7728,"o":"chase_dir,x"},{"a":44406,"t":"code","b":[208,41],"m":"bne","oa":44449,"o":"b_ADA1"},{"a":44408,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":44410,"t":"code","b":[73,128],"m":"eor","o":"#$80"},{"a":44412,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":44415,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":44417,"t":"code","b":[221,160,26],"m":"cmp","oa":6816,"o":"chase_range,x"},{"a":44420,"t":"code","b":[176,178],"m":"bcs","oa":44344,"o":"b_AD38"},{"a":44422,"t":"code","b":[96],"m":"rts"},{"a":44423,"l":"b_AD87","t":"code","b":[165,223],"m":"lda","oa":223,"o":"terrain_result","x":[44384]},{"a":44425,"t":"code","b":[240,3],"m":"beq","oa":44430,"o":"b_AD8E"},{"a":44427,"t":"code","b":[157,96,30],"m":"sta","oa":7776,"o":"chase_timer,x"},{"a":44430,"l":"b_AD8E","t":"code","b":[189,144,30],"m":"lda","oa":7824,"o":"chase_flag,x","x":[44394,44401,44425]},{"a":44433,"t":"code","b":[240,22],"m":"beq","oa":44457,"o":"r_ADA9"},{"a":44435,"t":"code","b":[189,224,29],"m":"lda","oa":7648,"o":"obj_vert_state,x"},{"a":44438,"t":"code","b":[240,17],"m":"beq","oa":44457,"o":"r_ADA9"},{"a":44440,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":44442,"t":"code","b":[208,13],"m":"bne","oa":44457,"o":"r_ADA9"},{"a":44444,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44446,"t":"code","b":[157,144,30],"m":"sta","oa":7824,"o":"chase_flag,x"},{"a":44449,"l":"b_ADA1","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[44406]},{"a":44451,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":44454,"t":"code","b":[157,192,30],"m":"sta","oa":7872,"o":"chase_lock,x"},{"a":44457,"l":"r_ADA9","t":"code","b":[96],"m":"rts","x":[44433,44438,44442]},{"a":44458,"l":"switch_value","c":"Scratch: the tile value switch_set_tile writes.","t":"byte","b":[0],"x":[44549,44596,44740,44757,47853,47866]},{"a":44459,"l":"switch_map_col","c":"Map column of each of the 17 switchable map cells (doors, bridges and the like; index 0-$10).","t":"byte","b":[57,71,105,109,113,102,111,113],"x":[44736]},{"a":44467,"t":"byte","b":[28,47,72,95,109,84,46,28]},{"a":44475,"t":"byte","b":[114]},{"a":44476,"l":"switch_map_row","c":"Map row of each of the 17 switchable map cells; the row selects a row pointer from $0A80/$0AC0.","t":"byte","b":[47,47,50,50,50,44,44,44],"x":[44723]},{"a":44484,"t":"byte","b":[9,3,10,44,28,38,3,10]},{"a":44492,"t":"byte","b":[28]},{"a":44493,"l":"unknown_17_flags","c":"17 bytes of 0 and 1, one per switchable cell by their count, directly after switch_map_row. No reader found by address search (the only $CD $AD byte pair is inside an instruction at $8F46); purpose unknown.","t":"byte","b":[0,1,1,1,1,1,1,1]},{"a":44501,"t":"byte","b":[0,0,1,1,1,1,0,0]},{"a":44509,"t":"byte","b":[1]},{"a":44510,"l":"switch_screen_col","c":"For each switchable cell, its X in characters (column * 4) used to find it on screen.","t":"byte","b":[228,28,164,180,196,152,188,196],"x":[44568]},{"a":44518,"t":"byte","b":[112,188,32,124,180,80,184,112]},{"a":44526,"t":"byte","b":[200]},{"a":44527,"l":"switch_screen_row","c":"For each switchable cell, its Y in characters (row * 4) used to find it on screen.","t":"byte","b":[188,188,200,200,200,176,176,176],"x":[44576]},{"a":44535,"t":"byte","b":[36,12,40,176,112,152,12,40]},{"a":44543,"t":"byte","b":[112]},{"a":44544,"l":"switch_draw_count","c":"Scratch: character counter 0-15 while switch_set_tile draws a 4 x 4 block.","t":"byte","b":[0],"x":[44611,44614,44627,44630]},{"a":44545,"l":"switch_index","c":"Scratch: which switchable cell (0-$10) is being set.","t":"byte","b":[0],"x":[44546,44558,44748,44751,44763]},{"a":44546,"l":"switch_set_tile","c":"Sets switchable map cell Y to tile A: remembers it in $1D00,Y, writes it into the map (switch_write_map), then draws its 4 x 4 characters from the tile's pattern ($1400/$1500 pointer by tile) onto the back screen (page $8788,$52) at its position less the scroll $24/$26, clipping columns past 38, and recolours the screen (recolour_screen). Called from $B480, $BC0A, $BCA1, $BF66 and others.","t":"code","b":[140,1,174],"m":"sty","oa":44545,"o":"switch_index","x":[46208,46513,48138,48289,48295,48998,49758,53066,64719,64786,64930,65056]},{"a":44549,"t":"code","b":[141,170,173],"m":"sta","oa":44458,"o":"switch_value"},{"a":44552,"t":"code","b":[153,0,29],"m":"sta","oa":7424,"o":"cell_states,y"},{"a":44555,"t":"code","b":[32,179,174],"m":"jsr","oa":44723,"o":"switch_write_map"},{"a":44558,"t":"code","b":[174,1,174],"m":"ldx","oa":44545,"o":"switch_index"},{"a":44561,"t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer"},{"a":44563,"t":"code","b":[185,136,135],"m":"lda","oa":34696,"o":"screen_hi_by_buffer,y"},{"a":44566,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":44568,"t":"code","b":[189,222,173],"m":"lda","oa":44510,"o":"switch_screen_col,x"},{"a":44571,"t":"code","b":[56],"m":"sec"},{"a":44572,"t":"code","b":[229,36],"m":"sbc","oa":36,"o":"camera_col_lo"},{"a":44574,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":44576,"t":"code","b":[189,239,173],"m":"lda","oa":44527,"o":"switch_screen_row,x"},{"a":44579,"t":"code","b":[56],"m":"sec"},{"a":44580,"t":"code","b":[229,38],"m":"sbc","oa":38,"o":"camera_row_lo"},{"a":44582,"t":"code","b":[168],"m":"tay"},{"a":44583,"t":"code","b":[185,70,135],"m":"lda","oa":34630,"o":"screen_row_offset_lo,y"},{"a":44586,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":44588,"t":"code","b":[185,95,135],"m":"lda","oa":34655,"o":"screen_row_offset_hi,y"},{"a":44591,"t":"code","b":[24],"m":"clc"},{"a":44592,"t":"code","b":[101,102],"m":"adc","oa":102,"o":"probe_y_lo"},{"a":44594,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":44596,"t":"code","b":[174,170,173],"m":"ldx","oa":44458,"o":"switch_value"},{"a":44599,"t":"code","b":[189,0,20],"m":"lda","oa":5120,"o":"block_ptr_lo,x"},{"a":44602,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":44604,"t":"code","b":[189,0,21],"m":"lda","oa":5376,"o":"block_ptr_hi,x"},{"a":44607,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":44609,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44611,"t":"code","b":[141,0,174],"m":"sta","oa":44544,"o":"switch_draw_count"},{"a":44614,"l":"j_AE46","t":"code","b":[172,0,174],"m":"ldy","oa":44544,"o":"switch_draw_count","x":[44643,44666]},{"a":44617,"t":"code","b":[177,92],"m":"lda","oa":92,"o":"(tmp_ptr_b),y"},{"a":44619,"t":"code","b":[164,100],"m":"ldy","oa":100,"o":"probe_x_lo"},{"a":44621,"t":"code","b":[192,39],"m":"cpy","o":"#$27"},{"a":44623,"t":"code","b":[176,2],"m":"bcs","oa":44627,"o":"b_AE53"},{"a":44625,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":44627,"l":"b_AE53","t":"code","b":[238,0,174],"m":"inc","oa":44544,"o":"switch_draw_count","x":[44623]},{"a":44630,"t":"code","b":[173,0,174],"m":"lda","oa":44544,"o":"switch_draw_count"},{"a":44633,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":44635,"t":"code","b":[240,32],"m":"beq","oa":44669,"o":"b_AE7D"},{"a":44637,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":44639,"t":"code","b":[240,5],"m":"beq","oa":44646,"o":"b_AE66"},{"a":44641,"t":"code","b":[230,100],"m":"inc","oa":100,"o":"probe_x_lo"},{"a":44643,"t":"code","b":[76,70,174],"m":"jmp","oa":44614,"o":"j_AE46"},{"a":44646,"l":"b_AE66","t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo","x":[44639]},{"a":44648,"t":"code","b":[56],"m":"sec"},{"a":44649,"t":"code","b":[233,3],"m":"sbc","o":"#$03"},{"a":44651,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":44653,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":44655,"t":"code","b":[56],"m":"sec"},{"a":44656,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":44658,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":44660,"t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi"},{"a":44662,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":44664,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":44666,"t":"code","b":[76,70,174],"m":"jmp","oa":44614,"o":"j_AE46"},{"a":44669,"l":"b_AE7D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[44635]},{"a":44671,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"scroll_stage"},{"a":44673,"l":"recolour_screen","c":"Rewrites colour RAM $D8A0-$DBFF from the play screen (page $8788,$52, offsets $A0-$3FF): each character gets its colour from the table $2F00 by character code. Self-modifying (operands at $AE9D/$AE9E and $AEA3/$AEA4). Also entered from $BAC5.","t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer","x":[47813]},{"a":44675,"t":"code","b":[185,136,135],"m":"lda","oa":34696,"o":"screen_hi_by_buffer,y"},{"a":44678,"t":"code","b":[141,158,174],"m":"sta","oa":44702,"o":"a_AE9E"},{"a":44681,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44683,"t":"code","b":[141,157,174],"m":"sta","oa":44701,"o":"recolour_src_operand"},{"a":44686,"t":"code","b":[141,163,174],"m":"sta","oa":44707,"o":"a_AEA3"},{"a":44689,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":44691,"t":"code","b":[141,164,174],"m":"sta","oa":44708,"o":"a_AEA4"},{"a":44694,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":44696,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":44698,"t":"code","b":[160,160],"m":"ldy","o":"#$A0"},{"a":44700,"l":"b_AE9C","t":"code","b":[190,0,255],"m":"ldx","oa":65280,"o":"a_FF00,y","x":[44710,44720]},{"a":44701,"t":"note","l":"recolour_src_operand","c":"Operand of the LDX abs,Y at $AE9C in recolour_screen, rewritten at run time: low byte $AE9D set to 0, high byte $AE9E set to the play-screen page ($8788,$52) and stepped one page per pass. Y runs $A0-$FF, then three whole pages, so screen offsets $A0-$3FF are recoloured.","note":"inside the item at $AE9C","x":[44683]},{"a":44702,"t":"note","l":"a_AE9E","c":"High byte of the self-modified screen-read operand in recolour_screen: set from $8788,$52 at $AE86, incremented at $AEA8 after each page.","note":"inside the item at $AE9C","x":[44678,44712]},{"a":44703,"t":"code","b":[189,0,47],"m":"lda","oa":12032,"o":"char_colour,x"},{"a":44706,"t":"code","b":[153,0,255],"m":"sta","oa":65280,"o":"a_FF00,y"},{"a":44707,"t":"note","l":"a_AEA3","c":"Low byte of the self-modified colour-RAM store operand (STA abs,Y at $AEA2) in recolour_screen, set to 0 at $AE8E.","note":"inside the item at $AEA2","x":[44686]},{"a":44708,"t":"note","l":"a_AEA4","c":"High byte of the self-modified colour-RAM store operand in recolour_screen: set to $D8 at $AE93, incremented per page, so writes land in $D8A0-$DBFF.","note":"inside the item at $AEA2","x":[44691,44715]},{"a":44709,"t":"code","b":[200],"m":"iny"},{"a":44710,"t":"code","b":[208,244],"m":"bne","oa":44700,"o":"b_AE9C"},{"a":44712,"t":"code","b":[238,158,174],"m":"inc","oa":44702,"o":"a_AE9E"},{"a":44715,"t":"code","b":[238,164,174],"m":"inc","oa":44708,"o":"a_AEA4"},{"a":44718,"t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a"},{"a":44720,"t":"code","b":[16,234],"m":"bpl","oa":44700,"o":"b_AE9C"},{"a":44722,"t":"code","b":[96],"m":"rts"},{"a":44723,"l":"switch_write_map","c":"Writes $ADAA into the map at switchable cell Y: row pointer from $0A80/$0AC0 by switch_map_row, column switch_map_col.","t":"code","b":[190,188,173],"m":"ldx","oa":44476,"o":"switch_map_row,y","x":[44555,44760,47861,47874]},{"a":44726,"t":"code","b":[189,128,10],"m":"lda","oa":2688,"o":"map_row_lo,x"},{"a":44729,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":44731,"t":"code","b":[189,192,10],"m":"lda","oa":2752,"o":"map_row_hi,x"},{"a":44734,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":44736,"t":"code","b":[185,171,173],"m":"lda","oa":44459,"o":"switch_map_col,y"},{"a":44739,"t":"code","b":[168],"m":"tay"},{"a":44740,"t":"code","b":[173,170,173],"m":"lda","oa":44458,"o":"switch_value"},{"a":44743,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":44745,"t":"code","b":[96],"m":"rts"},{"a":44746,"l":"switch_restore_all","c":"Writes all 17 switchable cells from $1D00 back into the map; called at start-up $4A3C and from $94E7.","t":"code","b":[169,16],"m":"lda","o":"#$10","x":[19004,38119]},{"a":44748,"t":"code","b":[141,1,174],"m":"sta","oa":44545,"o":"switch_index"},{"a":44751,"l":"b_AECF","t":"code","b":[172,1,174],"m":"ldy","oa":44545,"o":"switch_index","x":[44766]},{"a":44754,"t":"code","b":[185,0,29],"m":"lda","oa":7424,"o":"cell_states,y"},{"a":44757,"t":"code","b":[141,170,173],"m":"sta","oa":44458,"o":"switch_value"},{"a":44760,"t":"code","b":[32,179,174],"m":"jsr","oa":44723,"o":"switch_write_map"},{"a":44763,"t":"code","b":[206,1,174],"m":"dec","oa":44545,"o":"switch_index"},{"a":44766,"t":"code","b":[16,239],"m":"bpl","oa":44751,"o":"b_AECF"},{"a":44768,"t":"code","b":[96],"m":"rts"},{"a":44769,"l":"prog_table_aee1","c":"Three bytes ($4B,$6B,$8B) read at $B040 by the Splinx Programmer code; meaning not established (they look like sprite coordinates).","t":"byte","b":[75,107,139],"x":[45120]},{"a":44772,"l":"prog_table_aee4","c":"Ten bytes $4F-$DF in steps of $10, read at $B048 by the Splinx Programmer code; meaning not established.","t":"byte","b":[79,95,111,127,143,159,175,191],"x":[45128]},{"a":44780,"t":"byte","b":[207,223]},{"a":44782,"l":"prog_table_aeee","c":"Ten bytes $A3-$33 in steps of $10, read at $B050 by the Splinx Programmer code; meaning not established.","t":"byte","b":[163,179,195,211,227,243,3,19],"x":[45136]},{"a":44790,"t":"byte","b":[35,51]},{"a":44792,"l":"prog_table_aef8","c":"Ten bytes, six 0 then four 4, read at $B056 (probably the X high bit for the positions in prog_table_aeee, which wrap past $FF); not verified.","t":"byte","b":[0,0,0,0,0,0,4,4],"x":[45142]},{"a":44800,"t":"byte","b":[4,4]},{"a":44802,"l":"prog_table_af02","c":"Eleven bytes ($00,$1C-$1F,$12,$17,$10,$04,$03,$0A) read at $B066 by the Splinx Programmer code; meaning not established.","t":"byte","b":[0,28,29,30,31,18,23,16],"x":[45158]},{"a":44810,"t":"byte","b":[4,3,10]},{"a":44813,"l":"gauge_mask_a","c":"25 bytes of fill masks ($00 x17 then $01,$03 ... $FF) read at $B07A: one of three 8-pixel cells of a bar gauge (probably Splinx's battery) indexed by level.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[45178]},{"a":44821,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44829,"t":"byte","b":[0,1,3,7,15,31,63,127]},{"a":44837,"t":"byte","b":[255]},{"a":44838,"l":"gauge_mask_b","c":"25 bytes of fill masks read at $B089: the middle cell of the bar gauge, full ($FF) from level 16.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[45193]},{"a":44846,"t":"byte","b":[0,1,3,7,15,31,63,127]},{"a":44854,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44862,"t":"byte","b":[255]},{"a":44863,"l":"gauge_mask_c","c":"25 bytes of fill masks read at $B098: the first cell of the bar gauge, full from level 8.","t":"byte","b":[0,1,3,7,15,31,63,127],"x":[45208]},{"a":44871,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44879,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44887,"t":"byte","b":[255]},{"a":44888,"l":"splinx_programmer_open","c":"Main-loop subsystem (only when $FC64 <> 0): with no direction held and S newly pressed ($D3, edge $D7) opens the Splinx Programmer: blanks the display, calls s_C89C, sets $1032 = 7, turns off sprites and raster interrupts, switches to VIC bank 0 with $D018 = $32 (screen $0C00, characters $0800), sets text scroll 3/3, sprite 0 Y-expanded and sprite 3 X-expanded, sprite colours 2,7,8,$E and pointers at $0FF8, continuing past $B000. Otherwise goes to j_B1A0.","t":"code","b":[165,212],"m":"lda","oa":212,"o":"stick_x","x":[29846]},{"a":44890,"t":"code","b":[208,10],"m":"bne","oa":44902,"o":"b_AF66"},{"a":44892,"t":"code","b":[165,213],"m":"lda","oa":213,"o":"stick_y"},{"a":44894,"t":"code","b":[208,6],"m":"bne","oa":44902,"o":"b_AF66"},{"a":44896,"t":"code","b":[165,211],"m":"lda","oa":211,"o":"key_s"},{"a":44898,"t":"code","b":[48,5],"m":"bmi","oa":44905,"o":"b_AF69"},{"a":44900,"t":"code","b":[133,215],"m":"sta","oa":215,"o":"s_latch"},{"a":44902,"l":"b_AF66","t":"code","b":[76,160,177],"m":"jmp","oa":45472,"o":"splinx_update","x":[44890,44894,44907]},{"a":44905,"l":"b_AF69","t":"code","b":[165,215],"m":"lda","oa":215,"o":"s_latch","x":[44898]},{"a":44907,"t":"code","b":[48,249],"m":"bmi","oa":44902,"o":"b_AF66"},{"a":44909,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":44911,"t":"code","b":[133,215],"m":"sta","oa":215,"o":"s_latch"},{"a":44913,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":44916,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":44918,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":44921,"t":"code","b":[32,156,200],"m":"jsr","oa":51356,"o":"sound_silence_all"},{"a":44924,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":44926,"t":"code","b":[141,50,16],"m":"sta","oa":4146,"o":"prog_colour_title"},{"a":44929,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44931,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":44934,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44936,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":44939,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":44942,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":44944,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":44947,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":44950,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":44952,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":44955,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":44958,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":44960,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":44962,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":44965,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":44968,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":44970,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":44972,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":44975,"t":"code","b":[32,109,177],"m":"jsr","oa":45421,"o":"swap_colour_ram_with_1000"},{"a":44978,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":44981,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":44983,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":44986,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":44989,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":44991,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":44993,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":44996,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":44998,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":45001,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":45004,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":45006,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":45009,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":45011,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":45014,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":45016,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":45019,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45021,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":45024,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45026,"t":"code","b":[141,27,208],"m":"sta","o":"vic_sprite_priority"},{"a":45029,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":45031,"t":"code","b":[141,39,208],"m":"sta","o":"vic_sprite0_colour"},{"a":45034,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":45036,"t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":45039,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":45041,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":45044,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":45046,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":45049,"t":"code","b":[169,44],"m":"lda","o":"#$2C"},{"a":45051,"t":"code","b":[141,248,15],"m":"sta","oa":4088,"o":"prog_sprite_ptr_0"},{"a":45054,"t":"code","b":[169,45],"m":"lda","o":"#$2D"},{"a":45056,"l":"splinx_programmer_screen_loop","c":"Splinx Programmer screen, second half of the routine entered at $AF58 (S key). Sets sprite pointers $0FF9-$0FFB (screen $0C00) to $2D-$2F and fixed sprite positions, then loops: waits for raster $FA, and every 16th pass ($3B & $0F = $0A) places cursor sprites (sprite 0 Y from $AEE1,$FF = mode row; sprite 1 Y from $AEE4,$3A = command row; sprite 2 X from $AEEE/$AEF8,$2F = program slot), writes the ten program steps $30-$39 through table $AF02 to screen $0F82+2n, and draws the battery gauge from $1F (tables $AF0D/$AF26/$AF3F) into sprite data $0BD4-$0BE6. Reads input via $8F24: up/down move command cursor $3A 0-9, left/right move slot $2F 0-9; fire with command 0 (CHANGE MODE) cycles $FF 0-1-2 (SHUT DOWN / FOLLOW DOCTOR / EXECUTE PROGRAM; entering 2 resets $2F), fire on any other command stores it in slot $30+$2F and advances $2F. Fire and S are edge-detected through $D8 and $D7. S again leaves via $B12C.","t":"code","b":[141,249,15],"m":"sta","oa":4089,"o":"prog_sprite_ptr_1"},{"a":45059,"t":"code","b":[169,46],"m":"lda","o":"#$2E"},{"a":45061,"t":"code","b":[141,250,15],"m":"sta","oa":4090,"o":"prog_sprite_ptr_2"},{"a":45064,"t":"code","b":[169,47],"m":"lda","o":"#$2F"},{"a":45066,"t":"code","b":[141,251,15],"m":"sta","oa":4091,"o":"prog_sprite_ptr_3"},{"a":45069,"t":"code","b":[169,204],"m":"lda","o":"#$CC"},{"a":45071,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":45074,"t":"code","b":[169,29],"m":"lda","o":"#$1D"},{"a":45076,"t":"code","b":[141,2,208],"m":"sta","o":"vic_sprite1_x"},{"a":45079,"t":"code","b":[169,219],"m":"lda","o":"#$DB"},{"a":45081,"t":"code","b":[141,5,208],"m":"sta","o":"vic_sprite2_y"},{"a":45084,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":45086,"t":"code","b":[141,6,208],"m":"sta","o":"vic_sprite3_x"},{"a":45089,"t":"code","b":[169,186],"m":"lda","o":"#$BA"},{"a":45091,"t":"code","b":[141,7,208],"m":"sta","o":"vic_sprite3_y"},{"a":45094,"l":"b_B026","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1","x":[45099,45106,45116,45275,45298,45315,45324,45344,45353]},{"a":45097,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":45099,"t":"code","b":[208,249],"m":"bne","oa":45094,"o":"b_B026"},{"a":45101,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":45104,"t":"code","b":[201,250],"m":"cmp","o":"#$FA"},{"a":45106,"t":"code","b":[208,242],"m":"bne","oa":45094,"o":"b_B026"},{"a":45108,"t":"code","b":[230,59],"m":"inc","oa":59,"o":"prog_frame_count"},{"a":45110,"t":"code","b":[165,59],"m":"lda","oa":59,"o":"prog_frame_count"},{"a":45112,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":45114,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":45116,"t":"code","b":[208,232],"m":"bne","oa":45094,"o":"b_B026"},{"a":45118,"l":"j_B03E","t":"code","b":[164,255],"m":"ldy","oa":255,"o":"prog_column","x":[45333]},{"a":45120,"t":"code","b":[185,225,174],"m":"lda","oa":44769,"o":"prog_table_aee1,y"},{"a":45123,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":45126,"t":"code","b":[164,58],"m":"ldy","oa":58,"o":"prog_command_row"},{"a":45128,"t":"code","b":[185,228,174],"m":"lda","oa":44772,"o":"prog_table_aee4,y"},{"a":45131,"t":"code","b":[141,3,208],"m":"sta","o":"vic_sprite1_y"},{"a":45134,"t":"code","b":[164,47],"m":"ldy","oa":47,"o":"prog_cursor"},{"a":45136,"t":"code","b":[185,238,174],"m":"lda","oa":44782,"o":"prog_table_aeee,y"},{"a":45139,"t":"code","b":[141,4,208],"m":"sta","o":"vic_sprite2_x"},{"a":45142,"t":"code","b":[185,248,174],"m":"lda","oa":44792,"o":"prog_table_aef8,y"},{"a":45145,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":45148,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":45150,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":45153,"t":"code","b":[162,9],"m":"ldx","o":"#$09"},{"a":45155,"l":"b_B063","t":"code","b":[181,48],"m":"lda","oa":48,"o":"splinx_program,x","x":[45172]},{"a":45157,"t":"code","b":[168],"m":"tay"},{"a":45158,"t":"code","b":[185,2,175],"m":"lda","oa":44802,"o":"prog_table_af02,y"},{"a":45161,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":45163,"t":"code","b":[138],"m":"txa"},{"a":45164,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45165,"t":"code","b":[168],"m":"tay"},{"a":45166,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":45168,"t":"code","b":[153,130,15],"m":"sta","oa":3970,"o":"prog_screen_steps,y"},{"a":45171,"t":"code","b":[202],"m":"dex"},{"a":45172,"t":"code","b":[16,237],"m":"bpl","oa":45155,"o":"b_B063"},{"a":45174,"t":"code","b":[164,31],"m":"ldy","oa":31,"o":"splinx_battery"},{"a":45176,"t":"code","b":[162,36],"m":"ldx","o":"#$24"},{"a":45178,"l":"b_B07A","t":"code","b":[185,13,175],"m":"lda","oa":44813,"o":"gauge_mask_a,y","x":[45189]},{"a":45181,"t":"code","b":[157,192,11],"m":"sta","oa":3008,"o":"prog_gauge_sprite,x"},{"a":45184,"t":"code","b":[202],"m":"dex"},{"a":45185,"t":"code","b":[202],"m":"dex"},{"a":45186,"t":"code","b":[202],"m":"dex"},{"a":45187,"t":"code","b":[224,27],"m":"cpx","o":"#$1B"},{"a":45189,"t":"code","b":[16,243],"m":"bpl","oa":45178,"o":"b_B07A"},{"a":45191,"t":"code","b":[162,37],"m":"ldx","o":"#$25"},{"a":45193,"l":"b_B089","t":"code","b":[185,38,175],"m":"lda","oa":44838,"o":"gauge_mask_b,y","x":[45204]},{"a":45196,"t":"code","b":[157,192,11],"m":"sta","oa":3008,"o":"prog_gauge_sprite,x"},{"a":45199,"t":"code","b":[202],"m":"dex"},{"a":45200,"t":"code","b":[202],"m":"dex"},{"a":45201,"t":"code","b":[202],"m":"dex"},{"a":45202,"t":"code","b":[224,27],"m":"cpx","o":"#$1B"},{"a":45204,"t":"code","b":[16,243],"m":"bpl","oa":45193,"o":"b_B089"},{"a":45206,"t":"code","b":[162,38],"m":"ldx","o":"#$26"},{"a":45208,"l":"b_B098","t":"code","b":[185,63,175],"m":"lda","oa":44863,"o":"gauge_mask_c,y","x":[45219]},{"a":45211,"t":"code","b":[157,192,11],"m":"sta","oa":3008,"o":"prog_gauge_sprite,x"},{"a":45214,"t":"code","b":[202],"m":"dex"},{"a":45215,"t":"code","b":[202],"m":"dex"},{"a":45216,"t":"code","b":[202],"m":"dex"},{"a":45217,"t":"code","b":[224,27],"m":"cpx","o":"#$1B"},{"a":45219,"t":"code","b":[16,243],"m":"bpl","oa":45208,"o":"b_B098"},{"a":45221,"t":"code","b":[32,36,143],"m":"jsr","oa":36644,"o":"read_input"},{"a":45224,"t":"code","b":[165,211],"m":"lda","oa":211,"o":"key_s"},{"a":45226,"t":"code","b":[240,11],"m":"beq","oa":45239,"o":"b_B0B7"},{"a":45228,"t":"code","b":[165,215],"m":"lda","oa":215,"o":"s_latch"},{"a":45230,"t":"code","b":[48,9],"m":"bmi","oa":45241,"o":"b_B0B9"},{"a":45232,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":45234,"t":"code","b":[133,215],"m":"sta","oa":215,"o":"s_latch"},{"a":45236,"t":"code","b":[76,44,177],"m":"jmp","oa":45356,"o":"splinx_programmer_exit"},{"a":45239,"l":"b_B0B7","t":"code","b":[133,215],"m":"sta","oa":215,"o":"s_latch","x":[45226]},{"a":45241,"l":"b_B0B9","t":"code","b":[165,205],"m":"lda","oa":205,"o":"fire_pressed","x":[45230]},{"a":45243,"t":"code","b":[48,5],"m":"bmi","oa":45250,"o":"b_B0C2"},{"a":45245,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"fire_latch"},{"a":45247,"t":"code","b":[76,245,176],"m":"jmp","oa":45301,"o":"j_B0F5"},{"a":45250,"l":"b_B0C2","t":"code","b":[165,216],"m":"lda","oa":216,"o":"fire_latch","x":[45243]},{"a":45252,"t":"code","b":[48,99],"m":"bmi","oa":45353,"o":"b_B129"},{"a":45254,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":45256,"t":"code","b":[133,216],"m":"sta","oa":216,"o":"fire_latch"},{"a":45258,"t":"code","b":[165,58],"m":"lda","oa":58,"o":"prog_command_row"},{"a":45260,"t":"code","b":[240,16],"m":"beq","oa":45278,"o":"b_B0DE"},{"a":45262,"t":"code","b":[164,47],"m":"ldy","oa":47,"o":"prog_cursor"},{"a":45264,"t":"code","b":[153,48,0],"m":"sta","oa":48,"o":"splinx_program,y"},{"a":45267,"t":"code","b":[165,47],"m":"lda","oa":47,"o":"prog_cursor"},{"a":45269,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":45271,"t":"code","b":[240,80],"m":"beq","oa":45353,"o":"b_B129"},{"a":45273,"t":"code","b":[230,47],"m":"inc","oa":47,"o":"prog_cursor"},{"a":45275,"t":"code","b":[76,38,176],"m":"jmp","oa":45094,"o":"b_B026"},{"a":45278,"l":"b_B0DE","t":"code","b":[230,255],"m":"inc","oa":255,"o":"prog_column","x":[45260]},{"a":45280,"t":"code","b":[165,255],"m":"lda","oa":255,"o":"prog_column"},{"a":45282,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":45284,"t":"code","b":[208,4],"m":"bne","oa":45290,"o":"b_B0EA"},{"a":45286,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45288,"t":"code","b":[133,47],"m":"sta","oa":47,"o":"prog_cursor"},{"a":45290,"l":"b_B0EA","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[45284]},{"a":45292,"t":"code","b":[208,59],"m":"bne","oa":45353,"o":"b_B129"},{"a":45294,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45296,"t":"code","b":[133,255],"m":"sta","oa":255,"o":"prog_column"},{"a":45298,"t":"code","b":[76,38,176],"m":"jmp","oa":45094,"o":"b_B026"},{"a":45301,"l":"j_B0F5","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[45247]},{"a":45303,"t":"code","b":[240,22],"m":"beq","oa":45327,"o":"b_B10F"},{"a":45305,"t":"code","b":[16,11],"m":"bpl","oa":45318,"o":"b_B106"},{"a":45307,"t":"code","b":[165,58],"m":"lda","oa":58,"o":"prog_command_row"},{"a":45309,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":45311,"t":"code","b":[240,40],"m":"beq","oa":45353,"o":"b_B129"},{"a":45313,"t":"code","b":[230,58],"m":"inc","oa":58,"o":"prog_command_row"},{"a":45315,"t":"code","b":[76,38,176],"m":"jmp","oa":45094,"o":"b_B026"},{"a":45318,"l":"b_B106","t":"code","b":[165,58],"m":"lda","oa":58,"o":"prog_command_row","x":[45305]},{"a":45320,"t":"code","b":[240,31],"m":"beq","oa":45353,"o":"b_B129"},{"a":45322,"t":"code","b":[198,58],"m":"dec","oa":58,"o":"prog_command_row"},{"a":45324,"t":"code","b":[76,38,176],"m":"jmp","oa":45094,"o":"b_B026"},{"a":45327,"l":"b_B10F","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[45303]},{"a":45329,"t":"code","b":[48,16],"m":"bmi","oa":45347,"o":"b_B123"},{"a":45331,"t":"code","b":[208,3],"m":"bne","oa":45336,"o":"b_B118"},{"a":45333,"t":"code","b":[76,62,176],"m":"jmp","oa":45118,"o":"j_B03E"},{"a":45336,"l":"b_B118","t":"code","b":[165,47],"m":"lda","oa":47,"o":"prog_cursor","x":[45331]},{"a":45338,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":45340,"t":"code","b":[240,11],"m":"beq","oa":45353,"o":"b_B129"},{"a":45342,"t":"code","b":[230,47],"m":"inc","oa":47,"o":"prog_cursor"},{"a":45344,"t":"code","b":[76,38,176],"m":"jmp","oa":45094,"o":"b_B026"},{"a":45347,"l":"b_B123","t":"code","b":[165,47],"m":"lda","oa":47,"o":"prog_cursor","x":[45329]},{"a":45349,"t":"code","b":[240,2],"m":"beq","oa":45353,"o":"b_B129"},{"a":45351,"t":"code","b":[198,47],"m":"dec","oa":47,"o":"prog_cursor"},{"a":45353,"l":"b_B129","t":"code","b":[76,38,176],"m":"jmp","oa":45094,"o":"b_B026","x":[45252,45271,45292,45311,45320,45340,45349]},{"a":45356,"l":"splinx_programmer_exit","c":"Leave the Splinx Programmer: clears $D4 $CB $D5 $CC, blanks the screen, re-enables raster IRQ ($D01A=1), clears multicolour and 24-row/38-column bits, swaps colour RAM back ($B16D), waits for raster $FA, unblanks, returns to the main loop.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[45236]},{"a":45358,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"stick_x"},{"a":45360,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":45362,"t":"code","b":[133,213],"m":"sta","oa":213,"o":"stick_y"},{"a":45364,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":45366,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":45369,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":45371,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":45374,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":45376,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":45379,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":45382,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":45384,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":45387,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":45390,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":45392,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":45395,"t":"code","b":[32,109,177],"m":"jsr","oa":45421,"o":"swap_colour_ram_with_1000"},{"a":45398,"l":"b_B156","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1","x":[45403,45410]},{"a":45401,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":45403,"t":"code","b":[208,249],"m":"bne","oa":45398,"o":"b_B156"},{"a":45405,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":45408,"t":"code","b":[201,250],"m":"cmp","o":"#$FA"},{"a":45410,"t":"code","b":[208,242],"m":"bne","oa":45398,"o":"b_B156"},{"a":45412,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":45415,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":45417,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":45420,"t":"code","b":[96],"m":"rts"},{"a":45421,"l":"swap_colour_ram_with_1000","c":"Exchange the 1024 bytes of colour RAM $D800-$DBFF with the buffer $1000-$13FF (four pages, $68 page counter, pointers $5A/$5B and $5C/$5D). Called on entering ($AFAF) and leaving ($B153) the Splinx Programmer, so the play area's colours are parked while the programmer's are shown.","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[44975,45395]},{"a":45423,"t":"code","b":[133,104],"m":"sta","oa":104,"o":"tmp_count"},{"a":45425,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":45427,"t":"code","b":[132,90],"m":"sty","oa":90,"o":"tmp_ptr_a"},{"a":45429,"t":"code","b":[132,92],"m":"sty","oa":92,"o":"tmp_ptr_b"},{"a":45431,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":45433,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":45435,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":45437,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":45439,"l":"b_B17F","t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y","x":[45450,45458]},{"a":45441,"t":"code","b":[170],"m":"tax"},{"a":45442,"t":"code","b":[177,92],"m":"lda","oa":92,"o":"(tmp_ptr_b),y"},{"a":45444,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":45446,"t":"code","b":[138],"m":"txa"},{"a":45447,"t":"code","b":[145,92],"m":"sta","oa":92,"o":"(tmp_ptr_b),y"},{"a":45449,"t":"code","b":[200],"m":"iny"},{"a":45450,"t":"code","b":[208,243],"m":"bne","oa":45439,"o":"b_B17F"},{"a":45452,"t":"code","b":[230,91],"m":"inc","oa":91,"o":"tmp_ptr_a_hi"},{"a":45454,"t":"code","b":[230,93],"m":"inc","oa":93,"o":"tmp_ptr_b_hi"},{"a":45456,"t":"code","b":[198,104],"m":"dec","oa":104,"o":"tmp_count"},{"a":45458,"t":"code","b":[16,235],"m":"bpl","oa":45439,"o":"b_B17F"},{"a":45460,"t":"code","b":[96],"m":"rts"},{"a":45461,"l":"splinx_wander_timer","c":"Splinx pick-up search: frames left (reset to 30) in the current random wander direction when no object is in reach ($B346-$B373).","t":"byte","b":[30],"x":[45894,45913,45936]},{"a":45462,"l":"splinx_pickup_scan_slot","c":"Splinx pick-up search cursor: next object slot to test, $34-$4F, four slots per frame, wraps to $34 ($B2E8-$B333).","t":"byte","b":[52],"x":[45800,45868,45875]},{"a":45463,"l":"splinx_frames_left","c":"Splinx walking sprite frames facing left ($76 $78 $77 $76), indexed by x-position bits 1-2 ($B465).","t":"byte","b":[118,120,119,118],"x":[46181]},{"a":45467,"l":"splinx_frames_right","c":"Splinx walking sprite frames facing right ($76 $77 $78 $76), indexed by x-position bits 1-2 ($B460); the fifth byte $B19F is not read.","t":"byte","b":[118,119,120,118,0],"x":[46176]},{"a":45472,"l":"splinx_update","c":"Splinx (object 2) per-frame behaviour, reached from $AF66 when the programmer is not being opened. Skips if $1CB2 = $14; stops moving if the Doctor carries Splinx ($1D80 = 2) or $1B22 = $0E. Mode $FF: 0 shut down (stand), 1 follow Doctor ($B3EF), 2 execute program: runs step $30+$2F through a branch whose offset is written at $B1CD (command*2). Movement drains battery $1F by 1 every 1024 frames ($53 = 0 and $54 & 3 = 0); battery 0 stops Splinx.","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[44902]},{"a":45474,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":45477,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":45479,"t":"code","b":[208,1],"m":"bne","oa":45482,"o":"b_B1AA"},{"a":45481,"t":"code","b":[96],"m":"rts"},{"a":45482,"l":"b_B1AA","t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding","x":[45479]},{"a":45485,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":45487,"t":"code","b":[240,90],"m":"beq","oa":45579,"o":"b_B20B"},{"a":45489,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":45492,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":45494,"t":"code","b":[240,83],"m":"beq","oa":45579,"o":"b_B20B"},{"a":45496,"t":"code","b":[165,255],"m":"lda","oa":255,"o":"prog_column"},{"a":45498,"t":"code","b":[240,71],"m":"beq","oa":45571,"o":"b_B203"},{"a":45500,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":45502,"t":"code","b":[240,3],"m":"beq","oa":45507,"o":"b_B1C3"},{"a":45504,"t":"code","b":[76,239,179],"m":"jmp","oa":46063,"o":"j_B3EF"},{"a":45507,"l":"b_B1C3","t":"code","b":[164,47],"m":"ldy","oa":47,"o":"prog_cursor","x":[45502]},{"a":45509,"t":"code","b":[185,48,0],"m":"lda","oa":48,"o":"splinx_program,y"},{"a":45512,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45513,"t":"code","b":[141,205,177],"m":"sta","oa":45517,"o":"splinx_command_branch_offset"},{"a":45516,"l":"b_B1CC","t":"code","b":[16,254],"m":"bpl","oa":45516,"o":"b_B1CC","x":[45516]},{"a":45517,"t":"note","l":"splinx_command_branch_offset","c":"Operand of the BPL at $B1CC, rewritten with command*2: 0 CHANGE MODE and 6 WAIT stand ($B203); 1-4 GOTO MARKER 1-4 (objects $30-$33, $B21F-$B22B); 5 RETURN TO DOCTOR ($B244); 7 PICK UP ($B1E3); 8 DROP ($B1F9); 9 RECHARGE ($B3BB).","note":"inside the item at $B1CC","x":[45513]},{"a":45518,"t":"code","b":[16,51],"m":"bpl","oa":45571,"o":"b_B203"},{"a":45520,"t":"code","b":[16,77],"m":"bpl","oa":45599,"o":"b_B21F"},{"a":45522,"t":"code","b":[16,79],"m":"bpl","oa":45603,"o":"b_B223"},{"a":45524,"t":"code","b":[16,81],"m":"bpl","oa":45607,"o":"b_B227"},{"a":45526,"t":"code","b":[16,83],"m":"bpl","oa":45611,"o":"b_B22B"},{"a":45528,"t":"code","b":[16,106],"m":"bpl","oa":45636,"o":"b_B244"},{"a":45530,"t":"code","b":[16,39],"m":"bpl","oa":45571,"o":"b_B203"},{"a":45532,"t":"code","b":[16,5],"m":"bpl","oa":45539,"o":"b_B1E3"},{"a":45534,"t":"code","b":[16,25],"m":"bpl","oa":45561,"o":"b_B1F9"},{"a":45536,"t":"code","b":[76,187,179],"m":"jmp","oa":46011,"o":"j_B3BB"},{"a":45539,"l":"b_B1E3","t":"code","b":[165,31],"m":"lda","oa":31,"o":"splinx_battery","x":[45532]},{"a":45541,"t":"code","b":[208,3],"m":"bne","oa":45546,"o":"b_B1EA"},{"a":45543,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":45546,"l":"b_B1EA","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[45541]},{"a":45548,"t":"code","b":[208,8],"m":"bne","oa":45558,"o":"b_B1F6"},{"a":45550,"t":"code","b":[165,84],"m":"lda","oa":84,"o":"frame_count_mid"},{"a":45552,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":45554,"t":"code","b":[208,2],"m":"bne","oa":45558,"o":"b_B1F6"},{"a":45556,"t":"code","b":[198,31],"m":"dec","oa":31,"o":"splinx_battery"},{"a":45558,"l":"b_B1F6","t":"code","b":[76,227,178],"m":"jmp","oa":45795,"o":"j_B2E3","x":[45548,45554]},{"a":45561,"l":"b_B1F9","t":"code","b":[165,31],"m":"lda","oa":31,"o":"splinx_battery","x":[45534]},{"a":45563,"t":"code","b":[208,3],"m":"bne","oa":45568,"o":"b_B200"},{"a":45565,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":45568,"l":"b_B200","t":"code","b":[76,118,179],"m":"jmp","oa":45942,"o":"j_B376","x":[45563]},{"a":45571,"l":"b_B203","t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object","x":[45498,45518,45530,45543,45565,45642,45990,46001,46008,46060,46067,46135,46158]},{"a":45574,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45576,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":45579,"l":"b_B20B","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[45487,45494]},{"a":45581,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":45584,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":45587,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":45590,"t":"code","b":[157,192,30],"m":"sta","oa":7872,"o":"chase_lock,x"},{"a":45593,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":45595,"t":"code","b":[141,50,29],"m":"sta","oa":7474,"o":"obj_sprite_2"},{"a":45598,"t":"code","b":[96],"m":"rts"},{"a":45599,"l":"b_B21F","t":"code","b":[160,48],"m":"ldy","o":"#$30","x":[45520]},{"a":45601,"t":"code","b":[16,12],"m":"bpl","oa":45615,"o":"b_B22F"},{"a":45603,"l":"b_B223","t":"code","b":[160,49],"m":"ldy","o":"#$31","x":[45522]},{"a":45605,"t":"code","b":[16,8],"m":"bpl","oa":45615,"o":"b_B22F"},{"a":45607,"l":"b_B227","t":"code","b":[160,50],"m":"ldy","o":"#$32","x":[45524]},{"a":45609,"t":"code","b":[16,4],"m":"bpl","oa":45615,"o":"b_B22F"},{"a":45611,"l":"b_B22B","t":"code","b":[160,51],"m":"ldy","o":"#$33","x":[45526]},{"a":45613,"t":"code","b":[16,0],"m":"bpl","oa":45615,"o":"b_B22F"},{"a":45615,"l":"b_B22F","t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y","x":[45601,45605,45609,45613]},{"a":45618,"t":"code","b":[240,18],"m":"beq","oa":45638,"o":"b_B246"},{"a":45620,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":45622,"t":"code","b":[240,14],"m":"beq","oa":45638,"o":"b_B246"},{"a":45624,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":45626,"t":"code","b":[240,8],"m":"beq","oa":45636,"o":"b_B244"},{"a":45628,"t":"code","b":[204,128,29],"m":"cpy","oa":7552,"o":"obj_holding"},{"a":45631,"t":"code","b":[240,3],"m":"beq","oa":45636,"o":"b_B244"},{"a":45633,"t":"code","b":[76,169,179],"m":"jmp","oa":45993,"o":"j_B3A9"},{"a":45636,"l":"b_B244","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[45528,45626,45631]},{"a":45638,"l":"b_B246","t":"code","b":[165,31],"m":"lda","oa":31,"o":"splinx_battery","x":[45618,45622]},{"a":45640,"t":"code","b":[208,3],"m":"bne","oa":45645,"o":"b_B24D"},{"a":45642,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":45645,"l":"b_B24D","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[45640]},{"a":45647,"t":"code","b":[208,8],"m":"bne","oa":45657,"o":"b_B259"},{"a":45649,"t":"code","b":[165,84],"m":"lda","oa":84,"o":"frame_count_mid"},{"a":45651,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":45653,"t":"code","b":[208,2],"m":"bne","oa":45657,"o":"b_B259"},{"a":45655,"t":"code","b":[198,31],"m":"dec","oa":31,"o":"splinx_battery"},{"a":45657,"l":"b_B259","t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count","x":[45647,45653]},{"a":45659,"t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due"},{"a":45662,"t":"code","b":[240,11],"m":"beq","oa":45675,"o":"b_B26B"},{"a":45664,"t":"code","b":[16,3],"m":"bpl","oa":45669,"o":"b_B265"},{"a":45666,"t":"code","b":[76,84,180],"m":"jmp","oa":46164,"o":"j_B454"},{"a":45669,"l":"b_B265","t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel","x":[45664]},{"a":45672,"t":"code","b":[76,84,180],"m":"jmp","oa":46164,"o":"j_B454"},{"a":45675,"l":"b_B26B","t":"code","b":[164,104],"m":"ldy","oa":104,"o":"tmp_count","x":[45662]},{"a":45677,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":45680,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":45682,"t":"code","b":[208,19],"m":"bne","oa":45703,"o":"b_B287"},{"a":45684,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":45686,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":45688,"t":"code","b":[176,13],"m":"bcs","oa":45703,"o":"b_B287"},{"a":45690,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":45692,"t":"code","b":[208,9],"m":"bne","oa":45703,"o":"b_B287"},{"a":45694,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":45696,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":45698,"t":"code","b":[176,3],"m":"bcs","oa":45703,"o":"b_B287"},{"a":45700,"t":"code","b":[76,169,179],"m":"jmp","oa":45993,"o":"j_B3A9"},{"a":45703,"l":"b_B287","t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction","x":[45682,45688,45692,45698,46161]},{"a":45706,"l":"j_B28A","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[45910,45924,45931,64746,64973,65013]},{"a":45708,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"terrain_result"},{"a":45710,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":45713,"t":"code","b":[141,149,178],"m":"sta","oa":45717,"o":"splinx_move_class_offset"},{"a":45716,"l":"b_B294","t":"code","b":[16,254],"m":"bpl","oa":45716,"o":"b_B294","x":[45716]},{"a":45717,"t":"note","l":"splinx_move_class_offset","c":"Operand of the BPL at $B294, rewritten with Splinx's movement class $1B22 (0, 2, 4, 6, 8): selects walk with $CB only, $9A39, $9BCE or $9C5F, then stores the new position from $60-$63 and directions $CB/$CC in $1DB0/$1DE0.","note":"inside the item at $B294","x":[45713]},{"a":45718,"t":"code","b":[16,6],"m":"bpl","oa":45726,"o":"b_B29E"},{"a":45720,"t":"code","b":[16,11],"m":"bpl","oa":45733,"o":"b_B2A5"},{"a":45722,"t":"code","b":[16,15],"m":"bpl","oa":45739,"o":"b_B2AB"},{"a":45724,"t":"code","b":[16,19],"m":"bpl","oa":45745,"o":"b_B2B1"},{"a":45726,"l":"b_B29E","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[45718]},{"a":45728,"t":"code","b":[208,3],"m":"bne","oa":45733,"o":"b_B2A5"},{"a":45730,"t":"code","b":[76,84,180],"m":"jmp","oa":46164,"o":"j_B454"},{"a":45733,"l":"b_B2A5","t":"code","b":[32,57,154],"m":"jsr","oa":39481,"o":"move_walk","x":[45720,45728]},{"a":45736,"t":"code","b":[76,180,178],"m":"jmp","oa":45748,"o":"j_B2B4"},{"a":45739,"l":"b_B2AB","t":"code","b":[32,206,155],"m":"jsr","oa":39886,"o":"move_turn_or_walk","x":[45722]},{"a":45742,"t":"code","b":[76,180,178],"m":"jmp","oa":45748,"o":"j_B2B4"},{"a":45745,"l":"b_B2B1","t":"code","b":[32,95,156],"m":"jsr","oa":40031,"o":"move_climb_up","x":[45724]},{"a":45748,"l":"j_B2B4","t":"code","b":[32,22,173],"m":"jsr","oa":44310,"o":"creature_blocked","x":[45736,45742]},{"a":45751,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":45753,"t":"code","b":[240,10],"m":"beq","oa":45765,"o":"b_B2C5"},{"a":45755,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":45757,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":45760,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":45762,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":45765,"l":"b_B2C5","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[45753]},{"a":45767,"t":"code","b":[240,10],"m":"beq","oa":45779,"o":"b_B2D3"},{"a":45769,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":45771,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":45774,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":45776,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":45779,"l":"b_B2D3","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[45767]},{"a":45781,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":45784,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":45786,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":45789,"t":"code","b":[76,84,180],"m":"jmp","oa":46164,"o":"j_B454"},{"a":45792,"l":"b_B2E0","t":"code","b":[76,169,179],"m":"jmp","oa":45993,"o":"j_B3A9","x":[45798]},{"a":45795,"l":"j_B2E3","t":"code","b":[173,130,29],"m":"lda","oa":7554,"o":"splinx_holding","x":[45558]},{"a":45798,"t":"code","b":[208,248],"m":"bne","oa":45792,"o":"b_B2E0"},{"a":45800,"t":"code","b":[172,150,177],"m":"ldy","oa":45462,"o":"splinx_pickup_scan_slot"},{"a":45803,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":45805,"l":"b_B2ED","t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count","x":[45865]},{"a":45807,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":45810,"t":"code","b":[164,104],"m":"ldy","oa":104,"o":"tmp_count"},{"a":45812,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":45814,"t":"code","b":[208,41],"m":"bne","oa":45857,"o":"b_B321"},{"a":45816,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":45818,"t":"code","b":[208,37],"m":"bne","oa":45857,"o":"b_B321"},{"a":45820,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":45822,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":45824,"t":"code","b":[176,31],"m":"bcs","oa":45857,"o":"b_B321"},{"a":45826,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":45828,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":45830,"t":"code","b":[176,25],"m":"bcs","oa":45857,"o":"b_B321"},{"a":45832,"t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y"},{"a":45835,"t":"code","b":[208,20],"m":"bne","oa":45857,"o":"b_B321"},{"a":45837,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":45839,"t":"code","b":[208,50],"m":"bne","oa":45891,"o":"b_B343"},{"a":45841,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":45843,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":45845,"t":"code","b":[132,130],"m":"sty","oa":130,"o":"overlay_obj"},{"a":45847,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":45849,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":45852,"t":"code","b":[140,130,29],"m":"sty","oa":7554,"o":"splinx_holding"},{"a":45855,"t":"code","b":[208,77],"m":"bne","oa":45934,"o":"b_B36E"},{"a":45857,"l":"b_B321","t":"code","b":[200],"m":"iny","x":[45814,45818,45824,45830,45835]},{"a":45858,"t":"code","b":[192,80],"m":"cpy","o":"#$50"},{"a":45860,"t":"code","b":[240,11],"m":"beq","oa":45873,"o":"b_B331"},{"a":45862,"t":"code","b":[152],"m":"tya"},{"a":45863,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":45865,"t":"code","b":[208,194],"m":"bne","oa":45805,"o":"b_B2ED"},{"a":45867,"t":"code","b":[152],"m":"tya"},{"a":45868,"t":"code","b":[141,150,177],"m":"sta","oa":45462,"o":"splinx_pickup_scan_slot"},{"a":45871,"t":"code","b":[16,5],"m":"bpl","oa":45878,"o":"b_B336"},{"a":45873,"l":"b_B331","t":"code","b":[169,52],"m":"lda","o":"#$34","x":[45860]},{"a":45875,"t":"code","b":[141,150,177],"m":"sta","oa":45462,"o":"splinx_pickup_scan_slot"},{"a":45878,"l":"b_B336","t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due","x":[45871]},{"a":45881,"t":"code","b":[240,11],"m":"beq","oa":45894,"o":"b_B346"},{"a":45883,"t":"code","b":[16,3],"m":"bpl","oa":45888,"o":"b_B340"},{"a":45885,"t":"code","b":[76,84,180],"m":"jmp","oa":46164,"o":"j_B454"},{"a":45888,"l":"b_B340","t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel","x":[45883]},{"a":45891,"l":"b_B343","t":"code","b":[76,84,180],"m":"jmp","oa":46164,"o":"j_B454","x":[45839]},{"a":45894,"l":"b_B346","t":"code","b":[206,149,177],"m":"dec","oa":45461,"o":"splinx_wander_timer","x":[45881]},{"a":45897,"t":"code","b":[48,35],"m":"bmi","oa":45934,"o":"b_B36E"},{"a":45899,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45901,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":45903,"t":"code","b":[189,48,30],"m":"lda","oa":7728,"o":"chase_dir,x"},{"a":45906,"t":"code","b":[240,5],"m":"beq","oa":45913,"o":"b_B359"},{"a":45908,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":45910,"t":"code","b":[76,138,178],"m":"jmp","oa":45706,"o":"j_B28A"},{"a":45913,"l":"b_B359","t":"code","b":[173,149,177],"m":"lda","oa":45461,"o":"splinx_wander_timer","x":[45906]},{"a":45916,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":45918,"t":"code","b":[176,7],"m":"bcs","oa":45927,"o":"b_B367"},{"a":45920,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":45922,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":45924,"t":"code","b":[76,138,178],"m":"jmp","oa":45706,"o":"j_B28A"},{"a":45927,"l":"b_B367","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[45918]},{"a":45929,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":45931,"t":"code","b":[76,138,178],"m":"jmp","oa":45706,"o":"j_B28A"},{"a":45934,"l":"b_B36E","t":"code","b":[169,30],"m":"lda","o":"#$1E","x":[45855,45897]},{"a":45936,"t":"code","b":[141,149,177],"m":"sta","oa":45461,"o":"splinx_wander_timer"},{"a":45939,"t":"code","b":[76,169,179],"m":"jmp","oa":45993,"o":"j_B3A9"},{"a":45942,"l":"j_B376","t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x","x":[45568]},{"a":45945,"t":"code","b":[240,46],"m":"beq","oa":45993,"o":"j_B3A9"},{"a":45947,"t":"code","b":[168],"m":"tay"},{"a":45948,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":45951,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":45953,"t":"code","b":[153,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,y"},{"a":45956,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":45959,"t":"code","b":[153,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,y"},{"a":45962,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":45965,"t":"code","b":[153,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,y"},{"a":45968,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":45971,"t":"code","b":[153,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,y"},{"a":45974,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45976,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":45978,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":45980,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":45982,"t":"code","b":[32,215,167],"m":"jsr","oa":42967,"o":"throw_start"},{"a":45985,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":45988,"t":"code","b":[240,3],"m":"beq","oa":45993,"o":"j_B3A9"},{"a":45990,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":45993,"l":"j_B3A9","t":"code","b":[165,47],"m":"lda","oa":47,"o":"prog_cursor","x":[45633,45700,45792,45939,45945,45988,46040,46055]},{"a":45995,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":45997,"t":"code","b":[240,5],"m":"beq","oa":46004,"o":"b_B3B4"},{"a":45999,"t":"code","b":[230,47],"m":"inc","oa":47,"o":"prog_cursor"},{"a":46001,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":46004,"l":"b_B3B4","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[45997]},{"a":46006,"t":"code","b":[133,255],"m":"sta","oa":255,"o":"prog_column"},{"a":46008,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":46011,"l":"j_B3BB","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[45536]},{"a":46014,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":46016,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":46019,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":46021,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":46024,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":46026,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":46029,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":46031,"t":"code","b":[32,13,153],"m":"jsr","oa":39181,"o":"terrain_probe"},{"a":46034,"t":"code","b":[165,120],"m":"lda","oa":120,"o":"probe_block"},{"a":46036,"t":"code","b":[201,94],"m":"cmp","o":"#$5E"},{"a":46038,"t":"code","b":[240,3],"m":"beq","oa":46043,"o":"b_B3DB"},{"a":46040,"t":"code","b":[76,169,179],"m":"jmp","oa":45993,"o":"j_B3A9"},{"a":46043,"l":"b_B3DB","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[46038]},{"a":46045,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":46047,"t":"code","b":[208,11],"m":"bne","oa":46060,"o":"b_B3EC"},{"a":46049,"t":"code","b":[165,31],"m":"lda","oa":31,"o":"splinx_battery"},{"a":46051,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":46053,"t":"code","b":[208,3],"m":"bne","oa":46058,"o":"b_B3EA"},{"a":46055,"t":"code","b":[76,169,179],"m":"jmp","oa":45993,"o":"j_B3A9"},{"a":46058,"l":"b_B3EA","t":"code","b":[230,31],"m":"inc","oa":31,"o":"splinx_battery","x":[46053]},{"a":46060,"l":"b_B3EC","t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203","x":[46047]},{"a":46063,"l":"j_B3EF","t":"code","b":[165,31],"m":"lda","oa":31,"o":"splinx_battery","x":[45504]},{"a":46065,"t":"code","b":[208,3],"m":"bne","oa":46070,"o":"b_B3F6"},{"a":46067,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":46070,"l":"b_B3F6","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[46065]},{"a":46072,"t":"code","b":[208,8],"m":"bne","oa":46082,"o":"b_B402"},{"a":46074,"t":"code","b":[165,84],"m":"lda","oa":84,"o":"frame_count_mid"},{"a":46076,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":46078,"t":"code","b":[208,2],"m":"bne","oa":46082,"o":"b_B402"},{"a":46080,"t":"code","b":[198,31],"m":"dec","oa":31,"o":"splinx_battery"},{"a":46082,"l":"b_B402","t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due","x":[46072,46078]},{"a":46085,"t":"code","b":[240,13],"m":"beq","oa":46100,"o":"b_B414"},{"a":46087,"t":"code","b":[16,5],"m":"bpl","oa":46094,"o":"b_B40E"},{"a":46089,"t":"code","b":[165,121],"m":"lda","oa":121,"o":"sprite_slot_obj"},{"a":46091,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":46094,"l":"b_B40E","t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel","x":[46087]},{"a":46097,"t":"code","b":[76,84,180],"m":"jmp","oa":46164,"o":"j_B454"},{"a":46100,"l":"b_B414","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[46085]},{"a":46102,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46105,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":46108,"t":"code","b":[208,28],"m":"bne","oa":46138,"o":"b_B43A"},{"a":46110,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":46112,"t":"code","b":[208,47],"m":"bne","oa":46161,"o":"b_B451"},{"a":46114,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46116,"t":"code","b":[201,63],"m":"cmp","o":"#$3F"},{"a":46118,"t":"code","b":[176,41],"m":"bcs","oa":46161,"o":"b_B451"},{"a":46120,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":46122,"t":"code","b":[208,37],"m":"bne","oa":46161,"o":"b_B451"},{"a":46124,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":46126,"t":"code","b":[201,63],"m":"cmp","o":"#$3F"},{"a":46128,"t":"code","b":[176,31],"m":"bcs","oa":46161,"o":"b_B451"},{"a":46130,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46132,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":46135,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":46138,"l":"b_B43A","t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi","x":[46108]},{"a":46140,"t":"code","b":[208,19],"m":"bne","oa":46161,"o":"b_B451"},{"a":46142,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46144,"t":"code","b":[201,31],"m":"cmp","o":"#$1F"},{"a":46146,"t":"code","b":[176,13],"m":"bcs","oa":46161,"o":"b_B451"},{"a":46148,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":46150,"t":"code","b":[208,9],"m":"bne","oa":46161,"o":"b_B451"},{"a":46152,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":46154,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":46156,"t":"code","b":[176,3],"m":"bcs","oa":46161,"o":"b_B451"},{"a":46158,"t":"code","b":[76,3,178],"m":"jmp","oa":45571,"o":"b_B203"},{"a":46161,"l":"b_B451","t":"code","b":[76,135,178],"m":"jmp","oa":45703,"o":"b_B287","x":[46112,46118,46122,46128,46140,46146,46150,46156]},{"a":46164,"l":"j_B454","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[45666,45672,45730,45789,45885,45891,46097]},{"a":46167,"t":"code","b":[41,6],"m":"and","o":"#$06"},{"a":46169,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46170,"t":"code","b":[168],"m":"tay"},{"a":46171,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":46174,"t":"code","b":[48,5],"m":"bmi","oa":46181,"o":"b_B465"},{"a":46176,"t":"code","b":[185,155,177],"m":"lda","oa":45467,"o":"splinx_frames_right,y"},{"a":46179,"t":"code","b":[16,3],"m":"bpl","oa":46184,"o":"b_B468"},{"a":46181,"l":"b_B465","t":"code","b":[185,151,177],"m":"lda","oa":45463,"o":"splinx_frames_left,y","x":[46174]},{"a":46184,"l":"b_B468","t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x","x":[46179]},{"a":46187,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":46190,"l":"master_wait_timer","c":"Countdown for object $0C in state 9 (set to $FF at $B5AA); at zero $B477 calls $AE02 (Y=$0C, A=$BC) and returns the object to state 0.","t":"byte","b":[0],"x":[46199,46506]},{"a":46191,"l":"obj0c_frames_left","c":"Sprite frames $9E-$A1 for object $0C moving left, indexed by x bits 2-3 ($B638).","t":"byte","b":[158,159,160,161],"x":[46648]},{"a":46195,"l":"obj0c_frames_right","c":"Sprite frames $9A-$9D for object $0C moving right or still, indexed by x bits 2-3 ($B62F).","t":"byte","b":[154,155,156,157],"x":[46639]},{"a":46199,"l":"obj0c_wait_state","c":"Object $0C state 9: count $B46E down each frame; at zero call $AE02 with Y=$0C, A=$BC and set state $1CBC to 0.","t":"code","b":[206,110,180],"m":"dec","oa":46190,"o":"master_wait_timer","x":[46227]},{"a":46202,"t":"code","b":[208,12],"m":"bne","oa":46216,"o":"r_B488"},{"a":46204,"t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":46206,"t":"code","b":[169,188],"m":"lda","o":"#$BC"},{"a":46208,"t":"code","b":[32,2,174],"m":"jsr","oa":44546,"o":"switch_set_tile"},{"a":46211,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46213,"t":"code","b":[141,188,28],"m":"sta","oa":7356,"o":"obj_flags_0c"},{"a":46216,"l":"r_B488","t":"code","b":[96],"m":"rts","x":[46202]},{"a":46217,"l":"r_B489","t":"code","b":[96],"m":"rts","x":[46223]},{"a":46218,"l":"crystal_thief_update","c":"Main-loop subsystem for object $0C, the creature that goes for the CRYSTAL (object $36). State $1CBC: negative = inactive, 9 = wait ($B477), else dispatch through the branch offset at $B4AD: 0 approach ($B4B7), 3 carry the crystal home ($B500), 6 deliver ($B571). $A46E/$A4A4 handle it being off screen.","t":"code","b":[162,12],"m":"ldx","o":"#$0C","x":[29855]},{"a":46220,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":46223,"t":"code","b":[48,248],"m":"bmi","oa":46217,"o":"r_B489"},{"a":46225,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":46227,"t":"code","b":[240,226],"m":"beq","oa":46199,"o":"obj0c_wait_state"},{"a":46229,"t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due"},{"a":46232,"t":"code","b":[152],"m":"tya"},{"a":46233,"t":"code","b":[240,11],"m":"beq","oa":46246,"o":"b_B4A6"},{"a":46235,"t":"code","b":[16,3],"m":"bpl","oa":46240,"o":"b_B4A0"},{"a":46237,"t":"code","b":[76,3,182],"m":"jmp","oa":46595,"o":"crystal_thief_draw"},{"a":46240,"l":"b_B4A0","t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel","x":[46235]},{"a":46243,"t":"code","b":[76,3,182],"m":"jmp","oa":46595,"o":"crystal_thief_draw"},{"a":46246,"l":"b_B4A6","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[46233]},{"a":46249,"t":"code","b":[141,173,180],"m":"sta","oa":46253,"o":"crystal_thief_state_offset"},{"a":46252,"l":"b_B4AC","t":"code","b":[16,254],"m":"bpl","oa":46252,"o":"b_B4AC","x":[46252]},{"a":46253,"t":"note","l":"crystal_thief_state_offset","c":"Operand of the BPL at $B4AC, rewritten with state $1CBC (0, 3, 6), selecting one of the three JMPs at $B4AE-$B4B6.","note":"inside the item at $B4AC","x":[46249]},{"a":46254,"t":"code","b":[76,183,180],"m":"jmp","oa":46263,"o":"crystal_thief_approach"},{"a":46257,"l":"crystal_thief_jmp_carry","c":"Dispatch slot for state 3: JMP $B500.","t":"code","b":[76,0,181],"m":"jmp","oa":46336,"o":"crystal_thief_fetch"},{"a":46260,"l":"crystal_thief_jmp_deliver","c":"Dispatch slot for state 6: JMP $B571.","t":"code","b":[76,113,181],"m":"jmp","oa":46449,"o":"crystal_thief_deliver"},{"a":46263,"l":"crystal_thief_approach","c":"Object $0C state 0. If the crystal is free (class $1B56 = 0) and object $0C is within $80 x $20 of the crystal, or the crystal is held and object $0C is within $80 x $20 of the Doctor, go to state 3 (fetch). Otherwise, if away from its home point $0DA8,$0380 ($B652, dx low non-zero) go to state 6 (walk home), else stand.","t":"code","b":[173,86,27],"m":"lda","oa":6998,"o":"obj_state_36","x":[46254]},{"a":46266,"t":"code","b":[240,33],"m":"beq","oa":46301,"o":"b_B4DD"},{"a":46268,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":46270,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46273,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":46275,"t":"code","b":[208,49],"m":"bne","oa":46326,"o":"b_B4F6"},{"a":46277,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":46279,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":46281,"t":"code","b":[176,43],"m":"bcs","oa":46326,"o":"b_B4F6"},{"a":46283,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":46285,"t":"code","b":[208,39],"m":"bne","oa":46326,"o":"b_B4F6"},{"a":46287,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46289,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":46291,"t":"code","b":[176,33],"m":"bcs","oa":46326,"o":"b_B4F6"},{"a":46293,"l":"b_B4D5","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[46324]},{"a":46295,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46298,"t":"code","b":[76,65,182],"m":"jmp","oa":46657,"o":"crystal_thief_stop"},{"a":46301,"l":"b_B4DD","t":"code","b":[160,54],"m":"ldy","o":"#$36","x":[46266]},{"a":46303,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46306,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":46308,"t":"code","b":[208,16],"m":"bne","oa":46326,"o":"b_B4F6"},{"a":46310,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":46312,"t":"code","b":[208,12],"m":"bne","oa":46326,"o":"b_B4F6"},{"a":46314,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46316,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":46318,"t":"code","b":[176,6],"m":"bcs","oa":46326,"o":"b_B4F6"},{"a":46320,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":46322,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":46324,"t":"code","b":[144,223],"m":"bcc","oa":46293,"o":"b_B4D5"},{"a":46326,"l":"b_B4F6","t":"code","b":[32,82,182],"m":"jsr","oa":46674,"o":"crystal_thief_to_home","x":[46275,46281,46285,46291,46308,46312,46318]},{"a":46329,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46331,"t":"code","b":[208,84],"m":"bne","oa":46417,"o":"b_B551"},{"a":46333,"t":"code","b":[76,65,182],"m":"jmp","oa":46657,"o":"crystal_thief_stop"},{"a":46336,"l":"crystal_thief_fetch","c":"Object $0C state 3: go for the crystal ($36). Further than $F0 from home gives state 6. If the crystal is free or class $0E, walk to it and take it within $20 when $83 is clear (sets $82/$83). If it is held and the Doctor is within $20: if in a pocket (scan $3D+Y, Y 4 down, for $36) remove it via $A656, else clear the Doctor's hands $1D80; set the Doctor's state $1CB0 = $79. Taking it sets crystal class 2, $1D8C = $36, state 6.","t":"code","b":[32,82,182],"m":"jsr","oa":46674,"o":"crystal_thief_to_home","x":[46257]},{"a":46339,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46341,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":46343,"t":"code","b":[176,72],"m":"bcs","oa":46417,"o":"b_B551"},{"a":46345,"t":"code","b":[173,86,27],"m":"lda","oa":6998,"o":"obj_state_36"},{"a":46348,"t":"code","b":[240,75],"m":"beq","oa":46425,"o":"b_B559"},{"a":46350,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":46352,"t":"code","b":[240,71],"m":"beq","oa":46425,"o":"b_B559"},{"a":46354,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":46356,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46359,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46361,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":46363,"t":"code","b":[144,3],"m":"bcc","oa":46368,"o":"b_B520"},{"a":46365,"t":"code","b":[76,180,181],"m":"jmp","oa":46516,"o":"j_B5B4"},{"a":46368,"l":"b_B520","t":"code","b":[173,86,27],"m":"lda","oa":6998,"o":"obj_state_36","x":[46363]},{"a":46371,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":46373,"t":"code","b":[240,22],"m":"beq","oa":46397,"o":"b_B53D"},{"a":46375,"t":"code","b":[160,5],"m":"ldy","o":"#$05"},{"a":46377,"l":"b_B529","t":"code","b":[136],"m":"dey","x":[46383]},{"a":46378,"t":"code","b":[185,61,0],"m":"lda","oa":61,"o":"pockets,y"},{"a":46381,"t":"code","b":[201,54],"m":"cmp","o":"#$36"},{"a":46383,"t":"code","b":[208,248],"m":"bne","oa":46377,"o":"b_B529"},{"a":46385,"t":"code","b":[152],"m":"tya"},{"a":46386,"t":"code","b":[170],"m":"tax"},{"a":46387,"t":"code","b":[160,54],"m":"ldy","o":"#$36"},{"a":46389,"t":"code","b":[32,86,166],"m":"jsr","oa":42582,"o":"pocket_clear_box"},{"a":46392,"t":"code","b":[162,12],"m":"ldx","o":"#$0C"},{"a":46394,"t":"code","b":[76,66,181],"m":"jmp","oa":46402,"o":"j_B542"},{"a":46397,"l":"b_B53D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[46373]},{"a":46399,"t":"code","b":[141,128,29],"m":"sta","oa":7552,"o":"obj_holding"},{"a":46402,"l":"j_B542","t":"code","b":[169,121],"m":"lda","o":"#$79","x":[46394]},{"a":46404,"t":"code","b":[141,176,28],"m":"sta","oa":7344,"o":"obj_flags"},{"a":46407,"l":"j_B547","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[46446]},{"a":46409,"t":"code","b":[141,86,27],"m":"sta","oa":6998,"o":"obj_state_36"},{"a":46412,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":46414,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":46417,"l":"b_B551","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[46331,46343]},{"a":46419,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46422,"l":"b_B556","t":"code","b":[76,65,182],"m":"jmp","oa":46657,"o":"crystal_thief_stop","x":[46438]},{"a":46425,"l":"b_B559","t":"code","b":[160,54],"m":"ldy","o":"#$36","x":[46348,46352]},{"a":46427,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46430,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46432,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":46434,"t":"code","b":[176,80],"m":"bcs","oa":46516,"o":"j_B5B4"},{"a":46436,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":46438,"t":"code","b":[208,238],"m":"bne","oa":46422,"o":"b_B556"},{"a":46440,"t":"code","b":[132,130],"m":"sty","oa":130,"o":"overlay_obj"},{"a":46442,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":46444,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":46446,"t":"code","b":[76,71,181],"m":"jmp","oa":46407,"o":"j_B547"},{"a":46449,"l":"crystal_thief_deliver","c":"Object $0C state 6: walk to home point; there, if carrying the crystal, put it at x $06C8, y $06A8 (class 0), drop it ($1D8C=0), enter state 9 with timer $FF and call $AE02 (Y=$0C, A=$1C); if not carrying, return to state 0.","t":"code","b":[32,82,182],"m":"jsr","oa":46674,"o":"crystal_thief_to_home","x":[46260]},{"a":46452,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46454,"t":"code","b":[208,60],"m":"bne","oa":46516,"o":"j_B5B4"},{"a":46456,"t":"code","b":[173,140,29],"m":"lda","oa":7564,"o":"obj_holding_0c"},{"a":46459,"t":"code","b":[201,54],"m":"cmp","o":"#$36"},{"a":46461,"t":"code","b":[240,8],"m":"beq","oa":46471,"o":"b_B587"},{"a":46463,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46465,"t":"code","b":[141,188,28],"m":"sta","oa":7356,"o":"obj_flags_0c"},{"a":46468,"t":"code","b":[76,65,182],"m":"jmp","oa":46657,"o":"crystal_thief_stop"},{"a":46471,"l":"b_B587","t":"code","b":[169,200],"m":"lda","o":"#$C8","x":[46461]},{"a":46473,"t":"code","b":[141,166,27],"m":"sta","oa":7078,"o":"obj_x_lo_36"},{"a":46476,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":46478,"t":"code","b":[141,246,27],"m":"sta","oa":7158,"o":"obj_x_hi_36"},{"a":46481,"t":"code","b":[169,168],"m":"lda","o":"#$A8"},{"a":46483,"t":"code","b":[141,70,28],"m":"sta","oa":7238,"o":"obj_y_lo_36"},{"a":46486,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":46488,"t":"code","b":[141,150,28],"m":"sta","oa":7318,"o":"obj_y_hi_36"},{"a":46491,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46493,"t":"code","b":[141,86,27],"m":"sta","oa":6998,"o":"obj_state_36"},{"a":46496,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":46499,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":46501,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46504,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":46506,"t":"code","b":[141,110,180],"m":"sta","oa":46190,"o":"master_wait_timer"},{"a":46509,"t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":46511,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":46513,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":46516,"l":"j_B5B4","t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction","x":[46365,46434,46454]},{"a":46519,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":46522,"t":"code","b":[141,190,181],"m":"sta","oa":46526,"o":"crystal_thief_move_offset"},{"a":46525,"l":"b_B5BD","t":"code","b":[16,254],"m":"bpl","oa":46525,"o":"b_B5BD","x":[46525]},{"a":46526,"t":"note","l":"crystal_thief_move_offset","c":"Operand of the BPL at $B5BD, rewritten with object $0C's movement class $1B2C; picks the walker ($9A39, $9BCE, $9C5F) as at $B295.","note":"inside the item at $B5BD","x":[46522]},{"a":46527,"t":"code","b":[16,6],"m":"bpl","oa":46535,"o":"b_B5C7"},{"a":46529,"t":"code","b":[16,11],"m":"bpl","oa":46542,"o":"b_B5CE"},{"a":46531,"t":"code","b":[16,15],"m":"bpl","oa":46548,"o":"b_B5D4"},{"a":46533,"t":"code","b":[16,19],"m":"bpl","oa":46554,"o":"b_B5DA"},{"a":46535,"l":"b_B5C7","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[46527]},{"a":46537,"t":"code","b":[208,3],"m":"bne","oa":46542,"o":"b_B5CE"},{"a":46539,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":46542,"l":"b_B5CE","t":"code","b":[32,57,154],"m":"jsr","oa":39481,"o":"move_walk","x":[46529,46537]},{"a":46545,"t":"code","b":[76,221,181],"m":"jmp","oa":46557,"o":"j_B5DD"},{"a":46548,"l":"b_B5D4","t":"code","b":[32,206,155],"m":"jsr","oa":39886,"o":"move_turn_or_walk","x":[46531]},{"a":46551,"t":"code","b":[76,221,181],"m":"jmp","oa":46557,"o":"j_B5DD"},{"a":46554,"l":"b_B5DA","t":"code","b":[32,95,156],"m":"jsr","oa":40031,"o":"move_climb_up","x":[46533]},{"a":46557,"l":"j_B5DD","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[46545,46551]},{"a":46559,"t":"code","b":[240,10],"m":"beq","oa":46571,"o":"b_B5EB"},{"a":46561,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":46563,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":46566,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":46568,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":46571,"l":"b_B5EB","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[46559]},{"a":46573,"t":"code","b":[240,10],"m":"beq","oa":46585,"o":"b_B5F9"},{"a":46575,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":46577,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":46580,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":46582,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":46585,"l":"b_B5F9","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[46573]},{"a":46587,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":46590,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":46592,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":46595,"l":"crystal_thief_draw","c":"Draw object $0C: if it carries something ($1D8C), move the carried object with it via $A8B1 (facing $8A temporarily set from $1DB0), mark $1AD0,x and update it ($81DA); then set $1D3C from $B46F/$B473 by facing and x bits 2-3, and update ($81DA).","t":"code","b":[173,140,29],"m":"lda","oa":7564,"o":"obj_holding_0c","x":[46237,46243,46671]},{"a":46598,"t":"code","b":[240,24],"m":"beq","oa":46624,"o":"b_B620"},{"a":46600,"t":"code","b":[165,138],"m":"lda","oa":138,"o":"doctor_facing"},{"a":46602,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":46604,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":46607,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"doctor_facing"},{"a":46609,"t":"code","b":[32,177,168],"m":"jsr","oa":43185,"o":"item_follow_holder"},{"a":46612,"t":"code","b":[165,90],"m":"lda","oa":90,"o":"tmp_ptr_a"},{"a":46614,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"doctor_facing"},{"a":46616,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":46618,"t":"code","b":[157,208,26],"m":"sta","oa":6864,"o":"obj_behind,x"},{"a":46621,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":46623,"t":"note","l":"egg_nest_x_hi_base","c":"Index base only: $B61F+$46/$47 = $B665, egg nest x high bytes (read at $B7B3 with Y = egg object $46 or $47). The bytes here are code.","note":"inside the item at $B61D","x":[47027]},{"a":46624,"l":"b_B620","t":"code","b":[162,12],"m":"ldx","o":"#$0C","x":[46598]},{"a":46625,"t":"note","l":"egg_nest_x_lo_base","c":"Index base only: $B621+$46/$47 = $B667, egg nest x low bytes ($B7B8).","note":"inside the item at $B620","x":[47032]},{"a":46626,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":46627,"t":"note","l":"egg_nest_y_hi_base","c":"Index base only: $B623+$46/$47 = $B669, egg nest y high bytes ($B7BD).","note":"inside the item at $B622","x":[47037]},{"a":46629,"l":"egg_nest_y_lo_base","c":"Index base only: $B625+$46/$47 = $B66B, egg nest y low bytes ($B7C2).","t":"code","b":[41,12],"m":"and","o":"#$0C","x":[47042]},{"a":46631,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46632,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46633,"t":"code","b":[168],"m":"tay"},{"a":46634,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":46637,"t":"code","b":[48,9],"m":"bmi","oa":46648,"o":"b_B638"},{"a":46639,"t":"code","b":[185,115,180],"m":"lda","oa":46195,"o":"obj0c_frames_right,y"},{"a":46642,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":46645,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":46648,"l":"b_B638","t":"code","b":[185,111,180],"m":"lda","oa":46191,"o":"obj0c_frames_left,y","x":[46637]},{"a":46651,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":46654,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":46657,"l":"crystal_thief_stop","c":"Object $0C: clear directions $1DB0/$1DE0, class $1B20 and $1E30, then draw ($B603).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[46298,46333,46422,46468]},{"a":46659,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":46662,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":46665,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":46668,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":46671,"t":"code","b":[76,3,182],"m":"jmp","oa":46595,"o":"crystal_thief_draw"},{"a":46674,"l":"crystal_thief_to_home","c":"Distance from object X to the fixed point x $0DA8, y $0380 (object $0C's home) through $A3FB; results in $D9-$DE.","t":"code","b":[169,168],"m":"lda","o":"#$A8","x":[46326,46336,46449]},{"a":46676,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":46678,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":46680,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":46682,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":46684,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":46686,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":46688,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":46690,"t":"code","b":[76,251,163],"m":"jmp","oa":41979,"o":"distance_to_point"},{"a":46693,"l":"egg_nest_positions","c":"Nest positions for the two EGG objects $46 and $47, as four 2-byte columns: x hi 04 04, x lo $10 $24, y hi 0 0, y lo $60 $60, i.e. $0410,$0060 and $0424,$0060. Read through the index bases $B61F-$B625.","t":"byte","b":[4,4,16,36,0,0,96,96]},{"a":46701,"l":"madrag_legs_frames_left","c":"Madrag legs (object $0A, the lower sprite) frames $AA-$AD when facing left, by x bits 2-3 ($B8AD).","t":"byte","b":[170,171,172,173],"x":[47277]},{"a":46705,"l":"madrag_legs_frames_right","c":"Madrag legs (object $0A, the lower sprite) frames $AE-$B1 when facing right ($B88E).","t":"byte","b":[174,175,176,177],"x":[47246]},{"a":46709,"l":"madrag_top_frames_left","c":"Madrag head and body (object $0B, the upper sprite) frames $B2-$B5 facing left, not carrying ($B8B9).","t":"byte","b":[178,179,180,181],"x":[47289]},{"a":46713,"l":"madrag_top_frames_right","c":"Madrag head and body (object $0B, the upper sprite) frames $B6-$B9 facing right, not carrying ($B89A).","t":"byte","b":[182,183,184,185],"x":[47258]},{"a":46717,"l":"madrag_carry_frame_left","c":"Madrag head and body frame $BA while carrying an egg in her mouth, facing left ($B8C3).","t":"byte","b":[186],"x":[47299]},{"a":46718,"l":"madrag_carry_frame_right","c":"Madrag head and body frame $BB while carrying an egg in her mouth, facing right ($B8A4).","t":"byte","b":[187],"x":[47268]},{"a":46719,"l":"madrag_target_egg","c":"Madrag: the egg object ($46 or $47) it is fetching or carrying; written $B719, read $B755, $B75D, $B7B0.","t":"byte","b":[0],"x":[46873,46933,46941,47024]},{"a":46720,"l":"madrag_update","c":"Main-loop subsystem for the madrag, objects $0A (legs, the one that moves) and $0B (head and body): runs the behaviour $B689 twice per frame (double speed), then $B861 positions the head and body, sets frames and checks for the Doctor touching an egg.","t":"code","b":[32,137,182],"m":"jsr","oa":46729,"o":"madrag_think","x":[29861]},{"a":46723,"t":"code","b":[32,137,182],"m":"jsr","oa":46729,"o":"madrag_think"},{"a":46726,"t":"code","b":[76,97,184],"m":"jmp","oa":47201,"o":"madrag_draw_and_eggs"},{"a":46729,"l":"madrag_think","c":"Madrag (object $0A) behaviour. Skips if state $1CBA is negative or $14; $A46E/$A4A4 when off screen. Toggles bit 2 of $1A7A each call. If carrying an egg ($1D8A) goes to $B7AD, else dispatches state through the branch offset at $B6B7: 0 guard ($B6F3), 3 go home ($B720), 6 fetch egg ($B752), 9 carry ($B7AD), $0C chase Doctor ($B6C4).","t":"code","b":[162,10],"m":"ldx","o":"#$0A","x":[46720,46723]},{"a":46731,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":46734,"t":"code","b":[48,12],"m":"bmi","oa":46748,"o":"r_B69C"},{"a":46736,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":46738,"t":"code","b":[240,8],"m":"beq","oa":46748,"o":"r_B69C"},{"a":46740,"t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due"},{"a":46743,"t":"code","b":[152],"m":"tya"},{"a":46744,"t":"code","b":[240,6],"m":"beq","oa":46752,"o":"b_B6A0"},{"a":46746,"t":"code","b":[16,1],"m":"bpl","oa":46749,"o":"b_B69D"},{"a":46748,"l":"r_B69C","t":"code","b":[96],"m":"rts","x":[46734,46738]},{"a":46749,"l":"b_B69D","t":"code","b":[76,164,164],"m":"jmp","oa":42148,"o":"object_step_pixel","x":[46746]},{"a":46752,"l":"b_B6A0","t":"code","b":[173,122,26],"m":"lda","oa":6778,"o":"obj_1a70_0a","x":[46744]},{"a":46755,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":46757,"t":"code","b":[141,122,26],"m":"sta","oa":6778,"o":"obj_1a70_0a"},{"a":46760,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":46763,"t":"code","b":[240,3],"m":"beq","oa":46768,"o":"b_B6B0"},{"a":46765,"t":"code","b":[76,173,183],"m":"jmp","oa":47021,"o":"madrag_carry_egg"},{"a":46768,"l":"b_B6B0","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[46763]},{"a":46771,"t":"code","b":[141,183,182],"m":"sta","oa":46775,"o":"madrag_state_offset"},{"a":46774,"l":"b_B6B6","t":"code","b":[16,254],"m":"bpl","oa":46774,"o":"b_B6B6","x":[46774]},{"a":46775,"t":"note","l":"madrag_state_offset","c":"Operand of the BPL at $B6B6, rewritten with madrag state $1CBA (0, 3, 6, 9, $0C).","note":"inside the item at $B6B6","x":[46771]},{"a":46776,"t":"code","b":[76,243,182],"m":"jmp","oa":46835,"o":"madrag_guard"},{"a":46779,"l":"madrag_jmp_home","c":"Madrag dispatch slot for state 3: JMP $B720.","t":"code","b":[76,32,183],"m":"jmp","oa":46880,"o":"madrag_go_home"},{"a":46782,"l":"madrag_jmp_fetch","c":"Madrag dispatch slot for state 6: JMP $B752.","t":"code","b":[76,82,183],"m":"jmp","oa":46930,"o":"madrag_fetch_egg"},{"a":46785,"l":"madrag_jmp_carry","c":"Madrag dispatch slot for state 9: JMP $B7AD.","t":"code","b":[76,173,183],"m":"jmp","oa":47021,"o":"madrag_carry_egg"},{"a":46788,"l":"madrag_chase","c":"Madrag state $0C: chase the Doctor. If $E8 is set, or $B956 reports a bite or the Doctor 256+ pixels away, give up (state 3, clear $1E30). While the Doctor is within $F0 x $60, steer toward him ($B811); otherwise state 3.","t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code"},{"a":46790,"t":"code","b":[208,30],"m":"bne","oa":46822,"o":"b_B6E6"},{"a":46792,"t":"code","b":[32,86,185],"m":"jsr","oa":47446,"o":"madrag_bite_check"},{"a":46795,"t":"code","b":[48,25],"m":"bmi","oa":46822,"o":"b_B6E6"},{"a":46797,"t":"code","b":[240,8],"m":"beq","oa":46807,"o":"b_B6D7"},{"a":46799,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":46801,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46804,"t":"code","b":[76,2,184],"m":"jmp","oa":47106,"o":"madrag_stand"},{"a":46807,"l":"b_B6D7","t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo","x":[46797]},{"a":46809,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":46811,"t":"code","b":[176,9],"m":"bcs","oa":46822,"o":"b_B6E6"},{"a":46813,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":46815,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":46817,"t":"code","b":[176,3],"m":"bcs","oa":46822,"o":"b_B6E6"},{"a":46819,"t":"code","b":[76,17,184],"m":"jmp","oa":47121,"o":"madrag_step"},{"a":46822,"l":"b_B6E6","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[46790,46795,46811,46817]},{"a":46824,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46827,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46829,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":46832,"t":"code","b":[76,2,184],"m":"jmp","oa":47106,"o":"madrag_stand"},{"a":46835,"l":"madrag_guard","c":"Madrag state 0: if the Doctor is within $A0 x $20 ($B933) switch to chase. Check both eggs $46,$47: an egg not free ($1B20 non-zero) or not 256-$13F pixels to the right of the madrag makes it state 6 with $B67F = that egg; otherwise stand ($B802).","t":"code","b":[32,51,185],"m":"jsr","oa":47411,"o":"madrag_spot_doctor","x":[46776]},{"a":46838,"t":"code","b":[160,70],"m":"ldy","o":"#$46"},{"a":46840,"l":"b_B6F8","t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y","x":[46863]},{"a":46843,"t":"code","b":[208,23],"m":"bne","oa":46868,"o":"b_B714"},{"a":46845,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46848,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":46850,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":46852,"t":"code","b":[208,14],"m":"bne","oa":46868,"o":"b_B714"},{"a":46854,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46856,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":46858,"t":"code","b":[176,8],"m":"bcs","oa":46868,"o":"b_B714"},{"a":46860,"t":"code","b":[200],"m":"iny"},{"a":46861,"t":"code","b":[192,72],"m":"cpy","o":"#$48"},{"a":46863,"t":"code","b":[208,231],"m":"bne","oa":46840,"o":"b_B6F8"},{"a":46865,"t":"code","b":[76,2,184],"m":"jmp","oa":47106,"o":"madrag_stand"},{"a":46868,"l":"b_B714","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[46843,46852,46858]},{"a":46870,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46873,"t":"code","b":[140,127,182],"m":"sty","oa":46719,"o":"madrag_target_egg"},{"a":46876,"t":"code","b":[96],"m":"rts"},{"a":46877,"l":"b_B71D","t":"code","b":[76,17,184],"m":"jmp","oa":47121,"o":"madrag_step","x":[46904,46908,46914,46920,46949,46955,46961]},{"a":46880,"l":"madrag_go_home","c":"Madrag state 3: chase check ($B933), then walk to x $0540, y $0060; within $10 x $08 of it return to state 0.","t":"code","b":[32,51,185],"m":"jsr","oa":47411,"o":"madrag_spot_doctor","x":[46779]},{"a":46883,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":46885,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":46887,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":46889,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":46891,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46893,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":46895,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":46897,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":46899,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":46902,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":46904,"t":"code","b":[208,227],"m":"bne","oa":46877,"o":"b_B71D"},{"a":46906,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":46908,"t":"code","b":[208,223],"m":"bne","oa":46877,"o":"b_B71D"},{"a":46910,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46912,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":46914,"t":"code","b":[176,217],"m":"bcs","oa":46877,"o":"b_B71D"},{"a":46916,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":46918,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":46920,"t":"code","b":[176,211],"m":"bcs","oa":46877,"o":"b_B71D"},{"a":46922,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46924,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46927,"t":"code","b":[76,2,184],"m":"jmp","oa":47106,"o":"madrag_stand"},{"a":46930,"l":"madrag_fetch_egg","c":"Madrag state 6: bite check ($B956). If its egg is free, walk to it and when within $14 x $1E pick it up (egg class 2, $1D8A = egg, flags $82/$83, state 9). If the egg is held (class non-zero), walk to Splinx (object 2) and take it from him when close ($1D82 cleared, $B78D).","t":"code","b":[32,86,185],"m":"jsr","oa":47446,"o":"madrag_bite_check","x":[46782]},{"a":46933,"t":"code","b":[172,127,182],"m":"ldy","oa":46719,"o":"madrag_target_egg"},{"a":46936,"t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y"},{"a":46939,"t":"code","b":[208,48],"m":"bne","oa":46989,"o":"b_B78D"},{"a":46941,"t":"code","b":[172,127,182],"m":"ldy","oa":46719,"o":"madrag_target_egg"},{"a":46944,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46947,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":46949,"t":"code","b":[208,182],"m":"bne","oa":46877,"o":"b_B71D"},{"a":46951,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":46953,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":46955,"t":"code","b":[176,176],"m":"bcs","oa":46877,"o":"b_B71D"},{"a":46957,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":46959,"t":"code","b":[201,30],"m":"cmp","o":"#$1E"},{"a":46961,"t":"code","b":[176,170],"m":"bcs","oa":46877,"o":"b_B71D"},{"a":46963,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":46965,"t":"code","b":[208,19],"m":"bne","oa":46986,"o":"b_B78A"},{"a":46967,"t":"code","b":[132,130],"m":"sty","oa":130,"o":"overlay_obj"},{"a":46969,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":46971,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":46973,"l":"j_B77D","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[47018]},{"a":46975,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":46978,"t":"code","b":[140,138,29],"m":"sty","oa":7562,"o":"obj_holding_0a"},{"a":46981,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":46983,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":46986,"l":"b_B78A","t":"code","b":[76,2,184],"m":"jmp","oa":47106,"o":"madrag_stand","x":[46965]},{"a":46989,"l":"b_B78D","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[46939]},{"a":46991,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":46994,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":46996,"t":"code","b":[208,123],"m":"bne","oa":47121,"o":"madrag_step"},{"a":46998,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":47000,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":47002,"t":"code","b":[176,117],"m":"bcs","oa":47121,"o":"madrag_step"},{"a":47004,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":47006,"t":"code","b":[201,30],"m":"cmp","o":"#$1E"},{"a":47008,"t":"code","b":[176,111],"m":"bcs","oa":47121,"o":"madrag_step"},{"a":47010,"t":"code","b":[172,130,29],"m":"ldy","oa":7554,"o":"splinx_holding"},{"a":47013,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47015,"t":"code","b":[141,130,29],"m":"sta","oa":7554,"o":"splinx_holding"},{"a":47018,"t":"code","b":[76,125,183],"m":"jmp","oa":46973,"o":"j_B77D"},{"a":47021,"l":"madrag_carry_egg","c":"Madrag state 9 or carrying: bite check, walk to the egg's nest ($B665 table via $B61F-$B625); within $10 put the egg there, flag $82/$83 = $FF, state 3, $1D8A = 0, egg class 0.","t":"code","b":[32,86,185],"m":"jsr","oa":47446,"o":"madrag_bite_check","x":[46765,46785]},{"a":47024,"t":"code","b":[172,127,182],"m":"ldy","oa":46719,"o":"madrag_target_egg"},{"a":47027,"t":"code","b":[185,31,182],"m":"lda","oa":46623,"o":"egg_nest_x_hi_base,y"},{"a":47030,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":47032,"t":"code","b":[185,33,182],"m":"lda","oa":46625,"o":"egg_nest_x_lo_base,y"},{"a":47035,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":47037,"t":"code","b":[185,35,182],"m":"lda","oa":46627,"o":"egg_nest_y_hi_base,y"},{"a":47040,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":47042,"t":"code","b":[185,37,182],"m":"lda","oa":46629,"o":"egg_nest_y_lo_base,y"},{"a":47045,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":47047,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":47050,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":47052,"t":"code","b":[208,67],"m":"bne","oa":47121,"o":"madrag_step"},{"a":47054,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":47056,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":47058,"t":"code","b":[176,61],"m":"bcs","oa":47121,"o":"madrag_step"},{"a":47060,"t":"code","b":[165,100],"m":"lda","oa":100,"o":"probe_x_lo"},{"a":47062,"t":"code","b":[153,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,y"},{"a":47065,"t":"code","b":[165,101],"m":"lda","oa":101,"o":"probe_x_hi"},{"a":47067,"t":"code","b":[153,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,y"},{"a":47070,"t":"code","b":[165,102],"m":"lda","oa":102,"o":"probe_y_lo"},{"a":47072,"t":"code","b":[153,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,y"},{"a":47075,"t":"code","b":[165,103],"m":"lda","oa":103,"o":"probe_y_hi"},{"a":47077,"t":"code","b":[153,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,y"},{"a":47080,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":47082,"t":"code","b":[208,19],"m":"bne","oa":47103,"o":"b_B7FF"},{"a":47084,"t":"code","b":[132,130],"m":"sty","oa":130,"o":"overlay_obj"},{"a":47086,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":47088,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":47090,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":47092,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":47095,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47097,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":47100,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":47103,"l":"b_B7FF","t":"code","b":[76,2,184],"m":"jmp","oa":47106,"o":"madrag_stand","x":[47082]},{"a":47106,"l":"madrag_stand","c":"Madrag: clear $1DB0, $1DE0, $1B20 and $1E30 for object X (stop).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[46804,46832,46865,46927,46986,47103]},{"a":47108,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":47111,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":47114,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":47117,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":47120,"t":"code","b":[96],"m":"rts"},{"a":47121,"l":"madrag_step","c":"Madrag: steer toward the target ($ACE0), then move through the walker selected by class $1B2A (branch offset at $B81B), store new position and directions.","t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction","x":[46819,46877,46996,47002,47008,47052,47058]},{"a":47124,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":47127,"t":"code","b":[141,27,184],"m":"sta","oa":47131,"o":"madrag_move_offset"},{"a":47130,"l":"b_B81A","t":"code","b":[16,254],"m":"bpl","oa":47130,"o":"b_B81A","x":[47130]},{"a":47131,"t":"note","l":"madrag_move_offset","c":"Operand of the BPL at $B81A, rewritten with madrag movement class $1B2A.","note":"inside the item at $B81A","x":[47127]},{"a":47132,"t":"code","b":[16,6],"m":"bpl","oa":47140,"o":"b_B824"},{"a":47134,"t":"code","b":[16,11],"m":"bpl","oa":47147,"o":"b_B82B"},{"a":47136,"t":"code","b":[16,15],"m":"bpl","oa":47153,"o":"b_B831"},{"a":47138,"t":"code","b":[16,19],"m":"bpl","oa":47159,"o":"b_B837"},{"a":47140,"l":"b_B824","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[47132]},{"a":47142,"t":"code","b":[208,3],"m":"bne","oa":47147,"o":"b_B82B"},{"a":47144,"t":"code","b":[76,201,184],"m":"jmp","oa":47305,"o":"j_B8C9"},{"a":47147,"l":"b_B82B","t":"code","b":[32,57,154],"m":"jsr","oa":39481,"o":"move_walk","x":[47134,47142]},{"a":47150,"t":"code","b":[76,58,184],"m":"jmp","oa":47162,"o":"j_B83A"},{"a":47153,"l":"b_B831","t":"code","b":[32,206,155],"m":"jsr","oa":39886,"o":"move_turn_or_walk","x":[47136]},{"a":47156,"t":"code","b":[76,58,184],"m":"jmp","oa":47162,"o":"j_B83A"},{"a":47159,"l":"b_B837","t":"code","b":[32,95,156],"m":"jsr","oa":40031,"o":"move_climb_up","x":[47138]},{"a":47162,"l":"j_B83A","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[47150,47156]},{"a":47164,"t":"code","b":[240,10],"m":"beq","oa":47176,"o":"b_B848"},{"a":47166,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":47168,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":47171,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":47173,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":47176,"l":"b_B848","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[47164]},{"a":47178,"t":"code","b":[240,10],"m":"beq","oa":47190,"o":"b_B856"},{"a":47180,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":47182,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":47185,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":47187,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":47190,"l":"b_B856","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[47178]},{"a":47192,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":47195,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":47197,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":47200,"t":"code","b":[96],"m":"rts"},{"a":47201,"l":"madrag_draw_and_eggs","c":"Place the madrag's head and body (object X+1) at the legs' x and y+$15, 21 pixels higher (world y grows upward), pick frames for both from $B66D-$B67E by facing and x bits 2-3 (carry frame when $1D8A set), update both ($81DA). Then, if $E8 is 0, every 8 frames ($53&7=2) test the eggs $46/$47: a free egg within $14 x $0C of the Doctor sets $E8=$16 and places object $0D (baby madrag) at the egg; while $E8=$16 play sound $0E and update object $0D.","t":"code","b":[138],"m":"txa","x":[46726]},{"a":47202,"t":"code","b":[168],"m":"tay"},{"a":47203,"t":"code","b":[200],"m":"iny"},{"a":47204,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":47207,"t":"code","b":[153,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,y"},{"a":47210,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":47213,"t":"code","b":[153,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,y"},{"a":47216,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":47219,"t":"code","b":[24],"m":"clc"},{"a":47220,"t":"code","b":[105,21],"m":"adc","o":"#$15"},{"a":47222,"t":"code","b":[153,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,y"},{"a":47225,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":47228,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":47230,"t":"code","b":[153,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,y"},{"a":47233,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":47236,"t":"code","b":[41,12],"m":"and","o":"#$0C"},{"a":47238,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47239,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47240,"t":"code","b":[168],"m":"tay"},{"a":47241,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":47244,"t":"code","b":[48,31],"m":"bmi","oa":47277,"o":"b_B8AD"},{"a":47246,"t":"code","b":[185,113,182],"m":"lda","oa":46705,"o":"madrag_legs_frames_right,y"},{"a":47249,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":47252,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":47255,"t":"code","b":[208,10],"m":"bne","oa":47267,"o":"b_B8A3"},{"a":47257,"t":"code","b":[232],"m":"inx"},{"a":47258,"t":"code","b":[185,121,182],"m":"lda","oa":46713,"o":"madrag_top_frames_right,y"},{"a":47261,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":47264,"t":"code","b":[76,201,184],"m":"jmp","oa":47305,"o":"j_B8C9"},{"a":47267,"l":"b_B8A3","t":"code","b":[232],"m":"inx","x":[47255]},{"a":47268,"t":"code","b":[173,126,182],"m":"lda","oa":46718,"o":"madrag_carry_frame_right"},{"a":47271,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":47274,"t":"code","b":[76,201,184],"m":"jmp","oa":47305,"o":"j_B8C9"},{"a":47277,"l":"b_B8AD","t":"code","b":[185,109,182],"m":"lda","oa":46701,"o":"madrag_legs_frames_left,y","x":[47244]},{"a":47280,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":47283,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":47286,"t":"code","b":[208,10],"m":"bne","oa":47298,"o":"b_B8C2"},{"a":47288,"t":"code","b":[232],"m":"inx"},{"a":47289,"t":"code","b":[185,117,182],"m":"lda","oa":46709,"o":"madrag_top_frames_left,y"},{"a":47292,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":47295,"t":"code","b":[76,201,184],"m":"jmp","oa":47305,"o":"j_B8C9"},{"a":47298,"l":"b_B8C2","t":"code","b":[232],"m":"inx","x":[47286]},{"a":47299,"t":"code","b":[173,125,182],"m":"lda","oa":46717,"o":"madrag_carry_frame_left"},{"a":47302,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":47305,"l":"j_B8C9","t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object","x":[47144,47264,47274,47295]},{"a":47308,"t":"code","b":[202],"m":"dex"},{"a":47309,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":47312,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code"},{"a":47314,"t":"code","b":[240,6],"m":"beq","oa":47322,"o":"b_B8DA"},{"a":47316,"t":"code","b":[201,22],"m":"cmp","o":"#$16"},{"a":47318,"t":"code","b":[240,72],"m":"beq","oa":47392,"o":"b_B920"},{"a":47320,"t":"code","b":[208,80],"m":"bne","oa":47402,"o":"r_B92A"},{"a":47322,"l":"b_B8DA","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[47314]},{"a":47324,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":47326,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":47328,"t":"code","b":[208,72],"m":"bne","oa":47402,"o":"r_B92A"},{"a":47330,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":47332,"t":"code","b":[160,70],"m":"ldy","o":"#$46"},{"a":47334,"l":"b_B8E6","t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y","x":[47409]},{"a":47337,"t":"code","b":[208,64],"m":"bne","oa":47403,"o":"b_B92B"},{"a":47339,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":47342,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":47344,"t":"code","b":[208,57],"m":"bne","oa":47403,"o":"b_B92B"},{"a":47346,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":47348,"t":"code","b":[208,53],"m":"bne","oa":47403,"o":"b_B92B"},{"a":47350,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":47352,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":47354,"t":"code","b":[176,47],"m":"bcs","oa":47403,"o":"b_B92B"},{"a":47356,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":47358,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":47360,"t":"code","b":[176,41],"m":"bcs","oa":47403,"o":"b_B92B"},{"a":47362,"t":"code","b":[169,22],"m":"lda","o":"#$16"},{"a":47364,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":47366,"t":"code","b":[162,13],"m":"ldx","o":"#$0D"},{"a":47368,"t":"code","b":[185,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,y"},{"a":47371,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":47374,"t":"code","b":[185,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,y"},{"a":47377,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":47380,"t":"code","b":[185,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,y"},{"a":47383,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":47386,"t":"code","b":[185,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,y"},{"a":47389,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":47392,"l":"b_B920","t":"code","b":[160,14],"m":"ldy","o":"#$0E","x":[47318]},{"a":47394,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":47397,"t":"code","b":[162,13],"m":"ldx","o":"#$0D"},{"a":47399,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":47402,"l":"r_B92A","t":"code","b":[96],"m":"rts","x":[47320,47328,47405]},{"a":47403,"l":"b_B92B","t":"code","b":[192,71],"m":"cpy","o":"#$47","x":[47337,47344,47348,47354,47360]},{"a":47405,"t":"code","b":[240,251],"m":"beq","oa":47402,"o":"r_B92A"},{"a":47407,"t":"code","b":[160,71],"m":"ldy","o":"#$47"},{"a":47409,"t":"code","b":[16,179],"m":"bpl","oa":47334,"o":"b_B8E6"},{"a":47411,"l":"madrag_spot_doctor","c":"If $E8 is 0 and the Doctor is within $A0 x $20 of the madrag, set its state $1CB0,X to $0C (chase).","t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code","x":[46835,46880]},{"a":47413,"t":"code","b":[208,30],"m":"bne","oa":47445,"o":"r_B955"},{"a":47415,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":47417,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":47420,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":47422,"t":"code","b":[208,21],"m":"bne","oa":47445,"o":"r_B955"},{"a":47424,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":47426,"t":"code","b":[208,17],"m":"bne","oa":47445,"o":"r_B955"},{"a":47428,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":47430,"t":"code","b":[201,160],"m":"cmp","o":"#$A0"},{"a":47432,"t":"code","b":[176,11],"m":"bcs","oa":47445,"o":"r_B955"},{"a":47434,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":47436,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":47438,"t":"code","b":[176,5],"m":"bcs","oa":47445,"o":"r_B955"},{"a":47440,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":47442,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":47445,"l":"r_B955","t":"code","b":[96],"m":"rts","x":[47413,47422,47426,47432,47438]},{"a":47446,"l":"madrag_bite_check","c":"Madrag bite test against the Doctor: returns A=$FF when 256+ pixels apart, A=0 when not within $14 x $1E; when within, sets $E8=$14 and plays sound 1 ($C7C7 Y=1) and returns non-zero.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[46792,46930,47021]},{"a":47448,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":47451,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":47453,"t":"code","b":[208,29],"m":"bne","oa":47484,"o":"b_B97C"},{"a":47455,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":47457,"t":"code","b":[208,25],"m":"bne","oa":47484,"o":"b_B97C"},{"a":47459,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":47461,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":47463,"t":"code","b":[176,16],"m":"bcs","oa":47481,"o":"b_B979"},{"a":47465,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":47467,"t":"code","b":[201,30],"m":"cmp","o":"#$1E"},{"a":47469,"t":"code","b":[176,10],"m":"bcs","oa":47481,"o":"b_B979"},{"a":47471,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":47473,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":47475,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":47477,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":47480,"t":"code","b":[96],"m":"rts"},{"a":47481,"l":"b_B979","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[47463,47469]},{"a":47482,"t":"note","l":"conveyor_reset_hi_base","c":"Index base only: $B97A+X (X=$2C-$2F) = $B9A6, reset x high bytes for the moving objects $2C-$2F ($BA78). The byte here is code.","note":"inside the item at $B979","x":[47736]},{"a":47483,"t":"code","b":[96],"m":"rts"},{"a":47484,"l":"b_B97C","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[47453,47457]},{"a":47486,"l":"conveyor_reset_lo_base","c":"The RTS of $B956, and index base: $B97E+X (X=$2C-$2F) = $B9AA, reset x low bytes ($BA72).","t":"code","b":[96],"m":"rts","x":[47730]},{"a":47487,"l":"machine_parts_set_b","c":"Objects checked when $4F is negative, Y 4..0 (or 9..5 via $B984): $40 $41 $42 $43 $4A / $40 $4A $42 $43 $41; each must sit exactly at its slot for $4F to be cleared ($BA12). $B982/$B986 are also index bases of the limit tables below.","t":"byte","b":[64,65,66],"x":[47634]},{"a":47490,"l":"conveyor_limit_hi_base","c":"Part of set B ($B982-$B985 = $43 $4A $40 $4A) and index base: $B982+X (X=$2C-$2F) = $B9AE, the limit x high bytes ($BA6D).","t":"byte","b":[67,74,64,74],"x":[47725]},{"a":47494,"l":"conveyor_limit_lo_base","c":"Part of set B ($B986-$B988 = $42 $43 $41) and index base: $B986+X = $B9B2, the limit x low bytes ($BA65).","t":"byte","b":[66,67,65],"x":[47717]},{"a":47497,"l":"machine_parts_set_a","c":"Objects checked when $4F is positive, Y 3..0 (or 8..5): $40 $41 $44 $45 / $40 $4A $44 $45 (byte $B98D unused); all at their slots sets $4F=$FF ($B9D7).","t":"byte","b":[64,65,68,69,255,64,74,68],"x":[47575]},{"a":47505,"t":"byte","b":[69]},{"a":47506,"l":"machine_slot_x_hi","c":"Slot x high byte per check index 0-9 (01 01 02 02 02 01 01 02 02 02); slot y is always $0390.","t":"byte","b":[1,1,2,2,2,1,1,2],"x":[47578,47637]},{"a":47514,"t":"byte","b":[2,2]},{"a":47516,"l":"machine_slot_x_lo","c":"Slot x low byte per check index 0-9 ($C8 $E8 $08 $28 $48, twice): slots at x $01C8, $01E8, $0208, $0228, $0248.","t":"byte","b":[200,232,8,40,72,200,232,8],"x":[47583,47642]},{"a":47524,"t":"byte","b":[40,72]},{"a":47526,"l":"conveyor_tables","c":"Moving objects $2C-$2F: x high on wrap (07 06 03 06, $B9A6), x low on wrap ($D0 $30 $70 $70, $B9AA), limit x high (06 03 06 04, $B9AE), limit x low ($30 $70 $70 $D0, $B9B2). Read at $BA62-$BA7B.","t":"byte","b":[7,6,3,6,208,48,112,112]},{"a":47534,"t":"byte","b":[6,3,6,4,48,112,112,208]},{"a":47542,"l":"machinery_update","c":"Main-loop subsystem, active when $56 = 2. Every 8th frame tests whether the circuit objects sit exactly in their slots at y $0390 (set A while $4F >= 0: all in place sets $4F=$FF and plays sound 2; set B while negative: all in place clears $4F). While $4F >= 0, every other frame moves objects $2C,$2D,$2F left and $2E right by one pixel, wrapping each at its limit ($B9A6 tables). Then: if $1CCA <> 3 and CHEMICALS (object $49) lie within $50 of x $0290, y $0588, set $1CCA=$1CCB=3, write $0C to $2FA1 and $2F3A, sound 9, jump $AE81.","t":"code","b":[165,86],"m":"lda","oa":86,"o":"zone","x":[29852]},{"a":47544,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":47546,"t":"code","b":[208,73],"m":"bne","oa":47621,"o":"r_BA05"},{"a":47548,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":47550,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":47552,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":47554,"t":"code","b":[240,3],"m":"beq","oa":47559,"o":"b_B9C7"},{"a":47556,"t":"code","b":[76,60,186],"m":"jmp","oa":47676,"o":"j_BA3C"},{"a":47559,"l":"b_B9C7","t":"code","b":[165,79],"m":"lda","oa":79,"o":"heatonite_state","x":[47554]},{"a":47561,"t":"code","b":[48,59],"m":"bmi","oa":47622,"o":"b_BA06"},{"a":47563,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":47565,"t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count"},{"a":47567,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":47569,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":47571,"t":"code","b":[240,2],"m":"beq","oa":47575,"o":"b_B9D7"},{"a":47573,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":47575,"l":"b_B9D7","t":"code","b":[190,137,185],"m":"ldx","oa":47497,"o":"machine_parts_set_a,y","x":[47571,47610]},{"a":47578,"t":"code","b":[185,146,185],"m":"lda","oa":47506,"o":"machine_slot_x_hi,y"},{"a":47581,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":47583,"t":"code","b":[185,156,185],"m":"lda","oa":47516,"o":"machine_slot_x_lo,y"},{"a":47586,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":47588,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":47590,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":47592,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":47594,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":47596,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":47599,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":47601,"t":"code","b":[208,73],"m":"bne","oa":47676,"o":"j_BA3C"},{"a":47603,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":47605,"t":"code","b":[208,69],"m":"bne","oa":47676,"o":"j_BA3C"},{"a":47607,"t":"code","b":[136],"m":"dey"},{"a":47608,"t":"code","b":[198,104],"m":"dec","oa":104,"o":"tmp_count"},{"a":47610,"t":"code","b":[16,219],"m":"bpl","oa":47575,"o":"b_B9D7"},{"a":47612,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":47614,"t":"code","b":[133,79],"m":"sta","oa":79,"o":"heatonite_state"},{"a":47616,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":47618,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":47621,"l":"r_BA05","t":"code","b":[96],"m":"rts","x":[47546]},{"a":47622,"l":"b_BA06","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[47561]},{"a":47624,"t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count"},{"a":47626,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":47628,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":47630,"t":"code","b":[240,2],"m":"beq","oa":47634,"o":"b_BA12"},{"a":47632,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":47634,"l":"b_BA12","t":"code","b":[190,127,185],"m":"ldx","oa":47487,"o":"machine_parts_set_b,y","x":[47630,47669]},{"a":47637,"t":"code","b":[185,146,185],"m":"lda","oa":47506,"o":"machine_slot_x_hi,y"},{"a":47640,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":47642,"t":"code","b":[185,156,185],"m":"lda","oa":47516,"o":"machine_slot_x_lo,y"},{"a":47645,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":47647,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":47649,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":47651,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":47653,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":47655,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":47658,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":47660,"t":"code","b":[208,14],"m":"bne","oa":47676,"o":"j_BA3C"},{"a":47662,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":47664,"t":"code","b":[208,10],"m":"bne","oa":47676,"o":"j_BA3C"},{"a":47666,"t":"code","b":[136],"m":"dey"},{"a":47667,"t":"code","b":[198,104],"m":"dec","oa":104,"o":"tmp_count"},{"a":47669,"t":"code","b":[16,219],"m":"bpl","oa":47634,"o":"b_BA12"},{"a":47671,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47673,"t":"code","b":[133,79],"m":"sta","oa":79,"o":"heatonite_state"},{"a":47675,"t":"code","b":[96],"m":"rts"},{"a":47676,"l":"j_BA3C","t":"code","b":[162,44],"m":"ldx","o":"#$2C","x":[47556,47601,47605,47660,47664]},{"a":47678,"l":"b_BA3E","t":"code","b":[165,79],"m":"lda","oa":79,"o":"heatonite_state","x":[47748]},{"a":47680,"t":"code","b":[48,60],"m":"bmi","oa":47742,"o":"b_BA7E"},{"a":47682,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":47684,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":47686,"t":"code","b":[240,54],"m":"beq","oa":47742,"o":"b_BA7E"},{"a":47688,"t":"code","b":[224,46],"m":"cpx","o":"#$2E"},{"a":47690,"t":"code","b":[240,14],"m":"beq","oa":47706,"o":"b_BA5A"},{"a":47692,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":47695,"t":"code","b":[208,3],"m":"bne","oa":47700,"o":"b_BA54"},{"a":47697,"t":"code","b":[222,192,27],"m":"dec","oa":7104,"o":"obj_x_hi,x"},{"a":47700,"l":"b_BA54","t":"code","b":[222,112,27],"m":"dec","oa":7024,"o":"obj_x_lo,x","x":[47695]},{"a":47703,"t":"code","b":[76,98,186],"m":"jmp","oa":47714,"o":"j_BA62"},{"a":47706,"l":"b_BA5A","t":"code","b":[254,112,27],"m":"inc","oa":7024,"o":"obj_x_lo,x","x":[47690]},{"a":47709,"t":"code","b":[208,3],"m":"bne","oa":47714,"o":"j_BA62"},{"a":47711,"t":"code","b":[254,192,27],"m":"inc","oa":7104,"o":"obj_x_hi,x"},{"a":47714,"l":"j_BA62","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[47703,47709]},{"a":47717,"t":"code","b":[221,134,185],"m":"cmp","oa":47494,"o":"conveyor_limit_lo_base,x"},{"a":47720,"t":"code","b":[208,20],"m":"bne","oa":47742,"o":"b_BA7E"},{"a":47722,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":47725,"t":"code","b":[221,130,185],"m":"cmp","oa":47490,"o":"conveyor_limit_hi_base,x"},{"a":47728,"t":"code","b":[208,12],"m":"bne","oa":47742,"o":"b_BA7E"},{"a":47730,"t":"code","b":[189,126,185],"m":"lda","oa":47486,"o":"conveyor_reset_lo_base,x"},{"a":47733,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":47736,"t":"code","b":[189,122,185],"m":"lda","oa":47482,"o":"conveyor_reset_hi_base,x"},{"a":47739,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":47742,"l":"b_BA7E","t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object","x":[47680,47686,47720,47728]},{"a":47745,"t":"code","b":[232],"m":"inx"},{"a":47746,"t":"code","b":[224,48],"m":"cpx","o":"#$30"},{"a":47748,"t":"code","b":[208,184],"m":"bne","oa":47678,"o":"b_BA3E"},{"a":47750,"t":"code","b":[173,202,28],"m":"lda","oa":7370,"o":"obj_flags_1a"},{"a":47753,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":47755,"t":"code","b":[240,59],"m":"beq","oa":47816,"o":"r_BAC8"},{"a":47757,"t":"code","b":[162,73],"m":"ldx","o":"#$49"},{"a":47759,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":47761,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":47763,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":47765,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":47767,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":47769,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":47771,"t":"code","b":[169,136],"m":"lda","o":"#$88"},{"a":47773,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":47775,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":47778,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":47780,"t":"code","b":[208,34],"m":"bne","oa":47816,"o":"r_BAC8"},{"a":47782,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":47784,"t":"code","b":[208,30],"m":"bne","oa":47816,"o":"r_BAC8"},{"a":47786,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":47788,"t":"code","b":[201,80],"m":"cmp","o":"#$50"},{"a":47790,"t":"code","b":[176,24],"m":"bcs","oa":47816,"o":"r_BAC8"},{"a":47792,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":47794,"t":"code","b":[141,202,28],"m":"sta","oa":7370,"o":"obj_flags_1a"},{"a":47797,"t":"code","b":[141,203,28],"m":"sta","oa":7371,"o":"obj_flags_1b"},{"a":47800,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":47802,"t":"code","b":[141,161,47],"m":"sta","oa":12193,"o":"char_colour_a1"},{"a":47805,"t":"code","b":[141,58,47],"m":"sta","oa":12090,"o":"char_colour_3a"},{"a":47808,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":47810,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":47813,"t":"code","b":[76,129,174],"m":"jmp","oa":44673,"o":"recolour_screen"},{"a":47816,"l":"r_BAC8","t":"code","b":[96],"m":"rts","x":[47755,47780,47784,47790]},{"a":47817,"l":"use_first_press_flag","c":"Zero until F5 is first pressed with this routine; then $FF, and $BF69 has dealt the code-lock sequence. Also cleared at $4A16 and $943A.","t":"byte","b":[0],"x":[18966,37946,47935,47942]},{"a":47818,"l":"use_key_latch","c":"F5 edge latch: $FF while F5 is held after an action, 0 when released ($BB2C), so one press uses the item once.","t":"byte","b":[0,0],"x":[47916,47952,47959]},{"a":47820,"l":"use_item_update","c":"Main-loop subsystem: use the held item (F5, $D2). Returns while cooldown $E9 counts down or the Doctor moves. If $1D08 = $B2 and Doctor x hi >= 8, sets $1D08/$1D0F to $1B via $AEB3. Sets $16A0 = 0 when holding the PASS CARD ($37), else 1 (the $4E test just before is overwritten). F5 released: pick axe drawn at rest ($1D64=$C0, $1A34=8, $1A54=6). F5 pressed: first time deals the code ($BF69); else, unless $E0, dispatch on $1D80: 0 empty hands $BD1B, $34 pick axe $BC29, $38 spanner $BBBC, $3C/$48/$4C detonators, $3D explosives, $3F activator.","t":"code","b":[165,233],"m":"lda","oa":233,"o":"pickup_cooldown","x":[29832]},{"a":47822,"t":"code","b":[240,3],"m":"beq","oa":47827,"o":"b_BAD3"},{"a":47824,"t":"code","b":[198,233],"m":"dec","oa":233,"o":"pickup_cooldown"},{"a":47826,"l":"r_BAD2","t":"code","b":[96],"m":"rts","x":[47830,47835]},{"a":47827,"l":"b_BAD3","t":"code","b":[173,176,29],"m":"lda","oa":7600,"o":"obj_facing","x":[47822]},{"a":47830,"t":"code","b":[208,250],"m":"bne","oa":47826,"o":"r_BAD2"},{"a":47832,"t":"code","b":[173,224,29],"m":"lda","oa":7648,"o":"obj_vert_state"},{"a":47835,"t":"code","b":[208,245],"m":"bne","oa":47826,"o":"r_BAD2"},{"a":47837,"t":"code","b":[173,8,29],"m":"lda","oa":7432,"o":"cell_state_8"},{"a":47840,"t":"code","b":[201,178],"m":"cmp","o":"#$B2"},{"a":47842,"t":"code","b":[208,33],"m":"bne","oa":47877,"o":"b_BB05"},{"a":47844,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":47847,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":47849,"t":"code","b":[144,26],"m":"bcc","oa":47877,"o":"b_BB05"},{"a":47851,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":47853,"t":"code","b":[141,170,173],"m":"sta","oa":44458,"o":"switch_value"},{"a":47856,"t":"code","b":[141,8,29],"m":"sta","oa":7432,"o":"cell_state_8"},{"a":47859,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":47861,"t":"code","b":[32,179,174],"m":"jsr","oa":44723,"o":"switch_write_map"},{"a":47864,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":47866,"t":"code","b":[141,170,173],"m":"sta","oa":44458,"o":"switch_value"},{"a":47869,"t":"code","b":[141,15,29],"m":"sta","oa":7439,"o":"cell_state_f"},{"a":47872,"t":"code","b":[160,15],"m":"ldy","o":"#$0F"},{"a":47874,"t":"code","b":[32,179,174],"m":"jsr","oa":44723,"o":"switch_write_map"},{"a":47877,"l":"b_BB05","t":"code","b":[165,78],"m":"lda","oa":78,"o":"event_flag_4e","x":[47842,47849]},{"a":47879,"t":"code","b":[240,7],"m":"beq","oa":47888,"o":"b_BB10"},{"a":47881,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47883,"t":"code","b":[141,160,22],"m":"sta","oa":5792,"o":"char_class_a0"},{"a":47886,"t":"code","b":[240,5],"m":"beq","oa":47893,"o":"b_BB15"},{"a":47888,"l":"b_BB10","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[47879]},{"a":47890,"t":"code","b":[141,160,22],"m":"sta","oa":5792,"o":"char_class_a0"},{"a":47893,"l":"b_BB15","t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding","x":[47886]},{"a":47896,"t":"code","b":[201,55],"m":"cmp","o":"#$37"},{"a":47898,"t":"code","b":[208,7],"m":"bne","oa":47907,"o":"b_BB23"},{"a":47900,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47902,"t":"code","b":[141,160,22],"m":"sta","oa":5792,"o":"char_class_a0"},{"a":47905,"t":"code","b":[240,5],"m":"beq","oa":47912,"o":"b_BB28"},{"a":47907,"l":"b_BB23","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[47898]},{"a":47909,"t":"code","b":[141,160,22],"m":"sta","oa":5792,"o":"char_class_a0"},{"a":47912,"l":"b_BB28","t":"code","b":[165,210],"m":"lda","oa":210,"o":"key_f5","x":[47905]},{"a":47914,"t":"code","b":[208,19],"m":"bne","oa":47935,"o":"b_BB3F"},{"a":47916,"t":"code","b":[141,202,186],"m":"sta","oa":47818,"o":"use_key_latch"},{"a":47919,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":47921,"t":"code","b":[141,100,29],"m":"sta","oa":7524,"o":"obj_sprite_34"},{"a":47924,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":47926,"t":"code","b":[141,52,26],"m":"sta","oa":6708,"o":"obj_hit_vert_14"},{"a":47929,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":47931,"t":"code","b":[141,84,26],"m":"sta","oa":6740,"o":"obj_hit_vert_34"},{"a":47934,"l":"r_BB3E","t":"code","b":[96],"m":"rts","x":[47950,47955]},{"a":47935,"l":"b_BB3F","t":"code","b":[173,201,186],"m":"lda","oa":47817,"o":"use_first_press_flag","x":[47914]},{"a":47938,"t":"code","b":[208,8],"m":"bne","oa":47948,"o":"b_BB4C"},{"a":47940,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":47942,"t":"code","b":[141,201,186],"m":"sta","oa":47817,"o":"use_first_press_flag"},{"a":47945,"t":"code","b":[76,105,191],"m":"jmp","oa":49001,"o":"code_lock_new_sequence"},{"a":47948,"l":"b_BB4C","t":"code","b":[165,224],"m":"lda","oa":224,"o":"busy_flag","x":[47938]},{"a":47950,"t":"code","b":[208,238],"m":"bne","oa":47934,"o":"r_BB3E"},{"a":47952,"t":"code","b":[173,202,186],"m":"lda","oa":47818,"o":"use_key_latch"},{"a":47955,"t":"code","b":[48,233],"m":"bmi","oa":47934,"o":"r_BB3E"},{"a":47957,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":47959,"t":"code","b":[141,202,186],"m":"sta","oa":47818,"o":"use_key_latch"},{"a":47962,"t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding"},{"a":47965,"t":"code","b":[240,32],"m":"beq","oa":47999,"o":"b_BB7F"},{"a":47967,"t":"code","b":[201,52],"m":"cmp","o":"#$34"},{"a":47969,"t":"code","b":[240,46],"m":"beq","oa":48017,"o":"b_BB91"},{"a":47971,"t":"code","b":[201,56],"m":"cmp","o":"#$38"},{"a":47973,"t":"code","b":[240,21],"m":"beq","oa":47996,"o":"b_BB7C"},{"a":47975,"t":"code","b":[201,60],"m":"cmp","o":"#$3C"},{"a":47977,"t":"code","b":[240,23],"m":"beq","oa":48002,"o":"b_BB82"},{"a":47979,"t":"code","b":[201,72],"m":"cmp","o":"#$48"},{"a":47981,"t":"code","b":[240,22],"m":"beq","oa":48005,"o":"b_BB85"},{"a":47983,"t":"code","b":[201,76],"m":"cmp","o":"#$4C"},{"a":47985,"t":"code","b":[240,21],"m":"beq","oa":48008,"o":"b_BB88"},{"a":47987,"t":"code","b":[201,61],"m":"cmp","o":"#$3D"},{"a":47989,"t":"code","b":[240,20],"m":"beq","oa":48011,"o":"b_BB8B"},{"a":47991,"t":"code","b":[201,63],"m":"cmp","o":"#$3F"},{"a":47993,"t":"code","b":[240,19],"m":"beq","oa":48014,"o":"b_BB8E"},{"a":47995,"t":"code","b":[96],"m":"rts"},{"a":47996,"l":"b_BB7C","t":"code","b":[76,188,187],"m":"jmp","oa":48060,"o":"use_spanner","x":[47973]},{"a":47999,"l":"b_BB7F","t":"code","b":[76,27,189],"m":"jmp","oa":48411,"o":"use_empty_hands","x":[47965]},{"a":48002,"l":"b_BB82","t":"code","b":[76,174,188],"m":"jmp","oa":48302,"o":"use_detonator_3c","x":[47977]},{"a":48005,"l":"b_BB85","t":"code","b":[76,185,188],"m":"jmp","oa":48313,"o":"use_detonator_48","x":[47981]},{"a":48008,"l":"b_BB88","t":"code","b":[76,196,188],"m":"jmp","oa":48324,"o":"use_detonator_4c","x":[47985]},{"a":48011,"l":"b_BB8B","t":"code","b":[76,207,188],"m":"jmp","oa":48335,"o":"use_explosives","x":[47989]},{"a":48014,"l":"b_BB8E","t":"code","b":[76,224,188],"m":"jmp","oa":48352,"o":"use_activator","x":[47993]},{"a":48017,"l":"b_BB91","t":"code","b":[76,41,188],"m":"jmp","oa":48169,"o":"use_pickaxe","x":[47969]},{"a":48020,"l":"spanner_bolt_x_hi","c":"Spanner points, 8 entries: x high ($BB94), x low ($BB9C), y high ($BBA4), y low ($BBAC), and 'must be above' flag ($BBB4, only entry 5 set). Read at $BBC0-$BBF0.","t":"byte","b":[7,8,13,13,14,12,13,14],"x":[48069]},{"a":48028,"l":"spanner_bolt_x_lo","c":"Spanner points: x low bytes for the 8 entries ($BBC0).","t":"byte","b":[48,240,48,176,48,208,240,48],"x":[48064]},{"a":48036,"l":"spanner_bolt_y_hi","c":"Spanner points: y high bytes 05 05 06 06 06 05 05 05 ($BBCF).","t":"byte","b":[5,5,6,6,6,5,5,5],"x":[48079]},{"a":48044,"l":"spanner_bolt_y_lo","c":"Spanner points: y low bytes ($BBCA).","t":"byte","b":[231,231,71,71,71,135,135,135],"x":[48074]},{"a":48052,"l":"spanner_bolt_from_below","c":"Spanner points: non-zero (entry 5 only) means the Doctor must be below the point ($BBF0).","t":"byte","b":[0,0,0,0,0,255,0,0],"x":[48112]},{"a":48060,"l":"use_spanner","c":"Use SPANNER ($38): for each of 8 points, if the Doctor is within $10 x $1E and point Y's flag $1D12,Y is clear (and for entry 5 he is below it, $DE negative is required), set $1D12,Y=$FF, play sound $14 and call $AE02 with Y and A=$E1.","t":"code","b":[160,7],"m":"ldy","o":"#$07","x":[47996]},{"a":48062,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":48064,"l":"b_BBC0","t":"code","b":[185,156,187],"m":"lda","oa":48028,"o":"spanner_bolt_x_lo,y","x":[48142]},{"a":48067,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":48069,"t":"code","b":[185,148,187],"m":"lda","oa":48020,"o":"spanner_bolt_x_hi,y"},{"a":48072,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":48074,"t":"code","b":[185,172,187],"m":"lda","oa":48044,"o":"spanner_bolt_y_lo,y"},{"a":48077,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":48079,"t":"code","b":[185,164,187],"m":"lda","oa":48036,"o":"spanner_bolt_y_hi,y"},{"a":48082,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":48084,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":48087,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":48089,"t":"code","b":[208,50],"m":"bne","oa":48141,"o":"b_BC0D"},{"a":48091,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":48093,"t":"code","b":[208,46],"m":"bne","oa":48141,"o":"b_BC0D"},{"a":48095,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":48097,"t":"code","b":[201,30],"m":"cmp","o":"#$1E"},{"a":48099,"t":"code","b":[176,40],"m":"bcs","oa":48141,"o":"b_BC0D"},{"a":48101,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":48103,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":48105,"t":"code","b":[176,34],"m":"bcs","oa":48141,"o":"b_BC0D"},{"a":48107,"t":"code","b":[185,18,29],"m":"lda","oa":7442,"o":"spanner_flags,y"},{"a":48110,"t":"code","b":[48,32],"m":"bmi","oa":48144,"o":"r_BC10"},{"a":48112,"t":"code","b":[185,180,187],"m":"lda","oa":48052,"o":"spanner_bolt_from_below,y"},{"a":48115,"t":"code","b":[240,5],"m":"beq","oa":48122,"o":"b_BBFA"},{"a":48117,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":48119,"t":"code","b":[48,1],"m":"bmi","oa":48122,"o":"b_BBFA"},{"a":48121,"t":"code","b":[96],"m":"rts"},{"a":48122,"l":"b_BBFA","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[48115,48119]},{"a":48124,"t":"code","b":[153,18,29],"m":"sta","oa":7442,"o":"spanner_flags,y"},{"a":48127,"t":"code","b":[152],"m":"tya"},{"a":48128,"t":"code","b":[72],"m":"pha"},{"a":48129,"t":"code","b":[160,20],"m":"ldy","o":"#$14"},{"a":48131,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":48134,"t":"code","b":[104],"m":"pla"},{"a":48135,"t":"code","b":[168],"m":"tay"},{"a":48136,"t":"code","b":[169,225],"m":"lda","o":"#$E1"},{"a":48138,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":48141,"l":"b_BC0D","t":"code","b":[136],"m":"dey","x":[48089,48093,48099,48105]},{"a":48142,"t":"code","b":[16,176],"m":"bpl","oa":48064,"o":"b_BBC0"},{"a":48144,"l":"r_BC10","t":"code","b":[96],"m":"rts","x":[48110]},{"a":48145,"l":"pickaxe_rock_tables","c":"Pick axe dig sites 0-2: $AE02 index ($0E $09 $0A, $BC11), map codes by hit count for sites 0-1 ($BC14: 0 $AF $B0 $1B) and site 2 ($BC18: 0 $FC $FD $1C), x hi ($BC1C), x lo ($BC1F), y hi ($BC22), y lo ($BC25).","t":"byte","b":[14,9,10],"x":[48278]},{"a":48148,"l":"pickaxe_map_codes_a","c":"Pick axe: map code passed to $AE02 after hit 1, 2, 3 at dig sites 0 and 1 ($AF $B0 $1B; entry 0 unused).","t":"byte","b":[0,175,176,27],"x":[48292]},{"a":48152,"l":"pickaxe_map_codes_b","c":"Pick axe: map code after hit 1, 2, 3 at dig site 2 ($FC $FD $1C).","t":"byte","b":[0,252,253,28],"x":[48286]},{"a":48156,"l":"pickaxe_site_x_hi","c":"Pick axe dig sites: x high 05 05 09.","t":"byte","b":[5,5,9],"x":[48213]},{"a":48159,"l":"pickaxe_site_x_lo","c":"Pick axe dig sites: x low $C0 $E0 $00 (sites at x $05C0, $05E0, $0900).","t":"byte","b":[192,224,0],"x":[48208]},{"a":48162,"l":"pickaxe_site_y_hi","c":"Pick axe dig sites: y high 0 0 1.","t":"byte","b":[0,0,1],"x":[48223]},{"a":48165,"l":"pickaxe_site_y_lo","c":"Pick axe dig sites: y low $74 $74 $54 (y $0074, $0074, $0154).","t":"byte","b":[116,116,84],"x":[48218]},{"a":48168,"l":"pickaxe_swing_count","c":"Pick axe: swings left (1-3) before the next hit on a dig site counts ($BC84).","t":"byte","b":[1],"x":[48260,48267]},{"a":48169,"l":"use_pickaxe","c":"Use PICK AXE ($34): recolour it ($1A34=$0E, $1A54=$0C) and choose swing frame $C8/$C9 by facing $8A. For dig sites 2..0 whose count $1D1A,Y is below 3 and within $16 x $08 of the Doctor: sound 4; every third swing increment $1D1A,Y and call $AE02 with the site's index and the map code for that count.","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[48017]},{"a":48171,"t":"code","b":[141,52,26],"m":"sta","oa":6708,"o":"obj_hit_vert_14"},{"a":48174,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":48176,"t":"code","b":[141,84,26],"m":"sta","oa":6740,"o":"obj_hit_vert_34"},{"a":48179,"t":"code","b":[165,138],"m":"lda","oa":138,"o":"doctor_facing"},{"a":48181,"t":"code","b":[240,14],"m":"beq","oa":48197,"o":"b_BC45"},{"a":48183,"t":"code","b":[48,7],"m":"bmi","oa":48192,"o":"b_BC40"},{"a":48185,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":48187,"t":"code","b":[141,100,29],"m":"sta","oa":7524,"o":"obj_sprite_34"},{"a":48190,"t":"code","b":[208,5],"m":"bne","oa":48197,"o":"b_BC45"},{"a":48192,"l":"b_BC40","t":"code","b":[169,201],"m":"lda","o":"#$C9","x":[48183]},{"a":48194,"t":"code","b":[141,100,29],"m":"sta","oa":7524,"o":"obj_sprite_34"},{"a":48197,"l":"b_BC45","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[48181,48190]},{"a":48199,"t":"code","b":[162,52],"m":"ldx","o":"#$34"},{"a":48201,"l":"b_BC49","t":"code","b":[185,26,29],"m":"lda","oa":7450,"o":"hit_counts,y","x":[48299]},{"a":48204,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":48206,"t":"code","b":[240,90],"m":"beq","oa":48298,"o":"b_BCAA"},{"a":48208,"t":"code","b":[185,31,188],"m":"lda","oa":48159,"o":"pickaxe_site_x_lo,y"},{"a":48211,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":48213,"t":"code","b":[185,28,188],"m":"lda","oa":48156,"o":"pickaxe_site_x_hi,y"},{"a":48216,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":48218,"t":"code","b":[185,37,188],"m":"lda","oa":48165,"o":"pickaxe_site_y_lo,y"},{"a":48221,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":48223,"t":"code","b":[185,34,188],"m":"lda","oa":48162,"o":"pickaxe_site_y_hi,y"},{"a":48226,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":48228,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":48231,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":48233,"t":"code","b":[208,63],"m":"bne","oa":48298,"o":"b_BCAA"},{"a":48235,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":48237,"t":"code","b":[208,59],"m":"bne","oa":48298,"o":"b_BCAA"},{"a":48239,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":48241,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":48243,"t":"code","b":[176,53],"m":"bcs","oa":48298,"o":"b_BCAA"},{"a":48245,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":48247,"t":"code","b":[201,22],"m":"cmp","o":"#$16"},{"a":48249,"t":"code","b":[176,47],"m":"bcs","oa":48298,"o":"b_BCAA"},{"a":48251,"t":"code","b":[152],"m":"tya"},{"a":48252,"t":"code","b":[72],"m":"pha"},{"a":48253,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":48255,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":48258,"t":"code","b":[104],"m":"pla"},{"a":48259,"t":"code","b":[168],"m":"tay"},{"a":48260,"t":"code","b":[206,40,188],"m":"dec","oa":48168,"o":"pickaxe_swing_count"},{"a":48263,"t":"code","b":[208,36],"m":"bne","oa":48301,"o":"r_BCAD"},{"a":48265,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":48267,"t":"code","b":[141,40,188],"m":"sta","oa":48168,"o":"pickaxe_swing_count"},{"a":48270,"t":"code","b":[190,26,29],"m":"ldx","oa":7450,"o":"hit_counts,y"},{"a":48273,"t":"code","b":[232],"m":"inx"},{"a":48274,"t":"code","b":[138],"m":"txa"},{"a":48275,"t":"code","b":[153,26,29],"m":"sta","oa":7450,"o":"hit_counts,y"},{"a":48278,"t":"code","b":[185,17,188],"m":"lda","oa":48145,"o":"pickaxe_rock_tables,y"},{"a":48281,"t":"code","b":[168],"m":"tay"},{"a":48282,"t":"code","b":[192,10],"m":"cpy","o":"#$0A"},{"a":48284,"t":"code","b":[208,6],"m":"bne","oa":48292,"o":"b_BCA4"},{"a":48286,"t":"code","b":[189,24,188],"m":"lda","oa":48152,"o":"pickaxe_map_codes_b,x"},{"a":48289,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":48292,"l":"b_BCA4","t":"code","b":[189,20,188],"m":"lda","oa":48148,"o":"pickaxe_map_codes_a,x","x":[48284]},{"a":48295,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":48298,"l":"b_BCAA","t":"code","b":[136],"m":"dey","x":[48206,48233,48237,48243,48249]},{"a":48299,"t":"code","b":[16,156],"m":"bpl","oa":48201,"o":"b_BC49"},{"a":48301,"l":"r_BCAD","t":"code","b":[96],"m":"rts","x":[48263]},{"a":48302,"l":"use_detonator_3c","c":"Use DETONATOR $3C: if its state $1CEC is 0 set it to $88.","t":"code","b":[173,236,28],"m":"lda","oa":7404,"o":"obj_flags_3c","x":[48002]},{"a":48305,"t":"code","b":[208,5],"m":"bne","oa":48312,"o":"r_BCB8"},{"a":48307,"t":"code","b":[169,136],"m":"lda","o":"#$88"},{"a":48309,"t":"code","b":[141,236,28],"m":"sta","oa":7404,"o":"obj_flags_3c"},{"a":48312,"l":"r_BCB8","t":"code","b":[96],"m":"rts","x":[48305,48316,48327,48338]},{"a":48313,"l":"use_detonator_48","c":"Use DETONATOR $48: if $1CF8 is 0 set it to $88.","t":"code","b":[173,248,28],"m":"lda","oa":7416,"o":"obj_flags_48","x":[48005]},{"a":48316,"t":"code","b":[208,250],"m":"bne","oa":48312,"o":"r_BCB8"},{"a":48318,"t":"code","b":[169,136],"m":"lda","o":"#$88"},{"a":48320,"t":"code","b":[141,248,28],"m":"sta","oa":7416,"o":"obj_flags_48"},{"a":48323,"t":"code","b":[96],"m":"rts"},{"a":48324,"l":"use_detonator_4c","c":"Use DETONATOR $4C: if $1CFC is 0 set it to $88.","t":"code","b":[173,252,28],"m":"lda","oa":7420,"o":"obj_flags_4c","x":[48008]},{"a":48327,"t":"code","b":[208,239],"m":"bne","oa":48312,"o":"r_BCB8"},{"a":48329,"t":"code","b":[169,136],"m":"lda","o":"#$88"},{"a":48331,"t":"code","b":[141,252,28],"m":"sta","oa":7420,"o":"obj_flags_4c"},{"a":48334,"t":"code","b":[96],"m":"rts"},{"a":48335,"l":"use_explosives","c":"Use EXPLOSIVES ($3D): if its state $1CED is 0 set it to $FF.","t":"code","b":[173,237,28],"m":"lda","oa":7405,"o":"obj_flags_3d","x":[48011]},{"a":48338,"t":"code","b":[208,228],"m":"bne","oa":48312,"o":"r_BCB8"},{"a":48340,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":48342,"t":"code","b":[141,237,28],"m":"sta","oa":7405,"o":"obj_flags_3d"},{"a":48345,"t":"code","b":[96],"m":"rts"},{"a":48346,"l":"activator_points","c":"ACTIVATOR points x high ($0D $0D $0E) and x low ($08 $88 $08); y is $0648: $0D08, $0D88, $0E08.","t":"byte","b":[13,13,14],"x":[48356]},{"a":48349,"l":"activator_x_lo","c":"Activator points: x low bytes $08 $88 $08.","t":"byte","b":[8,136,8],"x":[48361]},{"a":48352,"l":"use_activator","c":"Use ACTIVATOR ($3F): within $18 x $08 of any of the three points, set $E8=2 and play sound $15.","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[48014]},{"a":48354,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":48356,"l":"b_BCE4","t":"code","b":[185,218,188],"m":"lda","oa":48346,"o":"activator_points,y","x":[48408]},{"a":48359,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":48361,"t":"code","b":[185,221,188],"m":"lda","oa":48349,"o":"activator_x_lo,y"},{"a":48364,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":48366,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":48368,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":48370,"t":"code","b":[169,72],"m":"lda","o":"#$48"},{"a":48372,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":48374,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":48377,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":48379,"t":"code","b":[208,26],"m":"bne","oa":48407,"o":"b_BD17"},{"a":48381,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":48383,"t":"code","b":[208,22],"m":"bne","oa":48407,"o":"b_BD17"},{"a":48385,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":48387,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":48389,"t":"code","b":[176,16],"m":"bcs","oa":48407,"o":"b_BD17"},{"a":48391,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":48393,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":48395,"t":"code","b":[176,10],"m":"bcs","oa":48407,"o":"b_BD17"},{"a":48397,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":48399,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":48401,"t":"code","b":[160,21],"m":"ldy","o":"#$15"},{"a":48403,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":48406,"t":"code","b":[96],"m":"rts"},{"a":48407,"l":"b_BD17","t":"code","b":[136],"m":"dey","x":[48379,48383,48389,48395]},{"a":48408,"t":"code","b":[16,202],"m":"bpl","oa":48356,"o":"b_BCE4"},{"a":48410,"t":"code","b":[96],"m":"rts"},{"a":48411,"l":"use_empty_hands","c":"F5 with nothing held: if the character under the Doctor ($9A09 -> $78) is $B2 and his y is a multiple of 32, set $E8=4; otherwise try the code-lock buttons ($BE29).","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[47999]},{"a":48413,"t":"code","b":[32,9,154],"m":"jsr","oa":39433,"o":"terrain_probe_centre"},{"a":48416,"t":"code","b":[165,120],"m":"lda","oa":120,"o":"probe_block"},{"a":48418,"t":"code","b":[201,178],"m":"cmp","o":"#$B2"},{"a":48420,"t":"code","b":[208,12],"m":"bne","oa":48434,"o":"b_BD32"},{"a":48422,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":48425,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":48427,"t":"code","b":[208,5],"m":"bne","oa":48434,"o":"b_BD32"},{"a":48429,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":48431,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":48433,"t":"code","b":[96],"m":"rts"},{"a":48434,"l":"b_BD32","t":"code","b":[76,41,190],"m":"jmp","oa":48681,"o":"code_lock_press","x":[48420,48427]},{"a":48437,"l":"code_lock_shown","c":"Code lock: the digit (0-5) shown on each of the three buttons, $BD35-$BD37; drawn through $BD64 into $BFDB-$BFDD.","t":"byte","b":[0],"x":[48817,48933,48945,48976]},{"a":48438,"l":"code_lock_shown_2","c":"Code lock: digit shown on the middle button (zone x $40-$5F).","t":"byte","b":[0],"x":[48830,48954]},{"a":48439,"l":"code_lock_shown_3","c":"Code lock: digit shown on the right button (zone x $60-$7F).","t":"byte","b":[0],"x":[48843,48963]},{"a":48440,"l":"code_lock_sequence","c":"Code lock: the six-digit secret sequence (each 0-5), dealt at $BFC7 from table $BD6F.","t":"byte","b":[0,0,0,0,0,0],"x":[48820,48833,48846,48879,49102]},{"a":48446,"l":"code_lock_position","c":"Code lock: how many digits of the sequence are already entered (0-5).","t":"byte","b":[0],"x":[48814,48827,48840,48866,48873,48876,49003]},{"a":48447,"l":"code_lock_seeds","c":"Code lock seeds, each 0-4, taken from frame counter $53 at $BF69: $BD3F, $BD40, $BD41; $BD42 is the occurrence counter used while searching $BD6F. Shown as clues at $BE8A-$BEA4.","t":"byte","b":[0],"x":[48778,49020,49057]},{"a":48448,"l":"code_lock_seed_2","c":"Code lock seed 2 (0-4), from the inverted frame counter; also selects the second clue.","t":"byte","b":[0],"x":[48788,49036,49063]},{"a":48449,"l":"code_lock_seed_3","c":"Code lock seed 3 (0-4): which occurrence in the deck to use; also the third clue.","t":"byte","b":[0],"x":[48798,49054,49084]},{"a":48450,"l":"code_lock_occurrence","c":"Code lock dealer: occurrences skipped so far while searching the deck.","t":"byte","b":[0],"x":[49069,49081,49089]},{"a":48451,"l":"code_lock_decoy_source","c":"Read at $BF07 (shifted, & 7) as the decoy value for the two wrong buttons; not written anywhere in $B000-$BFFF.","t":"byte","b":[0],"x":[48903]},{"a":48452,"l":"code_lock_clue_cycle","c":"Clue display: which clue (0-3) is shown next at $BFDA, counts down 3..0.","t":"byte","b":[4],"x":[48751,48758,48761]},{"a":48453,"l":"code_lock_next_digit","c":"Code lock: the next correct digit, $BD38[$BD3E] ($BEF2).","t":"byte","b":[0],"x":[48882,48919,48973]},{"a":48454,"l":"code_lock_shuffle_index","c":"Index 0-$17 into $BD47 choosing which button carries the right digit; counts down each deal.","t":"byte","b":[23],"x":[48885,48892,48895,49010]},{"a":48455,"l":"code_lock_right_button","c":"24 entries 0-2: which of the three buttons shows the correct digit on each deal.","t":"byte","b":[2,0,1,1,0,1,2,1],"x":[48898]},{"a":48463,"t":"byte","b":[2,1,0,1,1,2,0,2]},{"a":48471,"t":"byte","b":[0,0,2,1,0,1,2,1]},{"a":48479,"l":"code_lock_clue1_chars","c":"Characters $F6 $F5 $F7 $F8 $F9 shown for clue seed $BD3F (0-4).","t":"byte","b":[246,245,247,248,249],"x":[48781]},{"a":48484,"l":"code_lock_digit_chars","c":"Characters $FD $FA $FE $FB $FC $FF for code digits 0-5, used for the buttons and for clue seed $BD40.","t":"byte","b":[253,250,254,251,252,255],"x":[48791,48948,48957,48966]},{"a":48490,"l":"code_lock_clue3_chars","c":"Characters $A1-$A5 shown for clue seed $BD41 (0-4).","t":"byte","b":[161,162,163,164,165],"x":[48801]},{"a":48495,"l":"code_lock_deck","c":"Code lock deck, 186 bytes $BD6F-$BE28. Each byte is 8*a+b (a 0-4, b 0-5). The dealer finds the ($BD41+1)-th byte equal to 8*$BD3F+$BD40 and takes the low three bits of the six bytes from there as the sequence.","t":"byte","b":[0,9,10,17,24,11,4,35],"x":[49073,49097]},{"a":48503,"t":"byte","b":[2,36,18,12,13,20,0,35]},{"a":48511,"t":"byte","b":[25,36,10,3,8,19,13,29]},{"a":48519,"t":"byte","b":[0,25,16,28,16,1,27,21]},{"a":48527,"t":"byte","b":[2,34,25,19,33,16,21,26]},{"a":48535,"t":"byte","b":[28,11,29,24,33,19,18,1]},{"a":48543,"t":"byte","b":[24,3,16,27,8,2,4,8]},{"a":48551,"t":"byte","b":[5,17,0,36,25,35,10,11]},{"a":48559,"l":"code_lock_deck_part2","c":"Code lock deck continued, $BDAF-$BDEE (see $BD6F).","t":"byte","b":[19,29,16,12,35,10,37,16]},{"a":48567,"t":"byte","b":[33,21,3,17,11,18,37,13]},{"a":48575,"t":"byte","b":[2,9,18,24,5,8,36,27]},{"a":48583,"t":"byte","b":[34,1,20,8,0,1,11,5]},{"a":48591,"t":"byte","b":[12,32,5,9,26,19,18,8]},{"a":48599,"t":"byte","b":[28,21,35,33,2,16,34,33]},{"a":48607,"t":"byte","b":[28,29,32,4,25,20,3,5]},{"a":48615,"t":"byte","b":[27,9,12,0,9,34,4,34]},{"a":48623,"l":"code_lock_deck_part3","c":"Code lock deck continued, $BDEF-$BE28 (see $BD6F).","t":"byte","b":[20,5,10,21,26,12,37,17]},{"a":48631,"t":"byte","b":[34,26,17,24,9,4,27,36]},{"a":48639,"t":"byte","b":[37,18,13,26,20,32,24,21]},{"a":48647,"t":"byte","b":[27,28,3,13,17,26,32,20]},{"a":48655,"t":"byte","b":[11,1,33,29,2,37,10,35]},{"a":48663,"t":"byte","b":[25,1,19,12,36,3,13,29]},{"a":48671,"t":"byte","b":[37,4,32,28,13,12,18,36]},{"a":48679,"t":"byte","b":[2,35]},{"a":48681,"l":"code_lock_press","c":"Empty-handed F5 in the code-lock room (Doctor x hi $0A), unless solved ($4E negative). At y $04C8 and x $20-$7F: compare the button stood on (three 32-pixel zones) with the next digit; wrong: sound $11 and re-deal ($BF69); right: sound $11, advance, and after the sixth $4E=$FF, sound 7, $AE02 (Y=$0D, A=$D5). At y $05C6+ and x $14-$33 instead: show the next clue character in $BFDA (seeds via $BD5F, $BD64, $BD6A, then $5D).","t":"code","b":[165,78],"m":"lda","oa":78,"o":"event_flag_4e","x":[48434]},{"a":48683,"t":"code","b":[48,40],"m":"bmi","oa":48725,"o":"r_BE55"},{"a":48685,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":48688,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":48690,"t":"code","b":[208,33],"m":"bne","oa":48725,"o":"r_BE55"},{"a":48692,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":48695,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":48697,"t":"code","b":[208,27],"m":"bne","oa":48726,"o":"b_BE56"},{"a":48699,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":48702,"t":"code","b":[201,200],"m":"cmp","o":"#$C8"},{"a":48704,"t":"code","b":[208,19],"m":"bne","oa":48725,"o":"r_BE55"},{"a":48706,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":48709,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":48711,"t":"code","b":[144,12],"m":"bcc","oa":48725,"o":"r_BE55"},{"a":48713,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":48715,"t":"code","b":[144,97],"m":"bcc","oa":48814,"o":"b_BEAE"},{"a":48717,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":48719,"t":"code","b":[144,106],"m":"bcc","oa":48827,"o":"b_BEBB"},{"a":48721,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":48723,"t":"code","b":[144,115],"m":"bcc","oa":48840,"o":"b_BEC8"},{"a":48725,"l":"r_BE55","t":"code","b":[96],"m":"rts","x":[48683,48690,48704,48711,48731,48738,48745,48749]},{"a":48726,"l":"b_BE56","t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi","x":[48697]},{"a":48729,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":48731,"t":"code","b":[208,248],"m":"bne","oa":48725,"o":"r_BE55"},{"a":48733,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":48736,"t":"code","b":[201,198],"m":"cmp","o":"#$C6"},{"a":48738,"t":"code","b":[144,241],"m":"bcc","oa":48725,"o":"r_BE55"},{"a":48740,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":48743,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":48745,"t":"code","b":[144,234],"m":"bcc","oa":48725,"o":"r_BE55"},{"a":48747,"t":"code","b":[201,52],"m":"cmp","o":"#$34"},{"a":48749,"t":"code","b":[176,230],"m":"bcs","oa":48725,"o":"r_BE55"},{"a":48751,"t":"code","b":[206,68,189],"m":"dec","oa":48452,"o":"code_lock_clue_cycle"},{"a":48754,"t":"code","b":[16,5],"m":"bpl","oa":48761,"o":"b_BE79"},{"a":48756,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":48758,"t":"code","b":[141,68,189],"m":"sta","oa":48452,"o":"code_lock_clue_cycle"},{"a":48761,"l":"b_BE79","t":"code","b":[173,68,189],"m":"lda","oa":48452,"o":"code_lock_clue_cycle","x":[48754]},{"a":48764,"t":"code","b":[10],"m":"asl","o":"a"},{"a":48765,"t":"code","b":[141,129,190],"m":"sta","oa":48769,"o":"code_lock_clue_offset"},{"a":48768,"l":"b_BE80","t":"code","b":[16,254],"m":"bpl","oa":48768,"o":"b_BE80","x":[48768]},{"a":48769,"t":"note","l":"code_lock_clue_offset","c":"Operand of the BPL at $BE80, rewritten with clue number*2, selecting which clue is written to $BFDA.","note":"inside the item at $BE80","x":[48765]},{"a":48770,"t":"code","b":[16,6],"m":"bpl","oa":48778,"o":"b_BE8A"},{"a":48772,"t":"code","b":[16,14],"m":"bpl","oa":48788,"o":"b_BE94"},{"a":48774,"t":"code","b":[16,22],"m":"bpl","oa":48798,"o":"b_BE9E"},{"a":48776,"t":"code","b":[16,30],"m":"bpl","oa":48808,"o":"b_BEA8"},{"a":48778,"l":"b_BE8A","t":"code","b":[174,63,189],"m":"ldx","oa":48447,"o":"code_lock_seeds","x":[48770]},{"a":48781,"t":"code","b":[189,95,189],"m":"lda","oa":48479,"o":"code_lock_clue1_chars,x"},{"a":48784,"t":"code","b":[141,218,191],"m":"sta","oa":49114,"o":"code_lock_display"},{"a":48787,"t":"code","b":[96],"m":"rts"},{"a":48788,"l":"b_BE94","t":"code","b":[174,64,189],"m":"ldx","oa":48448,"o":"code_lock_seed_2","x":[48772]},{"a":48791,"t":"code","b":[189,100,189],"m":"lda","oa":48484,"o":"code_lock_digit_chars,x"},{"a":48794,"t":"code","b":[141,218,191],"m":"sta","oa":49114,"o":"code_lock_display"},{"a":48797,"t":"code","b":[96],"m":"rts"},{"a":48798,"l":"b_BE9E","t":"code","b":[174,65,189],"m":"ldx","oa":48449,"o":"code_lock_seed_3","x":[48774]},{"a":48801,"t":"code","b":[189,106,189],"m":"lda","oa":48490,"o":"code_lock_clue3_chars,x"},{"a":48804,"t":"code","b":[141,218,191],"m":"sta","oa":49114,"o":"code_lock_display"},{"a":48807,"t":"code","b":[96],"m":"rts"},{"a":48808,"l":"b_BEA8","t":"code","b":[169,93],"m":"lda","o":"#$5D","x":[48776]},{"a":48810,"t":"code","b":[141,218,191],"m":"sta","oa":49114,"o":"code_lock_display"},{"a":48813,"t":"code","b":[96],"m":"rts"},{"a":48814,"l":"b_BEAE","t":"code","b":[172,62,189],"m":"ldy","oa":48446,"o":"code_lock_position","x":[48715]},{"a":48817,"t":"code","b":[173,53,189],"m":"lda","oa":48437,"o":"code_lock_shown"},{"a":48820,"t":"code","b":[217,56,189],"m":"cmp","oa":48440,"o":"code_lock_sequence,y"},{"a":48823,"t":"code","b":[240,36],"m":"beq","oa":48861,"o":"b_BEDD"},{"a":48825,"t":"code","b":[208,26],"m":"bne","oa":48853,"o":"b_BED5"},{"a":48827,"l":"b_BEBB","t":"code","b":[172,62,189],"m":"ldy","oa":48446,"o":"code_lock_position","x":[48719]},{"a":48830,"t":"code","b":[173,54,189],"m":"lda","oa":48438,"o":"code_lock_shown_2"},{"a":48833,"t":"code","b":[217,56,189],"m":"cmp","oa":48440,"o":"code_lock_sequence,y"},{"a":48836,"t":"code","b":[240,23],"m":"beq","oa":48861,"o":"b_BEDD"},{"a":48838,"t":"code","b":[208,13],"m":"bne","oa":48853,"o":"b_BED5"},{"a":48840,"l":"b_BEC8","t":"code","b":[172,62,189],"m":"ldy","oa":48446,"o":"code_lock_position","x":[48723]},{"a":48843,"t":"code","b":[173,55,189],"m":"lda","oa":48439,"o":"code_lock_shown_3"},{"a":48846,"t":"code","b":[217,56,189],"m":"cmp","oa":48440,"o":"code_lock_sequence,y"},{"a":48849,"t":"code","b":[240,10],"m":"beq","oa":48861,"o":"b_BEDD"},{"a":48851,"t":"code","b":[208,0],"m":"bne","oa":48853,"o":"b_BED5"},{"a":48853,"l":"b_BED5","t":"code","b":[160,17],"m":"ldy","o":"#$11","x":[48825,48838,48851]},{"a":48855,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":48858,"t":"code","b":[76,105,191],"m":"jmp","oa":49001,"o":"code_lock_new_sequence"},{"a":48861,"l":"b_BEDD","t":"code","b":[160,17],"m":"ldy","o":"#$11","x":[48823,48836,48849]},{"a":48863,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":48866,"t":"code","b":[173,62,189],"m":"lda","oa":48446,"o":"code_lock_position"},{"a":48869,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":48871,"t":"code","b":[240,112],"m":"beq","oa":48985,"o":"b_BF59"},{"a":48873,"t":"code","b":[238,62,189],"m":"inc","oa":48446,"o":"code_lock_position"},{"a":48876,"l":"code_lock_deal_buttons","c":"Put the next correct digit on the button chosen by $BD47 and decoys derived from $BD43 on the others (never equal to the right digit, reduced below 6), then write the three button characters to $BFDB-$BFDD.","t":"code","b":[174,62,189],"m":"ldx","oa":48446,"o":"code_lock_position","x":[49111]},{"a":48879,"t":"code","b":[189,56,189],"m":"lda","oa":48440,"o":"code_lock_sequence,x"},{"a":48882,"t":"code","b":[141,69,189],"m":"sta","oa":48453,"o":"code_lock_next_digit"},{"a":48885,"t":"code","b":[206,70,189],"m":"dec","oa":48454,"o":"code_lock_shuffle_index"},{"a":48888,"t":"code","b":[16,5],"m":"bpl","oa":48895,"o":"b_BEFF"},{"a":48890,"t":"code","b":[169,23],"m":"lda","o":"#$17"},{"a":48892,"t":"code","b":[141,70,189],"m":"sta","oa":48454,"o":"code_lock_shuffle_index"},{"a":48895,"l":"b_BEFF","t":"code","b":[172,70,189],"m":"ldy","oa":48454,"o":"code_lock_shuffle_index","x":[48888]},{"a":48898,"t":"code","b":[185,71,189],"m":"lda","oa":48455,"o":"code_lock_right_button,y"},{"a":48901,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":48903,"t":"code","b":[173,67,189],"m":"lda","oa":48451,"o":"code_lock_decoy_source"},{"a":48906,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":48907,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":48909,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":48911,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":48913,"l":"b_BF11","t":"code","b":[196,90],"m":"cpy","oa":90,"o":"tmp_ptr_a","x":[48943,48980]},{"a":48915,"t":"code","b":[240,56],"m":"beq","oa":48973,"o":"b_BF4D"},{"a":48917,"t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi"},{"a":48919,"t":"code","b":[205,69,189],"m":"cmp","oa":48453,"o":"code_lock_next_digit"},{"a":48922,"t":"code","b":[208,2],"m":"bne","oa":48926,"o":"b_BF1E"},{"a":48924,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":48926,"l":"b_BF1E","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[48922]},{"a":48928,"t":"code","b":[144,3],"m":"bcc","oa":48933,"o":"b_BF25"},{"a":48930,"t":"code","b":[56],"m":"sec"},{"a":48931,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":48933,"l":"b_BF25","t":"code","b":[153,53,189],"m":"sta","oa":48437,"o":"code_lock_shown,y","x":[48928]},{"a":48936,"t":"code","b":[165,91],"m":"lda","oa":91,"o":"tmp_ptr_a_hi"},{"a":48938,"t":"code","b":[73,2],"m":"eor","o":"#$02"},{"a":48940,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":48942,"t":"code","b":[136],"m":"dey"},{"a":48943,"t":"code","b":[16,224],"m":"bpl","oa":48913,"o":"b_BF11"},{"a":48945,"l":"j_BF31","t":"code","b":[174,53,189],"m":"ldx","oa":48437,"o":"code_lock_shown","x":[48982]},{"a":48948,"t":"code","b":[189,100,189],"m":"lda","oa":48484,"o":"code_lock_digit_chars,x"},{"a":48951,"t":"code","b":[141,219,191],"m":"sta","oa":49115,"o":"code_lock_button_char_1"},{"a":48954,"t":"code","b":[174,54,189],"m":"ldx","oa":48438,"o":"code_lock_shown_2"},{"a":48957,"t":"code","b":[189,100,189],"m":"lda","oa":48484,"o":"code_lock_digit_chars,x"},{"a":48960,"t":"code","b":[141,220,191],"m":"sta","oa":49116,"o":"code_lock_button_char_2"},{"a":48963,"t":"code","b":[174,55,189],"m":"ldx","oa":48439,"o":"code_lock_shown_3"},{"a":48966,"t":"code","b":[189,100,189],"m":"lda","oa":48484,"o":"code_lock_digit_chars,x"},{"a":48969,"t":"code","b":[141,221,191],"m":"sta","oa":49117,"o":"code_lock_button_char_3"},{"a":48972,"t":"code","b":[96],"m":"rts"},{"a":48973,"l":"b_BF4D","t":"code","b":[173,69,189],"m":"lda","oa":48453,"o":"code_lock_next_digit","x":[48915]},{"a":48976,"t":"code","b":[153,53,189],"m":"sta","oa":48437,"o":"code_lock_shown,y"},{"a":48979,"t":"code","b":[136],"m":"dey"},{"a":48980,"t":"code","b":[16,187],"m":"bpl","oa":48913,"o":"b_BF11"},{"a":48982,"t":"code","b":[76,49,191],"m":"jmp","oa":48945,"o":"j_BF31"},{"a":48985,"l":"b_BF59","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[48871]},{"a":48987,"t":"code","b":[133,78],"m":"sta","oa":78,"o":"event_flag_4e"},{"a":48989,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":48991,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":48994,"t":"code","b":[160,13],"m":"ldy","o":"#$0D"},{"a":48996,"t":"code","b":[169,213],"m":"lda","o":"#$D5"},{"a":48998,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":49001,"l":"code_lock_new_sequence","c":"Deal a new code: position 0, seeds $BD3F, $BD40, $BD41 from frame counter $53 (reduced mod 5), then search $BD6F and copy six digits to $BD38, then show buttons ($BEEC).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[47945,48858]},{"a":49003,"t":"code","b":[141,62,189],"m":"sta","oa":48446,"o":"code_lock_position"},{"a":49006,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":49008,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":49010,"t":"code","b":[141,70,189],"m":"sta","oa":48454,"o":"code_lock_shuffle_index"},{"a":49013,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":49015,"t":"code","b":[144,3],"m":"bcc","oa":49020,"o":"b_BF7C"},{"a":49017,"t":"code","b":[56],"m":"sec"},{"a":49018,"t":"code","b":[233,5],"m":"sbc","o":"#$05"},{"a":49020,"l":"b_BF7C","t":"code","b":[141,63,189],"m":"sta","oa":48447,"o":"code_lock_seeds","x":[49015]},{"a":49023,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":49025,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":49027,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":49029,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":49031,"t":"code","b":[144,3],"m":"bcc","oa":49036,"o":"b_BF8C"},{"a":49033,"t":"code","b":[56],"m":"sec"},{"a":49034,"t":"code","b":[233,5],"m":"sbc","o":"#$05"},{"a":49036,"l":"b_BF8C","t":"code","b":[141,64,189],"m":"sta","oa":48448,"o":"code_lock_seed_2","x":[49031]},{"a":49039,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":49041,"t":"code","b":[42],"m":"rol","o":"a"},{"a":49042,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":49044,"t":"code","b":[42],"m":"rol","o":"a"},{"a":49045,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":49047,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":49049,"t":"code","b":[144,3],"m":"bcc","oa":49054,"o":"b_BF9E"},{"a":49051,"t":"code","b":[56],"m":"sec"},{"a":49052,"t":"code","b":[233,5],"m":"sbc","o":"#$05"},{"a":49054,"l":"b_BF9E","t":"code","b":[141,65,189],"m":"sta","oa":48449,"o":"code_lock_seed_3","x":[49049]},{"a":49057,"t":"code","b":[173,63,189],"m":"lda","oa":48447,"o":"code_lock_seeds"},{"a":49060,"t":"code","b":[10],"m":"asl","o":"a"},{"a":49061,"t":"code","b":[10],"m":"asl","o":"a"},{"a":49062,"t":"code","b":[10],"m":"asl","o":"a"},{"a":49063,"t":"code","b":[109,64,189],"m":"adc","oa":48448,"o":"code_lock_seed_2"},{"a":49066,"t":"code","b":[170],"m":"tax"},{"a":49067,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":49069,"t":"code","b":[140,66,189],"m":"sty","oa":48450,"o":"code_lock_occurrence"},{"a":49072,"l":"b_BFB0","t":"code","b":[138],"m":"txa","x":[49093]},{"a":49073,"l":"b_BFB1","t":"code","b":[217,111,189],"m":"cmp","oa":48495,"o":"code_lock_deck,y","x":[49079]},{"a":49076,"t":"code","b":[240,3],"m":"beq","oa":49081,"o":"b_BFB9"},{"a":49078,"t":"code","b":[200],"m":"iny"},{"a":49079,"t":"code","b":[208,248],"m":"bne","oa":49073,"o":"b_BFB1"},{"a":49081,"l":"b_BFB9","t":"code","b":[173,66,189],"m":"lda","oa":48450,"o":"code_lock_occurrence","x":[49076]},{"a":49084,"t":"code","b":[205,65,189],"m":"cmp","oa":48449,"o":"code_lock_seed_3"},{"a":49087,"t":"code","b":[240,6],"m":"beq","oa":49095,"o":"b_BFC7"},{"a":49089,"t":"code","b":[238,66,189],"m":"inc","oa":48450,"o":"code_lock_occurrence"},{"a":49092,"t":"code","b":[200],"m":"iny"},{"a":49093,"t":"code","b":[16,233],"m":"bpl","oa":49072,"o":"b_BFB0"},{"a":49095,"l":"b_BFC7","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[49087]},{"a":49097,"l":"b_BFC9","t":"code","b":[185,111,189],"m":"lda","oa":48495,"o":"code_lock_deck,y","x":[49109]},{"a":49100,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":49102,"t":"code","b":[157,56,189],"m":"sta","oa":48440,"o":"code_lock_sequence,x"},{"a":49105,"t":"code","b":[200],"m":"iny"},{"a":49106,"t":"code","b":[232],"m":"inx"},{"a":49107,"t":"code","b":[224,6],"m":"cpx","o":"#$06"},{"a":49109,"t":"code","b":[208,242],"m":"bne","oa":49097,"o":"b_BFC9"},{"a":49111,"t":"code","b":[76,236,190],"m":"jmp","oa":48876,"o":"code_lock_deal_buttons"},{"a":49114,"l":"code_lock_display","c":"Characters displayed by $C043 and on: $BFDA the clue, $BFDB-$BFDD the three buttons.","t":"byte","b":[32],"x":[48784,48794,48804,48810,49219,49272]},{"a":49115,"l":"code_lock_button_char_1","c":"Character for the left button ($BF37).","t":"byte","b":[0],"x":[48951]},{"a":49116,"l":"code_lock_button_char_2","c":"Character for the middle button ($BF40).","t":"byte","b":[0],"x":[48960]},{"a":49117,"l":"code_lock_button_char_3","c":"Character for the right button ($BF49).","t":"byte","b":[0],"x":[48969]},{"a":49118,"l":"bfef_tables","c":"Four 4-entry tables read by $BFEF-$C027 ($BFDE, $BFE2 = $45 $46 $4A $4E, $BFE6, $BFEA); their meaning belongs with the routine at $BFEF, which continues past $C000.","t":"byte","b":[1,1,1,1],"x":[49171]},{"a":49122,"l":"bfef_table_2","c":"Table read at $C00B by the routine $BFEF: $45 $46 $4A $4E (object numbers, possibly).","t":"byte","b":[69,70,74,78],"x":[49163]},{"a":49126,"l":"bfef_table_3","c":"Table read at $C027 by the routine $BFEF: four zeros.","t":"byte","b":[0,0,0,0],"x":[49191]},{"a":49130,"l":"bfef_table_4","c":"Table read at $C020 by the routine $BFEF: $BD $9C $9C $9C.","t":"byte","b":[189,156,156,156],"x":[49184]},{"a":49134,"l":"bfef_return","c":"Shared RTS for the early exits of $BFEF.","t":"code","b":[96],"m":"rts","x":[49139,49145]},{"a":49135,"l":"every8_mode3_update","c":"Main-loop subsystem, runs only when $56 = 3 and every 8th frame; loads X=3 and Y=$52 (screen buffer) and reads $8788,Y; the body continues at $C000 outside this range.","t":"code","b":[165,86],"m":"lda","oa":86,"o":"zone","x":[29826]},{"a":49137,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":49139,"t":"code","b":[208,249],"m":"bne","oa":49134,"o":"bfef_return"},{"a":49141,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":49143,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":49145,"t":"code","b":[208,243],"m":"bne","oa":49134,"o":"bfef_return"},{"a":49147,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":49149,"t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer"},{"a":49151,"t":"code","b":[185,136,135],"m":"lda","oa":34696,"o":"screen_hi_by_buffer,y"},{"a":49154,"l":"fixed_cells_draw_loop","c":"Second half of s_BFEF (the LDA $8788,Y whose operand fills $C000-$C001 starts at $BFFF). For X=3..0: map cell whose column is ($BFE2,X/$BFDE,X) minus scroll origin $24/$25 and row ($BFEA,X/$BFE6,X) minus $26/$27; if it lies in the 40x21 window, stores char $BFDA,X into the visible screen (row start from $8746/$875F, screen page $5C from $8788,$52); if not on the window's edge, also stores it into the other screen (page $60 from $878A,$52) at the position shifted by $8778,$72/$8780,$72, the pending scroll step. Keeps four fixed cells drawn on both buffers.","t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":49156,"t":"code","b":[164,82],"m":"ldy","oa":82,"o":"screen_buffer"},{"a":49158,"t":"code","b":[185,138,135],"m":"lda","oa":34698,"o":"screen_hi_other_buffer,y"},{"a":49161,"t":"code","b":[133,96],"m":"sta","oa":96,"o":"pos_x_lo"},{"a":49163,"l":"b_C00B","t":"code","b":[189,226,191],"m":"lda","oa":49122,"o":"bfef_table_2,x","x":[49278]},{"a":49166,"t":"code","b":[56],"m":"sec"},{"a":49167,"t":"code","b":[229,36],"m":"sbc","oa":36,"o":"camera_col_lo"},{"a":49169,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":49171,"t":"code","b":[189,222,191],"m":"lda","oa":49118,"o":"bfef_tables,x"},{"a":49174,"t":"code","b":[229,37],"m":"sbc","oa":37,"o":"camera_col_hi"},{"a":49176,"t":"code","b":[208,99],"m":"bne","oa":49277,"o":"b_C07D"},{"a":49178,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":49180,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":49182,"t":"code","b":[176,93],"m":"bcs","oa":49277,"o":"b_C07D"},{"a":49184,"t":"code","b":[189,234,191],"m":"lda","oa":49130,"o":"bfef_table_4,x"},{"a":49187,"t":"code","b":[56],"m":"sec"},{"a":49188,"t":"code","b":[229,38],"m":"sbc","oa":38,"o":"camera_row_lo"},{"a":49190,"t":"code","b":[168],"m":"tay"},{"a":49191,"t":"code","b":[189,230,191],"m":"lda","oa":49126,"o":"bfef_table_3,x"},{"a":49194,"t":"code","b":[229,39],"m":"sbc","oa":39,"o":"camera_row_hi"},{"a":49196,"t":"code","b":[208,79],"m":"bne","oa":49277,"o":"b_C07D"},{"a":49198,"t":"code","b":[132,104],"m":"sty","oa":104,"o":"tmp_count"},{"a":49200,"t":"code","b":[192,21],"m":"cpy","o":"#$15"},{"a":49202,"t":"code","b":[176,73],"m":"bcs","oa":49277,"o":"b_C07D"},{"a":49204,"t":"code","b":[185,70,135],"m":"lda","oa":34630,"o":"screen_row_offset_lo,y"},{"a":49207,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":49209,"t":"code","b":[185,95,135],"m":"lda","oa":34655,"o":"screen_row_offset_hi,y"},{"a":49212,"t":"code","b":[24],"m":"clc"},{"a":49213,"t":"code","b":[101,92],"m":"adc","oa":92,"o":"tmp_ptr_b"},{"a":49215,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":49217,"t":"code","b":[164,93],"m":"ldy","oa":93,"o":"tmp_ptr_b_hi"},{"a":49219,"t":"code","b":[189,218,191],"m":"lda","oa":49114,"o":"code_lock_display,x"},{"a":49222,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":49224,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":49226,"t":"code","b":[240,49],"m":"beq","oa":49277,"o":"b_C07D"},{"a":49228,"t":"code","b":[201,39],"m":"cmp","o":"#$27"},{"a":49230,"t":"code","b":[240,45],"m":"beq","oa":49277,"o":"b_C07D"},{"a":49232,"t":"code","b":[165,104],"m":"lda","oa":104,"o":"tmp_count"},{"a":49234,"t":"code","b":[240,41],"m":"beq","oa":49277,"o":"b_C07D"},{"a":49236,"t":"code","b":[201,21],"m":"cmp","o":"#$15"},{"a":49238,"t":"code","b":[240,37],"m":"beq","oa":49277,"o":"b_C07D"},{"a":49240,"t":"code","b":[164,114],"m":"ldy","oa":114,"o":"scroll_direction"},{"a":49242,"t":"code","b":[165,93],"m":"lda","oa":93,"o":"tmp_ptr_b_hi"},{"a":49244,"t":"code","b":[24],"m":"clc"},{"a":49245,"t":"code","b":[121,120,135],"m":"adc","oa":34680,"o":"scroll_dir_dx,y"},{"a":49248,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":49250,"t":"code","b":[165,104],"m":"lda","oa":104,"o":"tmp_count"},{"a":49252,"t":"code","b":[24],"m":"clc"},{"a":49253,"t":"code","b":[121,128,135],"m":"adc","oa":34688,"o":"scroll_dir_dy,y"},{"a":49256,"t":"code","b":[168],"m":"tay"},{"a":49257,"t":"code","b":[185,70,135],"m":"lda","oa":34630,"o":"screen_row_offset_lo,y"},{"a":49260,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":49262,"t":"code","b":[185,95,135],"m":"lda","oa":34655,"o":"screen_row_offset_hi,y"},{"a":49265,"t":"code","b":[24],"m":"clc"},{"a":49266,"t":"code","b":[101,96],"m":"adc","oa":96,"o":"pos_x_lo"},{"a":49268,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":49270,"t":"code","b":[164,93],"m":"ldy","oa":93,"o":"tmp_ptr_b_hi"},{"a":49272,"t":"code","b":[189,218,191],"m":"lda","oa":49114,"o":"code_lock_display,x"},{"a":49275,"t":"code","b":[145,90],"m":"sta","oa":90,"o":"(tmp_ptr_a),y"},{"a":49277,"l":"b_C07D","t":"code","b":[202],"m":"dex","x":[49176,49182,49196,49202,49226,49230,49234,49238]},{"a":49278,"t":"code","b":[16,139],"m":"bpl","oa":49163,"o":"b_C00B"},{"a":49280,"t":"code","b":[96],"m":"rts"},{"a":49281,"l":"fuse_object_ids","c":"Four object slots handled by fuse_update: $3D, $3C, $48, $4C (read as X by $C0C6; also read at $936F). $3D is special-cased (blast radius $80, only it can trigger the level rise or the tile change in blast_damage).","t":"byte","b":[61,60,72,76],"x":[37743,49350]},{"a":49285,"l":"blast_radius","c":"Blast radius in pixels on X used by blast_damage: set to $20 by fuse_tick, or $80 when the object is $3D. Y radius is fixed at $20.","t":"byte","b":[0],"x":[49598,49607,49626]},{"a":49286,"l":"fuse_countdown","c":"Per fuse slot (index Y 0-3, objects fuse_object_ids): $FF idle; set to $0F when a fuse burns out, then counted down once per call by blast_countdown_step; at 8 the blast damages, at 0 the object is retired. Also read at $9379.","t":"byte","b":[255,255,255,255],"x":[37753,49353,49382,49396,49404,49502,49582]},{"a":49290,"l":"fuse_frame_on","c":"Sprite frame per fuse slot shown while the fuse burns, on frames where $53 AND fuse_flash_mask is non-zero ($87, $CA, $CA, $CA).","t":"byte","b":[135,202,202,202],"x":[49520]},{"a":49294,"l":"fuse_frame_off","c":"Sprite frame per fuse slot on the other flash phase ($89, $40, $40, $40).","t":"byte","b":[137,64,64,64],"x":[49529]},{"a":49298,"l":"fuse_flash_mask","c":"Frame-counter mask per fuse slot choosing the flash rate of the burning object ($02, $04, $04, $04).","t":"byte","b":[2,4,4,4],"x":[49515]},{"a":49302,"l":"fuse_sound","c":"Sound effect number per fuse slot started when the fuse burns out ($0C, $0B, $0B, $0B), via sound_start.","t":"byte","b":[12,11,11,11],"x":[49587]},{"a":49306,"l":"fuse_update","c":"Main-loop subsystem. If the rising level $51 is non-zero: starts sound 3 and every 128 frames increments $51; if $51 then exceeds the Doctor's Y/8 ($1C60:$1C10 >> 3) sets $E8=8 (death cause 4). Then for fuse slots 3..1: a slot counting down (fuse_countdown bit 7 clear) runs blast_countdown_step; else an object whose $1CB0 is non-zero runs fuse_tick; only the first active slot is serviced. Finally slot 0 (object $3D) likewise.","t":"code","b":[165,81],"m":"lda","oa":81,"o":"hazard_timer","x":[29867]},{"a":49308,"t":"code","b":[240,38],"m":"beq","oa":49348,"o":"b_C0C4"},{"a":49310,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":49312,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":49315,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":49317,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":49319,"t":"code","b":[208,27],"m":"bne","oa":49348,"o":"b_C0C4"},{"a":49321,"t":"code","b":[230,81],"m":"inc","oa":81,"o":"hazard_timer"},{"a":49323,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":49326,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":49328,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":49331,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":49333,"t":"code","b":[106],"m":"ror","o":"a"},{"a":49334,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":49336,"t":"code","b":[106],"m":"ror","o":"a"},{"a":49337,"t":"code","b":[70,90],"m":"lsr","oa":90,"o":"tmp_ptr_a"},{"a":49339,"t":"code","b":[106],"m":"ror","o":"a"},{"a":49340,"t":"code","b":[197,81],"m":"cmp","oa":81,"o":"hazard_timer"},{"a":49342,"t":"code","b":[176,4],"m":"bcs","oa":49348,"o":"b_C0C4"},{"a":49344,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":49346,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":49348,"l":"b_C0C4","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[49308,49319,49342]},{"a":49350,"l":"b_C0C6","t":"code","b":[190,129,192],"m":"ldx","oa":49281,"o":"fuse_object_ids,y","x":[49376]},{"a":49353,"t":"code","b":[185,134,192],"m":"lda","oa":49286,"o":"fuse_countdown,y"},{"a":49356,"t":"code","b":[48,6],"m":"bmi","oa":49364,"o":"b_C0D4"},{"a":49358,"t":"code","b":[32,244,192],"m":"jsr","oa":49396,"o":"blast_countdown_step"},{"a":49361,"t":"code","b":[76,226,192],"m":"jmp","oa":49378,"o":"j_C0E2"},{"a":49364,"l":"b_C0D4","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[49356]},{"a":49367,"t":"code","b":[240,6],"m":"beq","oa":49375,"o":"b_C0DF"},{"a":49369,"t":"code","b":[32,130,193],"m":"jsr","oa":49538,"o":"fuse_tick"},{"a":49372,"t":"code","b":[76,226,192],"m":"jmp","oa":49378,"o":"j_C0E2"},{"a":49375,"l":"b_C0DF","t":"code","b":[136],"m":"dey","x":[49367]},{"a":49376,"t":"code","b":[208,228],"m":"bne","oa":49350,"o":"b_C0C6"},{"a":49378,"l":"j_C0E2","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[49361,49372]},{"a":49380,"t":"code","b":[162,61],"m":"ldx","o":"#$3D"},{"a":49382,"t":"code","b":[185,134,192],"m":"lda","oa":49286,"o":"fuse_countdown,y"},{"a":49385,"t":"code","b":[16,9],"m":"bpl","oa":49396,"o":"blast_countdown_step"},{"a":49387,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":49390,"t":"code","b":[240,3],"m":"beq","oa":49395,"o":"r_C0F3"},{"a":49392,"t":"code","b":[76,130,193],"m":"jmp","oa":49538,"o":"fuse_tick"},{"a":49395,"l":"r_C0F3","t":"code","b":[96],"m":"rts","x":[49390,49487]},{"a":49396,"l":"blast_countdown_step","c":"Fuse slot Y, object X. Decrements fuse_countdown,Y; at 8 calls blast_damage. Copies the object's position to object $2B and draws it (JMP $81DA with X=$2B): the explosion sprite. At 0: an object in mode ($1B20) 2 clears $1D80 (the Doctor's held object); mode 0 with $83 free posts X to $82 with $83=1; other modes remove it from the pocket list $3D-$42 via $A656. Then sets mode 4 and the slot idle ($FF).","t":"code","b":[185,134,192],"m":"lda","oa":49286,"o":"fuse_countdown,y","x":[49358,49385]},{"a":49399,"t":"code","b":[240,42],"m":"beq","oa":49443,"o":"b_C123"},{"a":49401,"t":"code","b":[56],"m":"sec"},{"a":49402,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":49404,"t":"code","b":[153,134,192],"m":"sta","oa":49286,"o":"fuse_countdown,y"},{"a":49407,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":49409,"t":"code","b":[208,3],"m":"bne","oa":49414,"o":"b_C106"},{"a":49411,"t":"code","b":[32,203,193],"m":"jsr","oa":49611,"o":"blast_damage"},{"a":49414,"l":"b_C106","t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x","x":[49409]},{"a":49417,"t":"code","b":[141,235,27],"m":"sta","oa":7147,"o":"obj_x_hi_2b"},{"a":49420,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":49423,"t":"code","b":[141,155,27],"m":"sta","oa":7067,"o":"obj_x_lo_2b"},{"a":49426,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":49429,"t":"code","b":[141,139,28],"m":"sta","oa":7307,"o":"obj_y_hi_2b"},{"a":49432,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":49435,"t":"code","b":[141,59,28],"m":"sta","oa":7227,"o":"obj_y_lo_2b"},{"a":49438,"t":"code","b":[162,43],"m":"ldx","o":"#$2B"},{"a":49440,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":49443,"l":"b_C123","t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x","x":[49399]},{"a":49446,"t":"code","b":[240,37],"m":"beq","oa":49485,"o":"b_C14D"},{"a":49448,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":49450,"t":"code","b":[208,7],"m":"bne","oa":49459,"o":"b_C133"},{"a":49452,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":49454,"t":"code","b":[141,128,29],"m":"sta","oa":7552,"o":"obj_holding"},{"a":49457,"t":"code","b":[240,36],"m":"beq","oa":49495,"o":"b_C157"},{"a":49459,"l":"b_C133","t":"code","b":[152],"m":"tya","x":[49450]},{"a":49460,"t":"code","b":[72],"m":"pha"},{"a":49461,"t":"code","b":[138],"m":"txa"},{"a":49462,"t":"code","b":[72],"m":"pha"},{"a":49463,"t":"code","b":[168],"m":"tay"},{"a":49464,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":49466,"l":"b_C13A","t":"code","b":[213,61],"m":"cmp","oa":61,"o":"pockets,x","x":[49471]},{"a":49468,"t":"code","b":[240,5],"m":"beq","oa":49475,"o":"b_C143"},{"a":49470,"t":"code","b":[202],"m":"dex"},{"a":49471,"t":"code","b":[16,249],"m":"bpl","oa":49466,"o":"b_C13A"},{"a":49473,"t":"code","b":[48,3],"m":"bmi","oa":49478,"o":"b_C146"},{"a":49475,"l":"b_C143","t":"code","b":[32,86,166],"m":"jsr","oa":42582,"o":"pocket_clear_box","x":[49468]},{"a":49478,"l":"b_C146","t":"code","b":[104],"m":"pla","x":[49473]},{"a":49479,"t":"code","b":[170],"m":"tax"},{"a":49480,"t":"code","b":[104],"m":"pla"},{"a":49481,"t":"code","b":[168],"m":"tay"},{"a":49482,"t":"code","b":[76,87,193],"m":"jmp","oa":49495,"o":"b_C157"},{"a":49485,"l":"b_C14D","t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state","x":[49446]},{"a":49487,"t":"code","b":[208,162],"m":"bne","oa":49395,"o":"r_C0F3"},{"a":49489,"t":"code","b":[134,130],"m":"stx","oa":130,"o":"overlay_obj"},{"a":49491,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":49493,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":49495,"l":"b_C157","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[49457,49482]},{"a":49497,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":49500,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":49502,"t":"code","b":[153,134,192],"m":"sta","oa":49286,"o":"fuse_countdown,y"},{"a":49505,"l":"r_C161","t":"code","b":[96],"m":"rts","x":[49511]},{"a":49506,"l":"fuse_flash_frame","c":"While the fuse object X (mode not 4) burns: picks fuse_frame_on or fuse_frame_off by $53 AND fuse_flash_mask,Y into $1D30,X and draws it via $81DA.","t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x","x":[49542,49547]},{"a":49509,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":49511,"t":"code","b":[240,248],"m":"beq","oa":49505,"o":"r_C161"},{"a":49513,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":49515,"t":"code","b":[57,146,192],"m":"and","oa":49298,"o":"fuse_flash_mask,y"},{"a":49518,"t":"code","b":[240,9],"m":"beq","oa":49529,"o":"b_C179"},{"a":49520,"t":"code","b":[185,138,192],"m":"lda","oa":49290,"o":"fuse_frame_on,y"},{"a":49523,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":49526,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":49529,"l":"b_C179","t":"code","b":[185,142,192],"m":"lda","oa":49294,"o":"fuse_frame_off,y","x":[49518]},{"a":49532,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":49535,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":49538,"l":"fuse_tick","c":"Fuse slot Y, object X with $1CB0,X > 0 (the fuse time). Every other frame decrements $1CB0,X; while non-zero shows the flashing frame. At zero: if the object is in mode 4 it takes the Doctor's position; starts the slot's countdown ($0F) and its sound (fuse_sound); sets blast_radius $20, or $80 for object $3D.","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[49369,49392]},{"a":49540,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":49542,"t":"code","b":[208,218],"m":"bne","oa":49506,"o":"fuse_flash_frame"},{"a":49544,"t":"code","b":[222,176,28],"m":"dec","oa":7344,"o":"obj_flags,x"},{"a":49547,"t":"code","b":[208,213],"m":"bne","oa":49506,"o":"fuse_flash_frame"},{"a":49549,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":49552,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":49554,"t":"code","b":[208,24],"m":"bne","oa":49580,"o":"b_C1AC"},{"a":49556,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":49559,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":49562,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":49565,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":49568,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":49571,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":49574,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":49577,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":49580,"l":"b_C1AC","t":"code","b":[169,15],"m":"lda","o":"#$0F","x":[49554]},{"a":49582,"t":"code","b":[153,134,192],"m":"sta","oa":49286,"o":"fuse_countdown,y"},{"a":49585,"t":"code","b":[152],"m":"tya"},{"a":49586,"t":"code","b":[72],"m":"pha"},{"a":49587,"t":"code","b":[185,150,192],"m":"lda","oa":49302,"o":"fuse_sound,y"},{"a":49590,"t":"code","b":[168],"m":"tay"},{"a":49591,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":49594,"t":"code","b":[104],"m":"pla"},{"a":49595,"t":"code","b":[168],"m":"tay"},{"a":49596,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":49598,"t":"code","b":[141,133,192],"m":"sta","oa":49285,"o":"blast_radius"},{"a":49601,"t":"code","b":[224,61],"m":"cpx","o":"#$3D"},{"a":49603,"t":"code","b":[208,5],"m":"bne","oa":49610,"o":"r_C1CA"},{"a":49605,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":49607,"t":"code","b":[141,133,192],"m":"sta","oa":49285,"o":"blast_radius"},{"a":49610,"l":"r_C1CA","t":"code","b":[96],"m":"rts","x":[49603]},{"a":49611,"l":"blast_damage","c":"Object X explodes. Every object Y=$2F..0 within blast_radius on X and $20 on Y (via $AC67 distance) gets $1CB0,Y=$14 (destroyed). If that hit the Doctor (object 0): $E8=6 (THE EXPLOSION) and his $1CB0 is cleared. Else if X=$3D and it lies within $20x$10 of point ($0E60,$0068): $51=1 starts the rising level. Otherwise if within $20x$20 of point ($0BE0,$0588): sound 8 and $AE02 with Y=$0B, A=$FF (a map change).","t":"code","b":[160,47],"m":"ldy","o":"#$2F","x":[49411]},{"a":49613,"l":"b_C1CD","t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between","x":[49643]},{"a":49616,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":49618,"t":"code","b":[208,22],"m":"bne","oa":49642,"o":"b_C1EA"},{"a":49620,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":49622,"t":"code","b":[208,18],"m":"bne","oa":49642,"o":"b_C1EA"},{"a":49624,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":49626,"t":"code","b":[205,133,192],"m":"cmp","oa":49285,"o":"blast_radius"},{"a":49629,"t":"code","b":[176,11],"m":"bcs","oa":49642,"o":"b_C1EA"},{"a":49631,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":49633,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":49635,"t":"code","b":[176,5],"m":"bcs","oa":49642,"o":"b_C1EA"},{"a":49637,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":49639,"t":"code","b":[153,176,28],"m":"sta","oa":7344,"o":"obj_flags,y"},{"a":49642,"l":"b_C1EA","t":"code","b":[136],"m":"dey","x":[49618,49622,49629,49635]},{"a":49643,"t":"code","b":[16,224],"m":"bpl","oa":49613,"o":"b_C1CD"},{"a":49645,"t":"code","b":[173,176,28],"m":"lda","oa":7344,"o":"obj_flags"},{"a":49648,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":49650,"t":"code","b":[208,10],"m":"bne","oa":49662,"o":"b_C1FE"},{"a":49652,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":49654,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":49656,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":49658,"t":"code","b":[141,176,28],"m":"sta","oa":7344,"o":"obj_flags"},{"a":49661,"t":"code","b":[96],"m":"rts"},{"a":49662,"l":"b_C1FE","t":"code","b":[224,61],"m":"cpx","o":"#$3D","x":[49650]},{"a":49664,"t":"code","b":[208,44],"m":"bne","oa":49710,"o":"b_C22E"},{"a":49666,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":49668,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":49670,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":49672,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":49674,"t":"code","b":[169,104],"m":"lda","o":"#$68"},{"a":49676,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":49678,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":49680,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":49682,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":49685,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":49687,"t":"code","b":[208,21],"m":"bne","oa":49710,"o":"b_C22E"},{"a":49689,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":49691,"t":"code","b":[208,17],"m":"bne","oa":49710,"o":"b_C22E"},{"a":49693,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":49695,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":49697,"t":"code","b":[176,11],"m":"bcs","oa":49710,"o":"b_C22E"},{"a":49699,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":49701,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":49703,"t":"code","b":[176,5],"m":"bcs","oa":49710,"o":"b_C22E"},{"a":49705,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":49707,"t":"code","b":[133,81],"m":"sta","oa":81,"o":"hazard_timer"},{"a":49709,"l":"r_C22D","t":"code","b":[96],"m":"rts","x":[49731,49735,49741,49747]},{"a":49710,"l":"b_C22E","t":"code","b":[169,224],"m":"lda","o":"#$E0","x":[49664,49687,49691,49697,49703]},{"a":49712,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":49714,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":49716,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":49718,"t":"code","b":[169,136],"m":"lda","o":"#$88"},{"a":49720,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":49722,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":49724,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":49726,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":49729,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":49731,"t":"code","b":[208,232],"m":"bne","oa":49709,"o":"r_C22D"},{"a":49733,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":49735,"t":"code","b":[208,228],"m":"bne","oa":49709,"o":"r_C22D"},{"a":49737,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":49739,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":49741,"t":"code","b":[176,222],"m":"bcs","oa":49709,"o":"r_C22D"},{"a":49743,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":49745,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":49747,"t":"code","b":[176,216],"m":"bcs","oa":49709,"o":"r_C22D"},{"a":49749,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":49751,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":49754,"t":"code","b":[160,11],"m":"ldy","o":"#$0B"},{"a":49756,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":49758,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":49761,"l":"trio_route_x_lo","c":"Seven waypoints walked by objects 3-5 in states 0-6 (read at $C2CC by the state number): X low. Then trio_route_x_hi, trio_route_y_lo, trio_route_y_hi, 7 bytes each.","t":"byte","b":[232,136,192,144,64,136,240],"x":[49868]},{"a":49768,"l":"trio_route_x_hi","c":"Waypoints 0-6 for objects 3-5: X high byte.","t":"byte","b":[0,2,5,7,6,2,0],"x":[49873]},{"a":49775,"l":"trio_route_y_lo","c":"Waypoints 0-6 for objects 3-5: Y low byte.","t":"byte","b":[128,136,136,200,200,136,128],"x":[49878]},{"a":49782,"l":"trio_route_y_hi","c":"Waypoints 0-6 for objects 3-5: Y high byte ($C276-$C27C; the code reads it from auto label f_C276).","t":"byte","b":[0,1,1,1],"x":[49883]},{"a":49786,"l":"f_C27A","c":"Last three bytes of trio_route_y_hi (waypoints 4-6). Auto label f_C27A is only the base of an X-indexed read (X=3..5 reads $C27D-$C27F).","t":"byte","b":[1,1,0],"x":[50035]},{"a":49789,"l":"trio_home_x_lo","c":"Home point of objects 3, 4, 5 (read as $C27A,X): X low $20, $90, $90. Next tables: X high ($C280), Y low ($C283), Y high ($C286), one byte per object.","t":"byte","b":[32,144,144],"x":[50040]},{"a":49792,"l":"trio_home_x_hi","c":"Home point X high byte for objects 3-5 (read as $C27D,X).","t":"byte","b":[1,1,1],"x":[50045]},{"a":49795,"l":"trio_home_y_lo","c":"Home point Y low byte for objects 3-5 (read as $C280,X).","t":"byte","b":[96,96,96],"x":[50050]},{"a":49798,"l":"trio_home_y_hi","c":"Home point Y high byte for objects 3-5 (read as $C283,X): $C286-$C288.","t":"byte","b":[0],"x":[49930,50068]},{"a":49799,"l":"f_C287","c":"Middle of trio_partner: base of the $C287,X read (X=3..5 -> $C28A-$C28C, the previous partner).","t":"byte","b":[0,0],"x":[50156]},{"a":49801,"l":"trio_partner","c":"Partner object of objects 3,4,5 read as $C286,X: $04, $05, $03 (the next one round). Read as $C287,X it gives $05, $03, $04 (the previous one); $C28C is only reached that way.","t":"byte","b":[4,5,3,4]},{"a":49805,"l":"r_C28D","c":"Shared RTS for trio_think when an object is inactive or destroyed.","t":"code","b":[96],"m":"rts","x":[49821,49825]},{"a":49806,"l":"trio_update","c":"Main-loop subsystem: runs trio_think for objects 3, 4 and 5.","t":"code","b":[162,3],"m":"ldx","o":"#$03","x":[29858]},{"a":49808,"t":"code","b":[32,154,194],"m":"jsr","oa":49818,"o":"trio_think"},{"a":49811,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":49813,"t":"code","b":[32,154,194],"m":"jsr","oa":49818,"o":"trio_think"},{"a":49816,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":49818,"l":"trio_think","c":"One of objects 3-5 (X). Skipped when $1CB0,X is negative or $14 (destroyed). $A46E: Y=$FF waits, Y=1 keeps moving ($A4A4), Y=0 (on the grid, its turn) decides: states 0-6 walk waypoints trio_route_* (reaching one advances the state; reaching 3 jumps to state $0C); states 7, 9, $0C dispatch through trio_state_dispatch.","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[49808,49813]},{"a":49821,"t":"code","b":[48,238],"m":"bmi","oa":49805,"o":"r_C28D"},{"a":49823,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":49825,"t":"code","b":[240,234],"m":"beq","oa":49805,"o":"r_C28D"},{"a":49827,"t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due"},{"a":49830,"t":"code","b":[152],"m":"tya"},{"a":49831,"t":"code","b":[240,11],"m":"beq","oa":49844,"o":"b_C2B4"},{"a":49833,"t":"code","b":[16,3],"m":"bpl","oa":49838,"o":"b_C2AE"},{"a":49835,"t":"code","b":[76,241,197],"m":"jmp","oa":50673,"o":"object_pick_frame"},{"a":49838,"l":"b_C2AE","t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel","x":[49833]},{"a":49841,"t":"code","b":[76,241,197],"m":"jmp","oa":50673,"o":"object_pick_frame"},{"a":49844,"l":"b_C2B4","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[49831,49924]},{"a":49847,"t":"code","b":[56],"m":"sec"},{"a":49848,"t":"code","b":[233,7],"m":"sbc","o":"#$07"},{"a":49850,"t":"code","b":[48,13],"m":"bmi","oa":49865,"o":"b_C2C9"},{"a":49852,"t":"code","b":[141,192,194],"m":"sta","oa":49856,"o":"trio_branch_offset"},{"a":49855,"l":"trio_state_dispatch","c":"Self-modified branch: $C2BC stores state-7 into this BPL's offset, so state 7 goes to $C2C1 (-> $C30A), 9 to $C2C3 (-> trio_go_home), $0C to $C2C6 (-> trio_state_c). Other values land mid-instruction.","t":"code","b":[16,254],"m":"bpl","oa":49855,"o":"trio_state_dispatch","x":[49855]},{"a":49856,"t":"note","l":"trio_branch_offset","c":"Operand of the self-modified BPL at $C2BF, written at $C2BC with state-7 of objects 3-5; code following is the waypoint walk and the state 7/9/$0C handlers of trio_think.","note":"inside the item at $C2BF","x":[49852]},{"a":49857,"t":"code","b":[16,71],"m":"bpl","oa":49930,"o":"trio_state7_seek_obj34"},{"a":49859,"t":"code","b":[76,115,195],"m":"jmp","oa":50035,"o":"trio_go_home"},{"a":49862,"t":"code","b":[76,231,195],"m":"jmp","oa":50151,"o":"trio_state_c"},{"a":49865,"l":"b_C2C9","t":"code","b":[188,176,28],"m":"ldy","oa":7344,"o":"obj_flags,x","x":[49850]},{"a":49868,"t":"code","b":[185,97,194],"m":"lda","oa":49761,"o":"trio_route_x_lo,y"},{"a":49871,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":49873,"t":"code","b":[185,104,194],"m":"lda","oa":49768,"o":"trio_route_x_hi,y"},{"a":49876,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":49878,"t":"code","b":[185,111,194],"m":"lda","oa":49775,"o":"trio_route_y_lo,y"},{"a":49881,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":49883,"t":"code","b":[185,118,194],"m":"lda","oa":49782,"o":"trio_route_y_hi,y"},{"a":49886,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":49888,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":49891,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":49893,"t":"code","b":[208,32],"m":"bne","oa":49927,"o":"b_C307"},{"a":49895,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":49897,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":49899,"t":"code","b":[176,26],"m":"bcs","oa":49927,"o":"b_C307"},{"a":49901,"t":"code","b":[192,3],"m":"cpy","o":"#$03"},{"a":49903,"t":"code","b":[208,8],"m":"bne","oa":49913,"o":"b_C2F9"},{"a":49905,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":49907,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":49910,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":49913,"l":"b_C2F9","t":"code","b":[254,176,28],"m":"inc","oa":7344,"o":"obj_flags,x","x":[49903]},{"a":49916,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":49918,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":49921,"t":"code","b":[157,96,30],"m":"sta","oa":7776,"o":"chase_timer,x"},{"a":49924,"t":"code","b":[76,180,194],"m":"jmp","oa":49844,"o":"b_C2B4"},{"a":49927,"l":"b_C307","t":"code","b":[76,15,197],"m":"jmp","oa":50447,"o":"object_move_step","x":[49893,49899]},{"a":49930,"l":"trio_state7_seek_obj34","c":"State 7: unless the partner is in state 9, looks for object $34 (not in mode 4, not held by $1D80/$1D82, $1BF4 < 2, $1C94 = 0 or 1 with $1C44 < $80); if within $0A x $0A it takes it (object $34 mode 2, $1D80,X = $34, posts to $82/$83 if free). Always ends in state 9, or moves toward it via object_move_step.","t":"code","b":[188,134,194],"m":"ldy","oa":49798,"o":"trio_home_y_hi,x","x":[49857]},{"a":49933,"t":"code","b":[185,176,28],"m":"lda","oa":7344,"o":"obj_flags,y"},{"a":49936,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":49938,"t":"code","b":[240,89],"m":"beq","oa":50029,"o":"b_C36D"},{"a":49940,"t":"code","b":[160,52],"m":"ldy","o":"#$34"},{"a":49942,"t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y"},{"a":49945,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":49947,"t":"code","b":[240,75],"m":"beq","oa":50024,"o":"b_C368"},{"a":49949,"t":"code","b":[204,128,29],"m":"cpy","oa":7552,"o":"obj_holding"},{"a":49952,"t":"code","b":[240,70],"m":"beq","oa":50024,"o":"b_C368"},{"a":49954,"t":"code","b":[204,130,29],"m":"cpy","oa":7554,"o":"splinx_holding"},{"a":49957,"t":"code","b":[240,65],"m":"beq","oa":50024,"o":"b_C368"},{"a":49959,"t":"code","b":[173,244,27],"m":"lda","oa":7156,"o":"obj_x_hi_34"},{"a":49962,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":49964,"t":"code","b":[16,58],"m":"bpl","oa":50024,"o":"b_C368"},{"a":49966,"t":"code","b":[173,148,28],"m":"lda","oa":7316,"o":"obj_y_hi_34"},{"a":49969,"t":"code","b":[240,11],"m":"beq","oa":49982,"o":"b_C33E"},{"a":49971,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":49973,"t":"code","b":[208,49],"m":"bne","oa":50024,"o":"b_C368"},{"a":49975,"t":"code","b":[173,68,28],"m":"lda","oa":7236,"o":"obj_y_lo_34"},{"a":49978,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":49980,"t":"code","b":[176,42],"m":"bcs","oa":50024,"o":"b_C368"},{"a":49982,"l":"b_C33E","t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between","x":[49969]},{"a":49985,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":49987,"t":"code","b":[208,43],"m":"bne","oa":50032,"o":"b_C370"},{"a":49989,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":49991,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":49993,"t":"code","b":[176,37],"m":"bcs","oa":50032,"o":"b_C370"},{"a":49995,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":49997,"t":"code","b":[208,33],"m":"bne","oa":50032,"o":"b_C370"},{"a":49999,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":50001,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":50003,"t":"code","b":[176,27],"m":"bcs","oa":50032,"o":"b_C370"},{"a":50005,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":50007,"t":"code","b":[208,20],"m":"bne","oa":50029,"o":"b_C36D"},{"a":50009,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":50011,"t":"code","b":[141,84,27],"m":"sta","oa":6996,"o":"obj_state_34"},{"a":50014,"t":"code","b":[152],"m":"tya"},{"a":50015,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":50018,"t":"code","b":[132,130],"m":"sty","oa":130,"o":"overlay_obj"},{"a":50020,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":50022,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":50024,"l":"b_C368","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[49947,49952,49957,49964,49973,49980]},{"a":50026,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":50029,"l":"b_C36D","t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object","x":[49938,50007]},{"a":50032,"l":"b_C370","t":"code","b":[76,15,197],"m":"jmp","oa":50447,"o":"object_move_step","x":[49987,49993,49997,50003]},{"a":50035,"l":"trio_go_home","c":"State 9: walks to the object's home point (trio_home_*). On arrival: if the partner is in state $0C, hands over what it carries (object $34 gets this position, $82/$83 posted, $1D80,X=$0D) and resets to state 0; otherwise sets mode 0.","t":"code","b":[189,122,194],"m":"lda","oa":49786,"o":"f_C27A,x","x":[49859]},{"a":50038,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":50040,"t":"code","b":[189,125,194],"m":"lda","oa":49789,"o":"trio_home_x_lo,x"},{"a":50043,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":50045,"t":"code","b":[189,128,194],"m":"lda","oa":49792,"o":"trio_home_x_hi,x"},{"a":50048,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":50050,"t":"code","b":[189,131,194],"m":"lda","oa":49795,"o":"trio_home_y_lo,x"},{"a":50053,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":50055,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":50058,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":50060,"t":"code","b":[208,24],"m":"bne","oa":50086,"o":"b_C3A6"},{"a":50062,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":50064,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":50066,"t":"code","b":[176,18],"m":"bcs","oa":50086,"o":"b_C3A6"},{"a":50068,"t":"code","b":[188,134,194],"m":"ldy","oa":49798,"o":"trio_home_y_hi,x"},{"a":50071,"t":"code","b":[185,176,28],"m":"lda","oa":7344,"o":"obj_flags,y"},{"a":50074,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":50076,"t":"code","b":[240,11],"m":"beq","oa":50089,"o":"b_C3A9"},{"a":50078,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50080,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":50083,"t":"code","b":[76,241,197],"m":"jmp","oa":50673,"o":"object_pick_frame"},{"a":50086,"l":"b_C3A6","t":"code","b":[76,15,197],"m":"jmp","oa":50447,"o":"object_move_step","x":[50060,50066]},{"a":50089,"l":"b_C3A9","t":"code","b":[188,128,29],"m":"ldy","oa":7552,"o":"obj_holding,x","x":[50076]},{"a":50092,"t":"code","b":[192,52],"m":"cpy","o":"#$34"},{"a":50094,"t":"code","b":[208,39],"m":"bne","oa":50135,"o":"b_C3D7"},{"a":50096,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":50099,"t":"code","b":[153,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,y"},{"a":50102,"t":"code","b":[189,192,27],"m":"lda","oa":7104,"o":"obj_x_hi,x"},{"a":50105,"t":"code","b":[153,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,y"},{"a":50108,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":50111,"t":"code","b":[153,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,y"},{"a":50114,"t":"code","b":[189,96,28],"m":"lda","oa":7264,"o":"obj_y_hi,x"},{"a":50117,"t":"code","b":[153,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,y"},{"a":50120,"t":"code","b":[165,131],"m":"lda","oa":131,"o":"overlay_state"},{"a":50122,"t":"code","b":[208,24],"m":"bne","oa":50148,"o":"b_C3E4"},{"a":50124,"t":"code","b":[132,130],"m":"sty","oa":130,"o":"overlay_obj"},{"a":50126,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":50128,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"overlay_state"},{"a":50130,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50132,"t":"code","b":[153,32,27],"m":"sta","oa":6944,"o":"obj_state,y"},{"a":50135,"l":"b_C3D7","t":"code","b":[169,13],"m":"lda","o":"#$0D","x":[50094]},{"a":50137,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":50140,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50142,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":50145,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":50148,"l":"b_C3E4","t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object","x":[50122]},{"a":50151,"l":"trio_state_c","c":"State $0C (reached only through trio_state_dispatch, $C2C6): clears $1D80,X; if the previous partner ($C287,X) has state 0, sets state 4; otherwise sets mode ($1B20,X) 0. Draws via $81DA.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[49862]},{"a":50153,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":50156,"t":"code","b":[188,135,194],"m":"ldy","oa":49799,"o":"f_C287,x"},{"a":50159,"t":"code","b":[185,176,28],"m":"lda","oa":7344,"o":"obj_flags,y"},{"a":50162,"t":"code","b":[208,8],"m":"bne","oa":50172,"o":"b_C3FC"},{"a":50164,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":50166,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":50169,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":50172,"l":"b_C3FC","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[50162]},{"a":50174,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":50177,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":50180,"l":"patrol_routes","c":"Waypoint lists for objects 6-9, 4-byte records X hi, X lo, Y hi, Y lo; a first byte >= $80 is a one-byte marker: $FF sets $1D80,X=0, $80 sets it to 2 (objects 6,7) or 1 (8,9), chosen by patrol_think. Object 6 at $C404 (last index $16), 7 at $C41E ($0A), 8 at $C42C ($06), 9 at $C436 ($06).","t":"byte","b":[2,88,5,168,255,2,104,5]},{"a":50188,"t":"byte","b":[200,1,176,6,8,2,224,6]},{"a":50196,"t":"byte","b":[72,128,1,176,6,8,2,104]},{"a":50204,"t":"byte","b":[5,200,255,2,168,5,195,4]},{"a":50212,"t":"byte","b":[96,6,8,128,2,184,5,168]},{"a":50220,"t":"byte","b":[255,4,176,5,8,128,2,72]},{"a":50228,"t":"byte","b":[4,200,128,2,72,4]},{"a":50234,"l":"f_C43A","c":"Tail of patrol_routes (object 9's list, $C436-$C43F). Auto label f_C43A is only the base of an X-indexed read ($C43A,X with X=6..9 reads patrol_route_lo).","t":"byte","b":[200,255,4,176],"x":[50304]},{"a":50238,"l":"f_C43E","c":"Last two bytes of patrol_routes. Auto label f_C43E is the base of an indexed read that lands on patrol_route_hi.","t":"byte","b":[5,0],"x":[50299]},{"a":50240,"l":"patrol_route_lo","c":"Low bytes of the waypoint list address for objects 6-9 ($04,$1E,$2C,$36 -> $C404,$C41E,$C42C,$C436); read as $C43A,X.","t":"byte","b":[4,30]},{"a":50242,"l":"f_C442","c":"Base of the $C442,X read (X=6..9) that lands on patrol_last_index; these two bytes are the high bytes of the route pointers for objects 6 and 7 read as patrol_route_hi.","t":"byte","b":[44,54],"x":[50356]},{"a":50244,"l":"patrol_route_hi","c":"High bytes ($C4) of the waypoint list address for objects 6-9; read as $C43E,X.","t":"byte","b":[196,196,196,196]},{"a":50248,"l":"patrol_last_index","c":"Index of the last waypoint per object 6-9 ($16,$0A,$06,$06); reaching it wraps the index to 0. Read as $C442,X.","t":"byte","b":[22,10,6,6]},{"a":50252,"l":"r_C44C","c":"Shared RTS for patrol_think when an object is inactive or destroyed.","t":"code","b":[96],"m":"rts","x":[50273,50277]},{"a":50253,"l":"patrol_update","c":"Main-loop subsystem: runs patrol_think for objects 9, 8, 7, 6.","t":"code","b":[162,9],"m":"ldx","o":"#$09","x":[29864]},{"a":50255,"t":"code","b":[32,94,196],"m":"jsr","oa":50270,"o":"patrol_think"},{"a":50258,"t":"code","b":[162,8],"m":"ldx","o":"#$08"},{"a":50260,"t":"code","b":[32,94,196],"m":"jsr","oa":50270,"o":"patrol_think"},{"a":50263,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":50265,"t":"code","b":[32,94,196],"m":"jsr","oa":50270,"o":"patrol_think"},{"a":50268,"t":"code","b":[162,6],"m":"ldx","o":"#$06"},{"a":50270,"l":"patrol_think","c":"One of objects 6-9 (X). Skipped when $1CB0,X negative or $14. On its turn walks the waypoint list patrol_routes from index $1CB0,X: within 8 x $10 of the target advances by 4 (or wraps at patrol_last_index), marker bytes set $1D80,X; otherwise moves toward it with object_move_step.","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[50255,50260,50265]},{"a":50273,"t":"code","b":[48,233],"m":"bmi","oa":50252,"o":"r_C44C"},{"a":50275,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":50277,"t":"code","b":[240,229],"m":"beq","oa":50252,"o":"r_C44C"},{"a":50279,"t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due"},{"a":50282,"t":"code","b":[152],"m":"tya"},{"a":50283,"t":"code","b":[240,11],"m":"beq","oa":50296,"o":"b_C478"},{"a":50285,"t":"code","b":[16,3],"m":"bpl","oa":50290,"o":"b_C472"},{"a":50287,"t":"code","b":[76,241,197],"m":"jmp","oa":50673,"o":"object_pick_frame"},{"a":50290,"l":"b_C472","t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel","x":[50285]},{"a":50293,"t":"code","b":[76,241,197],"m":"jmp","oa":50673,"o":"object_pick_frame"},{"a":50296,"l":"b_C478","t":"code","b":[188,176,28],"m":"ldy","oa":7344,"o":"obj_flags,x","x":[50283,50416]},{"a":50299,"t":"code","b":[189,62,196],"m":"lda","oa":50238,"o":"f_C43E,x"},{"a":50302,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":50304,"t":"code","b":[189,58,196],"m":"lda","oa":50234,"o":"f_C43A,x"},{"a":50307,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":50309,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":50311,"t":"code","b":[48,79],"m":"bmi","oa":50392,"o":"b_C4D8"},{"a":50313,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":50315,"t":"code","b":[200],"m":"iny"},{"a":50316,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":50318,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":50320,"t":"code","b":[200],"m":"iny"},{"a":50321,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":50323,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":50325,"t":"code","b":[200],"m":"iny"},{"a":50326,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":50328,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":50330,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":50333,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":50335,"t":"code","b":[208,81],"m":"bne","oa":50418,"o":"b_C4F2"},{"a":50337,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":50339,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":50341,"t":"code","b":[176,75],"m":"bcs","oa":50418,"o":"b_C4F2"},{"a":50343,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":50345,"t":"code","b":[208,71],"m":"bne","oa":50418,"o":"b_C4F2"},{"a":50347,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":50349,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":50351,"t":"code","b":[176,65],"m":"bcs","oa":50418,"o":"b_C4F2"},{"a":50353,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":50356,"t":"code","b":[221,66,196],"m":"cmp","oa":50242,"o":"f_C442,x"},{"a":50359,"t":"code","b":[240,17],"m":"beq","oa":50378,"o":"b_C4CA"},{"a":50361,"t":"code","b":[24],"m":"clc"},{"a":50362,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":50364,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":50367,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50369,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":50372,"t":"code","b":[157,96,30],"m":"sta","oa":7776,"o":"chase_timer,x"},{"a":50375,"t":"code","b":[76,51,198],"m":"jmp","oa":50739,"o":"j_C633"},{"a":50378,"l":"b_C4CA","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[50359]},{"a":50380,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":50383,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":50386,"t":"code","b":[157,96,30],"m":"sta","oa":7776,"o":"chase_timer,x"},{"a":50389,"t":"code","b":[76,51,198],"m":"jmp","oa":50739,"o":"j_C633"},{"a":50392,"l":"b_C4D8","t":"code","b":[201,255],"m":"cmp","o":"#$FF","x":[50311]},{"a":50394,"t":"code","b":[240,12],"m":"beq","oa":50408,"o":"b_C4E8"},{"a":50396,"t":"code","b":[224,8],"m":"cpx","o":"#$08"},{"a":50398,"t":"code","b":[176,4],"m":"bcs","oa":50404,"o":"b_C4E4"},{"a":50400,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":50402,"t":"code","b":[16,6],"m":"bpl","oa":50410,"o":"b_C4EA"},{"a":50404,"l":"b_C4E4","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[50398]},{"a":50406,"t":"code","b":[16,2],"m":"bpl","oa":50410,"o":"b_C4EA"},{"a":50408,"l":"b_C4E8","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[50394]},{"a":50410,"l":"b_C4EA","t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x","x":[50402,50406]},{"a":50413,"t":"code","b":[254,176,28],"m":"inc","oa":7344,"o":"obj_flags,x"},{"a":50416,"t":"code","b":[16,134],"m":"bpl","oa":50296,"o":"b_C478"},{"a":50418,"l":"b_C4F2","t":"code","b":[76,15,197],"m":"jmp","oa":50447,"o":"object_move_step","x":[50335,50341,50345,50351]},{"a":50421,"l":"patrol_frames","c":"Sprite frames for walking objects chosen by object_pick_frame: index = base (0, 2, 4, 6 by $1D80,X; +$0A when moving left; 8/$12 for an object carrying $34) + bit 2 of X position.","t":"byte","b":[127,126,128,129,86,112,138,139],"x":[50733]},{"a":50429,"t":"byte","b":[142,143,131,130,132,133,135,137]},{"a":50437,"t":"byte","b":[140,141,144,145]},{"a":50441,"l":"climb_frames","c":"Two sprite frames ($86,$88) for an object in mode 8 (climbing), alternating with bit 2 of its Y position.","t":"byte","b":[134,136],"x":[50750]},{"a":50443,"l":"carry_idle_frames","c":"Frames $93,$95 (object 3) or $97,$99 (others) for an object in mode 0 carrying object $34, alternating every 4 frames.","t":"byte","b":[147,149,151,153],"x":[50798]},{"a":50447,"l":"object_move_step","c":"Moves object X toward the target set in $D9-$DD (by $A3FB/$AC67): $ACE0 turns the distance signs into $CB/$CC. Mode 8 (ladder): leaves it at a ladder end if horizontal wish; otherwise $9D15. Other modes dispatch by the self-modified BPL at $C593 on $1B20,X: 0 walk or fall, 2 walk ($9A39), 4 ($9BCE), 6 ($9C5F), 8 ($9D15), $0A/$0C fall ($9E0C). Stores the new position ($60-$63) and direction ($1DB0/$1DE0), then object_pick_frame.","t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction","x":[49927,50032,50086,50418]},{"a":50450,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":50453,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":50455,"t":"code","b":[208,81],"m":"bne","oa":50538,"o":"b_C56A"},{"a":50457,"t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x"},{"a":50460,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":50462,"t":"code","b":[208,33],"m":"bne","oa":50497,"o":"b_C541"},{"a":50464,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":50466,"t":"code","b":[240,29],"m":"beq","oa":50497,"o":"b_C541"},{"a":50468,"t":"code","b":[32,57,154],"m":"jsr","oa":39481,"o":"move_walk"},{"a":50471,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":50474,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":50476,"t":"code","b":[208,8],"m":"bne","oa":50486,"o":"b_C536"},{"a":50478,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50480,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":50483,"t":"code","b":[76,203,197],"m":"jmp","oa":50635,"o":"j_C5CB"},{"a":50486,"l":"b_C536","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[50476]},{"a":50488,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":50491,"t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel"},{"a":50494,"t":"code","b":[76,241,197],"m":"jmp","oa":50673,"o":"object_pick_frame"},{"a":50497,"l":"b_C541","t":"code","b":[189,224,29],"m":"lda","oa":7648,"o":"obj_vert_state,x","x":[50462,50466]},{"a":50500,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":50502,"t":"code","b":[32,21,157],"m":"jsr","oa":40213,"o":"move_vertical"},{"a":50505,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":50507,"t":"code","b":[48,3],"m":"bmi","oa":50512,"o":"b_C550"},{"a":50509,"t":"code","b":[76,203,197],"m":"jmp","oa":50635,"o":"j_C5CB"},{"a":50512,"l":"b_C550","t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction","x":[50507]},{"a":50515,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50517,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":50520,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":50522,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":50524,"t":"code","b":[32,184,153],"m":"jsr","oa":39352,"o":"next_y_from_cc"},{"a":50527,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":50530,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":50532,"t":"code","b":[157,32,27],"m":"sta","oa":6944,"o":"obj_state,x"},{"a":50535,"t":"code","b":[76,203,197],"m":"jmp","oa":50635,"o":"j_C5CB"},{"a":50538,"l":"b_C56A","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[50455]},{"a":50540,"t":"code","b":[240,27],"m":"beq","oa":50569,"o":"b_C589"},{"a":50542,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":50545,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":50547,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":50549,"t":"code","b":[208,18],"m":"bne","oa":50569,"o":"b_C589"},{"a":50551,"t":"code","b":[32,21,157],"m":"jsr","oa":40213,"o":"move_vertical"},{"a":50554,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":50556,"t":"code","b":[48,8],"m":"bmi","oa":50566,"o":"b_C586"},{"a":50558,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50560,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":50563,"t":"code","b":[76,203,197],"m":"jmp","oa":50635,"o":"j_C5CB"},{"a":50566,"l":"b_C586","t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction","x":[50556]},{"a":50569,"l":"b_C589","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[50540,50549]},{"a":50571,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"terrain_result"},{"a":50573,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":50576,"t":"code","b":[141,148,197],"m":"sta","oa":50580,"o":"object_mode_branch_offset"},{"a":50579,"l":"object_mode_dispatch","c":"Self-modified BPL: $C590 writes $1B20,X (0,2,..,$0C) as the offset, landing on one of the BPLs at $C595-$C5A1.","t":"code","b":[16,254],"m":"bpl","oa":50579,"o":"object_mode_dispatch","x":[50579]},{"a":50580,"t":"note","l":"object_mode_branch_offset","c":"Operand of the self-modified BPL at $C593, written at $C590 with object mode $1B20,X; the code that follows through $C5F0 is the per-mode movement of object_move_step.","note":"inside the item at $C593","x":[50576]},{"a":50581,"t":"code","b":[16,12],"m":"bpl","oa":50595,"o":"b_C5A3"},{"a":50583,"t":"code","b":[16,16],"m":"bpl","oa":50601,"o":"b_C5A9"},{"a":50585,"t":"code","b":[16,20],"m":"bpl","oa":50607,"o":"b_C5AF"},{"a":50587,"t":"code","b":[16,24],"m":"bpl","oa":50613,"o":"b_C5B5"},{"a":50589,"t":"code","b":[16,38],"m":"bpl","oa":50629,"o":"b_C5C5"},{"a":50591,"t":"code","b":[16,26],"m":"bpl","oa":50619,"o":"b_C5BB"},{"a":50593,"t":"code","b":[16,24],"m":"bpl","oa":50619,"o":"b_C5BB"},{"a":50595,"l":"b_C5A3","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[50581]},{"a":50597,"t":"code","b":[208,2],"m":"bne","oa":50601,"o":"b_C5A9"},{"a":50599,"t":"code","b":[240,18],"m":"beq","oa":50619,"o":"b_C5BB"},{"a":50601,"l":"b_C5A9","t":"code","b":[32,57,154],"m":"jsr","oa":39481,"o":"move_walk","x":[50583,50597]},{"a":50604,"t":"code","b":[76,200,197],"m":"jmp","oa":50632,"o":"j_C5C8"},{"a":50607,"l":"b_C5AF","t":"code","b":[32,206,155],"m":"jsr","oa":39886,"o":"move_turn_or_walk","x":[50585]},{"a":50610,"t":"code","b":[76,200,197],"m":"jmp","oa":50632,"o":"j_C5C8"},{"a":50613,"l":"b_C5B5","t":"code","b":[32,95,156],"m":"jsr","oa":40031,"o":"move_climb_up","x":[50587]},{"a":50616,"t":"code","b":[76,200,197],"m":"jmp","oa":50632,"o":"j_C5C8"},{"a":50619,"l":"b_C5BB","t":"code","b":[169,129],"m":"lda","o":"#$81","x":[50591,50593,50599]},{"a":50621,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":50623,"t":"code","b":[32,12,158],"m":"jsr","oa":40460,"o":"move_slide_horizontal"},{"a":50626,"t":"code","b":[76,203,197],"m":"jmp","oa":50635,"o":"j_C5CB"},{"a":50629,"l":"b_C5C5","t":"code","b":[32,21,157],"m":"jsr","oa":40213,"o":"move_vertical","x":[50589]},{"a":50632,"l":"j_C5C8","t":"code","b":[32,22,173],"m":"jsr","oa":44310,"o":"creature_blocked","x":[50604,50610,50616]},{"a":50635,"l":"j_C5CB","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[50483,50509,50535,50563,50626]},{"a":50637,"t":"code","b":[240,10],"m":"beq","oa":50649,"o":"b_C5D9"},{"a":50639,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":50641,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":50644,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":50646,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":50649,"l":"b_C5D9","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[50637]},{"a":50651,"t":"code","b":[240,10],"m":"beq","oa":50663,"o":"b_C5E7"},{"a":50653,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":50655,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":50658,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":50660,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":50663,"l":"b_C5E7","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[50651]},{"a":50665,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":50668,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":50670,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":50673,"l":"object_pick_frame","c":"Chooses $1D30,X, the sprite frame of object X, from patrol_frames, climb_frames or carry_idle_frames by its mode, direction $1DB0,X, $1D80,X and position bits; draws it via $81DA.","t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x","x":[49835,49841,50083,50287,50293,50494]},{"a":50676,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":50678,"t":"code","b":[240,62],"m":"beq","oa":50742,"o":"b_C636"},{"a":50680,"t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x"},{"a":50683,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":50685,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":50686,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":50687,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":50689,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":50692,"t":"code","b":[201,52],"m":"cmp","o":"#$34"},{"a":50694,"t":"code","b":[240,63],"m":"beq","oa":50759,"o":"b_C647"},{"a":50696,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":50698,"t":"code","b":[188,176,29],"m":"ldy","oa":7600,"o":"obj_facing,x"},{"a":50701,"t":"code","b":[48,4],"m":"bmi","oa":50707,"o":"b_C613"},{"a":50703,"t":"code","b":[240,34],"m":"beq","oa":50739,"o":"j_C633"},{"a":50705,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":50707,"l":"b_C613","t":"code","b":[188,128,29],"m":"ldy","oa":7552,"o":"obj_holding,x","x":[50701]},{"a":50710,"t":"code","b":[240,17],"m":"beq","oa":50729,"o":"b_C629"},{"a":50712,"t":"code","b":[24],"m":"clc"},{"a":50713,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":50715,"t":"code","b":[192,2],"m":"cpy","o":"#$02"},{"a":50717,"t":"code","b":[240,10],"m":"beq","oa":50729,"o":"b_C629"},{"a":50719,"t":"code","b":[24],"m":"clc"},{"a":50720,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":50722,"t":"code","b":[192,1],"m":"cpy","o":"#$01"},{"a":50724,"t":"code","b":[240,3],"m":"beq","oa":50729,"o":"b_C629"},{"a":50726,"t":"code","b":[24],"m":"clc"},{"a":50727,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":50729,"l":"b_C629","t":"code","b":[24],"m":"clc","x":[50710,50717,50724,50769,50775]},{"a":50730,"t":"code","b":[101,90],"m":"adc","oa":90,"o":"tmp_ptr_a"},{"a":50732,"t":"code","b":[168],"m":"tay"},{"a":50733,"t":"code","b":[185,245,196],"m":"lda","oa":50421,"o":"patrol_frames,y"},{"a":50736,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":50739,"l":"j_C633","t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object","x":[50375,50389,50703,50771]},{"a":50742,"l":"b_C636","t":"code","b":[189,16,28],"m":"lda","oa":7184,"o":"obj_y_lo,x","x":[50678]},{"a":50745,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":50747,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":50748,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":50749,"t":"code","b":[168],"m":"tay"},{"a":50750,"t":"code","b":[185,9,197],"m":"lda","oa":50441,"o":"climb_frames,y"},{"a":50753,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":50756,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":50759,"l":"b_C647","t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x","x":[50694]},{"a":50762,"t":"code","b":[240,13],"m":"beq","oa":50777,"o":"b_C659"},{"a":50764,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":50766,"t":"code","b":[188,176,29],"m":"ldy","oa":7600,"o":"obj_facing,x"},{"a":50769,"t":"code","b":[48,214],"m":"bmi","oa":50729,"o":"b_C629"},{"a":50771,"t":"code","b":[240,222],"m":"beq","oa":50739,"o":"j_C633"},{"a":50773,"t":"code","b":[169,18],"m":"lda","o":"#$12"},{"a":50775,"t":"code","b":[16,208],"m":"bpl","oa":50729,"o":"b_C629"},{"a":50777,"l":"b_C659","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[50762]},{"a":50779,"t":"code","b":[224,3],"m":"cpx","o":"#$03"},{"a":50781,"t":"code","b":[240,2],"m":"beq","oa":50785,"o":"b_C661"},{"a":50783,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":50785,"l":"b_C661","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[50781]},{"a":50787,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":50789,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":50790,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":50791,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":50793,"t":"code","b":[152],"m":"tya"},{"a":50794,"t":"code","b":[24],"m":"clc"},{"a":50795,"t":"code","b":[101,90],"m":"adc","oa":90,"o":"tmp_ptr_a"},{"a":50797,"t":"code","b":[168],"m":"tay"},{"a":50798,"t":"code","b":[185,11,197],"m":"lda","oa":50443,"o":"carry_idle_frames,y"},{"a":50801,"t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x"},{"a":50804,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":50807,"l":"sfx_freq_lo","c":"Sound effects table: 24 effects (numbers 0-$17), one byte per effect in each of 13 tables. Start frequency low byte for voice 3.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[51183,51331]},{"a":50815,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":50823,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":50831,"l":"sfx_freq_hi","c":"Start frequency high byte per effect (voice 3).","t":"byte","b":[100,16,64,11,150,10,120,30],"x":[51191,51336]},{"a":50839,"t":"byte","b":[10,150,150,100,10,10,252,100]},{"a":50847,"t":"byte","b":[16,100,1,1,13,100,7,11]},{"a":50855,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":50863,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":50871,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":50879,"l":"sfx_freq_limit","c":"Frequency high byte at which a sweeping effect restarts from its start frequency (upper bound when sweeping up, lower when down).","t":"byte","b":[255,48,0,0,0,0,0,0],"x":[51316,51326]},{"a":50887,"t":"byte","b":[0,0,50,50,0,0,200,0]},{"a":50895,"t":"byte","b":[48,0,50,50,50,50,0,0]},{"a":50903,"l":"sfx_sweep_lo","c":"Frequency added every update, low byte, per effect.","t":"byte","b":[58,0,210,0,0,0,0,0],"x":[51291]},{"a":50911,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":50919,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":50927,"l":"sfx_sweep_hi","c":"Frequency added every update, high byte (signed: bit 7 sweeps down), per effect.","t":"byte","b":[127,4,255,15,0,0,0,0],"x":[51301,51309]},{"a":50935,"t":"byte","b":[0,0,251,255,0,0,10,0]},{"a":50943,"t":"byte","b":[8,0,1,1,0,254,15,15]},{"a":50951,"l":"sfx_pw_lo","c":"Pulse width low byte per effect ($D410).","t":"byte","b":[31,0,1,1,0,1,0,10],"x":[51159]},{"a":50959,"t":"byte","b":[0,0,0,0,0,0,0,1]},{"a":50967,"t":"byte","b":[0,0,0,0,0,0,1,1]},{"a":50975,"l":"sfx_pw_hi","c":"Pulse width high nybble per effect ($D411).","t":"byte","b":[200,86,13,1,0,2,0,10],"x":[51165]},{"a":50983,"t":"byte","b":[0,0,0,0,0,0,0,1]},{"a":50991,"t":"byte","b":[0,0,0,0,0,0,17,17]},{"a":50999,"l":"sfx_waveform","c":"Control register value per effect ($D412): $11 triangle, $41 pulse, $81 noise, gate on.","t":"byte","b":[65,65,65,65,17,65,17,65],"x":[51199]},{"a":51007,"t":"byte","b":[17,129,17,129,129,129,129,65]},{"a":51015,"t":"byte","b":[129,17,129,129,17,129,65,65]},{"a":51023,"l":"sfx_attack_decay","c":"Attack/decay per effect ($D413).","t":"byte","b":[61,22,0,83,6,4,119,9],"x":[51171]},{"a":51031,"t":"byte","b":[117,91,88,137,14,11,71,17]},{"a":51039,"t":"byte","b":[22,103,170,6,10,255,20,20]},{"a":51047,"l":"sfx_sustain_release","c":"Sustain/release per effect ($D414).","t":"byte","b":[0,64,240,0,0,0,0,0],"x":[51177]},{"a":51055,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":51063,"t":"byte","b":[64,0,0,0,0,0,64,64]},{"a":51071,"l":"sfx_length_lo","c":"Length in updates, low byte, per effect (copied to sfx_time_lo). $FF for most.","t":"byte","b":[255,255,80,255,255,255,255,255],"x":[51205]},{"a":51079,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":51087,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":51095,"l":"sfx_length_hi","c":"Length in updates, high byte, per effect (copied to sfx_time_hi).","t":"byte","b":[255,255,2,255,255,255,255,255],"x":[51211]},{"a":51103,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":51111,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":51119,"l":"sfx_repeat","c":"Non-zero: the effect restarts when its time runs out or its envelope dies (sound_update); zero: it ends.","t":"byte","b":[0,1,0,1,0,0,0,0],"x":[51248]},{"a":51127,"t":"byte","b":[0,0,0,0,0,0,0,1]},{"a":51135,"t":"byte","b":[1,0,1,0,0,0,1,1]},{"a":51143,"l":"sound_start","c":"Start sound effect Y on SID voice 3 if Y < $F5, the effect playing ($FF = none): lower number wins. Called from many places.","t":"code","b":[196,245],"m":"cpy","oa":245,"o":"sfx_current","x":[41607,41801,42840,47394,47477,47618,47810,48131,48255,48403,48855,48863,48991,49312,49591,49751,51446,51825,52097,52614,52821,64815]},{"a":51145,"t":"code","b":[176,74],"m":"bcs","oa":51221,"o":"r_C815"},{"a":51147,"l":"sound_start_now","c":"Starts effect Y unconditionally: $F5=Y, gate off, volume $0F, pulse width, ADSR, start frequency (also kept in $F3/$F4), waveform with gate, time from sfx_length_*, $F6=3 updates before the envelope is watched.","t":"code","b":[132,245],"m":"sty","oa":245,"o":"sfx_current","x":[51253]},{"a":51149,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51151,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":51154,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":51156,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":51159,"t":"code","b":[185,7,199],"m":"lda","oa":50951,"o":"sfx_pw_lo,y"},{"a":51162,"t":"code","b":[141,16,212],"m":"sta","o":"sid_v3_pulse_lo"},{"a":51165,"t":"code","b":[185,31,199],"m":"lda","oa":50975,"o":"sfx_pw_hi,y"},{"a":51168,"t":"code","b":[141,17,212],"m":"sta","o":"sid_v3_pulse_hi"},{"a":51171,"t":"code","b":[185,79,199],"m":"lda","oa":51023,"o":"sfx_attack_decay,y"},{"a":51174,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":51177,"t":"code","b":[185,103,199],"m":"lda","oa":51047,"o":"sfx_sustain_release,y"},{"a":51180,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":51183,"t":"code","b":[185,119,198],"m":"lda","oa":50807,"o":"sfx_freq_lo,y"},{"a":51186,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":51189,"t":"code","b":[133,243],"m":"sta","oa":243,"o":"sfx3_freq_lo"},{"a":51191,"t":"code","b":[185,143,198],"m":"lda","oa":50831,"o":"sfx_freq_hi,y"},{"a":51194,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":51197,"t":"code","b":[133,244],"m":"sta","oa":244,"o":"sfx3_freq_hi"},{"a":51199,"t":"code","b":[185,55,199],"m":"lda","oa":50999,"o":"sfx_waveform,y"},{"a":51202,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":51205,"t":"code","b":[185,127,199],"m":"lda","oa":51071,"o":"sfx_length_lo,y"},{"a":51208,"t":"code","b":[141,22,200],"m":"sta","oa":51222,"o":"sfx_time_lo"},{"a":51211,"t":"code","b":[185,151,199],"m":"lda","oa":51095,"o":"sfx_length_hi,y"},{"a":51214,"t":"code","b":[141,23,200],"m":"sta","oa":51223,"o":"sfx_time_hi"},{"a":51217,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":51219,"t":"code","b":[133,246],"m":"sta","oa":246,"o":"sfx_delay"},{"a":51221,"l":"r_C815","t":"code","b":[96],"m":"rts","x":[51145,51228,51232,51319,51329]},{"a":51222,"l":"sfx_time_lo","c":"Remaining time of the effect playing, low byte (counted down by sound_update).","t":"byte","b":[0],"x":[51208,51262,51270]},{"a":51223,"l":"sfx_time_hi","c":"Remaining time of the effect playing, high byte.","t":"byte","b":[0],"x":[51214,51267,51275]},{"a":51224,"l":"sound_update","c":"Main-loop subsystem, every other frame (also called from $FD35). With an effect playing ($F5 >= 0): after the $F6 grace updates, if envelope 3 ($D41C) reads 0 the effect ends or restarts (sfx_repeat). Counts the 16-bit time down, ending the note at zero; otherwise adds the sweep to the frequency ($F3/$F4 -> $D40E/$D40F) and restarts the sweep at sfx_freq_limit.","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[29882,64821]},{"a":51226,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":51228,"t":"code","b":[208,247],"m":"bne","oa":51221,"o":"r_C815"},{"a":51230,"t":"code","b":[164,245],"m":"ldy","oa":245,"o":"sfx_current"},{"a":51232,"t":"code","b":[48,243],"m":"bmi","oa":51221,"o":"r_C815"},{"a":51234,"t":"code","b":[165,246],"m":"lda","oa":246,"o":"sfx_delay"},{"a":51236,"t":"code","b":[240,5],"m":"beq","oa":51243,"o":"b_C82B"},{"a":51238,"t":"code","b":[198,246],"m":"dec","oa":246,"o":"sfx_delay"},{"a":51240,"t":"code","b":[76,62,200],"m":"jmp","oa":51262,"o":"j_C83E"},{"a":51243,"l":"b_C82B","t":"code","b":[173,28,212],"m":"lda","o":"sid_v3_envelope","x":[51236]},{"a":51246,"t":"code","b":[208,14],"m":"bne","oa":51262,"o":"j_C83E"},{"a":51248,"l":"j_C830","t":"code","b":[185,175,199],"m":"lda","oa":51119,"o":"sfx_repeat,y","x":[51285]},{"a":51251,"t":"code","b":[240,4],"m":"beq","oa":51257,"o":"b_C839"},{"a":51253,"t":"code","b":[32,203,199],"m":"jsr","oa":51147,"o":"sound_start_now"},{"a":51256,"t":"code","b":[96],"m":"rts"},{"a":51257,"l":"b_C839","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[51251]},{"a":51259,"t":"code","b":[133,245],"m":"sta","oa":245,"o":"sfx_current"},{"a":51261,"t":"code","b":[96],"m":"rts"},{"a":51262,"l":"j_C83E","t":"code","b":[206,22,200],"m":"dec","oa":51222,"o":"sfx_time_lo","x":[51240,51246]},{"a":51265,"t":"code","b":[208,3],"m":"bne","oa":51270,"o":"b_C846"},{"a":51267,"t":"code","b":[206,23,200],"m":"dec","oa":51223,"o":"sfx_time_hi"},{"a":51270,"l":"b_C846","t":"code","b":[173,22,200],"m":"lda","oa":51222,"o":"sfx_time_lo","x":[51265]},{"a":51273,"t":"code","b":[208,13],"m":"bne","oa":51288,"o":"b_C858"},{"a":51275,"t":"code","b":[173,23,200],"m":"lda","oa":51223,"o":"sfx_time_hi"},{"a":51278,"t":"code","b":[208,8],"m":"bne","oa":51288,"o":"b_C858"},{"a":51280,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51282,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":51285,"t":"code","b":[76,48,200],"m":"jmp","oa":51248,"o":"j_C830"},{"a":51288,"l":"b_C858","t":"code","b":[165,243],"m":"lda","oa":243,"o":"sfx3_freq_lo","x":[51273,51278]},{"a":51290,"t":"code","b":[24],"m":"clc"},{"a":51291,"t":"code","b":[121,215,198],"m":"adc","oa":50903,"o":"sfx_sweep_lo,y"},{"a":51294,"t":"code","b":[133,243],"m":"sta","oa":243,"o":"sfx3_freq_lo"},{"a":51296,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":51299,"t":"code","b":[165,244],"m":"lda","oa":244,"o":"sfx3_freq_hi"},{"a":51301,"t":"code","b":[121,239,198],"m":"adc","oa":50927,"o":"sfx_sweep_hi,y"},{"a":51304,"t":"code","b":[133,244],"m":"sta","oa":244,"o":"sfx3_freq_hi"},{"a":51306,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":51309,"t":"code","b":[185,239,198],"m":"lda","oa":50927,"o":"sfx_sweep_hi,y"},{"a":51312,"t":"code","b":[48,10],"m":"bmi","oa":51324,"o":"b_C87C"},{"a":51314,"t":"code","b":[165,244],"m":"lda","oa":244,"o":"sfx3_freq_hi"},{"a":51316,"t":"code","b":[217,191,198],"m":"cmp","oa":50879,"o":"sfx_freq_limit,y"},{"a":51319,"t":"code","b":[144,156],"m":"bcc","oa":51221,"o":"r_C815"},{"a":51321,"t":"code","b":[76,131,200],"m":"jmp","oa":51331,"o":"j_C883"},{"a":51324,"l":"b_C87C","t":"code","b":[165,244],"m":"lda","oa":244,"o":"sfx3_freq_hi","x":[51312]},{"a":51326,"t":"code","b":[217,191,198],"m":"cmp","oa":50879,"o":"sfx_freq_limit,y"},{"a":51329,"t":"code","b":[176,146],"m":"bcs","oa":51221,"o":"r_C815"},{"a":51331,"l":"j_C883","t":"code","b":[185,119,198],"m":"lda","oa":50807,"o":"sfx_freq_lo,y","x":[51321]},{"a":51334,"t":"code","b":[133,243],"m":"sta","oa":243,"o":"sfx3_freq_lo"},{"a":51336,"t":"code","b":[185,143,198],"m":"lda","oa":50831,"o":"sfx_freq_hi,y"},{"a":51339,"t":"code","b":[133,244],"m":"sta","oa":244,"o":"sfx3_freq_hi"},{"a":51341,"t":"code","b":[96],"m":"rts"},{"a":51342,"l":"sound_stop","c":"If effect Y is the one playing, stops it: $F5=$FF and voice 3 control $0C (gate off).","t":"code","b":[196,245],"m":"cpy","oa":245,"o":"sfx_current","x":[41306,41639,41730,41809,42916,51849,64703,65089]},{"a":51344,"t":"code","b":[208,9],"m":"bne","oa":51355,"o":"r_C89B"},{"a":51346,"l":"b_C892","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[51368]},{"a":51348,"t":"code","b":[133,245],"m":"sta","oa":245,"o":"sfx_current"},{"a":51350,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":51352,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":51355,"l":"r_C89B","t":"code","b":[96],"m":"rts","x":[51344]},{"a":51356,"l":"sound_silence_all","c":"Called at start-up ($4A80), from $AF79 and life_end_reset. $E2=5; writes $FF to voice 1 and 2 control registers ($D404, $D40B: test bit set) and falls into sound_stop's tail: $F5=$FF, voice 3 control $0C.","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[11600,19072,44921,51516]},{"a":51358,"t":"code","b":[133,226],"m":"sta","oa":226,"o":"tune"},{"a":51360,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":51362,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":51365,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":51368,"t":"code","b":[48,232],"m":"bmi","oa":51346,"o":"b_C892"},{"a":51370,"c":"Six bytes never executed: $00 then five $0D (filler). The BMI at $C8A8 is always taken.","t":"code","b":[0],"m":"brk"},{"a":51371,"t":"code","b":[13,13,13],"m":"ora","oa":3341,"o":"prog_screen_row8"},{"a":51374,"t":"code","b":[13,13,32],"m":"ora","oa":8205,"o":"a_200D"},{"a":51376,"t":"note","l":"doctor_state4_exit","c":"Reached from doctor_update when $E8=4 (the TARDIS ending): JSR $2D50 (which calls sound_silence_all and jumps to $FD4F), then if $CC47 bit 7 set JSR $FE23, and continues at $C9EB.","note":"inside the item at $C8AE","x":[51480]},{"a":51377,"t":"code","b":[80,45],"m":"bvc","oa":51424,"o":"b_C8E0"},{"a":51379,"t":"code","b":[173,71,204],"m":"lda","oa":52295,"o":"cc47_flag"},{"a":51382,"t":"code","b":[48,118],"m":"bmi","oa":51502,"o":"b_C92E"},{"a":51384,"t":"code","b":[76,235,201],"m":"jmp","oa":51691,"o":"doctor_move_by_mode"},{"a":51387,"l":"r_C8BB","t":"code","b":[96],"m":"rts","x":[51432,51440]},{"a":51388,"l":"doctor_update","c":"Main-loop subsystem for the Doctor (object 0; also called from $FCFF, $FD19). Sets object 0's X from $20/$21 + $91. If the death countdown $CC43 runs: the Doctor falls/stands, and at $0F..0 every 8 frames goes to life_end_reset. Else acts on $E8: negative (D keys) checks the tile ($78=$23); 2 ends; 4 doctor_state4_exit; other causes start the countdown ($CC43=$A0) keeping his frames in $CC45/$CC46. Otherwise handles platform riding, point checks for $50, moves him by mode ($1B20) using $CB/$CC, fall tracking, tile hazards, and draws objects 0 and 1.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[29835,64767,64793]},{"a":51390,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"camera_x_lo"},{"a":51392,"t":"code","b":[24],"m":"clc"},{"a":51393,"t":"code","b":[105,145],"m":"adc","o":"#$91"},{"a":51395,"t":"code","b":[141,112,27],"m":"sta","oa":7024,"o":"obj_x_lo"},{"a":51398,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"camera_x_hi"},{"a":51400,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":51402,"t":"code","b":[141,192,27],"m":"sta","oa":7104,"o":"obj_x_hi"},{"a":51405,"t":"code","b":[173,67,204],"m":"lda","oa":52291,"o":"death_countdown"},{"a":51408,"t":"code","b":[240,42],"m":"beq","oa":51452,"o":"b_C8FC"},{"a":51410,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":51412,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"busy_flag"},{"a":51414,"t":"code","b":[206,67,204],"m":"dec","oa":52291,"o":"death_countdown"},{"a":51417,"t":"code","b":[173,67,204],"m":"lda","oa":52291,"o":"death_countdown"},{"a":51420,"t":"code","b":[16,8],"m":"bpl","oa":51430,"o":"b_C8E6"},{"a":51422,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":51424,"l":"b_C8E0","t":"code","b":[141,98,252],"m":"sta","oa":64610,"o":"arrival_pixel_count","x":[51377]},{"a":51427,"t":"code","b":[76,45,202],"m":"jmp","oa":51757,"o":"doctor_fall"},{"a":51430,"l":"b_C8E6","t":"code","b":[201,15],"m":"cmp","o":"#$0F","x":[51420]},{"a":51432,"t":"code","b":[240,209],"m":"beq","oa":51387,"o":"r_C8BB"},{"a":51434,"t":"code","b":[176,13],"m":"bcs","oa":51449,"o":"b_C8F9"},{"a":51436,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":51438,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":51440,"t":"code","b":[208,201],"m":"bne","oa":51387,"o":"r_C8BB"},{"a":51442,"t":"code","b":[240,61],"m":"beq","oa":51505,"o":"life_end_reset"},{"a":51444,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":51446,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":51449,"l":"b_C8F9","t":"code","b":[76,45,202],"m":"jmp","oa":51757,"o":"doctor_fall","x":[51434]},{"a":51452,"l":"b_C8FC","t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code","x":[51408]},{"a":51454,"t":"code","b":[240,94],"m":"beq","oa":51550,"o":"b_C95E"},{"a":51456,"t":"code","b":[16,16],"m":"bpl","oa":51474,"o":"b_C912"},{"a":51458,"t":"code","b":[32,9,154],"m":"jsr","oa":39433,"o":"terrain_probe_centre"},{"a":51461,"t":"code","b":[165,120],"m":"lda","oa":120,"o":"probe_block"},{"a":51463,"t":"code","b":[201,35],"m":"cmp","o":"#$23"},{"a":51465,"t":"code","b":[240,38],"m":"beq","oa":51505,"o":"life_end_reset"},{"a":51467,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51469,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":51471,"t":"code","b":[76,45,202],"m":"jmp","oa":51757,"o":"doctor_fall"},{"a":51474,"l":"b_C912","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[51456]},{"a":51476,"t":"code","b":[240,27],"m":"beq","oa":51505,"o":"life_end_reset"},{"a":51478,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":51480,"t":"code","b":[240,150],"m":"beq","oa":51376,"o":"doctor_state4_exit"},{"a":51482,"t":"code","b":[160,160],"m":"ldy","o":"#$A0"},{"a":51484,"t":"code","b":[140,67,204],"m":"sty","oa":52291,"o":"death_countdown"},{"a":51487,"t":"code","b":[173,48,29],"m":"lda","oa":7472,"o":"obj_sprite"},{"a":51490,"t":"code","b":[141,69,204],"m":"sta","oa":52293,"o":"death_frame_top"},{"a":51493,"t":"code","b":[173,49,29],"m":"lda","oa":7473,"o":"obj_sprite_1"},{"a":51496,"t":"code","b":[141,70,204],"m":"sta","oa":52294,"o":"death_frame_low"},{"a":51499,"t":"code","b":[76,94,201],"m":"jmp","oa":51550,"o":"b_C95E"},{"a":51502,"l":"b_C92E","t":"code","b":[32,35,254],"m":"jsr","oa":65059,"o":"departure_sequence","x":[51382]},{"a":51505,"l":"life_end_reset","c":"After a life ends: clears $CC47, $CC43, $CC42; silences sound; $9102 prints the cause and decrements lives $1E; $FF3A; $8A=1. If $1E = 5 goes to $FC8C; else $53=0 and screen on ($D011 bit 4).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[51442,51465,51476]},{"a":51507,"t":"code","b":[141,71,204],"m":"sta","oa":52295,"o":"cc47_flag"},{"a":51510,"t":"code","b":[141,67,204],"m":"sta","oa":52291,"o":"death_countdown"},{"a":51513,"t":"code","b":[141,66,204],"m":"sta","oa":52290,"o":"fall_tracking"},{"a":51516,"t":"code","b":[32,156,200],"m":"jsr","oa":51356,"o":"sound_silence_all"},{"a":51519,"t":"code","b":[32,2,145],"m":"jsr","oa":37122,"o":"game_event_handler"},{"a":51522,"t":"code","b":[32,58,255],"m":"jsr","oa":65338,"o":"normal_sprite_colours"},{"a":51525,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":51527,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"doctor_facing"},{"a":51529,"t":"code","b":[165,30],"m":"lda","oa":30,"o":"lives"},{"a":51531,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":51533,"t":"code","b":[208,3],"m":"bne","oa":51538,"o":"b_C952"},{"a":51535,"t":"code","b":[76,140,252],"m":"jmp","oa":64652,"o":"arrival_sequence"},{"a":51538,"l":"b_C952","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[51533]},{"a":51540,"t":"code","b":[133,83],"m":"sta","oa":83,"o":"frame_count_lo"},{"a":51542,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":51545,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":51547,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":51550,"l":"b_C95E","t":"code","b":[173,176,28],"m":"lda","oa":7344,"o":"obj_flags","x":[51454,51499]},{"a":51553,"t":"code","b":[240,3],"m":"beq","oa":51558,"o":"b_C966"},{"a":51555,"t":"code","b":[76,45,202],"m":"jmp","oa":51757,"o":"doctor_fall"},{"a":51558,"l":"b_C966","t":"code","b":[165,231],"m":"lda","oa":231,"o":"event_flag_e7","x":[51553]},{"a":51560,"t":"code","b":[240,3],"m":"beq","oa":51565,"o":"b_C96D"},{"a":51562,"t":"code","b":[76,226,204],"m":"jmp","oa":52450,"o":"doctor_ride_platform"},{"a":51565,"l":"b_C96D","t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo","x":[51560]},{"a":51567,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":51569,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":51571,"t":"code","b":[208,48],"m":"bne","oa":51621,"o":"b_C9A5"},{"a":51573,"t":"code","b":[160,57],"m":"ldy","o":"#$39"},{"a":51575,"t":"code","b":[185,32,27],"m":"lda","oa":6944,"o":"obj_state,y"},{"a":51578,"t":"code","b":[208,41],"m":"bne","oa":51621,"o":"b_C9A5"},{"a":51580,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":51583,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":51585,"t":"code","b":[208,34],"m":"bne","oa":51621,"o":"b_C9A5"},{"a":51587,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":51589,"t":"code","b":[208,30],"m":"bne","oa":51621,"o":"b_C9A5"},{"a":51591,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":51593,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":51595,"t":"code","b":[176,24],"m":"bcs","oa":51621,"o":"b_C9A5"},{"a":51597,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":51599,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":51601,"t":"code","b":[176,18],"m":"bcs","oa":51621,"o":"b_C9A5"},{"a":51603,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":51605,"t":"code","b":[240,14],"m":"beq","oa":51621,"o":"b_C9A5"},{"a":51607,"t":"code","b":[48,12],"m":"bmi","oa":51621,"o":"b_C9A5"},{"a":51609,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":51611,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"event_flag_e7"},{"a":51613,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":51615,"t":"code","b":[141,32,27],"m":"sta","oa":6944,"o":"obj_state"},{"a":51618,"t":"code","b":[76,226,204],"m":"jmp","oa":52450,"o":"doctor_ride_platform"},{"a":51621,"l":"b_C9A5","t":"code","b":[165,80],"m":"lda","oa":80,"o":"event_flag_50","x":[51571,51578,51585,51589,51595,51601,51605,51607]},{"a":51623,"t":"code","b":[240,56],"m":"beq","oa":51681,"o":"b_C9E1"},{"a":51625,"t":"code","b":[48,54],"m":"bmi","oa":51681,"o":"b_C9E1"},{"a":51627,"t":"code","b":[169,188],"m":"lda","o":"#$BC"},{"a":51629,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":51631,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":51633,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":51635,"t":"code","b":[169,136],"m":"lda","o":"#$88"},{"a":51637,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":51639,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":51641,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":51643,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":51646,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":51648,"t":"code","b":[208,20],"m":"bne","oa":51670,"o":"b_C9D6"},{"a":51650,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":51652,"t":"code","b":[208,16],"m":"bne","oa":51670,"o":"b_C9D6"},{"a":51654,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":51656,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":51658,"t":"code","b":[176,10],"m":"bcs","oa":51670,"o":"b_C9D6"},{"a":51660,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":51662,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":51664,"t":"code","b":[176,4],"m":"bcs","oa":51670,"o":"b_C9D6"},{"a":51666,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":51668,"t":"code","b":[133,80],"m":"sta","oa":80,"o":"event_flag_50"},{"a":51670,"l":"b_C9D6","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[51648,51652,51658,51664]},{"a":51672,"t":"code","b":[133,205],"m":"sta","oa":205,"o":"fire_pressed"},{"a":51674,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":51676,"t":"code","b":[133,224],"m":"sta","oa":224,"o":"busy_flag"},{"a":51678,"t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction"},{"a":51681,"l":"b_C9E1","t":"code","b":[165,137],"m":"lda","oa":137,"o":"throw_stand","x":[51623,51625]},{"a":51683,"t":"code","b":[240,6],"m":"beq","oa":51691,"o":"doctor_move_by_mode"},{"a":51685,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51687,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":51689,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":51691,"l":"doctor_move_by_mode","c":"If $CD (fire) negative: $A0D4 (jump). Else dispatches on the Doctor's mode $1B20 through the self-modified BPL at $C9F5: 0 walk/climb by input, 2 $9A39, 4 $9BCE, 6 $9C5F, 8 $9D15, $0A jump, $0C fall.","t":"code","b":[165,205],"m":"lda","oa":205,"o":"fire_pressed","x":[51384,51683]},{"a":51693,"t":"code","b":[48,78],"m":"bmi","oa":51773,"o":"b_CA3D"},{"a":51695,"t":"code","b":[173,32,27],"m":"lda","oa":6944,"o":"obj_state"},{"a":51698,"t":"code","b":[141,246,201],"m":"sta","oa":51702,"o":"doctor_mode_branch_offset"},{"a":51701,"l":"doctor_mode_dispatch","c":"Self-modified BPL: $C9F2 stores $1B20 (the Doctor's mode) as its offset.","t":"code","b":[16,254],"m":"bpl","oa":51701,"o":"doctor_mode_dispatch","x":[51701]},{"a":51702,"t":"note","l":"doctor_mode_branch_offset","c":"Operand of the self-modified BPL at $C9F5, written at $C9F2 with the Doctor mode $1B20; the following code runs the Doctor movement routine for that mode.","note":"inside the item at $C9F5","x":[51698]},{"a":51703,"t":"code","b":[16,12],"m":"bpl","oa":51717,"o":"b_CA05"},{"a":51705,"t":"code","b":[16,26],"m":"bpl","oa":51733,"o":"b_CA15"},{"a":51707,"t":"code","b":[16,30],"m":"bpl","oa":51739,"o":"b_CA1B"},{"a":51709,"t":"code","b":[16,34],"m":"bpl","oa":51745,"o":"b_CA21"},{"a":51711,"t":"code","b":[16,38],"m":"bpl","oa":51751,"o":"b_CA27"},{"a":51713,"t":"code","b":[16,58],"m":"bpl","oa":51773,"o":"b_CA3D"},{"a":51715,"t":"code","b":[16,40],"m":"bpl","oa":51757,"o":"doctor_fall"},{"a":51717,"l":"b_CA05","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[51703]},{"a":51719,"t":"code","b":[141,210,160],"m":"sta","oa":41170,"o":"jump_frame_count"},{"a":51722,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":51724,"t":"code","b":[208,7],"m":"bne","oa":51733,"o":"b_CA15"},{"a":51726,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":51728,"t":"code","b":[208,21],"m":"bne","oa":51751,"o":"b_CA27"},{"a":51730,"t":"code","b":[76,45,202],"m":"jmp","oa":51757,"o":"doctor_fall"},{"a":51733,"l":"b_CA15","t":"code","b":[32,57,154],"m":"jsr","oa":39481,"o":"move_walk","x":[51705,51724]},{"a":51736,"t":"code","b":[76,80,202],"m":"jmp","oa":51792,"o":"j_CA50"},{"a":51739,"l":"b_CA1B","t":"code","b":[32,206,155],"m":"jsr","oa":39886,"o":"move_turn_or_walk","x":[51707]},{"a":51742,"t":"code","b":[76,80,202],"m":"jmp","oa":51792,"o":"j_CA50"},{"a":51745,"l":"b_CA21","t":"code","b":[32,95,156],"m":"jsr","oa":40031,"o":"move_climb_up","x":[51709]},{"a":51748,"t":"code","b":[76,80,202],"m":"jmp","oa":51792,"o":"j_CA50"},{"a":51751,"l":"b_CA27","t":"code","b":[32,21,157],"m":"jsr","oa":40213,"o":"move_vertical","x":[51711,51728]},{"a":51754,"t":"code","b":[76,80,202],"m":"jmp","oa":51792,"o":"j_CA50"},{"a":51757,"l":"doctor_fall","c":"Falling: $CC=$81 (down), $99ED, $9E0C, then fall_track.","t":"code","b":[169,129],"m":"lda","o":"#$81","x":[51427,51449,51471,51555,51715,51730,51778]},{"a":51759,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":51761,"t":"code","b":[32,237,153],"m":"jsr","oa":39405,"o":"check_up_blocked"},{"a":51764,"t":"code","b":[32,12,158],"m":"jsr","oa":40460,"o":"move_slide_horizontal"},{"a":51767,"t":"code","b":[32,58,205],"m":"jsr","oa":52538,"o":"fall_track"},{"a":51770,"t":"code","b":[76,88,202],"m":"jmp","oa":51800,"o":"doctor_tile_checks"},{"a":51773,"l":"b_CA3D","t":"code","b":[173,32,27],"m":"lda","oa":6944,"o":"obj_state","x":[51693,51713]},{"a":51776,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":51778,"t":"code","b":[240,233],"m":"beq","oa":51757,"o":"doctor_fall"},{"a":51780,"t":"code","b":[32,212,160],"m":"jsr","oa":41172,"o":"jump_arc_step"},{"a":51783,"t":"code","b":[32,237,153],"m":"jsr","oa":39405,"o":"check_up_blocked"},{"a":51786,"t":"code","b":[32,58,205],"m":"jsr","oa":52538,"o":"fall_track"},{"a":51789,"t":"code","b":[76,88,202],"m":"jmp","oa":51800,"o":"doctor_tile_checks"},{"a":51792,"l":"j_CA50","t":"code","b":[173,66,204],"m":"lda","oa":52290,"o":"fall_tracking","x":[51736,51742,51748,51754,52486,52535]},{"a":51795,"t":"code","b":[240,3],"m":"beq","oa":51800,"o":"doctor_tile_checks"},{"a":51797,"t":"code","b":[32,98,205],"m":"jsr","oa":52578,"o":"fall_check"},{"a":51800,"l":"doctor_tile_checks","c":"Tile under the Doctor ($9A09 -> $78): $74 or $51 -> $E8=$0E (FALLING ON A STALAGMITE); $BD -> sound $0F, $CC44=1, object $23's state $0F. With Y hi $1C60 >= 2 and tile not $39/$04, or tile $3F: oxygen countdown $F1 from 50; held object ($1D80) $3A resets it; at 0 $E8=$10 (SUFFOCATING). Then $A252, $A82A, $88AB, $8A3E collision checks, stores position, places object 1 (8 pixels above in Y), animates.","t":"code","b":[32,9,154],"m":"jsr","oa":39433,"o":"terrain_probe_centre","x":[51770,51789,51795]},{"a":51803,"t":"code","b":[165,120],"m":"lda","oa":120,"o":"probe_block"},{"a":51805,"t":"code","b":[201,116],"m":"cmp","o":"#$74"},{"a":51807,"t":"code","b":[240,4],"m":"beq","oa":51813,"o":"b_CA65"},{"a":51809,"t":"code","b":[201,81],"m":"cmp","o":"#$51"},{"a":51811,"t":"code","b":[208,6],"m":"bne","oa":51819,"o":"b_CA6B"},{"a":51813,"l":"b_CA65","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[51807]},{"a":51815,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":51817,"t":"code","b":[16,89],"m":"bpl","oa":51908,"o":"b_CAC4"},{"a":51819,"l":"b_CA6B","t":"code","b":[201,189],"m":"cmp","o":"#$BD","x":[51811]},{"a":51821,"t":"code","b":[208,24],"m":"bne","oa":51847,"o":"b_CA87"},{"a":51823,"t":"code","b":[160,15],"m":"ldy","o":"#$0F"},{"a":51825,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":51828,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":51830,"t":"code","b":[141,68,204],"m":"sta","oa":52292,"o":"tile_bd_flag"},{"a":51833,"t":"code","b":[173,211,28],"m":"lda","oa":7379,"o":"obj_flags_23"},{"a":51836,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":51838,"t":"code","b":[240,7],"m":"beq","oa":51847,"o":"b_CA87"},{"a":51840,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":51842,"t":"code","b":[141,211,28],"m":"sta","oa":7379,"o":"obj_flags_23"},{"a":51845,"t":"code","b":[16,61],"m":"bpl","oa":51908,"o":"b_CAC4"},{"a":51847,"l":"b_CA87","t":"code","b":[160,15],"m":"ldy","o":"#$0F","x":[51821,51838]},{"a":51849,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":51852,"t":"code","b":[164,232],"m":"ldy","oa":232,"o":"event_code"},{"a":51854,"t":"code","b":[208,52],"m":"bne","oa":51908,"o":"b_CAC4"},{"a":51856,"t":"code","b":[172,96,28],"m":"ldy","oa":7264,"o":"obj_y_hi"},{"a":51859,"t":"code","b":[192,2],"m":"cpy","o":"#$02"},{"a":51861,"t":"code","b":[144,45],"m":"bcc","oa":51908,"o":"b_CAC4"},{"a":51863,"t":"code","b":[201,63],"m":"cmp","o":"#$3F"},{"a":51865,"t":"code","b":[240,14],"m":"beq","oa":51881,"o":"b_CAA9"},{"a":51867,"t":"code","b":[201,57],"m":"cmp","o":"#$39"},{"a":51869,"t":"code","b":[240,37],"m":"beq","oa":51908,"o":"b_CAC4"},{"a":51871,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":51873,"t":"code","b":[240,33],"m":"beq","oa":51908,"o":"b_CAC4"},{"a":51875,"t":"code","b":[165,241],"m":"lda","oa":241,"o":"air_timer"},{"a":51877,"t":"code","b":[240,29],"m":"beq","oa":51908,"o":"b_CAC4"},{"a":51879,"t":"code","b":[208,8],"m":"bne","oa":51889,"o":"b_CAB1"},{"a":51881,"l":"b_CAA9","t":"code","b":[165,241],"m":"lda","oa":241,"o":"air_timer","x":[51865]},{"a":51883,"t":"code","b":[208,4],"m":"bne","oa":51889,"o":"b_CAB1"},{"a":51885,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":51887,"t":"code","b":[133,241],"m":"sta","oa":241,"o":"air_timer"},{"a":51889,"l":"b_CAB1","t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding","x":[51879,51883]},{"a":51892,"t":"code","b":[201,58],"m":"cmp","o":"#$3A"},{"a":51894,"t":"code","b":[208,4],"m":"bne","oa":51900,"o":"b_CABC"},{"a":51896,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":51898,"t":"code","b":[133,241],"m":"sta","oa":241,"o":"air_timer"},{"a":51900,"l":"b_CABC","t":"code","b":[198,241],"m":"dec","oa":241,"o":"air_timer","x":[51894]},{"a":51902,"t":"code","b":[208,8],"m":"bne","oa":51912,"o":"b_CAC8"},{"a":51904,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":51906,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":51908,"l":"b_CAC4","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[51817,51845,51854,51861,51869,51873,51877]},{"a":51910,"t":"code","b":[133,241],"m":"sta","oa":241,"o":"air_timer"},{"a":51912,"l":"b_CAC8","t":"code","b":[32,82,162],"m":"jsr","oa":41554,"o":"lift_check_board","x":[51902]},{"a":51915,"t":"code","b":[165,251],"m":"lda","oa":251,"o":"car_riding"},{"a":51917,"t":"code","b":[240,9],"m":"beq","oa":51928,"o":"b_CAD8"},{"a":51919,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51921,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":51923,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":51925,"t":"code","b":[141,32,27],"m":"sta","oa":6944,"o":"obj_state"},{"a":51928,"l":"b_CAD8","t":"code","b":[173,176,28],"m":"lda","oa":7344,"o":"obj_flags","x":[51917]},{"a":51931,"t":"code","b":[208,9],"m":"bne","oa":51942,"o":"b_CAE6"},{"a":51933,"t":"code","b":[165,80],"m":"lda","oa":80,"o":"event_flag_50"},{"a":51935,"t":"code","b":[240,5],"m":"beq","oa":51942,"o":"b_CAE6"},{"a":51937,"t":"code","b":[48,3],"m":"bmi","oa":51942,"o":"b_CAE6"},{"a":51939,"t":"code","b":[32,22,173],"m":"jsr","oa":44310,"o":"creature_blocked"},{"a":51942,"l":"b_CAE6","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[51931,51935,51937]},{"a":51944,"t":"code","b":[141,176,29],"m":"sta","oa":7600,"o":"obj_facing"},{"a":51947,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":51949,"t":"code","b":[141,224,29],"m":"sta","oa":7648,"o":"obj_vert_state"},{"a":51952,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":51954,"t":"code","b":[32,42,168],"m":"jsr","oa":43050,"o":"held_item_fits"},{"a":51957,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":51959,"t":"code","b":[240,11],"m":"beq","oa":51972,"o":"b_CB04"},{"a":51961,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51963,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":51965,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":51967,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":51969,"t":"code","b":[141,32,27],"m":"sta","oa":6944,"o":"obj_state"},{"a":51972,"l":"b_CB04","t":"code","b":[32,171,136],"m":"jsr","oa":34987,"o":"scroll_decide_motion","x":[51959]},{"a":51975,"t":"code","b":[32,62,138],"m":"jsr","oa":35390,"o":"apply_motion_and_view"},{"a":51978,"t":"code","b":[165,111],"m":"lda","oa":111,"o":"scroll_block_x"},{"a":51980,"t":"code","b":[16,4],"m":"bpl","oa":51986,"o":"b_CB12"},{"a":51982,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51984,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":51986,"l":"b_CB12","t":"code","b":[165,112],"m":"lda","oa":112,"o":"scroll_block_y","x":[51980]},{"a":51988,"t":"code","b":[16,4],"m":"bpl","oa":51994,"o":"b_CB1A"},{"a":51990,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":51992,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":51994,"l":"b_CB1A","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[51988]},{"a":51996,"t":"code","b":[240,10],"m":"beq","oa":52008,"o":"b_CB28"},{"a":51998,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":52000,"t":"code","b":[141,112,27],"m":"sta","oa":7024,"o":"obj_x_lo"},{"a":52003,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":52005,"t":"code","b":[141,192,27],"m":"sta","oa":7104,"o":"obj_x_hi"},{"a":52008,"l":"b_CB28","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[51996]},{"a":52010,"t":"code","b":[240,10],"m":"beq","oa":52022,"o":"b_CB36"},{"a":52012,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":52014,"t":"code","b":[141,16,28],"m":"sta","oa":7184,"o":"obj_y_lo"},{"a":52017,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":52019,"t":"code","b":[141,96,28],"m":"sta","oa":7264,"o":"obj_y_hi"},{"a":52022,"l":"b_CB36","t":"code","b":[173,208,26],"m":"lda","oa":6864,"o":"obj_behind","x":[52010]},{"a":52025,"t":"code","b":[141,209,26],"m":"sta","oa":6865,"o":"obj_behind_1"},{"a":52028,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":52031,"t":"code","b":[141,113,27],"m":"sta","oa":7025,"o":"obj_x_lo_1"},{"a":52034,"t":"code","b":[173,192,27],"m":"lda","oa":7104,"o":"obj_x_hi"},{"a":52037,"t":"code","b":[141,193,27],"m":"sta","oa":7105,"o":"obj_x_hi_1"},{"a":52040,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":52043,"t":"code","b":[24],"m":"clc"},{"a":52044,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":52046,"t":"code","b":[141,17,28],"m":"sta","oa":7185,"o":"obj_y_lo_1"},{"a":52049,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":52052,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":52054,"t":"code","b":[141,97,28],"m":"sta","oa":7265,"o":"obj_y_hi_1"},{"a":52057,"t":"code","b":[173,176,28],"m":"lda","oa":7344,"o":"obj_flags"},{"a":52060,"t":"code","b":[240,13],"m":"beq","oa":52075,"o":"doctor_draw"},{"a":52062,"t":"code","b":[48,11],"m":"bmi","oa":52075,"o":"doctor_draw"},{"a":52064,"t":"code","b":[206,176,28],"m":"dec","oa":7344,"o":"obj_flags"},{"a":52067,"t":"code","b":[169,85],"m":"lda","o":"#$55"},{"a":52069,"t":"code","b":[141,48,29],"m":"sta","oa":7472,"o":"obj_sprite"},{"a":52072,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":52075,"l":"doctor_draw","c":"Picks the Doctor's frames (doctor_pick_frames). During the death countdown every 4 frames: sound 0, $FC62 += 6, fills $7800-$783F with $FF and copies the two saved frames ($4000 + $CC45/$CC46 x 64) to sprite blocks at $7400 and $7840, then $FEA9; shows frames $D0/$E1. Draws objects 0 and 1 and the held object ($1D80) via $A8B1.","t":"code","b":[32,76,204],"m":"jsr","oa":52300,"o":"doctor_pick_frames","x":[52060,52062]},{"a":52078,"t":"code","b":[173,67,204],"m":"lda","oa":52291,"o":"death_countdown"},{"a":52081,"t":"code","b":[240,92],"m":"beq","oa":52175,"o":"b_CBCF"},{"a":52083,"t":"code","b":[48,90],"m":"bmi","oa":52175,"o":"b_CBCF"},{"a":52085,"t":"code","b":[201,127],"m":"cmp","o":"#$7F"},{"a":52087,"t":"code","b":[240,6],"m":"beq","oa":52095,"o":"b_CB7F"},{"a":52089,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":52091,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":52093,"t":"code","b":[208,70],"m":"bne","oa":52165,"o":"b_CBC5"},{"a":52095,"l":"b_CB7F","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[52087]},{"a":52097,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":52100,"t":"code","b":[173,98,252],"m":"lda","oa":64610,"o":"arrival_pixel_count"},{"a":52103,"t":"code","b":[24],"m":"clc"},{"a":52104,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":52106,"t":"code","b":[141,98,252],"m":"sta","oa":64610,"o":"arrival_pixel_count"},{"a":52109,"t":"code","b":[160,63],"m":"ldy","o":"#$3F"},{"a":52111,"l":"b_CB8F","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[52117]},{"a":52113,"t":"code","b":[153,0,120],"m":"sta","oa":30720,"o":"screen_a_and_save_block,y"},{"a":52116,"t":"code","b":[136],"m":"dey"},{"a":52117,"t":"code","b":[16,248],"m":"bpl","oa":52111,"o":"b_CB8F"},{"a":52119,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":52121,"l":"b_CB99","t":"code","b":[189,72,204],"m":"lda","oa":52296,"o":"death_copy_dest_lo,x","x":[52158]},{"a":52124,"t":"code","b":[133,92],"m":"sta","oa":92,"o":"tmp_ptr_b"},{"a":52126,"t":"code","b":[189,74,204],"m":"lda","oa":52298,"o":"death_copy_dest_hi,x"},{"a":52129,"t":"code","b":[133,93],"m":"sta","oa":93,"o":"tmp_ptr_b_hi"},{"a":52131,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":52133,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":52135,"t":"code","b":[189,69,204],"m":"lda","oa":52293,"o":"death_frame_top,x"},{"a":52138,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":52139,"t":"code","b":[102,90],"m":"ror","oa":90,"o":"tmp_ptr_a"},{"a":52141,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":52142,"t":"code","b":[102,90],"m":"ror","oa":90,"o":"tmp_ptr_a"},{"a":52144,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":52146,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":52148,"t":"code","b":[160,63],"m":"ldy","o":"#$3F"},{"a":52150,"l":"b_CBB6","t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y","x":[52155]},{"a":52152,"t":"code","b":[145,92],"m":"sta","oa":92,"o":"(tmp_ptr_b),y"},{"a":52154,"t":"code","b":[136],"m":"dey"},{"a":52155,"t":"code","b":[16,249],"m":"bpl","oa":52150,"o":"b_CBB6"},{"a":52157,"t":"code","b":[202],"m":"dex"},{"a":52158,"t":"code","b":[16,217],"m":"bpl","oa":52121,"o":"b_CB99"},{"a":52160,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":52162,"t":"code","b":[32,169,254],"m":"jsr","oa":65193,"o":"dissolve_sprite"},{"a":52165,"l":"b_CBC5","t":"code","b":[169,208],"m":"lda","o":"#$D0","x":[52093]},{"a":52167,"t":"code","b":[141,48,29],"m":"sta","oa":7472,"o":"obj_sprite"},{"a":52170,"t":"code","b":[169,225],"m":"lda","o":"#$E1"},{"a":52172,"t":"code","b":[141,49,29],"m":"sta","oa":7473,"o":"obj_sprite_1"},{"a":52175,"l":"b_CBCF","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[52081,52083]},{"a":52177,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":52180,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":52182,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":52185,"t":"code","b":[174,128,29],"m":"ldx","oa":7552,"o":"obj_holding"},{"a":52188,"t":"code","b":[165,251],"m":"lda","oa":251,"o":"car_riding"},{"a":52190,"t":"code","b":[16,4],"m":"bpl","oa":52196,"o":"b_CBE4"},{"a":52192,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":52194,"t":"code","b":[16,2],"m":"bpl","oa":52198,"o":"b_CBE6"},{"a":52196,"l":"b_CBE4","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[52190]},{"a":52198,"l":"b_CBE6","t":"code","b":[141,208,26],"m":"sta","oa":6864,"o":"obj_behind","x":[52194]},{"a":52201,"t":"code","b":[141,209,26],"m":"sta","oa":6865,"o":"obj_behind_1"},{"a":52204,"t":"code","b":[157,208,26],"m":"sta","oa":6864,"o":"obj_behind,x"},{"a":52207,"t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding"},{"a":52210,"t":"code","b":[240,12],"m":"beq","oa":52224,"o":"b_CC00"},{"a":52212,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":52214,"t":"code","b":[32,177,168],"m":"jsr","oa":43185,"o":"item_follow_holder"},{"a":52217,"t":"code","b":[165,138],"m":"lda","oa":138,"o":"doctor_facing"},{"a":52219,"t":"code","b":[240,3],"m":"beq","oa":52224,"o":"b_CC00"},{"a":52221,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":52224,"l":"b_CC00","t":"code","b":[173,68,204],"m":"lda","oa":52292,"o":"tile_bd_flag","x":[52210,52219]},{"a":52227,"t":"code","b":[240,16],"m":"beq","oa":52245,"o":"r_CC15"},{"a":52229,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":52231,"t":"code","b":[141,68,204],"m":"sta","oa":52292,"o":"tile_bd_flag"},{"a":52234,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":52236,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":52238,"t":"code","b":[208,5],"m":"bne","oa":52245,"o":"r_CC15"},{"a":52240,"t":"code","b":[162,41],"m":"ldx","o":"#$29"},{"a":52242,"t":"code","b":[76,218,129],"m":"jmp","oa":33242,"o":"sprite_list_add_object"},{"a":52245,"l":"r_CC15","t":"code","b":[96],"m":"rts","x":[52227,52238]},{"a":52246,"l":"doctor_frames_top_a","c":"Doctor sprite frames (upper sprite, object 0), direction bit 7 of $1DB0 set, 8 steps from X position bits.","t":"byte","b":[68,69,70,71,72,73,74,75],"x":[52390]},{"a":52254,"l":"doctor_frames_top_b","c":"Doctor upper sprite frames for the other direction (8 steps).","t":"byte","b":[83,76,77,78,79,80,81,82],"x":[52362]},{"a":52262,"l":"doctor_frames_climb_top","c":"Doctor upper sprite frames on a ladder (mode $0A path), 4 steps.","t":"byte","b":[84,88,84,90],"x":[52433]},{"a":52266,"l":"doctor_frames_low_a","c":"Doctor lower sprite frames (object 1, $1D31), first direction, 8 steps.","t":"byte","b":[92,93,94,95,96,97,98,99],"x":[52396]},{"a":52274,"l":"doctor_frames_low_b","c":"Doctor lower sprite frames, other direction, 8 steps.","t":"byte","b":[107,100,101,102,103,104,105,106],"x":[52368]},{"a":52282,"l":"doctor_frames_climb_low","c":"Doctor lower sprite frames on a ladder, 4 steps.","t":"byte","b":[108,110,108,114],"x":[52439]},{"a":52286,"l":"doctor_frame_low_holding_a","c":"Lower sprite frame ($74) when the Doctor holds an object ($1D80 non-zero), first direction.","t":"byte","b":[116],"x":[52407]},{"a":52287,"l":"doctor_frame_low_holding_b","c":"Lower sprite frame ($75) when holding an object, other direction.","t":"byte","b":[117],"x":[52379]},{"a":52288,"l":"fall_start_y_hi","c":"Doctor Y high byte when the current fall began (fall_track).","t":"byte","b":[255],"x":[52574,52586]},{"a":52289,"l":"fall_start_y_lo","c":"Doctor Y low byte when the current fall began.","t":"byte","b":[0],"x":[52568,52578]},{"a":52290,"l":"fall_tracking","c":"Non-zero while a fall is being measured; cleared at life end and on landing.","t":"byte","b":[0],"x":[51513,51792,52538,52562,52608]},{"a":52291,"l":"death_countdown","c":"Death sequence timer: $A0 when a death cause is set in $E8, counted down each frame by doctor_update.","t":"byte","b":[0],"x":[51405,51414,51417,51484,51510,52078]},{"a":52292,"l":"tile_bd_flag","c":"Set to 1 when the Doctor stands on tile $BD; doctor_draw then clears it and, on some frames, draws object $29.","t":"byte","b":[0],"x":[51830,52224,52231]},{"a":52293,"l":"death_frame_top","c":"The Doctor's upper sprite frame saved when the death sequence starts.","t":"byte","b":[0],"x":[51490,52135]},{"a":52294,"l":"death_frame_low","c":"The Doctor's lower sprite frame saved when the death sequence starts.","t":"byte","b":[0],"x":[51496]},{"a":52295,"l":"cc47_flag","c":"Flag, bit 7 tested at $C8B3 (JSR $FE23 when set); cleared by life_end_reset; also used at $FD5D-$FDD7. Meaning unknown.","t":"byte","b":[0],"x":[51379,51507,64861,64916,64983,65042,65094]},{"a":52296,"l":"death_copy_dest_lo","c":"Low bytes of the two sprite blocks the death sequence copies into ($7400, $7840).","t":"byte","b":[0,64],"x":[52121]},{"a":52298,"l":"death_copy_dest_hi","c":"High bytes of those destinations ($74, $78).","t":"byte","b":[116,120],"x":[52126]},{"a":52300,"l":"doctor_pick_frames","c":"Sets $1D30/$1D31 (Doctor's two sprites) by mode ($1B20) through the self-modified BPL at $CC54: walking frames by X position bits and facing ($1DB0, remembered in $8A), ladder frames by position, and a holding frame for the lower half when $1D80 is non-zero.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[52075]},{"a":52302,"t":"code","b":[173,32,27],"m":"lda","oa":6944,"o":"obj_state"},{"a":52305,"t":"code","b":[141,85,204],"m":"sta","oa":52309,"o":"doctor_frames_branch_offset"},{"a":52308,"l":"b_CC54","t":"code","b":[16,254],"m":"bpl","oa":52308,"o":"b_CC54","x":[52308]},{"a":52309,"t":"note","l":"doctor_frames_branch_offset","c":"Operand of the self-modified BPL at $CC54, written at $CC51 with the Doctor mode $1B20: 0 and $0C walk frames ($CC64), 2/4/6 by X position ($CC75), 8 ladder frames ($CCBE), $0A by facing ($CC6D). Code from here through $CCE1 is doctor_pick_frames.","note":"inside the item at $CC54","x":[52305]},{"a":52310,"t":"code","b":[16,12],"m":"bpl","oa":52324,"o":"b_CC64"},{"a":52312,"t":"code","b":[16,27],"m":"bpl","oa":52341,"o":"b_CC75"},{"a":52314,"t":"code","b":[16,25],"m":"bpl","oa":52341,"o":"b_CC75"},{"a":52316,"t":"code","b":[16,23],"m":"bpl","oa":52341,"o":"b_CC75"},{"a":52318,"t":"code","b":[16,94],"m":"bpl","oa":52414,"o":"b_CCBE"},{"a":52320,"t":"code","b":[16,11],"m":"bpl","oa":52333,"o":"b_CC6D"},{"a":52322,"t":"code","b":[16,125],"m":"bpl","oa":52449,"o":"r_CCE1"},{"a":52324,"l":"b_CC64","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[52310,52355]},{"a":52326,"t":"code","b":[165,138],"m":"lda","oa":138,"o":"doctor_facing"},{"a":52328,"t":"code","b":[48,56],"m":"bmi","oa":52386,"o":"b_CCA2"},{"a":52330,"t":"code","b":[208,26],"m":"bne","oa":52358,"o":"b_CC86"},{"a":52332,"t":"code","b":[96],"m":"rts"},{"a":52333,"l":"b_CC6D","t":"code","b":[173,176,29],"m":"lda","oa":7600,"o":"obj_facing","x":[52320]},{"a":52336,"t":"code","b":[48,48],"m":"bmi","oa":52386,"o":"b_CCA2"},{"a":52338,"t":"code","b":[208,18],"m":"bne","oa":52358,"o":"b_CC86"},{"a":52340,"t":"code","b":[96],"m":"rts"},{"a":52341,"l":"b_CC75","t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo","x":[52312,52314,52316]},{"a":52344,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":52346,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":52347,"t":"code","b":[168],"m":"tay"},{"a":52348,"t":"code","b":[173,176,29],"m":"lda","oa":7600,"o":"obj_facing"},{"a":52351,"t":"code","b":[48,33],"m":"bmi","oa":52386,"o":"b_CCA2"},{"a":52353,"t":"code","b":[208,3],"m":"bne","oa":52358,"o":"b_CC86"},{"a":52355,"t":"code","b":[76,100,204],"m":"jmp","oa":52324,"o":"b_CC64"},{"a":52358,"l":"b_CC86","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[52330,52338,52353]},{"a":52360,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"doctor_facing"},{"a":52362,"t":"code","b":[185,30,204],"m":"lda","oa":52254,"o":"doctor_frames_top_b,y"},{"a":52365,"t":"code","b":[141,48,29],"m":"sta","oa":7472,"o":"obj_sprite"},{"a":52368,"t":"code","b":[185,50,204],"m":"lda","oa":52274,"o":"doctor_frames_low_b,y"},{"a":52371,"t":"code","b":[141,49,29],"m":"sta","oa":7473,"o":"obj_sprite_1"},{"a":52374,"t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding"},{"a":52377,"t":"code","b":[240,70],"m":"beq","oa":52449,"o":"r_CCE1"},{"a":52379,"t":"code","b":[173,63,204],"m":"lda","oa":52287,"o":"doctor_frame_low_holding_b"},{"a":52382,"t":"code","b":[141,49,29],"m":"sta","oa":7473,"o":"obj_sprite_1"},{"a":52385,"t":"code","b":[96],"m":"rts"},{"a":52386,"l":"b_CCA2","t":"code","b":[169,129],"m":"lda","o":"#$81","x":[52328,52336,52351]},{"a":52388,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"doctor_facing"},{"a":52390,"t":"code","b":[185,22,204],"m":"lda","oa":52246,"o":"doctor_frames_top_a,y"},{"a":52393,"t":"code","b":[141,48,29],"m":"sta","oa":7472,"o":"obj_sprite"},{"a":52396,"t":"code","b":[185,42,204],"m":"lda","oa":52266,"o":"doctor_frames_low_a,y"},{"a":52399,"t":"code","b":[141,49,29],"m":"sta","oa":7473,"o":"obj_sprite_1"},{"a":52402,"t":"code","b":[173,128,29],"m":"lda","oa":7552,"o":"obj_holding"},{"a":52405,"t":"code","b":[240,42],"m":"beq","oa":52449,"o":"r_CCE1"},{"a":52407,"t":"code","b":[173,62,204],"m":"lda","oa":52286,"o":"doctor_frame_low_holding_a"},{"a":52410,"t":"code","b":[141,49,29],"m":"sta","oa":7473,"o":"obj_sprite_1"},{"a":52413,"t":"code","b":[96],"m":"rts"},{"a":52414,"l":"b_CCBE","t":"code","b":[173,176,29],"m":"lda","oa":7600,"o":"obj_facing","x":[52318]},{"a":52417,"t":"code","b":[240,6],"m":"beq","oa":52425,"o":"b_CCC9"},{"a":52419,"t":"code","b":[173,112,27],"m":"lda","oa":7024,"o":"obj_x_lo"},{"a":52422,"t":"code","b":[76,204,204],"m":"jmp","oa":52428,"o":"j_CCCC"},{"a":52425,"l":"b_CCC9","t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo","x":[52417]},{"a":52428,"l":"j_CCCC","t":"code","b":[41,15],"m":"and","o":"#$0F","x":[52422]},{"a":52430,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":52431,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":52432,"t":"code","b":[168],"m":"tay"},{"a":52433,"t":"code","b":[185,38,204],"m":"lda","oa":52262,"o":"doctor_frames_climb_top,y"},{"a":52436,"t":"code","b":[141,48,29],"m":"sta","oa":7472,"o":"obj_sprite"},{"a":52439,"t":"code","b":[185,58,204],"m":"lda","oa":52282,"o":"doctor_frames_climb_low,y"},{"a":52442,"t":"code","b":[141,49,29],"m":"sta","oa":7473,"o":"obj_sprite_1"},{"a":52445,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":52447,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"doctor_facing"},{"a":52449,"l":"r_CCE1","t":"code","b":[96],"m":"rts","x":[52322,52377,52405]},{"a":52450,"l":"doctor_ride_platform","c":"When the Doctor, moving up, is within $14 x 8 of object $39 ($E7=$FF, mode $0A): moves him with it; ends ($E7=0, mode 0) when he leaves it or lands.","t":"code","b":[160,57],"m":"ldy","o":"#$39","x":[51562,51618]},{"a":52452,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":52455,"t":"code","b":[32,133,153],"m":"jsr","oa":39301,"o":"next_x_from_cb"},{"a":52458,"t":"code","b":[32,184,153],"m":"jsr","oa":39352,"o":"next_y_from_cc"},{"a":52461,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":52463,"t":"code","b":[48,24],"m":"bmi","oa":52489,"o":"b_CD09"},{"a":52465,"t":"code","b":[208,38],"m":"bne","oa":52505,"o":"b_CD19"},{"a":52467,"l":"b_CCF3","t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo","x":[52491,52502,52519,52525]},{"a":52469,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":52471,"t":"code","b":[176,55],"m":"bcs","oa":52528,"o":"b_CD30"},{"a":52473,"t":"code","b":[32,200,158],"m":"jsr","oa":40648,"o":"move_object_general"},{"a":52476,"t":"code","b":[165,117],"m":"lda","oa":117,"o":"move_blocked"},{"a":52478,"t":"code","b":[16,6],"m":"bpl","oa":52486,"o":"b_CD06"},{"a":52480,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":52482,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":52484,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":52486,"l":"b_CD06","t":"code","b":[76,80,202],"m":"jmp","oa":51792,"o":"j_CA50","x":[52478]},{"a":52489,"l":"b_CD09","t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo","x":[52463]},{"a":52491,"t":"code","b":[208,230],"m":"bne","oa":52467,"o":"b_CCF3"},{"a":52493,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":52495,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":52497,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"event_flag_e7"},{"a":52499,"t":"code","b":[141,32,27],"m":"sta","oa":6944,"o":"obj_state"},{"a":52502,"t":"code","b":[76,243,204],"m":"jmp","oa":52467,"o":"b_CCF3"},{"a":52505,"l":"b_CD19","t":"code","b":[32,237,153],"m":"jsr","oa":39405,"o":"check_up_blocked","x":[52465]},{"a":52508,"t":"code","b":[173,32,27],"m":"lda","oa":6944,"o":"obj_state"},{"a":52511,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":52513,"t":"code","b":[240,13],"m":"beq","oa":52528,"o":"b_CD30"},{"a":52515,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":52517,"t":"code","b":[201,80],"m":"cmp","o":"#$50"},{"a":52519,"t":"code","b":[144,202],"m":"bcc","oa":52467,"o":"b_CCF3"},{"a":52521,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":52523,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":52525,"t":"code","b":[76,243,204],"m":"jmp","oa":52467,"o":"b_CCF3"},{"a":52528,"l":"b_CD30","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[52471,52513]},{"a":52530,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"event_flag_e7"},{"a":52532,"t":"code","b":[141,32,27],"m":"sta","oa":6944,"o":"obj_state"},{"a":52535,"t":"code","b":[76,80,202],"m":"jmp","oa":51792,"o":"j_CA50"},{"a":52538,"l":"fall_track","c":"Starts measuring when vertical motion ($CC) begins with $F7 zero (stores Y in fall_start_*); when motion stops or $F7 is set, checks with fall_check.","t":"code","b":[173,66,204],"m":"lda","oa":52290,"o":"fall_tracking","x":[51767,51786]},{"a":52541,"t":"code","b":[240,9],"m":"beq","oa":52552,"o":"b_CD48"},{"a":52543,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":52545,"t":"code","b":[240,31],"m":"beq","oa":52578,"o":"fall_check"},{"a":52547,"t":"code","b":[165,247],"m":"lda","oa":247,"o":"lift_riding"},{"a":52549,"t":"code","b":[208,27],"m":"bne","oa":52578,"o":"fall_check"},{"a":52551,"t":"code","b":[96],"m":"rts"},{"a":52552,"l":"b_CD48","t":"code","b":[165,247],"m":"lda","oa":247,"o":"lift_riding","x":[52541]},{"a":52554,"t":"code","b":[208,21],"m":"bne","oa":52577,"o":"r_CD61"},{"a":52556,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":52558,"t":"code","b":[240,17],"m":"beq","oa":52577,"o":"r_CD61"},{"a":52560,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":52562,"t":"code","b":[141,66,204],"m":"sta","oa":52290,"o":"fall_tracking"},{"a":52565,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":52568,"t":"code","b":[141,65,204],"m":"sta","oa":52289,"o":"fall_start_y_lo"},{"a":52571,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":52574,"t":"code","b":[141,64,204],"m":"sta","oa":52288,"o":"fall_start_y_hi"},{"a":52577,"l":"r_CD61","t":"code","b":[96],"m":"rts","x":[52554,52558]},{"a":52578,"l":"fall_check","c":"Distance fallen = fall_start - current Y (in fall_dist_*). $60 or more (or any high byte): sound 5 and $E8=$0C (A FALL). Clears fall_tracking.","t":"code","b":[173,65,204],"m":"lda","oa":52289,"o":"fall_start_y_lo","x":[51797,52545,52549]},{"a":52581,"t":"code","b":[56],"m":"sec"},{"a":52582,"t":"code","b":[237,16,28],"m":"sbc","oa":7184,"o":"obj_y_lo"},{"a":52585,"t":"code","b":[168],"m":"tay"},{"a":52586,"t":"code","b":[173,64,204],"m":"lda","oa":52288,"o":"fall_start_y_hi"},{"a":52589,"t":"code","b":[237,96,28],"m":"sbc","oa":7264,"o":"obj_y_hi"},{"a":52592,"t":"code","b":[141,144,205],"m":"sta","oa":52624,"o":"fall_dist_hi"},{"a":52595,"t":"code","b":[48,9],"m":"bmi","oa":52606,"o":"b_CD7E"},{"a":52597,"t":"code","b":[208,13],"m":"bne","oa":52612,"o":"b_CD84"},{"a":52599,"t":"code","b":[192,96],"m":"cpy","o":"#$60"},{"a":52601,"t":"code","b":[140,143,205],"m":"sty","oa":52623,"o":"fall_dist_lo"},{"a":52604,"t":"code","b":[176,6],"m":"bcs","oa":52612,"o":"b_CD84"},{"a":52606,"l":"b_CD7E","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[52595,52621]},{"a":52608,"t":"code","b":[141,66,204],"m":"sta","oa":52290,"o":"fall_tracking"},{"a":52611,"t":"code","b":[96],"m":"rts"},{"a":52612,"l":"b_CD84","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[52597,52604]},{"a":52614,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":52617,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":52619,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":52621,"t":"code","b":[16,239],"m":"bpl","oa":52606,"o":"b_CD7E"},{"a":52623,"l":"fall_dist_lo","c":"Scratch: fall distance low byte (written, not read back).","t":"code","b":[0],"m":"brk","x":[52601]},{"a":52624,"l":"fall_dist_hi","c":"Scratch: fall distance high byte.","t":"code","b":[0],"m":"brk","x":[52592]},{"a":52625,"l":"r_CD91","t":"code","b":[96],"m":"rts","x":[52639]},{"a":52626,"l":"controller_state3","c":"State 3: sets $1850,X=2 and moves on.","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[52648,52732]},{"a":52628,"t":"code","b":[157,80,24],"m":"sta","oa":6224,"o":"obj_colour,x"},{"a":52631,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":52634,"l":"controllers_update","c":"Main-loop subsystem: objects $28 down to $10 (the controllers/robots, by the death message they cause). Each, unless $1CB0 negative or $14: state 3 -> controller_state3; on its turn, if object $35 is free ($1B55=0) and within $0A on X, stops; else dispatch by state (controller_state_dispatch).","t":"code","b":[162,41],"m":"ldx","o":"#$29","x":[29849]},{"a":52636,"l":"b_CD9C","t":"code","b":[202],"m":"dex","x":[52644,52652,53235]},{"a":52637,"t":"code","b":[224,15],"m":"cpx","o":"#$0F"},{"a":52639,"t":"code","b":[240,240],"m":"beq","oa":52625,"o":"r_CD91"},{"a":52641,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":52644,"t":"code","b":[48,246],"m":"bmi","oa":52636,"o":"b_CD9C"},{"a":52646,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":52648,"t":"code","b":[240,232],"m":"beq","oa":52626,"o":"controller_state3"},{"a":52650,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":52652,"t":"code","b":[240,238],"m":"beq","oa":52636,"o":"b_CD9C"},{"a":52654,"t":"code","b":[32,110,164],"m":"jsr","oa":42094,"o":"object_step_due"},{"a":52657,"t":"code","b":[152],"m":"tya"},{"a":52658,"t":"code","b":[240,34],"m":"beq","oa":52694,"o":"b_CDD6"},{"a":52660,"t":"code","b":[16,3],"m":"bpl","oa":52665,"o":"b_CDB9"},{"a":52662,"t":"code","b":[76,174,207],"m":"jmp","oa":53166,"o":"controller_pick_frame"},{"a":52665,"l":"b_CDB9","t":"code","b":[189,138,119],"m":"lda","oa":30602,"o":"f_778A,x","x":[52660]},{"a":52668,"t":"code","b":[48,18],"m":"bmi","oa":52688,"o":"b_CDD0"},{"a":52670,"t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x"},{"a":52673,"t":"code","b":[208,13],"m":"bne","oa":52688,"o":"b_CDD0"},{"a":52675,"t":"code","b":[189,189,119],"m":"lda","oa":30653,"o":"f_77BD,x"},{"a":52678,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":52680,"t":"code","b":[157,189,119],"m":"sta","oa":30653,"o":"f_77BD,x"},{"a":52683,"t":"code","b":[208,3],"m":"bne","oa":52688,"o":"b_CDD0"},{"a":52685,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":52688,"l":"b_CDD0","t":"code","b":[32,164,164],"m":"jsr","oa":42148,"o":"object_step_pixel","x":[52668,52673,52683]},{"a":52691,"t":"code","b":[76,174,207],"m":"jmp","oa":53166,"o":"controller_pick_frame"},{"a":52694,"l":"b_CDD6","t":"code","b":[173,85,27],"m":"lda","oa":6997,"o":"obj_state_35","x":[52658]},{"a":52697,"t":"code","b":[208,22],"m":"bne","oa":52721,"o":"b_CDF1"},{"a":52699,"t":"code","b":[160,53],"m":"ldy","o":"#$35"},{"a":52701,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":52704,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"dir_y"},{"a":52706,"t":"code","b":[208,13],"m":"bne","oa":52721,"o":"b_CDF1"},{"a":52708,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":52710,"t":"code","b":[208,9],"m":"bne","oa":52721,"o":"b_CDF1"},{"a":52712,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":52714,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":52716,"t":"code","b":[176,3],"m":"bcs","oa":52721,"o":"b_CDF1"},{"a":52718,"t":"code","b":[76,120,206],"m":"jmp","oa":52856,"o":"controller_stop"},{"a":52721,"l":"b_CDF1","t":"code","b":[189,176,28],"m":"lda","oa":7344,"o":"obj_flags,x","x":[52697,52706,52710,52716]},{"a":52724,"t":"code","b":[141,248,205],"m":"sta","oa":52728,"o":"controller_state_branch_offset"},{"a":52727,"l":"controller_state_dispatch","c":"Self-modified BPL: $CDF4 stores $1CB0,X as its offset: 0 patrol ($CE83), 3 $CD92, 6 RTS ($CE77, ends the whole loop), 9 controller_wait, $0C stop, $0F controller_touch ($CE08).","t":"code","b":[16,254],"m":"bpl","oa":52727,"o":"controller_state_dispatch","x":[52727]},{"a":52728,"t":"note","l":"controller_state_branch_offset","c":"Operand of the self-modified BPL at $CDF7, written at $CDF4 with a controller state $1CB0,X; followed by the JMP table $CDF9-$CE07.","note":"inside the item at $CDF7","x":[52724]},{"a":52729,"t":"code","b":[76,131,206],"m":"jmp","oa":52867,"o":"controller_patrol"},{"a":52732,"t":"code","b":[76,146,205],"m":"jmp","oa":52626,"o":"controller_state3"},{"a":52735,"t":"code","b":[76,119,206],"m":"jmp","oa":52855,"o":"controller_state6"},{"a":52738,"t":"code","b":[76,36,207],"m":"jmp","oa":53028,"o":"controller_wait"},{"a":52741,"t":"code","b":[76,120,206],"m":"jmp","oa":52856,"o":"controller_stop"},{"a":52744,"l":"controller_touch","c":"State $0F, reached only through the dispatch. Near the Doctor (within $14 x $19): a type-1 controller ($778A,X) with $50 not negative and the Doctor's Y AND $0F = 8 is disabled (state 9, $50=$79); otherwise the Doctor is shocked: $1850=$1851=1, sound $10, $E8=$0A (A SHOCK FROM A CONTROLLER). Further away it keeps moving or goes back to state 0.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":52746,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":52749,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":52751,"t":"code","b":[208,91],"m":"bne","oa":52844,"o":"b_CE6C"},{"a":52753,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":52755,"t":"code","b":[208,87],"m":"bne","oa":52844,"o":"b_CE6C"},{"a":52757,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":52759,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":52761,"t":"code","b":[176,66],"m":"bcs","oa":52829,"o":"b_CE5D"},{"a":52763,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":52765,"t":"code","b":[201,25],"m":"cmp","o":"#$19"},{"a":52767,"t":"code","b":[176,60],"m":"bcs","oa":52829,"o":"b_CE5D"},{"a":52769,"t":"code","b":[189,138,119],"m":"lda","oa":30602,"o":"f_778A,x"},{"a":52772,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":52774,"t":"code","b":[208,30],"m":"bne","oa":52806,"o":"b_CE46"},{"a":52776,"t":"code","b":[165,80],"m":"lda","oa":80,"o":"event_flag_50"},{"a":52778,"t":"code","b":[48,26],"m":"bmi","oa":52806,"o":"b_CE46"},{"a":52780,"t":"code","b":[173,16,28],"m":"lda","oa":7184,"o":"obj_y_lo"},{"a":52783,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":52785,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":52787,"t":"code","b":[208,9],"m":"bne","oa":52798,"o":"b_CE3E"},{"a":52789,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":52791,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":52794,"t":"code","b":[169,121],"m":"lda","o":"#$79"},{"a":52796,"t":"code","b":[133,80],"m":"sta","oa":80,"o":"event_flag_50"},{"a":52798,"l":"b_CE3E","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[52787]},{"a":52800,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":52803,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":52806,"l":"b_CE46","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[52774,52778]},{"a":52808,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":52811,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":52813,"t":"code","b":[141,80,24],"m":"sta","oa":6224,"o":"obj_colour"},{"a":52816,"t":"code","b":[141,81,24],"m":"sta","oa":6225,"o":"obj_colour_1"},{"a":52819,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":52821,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":52824,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":52826,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"event_code"},{"a":52828,"t":"code","b":[96],"m":"rts"},{"a":52829,"l":"b_CE5D","t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo","x":[52761,52767]},{"a":52831,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":52833,"t":"code","b":[176,9],"m":"bcs","oa":52844,"o":"b_CE6C"},{"a":52835,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":52837,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":52839,"t":"code","b":[176,3],"m":"bcs","oa":52844,"o":"b_CE6C"},{"a":52841,"t":"code","b":[76,87,207],"m":"jmp","oa":53079,"o":"controller_move"},{"a":52844,"l":"b_CE6C","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[52751,52755,52833,52839]},{"a":52846,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":52849,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":52852,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":52855,"l":"controller_state6","c":"State 6: RTS, which leaves controllers_update at once (objects below this one are not run that frame).","t":"code","b":[96],"m":"rts","x":[52735]},{"a":52856,"l":"controller_stop","c":"Clears the object's direction ($1DB0/$1DE0,X).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[52718,52741]},{"a":52858,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":52861,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":52864,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":52867,"l":"controller_patrol","c":"State 0: if $E8 is 0 and the Doctor is within range ($7771,X on X when facing him, else $40, and $20/$10 on Y), goes to state $0F. Otherwise follows its waypoint list ($7726/$773F,X, last index $7758,X) like patrol_think.","t":"code","b":[165,232],"m":"lda","oa":232,"o":"event_code","x":[52729]},{"a":52869,"t":"code","b":[240,3],"m":"beq","oa":52874,"o":"b_CE8A"},{"a":52871,"t":"code","b":[76,204,206],"m":"jmp","oa":52940,"o":"j_CECC"},{"a":52874,"l":"b_CE8A","t":"code","b":[165,80],"m":"lda","oa":80,"o":"event_flag_50","x":[52869]},{"a":52876,"t":"code","b":[240,7],"m":"beq","oa":52885,"o":"b_CE95"},{"a":52878,"t":"code","b":[173,11,29],"m":"lda","oa":7435,"o":"cell_state_b"},{"a":52881,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":52883,"t":"code","b":[208,55],"m":"bne","oa":52940,"o":"j_CECC"},{"a":52885,"l":"b_CE95","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[52876]},{"a":52887,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":52890,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":52892,"t":"code","b":[208,46],"m":"bne","oa":52940,"o":"j_CECC"},{"a":52894,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":52896,"t":"code","b":[208,42],"m":"bne","oa":52940,"o":"j_CECC"},{"a":52898,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":52901,"t":"code","b":[197,221],"m":"cmp","oa":221,"o":"dir_x"},{"a":52903,"t":"code","b":[208,15],"m":"bne","oa":52920,"o":"b_CEB8"},{"a":52905,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":52907,"t":"code","b":[221,113,119],"m":"cmp","oa":30577,"o":"f_7771,x"},{"a":52910,"t":"code","b":[176,28],"m":"bcs","oa":52940,"o":"j_CECC"},{"a":52912,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":52914,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":52916,"t":"code","b":[176,22],"m":"bcs","oa":52940,"o":"j_CECC"},{"a":52918,"t":"code","b":[144,12],"m":"bcc","oa":52932,"o":"b_CEC4"},{"a":52920,"l":"b_CEB8","t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo","x":[52903]},{"a":52922,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":52924,"t":"code","b":[176,14],"m":"bcs","oa":52940,"o":"j_CECC"},{"a":52926,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":52928,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":52930,"t":"code","b":[176,8],"m":"bcs","oa":52940,"o":"j_CECC"},{"a":52932,"l":"b_CEC4","t":"code","b":[169,15],"m":"lda","o":"#$0F","x":[52918]},{"a":52934,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":52937,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":52940,"l":"j_CECC","t":"code","b":[188,128,29],"m":"ldy","oa":7552,"o":"obj_holding,x","x":[52871,52883,52892,52896,52910,52916,52924,52930]},{"a":52943,"t":"code","b":[189,38,119],"m":"lda","oa":30502,"o":"route_ptr_lo_base,x"},{"a":52946,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":52948,"t":"code","b":[189,63,119],"m":"lda","oa":30527,"o":"f_773F,x"},{"a":52951,"t":"code","b":[133,91],"m":"sta","oa":91,"o":"tmp_ptr_a_hi"},{"a":52953,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":52955,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":52957,"t":"code","b":[200],"m":"iny"},{"a":52958,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":52960,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":52962,"t":"code","b":[200],"m":"iny"},{"a":52963,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":52965,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":52967,"t":"code","b":[200],"m":"iny"},{"a":52968,"t":"code","b":[177,90],"m":"lda","oa":90,"o":"(tmp_ptr_a),y"},{"a":52970,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":52972,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":52975,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":52977,"t":"code","b":[208,100],"m":"bne","oa":53079,"o":"controller_move"},{"a":52979,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":52981,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":52983,"t":"code","b":[176,94],"m":"bcs","oa":53079,"o":"controller_move"},{"a":52985,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":52987,"t":"code","b":[208,90],"m":"bne","oa":53079,"o":"controller_move"},{"a":52989,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":52991,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":52993,"t":"code","b":[176,84],"m":"bcs","oa":53079,"o":"controller_move"},{"a":52995,"t":"code","b":[189,128,29],"m":"lda","oa":7552,"o":"obj_holding,x"},{"a":52998,"t":"code","b":[221,88,119],"m":"cmp","oa":30552,"o":"f_7758,x"},{"a":53001,"t":"code","b":[240,14],"m":"beq","oa":53017,"o":"b_CF19"},{"a":53003,"t":"code","b":[24],"m":"clc"},{"a":53004,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":53006,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":53009,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":53011,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":53014,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":53017,"l":"b_CF19","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[53001]},{"a":53019,"t":"code","b":[157,128,29],"m":"sta","oa":7552,"o":"obj_holding,x"},{"a":53022,"t":"code","b":[157,48,30],"m":"sta","oa":7728,"o":"chase_dir,x"},{"a":53025,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":53028,"l":"controller_wait","c":"State 9: while $50 is not negative and the Doctor is within $28 x $10, stays. $50 negative: $AE02 with Y=$0B, A=$F1 and back to state 0. Else moves (controller_move).","t":"code","b":[165,80],"m":"lda","oa":80,"o":"event_flag_50","x":[52738]},{"a":53030,"t":"code","b":[48,28],"m":"bmi","oa":53060,"o":"b_CF44"},{"a":53032,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":53034,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":53037,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":53039,"t":"code","b":[208,38],"m":"bne","oa":53079,"o":"controller_move"},{"a":53041,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":53043,"t":"code","b":[208,34],"m":"bne","oa":53079,"o":"controller_move"},{"a":53045,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":53047,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":53049,"t":"code","b":[176,28],"m":"bcs","oa":53079,"o":"controller_move"},{"a":53051,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":53053,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":53055,"t":"code","b":[176,22],"m":"bcs","oa":53079,"o":"controller_move"},{"a":53057,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":53060,"l":"b_CF44","t":"code","b":[160,11],"m":"ldy","o":"#$0B","x":[53030]},{"a":53062,"t":"code","b":[138],"m":"txa"},{"a":53063,"t":"code","b":[72],"m":"pha"},{"a":53064,"t":"code","b":[169,241],"m":"lda","o":"#$F1"},{"a":53066,"t":"code","b":[32,2,174],"m":"jsr","oa":44546,"o":"switch_set_tile"},{"a":53069,"t":"code","b":[104],"m":"pla"},{"a":53070,"t":"code","b":[170],"m":"tax"},{"a":53071,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":53073,"t":"code","b":[157,176,28],"m":"sta","oa":7344,"o":"obj_flags,x"},{"a":53076,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":53079,"l":"controller_move","c":"Moves a controller by its mode through the self-modified BPL at $CF65 (0, 2 $9A39, 4 $9BCE, 6 $9C5F), stores position and direction.","t":"code","b":[32,224,172],"m":"jsr","oa":44256,"o":"chase_direction","x":[52841,52977,52983,52987,52993,53039,53043,53049,53055]},{"a":53082,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":53084,"t":"code","b":[157,189,119],"m":"sta","oa":30653,"o":"f_77BD,x"},{"a":53087,"t":"code","b":[189,32,27],"m":"lda","oa":6944,"o":"obj_state,x"},{"a":53090,"t":"code","b":[141,102,207],"m":"sta","oa":53094,"o":"controller_mode_branch_offset"},{"a":53093,"l":"b_CF65","t":"code","b":[16,254],"m":"bpl","oa":53093,"o":"b_CF65","x":[53093]},{"a":53094,"t":"note","l":"controller_mode_branch_offset","c":"Operand of the self-modified BPL at $CF65, written at $CF62 with a controller mode $1B20,X; the code after it moves the controller and stores its position and direction.","note":"inside the item at $CF65","x":[53090]},{"a":53095,"t":"code","b":[16,6],"m":"bpl","oa":53103,"o":"b_CF6F"},{"a":53097,"t":"code","b":[16,11],"m":"bpl","oa":53110,"o":"b_CF76"},{"a":53099,"t":"code","b":[16,15],"m":"bpl","oa":53116,"o":"b_CF7C"},{"a":53101,"t":"code","b":[16,19],"m":"bpl","oa":53122,"o":"b_CF82"},{"a":53103,"l":"b_CF6F","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[53095]},{"a":53105,"t":"code","b":[208,3],"m":"bne","oa":53110,"o":"b_CF76"},{"a":53107,"t":"code","b":[76,240,207],"m":"jmp","oa":53232,"o":"controller_next"},{"a":53110,"l":"b_CF76","t":"code","b":[32,57,154],"m":"jsr","oa":39481,"o":"move_walk","x":[53097,53105]},{"a":53113,"t":"code","b":[76,133,207],"m":"jmp","oa":53125,"o":"j_CF85"},{"a":53116,"l":"b_CF7C","t":"code","b":[32,206,155],"m":"jsr","oa":39886,"o":"move_turn_or_walk","x":[53099]},{"a":53119,"t":"code","b":[76,133,207],"m":"jmp","oa":53125,"o":"j_CF85"},{"a":53122,"l":"b_CF82","t":"code","b":[32,95,156],"m":"jsr","oa":40031,"o":"move_climb_up","x":[53101]},{"a":53125,"l":"j_CF85","t":"code","b":[32,22,173],"m":"jsr","oa":44310,"o":"creature_blocked","x":[53113,53119]},{"a":53128,"t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x"},{"a":53130,"t":"code","b":[240,10],"m":"beq","oa":53142,"o":"b_CF96"},{"a":53132,"t":"code","b":[165,96],"m":"lda","oa":96,"o":"pos_x_lo"},{"a":53134,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":53137,"t":"code","b":[165,97],"m":"lda","oa":97,"o":"pos_x_hi"},{"a":53139,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":53142,"l":"b_CF96","t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y","x":[53130]},{"a":53144,"t":"code","b":[240,10],"m":"beq","oa":53156,"o":"b_CFA4"},{"a":53146,"t":"code","b":[165,98],"m":"lda","oa":98,"o":"pos_y_lo"},{"a":53148,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":53151,"t":"code","b":[165,99],"m":"lda","oa":99,"o":"pos_y_hi"},{"a":53153,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":53156,"l":"b_CFA4","t":"code","b":[165,203],"m":"lda","oa":203,"o":"move_x","x":[53144]},{"a":53158,"t":"code","b":[157,176,29],"m":"sta","oa":7600,"o":"obj_facing,x"},{"a":53161,"t":"code","b":[165,204],"m":"lda","oa":204,"o":"move_y"},{"a":53163,"t":"code","b":[157,224,29],"m":"sta","oa":7648,"o":"obj_vert_state,x"},{"a":53166,"l":"controller_pick_frame","c":"Sprite frame for a controller from $77B3/$77B7/$77BB/$77C4 by X position bits, direction and the animation counter $77D6,X.","t":"code","b":[189,112,27],"m":"lda","oa":7024,"o":"obj_x_lo,x","x":[52662,52691]},{"a":53169,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":53171,"t":"code","b":[168],"m":"tay"},{"a":53172,"t":"code","b":[189,176,29],"m":"lda","oa":7600,"o":"obj_facing,x"},{"a":53175,"t":"code","b":[48,28],"m":"bmi","oa":53205,"o":"b_CFD5"},{"a":53177,"t":"code","b":[189,214,119],"m":"lda","oa":30678,"o":"f_77D6,x"},{"a":53180,"t":"code","b":[16,18],"m":"bpl","oa":53200,"o":"b_CFD0"},{"a":53182,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":53184,"t":"code","b":[168],"m":"tay"},{"a":53185,"t":"code","b":[222,214,119],"m":"dec","oa":30678,"o":"f_77D6,x"},{"a":53188,"t":"code","b":[48,5],"m":"bmi","oa":53195,"o":"b_CFCB"},{"a":53190,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":53192,"t":"code","b":[157,214,119],"m":"sta","oa":30678,"o":"f_77D6,x"},{"a":53195,"l":"b_CFCB","t":"code","b":[185,196,119],"m":"lda","oa":30660,"o":"f_77C4,y","x":[53188]},{"a":53198,"t":"code","b":[208,29],"m":"bne","oa":53229,"o":"b_CFED"},{"a":53200,"l":"b_CFD0","t":"code","b":[185,183,119],"m":"lda","oa":30647,"o":"f_77B7,y","x":[53180]},{"a":53203,"t":"code","b":[208,24],"m":"bne","oa":53229,"o":"b_CFED"},{"a":53205,"l":"b_CFD5","t":"code","b":[189,214,119],"m":"lda","oa":30678,"o":"f_77D6,x","x":[53175]},{"a":53208,"t":"code","b":[48,16],"m":"bmi","oa":53226,"o":"b_CFEA"},{"a":53210,"t":"code","b":[168],"m":"tay"},{"a":53211,"t":"code","b":[222,214,119],"m":"dec","oa":30678,"o":"f_77D6,x"},{"a":53214,"t":"code","b":[16,5],"m":"bpl","oa":53221,"o":"b_CFE5"},{"a":53216,"t":"code","b":[169,136],"m":"lda","o":"#$88"},{"a":53218,"t":"code","b":[157,214,119],"m":"sta","oa":30678,"o":"f_77D6,x"},{"a":53221,"l":"b_CFE5","t":"code","b":[185,187,119],"m":"lda","oa":30651,"o":"f_77BB,y","x":[53214]},{"a":53224,"t":"code","b":[208,3],"m":"bne","oa":53229,"o":"b_CFED"},{"a":53226,"l":"b_CFEA","t":"code","b":[185,179,119],"m":"lda","oa":30643,"o":"entity_anim_frames,y","x":[53208]},{"a":53229,"l":"b_CFED","t":"code","b":[157,48,29],"m":"sta","oa":7472,"o":"obj_sprite,x","x":[53198,53203,53224]},{"a":53232,"l":"controller_next","c":"Draws the object ($81DA) and loops to the next one.","t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object","x":[52631,52685,52803,52852,52864,52937,53014,53025,53057,53076,53107]},{"a":53235,"t":"code","b":[76,156,205],"m":"jmp","oa":52636,"o":"b_CD9C"},{"a":53238,"l":"fill_cff6","c":"Ten $0D filler bytes after controller_next, the end of the code; nothing reads them.","t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":53246,"t":"byte","b":[13,13]},{"a":53248,"t":"gap","n":4096},{"a":53632,"t":"note","l":"f_D180","c":"Character ROM digits '0'-'9' (chars $30-$39), read at $4914 with the ROM banked in; I/O at $D180 during play.","note":"outside the tracked image"},{"a":53736,"t":"note","l":"f_D1E8","c":"Character ROM '=' glyph (char $3D), read at $4921 with the ROM banked in.","note":"outside the tracked image"},{"a":55296,"t":"note","l":"f_D800","c":"Colour RAM: game_entry writes the 4 status rows $D800-$D89F from $4F00.","note":"outside the tracked image"},{"a":55336,"t":"note","l":"f_D828","c":"Colour RAM row 1 ($D828), referenced by code outside this range.","note":"outside the tracked image"},{"a":57344,"l":"map_e000","c":"The cavern map, part 1 of 7 ($E000-$FBFF): 56 rows of 128 block numbers, one byte per 4x4-character block (block shapes at $3000 via $1400/$1500). Row r starts at $FB80 - r*$80 (pointers $0A80/$0AC0), so this kilobyte holds map rows 48-55, counted from the row at $FB80. World Y grows upward.","t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":57352,"t":"byte","b":[250,250,250,250,250,250,31,31]},{"a":57360,"t":"byte","b":[31,31,31,31,31,31,31,31]},{"a":57368,"t":"byte","b":[31,31,31,250,250,250,250,250]},{"a":57376,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57384,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57392,"t":"byte","b":[250,250,250,250,250,250,31,31]},{"a":57400,"t":"byte","b":[31,31,31,31,31,31,31,31]},{"a":57408,"t":"byte","b":[31,31,31,31,31,31,31,31]},{"a":57416,"t":"byte","b":[31,31,250,250,250,250,250,250]},{"a":57424,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57432,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57440,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57448,"t":"byte","b":[31,31,250,250,31,31,250,250]},{"a":57456,"t":"byte","b":[31,31,250,250,31,31,31,250]},{"a":57464,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57472,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":57480,"t":"byte","b":[250,250,250,250,45,46,30,107]},{"a":57488,"t":"byte","b":[19,18,107,18,107,18,107,18]},{"a":57496,"t":"byte","b":[19,107,56,48,49,250,250,250]},{"a":57504,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57512,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57520,"t":"byte","b":[250,250,250,250,45,46,30,18]},{"a":57528,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":57536,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":57544,"t":"byte","b":[18,56,48,49,250,250,250,250]},{"a":57552,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57560,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57568,"t":"byte","b":[250,250,250,250,250,250,250,44]},{"a":57576,"t":"byte","b":[47,47,50,44,47,47,50,44]},{"a":57584,"t":"byte","b":[47,47,50,44,30,18,18,48]},{"a":57592,"t":"byte","b":[49,250,250,250,250,250,250,250]},{"a":57600,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":57608,"t":"byte","b":[250,250,250,44,30,107,14,101]},{"a":57616,"t":"byte","b":[118,47,88,28,95,28,99,101]},{"a":57624,"t":"byte","b":[118,101,21,107,56,50,250,250]},{"a":57632,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57640,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57648,"t":"byte","b":[250,250,250,44,28,7,13,183]},{"a":57656,"t":"byte","b":[183,7,183,183,183,87,136,47]},{"a":57664,"t":"byte","b":[47,47,135,8,183,183,183,7]},{"a":57672,"t":"byte","b":[183,13,11,28,50,250,250,250]},{"a":57680,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57688,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57696,"t":"byte","b":[250,250,250,250,250,250,250,11]},{"a":57704,"t":"byte","b":[171,28,161,11,171,28,161,11]},{"a":57712,"t":"byte","b":[171,28,161,165,14,181,181,28]},{"a":57720,"t":"byte","b":[28,50,250,250,250,250,250,250]},{"a":57728,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":57736,"t":"byte","b":[250,250,43,30,14,105,105,102]},{"a":57744,"t":"byte","b":[5,102,88,28,99,28,96,105]},{"a":57752,"t":"byte","b":[5,105,105,105,21,56,51,250]},{"a":57760,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57768,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57776,"t":"byte","b":[250,250,43,30,18,19,14,181]},{"a":57784,"t":"byte","b":[39,6,173,28,173,28,11,203]},{"a":57792,"t":"byte","b":[47,204,39,28,28,28,11,6]},{"a":57800,"t":"byte","b":[182,21,18,18,56,51,250,250]},{"a":57808,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57816,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57824,"t":"byte","b":[250,250,250,250,250,250,250,11]},{"a":57832,"t":"byte","b":[170,28,161,11,170,28,161,11]},{"a":57840,"t":"byte","b":[170,28,161,160,28,181,181,181]},{"a":57848,"t":"byte","b":[28,28,51,250,250,250,250,250]},{"a":57856,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":57864,"t":"byte","b":[250,250,42,29,95,99,181,181]},{"a":57872,"t":"byte","b":[6,36,86,28,100,28,100,99]},{"a":57880,"t":"byte","b":[6,99,95,100,99,29,52,250]},{"a":57888,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57896,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57904,"t":"byte","b":[250,250,42,29,28,6,181,181]},{"a":57912,"t":"byte","b":[39,6,28,28,159,104,108,203]},{"a":57920,"t":"byte","b":[61,204,54,33,159,28,11,6]},{"a":57928,"t":"byte","b":[181,182,181,28,29,52,250,250]},{"a":57936,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57944,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":57952,"t":"byte","b":[250,250,250,250,250,250,250,11]},{"a":57960,"t":"byte","b":[170,6,161,11,170,6,161,11]},{"a":57968,"t":"byte","b":[170,6,161,160,28,181,181,181]},{"a":57976,"t":"byte","b":[28,36,52,250,250,250,250,250]},{"a":57984,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":57992,"t":"byte","b":[250,250,41,13,105,105,102,226]},{"a":58000,"t":"byte","b":[75,35,102,4,4,4,4,105]},{"a":58008,"t":"byte","b":[75,227,105,105,105,13,132,31]},{"a":58016,"t":"byte","b":[31,31,31,31,31,31,31,31]},{"a":58024,"t":"byte","b":[31,31,31,31,31,31,31,250]},{"a":58032,"t":"byte","b":[250,250,41,13,183,75,183,183]},{"a":58040,"t":"byte","b":[132,75,4,4,4,32,4,4]},{"a":58048,"t":"byte","b":[61,4,4,32,4,7,41,7]},{"a":58056,"t":"byte","b":[183,183,183,7,13,132,250,250]},{"a":58064,"t":"byte","b":[250,31,31,31,31,31,31,31]},{"a":58072,"t":"byte","b":[31,31,31,31,31,31,31,31]},{"a":58080,"t":"byte","b":[31,31,31,31,31,31,31,41]},{"a":58088,"t":"byte","b":[169,224,91,41,169,224,91,41]},{"a":58096,"t":"byte","b":[169,224,91,89,7,183,183,183]},{"a":58104,"t":"byte","b":[183,35,132,250,250,250,250,250]},{"a":58112,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":58120,"t":"byte","b":[250,250,11,94,94,18,18,148]},{"a":58128,"t":"byte","b":[18,18,18,18,18,107,18,107]},{"a":58136,"t":"byte","b":[18,147,18,107,18,62,107,107]},{"a":58144,"t":"byte","b":[18,18,107,107,18,107,18,107]},{"a":58152,"t":"byte","b":[17,18,94,94,94,94,164,50]},{"a":58160,"t":"byte","b":[250,250,11,21,18,18,18,18]},{"a":58168,"t":"byte","b":[18,18,18,18,94,94,11,203]},{"a":58176,"t":"byte","b":[61,204,39,94,94,19,18,19]},{"a":58184,"t":"byte","b":[18,18,18,19,14,39,250,250]},{"a":58192,"t":"byte","b":[44,94,94,94,17,98,18,18]},{"a":58200,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":58208,"t":"byte","b":[18,98,18,18,18,18,18,18]},{"a":58216,"t":"byte","b":[18,19,62,18,18,19,62,18]},{"a":58224,"t":"byte","b":[18,19,62,62,19,98,94,94]},{"a":58232,"t":"byte","b":[94,94,39,250,250,250,250,250]},{"a":58240,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":58248,"t":"byte","b":[250,250,136,47,47,41,145,227]},{"a":58256,"t":"byte","b":[4,4,4,4,105,105,105,105]},{"a":58264,"t":"byte","b":[105,226,146,105,4,105,105,105]},{"a":58272,"t":"byte","b":[105,4,105,105,4,105,4,105]},{"a":58280,"t":"byte","b":[13,87,101,101,101,101,161,28]},{"a":58288,"t":"byte","b":[50,250,11,28,28,28,28,28]},{"a":58296,"t":"byte","b":[234,7,235,28,94,94,65,203]},{"a":58304,"t":"byte","b":[61,204,60,94,94,75,234,7]},{"a":58312,"t":"byte","b":[235,28,28,28,28,39,250,44]},{"a":58320,"t":"byte","b":[30,94,94,94,94,41,4,226]},{"a":58328,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":58336,"t":"byte","b":[7,11,28,28,28,136,8,7]},{"a":58344,"t":"byte","b":[4,75,4,4,4,75,4,4]},{"a":58352,"t":"byte","b":[4,75,4,4,75,41,94,94]},{"a":58360,"t":"byte","b":[94,94,164,250,250,250,250,250]},{"a":58368,"l":"map_e400","c":"The cavern map, part 2 of 7 ($E000-$FBFF): 56 rows of 128 block numbers, one byte per 4x4-character block (block shapes at $3000 via $1400/$1500). Row r starts at $FB80 - r*$80 (pointers $0A80/$0AC0), so this kilobyte holds map rows 40-47, counted from the row at $FB80. World Y grows upward.","t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":58376,"t":"byte","b":[250,250,11,28,28,28,173,8]},{"a":58384,"t":"byte","b":[223,221,222,28,173,28,173,28]},{"a":58392,"t":"byte","b":[173,87,28,28,11,173,28,173]},{"a":58400,"t":"byte","b":[28,95,96,28,173,28,11,100]},{"a":58408,"t":"byte","b":[29,99,100,95,100,99,161,28]},{"a":58416,"t":"byte","b":[39,64,103,103,103,103,103,103]},{"a":58424,"t":"byte","b":[11,5,39,103,103,103,160,203]},{"a":58432,"t":"byte","b":[61,204,161,103,103,103,2,5]},{"a":58440,"t":"byte","b":[80,103,103,103,103,103,250,165]},{"a":58448,"t":"byte","b":[14,215,47,47,47,11,28,87]},{"a":58456,"t":"byte","b":[28,11,59,66,11,173,28,39]},{"a":58464,"t":"byte","b":[6,11,4,4,4,11,28,6]},{"a":58472,"t":"byte","b":[28,173,28,173,11,173,28,173]},{"a":58480,"t":"byte","b":[28,173,28,173,28,39,40,47]},{"a":58488,"t":"byte","b":[47,47,161,250,250,250,250,250]},{"a":58496,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":58504,"t":"byte","b":[250,250,41,4,4,4,4,226]},{"a":58512,"t":"byte","b":[146,4,4,5,4,5,4,4]},{"a":58520,"t":"byte","b":[145,227,4,4,144,4,196,195]},{"a":58528,"t":"byte","b":[197,4,227,196,195,197,144,105]},{"a":58536,"t":"byte","b":[13,105,4,105,4,105,91,5]},{"a":58544,"t":"byte","b":[4,63,250,250,250,250,250,250]},{"a":58552,"t":"byte","b":[11,28,39,250,250,250,160,203]},{"a":58560,"t":"byte","b":[61,204,161,250,250,250,250,250]},{"a":58568,"t":"byte","b":[250,250,250,250,250,250,250,89]},{"a":58576,"t":"byte","b":[4,216,4,226,4,144,145,4]},{"a":58584,"t":"byte","b":[4,144,79,79,11,28,28,39]},{"a":58592,"t":"byte","b":[7,4,11,28,28,41,4,75]},{"a":58600,"t":"byte","b":[4,4,4,4,144,7,4,4]},{"a":58608,"t":"byte","b":[4,4,4,4,4,132,13,4]},{"a":58616,"t":"byte","b":[4,7,91,250,250,250,250,250]},{"a":58624,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":58632,"t":"byte","b":[250,250,11,59,66,223,28,87]},{"a":58640,"t":"byte","b":[173,39,28,75,4,75,28,11]},{"a":58648,"t":"byte","b":[173,8,28,28,221,222,223,221]},{"a":58656,"t":"byte","b":[222,28,8,28,28,223,221,222]},{"a":58664,"t":"byte","b":[21,18,18,56,221,222,29,6]},{"a":58672,"t":"byte","b":[39,28,244,250,250,250,250,64]},{"a":58680,"t":"byte","b":[11,28,39,250,250,250,160,203]},{"a":58688,"t":"byte","b":[61,204,161,250,250,250,250,250]},{"a":58696,"t":"byte","b":[250,250,250,250,250,250,250,11]},{"a":58704,"t":"byte","b":[28,28,28,87,28,11,28,28]},{"a":58712,"t":"byte","b":[28,28,28,28,11,28,28,104]},{"a":58720,"t":"byte","b":[6,28,28,28,28,28,28,28]},{"a":58728,"t":"byte","b":[28,11,28,173,28,6,11,28]},{"a":58736,"t":"byte","b":[173,28,173,223,173,223,29,221]},{"a":58744,"t":"byte","b":[222,6,161,250,250,250,250,250]},{"a":58752,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":58760,"t":"byte","b":[250,250,41,79,79,4,145,4]},{"a":58768,"t":"byte","b":[4,132,172,172,172,172,172,41]},{"a":58776,"t":"byte","b":[4,4,146,4,4,4,4,4]},{"a":58784,"t":"byte","b":[4,4,4,146,4,4,4,4]},{"a":58792,"t":"byte","b":[4,4,4,13,4,227,13,4]},{"a":58800,"t":"byte","b":[132,28,28,244,31,31,31,63]},{"a":58808,"t":"byte","b":[4,4,132,31,31,31,160,203]},{"a":58816,"t":"byte","b":[61,204,161,31,31,31,31,31]},{"a":58824,"t":"byte","b":[31,31,31,31,31,31,31,41]},{"a":58832,"t":"byte","b":[226,4,145,4,4,144,4,4]},{"a":58840,"t":"byte","b":[4,4,4,4,41,184,4,241]},{"a":58848,"t":"byte","b":[4,4,4,4,4,4,224,4]},{"a":58856,"t":"byte","b":[4,144,4,4,4,4,41,224]},{"a":58864,"t":"byte","b":[4,224,4,4,4,4,13,4]},{"a":58872,"t":"byte","b":[4,5,91,250,250,250,250,250]},{"a":58880,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":58888,"t":"byte","b":[250,250,11,123,120,120,120,120]},{"a":58896,"t":"byte","b":[120,120,121,28,28,28,28,221]},{"a":58904,"t":"byte","b":[222,221,222,28,223,181,181,181]},{"a":58912,"t":"byte","b":[181,181,181,173,223,173,181,181]},{"a":58920,"t":"byte","b":[11,182,182,29,182,8,21,185]},{"a":58928,"t":"byte","b":[185,185,185,185,185,185,185,17]},{"a":58936,"t":"byte","b":[18,94,94,94,17,18,92,203]},{"a":58944,"t":"byte","b":[61,204,97,18,18,18,18,18]},{"a":58952,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":58960,"t":"byte","b":[148,18,18,18,18,18,18,18]},{"a":58968,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":58976,"t":"byte","b":[18,18,18,18,18,18,19,18]},{"a":58984,"t":"byte","b":[18,18,18,18,18,18,98,19]},{"a":58992,"t":"byte","b":[98,19,98,18,18,18,14,28]},{"a":59000,"t":"byte","b":[11,6,161,250,250,250,250,250]},{"a":59008,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59016,"t":"byte","b":[250,250,41,124,227,4,87,47]},{"a":59024,"t":"byte","b":[47,47,47,47,47,47,8,4]},{"a":59032,"t":"byte","b":[4,4,4,4,227,183,183,183]},{"a":59040,"t":"byte","b":[183,183,183,4,4,4,183,183]},{"a":59048,"t":"byte","b":[41,183,183,13,183,4,146,4]},{"a":59056,"t":"byte","b":[4,4,4,4,4,227,132,21]},{"a":59064,"t":"byte","b":[18,94,94,94,14,28,11,203]},{"a":59072,"t":"byte","b":[61,204,39,4,4,4,4,4]},{"a":59080,"t":"byte","b":[4,4,4,226,4,4,4,145]},{"a":59088,"t":"byte","b":[4,4,4,4,4,4,4,7]},{"a":59096,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":59104,"t":"byte","b":[4,4,4,7,4,4,75,4]},{"a":59112,"t":"byte","b":[4,4,4,4,4,4,41,7]},{"a":59120,"t":"byte","b":[41,4,41,4,4,4,7,4]},{"a":59128,"t":"byte","b":[11,6,161,250,250,250,250,250]},{"a":59136,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59144,"t":"byte","b":[250,250,11,122,8,223,28,15]},{"a":59152,"t":"byte","b":[10,10,10,10,10,16,28,223]},{"a":59160,"t":"byte","b":[221,222,28,173,8,86,181,86]},{"a":59168,"t":"byte","b":[181,86,28,173,173,245,246,28]},{"a":59176,"t":"byte","b":[11,221,222,29,221,222,173,221]},{"a":59184,"t":"byte","b":[222,223,221,222,11,8,28,28]},{"a":59192,"t":"byte","b":[47,47,47,47,47,28,11,203]},{"a":59200,"t":"byte","b":[61,204,39,59,66,28,223,11]},{"a":59208,"t":"byte","b":[28,173,28,87,28,11,173,223]},{"a":59216,"t":"byte","b":[28,173,28,28,11,221,222,6]},{"a":59224,"t":"byte","b":[28,221,222,214,214,214,220,214]},{"a":59232,"t":"byte","b":[214,214,214,6,214,214,214,214]},{"a":59240,"t":"byte","b":[220,214,214,214,214,214,220,6]},{"a":59248,"t":"byte","b":[214,214,214,214,214,214,6,214]},{"a":59256,"t":"byte","b":[220,6,161,250,250,250,250,250]},{"a":59264,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59272,"t":"byte","b":[250,250,41,124,4,154,28,12]},{"a":59280,"t":"byte","b":[9,3,12,9,3,12,28,4]},{"a":59288,"t":"byte","b":[4,226,4,4,4,146,102,183]},{"a":59296,"t":"byte","b":[102,183,235,28,245,240,240,246]},{"a":59304,"t":"byte","b":[90,90,117,117,117,117,117,117]},{"a":59312,"t":"byte","b":[117,117,117,112,41,4,146,4]},{"a":59320,"t":"byte","b":[4,227,4,4,4,4,11,203]},{"a":59328,"t":"byte","b":[61,204,39,79,79,4,4,144]},{"a":59336,"t":"byte","b":[227,4,145,4,4,144,4,4]},{"a":59344,"t":"byte","b":[4,4,4,4,41,4,4,4]},{"a":59352,"t":"byte","b":[4,4,4,227,4,4,144,4]},{"a":59360,"t":"byte","b":[4,226,4,75,4,4,4,4]},{"a":59368,"t":"byte","b":[144,4,227,4,4,4,41,75]},{"a":59376,"t":"byte","b":[4,4,4,4,4,4,5,4]},{"a":59384,"t":"byte","b":[11,6,161,250,250,250,250,250]},{"a":59392,"l":"map_e800","c":"The cavern map, part 3 of 7 ($E000-$FBFF): 56 rows of 128 block numbers, one byte per 4x4-character block (block shapes at $3000 via $1400/$1500). Row r starts at $FB80 - r*$80 (pointers $0A80/$0AC0), so this kilobyte holds map rows 32-39, counted from the row at $FB80. World Y grows upward.","t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59400,"t":"byte","b":[250,250,11,59,66,8,28,37]},{"a":59408,"t":"byte","b":[53,37,38,37,53,38,28,28]},{"a":59416,"t":"byte","b":[28,87,181,86,181,86,181,86]},{"a":59424,"t":"byte","b":[181,86,181,47,47,47,47,136]},{"a":59432,"t":"byte","b":[47,47,47,40,47,47,47,47]},{"a":59440,"t":"byte","b":[47,47,47,119,159,104,28,173]},{"a":59448,"t":"byte","b":[28,8,28,221,222,104,108,203]},{"a":59456,"t":"byte","b":[61,204,54,33,159,28,28,28]},{"a":59464,"t":"byte","b":[8,28,173,28,11,28,221,222]},{"a":59472,"t":"byte","b":[28,11,28,28,209,221,222,223]},{"a":59480,"t":"byte","b":[39,59,66,8,28,28,28,28]},{"a":59488,"t":"byte","b":[28,87,28,28,28,28,28,28]},{"a":59496,"t":"byte","b":[28,28,8,28,28,28,11,221]},{"a":59504,"t":"byte","b":[222,28,28,221,222,223,6,28]},{"a":59512,"t":"byte","b":[11,6,161,250,250,250,250,250]},{"a":59520,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59528,"t":"byte","b":[250,250,41,79,79,4,146,10]},{"a":59536,"t":"byte","b":[10,10,4,10,10,10,4,4]},{"a":59544,"t":"byte","b":[145,183,102,183,102,183,102,183]},{"a":59552,"t":"byte","b":[102,183,102,183,102,183,102,4]},{"a":59560,"t":"byte","b":[4,183,183,13,183,183,183,183]},{"a":59568,"t":"byte","b":[183,183,183,112,4,32,4,4]},{"a":59576,"t":"byte","b":[4,4,146,4,4,190,4,4]},{"a":59584,"t":"byte","b":[61,4,4,32,4,4,4,4]},{"a":59592,"t":"byte","b":[4,146,4,4,144,189,4,4]},{"a":59600,"t":"byte","b":[4,144,4,4,194,195,197,197]},{"a":59608,"t":"byte","b":[132,79,79,4,146,242,242,242]},{"a":59616,"t":"byte","b":[145,189,242,189,242,242,189,242]},{"a":59624,"t":"byte","b":[242,242,242,146,4,4,144,4]},{"a":59632,"t":"byte","b":[4,4,4,4,4,4,75,4]},{"a":59640,"t":"byte","b":[41,5,91,250,250,250,250,250]},{"a":59648,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59656,"t":"byte","b":[250,250,11,223,30,18,18,18]},{"a":59664,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":59672,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":59680,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":59688,"t":"byte","b":[18,18,18,62,18,18,18,18]},{"a":59696,"t":"byte","b":[18,18,18,119,18,18,18,18]},{"a":59704,"t":"byte","b":[18,18,18,18,18,104,223,203]},{"a":59712,"t":"byte","b":[61,204,54,33,56,30,185,185]},{"a":59720,"t":"byte","b":[185,185,185,185,185,185,185,185]},{"a":59728,"t":"byte","b":[185,185,185,185,185,185,185,185]},{"a":59736,"t":"byte","b":[185,18,18,18,18,18,18,18]},{"a":59744,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":59752,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":59760,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":59768,"t":"byte","b":[17,19,162,250,250,250,250,250]},{"a":59776,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59784,"t":"byte","b":[250,250,2,4,13,183,212,212]},{"a":59792,"t":"byte","b":[7,212,212,212,212,212,212,212]},{"a":59800,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":59808,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":59816,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":59824,"t":"byte","b":[212,212,212,112,212,212,212,212]},{"a":59832,"t":"byte","b":[212,212,212,212,183,190,4,4]},{"a":59840,"t":"byte","b":[61,4,4,190,13,13,242,242]},{"a":59848,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":59856,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":59864,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":59872,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":59880,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":59888,"t":"byte","b":[242,242,242,242,7,242,242,242]},{"a":59896,"t":"byte","b":[13,75,80,250,250,250,250,250]},{"a":59904,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":59912,"t":"byte","b":[250,250,250,2,94,94,56,223]},{"a":59920,"t":"byte","b":[6,237,239,206,205,205,205,205]},{"a":59928,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":59936,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":59944,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":59952,"t":"byte","b":[205,205,205,205,205,205,205,254]},{"a":59960,"t":"byte","b":[237,239,28,36,28,104,223,203]},{"a":59968,"t":"byte","b":[61,204,28,33,237,239,206,205]},{"a":59976,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":59984,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":59992,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":60000,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":60008,"t":"byte","b":[205,205,205,205,205,205,205,205]},{"a":60016,"t":"byte","b":[205,254,237,239,6,28,30,94]},{"a":60024,"t":"byte","b":[94,80,250,250,250,250,250,250]},{"a":60032,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60040,"t":"byte","b":[250,250,250,250,2,47,40,8]},{"a":60048,"t":"byte","b":[5,236,238,210,207,207,207,207]},{"a":60056,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60064,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60072,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60080,"t":"byte","b":[207,207,207,207,207,207,207,251]},{"a":60088,"t":"byte","b":[236,238,4,35,7,190,4,4]},{"a":60096,"t":"byte","b":[61,4,4,190,236,238,210,207]},{"a":60104,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60112,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60120,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60128,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60136,"t":"byte","b":[207,207,207,207,207,207,207,207]},{"a":60144,"t":"byte","b":[207,251,236,238,5,87,40,47]},{"a":60152,"t":"byte","b":[80,250,250,250,250,250,250,250]},{"a":60160,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60168,"t":"byte","b":[250,250,250,250,250,165,62,18]},{"a":60176,"t":"byte","b":[19,18,18,18,18,18,18,18]},{"a":60184,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60192,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60200,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60208,"t":"byte","b":[18,18,18,119,18,18,18,18]},{"a":60216,"t":"byte","b":[18,18,18,18,19,104,223,203]},{"a":60224,"t":"byte","b":[61,204,39,56,30,56,30,18]},{"a":60232,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60240,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60248,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60256,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60264,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60272,"t":"byte","b":[18,18,18,18,19,18,62,164]},{"a":60280,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":60288,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60296,"t":"byte","b":[250,250,31,31,31,89,4,4]},{"a":60304,"t":"byte","b":[5,4,4,4,4,4,4,4]},{"a":60312,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":60320,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":60328,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":60336,"t":"byte","b":[4,4,4,112,4,7,4,4]},{"a":60344,"t":"byte","b":[4,4,4,4,75,190,4,4]},{"a":60352,"t":"byte","b":[61,204,39,13,13,13,13,212]},{"a":60360,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":60368,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":60376,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":60384,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":60392,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":60400,"t":"byte","b":[212,212,212,212,75,212,212,91]},{"a":60408,"t":"byte","b":[31,31,31,250,250,250,250,81]},{"a":60416,"l":"map_ec00","c":"The cavern map, part 4 of 7 ($E000-$FBFF): 56 rows of 128 block numbers, one byte per 4x4-character block (block shapes at $3000 via $1400/$1500). Row r starts at $FB80 - r*$80 (pointers $0A80/$0AC0), so this kilobyte holds map rows 24-31, counted from the row at $FB80. World Y grows upward.","t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60424,"t":"byte","b":[250,250,11,4,4,21,18,18]},{"a":60432,"t":"byte","b":[19,18,18,18,18,18,18,17]},{"a":60440,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60448,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60456,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60464,"t":"byte","b":[18,18,18,119,18,19,18,18]},{"a":60472,"t":"byte","b":[18,18,18,18,18,17,11,203]},{"a":60480,"t":"byte","b":[61,204,39,93,29,29,76,98]},{"a":60488,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60496,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60504,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60512,"t":"byte","b":[18,18,18,18,17,94,94,94]},{"a":60520,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":60528,"t":"byte","b":[18,18,18,18,18,18,18,14]},{"a":60536,"t":"byte","b":[28,28,39,250,250,250,250,208]},{"a":60544,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60552,"t":"byte","b":[250,250,11,30,18,19,18,18]},{"a":60560,"t":"byte","b":[19,18,58,19,58,94,18,20]},{"a":60568,"t":"byte","b":[18,18,19,119,117,117,110,110]},{"a":60576,"t":"byte","b":[117,117,117,117,117,111,117,117]},{"a":60584,"t":"byte","b":[90,90,117,117,117,111,117,117]},{"a":60592,"t":"byte","b":[117,117,117,119,28,6,28,28]},{"a":60600,"t":"byte","b":[28,28,28,28,28,29,11,203]},{"a":60608,"t":"byte","b":[61,204,39,94,94,94,94,41]},{"a":60616,"t":"byte","b":[242,242,242,242,242,226,242,242]},{"a":60624,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":60632,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":60640,"t":"byte","b":[226,4,5,87,40,47,47,47]},{"a":60648,"t":"byte","b":[47,75,242,242,242,242,242,242]},{"a":60656,"t":"byte","b":[242,242,242,242,242,242,242,242]},{"a":60664,"t":"byte","b":[242,242,243,250,250,250,250,208]},{"a":60672,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60680,"t":"byte","b":[250,250,11,28,4,5,87,47]},{"a":60688,"t":"byte","b":[47,47,47,118,40,40,47,40]},{"a":60696,"t":"byte","b":[47,47,118,113,47,47,47,47]},{"a":60704,"t":"byte","b":[47,47,47,47,47,118,47,47]},{"a":60712,"t":"byte","b":[47,136,47,47,135,118,47,47]},{"a":60720,"t":"byte","b":[47,47,47,47,47,47,47,47]},{"a":60728,"t":"byte","b":[135,47,47,47,47,29,11,203]},{"a":60736,"t":"byte","b":[61,204,39,94,94,94,94,11]},{"a":60744,"t":"byte","b":[221,222,28,223,28,87,28,221]},{"a":60752,"t":"byte","b":[222,28,28,221,222,28,28,221]},{"a":60760,"t":"byte","b":[222,28,11,28,221,222,28,28]},{"a":60768,"t":"byte","b":[87,11,6,28,29,28,28,28]},{"a":60776,"t":"byte","b":[28,28,11,28,28,28,28,28]},{"a":60784,"t":"byte","b":[28,28,248,28,28,28,28,28]},{"a":60792,"t":"byte","b":[36,28,39,250,250,250,250,208]},{"a":60800,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60808,"t":"byte","b":[250,250,26,250,25,5,193,193]},{"a":60816,"t":"byte","b":[193,193,193,5,76,14,7,13]},{"a":60824,"t":"byte","b":[4,87,118,113,8,4,4,4]},{"a":60832,"t":"byte","b":[87,47,47,47,8,75,87,47]},{"a":60840,"t":"byte","b":[47,11,28,28,39,75,183,7]},{"a":60848,"t":"byte","b":[183,183,183,183,7,183,183,183]},{"a":60856,"t":"byte","b":[132,28,28,28,28,29,11,203]},{"a":60864,"t":"byte","b":[61,204,39,94,94,94,94,41]},{"a":60872,"t":"byte","b":[4,4,4,4,145,4,4,4]},{"a":60880,"t":"byte","b":[4,4,226,4,4,4,4,4]},{"a":60888,"t":"byte","b":[4,4,41,227,4,4,4,145]},{"a":60896,"t":"byte","b":[4,41,4,4,13,4,4,4]},{"a":60904,"t":"byte","b":[4,4,144,235,28,188,28,28]},{"a":60912,"t":"byte","b":[28,28,178,28,28,28,234,7]},{"a":60920,"t":"byte","b":[35,4,80,250,250,250,250,218]},{"a":60928,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":60936,"t":"byte","b":[250,250,250,26,25,6,21,62]},{"a":60944,"t":"byte","b":[62,62,62,19,20,18,19,20]},{"a":60952,"t":"byte","b":[18,18,19,119,117,117,117,117]},{"a":60960,"t":"byte","b":[90,90,117,117,117,117,117,117]},{"a":60968,"t":"byte","b":[117,117,90,90,117,117,117,111]},{"a":60976,"t":"byte","b":[117,119,221,222,6,221,222,223]},{"a":60984,"t":"byte","b":[28,30,18,94,94,14,11,203]},{"a":60992,"t":"byte","b":[61,204,60,94,94,94,94,98]},{"a":61000,"t":"byte","b":[56,28,28,221,222,223,221,222]},{"a":61008,"t":"byte","b":[28,28,87,28,11,221,222,28]},{"a":61016,"t":"byte","b":[221,222,28,8,28,223,221,222]},{"a":61024,"t":"byte","b":[28,11,28,28,29,28,28,28]},{"a":61032,"t":"byte","b":[28,28,28,28,47,47,47,47]},{"a":61040,"t":"byte","b":[47,47,47,47,47,47,28,6]},{"a":61048,"t":"byte","b":[39,80,250,250,250,250,250,218]},{"a":61056,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":61064,"t":"byte","b":[250,250,250,250,24,23,23,23]},{"a":61072,"t":"byte","b":[23,23,23,23,22,4,4,13]},{"a":61080,"t":"byte","b":[4,4,75,4,4,4,4,87]},{"a":61088,"t":"byte","b":[47,47,8,7,4,4,4,4]},{"a":61096,"t":"byte","b":[4,87,47,47,8,4,4,5]},{"a":61104,"t":"byte","b":[4,112,4,4,75,4,4,4]},{"a":61112,"t":"byte","b":[4,13,87,47,47,47,11,203]},{"a":61120,"t":"byte","b":[61,204,161,47,47,47,47,8]},{"a":61128,"t":"byte","b":[13,4,4,4,4,4,226,4]},{"a":61136,"t":"byte","b":[4,145,4,4,41,4,4,227]},{"a":61144,"t":"byte","b":[4,4,4,4,146,4,4,4]},{"a":61152,"t":"byte","b":[4,41,4,226,13,4,4,4]},{"a":61160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61176,"t":"byte","b":[141,250,250,250,250,250,250,218]},{"a":61184,"t":"byte","b":[201,250,250,250,250,250,250,250]},{"a":61192,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61200,"t":"byte","b":[250,250,250,250,250,2,182,94]},{"a":61208,"t":"byte","b":[94,98,18,18,18,18,18,18]},{"a":61216,"t":"byte","b":[18,18,18,19,18,18,18,18]},{"a":61224,"t":"byte","b":[18,18,36,18,18,18,18,19]},{"a":61232,"t":"byte","b":[18,119,117,117,110,110,110,117]},{"a":61240,"t":"byte","b":[117,117,117,117,117,117,119,203]},{"a":61248,"t":"byte","b":[61,204,54,33,159,28,28,28]},{"a":61256,"t":"byte","b":[21,18,18,18,18,18,148,18]},{"a":61264,"t":"byte","b":[98,18,18,18,18,18,18,147]},{"a":61272,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":61280,"t":"byte","b":[18,18,18,148,14,39,28,80]},{"a":61288,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61296,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61304,"t":"byte","b":[250,200,200,200,200,200,200,218]},{"a":61312,"t":"byte","b":[198,69,81,81,250,250,250,250]},{"a":61320,"t":"byte","b":[68,200,69,250,250,250,250,250]},{"a":61328,"t":"byte","b":[250,250,250,250,250,250,2,94]},{"a":61336,"t":"byte","b":[94,41,4,4,4,4,4,4]},{"a":61344,"t":"byte","b":[4,4,4,75,4,4,4,4]},{"a":61352,"t":"byte","b":[4,4,35,4,4,4,4,75]},{"a":61360,"t":"byte","b":[4,4,4,87,47,47,47,47]},{"a":61368,"t":"byte","b":[47,47,47,47,47,135,119,203]},{"a":61376,"t":"byte","b":[61,4,4,32,7,4,4,4]},{"a":61384,"t":"byte","b":[4,4,4,4,4,145,4,4]},{"a":61392,"t":"byte","b":[41,4,4,4,4,4,4,4]},{"a":61400,"t":"byte","b":[146,4,4,4,4,4,4,4]},{"a":61408,"t":"byte","b":[4,4,145,4,4,132,80,250]},{"a":61416,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61424,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61432,"t":"byte","b":[250,70,67,67,67,67,218,218]},{"a":61440,"l":"map_f000","c":"The cavern map, part 5 of 7 ($E000-$FBFF): 56 rows of 128 block numbers, one byte per 4x4-character block (block shapes at $3000 via $1400/$1500). Row r starts at $FB80 - r*$80 (pointers $0A80/$0AC0), so this kilobyte holds map rows 16-23, counted from the row at $FB80. World Y grows upward.","t":"byte","b":[67,198,198,199,200,200,200,200]},{"a":61448,"t":"byte","b":[200,201,201,250,250,250,250,250]},{"a":61456,"t":"byte","b":[250,250,250,250,250,250,250,1]},{"a":61464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61496,"t":"byte","b":[0,0,0,0,0,137,119,203]},{"a":61504,"t":"byte","b":[61,204,161,28,6,39,0,0]},{"a":61512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61536,"t":"byte","b":[0,0,0,0,0,141,250,250]},{"a":61544,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61552,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61560,"t":"byte","b":[250,250,70,219,67,67,180,218]},{"a":61568,"t":"byte","b":[199,198,199,67,198,199,198,67]},{"a":61576,"t":"byte","b":[67,198,201,250,250,250,250,250]},{"a":61584,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61592,"t":"byte","b":[250,250,250,250,72,72,72,72]},{"a":61600,"t":"byte","b":[72,250,250,250,250,250,250,250]},{"a":61608,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61616,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61624,"t":"byte","b":[250,250,250,250,250,133,119,203]},{"a":61632,"t":"byte","b":[61,204,161,28,6,39,250,250]},{"a":61640,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61648,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61656,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61664,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61672,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61680,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61688,"t":"byte","b":[250,250,250,180,218,67,218,218]},{"a":61696,"t":"byte","b":[199,67,198,198,198,67,67,198]},{"a":61704,"t":"byte","b":[199,67,201,250,250,250,250,250]},{"a":61712,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61720,"t":"byte","b":[250,250,250,250,208,67,71,70]},{"a":61728,"t":"byte","b":[179,64,250,250,250,250,250,250]},{"a":61736,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61744,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61752,"t":"byte","b":[250,250,250,250,250,133,119,203]},{"a":61760,"t":"byte","b":[61,204,161,36,6,39,64,250]},{"a":61768,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61776,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61784,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61792,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61800,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61808,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":61816,"t":"byte","b":[250,250,250,180,218,219,180,218]},{"a":61824,"t":"byte","b":[198,198,199,67,199,198,198,198]},{"a":61832,"t":"byte","b":[198,199,67,69,72,72,72,72]},{"a":61840,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61848,"t":"byte","b":[72,72,72,72,208,201,78,57]},{"a":61856,"t":"byte","b":[57,63,72,72,72,72,72,72]},{"a":61864,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61872,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61880,"t":"byte","b":[72,72,72,72,72,133,119,203]},{"a":61888,"t":"byte","b":[61,204,161,35,75,4,63,31]},{"a":61896,"t":"byte","b":[31,72,72,72,72,72,72,72]},{"a":61904,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61912,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61920,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61928,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61936,"t":"byte","b":[72,72,72,72,72,72,72,72]},{"a":61944,"t":"byte","b":[72,72,72,218,219,180,218,218]},{"a":61952,"t":"byte","b":[67,198,198,198,67,199,67,179]},{"a":61960,"t":"byte","b":[198,199,67,198,67,199,67,198]},{"a":61968,"t":"byte","b":[67,198,199,67,198,199,67,67]},{"a":61976,"t":"byte","b":[202,202,202,202,202,71,73,70]},{"a":61984,"t":"byte","b":[71,186,70,199,67,198,199,198]},{"a":61992,"t":"byte","b":[198,198,199,67,198,199,67,198]},{"a":62000,"t":"byte","b":[67,198,67,199,67,199,198,199]},{"a":62008,"t":"byte","b":[67,199,67,199,198,201,119,203]},{"a":62016,"t":"byte","b":[61,204,106,85,177,84,77,77]},{"a":62024,"t":"byte","b":[77,77,77,77,85,187,177,187]},{"a":62032,"t":"byte","b":[187,177,177,187,84,77,77,77]},{"a":62040,"t":"byte","b":[77,85,187,177,177,177,84,77]},{"a":62048,"t":"byte","b":[77,77,77,77,85,177,187,177]},{"a":62056,"t":"byte","b":[84,77,85,177,187,187,77,77]},{"a":62064,"t":"byte","b":[77,177,106,219,218,219,218,219]},{"a":62072,"t":"byte","b":[180,211,219,211,180,219,180,218]},{"a":62080,"t":"byte","b":[198,199,67,198,67,67,71,27]},{"a":62088,"t":"byte","b":[70,67,202,71,179,179,70,199]},{"a":62096,"t":"byte","b":[198,202,202,202,202,202,202,71]},{"a":62104,"t":"byte","b":[27,27,27,27,27,27,73,27]},{"a":62112,"t":"byte","b":[27,36,27,208,198,199,202,202]},{"a":62120,"t":"byte","b":[199,67,198,199,67,198,199,67]},{"a":62128,"t":"byte","b":[198,199,198,198,199,67,198,198]},{"a":62136,"t":"byte","b":[198,198,199,67,199,201,119,203]},{"a":62144,"t":"byte","b":[61,204,163,18,18,18,130,131]},{"a":62152,"t":"byte","b":[131,131,131,130,18,18,18,18]},{"a":62160,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":62168,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":62176,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":62184,"t":"byte","b":[18,18,18,18,18,18,20,20]},{"a":62192,"t":"byte","b":[62,56,84,77,77,180,218,211]},{"a":62200,"t":"byte","b":[180,218,180,180,219,180,218,218]},{"a":62208,"t":"byte","b":[198,67,198,199,67,67,69,81]},{"a":62216,"t":"byte","b":[27,179,27,27,27,27,27,70]},{"a":62224,"t":"byte","b":[71,27,27,27,27,27,27,27]},{"a":62232,"t":"byte","b":[27,68,200,200,200,200,200,200]},{"a":62240,"t":"byte","b":[69,35,68,71,186,186,166,167]},{"a":62248,"t":"byte","b":[186,186,186,186,186,186,186,186]},{"a":62256,"t":"byte","b":[186,186,186,186,186,186,186,186]},{"a":62264,"t":"byte","b":[186,186,186,186,179,70,119,203]},{"a":62272,"t":"byte","b":[61,204,163,18,18,17,130,131]},{"a":62280,"t":"byte","b":[131,131,131,130,18,18,18,18]},{"a":62288,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":62296,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":62304,"t":"byte","b":[18,18,18,18,18,18,18,18]},{"a":62312,"t":"byte","b":[18,18,18,18,18,18,20,20]},{"a":62320,"t":"byte","b":[56,20,17,20,56,84,77,77]},{"a":62328,"t":"byte","b":[77,180,211,180,180,218,219,218]},{"a":62336,"t":"byte","b":[67,198,198,198,67,67,67,71]},{"a":62344,"t":"byte","b":[27,27,232,27,27,78,27,27]},{"a":62352,"t":"byte","b":[27,27,27,68,200,200,200,200]},{"a":62360,"t":"byte","b":[200,67,198,67,67,67,67,202]},{"a":62368,"t":"byte","b":[198,67,201,57,229,232,168,168]},{"a":62376,"t":"byte","b":[57,57,57,57,57,228,57,57]},{"a":62384,"t":"byte","b":[57,57,228,57,57,57,57,57]},{"a":62392,"t":"byte","b":[229,57,57,27,27,68,119,203]},{"a":62400,"t":"byte","b":[61,204,163,18,18,14,127,129]},{"a":62408,"t":"byte","b":[129,129,129,128,28,28,28,28]},{"a":62416,"t":"byte","b":[28,28,28,28,28,28,28,28]},{"a":62424,"t":"byte","b":[28,28,28,28,28,28,28,28]},{"a":62432,"t":"byte","b":[28,28,28,28,28,28,28,28]},{"a":62440,"t":"byte","b":[28,28,28,234,4,4,226,4]},{"a":62448,"t":"byte","b":[13,13,13,13,21,56,28,59]},{"a":62456,"t":"byte","b":[66,106,218,218,180,218,219,218]},{"a":62464,"l":"map_f400","c":"The cavern map, part 6 of 7 ($E000-$FBFF): 56 rows of 128 block numbers, one byte per 4x4-character block (block shapes at $3000 via $1400/$1500). Row r starts at $FB80 - r*$80 (pointers $0A80/$0AC0), so this kilobyte holds map rows 8-15, counted from the row at $FB80. World Y grows upward.","t":"byte","b":[198,199,198,67,67,67,71,27]},{"a":62472,"t":"byte","b":[27,114,71,27,27,73,115,27]},{"a":62480,"t":"byte","b":[27,27,68,67,71,179,179,186]},{"a":62488,"t":"byte","b":[186,179,186,179,179,186,179,27]},{"a":62496,"t":"byte","b":[179,179,186,27,152,27,27,27]},{"a":62504,"t":"byte","b":[27,27,27,27,27,151,27,27]},{"a":62512,"t":"byte","b":[27,27,151,27,27,27,27,27]},{"a":62520,"t":"byte","b":[152,27,27,27,57,208,119,203]},{"a":62528,"t":"byte","b":[61,4,4,4,235,28,28,139]},{"a":62536,"t":"byte","b":[28,28,139,28,28,234,4,4]},{"a":62544,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":62552,"t":"byte","b":[4,4,4,4,4,4,4,4]},{"a":62560,"t":"byte","b":[4,4,4,4,235,28,28,28]},{"a":62568,"t":"byte","b":[28,28,87,28,28,28,87,28]},{"a":62576,"t":"byte","b":[13,13,13,13,146,13,227,79]},{"a":62584,"t":"byte","b":[79,106,211,180,219,180,218,218]},{"a":62592,"t":"byte","b":[199,198,67,198,67,67,69,78]},{"a":62600,"t":"byte","b":[114,198,81,81,68,200,179,27]},{"a":62608,"t":"byte","b":[27,68,67,71,27,27,27,27]},{"a":62616,"t":"byte","b":[27,232,57,57,57,57,57,57]},{"a":62624,"t":"byte","b":[57,57,57,149,57,57,57,233]},{"a":62632,"t":"byte","b":[27,27,27,27,27,27,150,57]},{"a":62640,"t":"byte","b":[229,57,57,150,57,57,228,149]},{"a":62648,"t":"byte","b":[57,57,57,57,233,117,112,203]},{"a":62656,"t":"byte","b":[61,204,85,187,28,8,5,139]},{"a":62664,"t":"byte","b":[28,28,139,28,155,180,218,211]},{"a":62672,"t":"byte","b":[187,187,180,218,180,218,180,219]},{"a":62680,"t":"byte","b":[211,180,180,219,180,218,211,218]},{"a":62688,"t":"byte","b":[219,211,218,180,219,156,7,235]},{"a":62696,"t":"byte","b":[227,145,4,4,227,145,4,145]},{"a":62704,"t":"byte","b":[76,134,131,131,134,93,8,28]},{"a":62712,"t":"byte","b":[84,211,219,218,218,219,180,218]},{"a":62720,"t":"byte","b":[198,67,198,199,67,67,71,73]},{"a":62728,"t":"byte","b":[70,198,67,200,202,202,69,27]},{"a":62736,"t":"byte","b":[27,179,179,27,27,27,27,27]},{"a":62744,"t":"byte","b":[114,198,67,198,199,67,198,67]},{"a":62752,"t":"byte","b":[199,198,67,199,198,67,199,198]},{"a":62760,"t":"byte","b":[115,57,233,27,27,27,27,27]},{"a":62768,"t":"byte","b":[152,27,27,27,27,27,151,27]},{"a":62776,"t":"byte","b":[27,27,27,27,70,200,201,203]},{"a":62784,"t":"byte","b":[61,204,83,6,28,4,75,140]},{"a":62792,"t":"byte","b":[4,4,140,155,219,211,177,177]},{"a":62800,"t":"byte","b":[28,28,177,106,218,180,77,85]},{"a":62808,"t":"byte","b":[187,187,84,85,177,177,187,187]},{"a":62816,"t":"byte","b":[177,187,187,177,84,77,6,106]},{"a":62824,"t":"byte","b":[156,28,173,28,8,28,28,30]},{"a":62832,"t":"byte","b":[62,134,131,131,134,14,28,146]},{"a":62840,"t":"byte","b":[4,84,180,211,180,218,219,218]},{"a":62848,"t":"byte","b":[199,198,199,198,67,201,27,73]},{"a":62856,"t":"byte","b":[68,67,198,201,166,167,179,27]},{"a":62864,"t":"byte","b":[27,27,27,27,232,78,232,114]},{"a":62872,"t":"byte","b":[198,199,198,67,199,67,198,199]},{"a":62880,"t":"byte","b":[67,199,198,67,198,199,67,198]},{"a":62888,"t":"byte","b":[198,199,67,115,57,233,228,149]},{"a":62896,"t":"byte","b":[57,57,57,57,57,57,57,150]},{"a":62904,"t":"byte","b":[57,229,57,57,57,208,201,203]},{"a":62912,"t":"byte","b":[61,204,163,118,28,28,84,218]},{"a":62920,"t":"byte","b":[218,85,187,84,77,85,28,28]},{"a":62928,"t":"byte","b":[28,83,28,84,77,85,28,28]},{"a":62936,"t":"byte","b":[28,28,28,28,28,28,28,28]},{"a":62944,"t":"byte","b":[28,28,28,28,28,28,28,106]},{"a":62952,"t":"byte","b":[180,156,4,4,4,146,226,13]},{"a":62960,"t":"byte","b":[125,129,131,131,129,126,145,227]},{"a":62968,"t":"byte","b":[4,4,106,219,218,180,219,218]},{"a":62976,"t":"byte","b":[67,199,199,67,198,67,69,73]},{"a":62984,"t":"byte","b":[70,179,70,179,168,168,57,57]},{"a":62992,"t":"byte","b":[57,229,232,114,201,73,208,71]},{"a":63000,"t":"byte","b":[179,70,198,71,179,70,71,186]},{"a":63008,"t":"byte","b":[186,186,186,70,71,186,186,186]},{"a":63016,"t":"byte","b":[70,202,67,198,199,67,115,27]},{"a":63024,"t":"byte","b":[27,27,27,27,27,27,27,27]},{"a":63032,"t":"byte","b":[27,152,27,27,27,64,109,203]},{"a":63040,"t":"byte","b":[61,204,106,83,28,28,28,84]},{"a":63048,"t":"byte","b":[77,28,28,28,28,28,28,28]},{"a":63056,"t":"byte","b":[28,84,83,28,28,28,82,34]},{"a":63064,"t":"byte","b":[34,187,187,191,191,85,177,34]},{"a":63072,"t":"byte","b":[34,34,34,34,34,34,34,34]},{"a":63080,"t":"byte","b":[218,34,85,28,28,28,87,21]},{"a":63088,"t":"byte","b":[130,129,131,131,129,130,28,8]},{"a":63096,"t":"byte","b":[28,28,84,218,219,218,218,218]},{"a":63104,"t":"byte","b":[198,198,199,199,67,201,179,27]},{"a":63112,"t":"byte","b":[192,57,57,57,229,232,57,229]},{"a":63120,"t":"byte","b":[232,114,67,202,71,73,179,27]},{"a":63128,"t":"byte","b":[27,27,179,27,247,27,27,27]},{"a":63136,"t":"byte","b":[68,200,69,27,27,27,27,27]},{"a":63144,"t":"byte","b":[27,27,70,202,67,199,198,115]},{"a":63152,"t":"byte","b":[57,57,57,57,57,229,232,57]},{"a":63160,"t":"byte","b":[149,57,57,57,57,63,4,4]},{"a":63168,"t":"byte","b":[61,204,106,218,34,28,83,28]},{"a":63176,"t":"byte","b":[174,28,6,28,82,83,28,28]},{"a":63184,"t":"byte","b":[28,28,84,34,34,187,187,85]},{"a":63192,"t":"byte","b":[7,28,7,4,4,4,7,84]},{"a":63200,"t":"byte","b":[218,180,218,55,187,187,187,106]},{"a":63208,"t":"byte","b":[219,218,83,4,227,145,4,212]},{"a":63216,"t":"byte","b":[138,138,138,138,138,138,212,4]},{"a":63224,"t":"byte","b":[146,226,234,106,180,219,180,218]},{"a":63232,"t":"byte","b":[199,67,198,198,199,201,27,27]},{"a":63240,"t":"byte","b":[114,71,186,27,152,27,27,114]},{"a":63248,"t":"byte","b":[198,202,71,27,27,73,73,27]},{"a":63256,"t":"byte","b":[27,27,27,27,178,27,27,68]},{"a":63264,"t":"byte","b":[199,198,67,69,27,27,68,69]},{"a":63272,"t":"byte","b":[27,27,27,27,70,202,67,201]},{"a":63280,"t":"byte","b":[166,167,27,27,27,152,70,67]},{"a":63288,"t":"byte","b":[199,67,198,199,67,198,201,203]},{"a":63296,"t":"byte","b":[6,204,106,218,85,28,84,34]},{"a":63304,"t":"byte","b":[34,28,118,34,218,219,116,82]},{"a":63312,"t":"byte","b":[187,187,83,55,187,28,28,28]},{"a":63320,"t":"byte","b":[6,28,6,187,177,177,6,36]},{"a":63328,"t":"byte","b":[180,180,180,85,28,28,28,84]},{"a":63336,"t":"byte","b":[180,55,59,66,8,28,28,134]},{"a":63344,"t":"byte","b":[131,131,131,131,131,131,134,28]},{"a":63352,"t":"byte","b":[28,87,84,180,218,180,180,218]},{"a":63360,"t":"byte","b":[198,199,198,67,198,67,69,27]},{"a":63368,"t":"byte","b":[179,27,232,149,57,57,114,202]},{"a":63376,"t":"byte","b":[71,27,27,68,200,200,74,200]},{"a":63384,"t":"byte","b":[69,27,68,200,200,200,200,67]},{"a":63392,"t":"byte","b":[198,198,67,201,81,81,67,201]},{"a":63400,"t":"byte","b":[27,27,68,69,27,27,70,201]},{"a":63408,"t":"byte","b":[168,168,57,228,149,57,68,67]},{"a":63416,"t":"byte","b":[198,199,67,198,199,199,201,203]},{"a":63424,"t":"byte","b":[6,204,106,55,28,28,28,187]},{"a":63432,"t":"byte","b":[85,28,82,219,218,55,187,85]},{"a":63440,"t":"byte","b":[28,28,84,55,6,28,28,28]},{"a":63448,"t":"byte","b":[6,28,6,28,28,28,75,35]},{"a":63456,"t":"byte","b":[84,85,187,28,6,82,83,28]},{"a":63464,"t":"byte","b":[106,55,79,79,4,146,226,212]},{"a":63472,"t":"byte","b":[138,138,138,138,138,138,212,227]},{"a":63480,"t":"byte","b":[145,4,82,218,218,219,218,218]},{"a":63488,"l":"map_f800","c":"The cavern map, part 7 of 7 ($E000-$FBFF): 56 rows of 128 block numbers, one byte per 4x4-character block (block shapes at $3000 via $1400/$1500). Row r starts at $FB80 - r*$80 (pointers $0A80/$0AC0), so this kilobyte holds map rows 0-7, counted from the row at $FB80. World Y grows upward.","t":"byte","b":[67,199,67,198,199,67,201,78]},{"a":63496,"t":"byte","b":[232,114,71,186,186,186,27,27]},{"a":63504,"t":"byte","b":[27,68,200,199,67,201,73,208]},{"a":63512,"t":"byte","b":[198,200,198,67,199,198,67,198]},{"a":63520,"t":"byte","b":[199,67,198,199,67,199,67,198]},{"a":63528,"t":"byte","b":[81,81,199,67,69,27,27,208]},{"a":63536,"t":"byte","b":[67,71,27,151,27,70,202,198]},{"a":63544,"t":"byte","b":[199,67,198,199,67,198,201,203]},{"a":63552,"t":"byte","b":[6,204,106,85,28,28,28,28]},{"a":63560,"t":"byte","b":[28,82,55,187,187,85,28,28]},{"a":63568,"t":"byte","b":[28,28,6,163,118,28,82,83]},{"a":63576,"t":"byte","b":[28,28,28,28,82,83,28,28]},{"a":63584,"t":"byte","b":[28,28,28,28,118,106,85,28]},{"a":63592,"t":"byte","b":[106,55,59,66,28,28,87,134]},{"a":63600,"t":"byte","b":[131,131,131,131,131,131,134,8]},{"a":63608,"t":"byte","b":[28,28,84,219,180,218,219,218]},{"a":63616,"t":"byte","b":[67,198,199,198,199,198,201,73]},{"a":63624,"t":"byte","b":[179,179,27,78,57,27,68,200]},{"a":63632,"t":"byte","b":[200,199,67,71,179,179,73,179]},{"a":63640,"t":"byte","b":[179,70,67,67,71,179,201,70]},{"a":63648,"t":"byte","b":[67,199,71,186,186,70,198,198]},{"a":63656,"t":"byte","b":[199,198,198,199,201,27,27,208]},{"a":63664,"t":"byte","b":[201,73,68,69,151,233,27,186]},{"a":63672,"t":"byte","b":[186,186,186,186,186,70,201,203]},{"a":63680,"t":"byte","b":[6,204,163,5,82,28,28,82]},{"a":63688,"t":"byte","b":[34,218,85,28,28,28,28,6]},{"a":63696,"t":"byte","b":[82,28,118,84,83,6,106,211]},{"a":63704,"t":"byte","b":[83,28,28,28,84,219,34,34]},{"a":63712,"t":"byte","b":[83,6,28,28,6,163,28,28]},{"a":63720,"t":"byte","b":[84,55,79,79,4,145,227,212]},{"a":63728,"t":"byte","b":[138,138,138,138,138,138,212,4]},{"a":63736,"t":"byte","b":[154,226,234,106,218,219,218,218]},{"a":63744,"t":"byte","b":[67,67,198,198,198,198,71,73]},{"a":63752,"t":"byte","b":[27,27,27,73,179,27,208,199]},{"a":63760,"t":"byte","b":[71,179,179,27,27,27,73,27]},{"a":63768,"t":"byte","b":[27,27,70,71,27,27,179,27]},{"a":63776,"t":"byte","b":[179,179,27,27,27,27,70,67]},{"a":63784,"t":"byte","b":[71,208,179,70,201,27,68,67]},{"a":63792,"t":"byte","b":[201,74,70,201,27,27,151,57]},{"a":63800,"t":"byte","b":[57,229,232,57,57,68,201,47]},{"a":63808,"t":"byte","b":[118,47,163,6,163,28,82,85]},{"a":63816,"t":"byte","b":[187,85,28,28,6,28,87,118]},{"a":63824,"t":"byte","b":[106,83,6,28,187,118,106,219]},{"a":63832,"t":"byte","b":[218,83,28,28,28,84,187,219]},{"a":63840,"t":"byte","b":[55,118,28,28,6,84,83,28]},{"a":63848,"t":"byte","b":[28,84,180,219,83,28,8,28]},{"a":63856,"t":"byte","b":[127,129,129,129,129,128,28,234]},{"a":63864,"t":"byte","b":[4,87,84,218,219,180,180,218]},{"a":63872,"t":"byte","b":[67,199,198,67,198,199,69,73]},{"a":63880,"t":"byte","b":[27,27,27,73,27,27,208,201]},{"a":63888,"t":"byte","b":[27,27,27,27,27,68,200,200]},{"a":63896,"t":"byte","b":[69,27,27,27,27,27,27,27]},{"a":63904,"t":"byte","b":[27,27,27,68,69,27,27,186]},{"a":63912,"t":"byte","b":[27,179,27,27,186,27,208,202]},{"a":63920,"t":"byte","b":[71,73,68,71,27,27,27,27]},{"a":63928,"t":"byte","b":[27,152,27,27,70,67,201,28]},{"a":63936,"t":"byte","b":[28,28,163,6,163,28,187,28]},{"a":63944,"t":"byte","b":[28,28,82,28,118,28,28,6]},{"a":63952,"t":"byte","b":[106,211,83,28,28,6,106,211]},{"a":63960,"t":"byte","b":[180,218,116,82,83,28,28,84]},{"a":63968,"t":"byte","b":[77,83,6,28,6,82,219,34]},{"a":63976,"t":"byte","b":[83,6,177,177,187,83,28,8]},{"a":63984,"t":"byte","b":[28,139,142,143,139,28,155,180]},{"a":63992,"t":"byte","b":[85,28,116,219,218,180,218,218]},{"a":64000,"t":"byte","b":[198,67,198,199,198,198,199,200]},{"a":64008,"t":"byte","b":[69,27,27,27,27,68,198,198]},{"a":64016,"t":"byte","b":[69,27,27,68,200,67,198,199]},{"a":64024,"t":"byte","b":[198,69,27,27,68,200,200,69]},{"a":64032,"t":"byte","b":[27,27,68,199,67,200,69,27]},{"a":64040,"t":"byte","b":[27,27,27,27,27,27,27,27]},{"a":64048,"t":"byte","b":[27,68,67,69,57,57,57,57]},{"a":64056,"t":"byte","b":[149,57,57,57,68,198,201,83]},{"a":64064,"t":"byte","b":[28,28,28,82,211,83,28,28]},{"a":64072,"t":"byte","b":[28,82,55,116,116,116,82,34]},{"a":64080,"t":"byte","b":[211,219,180,34,34,34,218,219]},{"a":64088,"t":"byte","b":[218,180,211,219,218,34,83,28]},{"a":64096,"t":"byte","b":[28,28,118,28,82,180,218,211]},{"a":64104,"t":"byte","b":[55,118,234,4,4,4,4,4]},{"a":64112,"t":"byte","b":[146,140,157,158,140,155,180,218]},{"a":64120,"t":"byte","b":[83,82,211,180,180,219,218,218]},{"a":64128,"t":"byte","b":[67,199,67,199,67,198,199,198]},{"a":64136,"t":"byte","b":[67,200,200,200,200,198,199,67]},{"a":64144,"t":"byte","b":[199,200,200,199,198,67,199,67]},{"a":64152,"t":"byte","b":[67,199,200,200,198,67,199,67]},{"a":64160,"t":"byte","b":[200,200,67,198,199,198,199,200]},{"a":64168,"t":"byte","b":[200,200,200,200,200,200,200,200]},{"a":64176,"t":"byte","b":[200,199,67,198,199,198,67,199]},{"a":64184,"t":"byte","b":[198,67,199,198,67,199,67,218]},{"a":64192,"t":"byte","b":[34,34,34,211,211,211,34,34]},{"a":64200,"t":"byte","b":[34,180,218,211,219,218,211,211]},{"a":64208,"t":"byte","b":[219,218,211,180,219,211,211,180]},{"a":64216,"t":"byte","b":[211,219,218,180,180,219,211,34]},{"a":64224,"t":"byte","b":[34,34,34,34,218,219,211,180]},{"a":64232,"t":"byte","b":[219,34,34,34,34,34,34,34]},{"a":64240,"t":"byte","b":[219,180,211,218,219,211,218,219]},{"a":64248,"t":"byte","b":[180,218,219,218,219,218,218,218]},{"a":64256,"t":"byte","b":[198,198,199,199,199,199,67,198]},{"a":64264,"t":"byte","b":[67,199,199,199,198,199,198,199]},{"a":64272,"t":"byte","b":[67,67,67,199,67,67,198,67]},{"a":64280,"t":"byte","b":[67,199,198,67,67,199,198,67]},{"a":64288,"t":"byte","b":[67,199,199,67,199,198,198,199]},{"a":64296,"t":"byte","b":[67,198,198,198,198,198,67,198]},{"a":64304,"t":"byte","b":[199,199,67,67,199,199,198,198]},{"a":64312,"t":"byte","b":[199,198,67,198,67,67,198,211]},{"a":64320,"t":"byte","b":[219,218,211,211,219,211,219,219]},{"a":64328,"t":"byte","b":[218,219,218,219,218,211,218,211]},{"a":64336,"t":"byte","b":[219,211,211,211,219,211,218,211]},{"a":64344,"t":"byte","b":[218,211,219,219,218,211,219,219]},{"a":64352,"t":"byte","b":[211,219,219,218,219,219,211,219]},{"a":64360,"t":"byte","b":[211,211,219,218,211,218,219,218]},{"a":64368,"t":"byte","b":[211,219,218,219,211,218,218,211]},{"a":64376,"t":"byte","b":[219,218,211,218,219,211,219,218]},{"a":64384,"t":"byte","b":[198,198,198,198,198,198,198,198]},{"a":64392,"t":"byte","b":[198,198,198,198,198,198,198,198]},{"a":64400,"t":"byte","b":[198,198,198,198,198,198,198,198]},{"a":64408,"t":"byte","b":[198,198,198,198,198,198,198,198]},{"a":64416,"t":"byte","b":[198,198,198,198,198,198,198,198]},{"a":64424,"t":"byte","b":[198,198,198,198,198,198,198,198]},{"a":64432,"t":"byte","b":[198,198,198,198,198,198,198,198]},{"a":64440,"t":"byte","b":[198,198,198,198,198,198,198,211]},{"a":64448,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64456,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64464,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64472,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64480,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64488,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64496,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64504,"t":"byte","b":[211,211,211,211,211,211,211,211]},{"a":64512,"l":"map_tail_fc00","c":"96 bytes between the end of the map ($FBFF) and the arrival variables at $FC60. No instruction names this range and no map row pointer reaches it (the highest row starts at $FB80); what it held is unknown.","t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64520,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64528,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64536,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64544,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64552,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64560,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64568,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64576,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64584,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64592,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64600,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":64608,"l":"arrival_counter","c":"Arrival-sequence scratch: step counter / dissolve table index into $09A0 (0-$43).","t":"byte","b":[0],"x":[64671,64682,65201,65256,65263,65353,65379,65385]},{"a":64609,"l":"arrival_mask_index","c":"Dissolve pixel-pair index 0-4 into the masks $FC66/$FC6B; reused as the walk-out countdown ($16) in doctor_leave_script.","t":"byte","b":[0],"x":[64988,65016,65021,65207,65266,65273,65356]},{"a":64610,"l":"arrival_pixel_count","c":"Number of pixel pairs dissolve_sprite clears per call; also a frame countdown ($98) in the walk-out at $FCD5 and adjusted from $C8E0/$CB84.","t":"byte","b":[2],"x":[51424,52100,52106,64690,64696,64727,64751,64756,65070,65076,65082,65196,65350]},{"a":64611,"l":"arrival_variant","c":"0 or 1 from $1C60 >= 2 (which end of the map the figure is at); selects targets in $FC84-$FC8B and message line 8 or $10.","t":"byte","b":[0],"x":[64858,64875,64921,64992,65047]},{"a":64612,"l":"arrival_done_flag","c":"0 while the arrival sequence runs ($FC8E); 1 when the Doctor has walked out ($FD0A) or a saved game was restored ($746E); 2 set at $FE53; cleared at $FDC0. main_loop calls $AF58 only while it is non-zero.","t":"byte","b":[0],"x":[29806,29841,64654,64778,64803,64960,65008,65097,65107]},{"a":64613,"l":"dissolve_all_flag","c":"Argument of dissolve_sprite: 0 clears pixels in the source $7800 only; non-zero also in $7840 and the displayed $7400.","t":"byte","b":[0],"x":[65193,65229]},{"a":64614,"l":"dissolve_keep_masks","c":"AND masks keeping all but one 2-bit multicolour pixel ($F3,$3F,$CF,$FC,$3F); $FC6B holds the matching test masks ($0C,$C0,$30,$03,$C0).","t":"byte","b":[243,63,207,252,63],"x":[65223,65237,65246]},{"a":64619,"l":"f_FC6B","c":"Test masks for dissolve_sprite: $0C,$C0,$30,$03,$C0, one 2-bit pixel each, paired with the keep masks at $FC66.","t":"byte","b":[12,192,48,3,192],"x":[65215]},{"a":64624,"l":"tardis_sprite_pos","c":"X/Y for sprites 0-5 in the arrival sequence: ($A8,$76) ($B8,$76) ($A8,$86) ($B8,$86) ($A8,$96) ($B8,$96): a 2 x 3 block.","t":"byte","b":[168,118,184,118,168,134,184,134],"x":[65165]},{"a":64632,"t":"byte","b":[168,150,184,150]},{"a":64636,"l":"arrival_entity_slots","c":"Entity slots placed by place_arrival_entities, index 0-7: $4B,$4B,$4D,$4D,$4E,$4E,$4F,$4F (two variants each).","t":"byte","b":[75,75,77,77,78,78,79,79],"x":[65285]},{"a":64644,"l":"doctor_walk_targets","c":"Walk-out targets for doctor_leave_script, variant $FC63: $65 from $FC84 ($03/$0E), $64 from $FC86 ($73/$33), $67 from $FC88 ($01/$03), $66 from $FC8A ($20/$80).","t":"byte","b":[3,14],"x":[64878]},{"a":64646,"l":"f_FC86","c":"Walk-out target byte -> $64 (variants $73, $33).","t":"byte","b":[115,51],"x":[64883]},{"a":64648,"l":"f_FC88","c":"Walk-out target byte -> $67 (variants $01, $03).","t":"byte","b":[1,3],"x":[64888]},{"a":64650,"l":"f_FC8A","c":"Walk-out target byte -> $66 (variants $20, $80).","t":"byte","b":[32,128],"x":[64893]},{"a":64652,"l":"arrival_sequence","c":"Runs before play (from main_start $7473) and again from $C94F when $1E = 5. Clears $FC64, sets sprite colours ($FF2F), copies the sprite image, turns the screen on, animates 16+ frames of the six-sprite figure with a growing dissolve (arrival_frame $FD1F), plays sound $12 ($C88E), waits, restores colours, calls $8A3E, prints message ($AE02, Y=8, A=$F9), places four entities ($FEFF), then walks entity 2 left for $98 frames with $C8BC/$8C32, printing message $B2 at count $64, and sets $FC64=1 when done.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[29811,51535]},{"a":64654,"t":"code","b":[141,100,252],"m":"sta","oa":64612,"o":"arrival_done_flag"},{"a":64657,"t":"code","b":[32,47,255],"m":"jsr","oa":65327,"o":"arrival_sprite_colours"},{"a":64660,"t":"code","b":[32,31,253],"m":"jsr","oa":64799,"o":"arrival_frame"},{"a":64663,"t":"code","b":[32,80,255],"m":"jsr","oa":65360,"o":"copy_sprite_source"},{"a":64666,"t":"code","b":[32,87,254],"m":"jsr","oa":65111,"o":"screen_on"},{"a":64669,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":64671,"t":"code","b":[141,96,252],"m":"sta","oa":64608,"o":"arrival_counter"},{"a":64674,"l":"b_FCA2","t":"code","b":[234],"m":"nop","x":[64685]},{"a":64675,"t":"code","b":[234],"m":"nop"},{"a":64676,"t":"code","b":[234],"m":"nop"},{"a":64677,"t":"code","b":[234],"m":"nop"},{"a":64678,"t":"code","b":[234],"m":"nop"},{"a":64679,"t":"code","b":[32,31,253],"m":"jsr","oa":64799,"o":"arrival_frame"},{"a":64682,"t":"code","b":[206,96,252],"m":"dec","oa":64608,"o":"arrival_counter"},{"a":64685,"t":"code","b":[16,243],"m":"bpl","oa":64674,"o":"b_FCA2"},{"a":64687,"l":"b_FCAF","t":"code","b":[32,31,253],"m":"jsr","oa":64799,"o":"arrival_frame","x":[64699]},{"a":64690,"t":"code","b":[173,98,252],"m":"lda","oa":64610,"o":"arrival_pixel_count"},{"a":64693,"t":"code","b":[24],"m":"clc"},{"a":64694,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":64696,"t":"code","b":[141,98,252],"m":"sta","oa":64610,"o":"arrival_pixel_count"},{"a":64699,"t":"code","b":[16,242],"m":"bpl","oa":64687,"o":"b_FCAF"},{"a":64701,"t":"code","b":[160,18],"m":"ldy","o":"#$12"},{"a":64703,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":64706,"t":"code","b":[32,97,255],"m":"jsr","oa":65377,"o":"wait_15_frames"},{"a":64709,"t":"code","b":[32,58,255],"m":"jsr","oa":65338,"o":"normal_sprite_colours"},{"a":64712,"t":"code","b":[32,62,138],"m":"jsr","oa":35390,"o":"apply_motion_and_view"},{"a":64715,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":64717,"t":"code","b":[169,249],"m":"lda","o":"#$F9"},{"a":64719,"t":"code","b":[32,2,174],"m":"jsr","oa":44546,"o":"switch_set_tile"},{"a":64722,"t":"code","b":[32,97,255],"m":"jsr","oa":65377,"o":"wait_15_frames"},{"a":64725,"t":"code","b":[169,152],"m":"lda","o":"#$98"},{"a":64727,"t":"code","b":[141,98,252],"m":"sta","oa":64610,"o":"arrival_pixel_count"},{"a":64730,"l":"b_FCDA","t":"code","b":[32,218,128],"m":"jsr","oa":32986,"o":"wait_frame_and_update_sprites","x":[64754,64773,64796]},{"a":64733,"t":"code","b":[32,255,254],"m":"jsr","oa":65279,"o":"place_arrival_entities"},{"a":64736,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":64738,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":64740,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":64742,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":64744,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":64746,"t":"code","b":[32,138,178],"m":"jsr","oa":45706,"o":"j_B28A"},{"a":64749,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":64751,"t":"code","b":[206,98,252],"m":"dec","oa":64610,"o":"arrival_pixel_count"},{"a":64754,"t":"code","b":[48,230],"m":"bmi","oa":64730,"o":"b_FCDA"},{"a":64756,"t":"code","b":[173,98,252],"m":"lda","oa":64610,"o":"arrival_pixel_count"},{"a":64759,"t":"code","b":[201,100],"m":"cmp","o":"#$64"},{"a":64761,"t":"code","b":[240,19],"m":"beq","oa":64782,"o":"b_FD0E"},{"a":64763,"t":"code","b":[144,11],"m":"bcc","oa":64776,"o":"b_FD08"},{"a":64765,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":64767,"t":"code","b":[32,188,200],"m":"jsr","oa":51388,"o":"doctor_update"},{"a":64770,"l":"s_FD02","c":"JSR $8C32 inside arrival_sequence walk loop. The JSR $FD02 at $9591 runs with the KERNAL ROM banked in (save_game), so it calls ROM, not this RAM.","t":"code","b":[32,50,140],"m":"jsr","oa":35890,"o":"coarse_scroll_step","x":[38289]},{"a":64773,"t":"code","b":[76,218,252],"m":"jmp","oa":64730,"o":"b_FCDA"},{"a":64776,"l":"b_FD08","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[64763]},{"a":64778,"t":"code","b":[141,100,252],"m":"sta","oa":64612,"o":"arrival_done_flag"},{"a":64781,"t":"code","b":[96],"m":"rts"},{"a":64782,"l":"b_FD0E","t":"code","b":[160,8],"m":"ldy","o":"#$08","x":[64761]},{"a":64784,"t":"code","b":[169,178],"m":"lda","o":"#$B2"},{"a":64786,"t":"code","b":[32,2,174],"m":"jsr","oa":44546,"o":"switch_set_tile"},{"a":64789,"l":"s_FD15","c":"Inside doctor_leave_script tail region; JSR $FD15 at $959D is a KERNAL ROM call during save, not a call to this RAM.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[38301]},{"a":64791,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":64793,"t":"code","b":[32,188,200],"m":"jsr","oa":51388,"o":"doctor_update"},{"a":64796,"t":"code","b":[76,218,252],"m":"jmp","oa":64730,"o":"b_FCDA"},{"a":64799,"l":"arrival_frame","c":"One frame of the arrival animation (runs until $53 is a multiple of 4): $81=6, updates entity 2's sprite if $FC64 <> 0 ($81DA), sound $12 ($C7C7), frame wait $80DA, $C818, $A4EE, copy_sprite_source, set_tardis_sprites; then re-copies the source image ($FE60) and dissolves $FC62 pixel pairs of it.","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[64660,64679,64687,64837,65073]},{"a":64801,"t":"code","b":[133,129],"m":"sta","oa":129,"o":"sprite_count"},{"a":64803,"t":"code","b":[173,100,252],"m":"lda","oa":64612,"o":"arrival_done_flag"},{"a":64806,"t":"code","b":[240,5],"m":"beq","oa":64813,"o":"b_FD2D"},{"a":64808,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":64810,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":64813,"l":"b_FD2D","t":"code","b":[160,18],"m":"ldy","o":"#$12","x":[64806]},{"a":64815,"t":"code","b":[32,199,199],"m":"jsr","oa":51143,"o":"sound_start"},{"a":64818,"t":"code","b":[32,218,128],"m":"jsr","oa":32986,"o":"wait_frame_and_update_sprites"},{"a":64821,"t":"code","b":[32,24,200],"m":"jsr","oa":51224,"o":"sound_update"},{"a":64824,"t":"code","b":[32,238,164],"m":"jsr","oa":42222,"o":"status_and_pockets"},{"a":64827,"t":"code","b":[32,80,255],"m":"jsr","oa":65360,"o":"copy_sprite_source"},{"a":64830,"t":"code","b":[32,120,254],"m":"jsr","oa":65144,"o":"set_tardis_sprites"},{"a":64833,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"frame_count_lo"},{"a":64835,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":64837,"t":"code","b":[208,216],"m":"bne","oa":64799,"o":"arrival_frame"},{"a":64839,"t":"code","b":[32,96,254],"m":"jsr","oa":65120,"o":"load_tardis_source"},{"a":64842,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":64844,"t":"code","b":[76,169,254],"m":"jmp","oa":65193,"o":"dissolve_sprite"},{"a":64847,"l":"doctor_leave_script","c":"Scripted state machine for entity 2 in state $CC47 (0, 2, 4, via a self-modified BPL at $FD63): 0 walk towards the target in $FC84-$FC8B, then state 2 and a message; 2 check distance ($AC67) and clear $FC64 or go to state 4; 4 walk right $FC61 frames, then state $FF and message $B2. The only reference found is JMP $FD4F at $2D53, inside a region reset as false code: its caller is open.","t":"code","b":[160,1],"m":"ldy","o":"#$01","x":[11603]},{"a":64848,"t":"note","l":"s_FD50","c":"Mid-instruction address (operand of LDY #$01 at $FD4F); the JSR $FD50 at $959A is a KERNAL ROM call during save, not this RAM.","note":"inside the item at $FD4F","x":[38298]},{"a":64849,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":64852,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":64854,"t":"code","b":[176,2],"m":"bcs","oa":64858,"o":"b_FD5A"},{"a":64856,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":64858,"l":"b_FD5A","t":"code","b":[140,99,252],"m":"sty","oa":64611,"o":"arrival_variant","x":[64854]},{"a":64861,"t":"code","b":[173,71,204],"m":"lda","oa":52295,"o":"cc47_flag"},{"a":64864,"t":"code","b":[141,100,253],"m":"sta","oa":64868,"o":"a_FD64"},{"a":64867,"l":"b_FD63","t":"code","b":[16,254],"m":"bpl","oa":64867,"o":"b_FD63","x":[64867]},{"a":64868,"t":"note","l":"a_FD64","c":"Self-modified BPL offset in doctor_leave_script: STA from $CC47 (0, 2, 4) picks the state handler.","note":"inside the item at $FD63","x":[64864]},{"a":64869,"t":"code","b":[16,4],"m":"bpl","oa":64875,"o":"b_FD6B"},{"a":64871,"t":"code","b":[16,60],"m":"bpl","oa":64933,"o":"b_FDA5"},{"a":64873,"t":"code","b":[16,117],"m":"bpl","oa":64992,"o":"b_FDE0"},{"a":64875,"l":"b_FD6B","t":"code","b":[172,99,252],"m":"ldy","oa":64611,"o":"arrival_variant","x":[64869]},{"a":64878,"t":"code","b":[185,132,252],"m":"lda","oa":64644,"o":"doctor_walk_targets,y"},{"a":64881,"t":"code","b":[133,101],"m":"sta","oa":101,"o":"probe_x_hi"},{"a":64883,"t":"code","b":[185,134,252],"m":"lda","oa":64646,"o":"f_FC86,y"},{"a":64886,"t":"code","b":[133,100],"m":"sta","oa":100,"o":"probe_x_lo"},{"a":64888,"t":"code","b":[185,136,252],"m":"lda","oa":64648,"o":"f_FC88,y"},{"a":64891,"t":"code","b":[133,103],"m":"sta","oa":103,"o":"probe_y_hi"},{"a":64893,"t":"code","b":[185,138,252],"m":"lda","oa":64650,"o":"f_FC8A,y"},{"a":64896,"t":"code","b":[133,102],"m":"sta","oa":102,"o":"probe_y_lo"},{"a":64898,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":64900,"t":"code","b":[32,251,163],"m":"jsr","oa":41979,"o":"distance_to_point"},{"a":64903,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":64905,"t":"code","b":[240,7],"m":"beq","oa":64914,"o":"b_FD92"},{"a":64907,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":64909,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":64911,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":64913,"t":"code","b":[96],"m":"rts"},{"a":64914,"l":"b_FD92","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[64905]},{"a":64916,"t":"code","b":[141,71,204],"m":"sta","oa":52295,"o":"cc47_flag"},{"a":64919,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":64921,"t":"code","b":[173,99,252],"m":"lda","oa":64611,"o":"arrival_variant"},{"a":64924,"t":"code","b":[240,2],"m":"beq","oa":64928,"o":"b_FDA0"},{"a":64926,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":64928,"l":"b_FDA0","t":"code","b":[169,249],"m":"lda","o":"#$F9","x":[64924]},{"a":64930,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":64931,"t":"note","l":"s_FDA3","c":"Mid-instruction address in doctor_leave_script; JSR $FDA3 at $9597 is a KERNAL ROM call during save.","note":"inside the item at $FDA2","x":[38295]},{"a":64933,"l":"b_FDA5","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[64871]},{"a":64935,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":64937,"t":"code","b":[32,103,172],"m":"jsr","oa":44135,"o":"distance_between"},{"a":64940,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"dist_x_hi"},{"a":64942,"t":"code","b":[208,37],"m":"bne","oa":64981,"o":"b_FDD5"},{"a":64944,"t":"code","b":[165,220],"m":"lda","oa":220,"o":"dist_y_hi"},{"a":64946,"t":"code","b":[208,33],"m":"bne","oa":64981,"o":"b_FDD5"},{"a":64948,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"dist_y_lo"},{"a":64950,"t":"code","b":[208,29],"m":"bne","oa":64981,"o":"b_FDD5"},{"a":64952,"t":"code","b":[165,217],"m":"lda","oa":217,"o":"dist_x_lo"},{"a":64954,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":64956,"t":"code","b":[176,23],"m":"bcs","oa":64981,"o":"b_FDD5"},{"a":64958,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":64960,"t":"code","b":[141,100,252],"m":"sta","oa":64612,"o":"arrival_done_flag"},{"a":64963,"t":"code","b":[165,221],"m":"lda","oa":221,"o":"dir_x"},{"a":64965,"t":"code","b":[240,14],"m":"beq","oa":64981,"o":"b_FDD5"},{"a":64967,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":64969,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":64971,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":64973,"t":"code","b":[32,138,178],"m":"jsr","oa":45706,"o":"j_B28A"},{"a":64976,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":64978,"t":"code","b":[134,203],"m":"stx","oa":203,"o":"move_x"},{"a":64980,"t":"code","b":[96],"m":"rts"},{"a":64981,"l":"b_FDD5","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[64942,64946,64950,64956,64965]},{"a":64983,"t":"code","b":[141,71,204],"m":"sta","oa":52295,"o":"cc47_flag"},{"a":64986,"t":"code","b":[169,22],"m":"lda","o":"#$16"},{"a":64988,"t":"code","b":[141,97,252],"m":"sta","oa":64609,"o":"arrival_mask_index"},{"a":64991,"t":"code","b":[96],"m":"rts"},{"a":64992,"l":"b_FDE0","t":"code","b":[173,99,252],"m":"lda","oa":64611,"o":"arrival_variant","x":[64873]},{"a":64995,"t":"code","b":[32,255,254],"m":"jsr","oa":65279,"o":"place_arrival_entities"},{"a":64998,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":65000,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":65002,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":65004,"t":"code","b":[133,204],"m":"sta","oa":204,"o":"move_y"},{"a":65006,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":65008,"t":"code","b":[173,100,252],"m":"lda","oa":64612,"o":"arrival_done_flag"},{"a":65011,"t":"code","b":[208,3],"m":"bne","oa":65016,"o":"b_FDF8"},{"a":65013,"t":"code","b":[32,138,178],"m":"jsr","oa":45706,"o":"j_B28A"},{"a":65016,"l":"b_FDF8","t":"code","b":[206,97,252],"m":"dec","oa":64609,"o":"arrival_mask_index","x":[65011]},{"a":65019,"t":"code","b":[240,19],"m":"beq","oa":65040,"o":"b_FE10"},{"a":65021,"t":"code","b":[173,97,252],"m":"lda","oa":64609,"o":"arrival_mask_index"},{"a":65024,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":65026,"t":"code","b":[176,5],"m":"bcs","oa":65033,"o":"b_FE09"},{"a":65028,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":65030,"t":"code","b":[141,128,29],"m":"sta","oa":7552,"o":"obj_holding"},{"a":65033,"l":"b_FE09","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[65026]},{"a":65035,"t":"code","b":[133,203],"m":"sta","oa":203,"o":"move_x"},{"a":65037,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":65039,"t":"code","b":[96],"m":"rts"},{"a":65040,"l":"b_FE10","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[65019]},{"a":65042,"t":"code","b":[141,71,204],"m":"sta","oa":52295,"o":"cc47_flag"},{"a":65045,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":65047,"t":"code","b":[173,99,252],"m":"lda","oa":64611,"o":"arrival_variant"},{"a":65050,"t":"code","b":[240,2],"m":"beq","oa":65054,"o":"b_FE1E"},{"a":65052,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":65054,"l":"b_FE1E","t":"code","b":[169,178],"m":"lda","o":"#$B2","x":[65050]},{"a":65056,"t":"code","b":[76,2,174],"m":"jmp","oa":44546,"o":"switch_set_tile"},{"a":65059,"l":"departure_sequence","c":"Called from $C92E: sprite colours, source image, then arrival_frame with the dissolve count falling from $7F by 3 (the reverse of arrival_sequence), sound $12, state $CC47=$FF; if $FC64 was 0 sets $1D80=2 and $FC64=2.","t":"code","b":[32,47,255],"m":"jsr","oa":65327,"o":"arrival_sprite_colours","x":[51502]},{"a":65062,"t":"code","b":[32,96,254],"m":"jsr","oa":65120,"o":"load_tardis_source"},{"a":65065,"t":"code","b":[32,80,255],"m":"jsr","oa":65360,"o":"copy_sprite_source"},{"a":65068,"t":"code","b":[169,127],"m":"lda","o":"#$7F"},{"a":65070,"t":"code","b":[141,98,252],"m":"sta","oa":64610,"o":"arrival_pixel_count"},{"a":65073,"l":"b_FE31","t":"code","b":[32,31,253],"m":"jsr","oa":64799,"o":"arrival_frame","x":[65085]},{"a":65076,"t":"code","b":[173,98,252],"m":"lda","oa":64610,"o":"arrival_pixel_count"},{"a":65079,"t":"code","b":[56],"m":"sec"},{"a":65080,"t":"code","b":[233,3],"m":"sbc","o":"#$03"},{"a":65082,"t":"code","b":[141,98,252],"m":"sta","oa":64610,"o":"arrival_pixel_count"},{"a":65085,"t":"code","b":[16,242],"m":"bpl","oa":65073,"o":"b_FE31"},{"a":65087,"t":"code","b":[160,18],"m":"ldy","o":"#$12"},{"a":65089,"t":"code","b":[32,142,200],"m":"jsr","oa":51342,"o":"sound_stop"},{"a":65092,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":65094,"t":"code","b":[141,71,204],"m":"sta","oa":52295,"o":"cc47_flag"},{"a":65097,"t":"code","b":[173,100,252],"m":"lda","oa":64612,"o":"arrival_done_flag"},{"a":65100,"t":"code","b":[208,8],"m":"bne","oa":65110,"o":"r_FE56"},{"a":65102,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":65104,"t":"code","b":[141,128,29],"m":"sta","oa":7552,"o":"obj_holding"},{"a":65107,"t":"code","b":[141,100,252],"m":"sta","oa":64612,"o":"arrival_done_flag"},{"a":65110,"l":"r_FE56","t":"code","b":[96],"m":"rts","x":[65100]},{"a":65111,"l":"screen_on","c":"Sets $D011 bit 4 (display enable).","t":"code","b":[173,17,208],"m":"lda","o":"vic_control1","x":[64666]},{"a":65114,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":65116,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":65119,"t":"code","b":[96],"m":"rts"},{"a":65120,"l":"load_tardis_source","c":"Copies 64 bytes from $09E4 or $0A24 (the second when $1C60 >= 2) to $7800-$783F, the sprite source image for the dissolve.","t":"code","b":[160,63],"m":"ldy","o":"#$3F","x":[64839,65062]},{"a":65122,"t":"code","b":[173,96,28],"m":"lda","oa":7264,"o":"obj_y_hi"},{"a":65125,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":65127,"t":"code","b":[144,2],"m":"bcc","oa":65131,"o":"b_FE6B"},{"a":65129,"t":"code","b":[160,127],"m":"ldy","o":"#$7F"},{"a":65131,"l":"b_FE6B","t":"code","b":[162,63],"m":"ldx","o":"#$3F","x":[65127]},{"a":65133,"l":"b_FE6D","t":"code","b":[185,228,9],"m":"lda","oa":2532,"o":"ending_sprite_images,y","x":[65141]},{"a":65136,"t":"code","b":[157,0,120],"m":"sta","oa":30720,"o":"screen_a_and_save_block,x"},{"a":65139,"t":"code","b":[136],"m":"dey"},{"a":65140,"t":"code","b":[202],"m":"dex"},{"a":65141,"t":"code","b":[16,246],"m":"bpl","oa":65133,"o":"b_FE6D"},{"a":65143,"t":"code","b":[96],"m":"rts"},{"a":65144,"l":"set_tardis_sprites","c":"Sprites 0-5: no expansion/priority/X-MSB, all multicolour, positions from $FC70, pointers $D0 ($7400) in both screens, colour 0.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[64830]},{"a":65146,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":65149,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":65152,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":65155,"t":"code","b":[141,27,208],"m":"sta","o":"vic_sprite_priority"},{"a":65158,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":65160,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":65163,"t":"code","b":[160,11],"m":"ldy","o":"#$0B"},{"a":65165,"l":"b_FE8D","t":"code","b":[185,112,252],"m":"lda","oa":64624,"o":"tardis_sprite_pos,y","x":[65172]},{"a":65168,"t":"code","b":[153,0,208],"m":"sta","o":"vic_sprite0_x,y"},{"a":65171,"t":"code","b":[136],"m":"dey"},{"a":65172,"t":"code","b":[16,247],"m":"bpl","oa":65165,"o":"b_FE8D"},{"a":65174,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":65176,"l":"b_FE98","t":"code","b":[169,208],"m":"lda","o":"#$D0","x":[65190]},{"a":65178,"t":"code","b":[157,248,123],"m":"sta","oa":31736,"o":"sprite_ptrs_screen_a,x"},{"a":65181,"t":"code","b":[157,248,127],"m":"sta","oa":32760,"o":"sprite_ptrs_screen_b,x"},{"a":65184,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":65186,"t":"code","b":[157,39,208],"m":"sta","o":"vic_sprite0_colour,x"},{"a":65189,"t":"code","b":[202],"m":"dex"},{"a":65190,"t":"code","b":[16,240],"m":"bpl","oa":65176,"o":"b_FE98"},{"a":65192,"t":"code","b":[96],"m":"rts"},{"a":65193,"l":"dissolve_sprite","c":"Clears $FC62 random-order 2-bit pixels (offsets from table $09A0, masks $FC66/$FC6B) in the sprite source $7800 (and $7840/$7400 when A <> 0), skipping pixels already clear. A = flag stored in $FC65.","t":"code","b":[141,101,252],"m":"sta","oa":64613,"o":"dissolve_all_flag","x":[52162,64844]},{"a":65196,"t":"code","b":[173,98,252],"m":"lda","oa":64610,"o":"arrival_pixel_count"},{"a":65199,"t":"code","b":[133,90],"m":"sta","oa":90,"o":"tmp_ptr_a"},{"a":65201,"l":"b_FEB1","t":"code","b":[174,96,252],"m":"ldx","oa":64608,"o":"arrival_counter","x":[65269,65276]},{"a":65204,"t":"code","b":[188,160,9],"m":"ldy","oa":2464,"o":"dissolve_order,x"},{"a":65207,"t":"code","b":[174,97,252],"m":"ldx","oa":64609,"o":"arrival_mask_index"},{"a":65210,"t":"code","b":[185,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block,y"},{"a":65213,"t":"code","b":[240,41],"m":"beq","oa":65256,"o":"b_FEE8"},{"a":65215,"t":"code","b":[61,107,252],"m":"and","oa":64619,"o":"f_FC6B,x"},{"a":65218,"t":"code","b":[240,46],"m":"beq","oa":65266,"o":"b_FEF2"},{"a":65220,"t":"code","b":[185,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block,y"},{"a":65223,"t":"code","b":[61,102,252],"m":"and","oa":64614,"o":"dissolve_keep_masks,x"},{"a":65226,"t":"code","b":[153,0,120],"m":"sta","oa":30720,"o":"screen_a_and_save_block,y"},{"a":65229,"t":"code","b":[173,101,252],"m":"lda","oa":64613,"o":"dissolve_all_flag"},{"a":65232,"t":"code","b":[240,18],"m":"beq","oa":65252,"o":"b_FEE4"},{"a":65234,"t":"code","b":[185,64,120],"m":"lda","oa":30784,"o":"f_7840,y"},{"a":65237,"t":"code","b":[61,102,252],"m":"and","oa":64614,"o":"dissolve_keep_masks,x"},{"a":65240,"t":"code","b":[153,64,120],"m":"sta","oa":30784,"o":"f_7840,y"},{"a":65243,"t":"code","b":[185,0,116],"m":"lda","oa":29696,"o":"tardis_sprite_image,y"},{"a":65246,"t":"code","b":[61,102,252],"m":"and","oa":64614,"o":"dissolve_keep_masks,x"},{"a":65249,"t":"code","b":[153,0,116],"m":"sta","oa":29696,"o":"tardis_sprite_image,y"},{"a":65252,"l":"b_FEE4","t":"code","b":[198,90],"m":"dec","oa":90,"o":"tmp_ptr_a","x":[65232]},{"a":65254,"t":"code","b":[240,22],"m":"beq","oa":65278,"o":"r_FEFE"},{"a":65256,"l":"b_FEE8","t":"code","b":[206,96,252],"m":"dec","oa":64608,"o":"arrival_counter","x":[65213]},{"a":65259,"t":"code","b":[16,5],"m":"bpl","oa":65266,"o":"b_FEF2"},{"a":65261,"t":"code","b":[169,67],"m":"lda","o":"#$43"},{"a":65263,"t":"code","b":[141,96,252],"m":"sta","oa":64608,"o":"arrival_counter"},{"a":65266,"l":"b_FEF2","t":"code","b":[206,97,252],"m":"dec","oa":64609,"o":"arrival_mask_index","x":[65218,65259]},{"a":65269,"t":"code","b":[16,186],"m":"bpl","oa":65201,"o":"b_FEB1"},{"a":65271,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":65273,"t":"code","b":[141,97,252],"m":"sta","oa":64609,"o":"arrival_mask_index"},{"a":65276,"t":"code","b":[16,179],"m":"bpl","oa":65201,"o":"b_FEB1"},{"a":65278,"l":"r_FEFE","t":"code","b":[96],"m":"rts","x":[65254]},{"a":65279,"l":"place_arrival_entities","c":"For Y = A+6 down by 2 (A = 0 or 1): entity slot from $FC7C,Y gets $1BC0/$1B70/$1C60/$1C10 from $0980/$0988/$0990/$0998,Y, its sprite is drawn ($81DA), then $1BC0 is set to $FF. Also called from $3C48.","t":"code","b":[24],"m":"clc","x":[64733,64995]},{"a":65280,"l":"a_FF00","c":"Inside place_arrival_entities (operand of ADC #$06); $FF00 as an address is only the placeholder operand of the self-modified LDAs at $7602/$7634.","t":"code","b":[105,6],"m":"adc","o":"#$06","x":[30210,30260,33960,33978,34503,34510,34517,34524,34531,34538,36232,36292,36295,36359,36419,36422,36475,36478,36536,36542,39253,39272,44700,44706]},{"a":65282,"t":"code","b":[168],"m":"tay"},{"a":65283,"l":"b_FF03","t":"code","b":[152],"m":"tya","x":[65324]},{"a":65284,"t":"code","b":[72],"m":"pha"},{"a":65285,"t":"code","b":[190,124,252],"m":"ldx","oa":64636,"o":"arrival_entity_slots,y"},{"a":65288,"t":"code","b":[185,128,9],"m":"lda","oa":2432,"o":"ending_pos_x_hi,y"},{"a":65291,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":65294,"t":"code","b":[185,136,9],"m":"lda","oa":2440,"o":"ending_pos_x_lo,y"},{"a":65297,"t":"code","b":[157,112,27],"m":"sta","oa":7024,"o":"obj_x_lo,x"},{"a":65300,"t":"code","b":[185,144,9],"m":"lda","oa":2448,"o":"ending_pos_y_hi,y"},{"a":65303,"t":"code","b":[157,96,28],"m":"sta","oa":7264,"o":"obj_y_hi,x"},{"a":65306,"t":"code","b":[185,152,9],"m":"lda","oa":2456,"o":"ending_pos_y_lo,y"},{"a":65309,"t":"code","b":[157,16,28],"m":"sta","oa":7184,"o":"obj_y_lo,x"},{"a":65312,"t":"code","b":[32,218,129],"m":"jsr","oa":33242,"o":"sprite_list_add_object"},{"a":65315,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":65317,"t":"code","b":[157,192,27],"m":"sta","oa":7104,"o":"obj_x_hi,x"},{"a":65320,"t":"code","b":[104],"m":"pla"},{"a":65321,"t":"code","b":[168],"m":"tay"},{"a":65322,"t":"code","b":[136],"m":"dey"},{"a":65323,"t":"code","b":[136],"m":"dey"},{"a":65324,"t":"code","b":[16,213],"m":"bpl","oa":65283,"o":"b_FF03"},{"a":65326,"t":"code","b":[96],"m":"rts"},{"a":65327,"l":"arrival_sprite_colours","c":"Sprite multicolours $D025=6, $D026=9 for the arrival figure.","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[64657,65059]},{"a":65329,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":65332,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":65334,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":65337,"t":"code","b":[96],"m":"rts"},{"a":65338,"l":"normal_sprite_colours","c":"Restores sprite multicolours $D025=2, $D026=8 and sets $FC60-$FC62 to 1.","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[51522,64709]},{"a":65340,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":65343,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":65345,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":65348,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":65350,"t":"code","b":[141,98,252],"m":"sta","oa":64610,"o":"arrival_pixel_count"},{"a":65353,"t":"code","b":[141,96,252],"m":"sta","oa":64608,"o":"arrival_counter"},{"a":65356,"t":"code","b":[141,97,252],"m":"sta","oa":64609,"o":"arrival_mask_index"},{"a":65359,"t":"code","b":[96],"m":"rts"},{"a":65360,"l":"copy_sprite_source","c":"Copies $7800-$783F to the displayed sprite $7400-$743F, with a short delay per byte.","t":"code","b":[160,63],"m":"ldy","o":"#$3F","x":[64663,64827,65065]},{"a":65362,"l":"b_FF52","t":"code","b":[185,0,120],"m":"lda","oa":30720,"o":"screen_a_and_save_block,y","x":[65374]},{"a":65365,"t":"code","b":[153,0,116],"m":"sta","oa":29696,"o":"tardis_sprite_image,y"},{"a":65368,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":65370,"l":"b_FF5A","t":"code","b":[202],"m":"dex","x":[65371]},{"a":65371,"l":"s_FF5B","c":"Inside copy_sprite_source; the JSR $FF5B at $95A0 is a KERNAL ROM call during save, not this RAM.","t":"code","b":[16,253],"m":"bpl","oa":65370,"o":"b_FF5A","x":[38304]},{"a":65373,"t":"code","b":[136],"m":"dey"},{"a":65374,"t":"code","b":[16,242],"m":"bpl","oa":65362,"o":"b_FF52"},{"a":65376,"t":"code","b":[96],"m":"rts"},{"a":65377,"l":"wait_15_frames","c":"Waits 15 frames through $80DA, using $FC60 as the counter.","t":"code","b":[169,15],"m":"lda","o":"#$0F","x":[64706,64722]},{"a":65379,"t":"code","b":[141,96,252],"m":"sta","oa":64608,"o":"arrival_counter"},{"a":65382,"l":"b_FF66","t":"code","b":[32,218,128],"m":"jsr","oa":32986,"o":"wait_frame_and_update_sprites","x":[65388]},{"a":65385,"t":"code","b":[206,96,252],"m":"dec","oa":64608,"o":"arrival_counter"},{"a":65388,"t":"code","b":[208,248],"m":"bne","oa":65382,"o":"b_FF66"},{"a":65390,"t":"code","b":[96],"m":"rts"},{"a":65391,"l":"kernal_area_leftovers","c":"$FF6F-$FFF9: bytes left by the loader/unpacker (fragments of loader code: LDA #$37/STA $01, JMP ($FFFC)-style code), not called by the game: the JSR $FFBA/$FFD8 at $95AB/$95C5 run with the KERNAL ROM banked in ($01 |= 2 at $958A), so they reach ROM SETLFS/SAVE, not these RAM bytes.","t":"byte","b":[13]},{"a":65392,"l":"f_FF70","c":"Loader leftover bytes (see $FF6F); not used by the game.","t":"byte","b":[157,59,3,202,208,247,76,60],"x":[37560,37705]},{"a":65400,"t":"byte","b":[3,46,200,32,228,196,176,60]},{"a":65408,"t":"byte","b":[160,11]},{"a":65410,"l":"loader_leftover_ff82","c":"Bytes left in RAM under the KERNAL by the loader or the packing, not the game: a copy of the KERNAL jump table shape (JMP $FDA3, JMP $FD50, ...). The game never runs them: its only KERNAL calls, in the save code at $95AB-$95C5, run with the ROM banked in. The symbol at $FF84 was minted by the tracer decoding these bytes.","t":"byte","b":[185,237]},{"a":65412,"l":"s_FF84","c":"Continuation of the loader leftovers from $FF82 up to $FFB9: the tracer mints a symbol here because the leftover bytes at $FF82 decode as a jump to it. Nothing in the game reaches it.","t":"byte","b":[3,153,255,0,136,208,247,76],"x":[65471]},{"a":65420,"t":"byte","b":[0,254,166,186,224,1,240,3]},{"a":65428,"t":"byte","b":[76,165,244,32,23,248,216,165]},{"a":65436,"t":"byte","b":[1,9,32,72,32,228,2,165]},{"a":65444,"t":"byte","b":[171,240,6,16,250,169,48,133]},{"a":65452,"t":"byte","b":[144,160,6,233,1,208,252,202]},{"a":65460,"t":"byte","b":[208,249,136,208,246,169]},{"a":65466,"l":"s_FFBA","c":"RAM under KERNAL SETLFS entry: the JSR $FFBA at $95AB reaches ROM (banked in at $958A); these RAM bytes are loader leftovers.","t":"byte","b":[55],"note":"not a legal opcode","x":[38315]},{"a":65467,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":65469,"l":"s_FFBD","c":"RAM under KERNAL SETNAM entry: JSR $FFBD at $95B4 reaches ROM; RAM bytes unused.","t":"code","b":[133,192],"m":"sta","oa":192,"o":"overlay_list_35","x":[38324]},{"a":65471,"t":"code","b":[32,132,255],"m":"jsr","oa":65412,"o":"s_FF84"},{"a":65474,"t":"code","b":[104],"m":"pla"},{"a":65475,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":65477,"t":"code","b":[166,174],"m":"ldx","oa":174,"o":"overlay_list_23"},{"a":65479,"t":"code","b":[164,175],"m":"ldy","oa":175,"o":"overlay_list_24"},{"a":65481,"t":"code","b":[24],"m":"clc"},{"a":65482,"t":"code","b":[96],"m":"rts"},{"a":65483,"t":"gap","n":13},{"a":65496,"l":"s_FFD8","c":"RAM under KERNAL SAVE entry: JSR $FFD8 at $95C5 reaches ROM; RAM bytes unused.","t":"code","b":[133,171],"m":"sta","oa":171,"o":"overlay_list_20","x":[38341]},{"a":65498,"t":"code","b":[173,13,220],"m":"lda","o":"cia1_interrupt"},{"a":65501,"t":"code","b":[173,13,221],"m":"lda","o":"cia2_interrupt"},{"a":65504,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":65506,"t":"code","b":[133,180],"m":"sta","oa":180,"o":"overlay_list_29"},{"a":65508,"t":"code","b":[76,223,3],"m":"jmp","oa":991,"o":"loader_leftover_03df"},{"a":65511,"t":"gap","n":1},{"a":65512,"l":"loader_leftover_ffe8","c":"Bytes left under the KERNAL by the loader or the packing (they decode as CLD / JSR $033C / JMP $CB00 ...); the game never executes them. The vectors at $FFFA-$FFFF after them are the game's own.","t":"byte","b":[216,32,60,3,76,0,203,4]},{"a":65520,"t":"byte","b":[196,88,176,238,162,4,189,23]},{"a":65528,"t":"byte","b":[8,133]},{"a":65530,"l":"cpu_vectors","c":"NMI ($FFFA), RESET ($FFFC), IRQ ($FFFE) vectors in RAM; game_entry writes NMI=$800F and IRQ=$8010. The snapshot holds the loader's values; RESET is not set by the game.","t":"word","b":[83,202,48,27,52,3],"d":[51795,6960,820],"x":[18599]}]}