{"schema":1,"platform":"c64","game":"impossible-mission","title":"Impossible Mission","build":"","symbols_sha256":"3d78d5309caed1bf6f3f31dbbf30aa2d31d6b417ab38bf24bdc65d82a25eff0f","index":[{"a":0,"n":"cpu_ddr","k":"variable","len":1,"c":true},{"a":1,"n":"cpu_port","k":"table","len":15,"c":true},{"a":16,"n":"ptr_a","k":"variable","len":1,"c":true},{"a":17,"n":"ptr_a_hi","k":"variable","len":1,"c":true},{"a":18,"n":"ptr_b","k":"variable","len":1,"c":true},{"a":19,"n":"ptr_b_hi","k":"variable","len":1,"c":true},{"a":20,"n":"ptr_colour","k":"variable","len":1,"c":true},{"a":21,"n":"ptr_colour_hi","k":"variable","len":1,"c":true},{"a":22,"n":"ptr_colour_b","k":"variable","len":1,"c":true},{"a":23,"n":"ptr_colour_b_hi","k":"variable","len":1,"c":true},{"a":24,"n":"ptr_data","k":"variable","len":1,"c":true},{"a":25,"n":"ptr_data_hi","k":"variable","len":1,"c":true},{"a":26,"n":"in_room","k":"variable","len":1,"c":true},{"a":27,"n":"shaft_phase","k":"variable","len":1,"c":true},{"a":28,"n":"shaft_step_count","k":"variable","len":1,"c":true},{"a":29,"n":"corridor_below","k":"variable","len":1,"c":true},{"a":30,"n":"corridor_above","k":"variable","len":1,"c":true},{"a":31,"n":"door_right","k":"variable","len":1,"c":true},{"a":32,"n":"door_left","k":"variable","len":1,"c":true},{"a":33,"n":"colour_a","k":"variable","len":1,"c":true},{"a":34,"n":"colour_b","k":"variable","len":1,"c":true},{"a":35,"n":"corridor_colour","k":"variable","len":2,"c":true},{"a":37,"n":"lift_pitch1","k":"variable","len":1,"c":true},{"a":38,"n":"lift_pitch2","k":"variable","len":1,"c":true},{"a":39,"n":"marker_x","k":"variable","len":1,"c":true},{"a":40,"n":"marker_y","k":"table","len":3,"c":true},{"a":43,"n":"map_index","k":"variable","len":1,"c":true},{"a":44,"n":"agent_x","k":"variable","len":1,"c":true},{"a":45,"n":"agent_y","k":"variable","len":1,"c":true},{"a":46,"n":"agent_x2","k":"variable","len":1,"c":true},{"a":47,"n":"agent_y2","k":"variable","len":1,"c":true},{"a":48,"n":"agent_x3","k":"variable","len":1,"c":true},{"a":49,"n":"agent_y3","k":"variable","len":1,"c":true},{"a":50,"n":"agent_xbits","k":"variable","len":1,"c":true},{"a":51,"n":"box_top","k":"variable","len":1,"c":true},{"a":52,"n":"box_bottom","k":"variable","len":1,"c":true},{"a":53,"n":"box_left","k":"variable","len":1,"c":true},{"a":54,"n":"box_right","k":"variable","len":1,"c":true},{"a":55,"n":"box_mid_y","k":"variable","len":1,"c":true},{"a":56,"n":"box_mid_x","k":"variable","len":1,"c":true},{"a":57,"n":"walk_speed","k":"variable","len":1,"c":true},{"a":58,"n":"prev_left","k":"variable","len":1,"c":true},{"a":59,"n":"prev_right","k":"variable","len":1,"c":true},{"a":60,"n":"prev_bottom","k":"variable","len":1,"c":true},{"a":61,"n":"prev_top","k":"variable","len":1,"c":true},{"a":62,"n":"agent_timer","k":"variable","len":1,"c":true},{"a":63,"n":"agent_frame_no","k":"variable","len":1,"c":true},{"a":64,"n":"agent_speed","k":"variable","len":1,"c":true},{"a":65,"n":"falling","k":"variable","len":1,"c":true},{"a":66,"n":"landed","k":"variable","len":1,"c":true},{"a":67,"n":"death","k":"variable","len":1,"c":true},{"a":68,"n":"robot_frame","k":"variable","len":1,"c":true},{"a":69,"n":"robot_floor_ptr","k":"variable","len":1,"c":true},{"a":70,"n":"robot_floor_ptr_hi","k":"variable","len":1,"c":true},{"a":71,"n":"robots_wait","k":"variable","len":1,"c":true},{"a":72,"n":"robot_no","k":"variable","len":1,"c":true},{"a":73,"n":"robot_reg","k":"variable","len":1,"c":true},{"a":74,"n":"robot_turned","k":"variable","len":1,"c":true},{"a":75,"n":"robot_colour1","k":"variable","len":1,"c":true},{"a":76,"n":"robot_colour2","k":"variable","len":1,"c":true},{"a":77,"n":"robot_tmp","k":"variable","len":1,"c":true},{"a":78,"n":"robot_zapping","k":"variable","len":1,"c":true},{"a":79,"n":"zap_sound","k":"variable","len":1,"c":true},{"a":80,"n":"facing","k":"variable","len":1,"c":true},{"a":81,"n":"fire_count","k":"variable","len":1,"c":true},{"a":82,"n":"feet_row","k":"variable","len":1,"c":true},{"a":83,"n":"feet_column","k":"variable","len":1,"c":true},{"a":84,"n":"last_robot","k":"variable","len":1,"c":true},{"a":85,"n":"robot_script_ptr","k":"variable","len":1,"c":true},{"a":86,"n":"robot_mode","k":"variable","len":1,"c":true},{"a":87,"n":"robot_command","k":"variable","len":1,"c":true},{"a":88,"n":"robot_screen_ptr","k":"variable","len":1,"c":true},{"a":89,"n":"robot_screen_ptr_hi","k":"variable","len":1,"c":true},{"a":90,"n":"robot_subcell","k":"table","len":19,"c":true},{"a":109,"n":"ball_off","k":"variable","len":1,"c":true},{"a":110,"n":"ball_pc","k":"variable","len":1,"c":true},{"a":111,"n":"ball_counter","k":"variable","len":1,"c":true},{"a":112,"n":"ball_wait","k":"variable","len":1,"c":true},{"a":113,"n":"ball_tmp","k":"variable","len":1,"c":true},{"a":114,"n":"centre_y","k":"variable","len":1,"c":true},{"a":115,"n":"centre_x","k":"variable","len":1,"c":true},{"a":116,"n":"code_level","k":"variable","len":1,"c":true},{"a":117,"n":"code_level_11","k":"variable","len":1,"c":true},{"a":118,"n":"code_level_1b","k":"variable","len":1,"c":true},{"a":119,"n":"notes_right","k":"variable","len":1,"c":true},{"a":120,"n":"last_note","k":"variable","len":1,"c":true},{"a":121,"n":"bit9_tmp","k":"variable","len":1,"c":true},{"a":122,"n":"cell_row","k":"variable","len":1,"c":true},{"a":123,"n":"cell_row_hi","k":"variable","len":1,"c":true},{"a":124,"n":"cell_ptr","k":"variable","len":1,"c":true},{"a":125,"n":"cell_ptr_hi","k":"variable","len":1,"c":true},{"a":126,"n":"room_no","k":"variable","len":1,"c":true},{"a":127,"n":"entry_side","k":"variable","len":1,"c":true},{"a":128,"n":"exit_side","k":"variable","len":1,"c":true},{"a":129,"n":"platform_list","k":"variable","len":1,"c":true},{"a":130,"n":"platform_list_hi","k":"variable","len":1,"c":true},{"a":131,"n":"press_held","k":"variable","len":1,"c":true},{"a":132,"n":"platform_colour","k":"variable","len":1,"c":true},{"a":133,"n":"platform_moving","k":"variable","len":1,"c":true},{"a":134,"n":"object_index","k":"variable","len":1,"c":true},{"a":135,"n":"object_flag_ptr","k":"variable","len":1,"c":true},{"a":136,"n":"object_flag_ptr_hi","k":"variable","len":1,"c":true},{"a":137,"n":"furniture_type","k":"variable","len":1,"c":true},{"a":138,"n":"terminal_choice","k":"variable","len":1,"c":true},{"a":139,"n":"wipe_top","k":"variable","len":1,"c":true},{"a":140,"n":"wipe_bottom","k":"variable","len":1,"c":true},{"a":141,"n":"room_colour","k":"variable","len":1,"c":true},{"a":142,"n":"room_sprites","k":"variable","len":1,"c":true},{"a":143,"n":"selected_slot","k":"variable","len":1,"c":true},{"a":144,"n":"carried_slot","k":"variable","len":1,"c":true},{"a":145,"n":"undo_slot","k":"variable","len":1,"c":true},{"a":146,"n":"slot_used","k":"table","len":3,"c":true},{"a":149,"n":"slot_used_3","k":"table","len":3,"c":true},{"a":152,"n":"slot_colour","k":"table","len":3,"c":true},{"a":155,"n":"slot_colour_3","k":"table","len":3,"c":true},{"a":158,"n":"new_piece_colour","k":"variable","len":1,"c":true},{"a":159,"n":"hand_mode","k":"variable","len":1,"c":true},{"a":160,"n":"hand_top","k":"variable","len":1,"c":true},{"a":161,"n":"hand_bottom","k":"variable","len":1,"c":true},{"a":162,"n":"hand_left","k":"variable","len":1,"c":true},{"a":163,"n":"hand_right","k":"variable","len":1,"c":true},{"a":164,"n":"sound_timer","k":"variable","len":1,"c":true},{"a":165,"n":"speech_frames","k":"variable","len":1,"c":true},{"a":166,"n":"speech_frames_hi","k":"variable","len":1,"c":true},{"a":167,"n":"speech_pitch_ptr","k":"variable","len":1,"c":true},{"a":168,"n":"speech_pitch_ptr_hi","k":"variable","len":1,"c":true},{"a":169,"n":"speech_data","k":"variable","len":1,"c":true},{"a":170,"n":"speech_data_hi","k":"variable","len":1,"c":true},{"a":171,"n":"speech_levels","k":"variable","len":1,"c":true},{"a":172,"n":"speech_levels_hi","k":"variable","len":1,"c":true},{"a":173,"n":"speech_up_count","k":"variable","len":1,"c":true},{"a":174,"n":"speech_down_count","k":"variable","len":1,"c":true},{"a":175,"n":"speech_gap_count","k":"table","len":18,"c":true},{"a":193,"n":"hours_passed","k":"variable","len":2,"c":true},{"a":195,"n":"memory_pos","k":"variable","len":1,"c":true},{"a":196,"n":"mask_ptrs","k":"variable","len":2,"c":true},{"a":198,"n":"mask_ptr2","k":"variable","len":2,"c":true},{"a":200,"n":"solved","k":"table","len":9,"c":true},{"a":209,"n":"clock_ticks","k":"variable","len":1,"c":true},{"a":210,"n":"clock_seconds","k":"variable","len":1,"c":true},{"a":211,"n":"clock_minutes","k":"variable","len":1,"c":true},{"a":212,"n":"clock_hours","k":"variable","len":1,"c":true},{"a":213,"n":"clock_stopped","k":"variable","len":1,"c":true},{"a":214,"n":"pieces_found","k":"variable","len":1,"c":true},{"a":215,"n":"passwords_found","k":"variable","len":1,"c":true},{"a":216,"n":"puzzles_solved","k":"variable","len":1,"c":true},{"a":217,"n":"score","k":"variable","len":1,"c":true},{"a":218,"n":"score_hundreds","k":"variable","len":1,"c":true},{"a":219,"n":"score_top","k":"variable","len":1,"c":true},{"a":220,"n":"won","k":"variable","len":2,"c":true},{"a":222,"n":"fire_held","k":"variable","len":1,"c":true},{"a":223,"n":"key_held","k":"variable","len":1,"c":true},{"a":224,"n":"tick","k":"variable","len":1,"c":true},{"a":225,"n":"noise","k":"variable","len":2,"c":true},{"a":227,"n":"random2","k":"variable","len":1,"c":true},{"a":228,"n":"tmp1","k":"variable","len":1,"c":true},{"a":229,"n":"tmp2","k":"variable","len":1,"c":true},{"a":230,"n":"tmp3","k":"variable","len":1,"c":true},{"a":231,"n":"tmp4","k":"variable","len":1,"c":true},{"a":232,"n":"tmp5","k":"variable","len":1,"c":true},{"a":233,"n":"tmp6","k":"variable","len":1,"c":true},{"a":234,"n":"object_no","k":"variable","len":1,"c":true},{"a":235,"n":"random_lo","k":"variable","len":1,"c":true},{"a":236,"n":"random_hi","k":"table","len":16,"c":true},{"a":252,"n":"irq_tick_only","k":"routine","len":3,"c":true},{"a":2176,"n":"speech_say","k":"routine","len":3,"c":true},{"a":2179,"n":"nmi_speech_up","k":"routine","len":2,"c":true},{"a":2181,"n":"a_0885","k":"routine","len":31,"c":true},{"a":2199,"n":"b_0897","k":"branch","len":1,"c":false},{"a":2212,"n":"nmi_speech_down","k":"routine","len":2,"c":true},{"a":2214,"n":"a_08A6","k":"routine","len":29,"c":true},{"a":2232,"n":"b_08B8","k":"branch","len":1,"c":false},{"a":2243,"n":"nmi_speech_hold","k":"routine","len":22,"c":true},{"a":2265,"n":"nmi_speech_wait","k":"routine","len":8,"c":true},{"a":2273,"n":"nmi_speech_end","k":"routine","len":16,"c":true},{"a":2289,"n":"speech_next_period","k":"routine","len":32,"c":true},{"a":2290,"n":"b_08F2","k":"branch","len":1,"c":false},{"a":2321,"n":"a_0911","k":"routine","len":30,"c":true},{"a":2323,"n":"b_0913","k":"branch","len":1,"c":false},{"a":2335,"n":"b_091F","k":"branch","len":1,"c":false},{"a":2351,"n":"a_092F","k":"routine","len":34,"c":true},{"a":2361,"n":"j_0939","k":"branch","len":1,"c":false},{"a":2376,"n":"b_0948","k":"branch","len":1,"c":false},{"a":2385,"n":"speech_shift_window","k":"routine","len":42,"c":true},{"a":2411,"n":"b_096B","k":"branch","len":1,"c":false},{"a":2427,"n":"speech_set_end","k":"routine","len":6,"c":true},{"a":2433,"n":"speech_start_gap","k":"routine","len":11,"c":true},{"a":2444,"n":"speech_dec_1bit_jmp","k":"routine","len":3,"c":true},{"a":2447,"n":"speech_dec_1bit_cont_jmp","k":"routine","len":3,"c":true},{"a":2450,"n":"speech_dec_2bit_stub","k":"routine","len":6,"c":true},{"a":2456,"n":"speech_dec_4bit_stub","k":"routine","len":3,"c":true},{"a":2459,"n":"speech_frame_end","k":"routine","len":27,"c":true},{"a":2480,"n":"b_09B0","k":"branch","len":1,"c":false},{"a":2486,"n":"speech_frame_header","k":"routine","len":1,"c":true},{"a":2487,"n":"a_09B7","k":"routine","len":144,"c":true},{"a":2496,"n":"b_09C0","k":"branch","len":1,"c":false},{"a":2565,"n":"b_0A05","k":"branch","len":1,"c":false},{"a":2590,"n":"b_0A1E","k":"branch","len":1,"c":false},{"a":2596,"n":"b_0A24","k":"branch","len":1,"c":false},{"a":2625,"n":"b_0A41","k":"branch","len":1,"c":false},{"a":2631,"n":"tbl_speech_len","k":"table","len":4,"c":true},{"a":2635,"n":"speech_frame_repeat","k":"routine","len":29,"c":true},{"a":2652,"n":"j_0A5C","k":"branch","len":1,"c":false},{"a":2663,"n":"r_0A67","k":"branch","len":1,"c":false},{"a":2664,"n":"speech_dec_2bit","k":"routine","len":59,"c":true},{"a":2677,"n":"j_0A75","k":"branch","len":1,"c":false},{"a":2706,"n":"b_0A92","k":"branch","len":1,"c":false},{"a":2723,"n":"a_0AA3","k":"routine","len":50,"c":true},{"a":2731,"n":"j_0AAB","k":"branch","len":1,"c":false},{"a":2772,"n":"b_0AD4","k":"branch","len":1,"c":false},{"a":2773,"n":"a_0AD5","k":"routine","len":4,"c":true},{"a":2777,"n":"tbl_speech_levels","k":"table","len":12,"c":true},{"a":2789,"n":"speech_dec_4bit","k":"routine","len":52,"c":true},{"a":2814,"n":"b_0AFE","k":"branch","len":1,"c":false},{"a":2830,"n":"j_0B0E","k":"branch","len":1,"c":false},{"a":2840,"n":"b_0B18","k":"branch","len":1,"c":false},{"a":2841,"n":"a_0B19","k":"routine","len":4,"c":true},{"a":2845,"n":"speech_pitch_step","k":"routine","len":70,"c":true},{"a":2865,"n":"b_0B31","k":"branch","len":1,"c":false},{"a":2907,"n":"b_0B5B","k":"branch","len":1,"c":false},{"a":2915,"n":"tbl_speech_pitch","k":"table","len":16,"c":true},{"a":2931,"n":"speech_dec_1bit","k":"routine","len":56,"c":true},{"a":2959,"n":"b_0B8F","k":"branch","len":1,"c":false},{"a":2969,"n":"b_0B99","k":"branch","len":1,"c":false},{"a":2976,"n":"j_0BA0","k":"branch","len":1,"c":false},{"a":2986,"n":"b_0BAA","k":"branch","len":1,"c":false},{"a":2987,"n":"a_0BAB","k":"routine","len":4,"c":true},{"a":2991,"n":"speech_put_bits","k":"routine","len":21,"c":true},{"a":2999,"n":"b_0BB7","k":"branch","len":1,"c":false},{"a":3012,"n":"speech_put_bit2","k":"routine","len":31,"c":true},{"a":3025,"n":"b_0BD1","k":"branch","len":1,"c":false},{"a":3038,"n":"b_0BDE","k":"branch","len":1,"c":false},{"a":3043,"n":"j_0BE3","k":"routine","len":26,"c":true},{"a":3069,"n":"speech_smooth","k":"routine","len":27,"c":true},{"a":3095,"n":"b_0C17","k":"branch","len":1,"c":false},{"a":3096,"n":"a_0C18","k":"routine","len":4,"c":true},{"a":3100,"n":"a_0C1C","k":"routine","len":4,"c":true},{"a":3104,"n":"a_0C20","k":"routine","len":15,"c":true},{"a":3119,"n":"speech_command","k":"routine","len":49,"c":true},{"a":3154,"n":"b_0C52","k":"branch","len":1,"c":false},{"a":3167,"n":"r_0C5F","k":"branch","len":1,"c":false},{"a":3168,"n":"speech_stop","k":"routine","len":17,"c":true},{"a":3176,"n":"b_0C68","k":"branch","len":1,"c":false},{"a":3185,"n":"speech_start_timer","k":"routine","len":24,"c":true},{"a":3209,"n":"speech_init_chain","k":"routine","len":34,"c":true},{"a":3243,"n":"speech_lookup","k":"routine","len":64,"c":true},{"a":3307,"n":"str_speech_ptr","k":"table","len":6,"c":true},{"a":3313,"n":"speech_vars","k":"variable","len":1,"c":true},{"a":3314,"n":"a_0CF2","k":"variable","len":1,"c":true},{"a":3315,"n":"a_0CF3","k":"variable","len":1,"c":true},{"a":3316,"n":"a_0CF4","k":"variable","len":1,"c":true},{"a":3317,"n":"a_0CF5","k":"variable","len":1,"c":true},{"a":3318,"n":"a_0CF6","k":"variable","len":1,"c":true},{"a":3319,"n":"a_0CF7","k":"variable","len":1,"c":true},{"a":3320,"n":"a_0CF8","k":"variable","len":1,"c":true},{"a":3321,"n":"a_0CF9","k":"variable","len":1,"c":true},{"a":3322,"n":"a_0CFA","k":"variable","len":1,"c":true},{"a":3323,"n":"a_0CFB","k":"variable","len":1,"c":true},{"a":3324,"n":"a_0CFC","k":"variable","len":1,"c":true},{"a":3325,"n":"a_0CFD","k":"variable","len":1,"c":true},{"a":3326,"n":"a_0CFE","k":"variable","len":1,"c":true},{"a":3327,"n":"a_0CFF","k":"variable","len":1,"c":true},{"a":3328,"n":"gfx_panel_edge","k":"table","len":90,"c":true},{"a":3418,"n":"gfx_panel_edge_colours","k":"table","len":90,"c":true},{"a":3508,"n":"gfx_platform_top","k":"table","len":3,"c":true},{"a":3511,"n":"gfx_platform_cap_low","k":"table","len":3,"c":true},{"a":3514,"n":"gfx_platform_cap_high","k":"table","len":3,"c":true},{"a":3517,"n":"tbl_shaft_phase","k":"table","len":3,"c":true},{"a":3520,"n":"gfx_corridor_mark_low","k":"table","len":8,"c":true},{"a":3528,"n":"gfx_corridor_mark_high","k":"table","len":8,"c":true},{"a":3536,"n":"tbl_side_cap","k":"variable","len":2,"c":true},{"a":3538,"n":"tbl_side_end","k":"variable","len":2,"c":true},{"a":3540,"n":"tbl_side_end17","k":"variable","len":2,"c":true},{"a":3542,"n":"tbl_side_mask","k":"variable","len":2,"c":true},{"a":3544,"n":"gfx_corridor_ceiling","k":"table","len":40,"c":true},{"a":3584,"n":"gfx_corridor_wall","k":"table","len":40,"c":true},{"a":3624,"n":"gfx_corridor_floor","k":"table","len":40,"c":true},{"a":3664,"n":"tbl_colour_rows_lo","k":"table","len":14,"c":true},{"a":3678,"n":"tbl_colour_rows_hi","k":"table","len":14,"c":true},{"a":3692,"n":"tbl_robot_xbit","k":"table","len":4,"c":true},{"a":3696,"n":"tbl_room_ptrs","k":"variable","len":1,"c":true},{"a":3697,"n":"f_0E71","k":"table","len":63,"c":true},{"a":3760,"n":"room_17","k":"table","len":97,"c":true},{"a":3857,"n":"room_1f","k":"table","len":105,"c":true},{"a":3962,"n":"room_16","k":"table","len":134,"c":true},{"a":4096,"n":"room_16_2","k":"table","len":57,"c":true},{"a":4153,"n":"room_1a","k":"table","len":105,"c":true},{"a":4258,"n":"room_06","k":"table","len":99,"c":true},{"a":4357,"n":"room_07","k":"table","len":87,"c":true},{"a":4444,"n":"room_0e","k":"table","len":119,"c":true},{"a":4563,"n":"room_0d","k":"table","len":111,"c":true},{"a":4674,"n":"room_02","k":"table","len":104,"c":true},{"a":4778,"n":"room_1e","k":"table","len":110,"c":true},{"a":4888,"n":"room_0f","k":"table","len":100,"c":true},{"a":4988,"n":"room_13","k":"table","len":123,"c":true},{"a":5111,"n":"room_15","k":"table","len":103,"c":true},{"a":5214,"n":"room_05","k":"table","len":124,"c":true},{"a":5338,"n":"room_19","k":"table","len":94,"c":true},{"a":5432,"n":"room_0b","k":"table","len":130,"c":true},{"a":5562,"n":"room_00","k":"table","len":129,"c":true},{"a":5691,"n":"room_03","k":"table","len":145,"c":true},{"a":5836,"n":"room_1d","k":"table","len":100,"c":true},{"a":5936,"n":"room_12","k":"table","len":110,"c":true},{"a":6046,"n":"room_14","k":"table","len":86,"c":true},{"a":6132,"n":"room_0c","k":"table","len":158,"c":true},{"a":6290,"n":"room_1c","k":"table","len":124,"c":true},{"a":6414,"n":"room_0a","k":"table","len":127,"c":true},{"a":6541,"n":"room_01","k":"table","len":127,"c":true},{"a":6668,"n":"room_09","k":"table","len":115,"c":true},{"a":6783,"n":"room_10","k":"table","len":146,"c":true},{"a":6929,"n":"room_08","k":"table","len":88,"c":true},{"a":7017,"n":"room_04","k":"table","len":89,"c":true},{"a":7106,"n":"room_18","k":"table","len":100,"c":true},{"a":7206,"n":"room_11","k":"table","len":159,"c":true},{"a":7365,"n":"room_1b","k":"table","len":159,"c":true},{"a":7524,"n":"tbl_platform_originals","k":"table","len":512,"c":true},{"a":8036,"n":"tbl_platform_originals_2","k":"table","len":118,"c":true},{"a":8154,"n":"tbl_room_platform_ptrs","k":"variable","len":1,"c":true},{"a":8155,"n":"f_1FDB","k":"table","len":59,"c":true},{"a":8214,"n":"tbl_platform_original_ptrs","k":"variable","len":1,"c":true},{"a":8215,"n":"f_2017","k":"table","len":59,"c":true},{"a":8274,"n":"tbl_room_ptrs_unread","k":"table","len":60,"c":true},{"a":8334,"n":"str_password_words","k":"table","len":72,"c":true},{"a":8406,"n":"tbl_room_robot_ptrs","k":"variable","len":1,"c":true},{"a":8407,"n":"f_20D7","k":"table","len":59,"c":true},{"a":8466,"n":"tbl_robot_scripts","k":"table","len":256,"c":true},{"a":8722,"n":"tbl_robot_script_starts","k":"table","len":32,"c":true},{"a":8754,"n":"tbl_ball_scripts","k":"variable","len":1,"c":true},{"a":8755,"n":"tbl_ball_args","k":"table","len":249,"c":true},{"a":9004,"n":"tbl_furniture","k":"variable","len":1,"c":true},{"a":9005,"n":"f_232D","k":"variable","len":1,"c":true},{"a":9006,"n":"f_232E","k":"variable","len":1,"c":true},{"a":9007,"n":"f_232F","k":"variable","len":1,"c":true},{"a":9008,"n":"tbl_furniture_time","k":"table","len":131,"c":true},{"a":9139,"n":"gfx_furniture","k":"table","len":576,"c":true},{"a":9715,"n":"gfx_win_colours","k":"table","len":30,"c":true},{"a":9745,"n":"gfx_win_chars","k":"table","len":30,"c":true},{"a":9775,"n":"gfx_furniture2","k":"table","len":180,"c":true},{"a":9955,"n":"tbl_puzzle_patterns","k":"table","len":128,"c":true},{"a":10083,"n":"gfx_piece_masks","k":"table","len":1024,"c":true},{"a":11107,"n":"gfx_piece_masks_2","k":"table","len":1024,"c":true},{"a":12131,"n":"gfx_piece_masks_3","k":"table","len":256,"c":true},{"a":12387,"n":"gfx_code_room_picture","k":"table","len":144,"c":true},{"a":12531,"n":"tbl_furniture_slots","k":"variable","len":1,"c":true},{"a":12532,"n":"tbl_furniture_slots_hi","k":"table","len":255,"c":true},{"a":12787,"n":"gfx_lift_init_picture","k":"table","len":144,"c":true},{"a":12931,"n":"gfx_snooze_picture","k":"table","len":144,"c":true},{"a":13075,"n":"gfx_pocket_computer","k":"table","len":45,"c":true},{"a":13120,"n":"gfx_pc_display_rows","k":"table","len":211,"c":true},{"a":13331,"n":"f_3413","k":"table","len":30,"c":true},{"a":13361,"n":"f_3431","k":"table","len":8,"c":true},{"a":13369,"n":"f_3439","k":"table","len":36,"c":true},{"a":13405,"n":"f_345D","k":"table","len":64,"c":true},{"a":13475,"n":"gfx_pocket_computer_colours","k":"table","len":256,"c":true},{"a":13731,"n":"f_35A3","k":"table","len":30,"c":true},{"a":13761,"n":"gfx_pc_status_colours","k":"table","len":114,"c":true},{"a":13875,"n":"rle_terminal_chars","k":"variable","len":1,"c":true},{"a":13876,"n":"rle_terminal_values","k":"table","len":373,"c":true},{"a":14249,"n":"rle_terminal_colours","k":"variable","len":1,"c":true},{"a":14250,"n":"rle_terminal_colour_values","k":"table","len":171,"c":true},{"a":14421,"n":"game_start","k":"routine","len":378,"c":true},{"a":14447,"n":"b_386F","k":"branch","len":1,"c":false},{"a":14455,"n":"b_3877","k":"branch","len":1,"c":false},{"a":14459,"n":"b_387B","k":"branch","len":1,"c":false},{"a":14476,"n":"j_388C","k":"branch","len":1,"c":false},{"a":14483,"n":"b_3893","k":"branch","len":1,"c":false},{"a":14492,"n":"b_389C","k":"branch","len":1,"c":false},{"a":14506,"n":"b_38AA","k":"branch","len":1,"c":false},{"a":14579,"n":"b_38F3","k":"branch","len":1,"c":false},{"a":14583,"n":"b_38F7","k":"branch","len":1,"c":false},{"a":14630,"n":"b_3926","k":"branch","len":1,"c":false},{"a":14699,"n":"b_396B","k":"branch","len":1,"c":false},{"a":14720,"n":"b_3980","k":"branch","len":1,"c":false},{"a":14743,"n":"b_3997","k":"branch","len":1,"c":false},{"a":14799,"n":"lift_loop","k":"routine","len":177,"c":true},{"a":14821,"n":"b_39E5","k":"branch","len":1,"c":false},{"a":14835,"n":"b_39F3","k":"branch","len":1,"c":false},{"a":14838,"n":"j_39F6","k":"branch","len":1,"c":false},{"a":14859,"n":"b_3A0B","k":"branch","len":1,"c":false},{"a":14868,"n":"b_3A14","k":"branch","len":1,"c":false},{"a":14872,"n":"b_3A18","k":"branch","len":1,"c":false},{"a":14896,"n":"b_3A30","k":"branch","len":1,"c":false},{"a":14902,"n":"b_3A36","k":"branch","len":1,"c":false},{"a":14911,"n":"j_3A3F","k":"branch","len":1,"c":false},{"a":14942,"n":"b_3A5E","k":"branch","len":1,"c":false},{"a":14959,"n":"b_3A6F","k":"branch","len":1,"c":false},{"a":14962,"n":"b_3A72","k":"branch","len":1,"c":false},{"a":14976,"n":"pocket_computer","k":"routine","len":47,"c":true},{"a":15023,"n":"pocket_computer_loop","k":"routine","len":158,"c":true},{"a":15037,"n":"b_3ABD","k":"branch","len":1,"c":false},{"a":15042,"n":"b_3AC2","k":"branch","len":1,"c":false},{"a":15064,"n":"b_3AD8","k":"branch","len":1,"c":false},{"a":15075,"n":"b_3AE3","k":"branch","len":1,"c":false},{"a":15078,"n":"b_3AE6","k":"branch","len":1,"c":false},{"a":15095,"n":"b_3AF7","k":"branch","len":1,"c":false},{"a":15101,"n":"b_3AFD","k":"branch","len":1,"c":false},{"a":15116,"n":"b_3B0C","k":"branch","len":1,"c":false},{"a":15138,"n":"b_3B22","k":"branch","len":1,"c":false},{"a":15141,"n":"b_3B25","k":"branch","len":1,"c":false},{"a":15164,"n":"b_3B3C","k":"branch","len":1,"c":false},{"a":15171,"n":"b_3B43","k":"branch","len":1,"c":false},{"a":15181,"n":"pc_select_slot","k":"routine","len":25,"c":true},{"a":15206,"n":"a_3B66","k":"routine","len":1,"c":true},{"a":15207,"n":"a_3B67","k":"routine","len":116,"c":true},{"a":15220,"n":"b_3B74","k":"branch","len":1,"c":false},{"a":15229,"n":"b_3B7D","k":"branch","len":1,"c":false},{"a":15239,"n":"b_3B87","k":"branch","len":1,"c":false},{"a":15247,"n":"b_3B8F","k":"branch","len":1,"c":false},{"a":15252,"n":"b_3B94","k":"branch","len":1,"c":false},{"a":15275,"n":"b_3BAB","k":"branch","len":1,"c":false},{"a":15277,"n":"b_3BAD","k":"branch","len":1,"c":false},{"a":15295,"n":"b_3BBF","k":"branch","len":1,"c":false},{"a":15323,"n":"pc_button_grid","k":"routine","len":105,"c":true},{"a":15330,"n":"b_3BE2","k":"branch","len":1,"c":false},{"a":15345,"n":"b_3BF1","k":"branch","len":1,"c":false},{"a":15356,"n":"b_3BFC","k":"branch","len":1,"c":false},{"a":15363,"n":"b_3C03","k":"branch","len":1,"c":false},{"a":15378,"n":"b_3C12","k":"branch","len":1,"c":false},{"a":15389,"n":"b_3C1D","k":"branch","len":1,"c":false},{"a":15396,"n":"b_3C24","k":"branch","len":1,"c":false},{"a":15407,"n":"b_3C2F","k":"branch","len":1,"c":false},{"a":15418,"n":"b_3C3A","k":"branch","len":1,"c":false},{"a":15425,"n":"b_3C41","k":"branch","len":1,"c":false},{"a":15428,"n":"pc_left_keys","k":"routine","len":48,"c":true},{"a":15458,"n":"b_3C62","k":"branch","len":1,"c":false},{"a":15467,"n":"b_3C6B","k":"branch","len":1,"c":false},{"a":15476,"n":"pc_display_click","k":"routine","len":227,"c":true},{"a":15496,"n":"b_3C88","k":"branch","len":1,"c":false},{"a":15514,"n":"b_3C9A","k":"branch","len":1,"c":false},{"a":15530,"n":"b_3CAA","k":"branch","len":1,"c":false},{"a":15540,"n":"b_3CB4","k":"branch","len":1,"c":false},{"a":15548,"n":"b_3CBC","k":"branch","len":1,"c":false},{"a":15565,"n":"b_3CCD","k":"branch","len":1,"c":false},{"a":15582,"n":"b_3CDE","k":"branch","len":1,"c":false},{"a":15703,"n":"pc_btn_flip_v","k":"routine","len":12,"c":true},{"a":15715,"n":"pc_btn_flip_h","k":"routine","len":12,"c":true},{"a":15727,"n":"pc_btn_clear","k":"routine","len":9,"c":true},{"a":15736,"n":"pc_btn_pause","k":"routine","len":19,"c":true},{"a":15755,"n":"pc_btn_undo","k":"routine","len":9,"c":true},{"a":15764,"n":"pc_btn_off","k":"routine","len":25,"c":true},{"a":15789,"n":"pc_btn_colour","k":"routine","len":21,"c":true},{"a":15793,"n":"j_3DB1","k":"branch","len":1,"c":false},{"a":15797,"n":"j_3DB5","k":"branch","len":1,"c":false},{"a":15799,"n":"b_3DB7","k":"branch","len":1,"c":false},{"a":15810,"n":"move_hand","k":"routine","len":84,"c":true},{"a":15838,"n":"b_3DDE","k":"branch","len":1,"c":false},{"a":15848,"n":"b_3DE8","k":"branch","len":1,"c":false},{"a":15858,"n":"b_3DF2","k":"branch","len":1,"c":false},{"a":15866,"n":"b_3DFA","k":"branch","len":1,"c":false},{"a":15885,"n":"b_3E0D","k":"branch","len":1,"c":false},{"a":15890,"n":"j_3E12","k":"branch","len":1,"c":false},{"a":15893,"n":"r_3E15","k":"branch","len":1,"c":false},{"a":15894,"n":"copy_display_chars","k":"routine","len":35,"c":true},{"a":15896,"n":"b_3E18","k":"branch","len":1,"c":false},{"a":15919,"n":"b_3E2F","k":"branch","len":1,"c":false},{"a":15929,"n":"show_hand","k":"routine","len":41,"c":true},{"a":15931,"n":"b_3E3B","k":"branch","len":1,"c":false},{"a":15937,"n":"b_3E41","k":"branch","len":1,"c":false},{"a":15970,"n":"show_hand_at_slot","k":"routine","len":59,"c":true},{"a":15988,"n":"b_3E74","k":"branch","len":1,"c":false},{"a":16029,"n":"show_slot_frame","k":"routine","len":51,"c":true},{"a":16079,"n":"r_3ECF","k":"branch","len":1,"c":false},{"a":16080,"n":"show_memory_frame","k":"routine","len":95,"c":true},{"a":16092,"n":"b_3EDC","k":"branch","len":1,"c":false},{"a":16114,"n":"b_3EF2","k":"branch","len":1,"c":false},{"a":16130,"n":"b_3F02","k":"branch","len":1,"c":false},{"a":16174,"n":"r_3F2E","k":"branch","len":1,"c":false},{"a":16175,"n":"draw_frame_rows","k":"routine","len":14,"c":true},{"a":16179,"n":"b_3F33","k":"branch","len":1,"c":false},{"a":16189,"n":"sound_click","k":"routine","len":4,"c":true},{"a":16193,"n":"sound_tone","k":"routine","len":32,"c":true},{"a":16225,"n":"draw_piece","k":"routine","len":2,"c":true},{"a":16227,"n":"draw_piece_a","k":"routine","len":86,"c":true},{"a":16247,"n":"b_3F77","k":"branch","len":1,"c":false},{"a":16251,"n":"b_3F7B","k":"branch","len":1,"c":false},{"a":16268,"n":"b_3F8C","k":"branch","len":1,"c":false},{"a":16282,"n":"j_3F9A","k":"branch","len":1,"c":false},{"a":16304,"n":"b_3FB0","k":"branch","len":1,"c":false},{"a":16312,"n":"r_3FB8","k":"branch","len":1,"c":false},{"a":16313,"n":"detect_pal","k":"routine","len":40,"c":true},{"a":16316,"n":"b_3FBC","k":"branch","len":1,"c":false},{"a":16323,"n":"b_3FC3","k":"branch","len":1,"c":false},{"a":16328,"n":"b_3FC8","k":"branch","len":1,"c":false},{"a":16341,"n":"b_3FD5","k":"branch","len":1,"c":false},{"a":16352,"n":"r_3FE0","k":"branch","len":1,"c":false},{"a":17408,"n":"gfx_sprites_10_1f","k":"table","len":1024,"c":true},{"a":18432,"n":"gfx_charset_shaft","k":"table","len":904,"c":true},{"a":19624,"n":"gfx_charset_shaft_signs","k":"table","len":24,"c":true},{"a":19648,"n":"gfx_sprites_33_35","k":"table","len":192,"c":true},{"a":20032,"n":"gfx_charset_box","k":"table","len":176,"c":true},{"a":20208,"n":"tbl_start_sprite_y","k":"table","len":5,"c":true},{"a":20414,"n":"gfx_charset_shaft_end","k":"table","len":66,"c":true},{"a":20624,"n":"gfx_charset_room","k":"table","len":1024,"c":true},{"a":21648,"n":"gfx_charset_room_2","k":"table","len":880,"c":true},{"a":22528,"n":"gfx_charset_panel","k":"table","len":816,"c":true},{"a":24496,"n":"gfx_charset_panel_end","k":"table","len":80,"c":true},{"a":24576,"n":"gfx_agent_1","k":"table","len":1024,"c":true},{"a":25600,"n":"gfx_agent_2","k":"table","len":768,"c":true},{"a":26368,"n":"f_6700","k":"variable","len":1,"c":true},{"a":26369,"n":"f_6701","k":"variable","len":1,"c":true},{"a":26370,"n":"f_6702","k":"table","len":64,"c":true},{"a":26434,"n":"gfx_agent_2b","k":"table","len":190,"c":true},{"a":26624,"n":"gfx_agent_3","k":"table","len":1024,"c":true},{"a":27648,"n":"gfx_agent_4","k":"table","len":1024,"c":true},{"a":28672,"n":"gfx_robots","k":"table","len":448,"c":true},{"a":29120,"n":"move_high_tables","k":"routine","len":59,"c":true},{"a":29179,"n":"copy_pages","k":"routine","len":17,"c":true},{"a":29181,"n":"b_71FD","k":"branch","len":1,"c":false},{"a":29196,"n":"tbl_slot_x","k":"table","len":6,"c":true},{"a":29202,"n":"tbl_slot_y","k":"table","len":6,"c":true},{"a":29208,"n":"clear_message","k":"routine","len":30,"c":true},{"a":29220,"n":"b_7224","k":"branch","len":1,"c":false},{"a":29222,"n":"b_7226","k":"branch","len":1,"c":false},{"a":29238,"n":"new_game_setup","k":"routine","len":19,"c":true},{"a":29257,"n":"room_loop","k":"routine","len":75,"c":true},{"a":29270,"n":"b_7256","k":"branch","len":1,"c":false},{"a":29273,"n":"b_7259","k":"branch","len":1,"c":false},{"a":29301,"n":"b_7275","k":"branch","len":1,"c":false},{"a":29316,"n":"b_7284","k":"branch","len":1,"c":false},{"a":29320,"n":"b_7288","k":"branch","len":1,"c":false},{"a":29323,"n":"j_728B","k":"branch","len":1,"c":false},{"a":29332,"n":"reset_counters_text","k":"routine","len":14,"c":true},{"a":29334,"n":"b_7296","k":"branch","len":1,"c":false},{"a":29346,"n":"draw_shaft_view","k":"routine","len":67,"c":true},{"a":29362,"n":"b_72B2","k":"branch","len":1,"c":false},{"a":29364,"n":"b_72B4","k":"branch","len":1,"c":false},{"a":29390,"n":"b_72CE","k":"branch","len":1,"c":false},{"a":29413,"n":"draw_pocket_computer","k":"routine","len":55,"c":true},{"a":29429,"n":"b_72F5","k":"branch","len":1,"c":false},{"a":29448,"n":"b_7308","k":"branch","len":1,"c":false},{"a":29468,"n":"draw_rock","k":"routine","len":164,"c":true},{"a":29499,"n":"b_733B","k":"branch","len":1,"c":false},{"a":29503,"n":"b_733F","k":"branch","len":1,"c":false},{"a":29510,"n":"b_7346","k":"branch","len":1,"c":false},{"a":29542,"n":"b_7366","k":"branch","len":1,"c":false},{"a":29557,"n":"b_7375","k":"branch","len":1,"c":false},{"a":29593,"n":"b_7399","k":"branch","len":1,"c":false},{"a":29595,"n":"b_739B","k":"branch","len":1,"c":false},{"a":29631,"n":"r_73BF","k":"branch","len":1,"c":false},{"a":29632,"n":"tbl_shaft_edge","k":"table","len":10,"c":true},{"a":29642,"n":"shaft_step","k":"routine","len":26,"c":true},{"a":29656,"n":"b_73D8","k":"branch","len":1,"c":false},{"a":29665,"n":"b_73E1","k":"branch","len":1,"c":false},{"a":29668,"n":"show_map_marker","k":"routine","len":59,"c":true},{"a":29714,"n":"b_7412","k":"branch","len":1,"c":false},{"a":29727,"n":"tbl_marker_colours","k":"table","len":8,"c":true},{"a":29735,"n":"paint_slots","k":"routine","len":36,"c":true},{"a":29737,"n":"b_7429","k":"branch","len":1,"c":false},{"a":29771,"n":"scroll_shaft_up","k":"routine","len":117,"c":true},{"a":29777,"n":"b_7451","k":"branch","len":1,"c":false},{"a":29795,"n":"b_7463","k":"branch","len":1,"c":false},{"a":29807,"n":"b_746F","k":"branch","len":1,"c":false},{"a":29825,"n":"b_7481","k":"branch","len":1,"c":false},{"a":29827,"n":"b_7483","k":"branch","len":1,"c":false},{"a":29855,"n":"b_749F","k":"branch","len":1,"c":false},{"a":29872,"n":"b_74B0","k":"branch","len":1,"c":false},{"a":29888,"n":"scroll_shaft_down","k":"routine","len":229,"c":true},{"a":29896,"n":"b_74C8","k":"branch","len":1,"c":false},{"a":29905,"n":"b_74D1","k":"branch","len":1,"c":false},{"a":29921,"n":"j_74E1","k":"branch","len":1,"c":false},{"a":30110,"n":"b_759E","k":"branch","len":1,"c":false},{"a":30116,"n":"r_75A4","k":"branch","len":1,"c":false},{"a":30117,"n":"colour_corridors","k":"routine","len":97,"c":true},{"a":30119,"n":"b_75A7","k":"branch","len":1,"c":false},{"a":30129,"n":"b_75B1","k":"branch","len":1,"c":false},{"a":30139,"n":"b_75BB","k":"branch","len":1,"c":false},{"a":30155,"n":"b_75CB","k":"branch","len":1,"c":false},{"a":30171,"n":"b_75DB","k":"branch","len":1,"c":false},{"a":30187,"n":"b_75EB","k":"branch","len":1,"c":false},{"a":30194,"n":"b_75F2","k":"branch","len":1,"c":false},{"a":30213,"n":"b_7605","k":"branch","len":1,"c":false},{"a":30214,"n":"a_7606","k":"routine","len":1,"c":true},{"a":30215,"n":"a_7607","k":"routine","len":11,"c":true},{"a":30222,"n":"b_760E","k":"branch","len":1,"c":false},{"a":30226,"n":"colour_row16","k":"routine","len":20,"c":true},{"a":30245,"n":"b_7625","k":"branch","len":1,"c":false},{"a":30246,"n":"a_7626","k":"routine","len":1,"c":true},{"a":30247,"n":"a_7627","k":"routine","len":10,"c":true},{"a":30257,"n":"shaft_new_row_top","k":"routine","len":280,"c":true},{"a":30259,"n":"j_7633","k":"branch","len":1,"c":false},{"a":30271,"n":"b_763F","k":"branch","len":1,"c":false},{"a":30275,"n":"b_7643","k":"branch","len":1,"c":false},{"a":30292,"n":"b_7654","k":"branch","len":1,"c":false},{"a":30297,"n":"b_7659","k":"branch","len":1,"c":false},{"a":30302,"n":"b_765E","k":"branch","len":1,"c":false},{"a":30322,"n":"b_7672","k":"branch","len":1,"c":false},{"a":30328,"n":"b_7678","k":"branch","len":1,"c":false},{"a":30359,"n":"b_7697","k":"branch","len":1,"c":false},{"a":30361,"n":"b_7699","k":"branch","len":1,"c":false},{"a":30377,"n":"b_76A9","k":"branch","len":1,"c":false},{"a":30392,"n":"j_76B8","k":"branch","len":1,"c":false},{"a":30415,"n":"b_76CF","k":"branch","len":1,"c":false},{"a":30434,"n":"j_76E2","k":"branch","len":1,"c":false},{"a":30441,"n":"b_76E9","k":"branch","len":1,"c":false},{"a":30471,"n":"b_7707","k":"branch","len":1,"c":false},{"a":30478,"n":"b_770E","k":"branch","len":1,"c":false},{"a":30480,"n":"b_7710","k":"branch","len":1,"c":false},{"a":30495,"n":"j_771F","k":"branch","len":1,"c":false},{"a":30501,"n":"b_7725","k":"branch","len":1,"c":false},{"a":30523,"n":"b_773B","k":"branch","len":1,"c":false},{"a":30525,"n":"b_773D","k":"branch","len":1,"c":false},{"a":30536,"n":"r_7748","k":"branch","len":1,"c":false},{"a":30537,"n":"shaft_new_row_bottom","k":"routine","len":263,"c":true},{"a":30539,"n":"j_774B","k":"branch","len":1,"c":false},{"a":30551,"n":"b_7757","k":"branch","len":1,"c":false},{"a":30559,"n":"b_775F","k":"branch","len":1,"c":false},{"a":30581,"n":"b_7775","k":"branch","len":1,"c":false},{"a":30586,"n":"b_777A","k":"branch","len":1,"c":false},{"a":30591,"n":"b_777F","k":"branch","len":1,"c":false},{"a":30611,"n":"b_7793","k":"branch","len":1,"c":false},{"a":30617,"n":"b_7799","k":"branch","len":1,"c":false},{"a":30648,"n":"b_77B8","k":"branch","len":1,"c":false},{"a":30650,"n":"b_77BA","k":"branch","len":1,"c":false},{"a":30667,"n":"b_77CB","k":"branch","len":1,"c":false},{"a":30682,"n":"j_77DA","k":"branch","len":1,"c":false},{"a":30707,"n":"b_77F3","k":"branch","len":1,"c":false},{"a":30725,"n":"j_7805","k":"branch","len":1,"c":false},{"a":30732,"n":"b_780C","k":"branch","len":1,"c":false},{"a":30764,"n":"b_782C","k":"branch","len":1,"c":false},{"a":30771,"n":"b_7833","k":"branch","len":1,"c":false},{"a":30773,"n":"b_7835","k":"branch","len":1,"c":false},{"a":30788,"n":"j_7844","k":"branch","len":1,"c":false},{"a":30794,"n":"b_784A","k":"branch","len":1,"c":false},{"a":30800,"n":"draw_corridor_bottom","k":"routine","len":7,"c":true},{"a":30807,"n":"draw_corridor_marker","k":"routine","len":22,"c":true},{"a":30809,"n":"b_7859","k":"branch","len":1,"c":false},{"a":30828,"n":"r_786C","k":"branch","len":1,"c":false},{"a":30829,"n":"map_cell_below","k":"routine","len":8,"c":true},{"a":30837,"n":"map_cell_above","k":"routine","len":5,"c":true},{"a":30842,"n":"map_cell","k":"routine","len":42,"c":true},{"a":30847,"n":"b_787F","k":"branch","len":1,"c":false},{"a":30884,"n":"tbl_map_rows","k":"variable","len":1,"c":true},{"a":30885,"n":"f_78A5","k":"table","len":11,"c":true},{"a":30896,"n":"map_room_index","k":"routine","len":5,"c":true},{"a":30901,"n":"map_room_index_a","k":"routine","len":29,"c":true},{"a":30905,"n":"b_78B9","k":"branch","len":1,"c":false},{"a":30930,"n":"corridor_colour_below","k":"routine","len":10,"c":true},{"a":30940,"n":"corridor_colour_above","k":"routine","len":34,"c":true},{"a":30947,"n":"j_78E3","k":"branch","len":1,"c":false},{"a":30954,"n":"b_78EA","k":"branch","len":1,"c":false},{"a":30974,"n":"a_78FE","k":"routine","len":1,"c":true},{"a":30975,"n":"a_78FF","k":"routine","len":2,"c":true},{"a":30977,"n":"flip_piece_v","k":"routine","len":51,"c":true},{"a":30988,"n":"b_790C","k":"branch","len":1,"c":false},{"a":31015,"n":"b_7927","k":"branch","len":1,"c":false},{"a":31028,"n":"flip_v_step","k":"routine","len":5,"c":true},{"a":31032,"n":"b_7938","k":"branch","len":1,"c":false},{"a":31033,"n":"a_7939","k":"routine","len":1,"c":true},{"a":31034,"n":"a_793A","k":"routine","len":5,"c":true},{"a":31039,"n":"a_793F","k":"routine","len":1,"c":true},{"a":31040,"n":"a_7940","k":"routine","len":40,"c":true},{"a":31073,"n":"b_7961","k":"branch","len":1,"c":false},{"a":31079,"n":"r_7967","k":"branch","len":1,"c":false},{"a":31080,"n":"flip_piece_h","k":"routine","len":49,"c":true},{"a":31091,"n":"b_7973","k":"branch","len":1,"c":false},{"a":31118,"n":"b_798E","k":"branch","len":1,"c":false},{"a":31129,"n":"flip_h_step","k":"routine","len":5,"c":true},{"a":31130,"n":"j_799A","k":"branch","len":1,"c":false},{"a":31133,"n":"b_799D","k":"branch","len":1,"c":false},{"a":31134,"n":"a_799E","k":"routine","len":1,"c":true},{"a":31135,"n":"a_799F","k":"routine","len":13,"c":true},{"a":31148,"n":"a_79AC","k":"routine","len":1,"c":true},{"a":31149,"n":"a_79AD","k":"routine","len":53,"c":true},{"a":31193,"n":"b_79D9","k":"branch","len":1,"c":false},{"a":31201,"n":"r_79E1","k":"branch","len":1,"c":false},{"a":31202,"n":"clear_slot","k":"routine","len":71,"c":true},{"a":31213,"n":"b_79ED","k":"branch","len":1,"c":false},{"a":31220,"n":"b_79F4","k":"branch","len":1,"c":false},{"a":31234,"n":"b_7A02","k":"branch","len":1,"c":false},{"a":31241,"n":"b_7A09","k":"branch","len":1,"c":false},{"a":31246,"n":"b_7A0E","k":"branch","len":1,"c":false},{"a":31260,"n":"b_7A1C","k":"branch","len":1,"c":false},{"a":31273,"n":"recolour_piece","k":"routine","len":14,"c":true},{"a":31284,"n":"b_7A34","k":"branch","len":1,"c":false},{"a":31287,"n":"paint_slot","k":"routine","len":30,"c":true},{"a":31299,"n":"b_7A43","k":"branch","len":1,"c":false},{"a":31301,"n":"b_7A45","k":"branch","len":1,"c":false},{"a":31317,"n":"tbl_slot_colour_ram_lo","k":"table","len":6,"c":true},{"a":31323,"n":"tbl_slot_colour_ram_hi","k":"table","len":6,"c":true},{"a":31329,"n":"undo_piece","k":"routine","len":40,"c":true},{"a":31340,"n":"b_7A6C","k":"branch","len":1,"c":false},{"a":31353,"n":"b_7A79","k":"branch","len":1,"c":false},{"a":31369,"n":"save_undo","k":"routine","len":22,"c":true},{"a":31376,"n":"b_7A90","k":"branch","len":1,"c":false},{"a":31391,"n":"memory_forward","k":"routine","len":147,"c":true},{"a":31411,"n":"b_7AB3","k":"branch","len":1,"c":false},{"a":31436,"n":"b_7ACC","k":"branch","len":1,"c":false},{"a":31441,"n":"b_7AD1","k":"branch","len":1,"c":false},{"a":31486,"n":"b_7AFE","k":"branch","len":1,"c":false},{"a":31538,"n":"memory_back","k":"routine","len":144,"c":true},{"a":31549,"n":"b_7B3D","k":"branch","len":1,"c":false},{"a":31574,"n":"b_7B56","k":"branch","len":1,"c":false},{"a":31579,"n":"b_7B5B","k":"branch","len":1,"c":false},{"a":31628,"n":"b_7B8C","k":"branch","len":1,"c":false},{"a":31630,"n":"b_7B8E","k":"branch","len":1,"c":false},{"a":31682,"n":"phone","k":"routine","len":122,"c":true},{"a":31714,"n":"b_7BE2","k":"branch","len":1,"c":false},{"a":31716,"n":"b_7BE4","k":"branch","len":1,"c":false},{"a":31747,"n":"b_7C03","k":"branch","len":1,"c":false},{"a":31752,"n":"b_7C08","k":"branch","len":1,"c":false},{"a":31804,"n":"tbl_phone_colours","k":"table","len":8,"c":true},{"a":31812,"n":"str_phone_menu","k":"table","len":176,"c":true},{"a":31988,"n":"str_phone_answers","k":"table","len":88,"c":true},{"a":32076,"n":"phone_sound_setup","k":"routine","len":64,"c":true},{"a":32140,"n":"phone_menu_click","k":"routine","len":17,"c":true},{"a":32156,"n":"r_7D9C","k":"branch","len":1,"c":false},{"a":32157,"n":"phone_ask_orient","k":"routine","len":49,"c":true},{"a":32185,"n":"j_7DB9","k":"branch","len":1,"c":false},{"a":32187,"n":"b_7DBB","k":"branch","len":1,"c":false},{"a":32206,"n":"a_7DCE","k":"routine","len":1,"c":true},{"a":32207,"n":"a_7DCF","k":"routine","len":20,"c":true},{"a":32212,"n":"b_7DD4","k":"branch","len":1,"c":false},{"a":32227,"n":"a_7DE3","k":"routine","len":1,"c":true},{"a":32228,"n":"a_7DE4","k":"routine","len":2,"c":true},{"a":32230,"n":"phone_ask_enough","k":"routine","len":31,"c":true},{"a":32261,"n":"phone_hang_up","k":"routine","len":49,"c":true},{"a":32274,"n":"b_7E12","k":"branch","len":1,"c":false},{"a":32276,"n":"b_7E14","k":"branch","len":1,"c":false},{"a":32310,"n":"tbl_phone_numbers","k":"table","len":14,"c":true},{"a":32324,"n":"dial_tone","k":"routine","len":41,"c":true},{"a":32365,"n":"phone_rts","k":"routine","len":1,"c":true},{"a":32366,"n":"tbl_dtmf","k":"table","len":11,"c":true},{"a":32377,"n":"f_7E79","k":"table","len":12,"c":true},{"a":32389,"n":"f_7E85","k":"table","len":12,"c":true},{"a":32401,"n":"f_7E91","k":"table","len":13,"c":true},{"a":32414,"n":"phone_line","k":"routine","len":182,"c":true},{"a":32435,"n":"b_7EB3","k":"branch","len":1,"c":false},{"a":32474,"n":"b_7EDA","k":"branch","len":1,"c":false},{"a":32520,"n":"b_7F08","k":"branch","len":1,"c":false},{"a":32596,"n":"phone_click","k":"routine","len":23,"c":true},{"a":32619,"n":"wait_tick","k":"routine","len":2,"c":true},{"a":32621,"n":"wait_ticks","k":"routine","len":11,"c":true},{"a":32624,"n":"b_7F70","k":"branch","len":1,"c":false},{"a":32632,"n":"wait_frame_top","k":"routine","len":21,"c":true},{"a":32634,"n":"b_7F7A","k":"branch","len":1,"c":false},{"a":32641,"n":"b_7F81","k":"branch","len":1,"c":false},{"a":32644,"n":"b_7F84","k":"branch","len":1,"c":false},{"a":32653,"n":"phone_answer_orient","k":"routine","len":74,"c":true},{"a":32717,"n":"b_7FCD","k":"branch","len":1,"c":false},{"a":32722,"n":"b_7FD2","k":"branch","len":1,"c":false},{"a":32727,"n":"phone_answer_enough","k":"routine","len":50,"c":true},{"a":32746,"n":"j_7FEA","k":"branch","len":1,"c":false},{"a":32763,"n":"b_7FFB","k":"branch","len":1,"c":false},{"a":32767,"n":"b_7FFF","k":"branch","len":1,"c":false},{"a":32777,"n":"show_phone_answer","k":"routine","len":28,"c":true},{"a":32779,"n":"b_800B","k":"branch","len":1,"c":false},{"a":32798,"n":"b_801E","k":"branch","len":1,"c":false},{"a":32805,"n":"show_status_line","k":"routine","len":18,"c":true},{"a":32807,"n":"b_8027","k":"branch","len":1,"c":false},{"a":32823,"n":"test_overlap","k":"routine","len":139,"c":true},{"a":32827,"n":"b_803B","k":"branch","len":1,"c":false},{"a":32837,"n":"b_8045","k":"branch","len":1,"c":false},{"a":32864,"n":"b_8060","k":"branch","len":1,"c":false},{"a":32902,"n":"b_8086","k":"branch","len":1,"c":false},{"a":32906,"n":"b_808A","k":"branch","len":1,"c":false},{"a":32948,"n":"b_80B4","k":"branch","len":1,"c":false},{"a":32956,"n":"b_80BC","k":"branch","len":1,"c":false},{"a":32960,"n":"b_80C0","k":"branch","len":1,"c":false},{"a":32963,"n":"check_solution","k":"routine","len":184,"c":true},{"a":32980,"n":"b_80D4","k":"branch","len":1,"c":false},{"a":32982,"n":"b_80D6","k":"branch","len":1,"c":false},{"a":32996,"n":"b_80E4","k":"branch","len":1,"c":false},{"a":33007,"n":"b_80EF","k":"branch","len":1,"c":false},{"a":33012,"n":"j_80F4","k":"branch","len":1,"c":false},{"a":33031,"n":"b_8107","k":"branch","len":1,"c":false},{"a":33052,"n":"b_811C","k":"branch","len":1,"c":false},{"a":33069,"n":"b_812D","k":"branch","len":1,"c":false},{"a":33092,"n":"b_8144","k":"branch","len":1,"c":false},{"a":33115,"n":"b_815B","k":"branch","len":1,"c":false},{"a":33126,"n":"b_8166","k":"branch","len":1,"c":false},{"a":33128,"n":"b_8168","k":"branch","len":1,"c":false},{"a":33147,"n":"remove_piece","k":"routine","len":74,"c":true},{"a":33151,"n":"j_817F","k":"branch","len":1,"c":false},{"a":33169,"n":"b_8191","k":"branch","len":1,"c":false},{"a":33187,"n":"b_81A3","k":"branch","len":1,"c":false},{"a":33198,"n":"b_81AE","k":"branch","len":1,"c":false},{"a":33221,"n":"show_message","k":"routine","len":67,"c":true},{"a":33234,"n":"b_81D2","k":"branch","len":1,"c":false},{"a":33236,"n":"b_81D4","k":"branch","len":1,"c":false},{"a":33242,"n":"b_81DA","k":"branch","len":1,"c":false},{"a":33271,"n":"b_81F7","k":"branch","len":1,"c":false},{"a":33278,"n":"b_81FE","k":"branch","len":1,"c":false},{"a":33288,"n":"str_push_button","k":"table","len":22,"c":true},{"a":33310,"n":"str_pc_messages","k":"table","len":154,"c":true},{"a":33464,"n":"slot_address","k":"routine","len":43,"c":true},{"a":33470,"n":"b_82BE","k":"branch","len":1,"c":false},{"a":33480,"n":"b_82C8","k":"branch","len":1,"c":false},{"a":33496,"n":"b_82D8","k":"branch","len":1,"c":false},{"a":33507,"n":"random","k":"routine","len":17,"c":true},{"a":33524,"n":"irq","k":"routine","len":162,"c":true},{"a":33591,"n":"b_8337","k":"branch","len":1,"c":false},{"a":33643,"n":"b_836B","k":"branch","len":1,"c":false},{"a":33655,"n":"b_8377","k":"branch","len":1,"c":false},{"a":33684,"n":"b_8394","k":"branch","len":1,"c":false},{"a":33686,"n":"irq_trampoline","k":"routine","len":12,"c":true},{"a":33698,"n":"game_clock","k":"routine","len":42,"c":true},{"a":33703,"n":"b_83A7","k":"branch","len":1,"c":false},{"a":33710,"n":"b_83AE","k":"branch","len":1,"c":false},{"a":33740,"n":"add_minutes","k":"routine","len":40,"c":true},{"a":33764,"n":"b_83E4","k":"branch","len":1,"c":false},{"a":33768,"n":"b_83E8","k":"branch","len":1,"c":false},{"a":33779,"n":"r_83F3","k":"branch","len":1,"c":false},{"a":33780,"n":"wait_tick_or_end","k":"routine","len":222,"c":true},{"a":33788,"n":"b_83FC","k":"branch","len":1,"c":false},{"a":33804,"n":"b_840C","k":"branch","len":1,"c":false},{"a":33816,"n":"b_8418","k":"branch","len":1,"c":false},{"a":33871,"n":"b_844F","k":"branch","len":1,"c":false},{"a":33874,"n":"b_8452","k":"branch","len":1,"c":false},{"a":33902,"n":"b_846E","k":"branch","len":1,"c":false},{"a":33953,"n":"b_84A1","k":"branch","len":1,"c":false},{"a":33960,"n":"b_84A8","k":"branch","len":1,"c":false},{"a":33968,"n":"b_84B0","k":"branch","len":1,"c":false},{"a":34002,"n":"clear_screen","k":"routine","len":2,"c":true},{"a":34004,"n":"fill_screen","k":"routine","len":18,"c":true},{"a":34006,"n":"b_84D6","k":"branch","len":1,"c":false},{"a":34022,"n":"fill_colour_ram","k":"routine","len":20,"c":true},{"a":34026,"n":"b_84EA","k":"branch","len":1,"c":false},{"a":34042,"n":"irq_tick_extras","k":"routine","len":44,"c":true},{"a":34068,"n":"b_8514","k":"branch","len":1,"c":false},{"a":34086,"n":"draw_clock","k":"routine","len":33,"c":true},{"a":34118,"n":"r_8546","k":"branch","len":1,"c":false},{"a":34119,"n":"draw_bcd","k":"routine","len":21,"c":true},{"a":34140,"n":"lift_down","k":"routine","len":54,"c":true},{"a":34164,"n":"b_8574","k":"branch","len":1,"c":false},{"a":34171,"n":"b_857B","k":"branch","len":1,"c":false},{"a":34189,"n":"b_858D","k":"branch","len":1,"c":false},{"a":34193,"n":"r_8591","k":"branch","len":1,"c":false},{"a":34194,"n":"lift_up","k":"routine","len":35,"c":true},{"a":34224,"n":"b_85B0","k":"branch","len":1,"c":false},{"a":34228,"n":"r_85B4","k":"branch","len":1,"c":false},{"a":34229,"n":"lift_sound","k":"routine","len":74,"c":true},{"a":34239,"n":"b_85BF","k":"branch","len":1,"c":false},{"a":34249,"n":"b_85C9","k":"branch","len":1,"c":false},{"a":34303,"n":"wait_below_sprite3","k":"routine","len":12,"c":true},{"a":34309,"n":"b_8605","k":"branch","len":1,"c":false},{"a":34315,"n":"agent_update","k":"routine","len":286,"c":true},{"a":34323,"n":"b_8613","k":"branch","len":1,"c":false},{"a":34333,"n":"b_861D","k":"branch","len":1,"c":false},{"a":34352,"n":"b_8630","k":"branch","len":1,"c":false},{"a":34369,"n":"b_8641","k":"branch","len":1,"c":false},{"a":34372,"n":"j_8644","k":"branch","len":1,"c":false},{"a":34392,"n":"b_8658","k":"branch","len":1,"c":false},{"a":34406,"n":"b_8666","k":"branch","len":1,"c":false},{"a":34425,"n":"b_8679","k":"branch","len":1,"c":false},{"a":34446,"n":"b_868E","k":"branch","len":1,"c":false},{"a":34460,"n":"b_869C","k":"branch","len":1,"c":false},{"a":34478,"n":"b_86AE","k":"branch","len":1,"c":false},{"a":34505,"n":"b_86C9","k":"branch","len":1,"c":false},{"a":34519,"n":"b_86D7","k":"branch","len":1,"c":false},{"a":34544,"n":"j_86F0","k":"branch","len":1,"c":false},{"a":34554,"n":"b_86FA","k":"branch","len":1,"c":false},{"a":34601,"n":"agent_frame","k":"routine","len":130,"c":true},{"a":34611,"n":"b_8733","k":"branch","len":1,"c":false},{"a":34635,"n":"b_874B","k":"branch","len":1,"c":false},{"a":34641,"n":"j_8751","k":"branch","len":1,"c":false},{"a":34654,"n":"b_875E","k":"branch","len":1,"c":false},{"a":34730,"n":"b_87AA","k":"branch","len":1,"c":false},{"a":34731,"n":"a_87AB","k":"routine","len":1,"c":true},{"a":34732,"n":"a_87AC","k":"routine","len":5,"c":true},{"a":34737,"n":"a_87B1","k":"routine","len":1,"c":true},{"a":34738,"n":"a_87B2","k":"routine","len":2,"c":true},{"a":34740,"n":"a_87B4","k":"routine","len":1,"c":true},{"a":34741,"n":"a_87B5","k":"routine","len":5,"c":true},{"a":34746,"n":"a_87BA","k":"routine","len":1,"c":true},{"a":34747,"n":"a_87BB","k":"routine","len":2,"c":true},{"a":34749,"n":"a_87BD","k":"routine","len":1,"c":true},{"a":34750,"n":"a_87BE","k":"routine","len":5,"c":true},{"a":34755,"n":"a_87C3","k":"routine","len":1,"c":true},{"a":34756,"n":"a_87C4","k":"routine","len":17,"c":true},{"a":34772,"n":"r_87D4","k":"branch","len":1,"c":false},{"a":34773,"n":"agent_sprites_out","k":"routine","len":24,"c":true},{"a":34775,"n":"b_87D7","k":"branch","len":1,"c":false},{"a":34797,"n":"agent_read_stick","k":"routine","len":42,"c":true},{"a":34821,"n":"b_8805","k":"branch","len":1,"c":false},{"a":34834,"n":"b_8812","k":"branch","len":1,"c":false},{"a":34838,"n":"r_8816","k":"branch","len":1,"c":false},{"a":34839,"n":"agent_animate","k":"routine","len":66,"c":true},{"a":34863,"n":"b_882F","k":"branch","len":1,"c":false},{"a":34875,"n":"r_883B","k":"branch","len":1,"c":false},{"a":34876,"n":"b_883C","k":"branch","len":1,"c":false},{"a":34881,"n":"b_8841","k":"branch","len":1,"c":false},{"a":34884,"n":"b_8844","k":"branch","len":1,"c":false},{"a":34902,"n":"b_8856","k":"branch","len":1,"c":false},{"a":34905,"n":"agent_move","k":"routine","len":93,"c":true},{"a":34914,"n":"b_8862","k":"branch","len":1,"c":false},{"a":34938,"n":"b_887A","k":"branch","len":1,"c":false},{"a":34942,"n":"b_887E","k":"branch","len":1,"c":false},{"a":34945,"n":"b_8881","k":"branch","len":1,"c":false},{"a":34982,"n":"b_88A6","k":"branch","len":1,"c":false},{"a":34990,"n":"b_88AE","k":"branch","len":1,"c":false},{"a":34998,"n":"a_88B6","k":"routine","len":39,"c":true},{"a":35006,"n":"b_88BE","k":"branch","len":1,"c":false},{"a":35018,"n":"b_88CA","k":"branch","len":1,"c":false},{"a":35025,"n":"b_88D1","k":"branch","len":1,"c":false},{"a":35037,"n":"a_88DD","k":"routine","len":14,"c":true},{"a":35045,"n":"b_88E5","k":"branch","len":1,"c":false},{"a":35051,"n":"a_88EB","k":"routine","len":14,"c":true},{"a":35059,"n":"b_88F3","k":"branch","len":1,"c":false},{"a":35065,"n":"agent_bounds","k":"routine","len":433,"c":true},{"a":35091,"n":"b_8913","k":"branch","len":1,"c":false},{"a":35103,"n":"b_891F","k":"branch","len":1,"c":false},{"a":35127,"n":"b_8937","k":"branch","len":1,"c":false},{"a":35136,"n":"r_8940","k":"branch","len":1,"c":false},{"a":35137,"n":"b_8941","k":"branch","len":1,"c":false},{"a":35195,"n":"b_897B","k":"branch","len":1,"c":false},{"a":35211,"n":"b_898B","k":"branch","len":1,"c":false},{"a":35225,"n":"b_8999","k":"branch","len":1,"c":false},{"a":35253,"n":"b_89B5","k":"branch","len":1,"c":false},{"a":35268,"n":"b_89C4","k":"branch","len":1,"c":false},{"a":35284,"n":"b_89D4","k":"branch","len":1,"c":false},{"a":35302,"n":"b_89E6","k":"branch","len":1,"c":false},{"a":35327,"n":"b_89FF","k":"branch","len":1,"c":false},{"a":35343,"n":"b_8A0F","k":"branch","len":1,"c":false},{"a":35365,"n":"b_8A25","k":"branch","len":1,"c":false},{"a":35389,"n":"b_8A3D","k":"branch","len":1,"c":false},{"a":35417,"n":"b_8A59","k":"branch","len":1,"c":false},{"a":35433,"n":"b_8A69","k":"branch","len":1,"c":false},{"a":35455,"n":"b_8A7F","k":"branch","len":1,"c":false},{"a":35475,"n":"b_8A93","k":"branch","len":1,"c":false},{"a":35497,"n":"r_8AA9","k":"branch","len":1,"c":false},{"a":35498,"n":"probe_right","k":"routine","len":35,"c":true},{"a":35519,"n":"b_8ABF","k":"branch","len":1,"c":false},{"a":35532,"n":"r_8ACC","k":"branch","len":1,"c":false},{"a":35533,"n":"probe_left","k":"routine","len":35,"c":true},{"a":35554,"n":"b_8AE2","k":"branch","len":1,"c":false},{"a":35567,"n":"r_8AEF","k":"branch","len":1,"c":false},{"a":35568,"n":"tmp_carry_bits","k":"variable","len":1,"c":true},{"a":35569,"n":"agent_shift_left","k":"routine","len":49,"c":true},{"a":35576,"n":"b_8AF8","k":"branch","len":1,"c":false},{"a":35601,"n":"b_8B11","k":"branch","len":1,"c":false},{"a":35608,"n":"b_8B18","k":"branch","len":1,"c":false},{"a":35615,"n":"b_8B1F","k":"branch","len":1,"c":false},{"a":35618,"n":"tmp_carry_bits2","k":"variable","len":1,"c":true},{"a":35619,"n":"agent_shift_right","k":"routine","len":48,"c":true},{"a":35626,"n":"b_8B2A","k":"branch","len":1,"c":false},{"a":35650,"n":"b_8B42","k":"branch","len":1,"c":false},{"a":35657,"n":"b_8B49","k":"branch","len":1,"c":false},{"a":35664,"n":"b_8B50","k":"branch","len":1,"c":false},{"a":35667,"n":"agent_shift_up","k":"routine","len":14,"c":true},{"a":35669,"n":"b_8B55","k":"branch","len":1,"c":false},{"a":35681,"n":"agent_shift_down","k":"routine","len":13,"c":true},{"a":35683,"n":"b_8B63","k":"branch","len":1,"c":false},{"a":35694,"n":"agent_exit_check","k":"routine","len":218,"c":true},{"a":35709,"n":"b_8B7D","k":"branch","len":1,"c":false},{"a":35728,"n":"b_8B90","k":"branch","len":1,"c":false},{"a":35734,"n":"j_8B96","k":"branch","len":1,"c":false},{"a":35791,"n":"b_8BCF","k":"branch","len":1,"c":false},{"a":35794,"n":"b_8BD2","k":"branch","len":1,"c":false},{"a":35821,"n":"b_8BED","k":"branch","len":1,"c":false},{"a":35827,"n":"b_8BF3","k":"branch","len":1,"c":false},{"a":35889,"n":"b_8C31","k":"branch","len":1,"c":false},{"a":35894,"n":"j_8C36","k":"branch","len":1,"c":false},{"a":35896,"n":"b_8C38","k":"branch","len":1,"c":false},{"a":35911,"n":"r_8C47","k":"branch","len":1,"c":false},{"a":35912,"n":"agent_top","k":"routine","len":15,"c":true},{"a":35926,"n":"r_8C56","k":"branch","len":1,"c":false},{"a":35927,"n":"agent_bottom","k":"routine","len":9,"c":true},{"a":35936,"n":"agent_left","k":"routine","len":55,"c":true},{"a":35963,"n":"b_8C7B","k":"branch","len":1,"c":false},{"a":35966,"n":"b_8C7E","k":"branch","len":1,"c":false},{"a":35973,"n":"b_8C85","k":"branch","len":1,"c":false},{"a":35988,"n":"b_8C94","k":"branch","len":1,"c":false},{"a":35991,"n":"agent_right","k":"routine","len":46,"c":true},{"a":36016,"n":"b_8CB0","k":"branch","len":1,"c":false},{"a":36019,"n":"b_8CB3","k":"branch","len":1,"c":false},{"a":36034,"n":"b_8CC2","k":"branch","len":1,"c":false},{"a":36037,"n":"solid_at","k":"routine","len":66,"c":true},{"a":36064,"n":"b_8CE0","k":"branch","len":1,"c":false},{"a":36100,"n":"b_8D04","k":"branch","len":1,"c":false},{"a":36101,"n":"b_8D05","k":"branch","len":1,"c":false},{"a":36103,"n":"tbl_somersault_dy1","k":"table","len":12,"c":true},{"a":36115,"n":"tbl_somersault_dy2","k":"table","len":12,"c":true},{"a":36127,"n":"tbl_somersault_dy3","k":"table","len":12,"c":true},{"a":36139,"n":"tbl_somersault_dx","k":"table","len":12,"c":true},{"a":36151,"n":"tbl_somersault_dx3","k":"table","len":12,"c":true},{"a":36163,"n":"tbl_agent_pointers","k":"table","len":28,"c":true},{"a":36191,"n":"tbl_agent_shapes","k":"variable","len":1,"c":true},{"a":36192,"n":"f_8D60","k":"table","len":55,"c":true},{"a":36247,"n":"tbl_agent_mirror_end","k":"table","len":28,"c":true},{"a":36275,"n":"tbl_agent_top","k":"table","len":28,"c":true},{"a":36303,"n":"tbl_agent_bottom","k":"table","len":28,"c":true},{"a":36331,"n":"tbl_agent_left","k":"table","len":28,"c":true},{"a":36359,"n":"tbl_agent_right","k":"table","len":28,"c":true},{"a":36387,"n":"agent_step_right","k":"routine","len":30,"c":true},{"a":36389,"n":"b_8E25","k":"branch","len":1,"c":false},{"a":36416,"n":"r_8E40","k":"branch","len":1,"c":false},{"a":36417,"n":"agent_step_left","k":"routine","len":32,"c":true},{"a":36439,"n":"b_8E57","k":"branch","len":1,"c":false},{"a":36449,"n":"shaft_hide_sprite0","k":"routine","len":24,"c":true},{"a":36469,"n":"b_8E75","k":"branch","len":1,"c":false},{"a":36472,"n":"r_8E78","k":"branch","len":1,"c":false},{"a":36473,"n":"footstep_sound","k":"routine","len":83,"c":true},{"a":36481,"n":"b_8E81","k":"branch","len":1,"c":false},{"a":36508,"n":"b_8E9C","k":"branch","len":1,"c":false},{"a":36516,"n":"b_8EA4","k":"branch","len":1,"c":false},{"a":36522,"n":"b_8EAA","k":"branch","len":1,"c":false},{"a":36534,"n":"b_8EB6","k":"branch","len":1,"c":false},{"a":36555,"n":"r_8ECB","k":"branch","len":1,"c":false},{"a":36556,"n":"robots_run","k":"routine","len":115,"c":true},{"a":36580,"n":"r_8EE4","k":"branch","len":1,"c":false},{"a":36581,"n":"b_8EE5","k":"branch","len":1,"c":false},{"a":36595,"n":"b_8EF3","k":"branch","len":1,"c":false},{"a":36606,"n":"j_8EFE","k":"branch","len":1,"c":false},{"a":36612,"n":"j_8F04","k":"branch","len":1,"c":false},{"a":36621,"n":"b_8F0D","k":"branch","len":1,"c":false},{"a":36627,"n":"b_8F13","k":"branch","len":1,"c":false},{"a":36639,"n":"b_8F1F","k":"branch","len":1,"c":false},{"a":36647,"n":"b_8F27","k":"branch","len":1,"c":false},{"a":36653,"n":"b_8F2D","k":"branch","len":1,"c":false},{"a":36659,"n":"b_8F33","k":"branch","len":1,"c":false},{"a":36665,"n":"b_8F39","k":"branch","len":1,"c":false},{"a":36671,"n":"robot_zap","k":"routine","len":162,"c":true},{"a":36689,"n":"b_8F51","k":"branch","len":1,"c":false},{"a":36693,"n":"b_8F55","k":"branch","len":1,"c":false},{"a":36696,"n":"b_8F58","k":"branch","len":1,"c":false},{"a":36721,"n":"b_8F71","k":"branch","len":1,"c":false},{"a":36735,"n":"b_8F7F","k":"branch","len":1,"c":false},{"a":36753,"n":"b_8F91","k":"branch","len":1,"c":false},{"a":36771,"n":"b_8FA3","k":"branch","len":1,"c":false},{"a":36776,"n":"j_8FA8","k":"branch","len":1,"c":false},{"a":36803,"n":"b_8FC3","k":"branch","len":1,"c":false},{"a":36833,"n":"robot_test","k":"routine","len":112,"c":true},{"a":36860,"n":"b_8FFC","k":"branch","len":1,"c":false},{"a":36900,"n":"b_9024","k":"branch","len":1,"c":false},{"a":36916,"n":"b_9034","k":"branch","len":1,"c":false},{"a":36919,"n":"b_9037","k":"branch","len":1,"c":false},{"a":36926,"n":"b_903E","k":"branch","len":1,"c":false},{"a":36929,"n":"b_9041","k":"branch","len":1,"c":false},{"a":36942,"n":"b_904E","k":"branch","len":1,"c":false},{"a":36945,"n":"robot_set_mode","k":"routine","len":20,"c":true},{"a":36965,"n":"robot_face_agent","k":"routine","len":69,"c":true},{"a":36988,"n":"b_907C","k":"branch","len":1,"c":false},{"a":37004,"n":"b_908C","k":"branch","len":1,"c":false},{"a":37023,"n":"b_909F","k":"branch","len":1,"c":false},{"a":37029,"n":"b_90A5","k":"branch","len":1,"c":false},{"a":37034,"n":"robot_wait","k":"routine","len":12,"c":true},{"a":37043,"n":"b_90B3","k":"branch","len":1,"c":false},{"a":37046,"n":"robot_turn","k":"routine","len":69,"c":true},{"a":37064,"n":"b_90C8","k":"branch","len":1,"c":false},{"a":37086,"n":"b_90DE","k":"branch","len":1,"c":false},{"a":37095,"n":"b_90E7","k":"branch","len":1,"c":false},{"a":37106,"n":"b_90F2","k":"branch","len":1,"c":false},{"a":37115,"n":"robot_move","k":"routine","len":209,"c":true},{"a":37145,"n":"b_9119","k":"branch","len":1,"c":false},{"a":37147,"n":"b_911B","k":"branch","len":1,"c":false},{"a":37204,"n":"b_9154","k":"branch","len":1,"c":false},{"a":37207,"n":"b_9157","k":"branch","len":1,"c":false},{"a":37220,"n":"b_9164","k":"branch","len":1,"c":false},{"a":37224,"n":"b_9168","k":"branch","len":1,"c":false},{"a":37241,"n":"b_9179","k":"branch","len":1,"c":false},{"a":37280,"n":"b_91A0","k":"branch","len":1,"c":false},{"a":37297,"n":"b_91B1","k":"branch","len":1,"c":false},{"a":37312,"n":"b_91C0","k":"branch","len":1,"c":false},{"a":37324,"n":"robots_next","k":"routine","len":57,"c":true},{"a":37340,"n":"b_91DC","k":"branch","len":1,"c":false},{"a":37349,"n":"b_91E5","k":"branch","len":1,"c":false},{"a":37368,"n":"b_91F8","k":"branch","len":1,"c":false},{"a":37380,"n":"r_9204","k":"branch","len":1,"c":false},{"a":37381,"n":"robot_stop","k":"routine","len":12,"c":true},{"a":37393,"n":"robot_colours","k":"routine","len":25,"c":true},{"a":37406,"n":"b_921E","k":"branch","len":1,"c":false},{"a":37411,"n":"b_9223","k":"branch","len":1,"c":false},{"a":37417,"n":"r_9229","k":"branch","len":1,"c":false},{"a":37418,"n":"sound_robot_turn","k":"routine","len":36,"c":true},{"a":37454,"n":"sound_robot_hum","k":"routine","len":33,"c":true},{"a":37487,"n":"sound_zap","k":"routine","len":36,"c":true},{"a":37523,"n":"command_count","k":"routine","len":13,"c":true},{"a":37535,"n":"r_929F","k":"branch","len":1,"c":false},{"a":37536,"n":"search_check","k":"routine","len":43,"c":true},{"a":37575,"n":"b_92C7","k":"branch","len":1,"c":false},{"a":37578,"n":"r_92CA","k":"branch","len":1,"c":false},{"a":37579,"n":"ball_run","k":"routine","len":264,"c":true},{"a":37584,"n":"b_92D0","k":"branch","len":1,"c":false},{"a":37591,"n":"b_92D7","k":"branch","len":1,"c":false},{"a":37600,"n":"b_92E0","k":"branch","len":1,"c":false},{"a":37643,"n":"b_930B","k":"branch","len":1,"c":false},{"a":37651,"n":"b_9313","k":"branch","len":1,"c":false},{"a":37656,"n":"b_9318","k":"branch","len":1,"c":false},{"a":37661,"n":"b_931D","k":"branch","len":1,"c":false},{"a":37670,"n":"b_9326","k":"branch","len":1,"c":false},{"a":37673,"n":"b_9329","k":"branch","len":1,"c":false},{"a":37678,"n":"b_932E","k":"branch","len":1,"c":false},{"a":37702,"n":"b_9346","k":"branch","len":1,"c":false},{"a":37728,"n":"b_9360","k":"branch","len":1,"c":false},{"a":37737,"n":"b_9369","k":"branch","len":1,"c":false},{"a":37758,"n":"b_937E","k":"branch","len":1,"c":false},{"a":37766,"n":"b_9386","k":"branch","len":1,"c":false},{"a":37770,"n":"b_938A","k":"branch","len":1,"c":false},{"a":37781,"n":"b_9395","k":"branch","len":1,"c":false},{"a":37783,"n":"j_9397","k":"branch","len":1,"c":false},{"a":37786,"n":"j_939A","k":"branch","len":1,"c":false},{"a":37809,"n":"b_93B1","k":"branch","len":1,"c":false},{"a":37817,"n":"b_93B9","k":"branch","len":1,"c":false},{"a":37827,"n":"b_93C3","k":"branch","len":1,"c":false},{"a":37829,"n":"j_93C5","k":"branch","len":1,"c":false},{"a":37843,"n":"ball_walls","k":"routine","len":185,"c":true},{"a":37855,"n":"b_93DF","k":"branch","len":1,"c":false},{"a":37860,"n":"b_93E4","k":"branch","len":1,"c":false},{"a":37882,"n":"b_93FA","k":"branch","len":1,"c":false},{"a":37904,"n":"b_9410","k":"branch","len":1,"c":false},{"a":37909,"n":"b_9415","k":"branch","len":1,"c":false},{"a":37922,"n":"b_9422","k":"branch","len":1,"c":false},{"a":37931,"n":"b_942B","k":"branch","len":1,"c":false},{"a":37942,"n":"b_9436","k":"branch","len":1,"c":false},{"a":37947,"n":"j_943B","k":"branch","len":1,"c":false},{"a":37961,"n":"b_9449","k":"branch","len":1,"c":false},{"a":37970,"n":"b_9452","k":"branch","len":1,"c":false},{"a":37987,"n":"b_9463","k":"branch","len":1,"c":false},{"a":37992,"n":"j_9468","k":"branch","len":1,"c":false},{"a":38007,"n":"b_9477","k":"branch","len":1,"c":false},{"a":38022,"n":"b_9486","k":"branch","len":1,"c":false},{"a":38028,"n":"platform_at","k":"routine","len":89,"c":true},{"a":38095,"n":"b_94CF","k":"branch","len":1,"c":false},{"a":38115,"n":"b_94E3","k":"branch","len":1,"c":false},{"a":38117,"n":"agent_centre","k":"routine","len":31,"c":true},{"a":38148,"n":"agent_hit_check","k":"routine","len":224,"c":true},{"a":38162,"n":"b_9512","k":"branch","len":1,"c":false},{"a":38166,"n":"b_9516","k":"branch","len":1,"c":false},{"a":38188,"n":"b_952C","k":"branch","len":1,"c":false},{"a":38199,"n":"r_9537","k":"branch","len":1,"c":false},{"a":38200,"n":"b_9538","k":"branch","len":1,"c":false},{"a":38210,"n":"r_9542","k":"branch","len":1,"c":false},{"a":38211,"n":"b_9543","k":"branch","len":1,"c":false},{"a":38231,"n":"b_9557","k":"branch","len":1,"c":false},{"a":38255,"n":"b_956F","k":"branch","len":1,"c":false},{"a":38275,"n":"b_9583","k":"branch","len":1,"c":false},{"a":38283,"n":"b_958B","k":"branch","len":1,"c":false},{"a":38298,"n":"b_959A","k":"branch","len":1,"c":false},{"a":38310,"n":"b_95A6","k":"branch","len":1,"c":false},{"a":38326,"n":"b_95B6","k":"branch","len":1,"c":false},{"a":38337,"n":"b_95C1","k":"branch","len":1,"c":false},{"a":38342,"n":"b_95C6","k":"branch","len":1,"c":false},{"a":38346,"n":"j_95CA","k":"branch","len":1,"c":false},{"a":38358,"n":"r_95D6","k":"branch","len":1,"c":false},{"a":38359,"n":"b_95D7","k":"branch","len":1,"c":false},{"a":38372,"n":"agent_death","k":"routine","len":302,"c":true},{"a":38379,"n":"b_95EB","k":"branch","len":1,"c":false},{"a":38386,"n":"b_95F2","k":"branch","len":1,"c":false},{"a":38426,"n":"b_961A","k":"branch","len":1,"c":false},{"a":38428,"n":"b_961C","k":"branch","len":1,"c":false},{"a":38430,"n":"b_961E","k":"branch","len":1,"c":false},{"a":38441,"n":"b_9629","k":"branch","len":1,"c":false},{"a":38443,"n":"b_962B","k":"branch","len":1,"c":false},{"a":38489,"n":"b_9659","k":"branch","len":1,"c":false},{"a":38518,"n":"j_9676","k":"branch","len":1,"c":false},{"a":38548,"n":"b_9694","k":"branch","len":1,"c":false},{"a":38599,"n":"b_96C7","k":"branch","len":1,"c":false},{"a":38674,"n":"tbl_agent_ptrs_stand","k":"table","len":3,"c":true},{"a":38677,"n":"tbl_agent_colours","k":"table","len":3,"c":true},{"a":38680,"n":"agent_reset_sprites","k":"routine","len":18,"c":true},{"a":38682,"n":"b_971A","k":"branch","len":1,"c":false},{"a":38698,"n":"copy_agent_shapes","k":"routine","len":59,"c":true},{"a":38700,"n":"b_972C","k":"branch","len":1,"c":false},{"a":38711,"n":"b_9737","k":"branch","len":1,"c":false},{"a":38736,"n":"b_9750","k":"branch","len":1,"c":false},{"a":38757,"n":"death_flash","k":"routine","len":40,"c":true},{"a":38797,"n":"tbl_death_flash_colours","k":"variable","len":2,"c":true},{"a":38799,"n":"f_978F","k":"variable","len":2,"c":true},{"a":38801,"n":"delay","k":"routine","len":19,"c":true},{"a":38809,"n":"b_9799","k":"branch","len":1,"c":false},{"a":38820,"n":"sound_crackle","k":"routine","len":61,"c":true},{"a":38881,"n":"random_bit_mask","k":"routine","len":18,"c":true},{"a":38899,"n":"tbl_bit_masks","k":"table","len":8,"c":true},{"a":38907,"n":"search_object","k":"routine","len":256,"c":true},{"a":38916,"n":"b_9804","k":"branch","len":1,"c":false},{"a":38922,"n":"b_980A","k":"branch","len":1,"c":false},{"a":38950,"n":"b_9826","k":"branch","len":1,"c":false},{"a":38970,"n":"b_983A","k":"branch","len":1,"c":false},{"a":38992,"n":"b_9850","k":"branch","len":1,"c":false},{"a":38999,"n":"b_9857","k":"branch","len":1,"c":false},{"a":39002,"n":"b_985A","k":"branch","len":1,"c":false},{"a":39018,"n":"b_986A","k":"branch","len":1,"c":false},{"a":39045,"n":"b_9885","k":"branch","len":1,"c":false},{"a":39047,"n":"b_9887","k":"branch","len":1,"c":false},{"a":39064,"n":"b_9898","k":"branch","len":1,"c":false},{"a":39073,"n":"b_98A1","k":"branch","len":1,"c":false},{"a":39085,"n":"b_98AD","k":"branch","len":1,"c":false},{"a":39099,"n":"b_98BB","k":"branch","len":1,"c":false},{"a":39116,"n":"b_98CC","k":"branch","len":1,"c":false},{"a":39151,"n":"b_98EF","k":"branch","len":1,"c":false},{"a":39156,"n":"b_98F4","k":"branch","len":1,"c":false},{"a":39163,"n":"search_result","k":"routine","len":255,"c":true},{"a":39172,"n":"b_9904","k":"branch","len":1,"c":false},{"a":39175,"n":"b_9907","k":"branch","len":1,"c":false},{"a":39188,"n":"b_9914","k":"branch","len":1,"c":false},{"a":39195,"n":"b_991B","k":"branch","len":1,"c":false},{"a":39201,"n":"b_9921","k":"branch","len":1,"c":false},{"a":39205,"n":"b_9925","k":"branch","len":1,"c":false},{"a":39241,"n":"b_9949","k":"branch","len":1,"c":false},{"a":39267,"n":"b_9963","k":"branch","len":1,"c":false},{"a":39273,"n":"b_9969","k":"branch","len":1,"c":false},{"a":39283,"n":"b_9973","k":"branch","len":1,"c":false},{"a":39304,"n":"b_9988","k":"branch","len":1,"c":false},{"a":39329,"n":"b_99A1","k":"branch","len":1,"c":false},{"a":39351,"n":"b_99B7","k":"branch","len":1,"c":false},{"a":39361,"n":"j_99C1","k":"branch","len":1,"c":false},{"a":39380,"n":"b_99D4","k":"branch","len":1,"c":false},{"a":39395,"n":"j_99E3","k":"branch","len":1,"c":false},{"a":39404,"n":"b_99EC","k":"branch","len":1,"c":false},{"a":39418,"n":"tbl_bar_fill","k":"table","len":4,"c":true},{"a":39422,"n":"tbl_search_layouts","k":"table","len":64,"c":true},{"a":39486,"n":"f_9A3E","k":"table","len":32,"c":true},{"a":39518,"n":"gfx_searching","k":"table","len":64,"c":true},{"a":39582,"n":"tbl_bar_start","k":"table","len":3,"c":true},{"a":39585,"n":"gfx_nothing_here","k":"table","len":144,"c":true},{"a":39729,"n":"tbl_password_pics","k":"variable","len":2,"c":true},{"a":39731,"n":"f_9B33","k":"variable","len":2,"c":true},{"a":39733,"n":"mark_searched","k":"routine","len":91,"c":true},{"a":39772,"n":"b_9B5C","k":"branch","len":1,"c":false},{"a":39777,"n":"b_9B61","k":"branch","len":1,"c":false},{"a":39793,"n":"b_9B71","k":"branch","len":1,"c":false},{"a":39804,"n":"b_9B7C","k":"branch","len":1,"c":false},{"a":39814,"n":"b_9B86","k":"branch","len":1,"c":false},{"a":39821,"n":"b_9B8D","k":"branch","len":1,"c":false},{"a":39823,"n":"r_9B8F","k":"branch","len":1,"c":false},{"a":39824,"n":"invert_picture","k":"routine","len":19,"c":true},{"a":39826,"n":"b_9B92","k":"branch","len":1,"c":false},{"a":39843,"n":"show_search_box","k":"routine","len":14,"c":true},{"a":39854,"n":"b_9BAE","k":"branch","len":1,"c":false},{"a":39856,"n":"b_9BB0","k":"branch","len":1,"c":false},{"a":39857,"n":"a_9BB1","k":"routine","len":1,"c":true},{"a":39858,"n":"a_9BB2","k":"routine","len":22,"c":true},{"a":39880,"n":"save_search_area","k":"routine","len":96,"c":true},{"a":39892,"n":"b_9BD4","k":"branch","len":1,"c":false},{"a":39910,"n":"b_9BE6","k":"branch","len":1,"c":false},{"a":39928,"n":"b_9BF8","k":"branch","len":1,"c":false},{"a":39947,"n":"b_9C0B","k":"branch","len":1,"c":false},{"a":39949,"n":"b_9C0D","k":"branch","len":1,"c":false},{"a":39976,"n":"restore_search_area","k":"routine","len":31,"c":true},{"a":39981,"n":"b_9C2D","k":"branch","len":1,"c":false},{"a":39983,"n":"b_9C2F","k":"branch","len":1,"c":false},{"a":40007,"n":"build_piece","k":"routine","len":29,"c":true},{"a":40021,"n":"b_9C55","k":"branch","len":1,"c":false},{"a":40030,"n":"b_9C5E","k":"branch","len":1,"c":false},{"a":40035,"n":"b_9C63","k":"branch","len":1,"c":false},{"a":40036,"n":"a_9C64","k":"routine","len":9,"c":true},{"a":40045,"n":"a_9C6D","k":"routine","len":29,"c":true},{"a":40074,"n":"redraw_piece","k":"routine","len":71,"c":true},{"a":40117,"n":"b_9CB5","k":"branch","len":1,"c":false},{"a":40124,"n":"b_9CBC","k":"branch","len":1,"c":false},{"a":40137,"n":"b_9CC9","k":"branch","len":1,"c":false},{"a":40144,"n":"r_9CD0","k":"branch","len":1,"c":false},{"a":40145,"n":"piece_pointers","k":"routine","len":69,"c":true},{"a":40179,"n":"b_9CF3","k":"branch","len":1,"c":false},{"a":40214,"n":"security_terminal","k":"routine","len":245,"c":true},{"a":40239,"n":"b_9D2F","k":"branch","len":1,"c":false},{"a":40311,"n":"b_9D77","k":"branch","len":1,"c":false},{"a":40320,"n":"b_9D80","k":"branch","len":1,"c":false},{"a":40343,"n":"b_9D97","k":"branch","len":1,"c":false},{"a":40360,"n":"b_9DA8","k":"branch","len":1,"c":false},{"a":40381,"n":"b_9DBD","k":"branch","len":1,"c":false},{"a":40392,"n":"b_9DC8","k":"branch","len":1,"c":false},{"a":40403,"n":"b_9DD3","k":"branch","len":1,"c":false},{"a":40453,"n":"b_9E05","k":"branch","len":1,"c":false},{"a":40455,"n":"b_9E07","k":"branch","len":1,"c":false},{"a":40459,"n":"a_9E0B","k":"routine","len":4,"c":true},{"a":40463,"n":"a_9E0F","k":"routine","len":216,"c":true},{"a":40466,"n":"b_9E12","k":"branch","len":1,"c":false},{"a":40484,"n":"b_9E24","k":"branch","len":1,"c":false},{"a":40490,"n":"b_9E2A","k":"branch","len":1,"c":false},{"a":40499,"n":"b_9E33","k":"branch","len":1,"c":false},{"a":40505,"n":"b_9E39","k":"branch","len":1,"c":false},{"a":40526,"n":"b_9E4E","k":"branch","len":1,"c":false},{"a":40544,"n":"b_9E60","k":"branch","len":1,"c":false},{"a":40561,"n":"b_9E71","k":"branch","len":1,"c":false},{"a":40623,"n":"b_9EAF","k":"branch","len":1,"c":false},{"a":40634,"n":"b_9EBA","k":"branch","len":1,"c":false},{"a":40659,"n":"b_9ED3","k":"branch","len":1,"c":false},{"a":40679,"n":"tbl_terminal_colours","k":"variable","len":1,"c":true},{"a":40680,"n":"a_9EE8","k":"variable","len":1,"c":true},{"a":40681,"n":"a_9EE9","k":"table","len":4,"c":true},{"a":40685,"n":"f_9EED","k":"table","len":8,"c":true},{"a":40693,"n":"tbl_terminal_sprites","k":"table","len":17,"c":true},{"a":40710,"n":"tbl_terminal_pointers","k":"table","len":8,"c":true},{"a":40718,"n":"terminal_menu","k":"routine","len":223,"c":true},{"a":40723,"n":"b_9F13","k":"branch","len":1,"c":false},{"a":40762,"n":"b_9F3A","k":"branch","len":1,"c":false},{"a":40776,"n":"b_9F48","k":"branch","len":1,"c":false},{"a":40785,"n":"b_9F51","k":"branch","len":1,"c":false},{"a":40819,"n":"b_9F73","k":"branch","len":1,"c":false},{"a":40821,"n":"b_9F75","k":"branch","len":1,"c":false},{"a":40849,"n":"b_9F91","k":"branch","len":1,"c":false},{"a":40867,"n":"b_9FA3","k":"branch","len":1,"c":false},{"a":40888,"n":"b_9FB8","k":"branch","len":1,"c":false},{"a":40896,"n":"b_9FC0","k":"branch","len":1,"c":false},{"a":40908,"n":"b_9FCC","k":"branch","len":1,"c":false},{"a":40918,"n":"b_9FD6","k":"branch","len":1,"c":false},{"a":40929,"n":"b_9FE1","k":"branch","len":1,"c":false},{"a":40941,"n":"tbl_terminal_steps","k":"variable","len":2,"c":true},{"a":40943,"n":"draw_pointer","k":"routine","len":11,"c":true},{"a":40945,"n":"b_9FF1","k":"branch","len":1,"c":false},{"a":40954,"n":"tbl_pointer_glyphs","k":"table","len":3,"c":true},{"a":40957,"n":"tbl_terminal_lines","k":"table","len":3,"c":true},{"a":40972,"n":"draw_terminal_line","k":"routine","len":18,"c":true},{"a":40976,"n":"b_A010","k":"branch","len":1,"c":false},{"a":40990,"n":"str_terminal","k":"table","len":42,"c":true},{"a":41032,"n":"a_A048","k":"variable","len":1,"c":true},{"a":41033,"n":"str_terminal_units","k":"table","len":149,"c":true},{"a":41182,"n":"terminal_select","k":"routine","len":36,"c":true},{"a":41198,"n":"r_A0EE","k":"branch","len":1,"c":false},{"a":41199,"n":"b_A0EF","k":"branch","len":1,"c":false},{"a":41217,"n":"r_A101","k":"branch","len":1,"c":false},{"a":41218,"n":"reset_platforms","k":"routine","len":159,"c":true},{"a":41220,"n":"j_A104","k":"branch","len":1,"c":false},{"a":41238,"n":"b_A116","k":"branch","len":1,"c":false},{"a":41244,"n":"b_A11C","k":"branch","len":1,"c":false},{"a":41248,"n":"b_A120","k":"branch","len":1,"c":false},{"a":41261,"n":"b_A12D","k":"branch","len":1,"c":false},{"a":41271,"n":"b_A137","k":"branch","len":1,"c":false},{"a":41275,"n":"b_A13B","k":"branch","len":1,"c":false},{"a":41277,"n":"j_A13D","k":"branch","len":1,"c":false},{"a":41291,"n":"b_A14B","k":"branch","len":1,"c":false},{"a":41296,"n":"b_A150","k":"branch","len":1,"c":false},{"a":41309,"n":"b_A15D","k":"branch","len":1,"c":false},{"a":41326,"n":"b_A16E","k":"branch","len":1,"c":false},{"a":41331,"n":"b_A173","k":"branch","len":1,"c":false},{"a":41348,"n":"b_A184","k":"branch","len":1,"c":false},{"a":41355,"n":"j_A18B","k":"branch","len":1,"c":false},{"a":41359,"n":"b_A18F","k":"branch","len":1,"c":false},{"a":41368,"n":"b_A198","k":"branch","len":1,"c":false},{"a":41377,"n":"check_password","k":"routine","len":130,"c":true},{"a":41384,"n":"b_A1A8","k":"branch","len":1,"c":false},{"a":41396,"n":"b_A1B4","k":"branch","len":1,"c":false},{"a":41408,"n":"b_A1C0","k":"branch","len":1,"c":false},{"a":41438,"n":"b_A1DE","k":"branch","len":1,"c":false},{"a":41449,"n":"b_A1E9","k":"branch","len":1,"c":false},{"a":41466,"n":"b_A1FA","k":"branch","len":1,"c":false},{"a":41491,"n":"b_A213","k":"branch","len":1,"c":false},{"a":41507,"n":"tbl_terminal_choice_addr","k":"variable","len":2,"c":true},{"a":41509,"n":"f_A225","k":"variable","len":2,"c":true},{"a":41511,"n":"tbl_counter_offsets","k":"variable","len":2,"c":true},{"a":41513,"n":"str_password","k":"table","len":38,"c":true},{"a":41551,"n":"tbl_choice_lines","k":"table","len":6,"c":true},{"a":41557,"n":"room_wipe_out","k":"routine","len":150,"c":true},{"a":41607,"n":"j_A287","k":"branch","len":1,"c":false},{"a":41617,"n":"j_A291","k":"branch","len":1,"c":false},{"a":41633,"n":"b_A2A1","k":"branch","len":1,"c":false},{"a":41644,"n":"b_A2AC","k":"branch","len":1,"c":false},{"a":41668,"n":"j_A2C4","k":"branch","len":1,"c":false},{"a":41672,"n":"b_A2C8","k":"branch","len":1,"c":false},{"a":41694,"n":"b_A2DE","k":"branch","len":1,"c":false},{"a":41696,"n":"b_A2E0","k":"branch","len":1,"c":false},{"a":41707,"n":"clear_two_rows","k":"routine","len":12,"c":true},{"a":41711,"n":"b_A2EF","k":"branch","len":1,"c":false},{"a":41719,"n":"room_wipe_in","k":"routine","len":151,"c":true},{"a":41762,"n":"j_A322","k":"branch","len":1,"c":false},{"a":41767,"n":"j_A327","k":"branch","len":1,"c":false},{"a":41785,"n":"b_A339","k":"branch","len":1,"c":false},{"a":41800,"n":"b_A348","k":"branch","len":1,"c":false},{"a":41831,"n":"b_A367","k":"branch","len":1,"c":false},{"a":41835,"n":"b_A36B","k":"branch","len":1,"c":false},{"a":41857,"n":"b_A381","k":"branch","len":1,"c":false},{"a":41859,"n":"b_A383","k":"branch","len":1,"c":false},{"a":41870,"n":"copy_buffer_rows","k":"routine","len":14,"c":true},{"a":41872,"n":"b_A390","k":"branch","len":1,"c":false},{"a":41884,"n":"draw_room","k":"routine","len":557,"c":true},{"a":41890,"n":"b_A3A2","k":"branch","len":1,"c":false},{"a":41908,"n":"b_A3B4","k":"branch","len":1,"c":false},{"a":41974,"n":"j_A3F6","k":"branch","len":1,"c":false},{"a":42004,"n":"b_A414","k":"branch","len":1,"c":false},{"a":42026,"n":"b_A42A","k":"branch","len":1,"c":false},{"a":42031,"n":"b_A42F","k":"branch","len":1,"c":false},{"a":42049,"n":"b_A441","k":"branch","len":1,"c":false},{"a":42077,"n":"j_A45D","k":"branch","len":1,"c":false},{"a":42101,"n":"b_A475","k":"branch","len":1,"c":false},{"a":42121,"n":"b_A489","k":"branch","len":1,"c":false},{"a":42193,"n":"b_A4D1","k":"branch","len":1,"c":false},{"a":42195,"n":"j_A4D3","k":"branch","len":1,"c":false},{"a":42209,"n":"b_A4E1","k":"branch","len":1,"c":false},{"a":42218,"n":"b_A4EA","k":"branch","len":1,"c":false},{"a":42227,"n":"b_A4F3","k":"branch","len":1,"c":false},{"a":42244,"n":"b_A504","k":"branch","len":1,"c":false},{"a":42251,"n":"b_A50B","k":"branch","len":1,"c":false},{"a":42294,"n":"b_A536","k":"branch","len":1,"c":false},{"a":42307,"n":"b_A543","k":"branch","len":1,"c":false},{"a":42321,"n":"b_A551","k":"branch","len":1,"c":false},{"a":42345,"n":"b_A569","k":"branch","len":1,"c":false},{"a":42356,"n":"b_A574","k":"branch","len":1,"c":false},{"a":42360,"n":"b_A578","k":"branch","len":1,"c":false},{"a":42367,"n":"b_A57F","k":"branch","len":1,"c":false},{"a":42403,"n":"b_A5A3","k":"branch","len":1,"c":false},{"a":42423,"n":"j_A5B7","k":"branch","len":1,"c":false},{"a":42441,"n":"draw_code_room","k":"routine","len":178,"c":true},{"a":42463,"n":"b_A5DF","k":"branch","len":1,"c":false},{"a":42533,"n":"b_A625","k":"branch","len":1,"c":false},{"a":42569,"n":"b_A649","k":"branch","len":1,"c":false},{"a":42582,"n":"b_A656","k":"branch","len":1,"c":false},{"a":42599,"n":"b_A667","k":"branch","len":1,"c":false},{"a":42619,"n":"tbl_code_room_ptrs","k":"table","len":4,"c":true},{"a":42623,"n":"tbl_code_room_xy","k":"table","len":8,"c":true},{"a":42631,"n":"tbl_code_room_colours","k":"table","len":4,"c":true},{"a":42635,"n":"setup_robots","k":"routine","len":137,"c":true},{"a":42677,"n":"j_A6B5","k":"branch","len":1,"c":false},{"a":42685,"n":"b_A6BD","k":"branch","len":1,"c":false},{"a":42738,"n":"b_A6F2","k":"branch","len":1,"c":false},{"a":42772,"n":"setup_ball","k":"routine","len":41,"c":true},{"a":42810,"n":"b_A73A","k":"branch","len":1,"c":false},{"a":42813,"n":"code_room_flicker","k":"routine","len":52,"c":true},{"a":42848,"n":"b_A760","k":"branch","len":1,"c":false},{"a":42864,"n":"r_A770","k":"branch","len":1,"c":false},{"a":42865,"n":"code_room_puzzle","k":"routine","len":333,"c":true},{"a":42878,"n":"b_A77E","k":"branch","len":1,"c":false},{"a":42882,"n":"b_A782","k":"branch","len":1,"c":false},{"a":42897,"n":"b_A791","k":"branch","len":1,"c":false},{"a":42928,"n":"b_A7B0","k":"branch","len":1,"c":false},{"a":42936,"n":"b_A7B8","k":"branch","len":1,"c":false},{"a":43010,"n":"b_A802","k":"branch","len":1,"c":false},{"a":43029,"n":"b_A815","k":"branch","len":1,"c":false},{"a":43083,"n":"b_A84B","k":"branch","len":1,"c":false},{"a":43108,"n":"b_A864","k":"branch","len":1,"c":false},{"a":43136,"n":"b_A880","k":"branch","len":1,"c":false},{"a":43142,"n":"b_A886","k":"branch","len":1,"c":false},{"a":43167,"n":"j_A89F","k":"branch","len":1,"c":false},{"a":43186,"n":"b_A8B2","k":"branch","len":1,"c":false},{"a":43189,"n":"b_A8B5","k":"branch","len":1,"c":false},{"a":43198,"n":"tbl_square_tones","k":"table","len":32,"c":true},{"a":43230,"n":"draw_square","k":"routine","len":67,"c":true},{"a":43246,"n":"b_A8EE","k":"branch","len":1,"c":false},{"a":43258,"n":"b_A8FA","k":"branch","len":1,"c":false},{"a":43272,"n":"b_A908","k":"branch","len":1,"c":false},{"a":43278,"n":"b_A90E","k":"branch","len":1,"c":false},{"a":43282,"n":"b_A912","k":"branch","len":1,"c":false},{"a":43297,"n":"random_light_colour","k":"routine","len":8,"c":true},{"a":43305,"n":"code_room_sound","k":"routine","len":39,"c":true},{"a":43344,"n":"play_tone","k":"routine","len":168,"c":true},{"a":43367,"n":"b_A967","k":"branch","len":1,"c":false},{"a":43413,"n":"b_A995","k":"branch","len":1,"c":false},{"a":43415,"n":"b_A997","k":"branch","len":1,"c":false},{"a":43462,"n":"b_A9C6","k":"branch","len":1,"c":false},{"a":43512,"n":"tbl_tone_lo","k":"table","len":8,"c":true},{"a":43520,"n":"tbl_tone_hi","k":"table","len":8,"c":true},{"a":43528,"n":"tbl_tone_colours","k":"table","len":8,"c":true},{"a":43536,"n":"flash_squares","k":"routine","len":48,"c":true},{"a":43548,"n":"b_AA1C","k":"branch","len":1,"c":false},{"a":43552,"n":"b_AA20","k":"branch","len":1,"c":false},{"a":43554,"n":"b_AA22","k":"branch","len":1,"c":false},{"a":43556,"n":"b_AA24","k":"branch","len":1,"c":false},{"a":43584,"n":"elvin_terminal","k":"routine","len":235,"c":true},{"a":43586,"n":"b_AA42","k":"branch","len":1,"c":false},{"a":43594,"n":"b_AA4A","k":"branch","len":1,"c":false},{"a":43603,"n":"b_AA53","k":"branch","len":1,"c":false},{"a":43613,"n":"b_AA5D","k":"branch","len":1,"c":false},{"a":43683,"n":"b_AAA3","k":"branch","len":1,"c":false},{"a":43687,"n":"b_AAA7","k":"branch","len":1,"c":false},{"a":43717,"n":"b_AAC5","k":"branch","len":1,"c":false},{"a":43724,"n":"b_AACC","k":"branch","len":1,"c":false},{"a":43818,"n":"b_AB2A","k":"branch","len":1,"c":false},{"a":43819,"n":"a_AB2B","k":"routine","len":14,"c":true},{"a":43833,"n":"a_AB39","k":"routine","len":16,"c":true},{"a":43849,"n":"a_AB49","k":"routine","len":30,"c":true},{"a":43879,"n":"tbl_end_timing_ntsc","k":"table","len":7,"c":true},{"a":43886,"n":"tbl_end_timing_pal","k":"table","len":7,"c":true},{"a":43893,"n":"end_mouth_closed","k":"routine","len":15,"c":true},{"a":43895,"n":"b_AB77","k":"branch","len":1,"c":false},{"a":43908,"n":"end_mouth_open","k":"routine","len":15,"c":true},{"a":43910,"n":"b_AB86","k":"branch","len":1,"c":false},{"a":43923,"n":"tbl_mouth_open","k":"table","len":13,"c":true},{"a":43936,"n":"tbl_mouth_closed","k":"table","len":13,"c":true},{"a":43949,"n":"tbl_mouth_cells","k":"table","len":13,"c":true},{"a":43962,"n":"end_twinkle","k":"routine","len":31,"c":true},{"a":43967,"n":"b_ABBF","k":"branch","len":1,"c":false},{"a":43982,"n":"b_ABCE","k":"branch","len":1,"c":false},{"a":43993,"n":"a_ABD9","k":"routine","len":9,"c":true},{"a":44002,"n":"place_agent","k":"routine","len":64,"c":true},{"a":44007,"n":"b_ABE7","k":"branch","len":1,"c":false},{"a":44065,"n":"r_AC21","k":"branch","len":1,"c":false},{"a":44066,"n":"cell_address","k":"routine","len":51,"c":true},{"a":44091,"n":"b_AC3B","k":"branch","len":1,"c":false},{"a":44098,"n":"b_AC42","k":"branch","len":1,"c":false},{"a":44117,"n":"draw_platform_top","k":"routine","len":19,"c":true},{"a":44121,"n":"b_AC59","k":"branch","len":1,"c":false},{"a":44136,"n":"draw_platform_cap","k":"routine","len":32,"c":true},{"a":44138,"n":"b_AC6A","k":"branch","len":1,"c":false},{"a":44155,"n":"b_AC7B","k":"branch","len":1,"c":false},{"a":44168,"n":"lift_platforms","k":"routine","len":110,"c":true},{"a":44198,"n":"j_ACA6","k":"branch","len":1,"c":false},{"a":44209,"n":"r_ACB1","k":"branch","len":1,"c":false},{"a":44210,"n":"b_ACB2","k":"branch","len":1,"c":false},{"a":44222,"n":"b_ACBE","k":"branch","len":1,"c":false},{"a":44237,"n":"b_ACCD","k":"branch","len":1,"c":false},{"a":44246,"n":"b_ACD6","k":"branch","len":1,"c":false},{"a":44258,"n":"b_ACE2","k":"branch","len":1,"c":false},{"a":44262,"n":"b_ACE6","k":"branch","len":1,"c":false},{"a":44273,"n":"r_ACF1","k":"branch","len":1,"c":false},{"a":44274,"n":"b_ACF2","k":"branch","len":1,"c":false},{"a":44278,"n":"platform_up","k":"routine","len":139,"c":true},{"a":44330,"n":"b_AD2A","k":"branch","len":1,"c":false},{"a":44348,"n":"b_AD3C","k":"branch","len":1,"c":false},{"a":44358,"n":"b_AD46","k":"branch","len":1,"c":false},{"a":44378,"n":"b_AD5A","k":"branch","len":1,"c":false},{"a":44385,"n":"b_AD61","k":"branch","len":1,"c":false},{"a":44399,"n":"b_AD6F","k":"branch","len":1,"c":false},{"a":44416,"n":"r_AD80","k":"branch","len":1,"c":false},{"a":44417,"n":"platform_down","k":"routine","len":162,"c":true},{"a":44422,"n":"b_AD86","k":"branch","len":1,"c":false},{"a":44478,"n":"b_ADBE","k":"branch","len":1,"c":false},{"a":44496,"n":"b_ADD0","k":"branch","len":1,"c":false},{"a":44499,"n":"b_ADD3","k":"branch","len":1,"c":false},{"a":44509,"n":"b_ADDD","k":"branch","len":1,"c":false},{"a":44529,"n":"b_ADF1","k":"branch","len":1,"c":false},{"a":44533,"n":"b_ADF5","k":"branch","len":1,"c":false},{"a":44551,"n":"b_AE07","k":"branch","len":1,"c":false},{"a":44579,"n":"clear_platform_column","k":"routine","len":17,"c":true},{"a":44583,"n":"b_AE27","k":"branch","len":1,"c":false},{"a":44596,"n":"check_ground","k":"routine","len":9,"c":true},{"a":44604,"n":"r_AE3C","k":"branch","len":1,"c":false},{"a":44605,"n":"check_ground_now","k":"routine","len":122,"c":true},{"a":44647,"n":"b_AE67","k":"branch","len":1,"c":false},{"a":44653,"n":"b_AE6D","k":"branch","len":1,"c":false},{"a":44659,"n":"b_AE73","k":"branch","len":1,"c":false},{"a":44674,"n":"b_AE82","k":"branch","len":1,"c":false},{"a":44687,"n":"b_AE8F","k":"branch","len":1,"c":false},{"a":44707,"n":"b_AEA3","k":"branch","len":1,"c":false},{"a":44717,"n":"b_AEAD","k":"branch","len":1,"c":false},{"a":44720,"n":"b_AEB0","k":"branch","len":1,"c":false},{"a":44727,"n":"ground_at","k":"routine","len":21,"c":true},{"a":44733,"n":"b_AEBD","k":"branch","len":1,"c":false},{"a":44748,"n":"agent_raise4","k":"routine","len":19,"c":true},{"a":44750,"n":"b_AECE","k":"branch","len":1,"c":false},{"a":44767,"n":"agent_lower4","k":"routine","len":19,"c":true},{"a":44769,"n":"b_AEE1","k":"branch","len":1,"c":false},{"a":44786,"n":"addr_up6","k":"routine","len":16,"c":true},{"a":44791,"n":"j_AEF7","k":"branch","len":1,"c":false},{"a":44801,"n":"r_AF01","k":"branch","len":1,"c":false},{"a":44802,"n":"addr_up_page","k":"routine","len":12,"c":true},{"a":44814,"n":"addr_up5","k":"routine","len":8,"c":true},{"a":44822,"n":"addr_up4","k":"routine","len":8,"c":true},{"a":44830,"n":"addr_up1","k":"routine","len":8,"c":true},{"a":44838,"n":"addr_down6","k":"routine","len":16,"c":true},{"a":44843,"n":"j_AF2B","k":"branch","len":1,"c":false},{"a":44853,"n":"r_AF35","k":"branch","len":1,"c":false},{"a":44854,"n":"addr_down1","k":"routine","len":8,"c":true},{"a":44862,"n":"addr_down2","k":"routine","len":8,"c":true},{"a":44870,"n":"enter_shaft","k":"routine","len":169,"c":true},{"a":44978,"n":"b_AFB2","k":"branch","len":1,"c":false},{"a":45039,"n":"lift_car_sprites","k":"routine","len":70,"c":true},{"a":45109,"n":"tbl_shaft_colours","k":"table","len":8,"c":true},{"a":45117,"n":"tbl_shaft_colours2","k":"table","len":8,"c":true},{"a":45125,"n":"reset_room_platforms","k":"routine","len":48,"c":true},{"a":45140,"n":"j_B054","k":"branch","len":1,"c":false},{"a":45154,"n":"b_B062","k":"branch","len":1,"c":false},{"a":45158,"n":"b_B066","k":"branch","len":1,"c":false},{"a":45173,"n":"copy_to_ff","k":"routine","len":4,"c":true},{"a":45177,"n":"a_B079","k":"routine","len":15,"c":true},{"a":45186,"n":"b_B082","k":"branch","len":1,"c":false},{"a":45192,"n":"randomise_robots","k":"routine","len":69,"c":true},{"a":45194,"n":"b_B08A","k":"branch","len":1,"c":false},{"a":45210,"n":"b_B09A","k":"branch","len":1,"c":false},{"a":45227,"n":"b_B0AB","k":"branch","len":1,"c":false},{"a":45229,"n":"j_B0AD","k":"branch","len":1,"c":false},{"a":45254,"n":"b_B0C6","k":"branch","len":1,"c":false},{"a":45261,"n":"choose_password","k":"routine","len":38,"c":true},{"a":45278,"n":"b_B0DE","k":"branch","len":1,"c":false},{"a":45292,"n":"b_B0EC","k":"branch","len":1,"c":false},{"a":45299,"n":"make_puzzle_images","k":"routine","len":68,"c":true},{"a":45311,"n":"b_B0FF","k":"branch","len":1,"c":false},{"a":45324,"n":"b_B10C","k":"branch","len":1,"c":false},{"a":45354,"n":"b_B12A","k":"branch","len":1,"c":false},{"a":45367,"n":"frame_image","k":"routine","len":73,"c":true},{"a":45369,"n":"b_B139","k":"branch","len":1,"c":false},{"a":45382,"n":"j_B146","k":"branch","len":1,"c":false},{"a":45384,"n":"b_B148","k":"branch","len":1,"c":false},{"a":45395,"n":"b_B153","k":"branch","len":1,"c":false},{"a":45417,"n":"b_B169","k":"branch","len":1,"c":false},{"a":45419,"n":"b_B16B","k":"branch","len":1,"c":false},{"a":45423,"n":"b_B16F","k":"branch","len":1,"c":false},{"a":45440,"n":"make_pieces","k":"routine","len":169,"c":true},{"a":45443,"n":"b_B183","k":"branch","len":1,"c":false},{"a":45451,"n":"b_B18B","k":"branch","len":1,"c":false},{"a":45460,"n":"b_B194","k":"branch","len":1,"c":false},{"a":45471,"n":"b_B19F","k":"branch","len":1,"c":false},{"a":45495,"n":"b_B1B7","k":"branch","len":1,"c":false},{"a":45504,"n":"j_B1C0","k":"branch","len":1,"c":false},{"a":45536,"n":"b_B1E0","k":"branch","len":1,"c":false},{"a":45548,"n":"j_B1EC","k":"branch","len":1,"c":false},{"a":45562,"n":"b_B1FA","k":"branch","len":1,"c":false},{"a":45568,"n":"b_B200","k":"branch","len":1,"c":false},{"a":45580,"n":"j_B20C","k":"branch","len":1,"c":false},{"a":45594,"n":"b_B21A","k":"branch","len":1,"c":false},{"a":45609,"n":"tbl_tones","k":"variable","len":2,"c":true},{"a":45611,"n":"a_B22B","k":"table","len":6,"c":true},{"a":45617,"n":"f_B231","k":"table","len":8,"c":true},{"a":45625,"n":"mask_pair_free","k":"routine","len":52,"c":true},{"a":45674,"n":"b_B26A","k":"branch","len":1,"c":false},{"a":45677,"n":"hide_items","k":"routine","len":55,"c":true},{"a":45679,"n":"b_B26F","k":"branch","len":1,"c":false},{"a":45703,"n":"b_B287","k":"branch","len":1,"c":false},{"a":45714,"n":"b_B292","k":"branch","len":1,"c":false},{"a":45732,"n":"random_empty_slot","k":"routine","len":25,"c":true},{"a":45757,"n":"make_map","k":"routine","len":309,"c":true},{"a":45759,"n":"b_B2BF","k":"branch","len":1,"c":false},{"a":45770,"n":"b_B2CA","k":"branch","len":1,"c":false},{"a":45850,"n":"b_B31A","k":"branch","len":1,"c":false},{"a":45864,"n":"b_B328","k":"branch","len":1,"c":false},{"a":45872,"n":"b_B330","k":"branch","len":1,"c":false},{"a":45882,"n":"b_B33A","k":"branch","len":1,"c":false},{"a":45890,"n":"b_B342","k":"branch","len":1,"c":false},{"a":45911,"n":"b_B357","k":"branch","len":1,"c":false},{"a":45920,"n":"b_B360","k":"branch","len":1,"c":false},{"a":45930,"n":"b_B36A","k":"branch","len":1,"c":false},{"a":45993,"n":"b_B3A9","k":"branch","len":1,"c":false},{"a":45999,"n":"b_B3AF","k":"branch","len":1,"c":false},{"a":46066,"n":"random_row","k":"routine","len":10,"c":true},{"a":46076,"n":"place_room","k":"routine","len":84,"c":true},{"a":46108,"n":"b_B41C","k":"branch","len":1,"c":false},{"a":46111,"n":"b_B41F","k":"branch","len":1,"c":false},{"a":46118,"n":"b_B426","k":"branch","len":1,"c":false},{"a":46126,"n":"b_B42E","k":"branch","len":1,"c":false},{"a":46135,"n":"b_B437","k":"branch","len":1,"c":false},{"a":46142,"n":"b_B43E","k":"branch","len":1,"c":false},{"a":46144,"n":"j_B440","k":"branch","len":1,"c":false},{"a":46160,"n":"claim_grid_square","k":"routine","len":56,"c":true},{"a":46161,"n":"j_B451","k":"branch","len":1,"c":false},{"a":46165,"n":"b_B455","k":"branch","len":1,"c":false},{"a":46195,"n":"b_B473","k":"branch","len":1,"c":false},{"a":46206,"n":"b_B47E","k":"branch","len":1,"c":false},{"a":46209,"n":"b_B481","k":"branch","len":1,"c":false},{"a":46216,"n":"join_rooms","k":"routine","len":120,"c":true},{"a":46245,"n":"b_B4A5","k":"branch","len":1,"c":false},{"a":46255,"n":"b_B4AF","k":"branch","len":1,"c":false},{"a":46258,"n":"b_B4B2","k":"branch","len":1,"c":false},{"a":46262,"n":"b_B4B6","k":"branch","len":1,"c":false},{"a":46282,"n":"j_B4CA","k":"branch","len":1,"c":false},{"a":46296,"n":"b_B4D8","k":"branch","len":1,"c":false},{"a":46300,"n":"b_B4DC","k":"branch","len":1,"c":false},{"a":46322,"n":"j_B4F2","k":"branch","len":1,"c":false},{"a":46336,"n":"may_join","k":"routine","len":22,"c":true},{"a":46350,"n":"b_B50E","k":"branch","len":1,"c":false},{"a":46352,"n":"b_B510","k":"branch","len":1,"c":false},{"a":46356,"n":"b_B514","k":"branch","len":1,"c":false},{"a":46358,"n":"map_cell_ptr","k":"routine","len":34,"c":true},{"a":46368,"n":"b_B520","k":"branch","len":1,"c":false},{"a":46389,"n":"b_B535","k":"branch","len":1,"c":false},{"a":46392,"n":"cut_corridor","k":"routine","len":53,"c":true},{"a":46400,"n":"b_B540","k":"branch","len":1,"c":false},{"a":46410,"n":"b_B54A","k":"branch","len":1,"c":false},{"a":46430,"n":"b_B55E","k":"branch","len":1,"c":false},{"a":46442,"n":"b_B56A","k":"branch","len":1,"c":false},{"a":46445,"n":"gfx_map_extra","k":"table","len":48,"c":true},{"a":46493,"n":"tbl_room_shapes","k":"table","len":144,"c":true},{"a":46637,"n":"tbl_corridor_mask","k":"table","len":16,"c":true},{"a":46653,"n":"tbl_shaft_mask","k":"table","len":8,"c":true},{"a":46661,"n":"show_map","k":"routine","len":84,"c":true},{"a":46672,"n":"b_B650","k":"branch","len":1,"c":false},{"a":46713,"n":"b_B679","k":"branch","len":1,"c":false},{"a":46730,"n":"b_B68A","k":"branch","len":1,"c":false},{"a":46745,"n":"draw_map_frame","k":"routine","len":183,"c":true},{"a":46761,"n":"b_B6A9","k":"branch","len":1,"c":false},{"a":46792,"n":"b_B6C8","k":"branch","len":1,"c":false},{"a":46812,"n":"b_B6DC","k":"branch","len":1,"c":false},{"a":46854,"n":"b_B706","k":"branch","len":1,"c":false},{"a":46880,"n":"b_B720","k":"branch","len":1,"c":false},{"a":46928,"n":"lift_sprite_pointer","k":"routine","len":6,"c":true},{"a":46934,"n":"reveal_room_cell","k":"routine","len":11,"c":true},{"a":46942,"n":"b_B75E","k":"branch","len":1,"c":false},{"a":46945,"n":"reveal_map_cell","k":"routine","len":37,"c":true},{"a":46982,"n":"end_of_game","k":"routine","len":289,"c":true},{"a":47059,"n":"b_B7D3","k":"branch","len":1,"c":false},{"a":47128,"n":"b_B818","k":"branch","len":1,"c":false},{"a":47160,"n":"b_B838","k":"branch","len":1,"c":false},{"a":47182,"n":"b_B84E","k":"branch","len":1,"c":false},{"a":47198,"n":"b_B85E","k":"branch","len":1,"c":false},{"a":47212,"n":"b_B86C","k":"branch","len":1,"c":false},{"a":47232,"n":"b_B880","k":"branch","len":1,"c":false},{"a":47243,"n":"b_B88B","k":"branch","len":1,"c":false},{"a":47258,"n":"b_B89A","k":"branch","len":1,"c":false},{"a":47271,"n":"str_tally","k":"table","len":102,"c":true},{"a":47373,"n":"f_B90D","k":"table","len":29,"c":true},{"a":47402,"n":"str_tally_2","k":"table","len":80,"c":true},{"a":47482,"n":"tbl_tally_labels","k":"variable","len":1,"c":true},{"a":47483,"n":"f_B97B","k":"table","len":13,"c":true},{"a":47496,"n":"tbl_tally_lengths","k":"table","len":7,"c":true},{"a":47503,"n":"tbl_tally_rows","k":"table","len":7,"c":true},{"a":47510,"n":"draw_box_top","k":"routine","len":23,"c":true},{"a":47514,"n":"b_B99A","k":"branch","len":1,"c":false},{"a":47521,"n":"b_B9A1","k":"branch","len":1,"c":false},{"a":47533,"n":"tbl_box_glyphs","k":"table","len":10,"c":true},{"a":47543,"n":"f_B9B7","k":"table","len":10,"c":true},{"a":47553,"n":"tbl_box_offsets2","k":"table","len":14,"c":true},{"a":47567,"n":"draw_box_side","k":"routine","len":14,"c":true},{"a":47569,"n":"b_B9D1","k":"branch","len":1,"c":false},{"a":47581,"n":"tbl_box_sides","k":"table","len":4,"c":true},{"a":47585,"n":"draw_box_bottom","k":"routine","len":25,"c":true},{"a":47589,"n":"b_B9E5","k":"branch","len":1,"c":false},{"a":47598,"n":"b_B9EE","k":"branch","len":1,"c":false},{"a":47610,"n":"tbl_box_bottom","k":"table","len":14,"c":true},{"a":47624,"n":"compute_score","k":"routine","len":236,"c":true},{"a":47707,"n":"b_BA5B","k":"branch","len":1,"c":false},{"a":47735,"n":"b_BA77","k":"branch","len":1,"c":false},{"a":47743,"n":"b_BA7F","k":"branch","len":1,"c":false},{"a":47755,"n":"b_BA8B","k":"branch","len":1,"c":false},{"a":47779,"n":"b_BAA3","k":"branch","len":1,"c":false},{"a":47796,"n":"b_BAB4","k":"branch","len":1,"c":false},{"a":47803,"n":"b_BABB","k":"branch","len":1,"c":false},{"a":47820,"n":"b_BACC","k":"branch","len":1,"c":false},{"a":47834,"n":"b_BADA","k":"branch","len":1,"c":false},{"a":47860,"n":"tbl_bonus_digits","k":"table","len":4,"c":true},{"a":47864,"n":"score_time_up","k":"routine","len":16,"c":true},{"a":47867,"n":"j_BAFB","k":"branch","len":1,"c":false},{"a":47869,"n":"b_BAFD","k":"branch","len":1,"c":false},{"a":47880,"n":"print_bcd6","k":"routine","len":2,"c":true},{"a":47882,"n":"print_bcd6_y","k":"routine","len":56,"c":true},{"a":47888,"n":"b_BB10","k":"branch","len":1,"c":false},{"a":47898,"n":"b_BB1A","k":"branch","len":1,"c":false},{"a":47907,"n":"b_BB23","k":"branch","len":1,"c":false},{"a":47918,"n":"b_BB2E","k":"branch","len":1,"c":false},{"a":47923,"n":"b_BB33","k":"branch","len":1,"c":false},{"a":47937,"n":"r_BB41","k":"branch","len":1,"c":false},{"a":47938,"n":"print_digit","k":"routine","len":3,"c":true},{"a":47941,"n":"print_glyph","k":"routine","len":7,"c":true},{"a":47948,"n":"add_score","k":"routine","len":9,"c":true},{"a":47957,"n":"add_score_hundreds","k":"routine","len":15,"c":true},{"a":47971,"n":"r_BB63","k":"branch","len":1,"c":false},{"a":47972,"n":"add_e4","k":"routine","len":9,"c":true},{"a":47981,"n":"add_e5","k":"routine","len":15,"c":true},{"a":47995,"n":"r_BB7B","k":"branch","len":1,"c":false},{"a":47996,"n":"draw_tally_line","k":"routine","len":16,"c":true},{"a":47998,"n":"b_BB7E","k":"branch","len":1,"c":false},{"a":48012,"n":"tbl_tally_template","k":"table","len":13,"c":true},{"a":48025,"n":"tbl_tally_colours","k":"table","len":13,"c":true},{"a":48038,"n":"count_hundreds","k":"routine","len":27,"c":true},{"a":48046,"n":"b_BBAE","k":"branch","len":1,"c":false},{"a":48064,"n":"r_BBC0","k":"branch","len":1,"c":false},{"a":48065,"n":"count_five_hundreds","k":"routine","len":25,"c":true},{"a":48073,"n":"b_BBC9","k":"branch","len":1,"c":false},{"a":48089,"n":"r_BBD9","k":"branch","len":1,"c":false},{"a":48090,"n":"print_tally_counts","k":"routine","len":42,"c":true},{"a":48110,"n":"b_BBEE","k":"branch","len":1,"c":false},{"a":48132,"n":"hall_of_fame","k":"routine","len":390,"c":true},{"a":48142,"n":"b_BC0E","k":"branch","len":1,"c":false},{"a":48162,"n":"b_BC22","k":"branch","len":1,"c":false},{"a":48175,"n":"b_BC2F","k":"branch","len":1,"c":false},{"a":48194,"n":"b_BC42","k":"branch","len":1,"c":false},{"a":48199,"n":"b_BC47","k":"branch","len":1,"c":false},{"a":48224,"n":"b_BC60","k":"branch","len":1,"c":false},{"a":48251,"n":"b_BC7B","k":"branch","len":1,"c":false},{"a":48277,"n":"b_BC95","k":"branch","len":1,"c":false},{"a":48280,"n":"b_BC98","k":"branch","len":1,"c":false},{"a":48296,"n":"b_BCA8","k":"branch","len":1,"c":false},{"a":48307,"n":"b_BCB3","k":"branch","len":1,"c":false},{"a":48335,"n":"b_BCCF","k":"branch","len":1,"c":false},{"a":48357,"n":"b_BCE5","k":"branch","len":1,"c":false},{"a":48358,"n":"b_BCE6","k":"branch","len":1,"c":false},{"a":48371,"n":"b_BCF3","k":"branch","len":1,"c":false},{"a":48375,"n":"b_BCF7","k":"branch","len":1,"c":false},{"a":48408,"n":"b_BD18","k":"branch","len":1,"c":false},{"a":48461,"n":"b_BD4D","k":"branch","len":1,"c":false},{"a":48468,"n":"b_BD54","k":"branch","len":1,"c":false},{"a":48481,"n":"b_BD61","k":"branch","len":1,"c":false},{"a":48494,"n":"b_BD6E","k":"branch","len":1,"c":false},{"a":48519,"n":"b_BD87","k":"branch","len":1,"c":false},{"a":48522,"n":"tbl_hof_rows","k":"table","len":15,"c":true},{"a":48537,"n":"str_enter_id","k":"table","len":36,"c":true},{"a":48573,"n":"str_new_game","k":"table","len":36,"c":true},{"a":48609,"n":"tbl_new_game_colours","k":"table","len":36,"c":true},{"a":48645,"n":"unused_be05","k":"table","len":24,"c":true},{"a":48669,"n":"compare_score","k":"routine","len":16,"c":true},{"a":48671,"n":"b_BE1F","k":"branch","len":1,"c":false},{"a":48684,"n":"r_BE2C","k":"branch","len":1,"c":false},{"a":48685,"n":"read_key","k":"routine","len":75,"c":true},{"a":48698,"n":"b_BE3A","k":"branch","len":1,"c":false},{"a":48710,"n":"b_BE46","k":"branch","len":1,"c":false},{"a":48717,"n":"b_BE4D","k":"branch","len":1,"c":false},{"a":48728,"n":"b_BE58","k":"branch","len":1,"c":false},{"a":48736,"n":"j_BE60","k":"branch","len":1,"c":false},{"a":48760,"n":"tbl_keys","k":"table","len":64,"c":true},{"a":48824,"n":"add_to_ptr","k":"routine","len":10,"c":true},{"a":48833,"n":"r_BEC1","k":"branch","len":1,"c":false},{"a":48834,"n":"irq_normal","k":"routine","len":11,"c":true},{"a":48845,"n":"nmi_normal","k":"routine","len":11,"c":true},{"a":48856,"n":"speech_line","k":"variable","len":1,"c":true},{"a":48857,"n":"say_line","k":"routine","len":81,"c":true},{"a":48901,"n":"r_BF05","k":"branch","len":1,"c":false},{"a":48902,"n":"b_BF06","k":"branch","len":1,"c":false},{"a":48929,"n":"r_BF21","k":"branch","len":1,"c":false},{"a":48930,"n":"b_BF22","k":"branch","len":1,"c":false},{"a":53248,"n":"gfx_end_charset_1","k":"table","len":384,"c":true},{"a":53632,"n":"rom_digits_view","k":"table","len":640,"c":true},{"a":54272,"n":"gfx_end_charset_2","k":"table","len":1024,"c":true},{"a":56320,"n":"gfx_end_screen","k":"table","len":1024,"c":true},{"a":57344,"n":"speech_phrase_table","k":"table","len":32,"c":true},{"a":57376,"n":"speech_pitch_cmds","k":"table","len":646,"c":true},{"a":58022,"n":"speech_frame_headers","k":"table","len":647,"c":true},{"a":58669,"n":"speech_samples_1","k":"table","len":1024,"c":true},{"a":59693,"n":"speech_samples_2","k":"table","len":1024,"c":true},{"a":60717,"n":"speech_samples_3","k":"table","len":1024,"c":true},{"a":61741,"n":"speech_samples_4","k":"table","len":1024,"c":true},{"a":62765,"n":"speech_samples_5","k":"table","len":581,"c":true},{"a":63346,"n":"speech_padding","k":"table","len":14,"c":true},{"a":63488,"n":"gfx_end_colours","k":"table","len":1024,"c":true}],"records":[{"a":0,"l":"cpu_ddr","c":"The 6510's data direction register; the start-up sets it to $2F ($38CC, $71C3).","t":"byte","b":[0],"x":[14540,29123]},{"a":1,"l":"cpu_port","c":"The 6510's processor port: the banking. $25 at the start, $35 in play (KERNAL and BASIC out, I/O in); $21 to read the character ROM, $24 for all RAM while blocks are moved.","t":"byte","b":[162,0,170,177,145,179,34,34],"x":[3154,14544,14695,14734,29127,29176,43773,43796]},{"a":9,"t":"byte","b":[0,0,76,0,255,0,2]},{"a":16,"l":"ptr_a","c":"General pointer, low byte ($10/$11): the screen or buffer cell being drawn, used by most drawing routines (paired with $14/$15 for its colour).","t":"byte","b":[211],"x":[14483,29210,29222,29356,29367,29415,29432,29451,29470,29515,29521,29542,29557,29579,29597,29611,29615,29701,29724,29801,29829,29844,29877,29911,29925,29930,29935,29940,29945,29950,29955,29960,29965,29970,29975,29980,29985,29990,29995,30000,30005,30011,30016,30021,30026,30031,30036,30041,30046,30051,30056,30061,30066,30071,30076,30081,30086,30091,30099,31700,31724,31739,31752,31761,31764,32266,32279,37565,38049,38929,38946,39205,39859,39930,39949,39986,40423,40466,40745,40762,40769,40774,40801,40832,40845,40888,40918,40948,40979,41248,41387,41400,41403,41408,41452,41572,41622,41627,41711,41729,41770,41775,41874,41981,42006,42017,42033,42053,42063,42084,42103,42114,42309,42319,42387,42504,42537,42547,42749,43232,43264,43266,43282,43538,43556,44098,44124,44141,44158,44385,44533,44583,44786,44791,44806,44814,44822,44830,44838,44843,44854,44862,46747,46763,46775,46781,46796,46805,46816,46830,46839,46856,46868,46874,47051,47146,47204,47514,47527,47575,47589,47604,47634,47720,47941,48001,48104,48108,48119,48123,48129,48234,48255,48308,48342,48347]},{"a":17,"l":"ptr_a_hi","c":"General pointer, high byte (with $10).","t":"byte","b":[196],"x":[29214,29348,29421,29442,29476,29549,29585,29705,29813,29840,29917,30095,31706,31743,32270,37569,37573,38055,38922,38939,39938,40429,40749,40805,40835,40842,41231,41236,41338,41343,41392,41578,41631,41741,41781,41988,42039,42089,42376,42508,43236,43270,43542,44107,44284,44289,44428,44433,44797,44802,44849,46753,47055,47152,47640,48240,48261,48353]},{"a":18,"l":"ptr_b","c":"Second pointer, low byte ($12/$13): the source row when the shaft view scrolls or a room is revealed.","t":"byte","b":[8],"x":[29807,29827,29842,29849,29907,29923,29928,29933,29938,29943,29948,29953,29958,29963,29968,29973,29978,29983,29988,29993,29998,30003,30009,30014,30019,30024,30029,30034,30039,30044,30049,30054,30059,30064,30069,30074,30079,30084,30089,30097,30104,41574,41633,41638,41713,41731,41777,41872,42288,42307,42345,42350]},{"a":19,"l":"ptr_b_hi","c":"Second pointer, high byte.","t":"byte","b":[195],"x":[29815,29838,29853,29915,30093,30108,41580,41642,41723,41783,42277,42292,42354]},{"a":20,"l":"ptr_colour","c":"Colour pointer, low byte ($14/$15): the colour RAM cell matching $10/$11.","t":"byte","b":[211],"x":[29358,29372,29417,29437,29456,29472,29503,29547,29562,29581,29601,29803,29833,29861,29879,31702,31716,39863,39932,39954,39991,40425,40505,41735,41785,41790,41878,41983,42010,42021,42035,42057,42067,42323,42512,42522,42526,42541,42551,42561,42565,44100,44128,44145,44162,44793,44845,46749,46767,46800,46809,46820,46834,46843,46860,47148,47200,47636,47945,48006,48236,48257,48312,48349]},{"a":21,"l":"ptr_colour_hi","c":"Colour pointer, high byte.","t":"byte","b":[219],"x":[29352,29425,29444,29480,29553,29589,29819,29857,31710,39943,40433,41348,41353,41745,41796,41996,42043,42516,44114,44799,44804,44851,46757,47156,47644,48244,48265,48355]},{"a":22,"l":"ptr_colour_b","c":"Second colour pointer, low byte ($16/$17), with $12/$13.","t":"byte","b":[184],"x":[29809,29831,29859,29866,41737,41792,41876,42282,42321,42334,42339]},{"a":23,"l":"ptr_colour_b_hi","c":"Second colour pointer, high byte.","t":"byte","b":[194],"x":[29821,29855,29870,41725,41798,42275,42343]},{"a":24,"l":"ptr_data","c":"Data pointer, low byte ($18/$19): a table, record or picture being read or written (rooms, pieces, map, messages).","t":"byte","b":[0],"x":[15260,15277,15283,15288,16230,16255,16271,16273,29131,29181,30863,30879,30991,31036,31042,31094,31137,31159,31220,31290,31301,31356,31376,31428,31471,31566,31609,31617,31622,32885,32909,32982,33221,33242,33499,33962,33974,34666,34713,34723,38537,38548,38703,38711,38736,39029,39049,39054,39059,39073,39138,39144,39149,39156,39232,39241,39754,39777,39782,39787,39804,39816,40061,40074,40192,40206,41299,41311,41943,41952,41957,41963,41969,41974,41985,41998,42077,42086,42091,42130,42136,42142,42159,42164,42171,42662,42772,42781,42787,43779,44007,44026,44050,45132,45142,45147,45197,45210,45217,45229,45246,45301,45327,45344,45371,45384,45388,45395,45399,45423,45430,45682,45693,45707,45719,45726,45741,45750,46147,46149,46362,46403,46405,46419,46424,46433,46435,47172,47188,47202,48134,48147,48164,48183,48188,48269,48280,48296,48674,48825,48827]},{"a":25,"l":"ptr_data_hi","c":"Data pointer, high byte.","t":"byte","b":[103],"x":[15265,15293,16237,29137,29150,29163,29188,30868,30999,31102,31295,31432,31570,31626,32892,33223,33504,33966,33976,33978,34691,38542,38707,38713,38718,38723,39033,39237,39759,39791,39796,40065,40088,40197,40201,41304,41948,42177,42666,43783,43800,45136,45202,45305,45348,45687,45746,46366,46428,47176,47193,48138,48151,48192,48273,48831]},{"a":26,"l":"in_room","c":"0 in the shaft view, non-zero in a room: the interrupt then leaves the room's colours alone and runs the robots and the ball.","t":"byte","b":[1],"x":[33539,33660,33792,35065,35709,35802,36449,36473,38166,38379,41682,41755,41845,41900,41902,44596]},{"a":27,"l":"shaft_phase","c":"The shaft animation's phase, 0-2 (shaft_step).","t":"byte","b":[2],"x":[29656,29665,30471,30764,34164,34171]},{"a":28,"l":"shaft_step_count","c":"Counts steps of the lift, 0-5; at 6 the map marker moves a line (shaft_step).","t":"byte","b":[5],"x":[29642,29644,29652,30392,30434,30501,30682,30725,30794,34154,34160,44960]},{"a":29,"l":"corridor_below","c":"Set while a corridor opening is in view at the bottom of the shaft; the lift cannot go further down.","t":"byte","b":[1],"x":[14955,29406,29771,29793,30826,34140]},{"a":30,"l":"corridor_above","c":"Set while a corridor opening is in view at the top of the shaft; the lift cannot go further up.","t":"byte","b":[0],"x":[14923,29386,29573,29888,29903,30534,34194]},{"a":31,"l":"door_right","c":"State of the right-hand corridor opening as it scrolls past ($FF none, up to $15); $0B when it is level with the lift, so the agent can walk out.","t":"byte","b":[255],"x":[14514,14927,14962,30121,30254,30264,30271,30411,30544,30559,30703,35073,44949]},{"a":32,"l":"door_left","c":"State of the left-hand corridor opening, as $1F.","t":"byte","b":[11],"x":[14512,14933,14968,35103,44947]},{"a":33,"l":"colour_a","c":"First multicolour of the shaft (from tbl_shaft_colours), used by the interrupt for $D022 and for the lift car.","t":"byte","b":[2],"x":[14679,29487,33553,44917,45070]},{"a":34,"l":"colour_b","c":"Second multicolour of the shaft, for $D023.","t":"byte","b":[10],"x":[14683,29492,33558,44922,45075]},{"a":35,"l":"corridor_colour","c":"The colours of the two corridor openings ($23 right, $24 left), from the rooms they lead to.","t":"byte","b":[0,5],"x":[30166,30322,30407,30611,30699]},{"a":37,"l":"lift_pitch1","c":"Pitch of the lift's hum on voice 1, rising while the lift moves and fading after.","t":"byte","b":[0],"x":[14805,14824,34229,34237,34254]},{"a":38,"l":"lift_pitch2","c":"Pitch of the lift's hum on voice 2.","t":"byte","b":[0],"x":[14826,14833,34239,34247,34260]},{"a":39,"l":"marker_x","c":"X of the map marker (sprite 6) on the pocket computer's map: the agent's column on the map.","t":"byte","b":[91],"x":[29668,30870,30916,35713,35718,35809,35814,44904,46059,46897,46945]},{"a":40,"l":"marker_y","c":"Y of the map marker: the agent's height in the shaft.","t":"byte","b":[186,0,0],"x":[29654,29673,30507,30829,30837,30896,30932,30942,34162,35881,35889,35894,44951,44956,46063,46902,46955]},{"a":43,"l":"map_index","c":"Index of the map square of the room being left or entered (agent_exit_check).","t":"byte","b":[0],"x":[35851,35862]},{"a":44,"l":"agent_x","c":"The agent's three sprites' X and Y: $2C/$2D sprite 1, $2E/$2F sprite 2, $30/$31 sprite 3 (copied to $D002-$D007 by agent_sprites_out).","t":"byte","b":[60],"x":[14635,34775,34917,34919,35033,35035,35091,35096,35128,35130,35576,35581,35628,35630,35834,35955,35967,35980,36008,36026,36392,36442,36461,44020]},{"a":45,"l":"agent_y","c":"Y of the agent's sprite 1 (see $2C).","t":"byte","b":[70],"x":[14643,34946,34952,35669,35674,35685,35687,35918,35933,44041,44759,44778,44880]},{"a":46,"l":"agent_x2","c":"X of the agent's sprite 2.","t":"byte","b":[60],"x":[35047,35049,35836,44022]},{"a":47,"l":"agent_y2","c":"Y of the agent's sprite 2.","t":"byte","b":[58],"x":[34954,34960,44033,44887]},{"a":48,"l":"agent_x3","c":"X of the agent's sprite 3.","t":"byte","b":[60],"x":[34994,34996,35838,44024]},{"a":49,"l":"agent_y3","c":"Y of the agent's sprite 3.","t":"byte","b":[79],"x":[34962,34968,44048,44894]},{"a":50,"l":"agent_xbits","c":"The ninth X bits of the agent's sprites, as bits 1-3 of $D010.","t":"byte","b":[14],"x":[14598,34790,34925,34935,34942,35000,35004,35039,35043,35053,35057,35592,35615,35641,35664,35832,35936,35991,36405,36437,36455,38620,44058]},{"a":51,"l":"box_top","c":"The agent's box for collisions: top edge.","t":"byte","b":[72],"x":[35140,35151,35155,35330,35400]},{"a":52,"l":"box_bottom","c":"The agent's box: bottom edge.","t":"byte","b":[97],"x":[35148,35404,35406,35417,35487]},{"a":53,"l":"box_left","c":"The agent's box: left edge (X/2).","t":"byte","b":[160],"x":[35163,35172,35176,35256,35310]},{"a":54,"l":"box_right","c":"The agent's box: right edge (X/2).","t":"byte","b":[166],"x":[35169,35180,35233]},{"a":55,"l":"box_mid_y","c":"The agent's box: middle height.","t":"byte","b":[84],"x":[35157,35413,35415,35502,35519,35537,35554]},{"a":56,"l":"box_mid_x","c":"The agent's box: middle across.","t":"byte","b":[163],"x":[35178,35246,35251,35320,35325,35351,35379,35441,35465]},{"a":57,"l":"walk_speed","c":"The agent's horizontal step this frame: 0, +5 or -5 ($FB).","t":"byte","b":[0],"x":[34818,34836,34867,34914,34927]},{"a":58,"l":"prev_left","c":"The agent's left edge at the last move, for the collision sweep.","t":"byte","b":[160],"x":[34575,35253,35268,35273,35290,35295,35302,35533,35560]},{"a":59,"l":"prev_right","c":"The agent's right edge at the last move.","t":"byte","b":[166],"x":[34581,35183,35195,35200,35216,35218,35225,35229,35231,35236,35498,35525]},{"a":60,"l":"prev_bottom","c":"The agent's feet at the last move.","t":"byte","b":[97],"x":[34569,35420,35433,35438,35460,35462,35475,35485,35490]},{"a":61,"l":"prev_top","c":"The agent's top at the last move.","t":"byte","b":[72],"x":[34561,35327,35343,35348,35371,35376,35389]},{"a":62,"l":"agent_timer","c":"Counts ticks (the interrupt increments it); the agent moves when it reaches the value in $40, and it starts again from 0.","t":"byte","b":[1],"x":[33645,34547,34556]},{"a":63,"l":"agent_frame_no","c":"The agent's animation frame: 0-$0D walking, $0E standing, $0F, $10-$1B the somersault (counting down).","t":"byte","b":[14],"x":[14654,14851,14890,29277,29289,34617,34725,34797,34814,34839,34855,34873,34881,34902,34905,35509,35544,35912,35927,35943,35998,36486,37174,37253,37357,38028,38629,38975,41820,44168,44622]},{"a":64,"l":"agent_speed","c":"How many ticks between the agent's moves (3).","t":"byte","b":[3],"x":[14528,34549]},{"a":65,"l":"falling","c":"Non-zero while the agent falls; counts up, and the fall speeds up with it.","t":"byte","b":[0],"x":[29273,34326,34338,34463,34505,34541,44600,44717,44722]},{"a":66,"l":"landed","c":"Set when a fall has met the ground.","t":"byte","b":[0],"x":[34355,34420,34458,44724]},{"a":67,"l":"death","c":"Non-zero when the agent dies: 1 electrocuted, 2 fallen, 3 killed while a lifting platform was moving (the platform is redrawn); $FF when time is up.","t":"byte","b":[0],"x":[33777,33783,34315,34537,34604,38348,38372,38383,38401,38509,38642,39088,39364,41227,41334,44266,44337,44343,44485,44491]},{"a":68,"l":"robot_frame","c":"Counts frames for the robots; some commands act every fourth.","t":"byte","b":[125],"x":[36556,37034,37054]},{"a":69,"l":"robot_floor_ptr","c":"Pointer ($45/$46) to the floor under the robot being moved.","t":"byte","b":[84],"x":[37120,37162,37180,37243,37259]},{"a":70,"l":"robot_floor_ptr_hi","c":"High byte of $45.","t":"byte","b":[65],"x":[37124,37160,37164,37184,37263]},{"a":71,"l":"robots_wait","c":"$FF when the robots run; otherwise they are stopped and the value counts up every fourth tick: 0 after a death, $40 after a snooze password.","t":"byte","b":[255],"x":[35757,36566,36578,37584,38180,38352,38603,41201,41559,41886]},{"a":72,"l":"robot_no","c":"Number of the robot being run (0-3).","t":"byte","b":[255],"x":[36600,36698,36704,36724,36848,36977,37006,37067,37324]},{"a":73,"l":"robot_reg","c":"Twice the robot's number: its sprite register offset.","t":"byte","b":[254],"x":[36604,36735,36841,36885,36988,37226,37299,37326,37328]},{"a":74,"l":"robot_turned","c":"Set when a robot turned this frame (the turning sound stays on).","t":"byte","b":[0],"x":[36560,37340,37452]},{"a":75,"l":"robot_colour1","c":"The robots' colours from the room record ($4B, $4C); robot_colours flashes between them.","t":"byte","b":[1],"x":[37406,42157]},{"a":76,"l":"robot_colour2","c":"The robots' second colour.","t":"byte","b":[3],"x":[42162]},{"a":77,"l":"robot_tmp","c":"Scratch for the robot interpreter: a step, a comparison, a flag.","t":"byte","b":[1],"x":[36721,36743,36846,36860,36871,36873,36881,36883,36905,36907,36910,36948,36954,36974,36994,37011,37023,37147,37210,37232,37283,37305]},{"a":78,"l":"robot_zapping","c":"Set while a robot fires its zap this frame.","t":"byte","b":[0],"x":[36477,36562,36702,37349,38907]},{"a":79,"l":"zap_sound","c":"Set while the zap's sound plays.","t":"byte","b":[0],"x":[36564,36674,37353]},{"a":80,"l":"facing","c":"The agent's facing: $01 right, $80 left.","t":"byte","b":[128],"x":[14658,34359,34715,34834,34973,35009,35069,35694,35945,36000,36526,44692,44728]},{"a":81,"l":"fire_count","c":"Counts fire presses for the agent (a somersault is started from it).","t":"byte","b":[0],"x":[14863,29311,34845,34851,38644]},{"a":82,"l":"feet_row","c":"The screen row of the agent's feet, for finding a lifting platform.","t":"byte","b":[6],"x":[44183,44210]},{"a":83,"l":"feet_column","c":"The column of the agent's feet, for finding a lifting platform.","t":"byte","b":[37],"x":[44194,44223,44233]},{"a":84,"l":"last_robot","c":"Offset of the last robot's six-byte block ($55 + 6 \u00d7 robot), $FF for none.","t":"byte","b":[18],"x":[36581,38268,42672,42703,42742]},{"a":85,"l":"robot_script_ptr","c":"Robot state, six bytes a robot from $55: +0 script pointer into tbl_robot_scripts, +1 mode and blocked flag, +2 current command and its count, +3/+4 screen address under the robot, +5 position within its cell.","t":"byte","b":[82],"x":[36612,36614,36640,36642,36914,36924,36940,42685]},{"a":86,"l":"robot_mode","c":"Robot state +1: mode bits (1 = half speed) and bit 7 set when the robot is blocked.","t":"byte","b":[1],"x":[36920,36950,36956,37126,37149,37151,37381,37385,42689]},{"a":87,"l":"robot_command","c":"Robot state +2: the command being carried out with its remaining count, $FF for none.","t":"byte","b":[10],"x":[36606,36619,36683,36691,36931,36960,36996,37004,37027,37029,37081,37101,37389,37523,37525,37533,42693]},{"a":88,"l":"robot_screen_ptr","c":"Robot state +3/+4: the screen address of the cell under the robot.","t":"byte","b":[84],"x":[37118,37214,37220,37291,42751]},{"a":89,"l":"robot_screen_ptr_hi","c":"Robot state +4.","t":"byte","b":[65],"x":[37122,37218,37295,42758]},{"a":90,"l":"robot_subcell","c":"Robot state +5: the robot's position within its cell (0-7).","t":"byte","b":[5,5,2,10,30,66,0,183],"x":[37207,37224,37280,37297,42762]},{"a":98,"t":"byte","b":[1,10,12,67,5,244,2,10]},{"a":106,"t":"byte","b":[214,67,0]},{"a":109,"l":"ball_off","c":"$FF when the room has no active ball, 0 when it has.","t":"byte","b":[255],"x":[14713,37368,37579,38188,38356,38361,38587,41203,42810]},{"a":110,"l":"ball_pc","c":"The ball's script pointer (an offset into tbl_ball_scripts).","t":"byte","b":[0],"x":[37600,37610,37656,37666,37668,42779]},{"a":111,"l":"ball_counter","c":"The ball script's counter.","t":"byte","b":[0],"x":[37636,37638,37644,37646,37651,37661]},{"a":112,"l":"ball_wait","c":"Frames for the ball's script to wait.","t":"byte","b":[0],"x":[37591,37595,37673]},{"a":113,"l":"ball_tmp","c":"Scratch for the ball's movement.","t":"byte","b":[0],"x":[37687,37702,37737,37762,37776,37781,37809,37822,37827,37864,37909,38298,38329]},{"a":114,"l":"centre_y","c":"The agent's centre (agent_centre): Y; also scratch for the ball.","t":"byte","b":[0],"x":[37749,37794,37817,38038,38046,38051,38059,38095,38099,38120,38126,38129,38223,38231,38258,38266,38333]},{"a":115,"l":"centre_x","c":"The agent's centre: X/2.","t":"byte","b":[0],"x":[37800,38044,38053,38135,38142,38145,38247]},{"a":116,"l":"code_level","c":"The code room puzzle's number of notes for this visit.","t":"byte","b":[0],"x":[42878,42934,43112,43116,43158,43165,43175]},{"a":117,"l":"code_level_11","c":"The number of notes the code room $11 asks for next (starts at 2).","t":"byte","b":[2],"x":[14523,42868,43186]},{"a":118,"l":"code_level_1b","c":"The number of notes the code room $1B asks for next (starts at 2).","t":"byte","b":[2],"x":[14525,42876,43183]},{"a":119,"l":"notes_right","c":"How many notes have been pressed in rising order in the code room.","t":"byte","b":[0],"x":[43008,43098,43110,43193]},{"a":120,"l":"last_note","c":"The last note pressed in the code room.","t":"byte","b":[0],"x":[43102,43108,43189]},{"a":121,"l":"bit9_tmp","c":"Scratch for the ninth X bit of an edge; saved by the interrupt with $7A-$7D.","t":"byte","b":[0],"x":[33612,33625,35941,35961,35963,35986,35988,35996,36014,36016,36032,36034]},{"a":122,"l":"cell_row","c":"Scratch for solid_at: the row offset ($7A/$7B).","t":"byte","b":[48],"x":[33606,33631,36050,36058,38220,38290]},{"a":123,"l":"cell_row_hi","c":"High byte of $7A.","t":"byte","b":[0],"x":[33609,33628,36040,36053,36056,36062,36066,38244,38318]},{"a":124,"l":"cell_ptr","c":"The screen row address found by solid_at ($7C/$7D).","t":"byte","b":[240],"x":[33600,33637,36064,36088,37182,37261,37563,38036]},{"a":125,"l":"cell_ptr_hi","c":"High byte of $7C.","t":"byte","b":[64],"x":[33603,33634,36071,37187,37265,37567,38040]},{"a":126,"l":"room_no","c":"The room the agent is in (0-$1F); $11 and $1B are the code rooms.","t":"byte","b":[28],"x":[29260,35739,35760,38152,38530,40718,41936,42430,42870,43177]},{"a":127,"l":"entry_side","c":"Which side the agent entered the room from (selects the entry point and the map half).","t":"byte","b":[1],"x":[35734,35849,35858,35877,44002,44060,46934]},{"a":128,"l":"exit_side","c":"Which side the agent left the corridor by.","t":"byte","b":[0],"x":[35827,35856,46936]},{"a":129,"l":"platform_list","c":"Pointer ($81/$82) to the current room's lifting-platform list in its record.","t":"byte","b":[216],"x":[38564,38582,41220,41239,41261,41280,41313,41326,41356,41368,42173,42195,42201,42219,42233,42244,42255,42265,42408,42664,42677,42695,42710,44070,44092,44200,44205,44225,44229,44238,44295,44300,44309,44314,44317,44323,44328,44439,44446,44450,44453,44461,44466,44470]},{"a":130,"l":"platform_list_hi","c":"High byte of $81.","t":"byte","b":[24],"x":[38567,38579,41287,42179,42237,42668]},{"a":131,"l":"press_held","c":"Set while a stick direction or fire is held, so one press acts once.","t":"byte","b":[0],"x":[40819,40867,40871,44260,44274,44278,44417,44422]},{"a":132,"l":"platform_colour","c":"The colour of the lifting platforms: brown (9) in rooms whose background is yellow (7), light grey ($0F) elsewhere.","t":"byte","b":[15],"x":[42193,44126,44143,44160]},{"a":133,"l":"platform_moving","c":"Set while a platform moves (no ball collision then).","t":"byte","b":[0],"x":[38342,44264,44476,44576]},{"a":134,"l":"object_index","c":"Offset into the room's object records (in sixes) and of its map flag (in fours).","t":"byte","b":[48],"x":[38920,38955,38960,39745,42229,42374,42418,42423]},{"a":135,"l":"object_flag_ptr","c":"Pointer ($87/$88) to the room's object flags in its record.","t":"byte","b":[237],"x":[39747,42235]},{"a":136,"l":"object_flag_ptr_hi","c":"High byte of $87.","t":"byte","b":[24],"x":[42241]},{"a":137,"l":"furniture_type","c":"The furniture type being drawn.","t":"byte","b":[2],"x":[42258,42262,42363]},{"a":138,"l":"terminal_choice","c":"The security terminal's pointer: 0, 1 or 2.","t":"byte","b":[0],"x":[40797,40877,40882,40908,40927,41187,41377,41419,41479,41482]},{"a":139,"l":"wipe_top","c":"Raster line of the upper band of the room wipe.","t":"byte","b":[154],"x":[41584,41644,41649,41670,41749,41807,41812,41833]},{"a":140,"l":"wipe_bottom","c":"Raster line of the lower band of the room wipe.","t":"byte","b":[148],"x":[41588,41651,41656,41686,41694,41753,41800,41805,41814,41849,41857]},{"a":141,"l":"room_colour","c":"The room's background colour, shown inside the wipe.","t":"byte","b":[5],"x":[41843,41955,42187,44902]},{"a":142,"l":"room_sprites","c":"Which sprites to switch on when the room is shown.","t":"byte","b":[254],"x":[41825,42167,44898]},{"a":143,"l":"selected_slot","c":"The pocket computer's selected display slot, 0-5, or $FF for none.","t":"byte","b":[255],"x":[15243,15247,15514,15540,15946,16029,16225,29463,30977,31080,31202,31227,31246,31255,31262,31273,31345,31369,31386,32963]},{"a":144,"l":"carried_slot","c":"The slot the hand took a piece from.","t":"byte","b":[0],"x":[15141,15582,15616]},{"a":145,"l":"undo_slot","c":"The slot of the piece in the undo buffer, $FF for none.","t":"byte","b":[255],"x":[15231,15241,15544,29235,29465,31329,31363,31388,33144]},{"a":146,"l":"slot_used","c":"Six flags, one per display slot ($92-$97): non-zero when it holds a piece.","t":"byte","b":[0,0,0],"x":[15193,15254,15525,31231,31250,31342,39324]},{"a":149,"l":"slot_used_3","c":"Slot 3's flag in $92-$97.","t":"byte","b":[0,0,0],"x":[39349]},{"a":152,"l":"slot_colour","c":"Six colours, one per display slot ($98-$9D).","t":"byte","b":[0,0,0],"x":[15270,15647,29739,31284,31530,31674,39320]},{"a":155,"l":"slot_colour_3","c":"Slot 3's colour in $98-$9D.","t":"byte","b":[0,0,0],"x":[31535,31679,39345]},{"a":158,"l":"new_piece_colour","c":"The colour of the piece scrolling into the memory window.","t":"byte","b":[0],"x":[31418,31516,31556,31660]},{"a":159,"l":"hand_mode","c":"What the pocket computer's hand is doing: 0 choosing a button, 1 on the display, 2 or more on the phone.","t":"byte","b":[1],"x":[15026,15045,15084,15698,16026,16251,31682]},{"a":160,"l":"hand_top","c":"The hand's limits: top ($A0), bottom ($A1), left ($A2), right ($A3, in X/2).","t":"byte","b":[176],"x":[15682,15831,16010,31782,42964,43049]},{"a":161,"l":"hand_bottom","c":"The hand's bottom limit.","t":"byte","b":[230],"x":[15686,15841,16014,31786,42968]},{"a":162,"l":"hand_left","c":"The hand's left limit.","t":"byte","b":[14],"x":[15690,15851,16018,31774,42972,43038]},{"a":163,"l":"hand_right","c":"The hand's right limit.","t":"byte","b":[162],"x":[15694,15861,16022,31778,42976]},{"a":164,"l":"sound_timer","c":"Frames until the interrupt gates off voices 2 and 3.","t":"byte","b":[0],"x":[16211,32137,32221,32363,33573,33577]},{"a":165,"l":"speech_frames","c":"Speech driver: pointer ($A5/$A6) to the next frame header.","t":"byte","b":[198],"x":[2498,2506,2519,2527,2546,2557,2598,2637,2652,2657,3291]},{"a":166,"l":"speech_frames_hi","c":"High byte of $A5.","t":"byte","b":[227],"x":[2661,3299]},{"a":167,"l":"speech_pitch_ptr","c":"Speech driver: pointer ($A7/$A8) to the next pitch command.","t":"byte","b":[54],"x":[2867,2877,2879,2890,2901,3269]},{"a":168,"l":"speech_pitch_ptr_hi","c":"High byte of $A7.","t":"byte","b":[225],"x":[2905,3277]},{"a":169,"l":"speech_data","c":"Speech driver: pointer ($A9/$AA) to the current frame's sample data.","t":"byte","b":[82],"x":[2524,2675,2708,2766,2800,2814,2823,2834,2948,2971,2980,3060,3252,3264,3272,3285,3294]},{"a":170,"l":"speech_data_hi","c":"High byte of $A9.","t":"byte","b":[240],"x":[2537,2770,2838,2984,3260]},{"a":171,"l":"speech_levels","c":"Speech driver: pointer ($AB/$AC) to the 2-bit decoder's level table.","t":"byte","b":[0],"x":[2687,2697,2716,2729,2745,2760]},{"a":172,"l":"speech_levels_hi","c":"High byte of $AB; also set to 10 as the first gap of a phrase.","t":"byte","b":[10],"x":[3141]},{"a":173,"l":"speech_up_count","c":"Speech driver: NMIs left in phase 1 of the period.","t":"byte","b":[32],"x":[2190,2305]},{"a":174,"l":"speech_down_count","c":"Speech driver: NMIs left in phase 2.","t":"byte","b":[32],"x":[2223,2307]},{"a":175,"l":"speech_gap_count","c":"Speech driver: NMIs left in the silent gap.","t":"byte","b":[71,0,0,0,0,0,0,0],"x":[2232,2254,2268,2312,3240]},{"a":183,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":191,"t":"byte","b":[0,0]},{"a":193,"l":"hours_passed","c":"Counts game hours; a room entered after one passes triggers voice line 1.","t":"byte","b":[0,0],"x":[33766,35778,35784]},{"a":195,"l":"memory_pos","c":"The memory window's position in the list of found pieces.","t":"byte","b":[0],"x":[16098,16114,31391,31411,31538,31549,31551,32653,32685,32727,33080,33103,33187,33196,33198]},{"a":196,"l":"mask_ptrs","c":"build_piece's two mask pointers ($C4/$C5 and $C6/$C7).","t":"byte","b":[0,0],"x":[40046,40203,40208]},{"a":198,"l":"mask_ptr2","c":"build_piece's second mask pointer.","t":"byte","b":[0,0],"x":[40037]},{"a":200,"l":"solved","c":"Nine flags, one per puzzle ($C8-$D0): set when it has been solved.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[33020,33031]},{"a":208,"t":"byte","b":[0]},{"a":209,"l":"clock_ticks","c":"The game clock's ticks within the second (0-59).","t":"byte","b":[23],"x":[33710,33712,33720]},{"a":210,"l":"clock_seconds","c":"The game clock's seconds, decimal.","t":"byte","b":[71],"x":[33723,33728,33736,34086,47765]},{"a":211,"l":"clock_minutes","c":"The game clock's minutes, decimal.","t":"byte","b":[36],"x":[33741,33743,33751,34093,47775]},{"a":212,"l":"clock_hours","c":"The game clock's hours, 1-12, decimal ($12 at the start: twelve o'clock); six o'clock ends the game.","t":"byte","b":[18],"x":[14690,33703,33753,33764,33769,34100,34107,47164,47221,47725,47733,47799]},{"a":213,"l":"clock_stopped","c":"Non-zero while the clock is suspended (the pause button).","t":"byte","b":[0],"x":[15743,15750,33698]},{"a":214,"l":"pieces_found","c":"Puzzle pieces found, for the score.","t":"byte","b":[0],"x":[39273,47649]},{"a":215,"l":"passwords_found","c":"Passwords found, for the score.","t":"byte","b":[0],"x":[39251,47663]},{"a":216,"l":"puzzles_solved","c":"Puzzles solved, for the score.","t":"byte","b":[0],"x":[33033,47680,47685]},{"a":217,"l":"score","c":"The score, decimal: $D9 units, $DA hundreds, $DB ten-thousands.","t":"byte","b":[0],"x":[47626,47869,47949,47951,48175,48671]},{"a":218,"l":"score_hundreds","c":"The score's hundreds and thousands.","t":"byte","b":[0],"x":[47628,47958,47960,48053,48058]},{"a":219,"l":"score_top","c":"The score's ten-thousands and hundred-thousands.","t":"byte","b":[0],"x":[47630,47964,47969]},{"a":220,"l":"won","c":"Set when the mission is won.","t":"byte","b":[0,0],"x":[37393,38148,43597]},{"a":222,"l":"fire_held","c":"Set while fire is held, so a press acts once.","t":"byte","b":[0],"x":[14845,14849,14870,15073,15078,15082,29305,29309,29318,38671,40815,40828,40849,43025,43029,43033]},{"a":223,"l":"key_held","c":"Set while a key is held during the name entry.","t":"byte","b":[0],"x":[48726,48736,48740]},{"a":224,"l":"tick","c":"The tick counter, incremented by the interrupt once a frame (60 a second on NTSC, 50 on PAL); wait_ticks waits on it.","t":"byte","b":[94],"x":[252,15546,15548,15929,15931,29678,32622,32627,33234,33236,33643,34151,34189,34205,34224,36572,36676,36795,37137,37399,37495,41602,41607,41757,42813,43465]},{"a":225,"l":"noise","c":"A noise byte rotated every frame by the interrupt, used for sound pitches.","t":"byte","b":[4,0],"x":[14518,34042,34044,34052,34054,34249,34265,37418]},{"a":227,"l":"random2","c":"A second shift-register random byte, stepped every frame by the interrupt.","t":"byte","b":[7],"x":[14520,34068,34072,34080,34083,37454]},{"a":228,"l":"tmp1","c":"Scratch byte used by many routines ($E4-$E9).","t":"byte","b":[0],"x":[14579,14583,15203,15210,16249,16290,29133,29183,29720,29737,29745,29797,29883,30119,30220,30252,30262,30292,30317,30343,30377,30542,30581,30606,30632,30667,31013,31023,31131,31171,32671,32703,32740,32757,32890,32919,32970,32984,32996,33001,33050,33058,33476,33489,33491,33821,33828,33838,33845,33853,33860,33958,33984,34453,34490,34495,34497,35087,35094,35241,35288,35293,35492,35579,35672,38610,38622,38985,39099,39892,39894,39928,40013,40102,40115,40120,40165,40187,40437,40522,41309,41320,41460,41472,41489,41501,41593,41680,42001,42026,42045,42075,42094,42116,42270,42361,43044,43085,43276,43290,43373,43376,43391,43411,43415,43427,43550,43573,43685,43701,43777,44076,44085,44297,44307,44456,44464,45144,45178,45208,45225,45240,45266,45271,45309,45338,45352,45362,45493,45495,45504,45604,45768,45842,46086,46099,46155,46166,46171,46173,46176,46178,46186,46213,46217,46222,46224,46227,46229,46255,46280,46320,46790,46848,46953,46971,47692,47707,47767,47871,47888,47908,47973,47975,48040,48046,48051,48067,48073,48078,48090,48110,48149,48162,48168,48178,48227,48282,48479,48489,48742,48748]},{"a":229,"l":"tmp2","c":"Scratch byte paired with $E4 for many pointers and counts (often the high byte).","t":"byte","b":[3],"x":[16235,16260,16278,16280,29141,29154,29167,29190,29707,30324,30334,30613,30623,31030,31054,31112,31124,32744,32761,32769,32896,32974,33005,33466,33471,33481,33486,35238,35249,35312,35323,39912,39921,40131,40140,40441,40455,40472,40474,42304,42337,42348,42356,42393,42753,43396,43409,43420,43425,43546,43579,43787,43804,44068,44079,44082,44089,44096,44102,44109,44304,44326,44335,44354,44361,44363,44395,44402,44404,44435,44458,44483,44505,44512,44514,44547,44554,44556,44591,45154,45500,45509,46163,46195,46260,46283,46298,46323,46963,46969,47757,47982,47984,48153,48392,48428,48438,48461,48500,48502]},{"a":230,"l":"tmp3","c":"Scratch byte: a third count or a pointer low byte ($E6/$E7).","t":"byte","b":[65],"x":[16241,29693,31139,31145,31151,31157,32880,32956,32978,33007,33012,34378,34393,34431,34481,34492,35187,35211,35260,35284,35334,35365,35369,35374,35424,35455,39898,39915,39918,39925,39934,40011,40150,40160,40182,40443,40490,40511,40513,41972,42008,42019,42055,42065,42268,42311,42675,42705,42738,42740,43138,43154,44319,44333,44365,44406,44472,44481,44516,44558,44615,44711,44734,45161,45173,45514,45521,46258,46296,46943,46973,47759,47991,47993,48406,48440,48442,48494,48498]},{"a":231,"l":"tmp4","c":"Scratch byte: often the high byte paired with $E6.","t":"byte","b":[1],"x":[32904,32934,33147,33156,33218,34383,34406,34414,34428,34446,35193,35207,35266,35280,35341,35361,35431,35451,40156,40334,40497,41595,44620,44707,44739,45541,45557,45573,45589,45653,46083,46157,47884,47894,47898,47914,47918,47927]},{"a":232,"l":"tmp5","c":"Scratch byte; also the map generator's direction flags and build_piece's image pointer ($E8/$E9).","t":"byte","b":[98],"x":[30852,30876,40039,40170,40291,41207,44608,44610,44742,45644,45666,45906,45944,45965,45984,46021,46048,46232,46336,46394,46410]},{"a":233,"l":"tmp6","c":"Scratch byte: high byte of $E8 pointers, and the row counter of the map generator.","t":"byte","b":[0],"x":[30847,30881,30907,30912,30914,30926,40175,45918,45920,45949,45991,45993,46026,46053]},{"a":234,"l":"object_no","c":"The object being searched.","t":"byte","b":[0],"x":[39163,39371,39389]},{"a":235,"l":"random_lo","c":"The random-number generator's 16-bit shift register, low byte ($EB/$EC).","t":"byte","b":[147],"x":[33507,33511,33516,33518,36936]},{"a":236,"l":"random_hi","c":"High byte of the random shift register.","t":"byte","b":[30,135,135,135,135,135,135,0],"x":[33514]},{"a":244,"t":"byte","b":[216,0,0,0,0,0,0,0]},{"a":252,"l":"irq_tick_only","c":"Three bytes of code in zero page, `inc $E0 / rts`, put there by the loader's last stage ($B005 copies them from $B0EF): the routine irq_trampoline calls while speech plays, so that the tick still counts.","t":"code","b":[230,224],"m":"inc","oa":224,"o":"tick","x":[33693]},{"a":254,"t":"code","b":[96],"m":"rts"},{"a":255,"t":"gap","n":1921},{"a":2048,"t":"note","l":"speech_buffer","c":"Speech sample buffer, built at run time: the frame decoders ($0A68, $0AE5, $0B73, $0BE3) write one frame's volume levels here ($0800-$087F, 32 or 128 entries), and $0BFD writes an averaged copy at $0820. The NMI handlers read it through the self-modified operand of `lda $0860` at $0884/$08A5. In play it holds the last frame of the last phrase; at the game's start it held a copy of $0880-$08FF left by the unpacker.","note":"outside the tracked image","x":[2699,2718,2731,2747,2762,2807,2819,2830,2959,2999,3012,3025,3038,3095]},{"a":2176,"l":"speech_say","c":"Speech driver entry, the only address the game calls ($BEF7, $BF08): jumps to speech_command at $0C2F. A = phrase number, or $FF (ask whether a phrase is playing), $FE (stop), $FD (set the sample base address from X/Y).","t":"code","b":[76,47,12],"m":"jmp","oa":3119,"o":"speech_command","x":[48887,48904]},{"a":2179,"l":"nmi_speech_up","c":"NMI handler, phase 1 of a sample period: takes the next level from the speech buffer (operand $0885 is the index, stepped up by one each NMI), halves it and writes it to the SID volume register $D418, which with no voice sounding makes the level audible as a sample. Acknowledges CIA 2 ($DD0D). Counts $AD down; when it reaches 0 it switches the NMI vector to nmi_speech_down ($08A4) and hands the index on to it.","t":"code","b":[72],"m":"pha"},{"a":2180,"t":"code","b":[173,96,8],"m":"lda","oa":2144,"o":"a_0860"},{"a":2181,"t":"note","l":"a_0885","c":"Operand low byte of `lda $0860` in nmi_speech_up: the speech buffer index, stepped up each NMI ($0892) and set from $0CF2 at each period ($08FB).","note":"inside the item at $0884","x":[2194,2204,2299]},{"a":2183,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2184,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":2187,"t":"code","b":[205,13,221],"m":"cmp","o":"cia2_interrupt"},{"a":2190,"t":"code","b":[198,173],"m":"dec","oa":173,"o":"speech_up_count"},{"a":2192,"t":"code","b":[240,5],"m":"beq","oa":2199,"o":"b_0897"},{"a":2194,"t":"code","b":[238,133,8],"m":"inc","oa":2181,"o":"a_0885"},{"a":2197,"t":"code","b":[104],"m":"pla"},{"a":2198,"t":"code","b":[64],"m":"rti"},{"a":2199,"l":"b_0897","t":"code","b":[169,164],"m":"lda","o":"#$A4","x":[2192]},{"a":2201,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"$FFFA"},{"a":2204,"t":"code","b":[173,133,8],"m":"lda","oa":2181,"o":"a_0885"},{"a":2207,"t":"code","b":[141,166,8],"m":"sta","oa":2214,"o":"a_08A6"},{"a":2210,"t":"code","b":[104],"m":"pla"},{"a":2211,"t":"code","b":[64],"m":"rti"},{"a":2212,"l":"nmi_speech_down","c":"NMI handler, phase 2: plays the buffer backwards from where phase 1 stopped (operand $08A6 stepped down), counting $AE. With $AF zero the period ends (speech_next_period at $08F2); otherwise it switches to nmi_speech_hold ($08C3).","t":"code","b":[72],"m":"pha"},{"a":2213,"t":"code","b":[173,96,8],"m":"lda","oa":2144,"o":"a_0860"},{"a":2214,"t":"note","l":"a_08A6","c":"Operand low byte of `lda $0860` in nmi_speech_down: the index stepped down, taken over from nmi_speech_up ($089F).","note":"inside the item at $08A5","x":[2207,2227]},{"a":2216,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2217,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":2220,"t":"code","b":[205,13,221],"m":"cmp","o":"cia2_interrupt"},{"a":2223,"t":"code","b":[198,174],"m":"dec","oa":174,"o":"speech_down_count"},{"a":2225,"t":"code","b":[240,5],"m":"beq","oa":2232,"o":"b_08B8"},{"a":2227,"t":"code","b":[206,166,8],"m":"dec","oa":2214,"o":"a_08A6"},{"a":2230,"t":"code","b":[104],"m":"pla"},{"a":2231,"t":"code","b":[64],"m":"rti"},{"a":2232,"l":"b_08B8","t":"code","b":[165,175],"m":"lda","oa":175,"o":"speech_gap_count","x":[2225]},{"a":2234,"t":"code","b":[240,54],"m":"beq","oa":2290,"o":"b_08F2"},{"a":2236,"t":"code","b":[169,195],"m":"lda","o":"#$C3"},{"a":2238,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"$FFFA"},{"a":2241,"t":"code","b":[104],"m":"pla"},{"a":2242,"t":"code","b":[64],"m":"rti"},{"a":2243,"l":"nmi_speech_hold","c":"NMI handler, phase 3: writes a fixed level 7 ($0E halved) to $D418, a silent gap, for $AF timer periods, switching to nmi_speech_wait ($08D9) after the first.","t":"code","b":[72],"m":"pha"},{"a":2244,"t":"code","b":[234],"m":"nop"},{"a":2245,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":2247,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2248,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":2251,"t":"code","b":[205,13,221],"m":"cmp","o":"cia2_interrupt"},{"a":2254,"t":"code","b":[198,175],"m":"dec","oa":175,"o":"speech_gap_count"},{"a":2256,"t":"code","b":[240,32],"m":"beq","oa":2290,"o":"b_08F2"},{"a":2258,"t":"code","b":[169,217],"m":"lda","o":"#$D9"},{"a":2260,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"$FFFA"},{"a":2263,"t":"code","b":[104],"m":"pla"},{"a":2264,"t":"code","b":[64],"m":"rti"},{"a":2265,"l":"nmi_speech_wait","c":"NMI handler for the rest of the silent gap: acknowledges the timer and counts $AF down without touching the volume; at 0 goes on to speech_next_period ($08F1).","t":"code","b":[205,13,221],"m":"cmp","o":"cia2_interrupt"},{"a":2268,"t":"code","b":[198,175],"m":"dec","oa":175,"o":"speech_gap_count"},{"a":2270,"t":"code","b":[240,17],"m":"beq","oa":2289,"o":"speech_next_period"},{"a":2272,"t":"code","b":[64],"m":"rti"},{"a":2273,"l":"nmi_speech_end","c":"NMI handler installed when a phrase ends: stops CIA 2 timer B ($DD0F = $90), leaves the volume at 7 and returns. No further NMIs follow until the next phrase starts the timer.","t":"code","b":[72],"m":"pha"},{"a":2274,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":2276,"t":"code","b":[141,15,221],"m":"sta","o":"cia2_control_b"},{"a":2279,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":2281,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":2284,"t":"code","b":[205,13,221],"m":"cmp","o":"cia2_interrupt"},{"a":2287,"t":"code","b":[104],"m":"pla"},{"a":2288,"t":"code","b":[64],"m":"rti"},{"a":2289,"l":"speech_next_period","c":"Start of the next pitch period, entered from the NMI handlers: reloads the handler chain from the driver's variables ($0CF1 next handler, $0CF2 buffer start index, $0CF3 phase lengths into $AD/$AE, $0CF4 gap into $AF). Counts frames in $0CF7; when a frame is used up it advances the frame counter $0CF5, fetches the next frame header (speech_frame_header at $09B6 when $0CF5 wraps) and calls the decoder whose address is patched into the `jsr` at $092E. Otherwise it steps the pitch (speech_pitch_step at $0B1D) and, when the buffer start changed, rebuilds the smoothed half of the buffer ($0BFD).","t":"code","b":[72],"m":"pha","x":[2270]},{"a":2290,"l":"b_08F2","t":"code","b":[173,241,12],"m":"lda","oa":3313,"o":"speech_vars","x":[2234,2256]},{"a":2293,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"$FFFA"},{"a":2296,"t":"code","b":[173,242,12],"m":"lda","oa":3314,"o":"a_0CF2"},{"a":2299,"t":"code","b":[141,133,8],"m":"sta","oa":2181,"o":"a_0885"},{"a":2302,"t":"code","b":[173,243,12],"m":"lda","oa":3315,"o":"a_0CF3"},{"a":2305,"t":"code","b":[133,173],"m":"sta","oa":173,"o":"speech_up_count"},{"a":2307,"t":"code","b":[133,174],"m":"sta","oa":174,"o":"speech_down_count"},{"a":2309,"t":"code","b":[173,244,12],"m":"lda","oa":3316,"o":"a_0CF4"},{"a":2312,"t":"code","b":[133,175],"m":"sta","oa":175,"o":"speech_gap_count"},{"a":2314,"t":"code","b":[216],"m":"cld"},{"a":2315,"t":"code","b":[238,247,12],"m":"inc","oa":3319,"o":"a_0CF7"},{"a":2318,"t":"code","b":[240,3],"m":"beq","oa":2323,"o":"b_0913"},{"a":2320,"t":"code","b":[76,57,9],"m":"jmp","oa":2361,"o":"j_0939"},{"a":2321,"t":"note","l":"a_0911","c":"Operand low byte of the `jmp $0939` in speech_next_period: $39 for the normal tail, $51 for the window shift ($0951), $37 for repeat frames; written by the frame-header code.","note":"inside the item at $0910","x":[2576,2614,2644,3211]},{"a":2323,"l":"b_0913","t":"code","b":[138],"m":"txa","x":[2318]},{"a":2324,"t":"code","b":[72],"m":"pha"},{"a":2325,"t":"code","b":[152],"m":"tya"},{"a":2326,"t":"code","b":[72],"m":"pha"},{"a":2327,"t":"code","b":[238,245,12],"m":"inc","oa":3317,"o":"a_0CF5"},{"a":2330,"t":"code","b":[208,3],"m":"bne","oa":2335,"o":"b_091F"},{"a":2332,"t":"code","b":[32,182,9],"m":"jsr","oa":2486,"o":"speech_frame_header"},{"a":2335,"l":"b_091F","t":"code","b":[173,246,12],"m":"lda","oa":3318,"o":"a_0CF6","x":[2330]},{"a":2338,"t":"code","b":[141,247,12],"m":"sta","oa":3319,"o":"a_0CF7"},{"a":2341,"t":"code","b":[173,242,12],"m":"lda","oa":3314,"o":"a_0CF2"},{"a":2344,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":2346,"t":"code","b":[73,64],"m":"eor","o":"#$40"},{"a":2348,"t":"code","b":[170],"m":"tax"},{"a":2349,"t":"code","b":[24],"m":"clc"},{"a":2350,"t":"code","b":[32,123,9],"m":"jsr","oa":2427,"o":"speech_set_end"},{"a":2351,"t":"note","l":"a_092F","c":"Operand low byte of the `jsr $097B` in speech_next_period: selects the frame decoder ($8C, $8F, $92, $98) or the end ($7B) or the start gap ($81).","note":"inside the item at $092E","x":[2492,2590,2625,2649,3216]},{"a":2353,"t":"code","b":[104],"m":"pla"},{"a":2354,"t":"code","b":[168],"m":"tay"},{"a":2355,"t":"code","b":[104],"m":"pla"},{"a":2356,"t":"code","b":[170],"m":"tax"},{"a":2357,"t":"code","b":[104],"m":"pla"},{"a":2358,"t":"code","b":[64],"m":"rti"},{"a":2359,"t":"code","b":[104],"m":"pla"},{"a":2360,"t":"code","b":[64],"m":"rti"},{"a":2361,"l":"j_0939","t":"code","b":[138],"m":"txa","x":[2320]},{"a":2362,"t":"code","b":[72],"m":"pha"},{"a":2363,"t":"code","b":[152],"m":"tya"},{"a":2364,"t":"code","b":[72],"m":"pha"},{"a":2365,"t":"code","b":[173,250,12],"m":"lda","oa":3322,"o":"a_0CFA"},{"a":2368,"t":"code","b":[205,242,12],"m":"cmp","oa":3314,"o":"a_0CF2"},{"a":2371,"t":"code","b":[240,3],"m":"beq","oa":2376,"o":"b_0948"},{"a":2373,"t":"code","b":[32,253,11],"m":"jsr","oa":3069,"o":"speech_smooth"},{"a":2376,"l":"b_0948","t":"code","b":[32,29,11],"m":"jsr","oa":2845,"o":"speech_pitch_step","x":[2371]},{"a":2379,"t":"code","b":[104],"m":"pla"},{"a":2380,"t":"code","b":[168],"m":"tay"},{"a":2381,"t":"code","b":[104],"m":"pla"},{"a":2382,"t":"code","b":[170],"m":"tax"},{"a":2383,"t":"code","b":[104],"m":"pla"},{"a":2384,"t":"code","b":[64],"m":"rti"},{"a":2385,"l":"speech_shift_window","c":"Alternative tail of speech_next_period, selected by patching the `jmp` at $0910 to $0951: moves the playback window ($0CF2) forward by $0CF9 and shortens the phase length $0CF3 by the same until it reaches 16, then resets both.","t":"code","b":[173,243,12],"m":"lda","oa":3315,"o":"a_0CF3"},{"a":2388,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":2390,"t":"code","b":[240,19],"m":"beq","oa":2411,"o":"b_096B"},{"a":2392,"t":"code","b":[56],"m":"sec"},{"a":2393,"t":"code","b":[237,249,12],"m":"sbc","oa":3321,"o":"a_0CF9"},{"a":2396,"t":"code","b":[141,243,12],"m":"sta","oa":3315,"o":"a_0CF3"},{"a":2399,"t":"code","b":[173,242,12],"m":"lda","oa":3314,"o":"a_0CF2"},{"a":2402,"t":"code","b":[24],"m":"clc"},{"a":2403,"t":"code","b":[109,249,12],"m":"adc","oa":3321,"o":"a_0CF9"},{"a":2406,"t":"code","b":[141,242,12],"m":"sta","oa":3314,"o":"a_0CF2"},{"a":2409,"t":"code","b":[104],"m":"pla"},{"a":2410,"t":"code","b":[64],"m":"rti"},{"a":2411,"l":"b_096B","t":"code","b":[173,242,12],"m":"lda","oa":3314,"o":"a_0CF2","x":[2390]},{"a":2414,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":2416,"t":"code","b":[141,242,12],"m":"sta","oa":3314,"o":"a_0CF2"},{"a":2419,"t":"code","b":[173,248,12],"m":"lda","oa":3320,"o":"a_0CF8"},{"a":2422,"t":"code","b":[141,243,12],"m":"sta","oa":3315,"o":"a_0CF3"},{"a":2425,"t":"code","b":[104],"m":"pla"},{"a":2426,"t":"code","b":[64],"m":"rti"},{"a":2427,"l":"speech_set_end","c":"Makes nmi_speech_end ($08E1) the next handler: the phrase is finished. Selected as the decoder of speech_next_period when the phrase's last frame is reached.","t":"code","b":[169,225],"m":"lda","o":"#$E1","x":[2350]},{"a":2429,"t":"code","b":[141,241,12],"m":"sta","oa":3313,"o":"speech_vars"},{"a":2432,"t":"code","b":[96],"m":"rts"},{"a":2433,"l":"speech_start_gap","c":"Sets the next handler to nmi_speech_hold ($08C3) with a gap of $80 periods; used at the start of a phrase.","t":"code","b":[169,195],"m":"lda","o":"#$C3","x":[3219]},{"a":2435,"t":"code","b":[141,241,12],"m":"sta","oa":3313,"o":"speech_vars"},{"a":2438,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":2440,"t":"code","b":[141,244,12],"m":"sta","oa":3316,"o":"a_0CF4"},{"a":2443,"t":"code","b":[96],"m":"rts"},{"a":2444,"l":"speech_dec_1bit_jmp","c":"Entry stub of the decoder table patched into $092F: jumps to the 1-bit decoder at $0B73.","t":"code","b":[76,115,11],"m":"jmp","oa":2931,"o":"speech_dec_1bit"},{"a":2447,"l":"speech_dec_1bit_cont_jmp","c":"Entry stub: jumps to the 1-bit decoder's continuation at $0BE3.","t":"code","b":[76,227,11],"m":"jmp","oa":3043,"o":"j_0BE3"},{"a":2450,"l":"speech_dec_2bit_stub","c":"Entry stub: 2-bit decoder ($0A68), then the common frame end at $099B.","t":"code","b":[32,104,10],"m":"jsr","oa":2664,"o":"speech_dec_2bit"},{"a":2453,"t":"code","b":[76,155,9],"m":"jmp","oa":2459,"o":"speech_frame_end"},{"a":2456,"l":"speech_dec_4bit_stub","c":"Entry stub: 4-bit decoder ($0AE5), then falls into speech_frame_end.","t":"code","b":[32,229,10],"m":"jsr","oa":2789,"o":"speech_dec_4bit"},{"a":2459,"l":"speech_frame_end","c":"After a frame is decoded: if bit 7 of the frame's flags ($09B7) is set, flips the buffer half (bit 6) and restarts the window; otherwise rebuilds the smoothed copy ($0BFD). Then steps the pitch ($0B1D).","t":"code","b":[173,183,9],"m":"lda","oa":2487,"o":"a_09B7","x":[2453]},{"a":2462,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2463,"t":"code","b":[16,15],"m":"bpl","oa":2480,"o":"b_09B0"},{"a":2465,"t":"code","b":[106],"m":"ror","o":"a"},{"a":2466,"t":"code","b":[73,64],"m":"eor","o":"#$40"},{"a":2468,"t":"code","b":[141,183,9],"m":"sta","oa":2487,"o":"a_09B7"},{"a":2471,"t":"code","b":[173,250,12],"m":"lda","oa":3322,"o":"a_0CFA"},{"a":2474,"t":"code","b":[141,242,12],"m":"sta","oa":3314,"o":"a_0CF2"},{"a":2477,"t":"code","b":[76,29,11],"m":"jmp","oa":2845,"o":"speech_pitch_step"},{"a":2480,"l":"b_09B0","t":"code","b":[32,253,11],"m":"jsr","oa":3069,"o":"speech_smooth","x":[2463]},{"a":2483,"t":"code","b":[76,29,11],"m":"jmp","oa":2845,"o":"speech_pitch_step"},{"a":2486,"l":"speech_frame_header","c":"Reads the next 4-byte frame header from ($A5), unless bit 7 of the previous header's byte 3 (kept as the operand at $09B7) says that frame was the last: then it patches the decoder `jsr` at $092E to speech_set_end ($097B). Byte 0: bits 0-5 the number of decodes this header covers ($0CF5, ORed with $C0 and counted up to 0); bit 6 the window (64 or 32 entries) for the 1-bit encodings; bits 6-7 the phase length for the 4-bit and 2-bit ones (tbl_speech_len). Byte 1: bits 3-7 the periods each decode plays ($0CF6, ORed with $E0); bit 2 a silent frame (speech_frame_repeat); bits 0-1 the encoding: 0 the 2-bit loop with the narrow levels (via $0BE3), 1 one bit a sample ($0B73), 2 four bits ($0AE5), 3 two bits ($0A68). Bytes 2-3: the offset of the sample data from the sample base, into $A9/$AA; byte 3's bit 6 plays the next decode without blending (speech_frame_end) and bit 7 marks the last frame. Patches the `jmp` at $0910, then steps $A5 by 4. Checked by a port that gives the game's volume writes for all eight lines.","t":"code","b":[169,143],"m":"lda","o":"#$8F","x":[2332]},{"a":2487,"t":"note","l":"a_09B7","c":"Immediate operand of `lda #$8F` in speech_frame_header: holds the current frame header's flag byte (bit 7 set while frames remain; bit 6 the buffer half), written by the decoders and the frame-repeat code.","note":"inside the item at $09B6","x":[2459,2468,2529,2639,3303]},{"a":2488,"t":"code","b":[16,6],"m":"bpl","oa":2496,"o":"b_09C0"},{"a":2490,"t":"code","b":[169,123],"m":"lda","o":"#$7B"},{"a":2492,"t":"code","b":[141,47,9],"m":"sta","oa":2351,"o":"a_092F"},{"a":2495,"t":"code","b":[96],"m":"rts"},{"a":2496,"l":"b_09C0","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[2488]},{"a":2498,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2500,"t":"code","b":[9,192],"m":"ora","o":"#$C0"},{"a":2502,"t":"code","b":[141,245,12],"m":"sta","oa":3317,"o":"a_0CF5"},{"a":2505,"t":"code","b":[200],"m":"iny"},{"a":2506,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2508,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2509,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2510,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2511,"t":"code","b":[9,224],"m":"ora","o":"#$E0"},{"a":2513,"t":"code","b":[141,246,12],"m":"sta","oa":3318,"o":"a_0CF6"},{"a":2516,"t":"code","b":[176,117],"m":"bcs","oa":2635,"o":"speech_frame_repeat"},{"a":2518,"t":"code","b":[200],"m":"iny"},{"a":2519,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2521,"t":"code","b":[109,254,12],"m":"adc","oa":3326,"o":"a_0CFE"},{"a":2524,"t":"code","b":[133,169],"m":"sta","oa":169,"o":"speech_data"},{"a":2526,"t":"code","b":[200],"m":"iny"},{"a":2527,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2529,"t":"code","b":[141,183,9],"m":"sta","oa":2487,"o":"a_09B7"},{"a":2532,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":2534,"t":"code","b":[109,255,12],"m":"adc","oa":3327,"o":"a_0CFF"},{"a":2537,"t":"code","b":[133,170],"m":"sta","oa":170,"o":"speech_data_hi"},{"a":2539,"t":"code","b":[169,131],"m":"lda","o":"#$83"},{"a":2541,"t":"code","b":[141,241,12],"m":"sta","oa":3313,"o":"speech_vars"},{"a":2544,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":2546,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2548,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2550,"t":"code","b":[170],"m":"tax"},{"a":2551,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":2553,"t":"code","b":[16,41],"m":"bpl","oa":2596,"o":"b_0A24"},{"a":2555,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":2557,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2559,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":2561,"t":"code","b":[208,2],"m":"bne","oa":2565,"o":"b_0A05"},{"a":2563,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":2565,"l":"b_0A05","t":"code","b":[141,248,12],"m":"sta","oa":3320,"o":"a_0CF8","x":[2561]},{"a":2568,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2569,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2570,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2571,"t":"code","b":[141,249,12],"m":"sta","oa":3321,"o":"a_0CF9"},{"a":2574,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":2576,"t":"code","b":[141,17,9],"m":"sta","oa":2321,"o":"a_0911"},{"a":2579,"t":"code","b":[140,244,12],"m":"sty","oa":3316,"o":"a_0CF4"},{"a":2582,"t":"code","b":[138],"m":"txa"},{"a":2583,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2584,"t":"code","b":[169,140],"m":"lda","o":"#$8C"},{"a":2586,"t":"code","b":[176,2],"m":"bcs","oa":2590,"o":"b_0A1E"},{"a":2588,"t":"code","b":[169,143],"m":"lda","o":"#$8F"},{"a":2590,"l":"b_0A1E","t":"code","b":[141,47,9],"m":"sta","oa":2351,"o":"a_092F","x":[2586]},{"a":2593,"t":"code","b":[76,92,10],"m":"jmp","oa":2652,"o":"j_0A5C"},{"a":2596,"l":"b_0A24","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[2553]},{"a":2598,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2600,"t":"code","b":[42],"m":"rol","o":"a"},{"a":2601,"t":"code","b":[42],"m":"rol","o":"a"},{"a":2602,"t":"code","b":[42],"m":"rol","o":"a"},{"a":2603,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2605,"t":"code","b":[168],"m":"tay"},{"a":2606,"t":"code","b":[185,71,10],"m":"lda","oa":2631,"o":"tbl_speech_len,y"},{"a":2609,"t":"code","b":[141,243,12],"m":"sta","oa":3315,"o":"a_0CF3"},{"a":2612,"t":"code","b":[169,57],"m":"lda","o":"#$39"},{"a":2614,"t":"code","b":[141,17,9],"m":"sta","oa":2321,"o":"a_0911"},{"a":2617,"t":"code","b":[138],"m":"txa"},{"a":2618,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2619,"t":"code","b":[169,146],"m":"lda","o":"#$92"},{"a":2621,"t":"code","b":[176,2],"m":"bcs","oa":2625,"o":"b_0A41"},{"a":2623,"t":"code","b":[169,152],"m":"lda","o":"#$98"},{"a":2625,"l":"b_0A41","t":"code","b":[141,47,9],"m":"sta","oa":2351,"o":"a_092F","x":[2621]},{"a":2628,"t":"code","b":[76,92,10],"m":"jmp","oa":2652,"o":"j_0A5C"},{"a":2631,"l":"tbl_speech_len","c":"Four phase lengths for the 2-bit and 4-bit encodings ($08, $10, $18, $20), chosen by the top two bits of the frame's first byte at $0A2E.","t":"byte","b":[8,16,24,32],"x":[2606]},{"a":2635,"l":"speech_frame_repeat","c":"Frame header path for a repeated frame: takes the flags from header byte 3 and selects the window-shift tail ($0911 = $37) and the start-gap handler ($092F = $81).","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[2516]},{"a":2637,"t":"code","b":[177,165],"m":"lda","oa":165,"o":"(speech_frames),y"},{"a":2639,"t":"code","b":[141,183,9],"m":"sta","oa":2487,"o":"a_09B7"},{"a":2642,"t":"code","b":[169,55],"m":"lda","o":"#$37"},{"a":2644,"t":"code","b":[141,17,9],"m":"sta","oa":2321,"o":"a_0911"},{"a":2647,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":2649,"t":"code","b":[141,47,9],"m":"sta","oa":2351,"o":"a_092F"},{"a":2652,"l":"j_0A5C","t":"code","b":[165,165],"m":"lda","oa":165,"o":"speech_frames","x":[2593,2628]},{"a":2654,"t":"code","b":[24],"m":"clc"},{"a":2655,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":2657,"t":"code","b":[133,165],"m":"sta","oa":165,"o":"speech_frames"},{"a":2659,"t":"code","b":[144,2],"m":"bcc","oa":2663,"o":"r_0A67"},{"a":2661,"t":"code","b":[230,166],"m":"inc","oa":166,"o":"speech_frames_hi"},{"a":2663,"l":"r_0A67","t":"code","b":[96],"m":"rts","x":[2659]},{"a":2664,"l":"speech_dec_2bit","c":"2-bit decoder: each byte of sample data holds four 2-bit codes; each code picks one of four levels from the level table chosen by the byte's low two bits ($0AD9, $0ADD or $0AE1, pointer in $AB/$AC). Fills the speech buffer $0800,x up to the length patched into $0AD5.","t":"code","b":[109,243,12],"m":"adc","oa":3315,"o":"a_0CF3","x":[2450]},{"a":2667,"t":"code","b":[141,213,10],"m":"sta","oa":2773,"o":"a_0AD5"},{"a":2670,"t":"code","b":[142,250,12],"m":"stx","oa":3322,"o":"a_0CFA"},{"a":2673,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":2675,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":2677,"l":"j_0A75","t":"code","b":[141,163,10],"m":"sta","oa":2723,"o":"a_0AA3","x":[3066]},{"a":2680,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2682,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2683,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2684,"t":"code","b":[24],"m":"clc"},{"a":2685,"t":"code","b":[105,213],"m":"adc","o":"#$D5"},{"a":2687,"t":"code","b":[133,171],"m":"sta","oa":171,"o":"speech_levels"},{"a":2689,"t":"code","b":[173,163,10],"m":"lda","oa":2723,"o":"a_0AA3"},{"a":2692,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2693,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2694,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2696,"t":"code","b":[168],"m":"tay"},{"a":2697,"t":"code","b":[177,171],"m":"lda","oa":171,"o":"(speech_levels),y"},{"a":2699,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x"},{"a":2702,"t":"code","b":[232],"m":"inx"},{"a":2703,"t":"code","b":[76,171,10],"m":"jmp","oa":2731,"o":"j_0AAB"},{"a":2706,"l":"b_0A92","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[2774]},{"a":2708,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":2710,"t":"code","b":[141,163,10],"m":"sta","oa":2723,"o":"a_0AA3"},{"a":2713,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2715,"t":"code","b":[168],"m":"tay"},{"a":2716,"t":"code","b":[177,171],"m":"lda","oa":171,"o":"(speech_levels),y"},{"a":2718,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x"},{"a":2721,"t":"code","b":[232],"m":"inx"},{"a":2722,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2723,"t":"note","l":"a_0AA3","c":"Immediate operand of `lda #$00` in speech_dec_2bit: the current data byte, saved there ($0A75, $0A96) and read back for its next 2-bit fields.","note":"inside the item at $0AA2","x":[2677,2689,2710,2735,2751]},{"a":2724,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2725,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2726,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2728,"t":"code","b":[168],"m":"tay"},{"a":2729,"t":"code","b":[177,171],"m":"lda","oa":171,"o":"(speech_levels),y"},{"a":2731,"l":"j_0AAB","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x","x":[2703]},{"a":2734,"t":"code","b":[232],"m":"inx"},{"a":2735,"t":"code","b":[173,163,10],"m":"lda","oa":2723,"o":"a_0AA3"},{"a":2738,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2739,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2740,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2741,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2742,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2744,"t":"code","b":[168],"m":"tay"},{"a":2745,"t":"code","b":[177,171],"m":"lda","oa":171,"o":"(speech_levels),y"},{"a":2747,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x"},{"a":2750,"t":"code","b":[232],"m":"inx"},{"a":2751,"t":"code","b":[173,163,10],"m":"lda","oa":2723,"o":"a_0AA3"},{"a":2754,"t":"code","b":[42],"m":"rol","o":"a"},{"a":2755,"t":"code","b":[42],"m":"rol","o":"a"},{"a":2756,"t":"code","b":[42],"m":"rol","o":"a"},{"a":2757,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":2759,"t":"code","b":[168],"m":"tay"},{"a":2760,"t":"code","b":[177,171],"m":"lda","oa":171,"o":"(speech_levels),y"},{"a":2762,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x"},{"a":2765,"t":"code","b":[232],"m":"inx"},{"a":2766,"t":"code","b":[230,169],"m":"inc","oa":169,"o":"speech_data"},{"a":2768,"t":"code","b":[208,2],"m":"bne","oa":2772,"o":"b_0AD4"},{"a":2770,"t":"code","b":[230,170],"m":"inc","oa":170,"o":"speech_data_hi"},{"a":2772,"l":"b_0AD4","t":"code","b":[224,0],"m":"cpx","o":"#$00","x":[2768]},{"a":2773,"t":"note","l":"a_0AD5","c":"Operand of `cpx #$00` in speech_dec_2bit: the end of the frame in the buffer, set from the window length ($0A6B, $0BE9).","note":"inside the item at $0AD4","x":[2667,3049]},{"a":2774,"t":"code","b":[208,186],"m":"bne","oa":2706,"o":"b_0A92"},{"a":2776,"t":"code","b":[96],"m":"rts"},{"a":2777,"l":"tbl_speech_levels","c":"Three level tables of four volume levels each (doubled, halved again on output) for the 2-bit decoder: $0C-$12 (quiet, narrow), $08-$14, $02-$1A (loud, wide).","t":"byte","b":[12,14,16,18,8,12,16,20]},{"a":2785,"t":"byte","b":[2,10,18,26]},{"a":2789,"l":"speech_dec_4bit","c":"4-bit decoder: each byte of sample data holds two 4-bit levels (masked to even values with AND #$1E); fills the buffer up to the length patched into $0B19 (32 by default).","t":"code","b":[109,243,12],"m":"adc","oa":3315,"o":"a_0CF3","x":[2456]},{"a":2792,"t":"code","b":[141,25,11],"m":"sta","oa":2841,"o":"a_0B19"},{"a":2795,"t":"code","b":[142,250,12],"m":"stx","oa":3322,"o":"a_0CFA"},{"a":2798,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":2800,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":2802,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2803,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2804,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2805,"t":"code","b":[41,30],"m":"and","o":"#$1E"},{"a":2807,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x"},{"a":2810,"t":"code","b":[232],"m":"inx"},{"a":2811,"t":"code","b":[76,14,11],"m":"jmp","oa":2830,"o":"j_0B0E"},{"a":2814,"l":"b_0AFE","t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y","x":[2842]},{"a":2816,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2817,"t":"code","b":[41,30],"m":"and","o":"#$1E"},{"a":2819,"t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x"},{"a":2822,"t":"code","b":[232],"m":"inx"},{"a":2823,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":2825,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2826,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2827,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2828,"t":"code","b":[41,30],"m":"and","o":"#$1E"},{"a":2830,"l":"j_0B0E","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x","x":[2811]},{"a":2833,"t":"code","b":[232],"m":"inx"},{"a":2834,"t":"code","b":[230,169],"m":"inc","oa":169,"o":"speech_data"},{"a":2836,"t":"code","b":[208,2],"m":"bne","oa":2840,"o":"b_0B18"},{"a":2838,"t":"code","b":[230,170],"m":"inc","oa":170,"o":"speech_data_hi"},{"a":2840,"l":"b_0B18","t":"code","b":[224,32],"m":"cpx","o":"#$20","x":[2836]},{"a":2841,"t":"note","l":"a_0B19","c":"Operand of `cpx #$20` in speech_dec_4bit: the frame's end in the buffer, set at $0AE8.","note":"inside the item at $0B18","x":[2792]},{"a":2842,"t":"code","b":[208,226],"m":"bne","oa":2814,"o":"b_0AFE"},{"a":2844,"t":"code","b":[96],"m":"rts"},{"a":2845,"l":"speech_pitch_step","c":"Steps the pitch once per period: while the count $0CFB runs, adds the step $0CFD to the period length $0CFC and sets the gap $0CF4 to half of it. When the count runs out, reads the next pitch command from ($A7): a new period length, a 4-bit count and a 4-bit index into tbl_speech_pitch ($0B63) for the new step.","t":"code","b":[238,251,12],"m":"inc","oa":3323,"o":"a_0CFB","x":[2376,2477,2483]},{"a":2848,"t":"code","b":[240,15],"m":"beq","oa":2865,"o":"b_0B31"},{"a":2850,"t":"code","b":[173,252,12],"m":"lda","oa":3324,"o":"a_0CFC"},{"a":2853,"t":"code","b":[24],"m":"clc"},{"a":2854,"t":"code","b":[109,253,12],"m":"adc","oa":3325,"o":"a_0CFD"},{"a":2857,"t":"code","b":[141,252,12],"m":"sta","oa":3324,"o":"a_0CFC"},{"a":2860,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2861,"t":"code","b":[141,244,12],"m":"sta","oa":3316,"o":"a_0CF4"},{"a":2864,"t":"code","b":[96],"m":"rts"},{"a":2865,"l":"b_0B31","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[2848]},{"a":2867,"t":"code","b":[177,167],"m":"lda","oa":167,"o":"(speech_pitch_ptr),y"},{"a":2869,"t":"code","b":[170],"m":"tax"},{"a":2870,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":2872,"t":"code","b":[141,252,12],"m":"sta","oa":3324,"o":"a_0CFC"},{"a":2875,"t":"code","b":[138],"m":"txa"},{"a":2876,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2877,"t":"code","b":[230,167],"m":"inc","oa":167,"o":"speech_pitch_ptr"},{"a":2879,"t":"code","b":[177,167],"m":"lda","oa":167,"o":"(speech_pitch_ptr),y"},{"a":2881,"t":"code","b":[106],"m":"ror","o":"a"},{"a":2882,"t":"code","b":[106],"m":"ror","o":"a"},{"a":2883,"t":"code","b":[106],"m":"ror","o":"a"},{"a":2884,"t":"code","b":[106],"m":"ror","o":"a"},{"a":2885,"t":"code","b":[9,224],"m":"ora","o":"#$E0"},{"a":2887,"t":"code","b":[141,251,12],"m":"sta","oa":3323,"o":"a_0CFB"},{"a":2890,"t":"code","b":[177,167],"m":"lda","oa":167,"o":"(speech_pitch_ptr),y"},{"a":2892,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":2894,"t":"code","b":[168],"m":"tay"},{"a":2895,"t":"code","b":[185,99,11],"m":"lda","oa":2915,"o":"tbl_speech_pitch,y"},{"a":2898,"t":"code","b":[141,253,12],"m":"sta","oa":3325,"o":"a_0CFD"},{"a":2901,"t":"code","b":[230,167],"m":"inc","oa":167,"o":"speech_pitch_ptr"},{"a":2903,"t":"code","b":[208,2],"m":"bne","oa":2907,"o":"b_0B5B"},{"a":2905,"t":"code","b":[230,168],"m":"inc","oa":168,"o":"speech_pitch_ptr_hi"},{"a":2907,"l":"b_0B5B","t":"code","b":[173,252,12],"m":"lda","oa":3324,"o":"a_0CFC","x":[2903]},{"a":2910,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2911,"t":"code","b":[141,244,12],"m":"sta","oa":3316,"o":"a_0CF4"},{"a":2914,"t":"code","b":[96],"m":"rts"},{"a":2915,"l":"tbl_speech_pitch","c":"Sixteen signed pitch steps for speech_pitch_step: -12, -10, ... -2, -1, 0, 1, 2, ... 14 (two's complement $F4-$0E).","t":"byte","b":[244,246,248,250,252,254,255,0],"x":[2895]},{"a":2923,"t":"byte","b":[1,2,4,6,8,10,12,14]},{"a":2931,"l":"speech_dec_1bit","c":"1-bit decoder: each bit of sample data gives one of two levels, $0E or $10, so the waveform moves up or down by one step around the middle. Writes the buffer up to the length patched into $0BAB.","t":"code","b":[141,242,12],"m":"sta","oa":3314,"o":"a_0CF2","x":[2444]},{"a":2934,"t":"code","b":[109,248,12],"m":"adc","oa":3320,"o":"a_0CF8"},{"a":2937,"t":"code","b":[141,171,11],"m":"sta","oa":2987,"o":"a_0BAB"},{"a":2940,"t":"code","b":[173,248,12],"m":"lda","oa":3320,"o":"a_0CF8"},{"a":2943,"t":"code","b":[141,243,12],"m":"sta","oa":3315,"o":"a_0CF3"},{"a":2946,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":2948,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":2950,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2951,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2952,"t":"code","b":[168],"m":"tay"},{"a":2953,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":2955,"t":"code","b":[144,2],"m":"bcc","oa":2959,"o":"b_0B8F"},{"a":2957,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":2959,"l":"b_0B8F","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x","x":[2955]},{"a":2962,"t":"code","b":[232],"m":"inx"},{"a":2963,"t":"code","b":[32,196,11],"m":"jsr","oa":3012,"o":"speech_put_bit2"},{"a":2966,"t":"code","b":[76,160,11],"m":"jmp","oa":2976,"o":"j_0BA0"},{"a":2969,"l":"b_0B99","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[2988]},{"a":2971,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":2973,"t":"code","b":[32,175,11],"m":"jsr","oa":2991,"o":"speech_put_bits"},{"a":2976,"l":"j_0BA0","t":"code","b":[152],"m":"tya","x":[2966]},{"a":2977,"t":"code","b":[32,175,11],"m":"jsr","oa":2991,"o":"speech_put_bits"},{"a":2980,"t":"code","b":[230,169],"m":"inc","oa":169,"o":"speech_data"},{"a":2982,"t":"code","b":[208,2],"m":"bne","oa":2986,"o":"b_0BAA"},{"a":2984,"t":"code","b":[230,170],"m":"inc","oa":170,"o":"speech_data_hi"},{"a":2986,"l":"b_0BAA","t":"code","b":[224,128],"m":"cpx","o":"#$80","x":[2982]},{"a":2987,"t":"note","l":"a_0BAB","c":"Operand of `cpx #$80` in speech_dec_1bit: the frame's end in the buffer, set at $0B79.","note":"inside the item at $0BAA","x":[2937]},{"a":2988,"t":"code","b":[208,235],"m":"bne","oa":2969,"o":"b_0B99"},{"a":2990,"t":"code","b":[96],"m":"rts"},{"a":2991,"l":"speech_put_bits","c":"Writes four buffer entries from the low four bits of A, one per bit: $10 for a 1, $0E for a 0.","t":"code","b":[74],"m":"lsr","o":"a","x":[2973,2977]},{"a":2992,"t":"code","b":[168],"m":"tay"},{"a":2993,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":2995,"t":"code","b":[144,2],"m":"bcc","oa":2999,"o":"b_0BB7"},{"a":2997,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":2999,"l":"b_0BB7","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x","x":[2995]},{"a":3002,"t":"code","b":[232],"m":"inx"},{"a":3003,"t":"code","b":[152],"m":"tya"},{"a":3004,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":3005,"t":"code","b":[168],"m":"tay"},{"a":3006,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":3008,"t":"code","b":[144,2],"m":"bcc","oa":3012,"o":"speech_put_bit2"},{"a":3010,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":3012,"l":"speech_put_bit2","c":"Second entry of speech_put_bits: writes the level already in A and the remaining two bits of Y; used by speech_dec_1bit for the first byte of a frame.","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x","x":[2963,3008]},{"a":3015,"t":"code","b":[232],"m":"inx"},{"a":3016,"t":"code","b":[152],"m":"tya"},{"a":3017,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":3018,"t":"code","b":[168],"m":"tay"},{"a":3019,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":3021,"t":"code","b":[144,2],"m":"bcc","oa":3025,"o":"b_0BD1"},{"a":3023,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":3025,"l":"b_0BD1","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x","x":[3021]},{"a":3028,"t":"code","b":[232],"m":"inx"},{"a":3029,"t":"code","b":[152],"m":"tya"},{"a":3030,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":3031,"t":"code","b":[168],"m":"tay"},{"a":3032,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":3034,"t":"code","b":[144,2],"m":"bcc","oa":3038,"o":"b_0BDE"},{"a":3036,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":3038,"l":"b_0BDE","t":"code","b":[157,0,8],"m":"sta","oa":2048,"o":"speech_buffer,x","x":[3034]},{"a":3041,"t":"code","b":[232],"m":"inx"},{"a":3042,"t":"code","b":[96],"m":"rts"},{"a":3043,"l":"j_0BE3","c":"Decoder for encoding 0: sets the window start and length as for a 1-bit frame ($0CF8), then runs the 2-bit loop at $0A75 with the first byte's low two bits forced to 1, so the narrow level table at $0AD9 is used. None of the eight voice lines has a frame in this encoding.","t":"code","b":[141,242,12],"m":"sta","oa":3314,"o":"a_0CF2","x":[2447]},{"a":3046,"t":"code","b":[109,248,12],"m":"adc","oa":3320,"o":"a_0CF8"},{"a":3049,"t":"code","b":[141,213,10],"m":"sta","oa":2773,"o":"a_0AD5"},{"a":3052,"t":"code","b":[173,248,12],"m":"lda","oa":3320,"o":"a_0CF8"},{"a":3055,"t":"code","b":[141,243,12],"m":"sta","oa":3315,"o":"a_0CF3"},{"a":3058,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":3060,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":3062,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":3064,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":3066,"t":"code","b":[76,117,10],"m":"jmp","oa":2677,"o":"j_0A75"},{"a":3069,"l":"speech_smooth","c":"Builds the averaged half of the speech buffer: for each of $0CF3 entries, the mean of $0800,x and $0860,x (with a self-modified base) goes to $0820,x, which softens the step between two frames.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[2373,2480]},{"a":3071,"t":"code","b":[173,242,12],"m":"lda","oa":3314,"o":"a_0CF2"},{"a":3074,"t":"code","b":[141,28,12],"m":"sta","oa":3100,"o":"a_0C1C"},{"a":3077,"t":"code","b":[173,250,12],"m":"lda","oa":3322,"o":"a_0CFA"},{"a":3080,"t":"code","b":[141,24,12],"m":"sta","oa":3096,"o":"a_0C18"},{"a":3083,"t":"code","b":[173,242,12],"m":"lda","oa":3314,"o":"a_0CF2"},{"a":3086,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":3088,"t":"code","b":[73,64],"m":"eor","o":"#$40"},{"a":3090,"t":"code","b":[9,32],"m":"ora","o":"#$20"},{"a":3092,"t":"code","b":[141,32,12],"m":"sta","oa":3104,"o":"a_0C20"},{"a":3095,"l":"b_0C17","t":"code","b":[189,0,8],"m":"lda","oa":2048,"o":"speech_buffer,x","x":[3110]},{"a":3096,"t":"note","l":"a_0C18","c":"Operand low byte of `lda $0800,x` in speech_smooth: the start of the previous window ($0CFA).","note":"inside the item at $0C17","x":[3080]},{"a":3098,"t":"code","b":[56],"m":"sec"},{"a":3099,"t":"code","b":[125,96,8],"m":"adc","oa":2144,"o":"a_0860,x"},{"a":3100,"t":"note","l":"a_0C1C","c":"Operand low byte of `adc $0860,x` in speech_smooth: the start of the current window ($0CF2).","note":"inside the item at $0C1B","x":[3074]},{"a":3102,"t":"code","b":[106],"m":"ror","o":"a"},{"a":3103,"t":"code","b":[157,32,8],"m":"sta","oa":2080,"o":"f_0820,x"},{"a":3104,"t":"note","l":"a_0C20","c":"Operand low byte of `sta $0820,x` in speech_smooth: where the averaged entries go, the other half of the buffer (bit 6 flipped, +$20), kept as the next window start.","note":"inside the item at $0C1F","x":[3092,3112]},{"a":3106,"t":"code","b":[232],"m":"inx"},{"a":3107,"t":"code","b":[236,243,12],"m":"cpx","oa":3315,"o":"a_0CF3"},{"a":3110,"t":"code","b":[208,239],"m":"bne","oa":3095,"o":"b_0C17"},{"a":3112,"t":"code","b":[173,32,12],"m":"lda","oa":3104,"o":"a_0C20"},{"a":3115,"t":"code","b":[141,242,12],"m":"sta","oa":3314,"o":"a_0CF2"},{"a":3118,"t":"code","b":[96],"m":"rts"},{"a":3119,"l":"speech_command","c":"The driver's command handler (called through speech_say at $0880). A = $FF: returns the playing flag (bit 7 of $DD0F's start bit, or $80 when the ROMs are banked in); $FE: stops the timer ($0C60); $FD: stores X/Y as the sample base $0CFE/$0CFF; any other value: looks up the phrase ($0CAB), sets the first gap of 10 periods, installs nmi_speech_up's chain ($0C89), points the NMI vector's high byte at page $08 and starts the timer ($0C71).","t":"code","b":[201,255],"m":"cmp","o":"#$FF","x":[2176]},{"a":3121,"t":"code","b":[240,31],"m":"beq","oa":3154,"o":"b_0C52"},{"a":3123,"t":"code","b":[201,254],"m":"cmp","o":"#$FE"},{"a":3125,"t":"code","b":[240,41],"m":"beq","oa":3168,"o":"speech_stop"},{"a":3127,"t":"code","b":[201,253],"m":"cmp","o":"#$FD"},{"a":3129,"t":"code","b":[240,45],"m":"beq","oa":3176,"o":"b_0C68"},{"a":3131,"t":"code","b":[32,171,12],"m":"jsr","oa":3243,"o":"speech_lookup"},{"a":3134,"t":"code","b":[32,96,12],"m":"jsr","oa":3168,"o":"speech_stop"},{"a":3137,"t":"code","b":[48,28],"m":"bmi","oa":3167,"o":"r_0C5F"},{"a":3139,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":3141,"t":"code","b":[133,172],"m":"sta","oa":172,"o":"speech_levels_hi"},{"a":3143,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":3145,"t":"code","b":[141,251,255],"m":"sta","oa":65531,"o":"$FFFB"},{"a":3148,"t":"code","b":[32,137,12],"m":"jsr","oa":3209,"o":"speech_init_chain"},{"a":3151,"t":"code","b":[32,113,12],"m":"jsr","oa":3185,"o":"speech_start_timer"},{"a":3154,"l":"b_0C52","t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port","x":[3121,3173,3182]},{"a":3156,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":3157,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":3158,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":3160,"t":"code","b":[176,5],"m":"bcs","oa":3167,"o":"r_0C5F"},{"a":3162,"t":"code","b":[173,15,221],"m":"lda","o":"cia2_control_b"},{"a":3165,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":3167,"l":"r_0C5F","t":"code","b":[96],"m":"rts","x":[3137,3160]},{"a":3168,"l":"speech_stop","c":"Stops CIA 2 timer B ($DD0F = $90).","t":"code","b":[169,144],"m":"lda","o":"#$90","x":[3125,3134]},{"a":3170,"t":"code","b":[141,15,221],"m":"sta","o":"cia2_control_b"},{"a":3173,"t":"code","b":[76,82,12],"m":"jmp","oa":3154,"o":"b_0C52"},{"a":3176,"l":"b_0C68","t":"code","b":[142,254,12],"m":"stx","oa":3326,"o":"a_0CFE","x":[3129]},{"a":3179,"t":"code","b":[140,255,12],"m":"sty","oa":3327,"o":"a_0CFF"},{"a":3182,"t":"code","b":[76,82,12],"m":"jmp","oa":3154,"o":"b_0C52"},{"a":3185,"l":"speech_start_timer","c":"Starts CIA 2 timer B in continuous mode with a latch of 100 ($64): an NMI every 101 cycles, 9,755 a second on PAL. Enables the timer NMI ($DD0D = $82) and clears any pending one.","t":"code","b":[169,145],"m":"lda","o":"#$91","x":[3151]},{"a":3187,"t":"code","b":[141,15,221],"m":"sta","o":"cia2_control_b"},{"a":3190,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":3192,"t":"code","b":[141,6,221],"m":"sta","o":"cia2_timer_b_lo"},{"a":3195,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3197,"t":"code","b":[141,7,221],"m":"sta","o":"cia2_timer_b_hi"},{"a":3200,"t":"code","b":[169,130],"m":"lda","o":"#$82"},{"a":3202,"t":"code","b":[141,13,221],"m":"sta","o":"cia2_interrupt"},{"a":3205,"t":"code","b":[173,13,221],"m":"lda","o":"cia2_interrupt"},{"a":3208,"t":"code","b":[96],"m":"rts"},{"a":3209,"l":"speech_init_chain","c":"Resets the driver for a new phrase: the `jmp` at $0910 to its normal tail, the decoder `jsr` to speech_start_gap ($0981), the frame counters to $FE, and the NMI vector's low byte to $C3 (nmi_speech_hold).","t":"code","b":[169,55],"m":"lda","o":"#$37","x":[3148]},{"a":3211,"t":"code","b":[141,17,9],"m":"sta","oa":2321,"o":"a_0911"},{"a":3214,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":3216,"t":"code","b":[141,47,9],"m":"sta","oa":2351,"o":"a_092F"},{"a":3219,"t":"code","b":[32,129,9],"m":"jsr","oa":2433,"o":"speech_start_gap"},{"a":3222,"t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":3224,"t":"code","b":[141,246,12],"m":"sta","oa":3318,"o":"a_0CF6"},{"a":3227,"t":"code","b":[141,247,12],"m":"sta","oa":3319,"o":"a_0CF7"},{"a":3230,"t":"code","b":[141,245,12],"m":"sta","oa":3317,"o":"a_0CF5"},{"a":3233,"t":"code","b":[169,195],"m":"lda","o":"#$C3"},{"a":3235,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"$FFFA"},{"a":3238,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":3240,"t":"code","b":[133,175],"m":"sta","oa":175,"o":"speech_gap_count"},{"a":3242,"t":"code","b":[96],"m":"rts"},{"a":3243,"l":"speech_lookup","c":"Looks up phrase A in the phrase table at the start of the sample data (base $0CFE/$0CFF, which the game sets to $E000): entry 4 \u00d7 A holds two offsets, the phrase's pitch commands (into $A7/$A8) and its frame headers (into $A5/$A6), each relative to the base.","t":"code","b":[42],"m":"rol","o":"a","x":[3131]},{"a":3244,"t":"code","b":[42],"m":"rol","o":"a"},{"a":3245,"t":"code","b":[170],"m":"tax"},{"a":3246,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":3248,"t":"code","b":[24],"m":"clc"},{"a":3249,"t":"code","b":[109,254,12],"m":"adc","oa":3326,"o":"a_0CFE"},{"a":3252,"t":"code","b":[133,169],"m":"sta","oa":169,"o":"speech_data"},{"a":3254,"t":"code","b":[138],"m":"txa"},{"a":3255,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":3257,"t":"code","b":[109,255,12],"m":"adc","oa":3327,"o":"a_0CFF"},{"a":3260,"t":"code","b":[133,170],"m":"sta","oa":170,"o":"speech_data_hi"},{"a":3262,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":3264,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":3266,"t":"code","b":[109,254,12],"m":"adc","oa":3326,"o":"a_0CFE"},{"a":3269,"t":"code","b":[133,167],"m":"sta","oa":167,"o":"speech_pitch_ptr"},{"a":3271,"t":"code","b":[200],"m":"iny"},{"a":3272,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":3274,"t":"code","b":[109,255,12],"m":"adc","oa":3327,"o":"a_0CFF"},{"a":3277,"t":"code","b":[133,168],"m":"sta","oa":168,"o":"speech_pitch_ptr_hi"},{"a":3279,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":3281,"t":"code","b":[141,251,12],"m":"sta","oa":3323,"o":"a_0CFB"},{"a":3284,"t":"code","b":[200],"m":"iny"},{"a":3285,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":3287,"t":"code","b":[24],"m":"clc"},{"a":3288,"t":"code","b":[109,254,12],"m":"adc","oa":3326,"o":"a_0CFE"},{"a":3291,"t":"code","b":[133,165],"m":"sta","oa":165,"o":"speech_frames"},{"a":3293,"t":"code","b":[200],"m":"iny"},{"a":3294,"t":"code","b":[177,169],"m":"lda","oa":169,"o":"(speech_data),y"},{"a":3296,"t":"code","b":[109,255,12],"m":"adc","oa":3327,"o":"a_0CFF"},{"a":3299,"t":"code","b":[133,166],"m":"sta","oa":166,"o":"speech_frames_hi"},{"a":3301,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3303,"t":"code","b":[141,183,9],"m":"sta","oa":2487,"o":"a_09B7"},{"a":3306,"t":"code","b":[96],"m":"rts"},{"a":3307,"l":"str_speech_ptr","c":"Six bytes reading \"PTR\" and three spaces in PETSCII; nothing in the driver reads them (no reference found by opcodes.py --refs). Probably a leftover from the tool that built the driver.","t":"byte","b":[80,84,82,32,32,32]},{"a":3313,"l":"speech_vars","c":"The speech driver's variables: $0CF1 next NMI handler (low byte), $0CF2 buffer window start, $0CF3 phase length, $0CF4 gap length, $0CF5/$0CF6/$0CF7 frame and repeat counters, $0CF8/$0CF9 window length and shift, $0CFA previous window, $0CFB pitch count, $0CFC period length, $0CFD pitch step, $0CFE/$0CFF sample base ($E000).","t":"byte","b":[225],"x":[2290,2429,2435,2541]},{"a":3314,"l":"a_0CF2","c":"speech_vars +1: the buffer window's start index.","t":"byte","b":[32],"x":[2296,2341,2368,2399,2406,2411,2416,2474,2931,3043,3071,3083,3115]},{"a":3315,"l":"a_0CF3","c":"speech_vars +2: the phase length, reloaded into $AD/$AE at each period.","t":"byte","b":[32],"x":[2302,2385,2396,2422,2609,2664,2789,2943,3055,3107]},{"a":3316,"l":"a_0CF4","c":"speech_vars +3: the gap length, reloaded into $AF at each period.","t":"byte","b":[54],"x":[2309,2440,2579,2861,2911]},{"a":3317,"l":"a_0CF5","c":"speech_vars +4: the frame counter, counted up to 0 by speech_next_period; a new frame header is read when it wraps.","t":"byte","b":[0],"x":[2327,2502,3230]},{"a":3318,"l":"a_0CF6","c":"speech_vars +5: the repeat count of the current frame, reloaded into $0CF7.","t":"byte","b":[252],"x":[2335,2513,3224]},{"a":3319,"l":"a_0CF7","c":"speech_vars +6: periods left before the next frame.","t":"byte","b":[253],"x":[2315,2338,3227]},{"a":3320,"l":"a_0CF8","c":"speech_vars +7: the window length (32 or 16 entries).","t":"byte","b":[64],"x":[2419,2565,2934,2940,3046,3052]},{"a":3321,"l":"a_0CF9","c":"speech_vars +8: the window shift per period.","t":"byte","b":[8],"x":[2393,2403,2571]},{"a":3322,"l":"a_0CFA","c":"speech_vars +9: the previous window start, for speech_smooth.","t":"byte","b":[0],"x":[2365,2471,2670,2795,3077]},{"a":3323,"l":"a_0CFB","c":"speech_vars +10: the pitch command's remaining count.","t":"byte","b":[250],"x":[2845,2887,3281]},{"a":3324,"l":"a_0CFC","c":"speech_vars +11: the period length (pitch).","t":"byte","b":[108],"x":[2850,2857,2872,2907]},{"a":3325,"l":"a_0CFD","c":"speech_vars +12: the pitch step added each period.","t":"byte","b":[252],"x":[2854,2898]},{"a":3326,"l":"a_0CFE","c":"speech_vars +13/+14: the sample base, $E000, set by the game through command $FD.","t":"byte","b":[0],"x":[2521,3176,3249,3266,3288]},{"a":3327,"l":"a_0CFF","c":"speech_vars +14: the sample base's high byte.","t":"byte","b":[224],"x":[2534,3179,3257,3274,3296]},{"a":3328,"l":"gfx_panel_edge","c":"Characters of the strip at the left of the shaft view and pocket computer, 15 rows of 6 (drawn by draw_shaft_view at $4241, and its first row restored by scroll_shaft_up at $4011).","t":"byte","b":[40,40,38,39,40,40,40,40],"x":[29364,29777]},{"a":3336,"t":"byte","b":[38,39,40,40,40,40,38,39]},{"a":3344,"t":"byte","b":[40,40,40,40,38,39,40,40]},{"a":3352,"t":"byte","b":[41,42,43,44,45,46,47,40]},{"a":3360,"t":"byte","b":[40,40,40,48,47,40,40,40]},{"a":3368,"t":"byte","b":[40,48,47,40,40,40,40,48]},{"a":3376,"t":"byte","b":[47,40,40,40,40,48,47,40]},{"a":3384,"t":"byte","b":[40,40,40,48,94,72,72,72]},{"a":3392,"t":"byte","b":[72,95,49,50,51,52,53,54]},{"a":3400,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":3408,"t":"byte","b":[40,40,40,40,40,40,40,40]},{"a":3416,"t":"byte","b":[40,40]},{"a":3418,"l":"gfx_panel_edge_colours","c":"Colours of gfx_panel_edge's 90 cells.","t":"byte","b":[8,8,0,0,8,8,0,0],"x":[29369]},{"a":3426,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3434,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3442,"t":"byte","b":[8,11,11,11,11,8,11,3]},{"a":3450,"t":"byte","b":[3,3,3,11,11,3,3,3]},{"a":3458,"t":"byte","b":[3,11,11,3,3,3,3,11]},{"a":3466,"t":"byte","b":[11,3,3,3,3,11,11,3]},{"a":3474,"t":"byte","b":[3,3,3,11,11,1,1,1]},{"a":3482,"t":"byte","b":[1,11,8,8,8,8,8,8]},{"a":3490,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3498,"t":"byte","b":[0,0,0,0,8,8,8,8]},{"a":3506,"t":"byte","b":[8,8]},{"a":3508,"l":"gfx_platform_top","c":"The three glyphs of a lifting platform's top ($49-$4B).","t":"byte","b":[73,74,75],"x":[44121]},{"a":3511,"l":"gfx_platform_cap_low","c":"The lower row of a lifting platform's cap ($4C-$4E).","t":"byte","b":[76,77,78],"x":[44155]},{"a":3514,"l":"gfx_platform_cap_high","c":"The upper row of a lifting platform's cap ($4F-$51).","t":"byte","b":[79,80,81],"x":[44138]},{"a":3517,"l":"tbl_shaft_phase","c":"For the three phases of the shaft animation ($1B): non-zero where a new rock row carries the corridor colour (read by the shaft row drawers at $7709/$782E).","t":"byte","b":[32,36,37],"x":[30473,30766]},{"a":3520,"l":"gfx_corridor_mark_low","c":"Eight characters drawn at $4010 when a corridor opening comes into view at the bottom of the shaft ($7857).","t":"byte","b":[62,63,64,65,66,67,68,62],"x":[30809]},{"a":3528,"l":"gfx_corridor_mark_high","c":"Eight characters drawn at $4240 when a corridor opening comes into view at the top of the shaft ($773D).","t":"byte","b":[55,56,57,58,59,60,61,55],"x":[30525]},{"a":3536,"l":"tbl_side_cap","c":"For the two sides of the shaft (X = 0 right, 1 left): the column of the corridor's end cell.","t":"byte","b":[23,16],"x":[30345,30379,30634,30669]},{"a":3538,"l":"tbl_side_end","c":"For the two sides: the last column of a 16-cell corridor row (index into the row tables and the screen).","t":"byte","b":[39,15],"x":[30208,30259,30539,30561]},{"a":3540,"l":"tbl_side_end17","c":"For the two sides: the last column of a 17-cell row.","t":"byte","b":[39,16],"x":[30239,30297,30586]},{"a":3542,"l":"tbl_side_mask","c":"For the two sides: a mask tested against the map cell to see whether a corridor opens on that side.","t":"byte","b":[7,224],"x":[30399,30691]},{"a":3544,"l":"gfx_corridor_ceiling","c":"A 40-cell row of corridor ceiling glyphs, of which each side takes its 16 cells.","t":"byte","b":[40,40,78,40,40,40,78,40],"x":[30328,30617]},{"a":3552,"t":"byte","b":[40,40,78,40,40,40,78,40]},{"a":3560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3568,"t":"byte","b":[40,73,40,40,40,73,40,40]},{"a":3576,"t":"byte","b":[40,73,40,40,40,73,40,40]},{"a":3584,"l":"gfx_corridor_wall","c":"A 40-cell row of the corridor's end wall.","t":"byte","b":[69,70,70,70,71,69,70,70],"x":[30415,30650]},{"a":3592,"t":"byte","b":[70,71,69,70,70,70,71,69]},{"a":3600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":3608,"t":"byte","b":[71,69,70,70,70,71,69,70]},{"a":3616,"t":"byte","b":[70,70,71,69,70,70,70,71]},{"a":3624,"l":"gfx_corridor_floor","c":"A 40-cell row of corridor floor glyphs.","t":"byte","b":[72,72,82,72,72,72,81,72],"x":[30302,30591]},{"a":3632,"t":"byte","b":[72,72,80,72,72,72,79,72]},{"a":3640,"t":"byte","b":[72,0,0,0,0,0,0,72]},{"a":3648,"t":"byte","b":[72,74,72,72,72,75,72,72]},{"a":3656,"t":"byte","b":[72,76,72,72,72,77,72,72]},{"a":3664,"l":"tbl_colour_rows_lo","c":"Low bytes of the colour RAM addresses of the shaft view's 14 rows ($D828, $D850 ... $DA30, with tbl_colour_rows_hi).","t":"byte","b":[40,80,120,160,200,240,24,64],"x":[30200,30233]},{"a":3672,"t":"byte","b":[104,144,184,224,8,48]},{"a":3678,"l":"tbl_colour_rows_hi","c":"High bytes of the shaft view's colour row addresses.","t":"byte","b":[216,216,216,216,216,216,217,217],"x":[30194,30227]},{"a":3686,"t":"byte","b":[217,217,217,217,218,218]},{"a":3692,"l":"tbl_robot_xbit","c":"The ninth-X-bit masks of the four robot sprites 4-7: $10, $20, $40, $80.","t":"byte","b":[16,32,64,128],"x":[36726,36851,36979,37318,38304,42731]},{"a":3696,"l":"tbl_room_ptrs","c":"Addresses of the 32 room records, room $00 first; read by draw_room, the death sequence and corridor_colour.","t":"word","b":[186,21,141,25,66,18,59,22],"d":[5562,6541,4674,5691],"x":[30959,38534,41940]},{"a":3697,"t":"note","l":"f_0E71","c":"High bytes of tbl_room_ptrs, read with `lda $0E71,x`.","note":"inside the item at $0E70","x":[30965,38539,41945]},{"a":3704,"t":"word","b":[105,27,94,20,162,16,5,17],"d":[7017,5214,4258,4357]},{"a":3712,"t":"word","b":[17,27,12,26,14,25,56,21],"d":[6929,6668,6414,5432]},{"a":3720,"t":"word","b":[244,23,211,17,92,17,24,19],"d":[6132,4563,4444,4888]},{"a":3728,"t":"word","b":[127,26,38,28,48,23,124,19],"d":[6783,7206,5936,4988]},{"a":3736,"t":"word","b":[158,23,247,19,122,15,176,14],"d":[6046,5111,3962,3760]},{"a":3744,"t":"word","b":[194,27,218,20,57,16,197,28],"d":[7106,5338,4153,7365]},{"a":3752,"t":"word","b":[146,24,204,22,170,18,17,15],"d":[6290,5836,4778,3857]},{"a":3760,"l":"room_17","c":"Room $17's record (pointer at $0E70 + 46), 97 bytes: background cyan, multicolours white and light red, floors grey; 4 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 2 lifting platforms and 9 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,1,10,12,244,193,31,228]},{"a":3768,"t":"byte","b":[194,31,212,195,31,196,196,31]},{"a":3776,"t":"byte","b":[255,248,195,70,255,14,0,202]},{"a":3784,"t":"byte","b":[0,0,0,27,12,9,199,18]},{"a":3792,"t":"byte","b":[5,145,24,11,118,6,9,255]},{"a":3800,"t":"byte","b":[255,1,6,10,2,254,24,1]},{"a":3808,"t":"byte","b":[1,0,6,6,255,24,36,2]},{"a":3816,"t":"byte","b":[0,6,255,255,3,17,8,252]},{"a":3824,"t":"byte","b":[3,25,9,33,9,30,1,255]},{"a":3832,"t":"byte","b":[8,5,3,255,14,14,0,255]},{"a":3840,"t":"byte","b":[14,17,0,255,20,19,7,255]},{"a":3848,"t":"byte","b":[9,10,2,255,21,5,2,255]},{"a":3856,"t":"byte","b":[255]},{"a":3857,"l":"room_1f","c":"Room $1F's record (pointer at $0E70 + 62), 105 bytes: background green, multicolours white and light blue, floors light grey; 7 floor segments, 1 gap, the agent's two entry points, 1 robot, a ball (script $1E), sprite and robot colours, 3 lifting platforms and 8 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,1,14,15,244,193,14,228]},{"a":3865,"t":"byte","b":[194,14,212,195,14,126,194,13]},{"a":3873,"t":"byte","b":[110,195,13,196,196,14,214,196]},{"a":3881,"t":"byte","b":[16,255,31,196,69,255,0,68]},{"a":3889,"t":"byte","b":[0,202,14,14,199,12,10,255]},{"a":3897,"t":"byte","b":[30,40,223,7,0,1,11,31]},{"a":3905,"t":"byte","b":[12,1,1,2,6,6,255,15]},{"a":3913,"t":"byte","b":[36,0,0,6,255,24,19,1]},{"a":3921,"t":"byte","b":[0,3,3,3,3,3,255,255]},{"a":3929,"t":"byte","b":[9,10,2,255,5,23,0,5]},{"a":3937,"t":"byte","b":[5,26,0,22,5,29,0,252]},{"a":3945,"t":"byte","b":[12,23,8,255,12,31,6,255]},{"a":3953,"t":"byte","b":[6,32,9,3,21,32,2,255]},{"a":3961,"t":"byte","b":[255]},{"a":3962,"l":"room_16","c":"Room $16's record (pointer at $0E70 + 44), 191 bytes: background cyan, multicolours light green and green, floors brown; 27 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 5 lifting platforms and 10 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,13,5,9,241,193,2,247]},{"a":3970,"t":"byte","b":[193,2,253,193,2,3,194,2]},{"a":3978,"t":"byte","b":[9,194,2,15,194,2,140,194]},{"a":3986,"t":"byte","b":[2,225,194,2,231,194,2,237]},{"a":3994,"t":"byte","b":[194,2,243,194,2,249,194,2]},{"a":4002,"t":"byte","b":[254,194,3,124,195,2,209,195]},{"a":4010,"t":"byte","b":[2,215,195,2,221,195,2,227]},{"a":4018,"t":"byte","b":[195,2,233,195,2,239,195,2]},{"a":4026,"t":"byte","b":[108,196,2,193,196,2,199,196]},{"a":4034,"t":"byte","b":[2,205,196,2,211,196,2,217]},{"a":4042,"t":"byte","b":[196,2,223,196,2,255,40,193]},{"a":4050,"t":"byte","b":[69,255,24,60,58,58,0,14]},{"a":4058,"t":"byte","b":[242,12,8,242,18,20,159,24]},{"a":4066,"t":"byte","b":[8,4,24,20,255,255,7,8]},{"a":4074,"t":"byte","b":[6,14,254,12,4,1,2,6]},{"a":4082,"t":"byte","b":[6,255,18,10,1,1,6,6]},{"a":4090,"t":"byte","b":[255,24,16,1,0,6]},{"a":4096,"l":"room_16_2","c":"Room $16's record continued past $1000 (it starts at $0F7A): the end of its object list.","t":"byte","b":[6,255,12,22,1,2,6,6]},{"a":4104,"t":"byte","b":[255,18,28,2,1,6,255,255]},{"a":4112,"t":"byte","b":[3,7,2,255,9,2,1,255]},{"a":4120,"t":"byte","b":[9,13,1,253,9,25,1,14]},{"a":4128,"t":"byte","b":[15,2,1,19,15,13,1,255]},{"a":4136,"t":"byte","b":[15,25,1,253,21,2,1,255]},{"a":4144,"t":"byte","b":[21,13,1,24,21,25,1,255]},{"a":4152,"t":"byte","b":[255]},{"a":4153,"l":"room_1a","c":"Room $1A's record (pointer at $0E70 + 52), 105 bytes: background green, multicolours white and light blue, floors dark grey; 15 floor segments, 1 gap, the agent's two entry points, 2 robots, a ball (script $24), sprite and robot colours, 1 lifting platform and 5 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,1,14,11,244,193,2,19]},{"a":4161,"t":"byte","b":[194,3,113,194,5,129,194,5]},{"a":4169,"t":"byte","b":[228,194,2,241,194,5,1,195]},{"a":4177,"t":"byte","b":[5,97,195,5,113,195,5,212]},{"a":4185,"t":"byte","b":[195,2,225,195,5,81,196,5]},{"a":4193,"t":"byte","b":[97,196,13,196,196,2,207,196]},{"a":4201,"t":"byte","b":[7,255,79,193,70,255,24,60]},{"a":4209,"t":"byte","b":[58,58,0,14,4,21,28,29]},{"a":4217,"t":"byte","b":[24,19,255,36,140,129,7,8]},{"a":4225,"t":"byte","b":[6,3,63,6,1,0,3,6]},{"a":4233,"t":"byte","b":[6,6,255,255,3,35,2,255]},{"a":4241,"t":"byte","b":[17,29,0,255,17,32,0,255]},{"a":4249,"t":"byte","b":[17,35,0,2,21,4,6,255]},{"a":4257,"t":"byte","b":[255]},{"a":4258,"l":"room_06","c":"Room $06's record (pointer at $0E70 + 12), 99 bytes: background yellow, multicolours grey and red, floors orange; 10 floor segments, 2 gaps, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 3 lifting platforms and 3 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,12,2,8,193,196,17,214]},{"a":4266,"t":"byte","b":[196,16,226,195,0,230,195,0]},{"a":4274,"t":"byte","b":[212,195,8,236,195,7,239,194]},{"a":4282,"t":"byte","b":[9,231,194,3,253,194,3,244]},{"a":4290,"t":"byte","b":[193,31,255,248,195,69,31,196]},{"a":4298,"t":"byte","b":[69,255,24,60,202,202,0,14]},{"a":4306,"t":"byte","b":[145,6,11,210,12,22,48,18]},{"a":4314,"t":"byte","b":[5,240,18,29,255,255,10,9]},{"a":4322,"t":"byte","b":[1,2,254,24,19,0,0,6]},{"a":4330,"t":"byte","b":[255,18,1,1,0,6,255,18]},{"a":4338,"t":"byte","b":[36,1,0,6,255,255,2,15]},{"a":4346,"t":"byte","b":[10,255,21,25,2,255,2,25]},{"a":4354,"t":"byte","b":[11,255,255]},{"a":4357,"l":"room_07","c":"Room $07's record (pointer at $0E70 + 14), 87 bytes: background yellow, multicolours white and light blue, floors dark grey; 17 floor segments, 2 gaps, the agent's two entry points, 1 robot, a ball (script $1E), sprite and robot colours, 0 lifting platforms and 1 object (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,1,14,11,241,193,3,3]},{"a":4365,"t":"byte","b":[194,3,15,194,7,114,194,5]},{"a":4373,"t":"byte","b":[131,194,2,225,194,4,243,194]},{"a":4381,"t":"byte","b":[3,4,195,2,99,195,3,115]},{"a":4389,"t":"byte","b":[195,2,209,195,5,227,195,3]},{"a":4397,"t":"byte","b":[84,196,2,65,196,2,193,196]},{"a":4405,"t":"byte","b":[6,211,196,3,222,196,2,255]},{"a":4413,"t":"byte","b":[40,193,69,79,193,69,255,24]},{"a":4421,"t":"byte","b":[60,58,58,0,14,177,24,3]},{"a":4429,"t":"byte","b":[255,30,235,225,12,0,2,7]},{"a":4437,"t":"byte","b":[31,255,3,2,2,255,255]},{"a":4444,"l":"room_0e","c":"Room $0E's record (pointer at $0E70 + 28), 119 bytes: background cyan, multicolours white and orange, floors light grey; 12 floor segments, 2 gaps, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 2 lifting platforms and 7 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,1,8,15,241,193,14,3]},{"a":4452,"t":"byte","b":[194,0,7,194,15,243,194,0]},{"a":4460,"t":"byte","b":[247,194,15,13,195,4,197,195]},{"a":4468,"t":"byte","b":[4,209,195,14,227,195,0,193]},{"a":4476,"t":"byte","b":[196,14,211,196,0,215,196,15]},{"a":4484,"t":"byte","b":[255,40,193,69,31,196,69,255]},{"a":4492,"t":"byte","b":[24,60,58,202,0,14,242,6]},{"a":4500,"t":"byte","b":[25,143,12,30,145,18,6,145]},{"a":4508,"t":"byte","b":[24,5,255,255,14,1,5,13]},{"a":4516,"t":"byte","b":[254,6,16,0,3,6,6,6]},{"a":4524,"t":"byte","b":[255,24,20,0,0,6,6,6]},{"a":4532,"t":"byte","b":[255,255,21,35,2,255,2,30]},{"a":4540,"t":"byte","b":[0,15,8,30,0,255,13,30]},{"a":4548,"t":"byte","b":[0,255,9,6,0,255,14,6]},{"a":4556,"t":"byte","b":[0,255,3,2,2,255,255]},{"a":4563,"l":"room_0d","c":"Room $0D's record (pointer at $0E70 + 26), 111 bytes: background green, multicolours light grey and light blue, floors light blue; 10 floor segments, 2 gaps, the agent's two entry points, 3 robots, no ball, sprite and robot colours, 3 lifting platforms and 6 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,15,14,14,247,193,8,12]},{"a":4571,"t":"byte","b":[194,4,20,194,2,243,194,13]},{"a":4579,"t":"byte","b":[4,195,2,215,195,8,236,195]},{"a":4587,"t":"byte","b":[4,193,196,2,199,196,25,228]},{"a":4595,"t":"byte","b":[196,2,255,79,193,69,248,195]},{"a":4603,"t":"byte","b":[69,255,24,60,202,58,0,14]},{"a":4611,"t":"byte","b":[121,6,15,80,12,29,167,18]},{"a":4619,"t":"byte","b":[29,255,255,8,7,2,4,254]},{"a":4627,"t":"byte","b":[24,4,0,0,6,12,255,6]},{"a":4635,"t":"byte","b":[16,0,1,12,255,24,33,0]},{"a":4643,"t":"byte","b":[0,6,6,6,255,255,4,8]},{"a":4651,"t":"byte","b":[19,255,3,13,18,31,10,19]},{"a":4659,"t":"byte","b":[17,255,9,25,16,253,10,37]},{"a":4667,"t":"byte","b":[19,6,21,8,2,255,255]},{"a":4674,"l":"room_02","c":"Room $02's record (pointer at $0E70 + 4), 104 bytes: background green, multicolours white and light blue, floors dark grey; 9 floor segments, 2 gaps, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 3 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,1,14,11,241,193,3,13]},{"a":4682,"t":"byte","b":[194,9,112,194,17,253,194,9]},{"a":4690,"t":"byte","b":[105,195,8,212,195,9,237,195]},{"a":4698,"t":"byte","b":[9,196,196,21,221,196,9,255]},{"a":4706,"t":"byte","b":[248,195,70,31,196,69,255,14]},{"a":4714,"t":"byte","b":[60,202,202,0,14,25,12,30]},{"a":4722,"t":"byte","b":[242,15,18,113,18,5,199,9]},{"a":4730,"t":"byte","b":[9,255,255,0,3,7,1,254]},{"a":4738,"t":"byte","b":[24,1,0,0,6,255,18,14]},{"a":4746,"t":"byte","b":[0,0,3,255,15,26,0,2]},{"a":4754,"t":"byte","b":[6,3,3,3,3,255,255,3]},{"a":4762,"t":"byte","b":[2,6,255,2,30,0,32,5]},{"a":4770,"t":"byte","b":[15,3,255,21,5,2,255,255]},{"a":4778,"l":"room_1e","c":"Room $1E's record (pointer at $0E70 + 60), 110 bytes: background cyan, multicolours light blue and grey, floors orange; 12 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 3 lifting platforms and 5 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,14,12,8,241,193,16,5]},{"a":4786,"t":"byte","b":[194,17,225,194,7,236,194,5]},{"a":4794,"t":"byte","b":[245,194,7,0,195,6,209,195]},{"a":4802,"t":"byte","b":[7,220,195,16,240,195,6,193]},{"a":4810,"t":"byte","b":[196,7,204,196,16,224,196,6]},{"a":4818,"t":"byte","b":[255,79,193,69,255,24,60,58]},{"a":4826,"t":"byte","b":[58,0,14,48,12,2,242,12]},{"a":4834,"t":"byte","b":[33,124,18,19,240,24,15,255]},{"a":4842,"t":"byte","b":[255,6,1,7,14,254,6,18]},{"a":4850,"t":"byte","b":[0,1,6,255,18,9,1,1]},{"a":4858,"t":"byte","b":[6,255,18,29,1,1,6,255]},{"a":4866,"t":"byte","b":[255,3,1,2,255,20,1,12]},{"a":4874,"t":"byte","b":[255,20,17,13,255,23,21,14]},{"a":4882,"t":"byte","b":[29,22,36,15,252,255]},{"a":4888,"l":"room_0f","c":"Room $0F's record (pointer at $0E70 + 30), 100 bytes: background yellow, multicolours white and orange, floors red; 10 floor segments, 2 gaps, the agent's two entry points, 1 robot, no ball, sprite and robot colours, 4 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,1,8,2,2,194,17,225]},{"a":4896,"t":"byte","b":[194,5,242,194,2,1,195,2]},{"a":4904,"t":"byte","b":[209,195,2,215,195,7,193,196]},{"a":4912,"t":"byte","b":[2,225,196,5,210,196,2,226]},{"a":4920,"t":"byte","b":[195,2,255,79,193,70,248,195]},{"a":4928,"t":"byte","b":[69,255,24,74,202,58,0,14]},{"a":4936,"t":"byte","b":[181,12,19,255,255,10,1,0]},{"a":4944,"t":"byte","b":[7,30,24,4,0,0,6,255]},{"a":4952,"t":"byte","b":[18,15,2,1,6,255,24,21]},{"a":4960,"t":"byte","b":[1,0,6,255,12,36,0,0]},{"a":4968,"t":"byte","b":[6,255,255,21,1,2,255,3]},{"a":4976,"t":"byte","b":[32,2,255,9,2,6,30,21]},{"a":4984,"t":"byte","b":[34,6,11,255]},{"a":4988,"l":"room_13","c":"Room $13's record (pointer at $0E70 + 38), 123 bytes: background cyan, multicolours white and orange, floors light red; 13 floor segments, 1 gap, the agent's two entry points, 3 robots, no ball, sprite and robot colours, 5 lifting platforms and 5 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,1,8,10,164,193,3,254]},{"a":4996,"t":"byte","b":[193,2,13,194,9,115,194,2]},{"a":5004,"t":"byte","b":[130,194,2,232,194,2,247,194]},{"a":5012,"t":"byte","b":[2,253,194,6,52,195,3,231]},{"a":5020,"t":"byte","b":[195,12,193,196,1,198,196,10]},{"a":5028,"t":"byte","b":[215,196,12,255,248,195,70,255]},{"a":5036,"t":"byte","b":[24,60,202,58,0,14,0,6]},{"a":5044,"t":"byte","b":[34,25,18,27,177,24,32,255]},{"a":5052,"t":"byte","b":[255,1,4,7,8,126,14,1]},{"a":5060,"t":"byte","b":[0,0,10,255,24,17,1,0]},{"a":5068,"t":"byte","b":[6,6,255,24,20,1,0,6]},{"a":5076,"t":"byte","b":[255,18,36,1,1,6,255,24]},{"a":5084,"t":"byte","b":[3,0,0,5,255,255,21,7]},{"a":5092,"t":"byte","b":[2,255,1,5,1,255,2,36]},{"a":5100,"t":"byte","b":[0,255,8,30,3,255,21,26]},{"a":5108,"t":"byte","b":[8,255,255]},{"a":5111,"l":"room_15","c":"Room $15's record (pointer at $0E70 + 42), 103 bytes: background cyan, multicolours white and light blue, floors grey; 12 floor segments, 1 gap, the agent's two entry points, 3 robots, no ball, sprite and robot colours, 3 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,1,14,12,244,193,2,249]},{"a":5119,"t":"byte","b":[193,1,253,193,1,1,194,1]},{"a":5127,"t":"byte","b":[5,194,1,9,194,1,13,194]},{"a":5135,"t":"byte","b":[9,228,194,31,212,195,9,227]},{"a":5143,"t":"byte","b":[195,2,235,195,8,196,196,34]},{"a":5151,"t":"byte","b":[255,248,195,70,255,14,60,202]},{"a":5159,"t":"byte","b":[202,0,14,191,12,6,147,18]},{"a":5167,"t":"byte","b":[7,238,18,29,255,255,1,10]},{"a":5175,"t":"byte","b":[6,3,254,12,1,0,0,6]},{"a":5183,"t":"byte","b":[255,18,36,0,0,6,255,24]},{"a":5191,"t":"byte","b":[1,0,0,6,255,255,21,6]},{"a":5199,"t":"byte","b":[2,255,2,32,11,255,9,12]},{"a":5207,"t":"byte","b":[8,255,7,25,20,255,255]},{"a":5214,"l":"room_05","c":"Room $05's record (pointer at $0E70 + 10), 124 bytes: background cyan, multicolours white and brown, floors light grey; 16 floor segments, 2 gaps, the agent's two entry points, 2 robots, no ball, sprite and robot colours, 4 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items). This room holds Elvin's control (furniture $15, contents $FE): searching it with the whole password wins the game.","t":"byte","b":[3,1,9,15,241,193,3,248]},{"a":5222,"t":"byte","b":[193,25,21,194,1,232,194,8]},{"a":5230,"t":"byte","b":[254,194,3,5,195,1,114,195]},{"a":5238,"t":"byte","b":[3,209,195,0,216,195,8,238]},{"a":5246,"t":"byte","b":[195,3,245,195,1,98,196,3]},{"a":5254,"t":"byte","b":[193,196,0,197,196,11,222,196]},{"a":5262,"t":"byte","b":[3,229,196,1,255,40,193,69]},{"a":5270,"t":"byte","b":[79,193,69,255,24,60,58,58]},{"a":5278,"t":"byte","b":[0,14,181,12,16,6,18,16]},{"a":5286,"t":"byte","b":[255,255,6,14,10,9,62,6]},{"a":5294,"t":"byte","b":[5,0,2,6,6,255,18,2]},{"a":5302,"t":"byte","b":[0,1,6,255,6,34,0,3]},{"a":5310,"t":"byte","b":[6,6,6,255,15,23,0,1]},{"a":5318,"t":"byte","b":[6,255,255,10,8,4,255,15]},{"a":5326,"t":"byte","b":[10,5,253,19,9,21,254,3]},{"a":5334,"t":"byte","b":[11,2,255,255]},{"a":5338,"l":"room_19","c":"Room $19's record (pointer at $0E70 + 50), 94 bytes: background yellow, multicolours white and grey, floors dark grey; 8 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 3 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,1,12,11,244,193,13,5]},{"a":5346,"t":"byte","b":[194,14,228,194,13,245,194,14]},{"a":5354,"t":"byte","b":[212,195,13,229,195,14,196,196]},{"a":5362,"t":"byte","b":[13,213,196,14,255,31,196,69]},{"a":5370,"t":"byte","b":[255,0,40,0,202,14,14,147]},{"a":5378,"t":"byte","b":[6,16,27,12,10,147,18,25]},{"a":5386,"t":"byte","b":[15,24,15,255,255,8,0,2]},{"a":5394,"t":"byte","b":[1,254,24,1,2,0,6,255]},{"a":5402,"t":"byte","b":[24,18,2,0,6,255,24,36]},{"a":5410,"t":"byte","b":[2,0,6,255,255,3,6,22]},{"a":5418,"t":"byte","b":[255,2,13,23,255,21,32,2]},{"a":5426,"t":"byte","b":[255,2,24,7,255,255]},{"a":5432,"l":"room_0b","c":"Room $0B's record (pointer at $0E70 + 22), 130 bytes: background green, multicolours light grey and brown, floors light grey; 13 floor segments, 2 gaps, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 4 lifting platforms and 7 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,15,9,15,241,193,19,8]},{"a":5440,"t":"byte","b":[194,6,18,194,4,228,194,6]},{"a":5448,"t":"byte","b":[238,194,6,248,194,6,2,195]},{"a":5456,"t":"byte","b":[4,212,195,6,222,195,6,232]},{"a":5464,"t":"byte","b":[195,6,242,195,4,196,196,6]},{"a":5472,"t":"byte","b":[206,196,24,255,79,193,69,248]},{"a":5480,"t":"byte","b":[195,69,255,14,60,202,58,0]},{"a":5488,"t":"byte","b":[14,124,6,8,48,12,28,27]},{"a":5496,"t":"byte","b":[18,17,80,24,26,255,255,1]},{"a":5504,"t":"byte","b":[14,14,4,254,24,1,1,0]},{"a":5512,"t":"byte","b":[6,255,24,11,1,0,6,255]},{"a":5520,"t":"byte","b":[18,21,1,0,6,255,18,31]},{"a":5528,"t":"byte","b":[1,0,6,255,255,13,6,20]},{"a":5536,"t":"byte","b":[255,7,35,20,253,21,30,8]},{"a":5544,"t":"byte","b":[255,4,2,19,253,3,9,18]},{"a":5552,"t":"byte","b":[255,4,17,19,255,21,5,2]},{"a":5560,"t":"byte","b":[255,255]},{"a":5562,"l":"room_00","c":"Room $00's record (pointer at $0E70 + 0), 129 bytes: background yellow, multicolours white and light red, floors light red; 18 floor segments, 2 gaps, the agent's two entry points, 3 robots, no ball, sprite and robot colours, 1 lifting platform and 8 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,1,10,10,144,193,2,201]},{"a":5570,"t":"byte","b":[193,4,253,193,2,14,194,8]},{"a":5578,"t":"byte","b":[114,194,2,124,194,2,231,194]},{"a":5586,"t":"byte","b":[2,250,194,12,92,195,2,104]},{"a":5594,"t":"byte","b":[195,2,209,195,2,230,195,16]},{"a":5602,"t":"byte","b":[193,196,2,199,196,2,205,196]},{"a":5610,"t":"byte","b":[2,217,196,2,223,196,2,229]},{"a":5618,"t":"byte","b":[196,2,255,248,195,69,31,196]},{"a":5626,"t":"byte","b":[70,255,24,60,202,202,0,14]},{"a":5634,"t":"byte","b":[167,6,32,3,12,31,238,18]},{"a":5642,"t":"byte","b":[30,255,255,2,10,4,1,126]},{"a":5650,"t":"byte","b":[24,19,0,0,6,3,255,255]},{"a":5658,"t":"byte","b":[1,2,7,255,2,31,3,253]},{"a":5666,"t":"byte","b":[8,28,0,10,8,31,0,255]},{"a":5674,"t":"byte","b":[9,34,1,255,15,25,8,255]},{"a":5682,"t":"byte","b":[15,32,9,253,21,13,2,255]},{"a":5690,"t":"byte","b":[255]},{"a":5691,"l":"room_03","c":"Room $03's record (pointer at $0E70 + 6), 145 bytes: background yellow, multicolours white and light blue, floors light blue; 16 floor segments, 2 gaps, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 5 lifting platforms and 7 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,1,14,14,241,193,18,7]},{"a":5699,"t":"byte","b":[194,7,18,194,4,225,194,18]},{"a":5707,"t":"byte","b":[247,194,7,2,195,4,209,195]},{"a":5715,"t":"byte","b":[3,216,195,1,221,195,1,226]},{"a":5723,"t":"byte","b":[195,1,231,195,7,242,195,4]},{"a":5731,"t":"byte","b":[193,196,3,200,196,1,205,196]},{"a":5739,"t":"byte","b":[1,210,196,20,255,40,193,69]},{"a":5747,"t":"byte","b":[79,193,69,255,24,60,58,58]},{"a":5755,"t":"byte","b":[0,14,48,12,27,238,18,9]},{"a":5763,"t":"byte","b":[15,18,27,121,24,9,255,255]},{"a":5771,"t":"byte","b":[5,3,13,10,254,12,20,1]},{"a":5779,"t":"byte","b":[1,6,255,12,31,1,1,6]},{"a":5787,"t":"byte","b":[255,18,5,0,1,6,255,18]},{"a":5795,"t":"byte","b":[10,0,1,6,255,18,15,0]},{"a":5803,"t":"byte","b":[1,6,255,255,9,5,8,255]},{"a":5811,"t":"byte","b":[9,13,6,27,14,35,0,252]},{"a":5819,"t":"byte","b":[21,2,1,255,20,26,3,20]},{"a":5827,"t":"byte","b":[3,25,2,255,21,22,2,255]},{"a":5835,"t":"byte","b":[255]},{"a":5836,"l":"room_1d","c":"Room $1D's record (pointer at $0E70 + 58), 100 bytes: background cyan, multicolours light grey and brown, floors brown; 11 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 1 lifting platform and 6 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,15,9,9,189,193,9,201]},{"a":5844,"t":"byte","b":[193,11,39,194,9,131,194,11]},{"a":5852,"t":"byte","b":[148,194,8,239,194,9,92,195]},{"a":5860,"t":"byte","b":[8,115,195,11,223,195,9,76]},{"a":5868,"t":"byte","b":[196,8,206,196,24,255,31,196]},{"a":5876,"t":"byte","b":[69,255,0,68,0,202,14,14]},{"a":5884,"t":"byte","b":[242,5,9,6,18,17,15,12]},{"a":5892,"t":"byte","b":[20,118,15,34,255,255,0,8]},{"a":5900,"t":"byte","b":[7,1,254,21,1,0,0,6]},{"a":5908,"t":"byte","b":[5,255,255,0,3,20,255,4]},{"a":5916,"t":"byte","b":[19,5,255,7,30,4,25,6]},{"a":5924,"t":"byte","b":[36,16,34,10,29,20,252,21]},{"a":5932,"t":"byte","b":[32,2,255,255]},{"a":5936,"l":"room_12","c":"Room $12's record (pointer at $0E70 + 36), 110 bytes: background green, multicolours grey and red, floors light grey; 10 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 4 lifting platforms and 5 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,12,2,15,241,193,34,225]},{"a":5944,"t":"byte","b":[194,6,235,194,7,246,194,6]},{"a":5952,"t":"byte","b":[0,195,3,219,195,7,230,195]},{"a":5960,"t":"byte","b":[6,240,195,6,73,196,3,196]},{"a":5968,"t":"byte","b":[196,34,255,40,193,69,255,24]},{"a":5976,"t":"byte","b":[60,58,58,0,14,177,6,34]},{"a":5984,"t":"byte","b":[27,12,25,113,18,15,48,24]},{"a":5992,"t":"byte","b":[20,255,255,3,10,0,1,254]},{"a":6000,"t":"byte","b":[6,36,0,1,6,255,12,8]},{"a":6008,"t":"byte","b":[0,1,6,255,12,19,0,1]},{"a":6016,"t":"byte","b":[6,255,12,29,0,1,6,255]},{"a":6024,"t":"byte","b":[255,3,3,2,255,22,11,17]},{"a":6032,"t":"byte","b":[17,20,18,10,13,20,28,11]},{"a":6040,"t":"byte","b":[255,21,7,2,255,255]},{"a":6046,"l":"room_14","c":"Room $14's record (pointer at $0E70 + 40), 86 bytes: background yellow, multicolours orange and light red, floors red; 8 floor segments, 1 gap, the agent's two entry points, 0 robots, a ball (script $1E), sprite and robot colours, 1 lifting platform and 7 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,8,10,2,241,193,16,5]},{"a":6054,"t":"byte","b":[194,17,225,194,16,245,194,17]},{"a":6062,"t":"byte","b":[209,195,16,229,195,17,193,196]},{"a":6070,"t":"byte","b":[16,213,196,17,255,40,193,69]},{"a":6078,"t":"byte","b":[255,24,60,58,58,0,14,255]},{"a":6086,"t":"byte","b":[30,120,3,9,1,2,7,15]},{"a":6094,"t":"byte","b":[6,18,0,3,6,6,6,255]},{"a":6102,"t":"byte","b":[255,15,4,5,253,14,31,13]},{"a":6110,"t":"byte","b":[4,17,30,14,16,20,1,12]},{"a":6118,"t":"byte","b":[26,23,35,14,255,22,36,15]},{"a":6126,"t":"byte","b":[255,3,3,2,255,255]},{"a":6132,"l":"room_0c","c":"Room $0C's record (pointer at $0E70 + 24), 158 bytes: background green, multicolours yellow and grey, floors brown; 24 floor segments, 2 gaps, the agent's two entry points, 2 robots, a ball (script $1E), sprite and robot colours, 5 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,7,12,9,241,193,2,247]},{"a":6140,"t":"byte","b":[193,2,253,193,2,3,194,2]},{"a":6148,"t":"byte","b":[9,194,3,16,194,6,225,194]},{"a":6156,"t":"byte","b":[2,231,194,2,237,194,2,243]},{"a":6164,"t":"byte","b":[194,2,249,194,3,0,195,6]},{"a":6172,"t":"byte","b":[209,195,2,215,195,2,221,195]},{"a":6180,"t":"byte","b":[2,227,195,2,233,195,3,240]},{"a":6188,"t":"byte","b":[195,6,193,196,2,199,196,2]},{"a":6196,"t":"byte","b":[205,196,2,211,196,2,217,196]},{"a":6204,"t":"byte","b":[3,224,196,6,255,40,193,69]},{"a":6212,"t":"byte","b":[31,196,69,255,24,60,58,202]},{"a":6220,"t":"byte","b":[0,14,167,12,20,0,18,14]},{"a":6228,"t":"byte","b":[255,30,40,160,14,6,3,0]},{"a":6236,"t":"byte","b":[63,12,4,1,2,6,6,255]},{"a":6244,"t":"byte","b":[18,10,1,1,6,6,255,24]},{"a":6252,"t":"byte","b":[16,1,0,6,6,255,24,22]},{"a":6260,"t":"byte","b":[1,0,6,6,255,18,29,1]},{"a":6268,"t":"byte","b":[1,6,6,255,255,3,32,22]},{"a":6276,"t":"byte","b":[255,8,34,23,252,15,32,8]},{"a":6284,"t":"byte","b":[255,21,34,2,255,255]},{"a":6290,"l":"room_1c","c":"Room $1C's record (pointer at $0E70 + 56), 124 bytes: background green, multicolours light green and light blue, floors light blue; 12 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 3 lifting platforms and 8 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,13,14,14,145,194,1,19],"x":[30973]},{"a":6298,"t":"byte","b":[194,3,78,194,13,9,195,1]},{"a":6306,"t":"byte","b":[17,195,21,42,195,4,249,195]},{"a":6314,"t":"byte","b":[4,1,196,21,26,196,4,193]},{"a":6322,"t":"byte","b":[196,4,201,196,21,226,196,4]},{"a":6330,"t":"byte","b":[255,79,193,69,255,24,60,58]},{"a":6338,"t":"byte","b":[58,0,14,80,8,19,3,13]},{"a":6346,"t":"byte","b":[19,181,19,19,240,24,19,255]},{"a":6354,"t":"byte","b":[255,0,12,1,3,254,24,6]},{"a":6362,"t":"byte","b":[0,0,5,6,255,10,3,0]},{"a":6370,"t":"byte","b":[1,3,255,24,31,0,0,5]},{"a":6378,"t":"byte","b":[6,255,255,3,36,2,255,10]},{"a":6386,"t":"byte","b":[10,8,252,14,11,20,8,14]},{"a":6394,"t":"byte","b":[24,20,255,22,12,17,0,20]},{"a":6402,"t":"byte","b":[23,11,7,21,35,2,255,21]},{"a":6410,"t":"byte","b":[2,2,255,255]},{"a":6414,"l":"room_0a","c":"Room $0A's record (pointer at $0E70 + 20), 127 bytes: background cyan, multicolours white and brown, floors light grey; 15 floor segments, 2 gaps, the agent's two entry points, 3 robots, a ball (script $00), sprite and robot colours, 4 lifting platforms and 5 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,1,9,15,241,193,8,253]},{"a":6422,"t":"byte","b":[193,1,2,194,1,7,194,9]},{"a":6430,"t":"byte","b":[229,194,4,237,194,1,242,194]},{"a":6438,"t":"byte","b":[1,247,194,12,209,195,8,221]},{"a":6446,"t":"byte","b":[195,1,226,195,1,231,195,1]},{"a":6454,"t":"byte","b":[236,195,10,193,196,23,225,196]},{"a":6462,"t":"byte","b":[5,255,40,193,69,31,196,69]},{"a":6470,"t":"byte","b":[255,24,60,58,202,1,15,181]},{"a":6478,"t":"byte","b":[12,28,199,18,3,179,24,9]},{"a":6486,"t":"byte","b":[255,0,60,60,6,14,1,12]},{"a":6494,"t":"byte","b":[127,12,10,1,1,6,255,18]},{"a":6502,"t":"byte","b":[15,1,0,6,255,12,20,1]},{"a":6510,"t":"byte","b":[1,6,255,24,25,0,0,6]},{"a":6518,"t":"byte","b":[255,255,3,1,2,255,10,28]},{"a":6526,"t":"byte","b":[4,255,15,6,5,255,20,2]},{"a":6534,"t":"byte","b":[7,255,21,35,2,255,255]},{"a":6541,"l":"room_01","c":"Room $01's record (pointer at $0E70 + 2), 127 bytes: background cyan, multicolours white and light blue, floors light grey; 13 floor segments, 2 gaps, the agent's two entry points, 3 robots, no ball, sprite and robot colours, 4 lifting platforms and 7 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,1,14,15,241,193,1,246]},{"a":6549,"t":"byte","b":[193,0,250,193,0,254,193,24]},{"a":6557,"t":"byte","b":[238,194,21,222,195,10,237,195]},{"a":6565,"t":"byte","b":[6,97,196,3,193,196,1,198]},{"a":6573,"t":"byte","b":[196,0,202,196,0,206,196,10]},{"a":6581,"t":"byte","b":[221,196,9,255,40,193,69,79]},{"a":6589,"t":"byte","b":[193,69,255,20,60,58,58,0]},{"a":6597,"t":"byte","b":[14,179,12,20,121,18,20,159]},{"a":6605,"t":"byte","b":[24,15,255,255,14,1,4,6]},{"a":6613,"t":"byte","b":[126,18,36,0,0,6,255,24]},{"a":6621,"t":"byte","b":[3,0,0,18,255,24,7,0]},{"a":6629,"t":"byte","b":[0,18,255,24,11,0,0,18]},{"a":6637,"t":"byte","b":[255,255,3,14,2,255,8,19]},{"a":6645,"t":"byte","b":[3,255,9,25,9,252,15,16]},{"a":6653,"t":"byte","b":[6,255,15,30,1,255,15,33]},{"a":6661,"t":"byte","b":[1,28,21,31,2,255,255]},{"a":6668,"l":"room_09","c":"Room $09's record (pointer at $0E70 + 18), 115 bytes: background cyan, multicolours white and light blue, floors grey; 10 floor segments, 2 gaps, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 5 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,1,14,12,241,193,8,253]},{"a":6676,"t":"byte","b":[193,13,14,194,8,228,194,5]},{"a":6684,"t":"byte","b":[237,194,13,254,194,5,212,195]},{"a":6692,"t":"byte","b":[13,229,195,14,193,196,16,213]},{"a":6700,"t":"byte","b":[196,17,255,79,193,69,248,195]},{"a":6708,"t":"byte","b":[69,255,14,60,202,58,0,14]},{"a":6716,"t":"byte","b":[80,6,20,4,12,17,147,18]},{"a":6724,"t":"byte","b":[27,29,24,27,255,255,5,7]},{"a":6732,"t":"byte","b":[10,2,254,12,10,0,0,6]},{"a":6740,"t":"byte","b":[255,12,27,0,0,6,255,18]},{"a":6748,"t":"byte","b":[1,0,0,6,255,18,36,0]},{"a":6756,"t":"byte","b":[0,6,255,24,18,0,0,6]},{"a":6764,"t":"byte","b":[255,255,3,33,2,255,9,14]},{"a":6772,"t":"byte","b":[8,255,8,22,7,255,21,7]},{"a":6780,"t":"byte","b":[2,255,255]},{"a":6783,"l":"room_10","c":"Room $10's record (pointer at $0E70 + 32), 146 bytes: background green, multicolours white and light grey, floors light blue; 14 floor segments, 1 gap, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 6 lifting platforms and 8 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,1,15,14,241,193,19,8]},{"a":6791,"t":"byte","b":[194,1,13,194,9,225,194,9]},{"a":6799,"t":"byte","b":[238,194,1,243,194,1,248,194]},{"a":6807,"t":"byte","b":[1,253,194,9,212,195,1,217]},{"a":6815,"t":"byte","b":[195,1,222,195,1,227,195,19]},{"a":6823,"t":"byte","b":[196,196,1,201,196,29,255,40]},{"a":6831,"t":"byte","b":[193,69,255,24,60,58,58,0]},{"a":6839,"t":"byte","b":[14,221,6,31,210,12,6,145]},{"a":6847,"t":"byte","b":[18,23,80,24,15,255,255,6]},{"a":6855,"t":"byte","b":[1,13,6,254,12,21,0,0]},{"a":6863,"t":"byte","b":[6,255,12,26,0,0,6,255]},{"a":6871,"t":"byte","b":[18,11,0,0,6,255,18,16]},{"a":6879,"t":"byte","b":[0,0,6,255,24,1,0,0]},{"a":6887,"t":"byte","b":[6,255,24,6,0,0,6,255]},{"a":6895,"t":"byte","b":[255,3,5,2,255,15,25,8]},{"a":6903,"t":"byte","b":[252,15,33,9,1,20,14,3]},{"a":6911,"t":"byte","b":[21,21,20,6,255,21,24,6]},{"a":6919,"t":"byte","b":[255,21,28,6,35,21,10,2]},{"a":6927,"t":"byte","b":[255,255]},{"a":6929,"l":"room_08","c":"Room $08's record (pointer at $0E70 + 16), 88 bytes: background cyan, multicolours light blue and brown, floors light grey; 4 floor segments, 2 gaps, the agent's two entry points, 4 robots, no ball, sprite and robot colours, 2 lifting platforms and 6 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[3,14,9,15,244,193,31,228]},{"a":6937,"t":"byte","b":[194,31,212,195,31,196,196,31]},{"a":6945,"t":"byte","b":[255,40,193,69,31,196,69,255]},{"a":6953,"t":"byte","b":[14,74,58,202,0,14,238,6]},{"a":6961,"t":"byte","b":[18,179,12,28,238,18,8,3]},{"a":6969,"t":"byte","b":[24,18,255,255,1,0,4,6]},{"a":6977,"t":"byte","b":[254,12,1,1,2,6,6,255]},{"a":6985,"t":"byte","b":[24,36,2,0,6,255,255,3]},{"a":6993,"t":"byte","b":[5,2,255,21,32,2,255,7]},{"a":7001,"t":"byte","b":[26,20,255,13,17,20,23,19]},{"a":7009,"t":"byte","b":[11,20,9,14,22,11,12,255]},{"a":7017,"l":"room_04","c":"Room $04's record (pointer at $0E70 + 8), 89 bytes: background yellow, multicolours light grey and red, floors grey; 8 floor segments, 2 gaps, the agent's two entry points, 3 robots, no ball, sprite and robot colours, 2 lifting platforms and 4 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[7,15,2,12,244,193,10,185]},{"a":7025,"t":"byte","b":[193,10,128,194,11,72,195,11]},{"a":7033,"t":"byte","b":[132,195,9,12,196,13,196,196]},{"a":7041,"t":"byte","b":[10,210,196,20,255,248,195,69]},{"a":7049,"t":"byte","b":[31,196,69,255,14,60,202,202]},{"a":7057,"t":"byte","b":[0,14,238,6,10,143,9,30]},{"a":7065,"t":"byte","b":[191,19,24,255,255,9,1,10]},{"a":7073,"t":"byte","b":[7,126,24,1,0,0,8,10]},{"a":7081,"t":"byte","b":[255,6,15,0,1,18,255,255]},{"a":7089,"t":"byte","b":[21,6,2,255,2,27,4,255]},{"a":7097,"t":"byte","b":[11,30,5,255,15,21,10,255]},{"a":7105,"t":"byte","b":[255]},{"a":7106,"l":"room_18","c":"Room $18's record (pointer at $0E70 + 48), 100 bytes: background green, multicolours white and light blue, floors light blue; 8 floor segments, 1 gap, the agent's two entry points, 3 robots, no ball, sprite and robot colours, 2 lifting platforms and 7 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items).","t":"byte","b":[5,1,14,14,244,193,16,14]},{"a":7114,"t":"byte","b":[194,8,228,194,18,253,194,6]},{"a":7122,"t":"byte","b":[212,195,20,237,195,6,196,196]},{"a":7130,"t":"byte","b":[22,221,196,6,255,79,193,69]},{"a":7138,"t":"byte","b":[255,24,60,58,58,0,14,4]},{"a":7146,"t":"byte","b":[12,10,179,24,10,240,18,32]},{"a":7154,"t":"byte","b":[255,255,6,3,13,0,126,24]},{"a":7162,"t":"byte","b":[1,0,0,6,6,6,255,24]},{"a":7170,"t":"byte","b":[36,0,0,6,6,255,255,3]},{"a":7178,"t":"byte","b":[34,2,255,8,7,0,255,9]},{"a":7186,"t":"byte","b":[31,6,255,14,7,3,18,21]},{"a":7194,"t":"byte","b":[9,8,255,21,18,2,255,21]},{"a":7202,"t":"byte","b":[29,2,255,255]},{"a":7206,"l":"room_11","c":"Room $11's record (pointer at $0E70 + 34), 159 bytes: background cyan, multicolours light blue and light grey, floors light blue; 1 floor segment, 1 gap, the agent's two entry points, 0 robots, no ball, sprite and robot colours, 0 lifting platforms and 33 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items). One of the two code rooms: no floors but the one, no robots; the first 32 objects are the squares of the big screen (furniture $18/$19) and the 33rd is the computer (furniture $1A, contents $FB), searched to start the musical puzzle.","t":"byte","b":[3,14,15,14,193,196,37,255]},{"a":7214,"t":"byte","b":[248,195,70,255,14,60,202,202]},{"a":7222,"t":"byte","b":[0,14,255,255,9,10,13,13]},{"a":7230,"t":"byte","b":[238,255,4,4,24,255,4,8]},{"a":7238,"t":"byte","b":[25,255,4,12,24,255,4,16]},{"a":7246,"t":"byte","b":[25,255,4,20,24,255,4,24]},{"a":7254,"t":"byte","b":[25,255,4,28,24,255,4,32]},{"a":7262,"t":"byte","b":[25,255,7,4,25,255,7,8]},{"a":7270,"t":"byte","b":[24,255,7,12,25,255,7,16]},{"a":7278,"t":"byte","b":[24,255,7,20,25,255,7,24]},{"a":7286,"t":"byte","b":[24,255,7,28,25,255,7,32]},{"a":7294,"t":"byte","b":[24,255,10,4,24,255,10,8]},{"a":7302,"t":"byte","b":[25,255,10,12,24,255,10,16]},{"a":7310,"t":"byte","b":[25,255,10,20,24,255,10,24]},{"a":7318,"t":"byte","b":[25,255,10,28,24,255,10,32]},{"a":7326,"t":"byte","b":[25,255,13,4,25,255,13,8]},{"a":7334,"t":"byte","b":[24,255,13,12,25,255,13,16]},{"a":7342,"t":"byte","b":[24,255,13,20,25,255,13,24]},{"a":7350,"t":"byte","b":[24,255,13,28,25,255,13,32]},{"a":7358,"t":"byte","b":[24,255,18,17,26,251,255]},{"a":7365,"l":"room_1b","c":"Room $1B's record (pointer at $0E70 + 54), 159 bytes: background yellow, multicolours light blue and light grey, floors light blue; 1 floor segment, 1 gap, the agent's two entry points, 0 robots, no ball, sprite and robot colours, 0 lifting platforms and 33 objects (position, furniture type and contents; the contents of searchable furniture are rewritten for each game by hide_items). One of the two code rooms: no floors but the one, no robots; the first 32 objects are the squares of the big screen (furniture $18/$19) and the 33rd is the computer (furniture $1A, contents $FB), searched to start the musical puzzle.","t":"byte","b":[7,14,15,14,193,196,37,255]},{"a":7373,"t":"byte","b":[31,196,69,255,0,68,0,202]},{"a":7381,"t":"byte","b":[14,14,255,255,9,10,13,13]},{"a":7389,"t":"byte","b":[238,255,4,4,24,255,4,8]},{"a":7397,"t":"byte","b":[25,255,4,12,24,255,4,16]},{"a":7405,"t":"byte","b":[25,255,4,20,24,255,4,24]},{"a":7413,"t":"byte","b":[25,255,4,28,24,255,4,32]},{"a":7421,"t":"byte","b":[25,255,7,4,25,255,7,8]},{"a":7429,"t":"byte","b":[24,255,7,12,25,255,7,16]},{"a":7437,"t":"byte","b":[24,255,7,20,25,255,7,24]},{"a":7445,"t":"byte","b":[24,255,7,28,25,255,7,32]},{"a":7453,"t":"byte","b":[24,255,10,4,24,255,10,8]},{"a":7461,"t":"byte","b":[25,255,10,12,24,255,10,16]},{"a":7469,"t":"byte","b":[25,255,10,20,24,255,10,24]},{"a":7477,"t":"byte","b":[25,255,10,28,24,255,10,32]},{"a":7485,"t":"byte","b":[25,255,13,4,25,255,13,8]},{"a":7493,"t":"byte","b":[24,255,13,12,25,255,13,16]},{"a":7501,"t":"byte","b":[24,255,13,20,25,255,13,24]},{"a":7509,"t":"byte","b":[24,255,13,28,25,255,13,32]},{"a":7517,"t":"byte","b":[24,255,18,17,26,251,255]},{"a":7524,"l":"tbl_platform_originals","c":"The original lifting-platform lists of 29 rooms, each ending with $FF: copied back into the room records at the start of each game (reset_room_platforms) and by a lift-init password (reset_platforms).","t":"byte","b":[24,1,1,0,6,6,255,24]},{"a":7532,"t":"byte","b":[36,2,0,6,255,255,12,1]},{"a":7540,"t":"byte","b":[1,2,6,6,255,15,36,0]},{"a":7548,"t":"byte","b":[0,6,255,24,19,1,0,3]},{"a":7556,"t":"byte","b":[3,3,3,3,255,255,12,4]},{"a":7564,"t":"byte","b":[1,2,6,6,255,18,10,1]},{"a":7572,"t":"byte","b":[1,6,6,255,24,16,1,0]},{"a":7580,"t":"byte","b":[6,6,255,12,22,1,2,6]},{"a":7588,"t":"byte","b":[6,255,18,28,2,1,6,255]},{"a":7596,"t":"byte","b":[255,6,1,0,3,6,6,6]},{"a":7604,"t":"byte","b":[255,255,24,19,0,0,6,255]},{"a":7612,"t":"byte","b":[18,1,1,0,6,255,18,36]},{"a":7620,"t":"byte","b":[1,0,6,255,255,6,16,0]},{"a":7628,"t":"byte","b":[3,6,6,6,255,24,20,0]},{"a":7636,"t":"byte","b":[0,6,6,6,255,255,24,4]},{"a":7644,"t":"byte","b":[0,0,6,12,255,6,16,0]},{"a":7652,"t":"byte","b":[1,12,255,24,33,0,0,6]},{"a":7660,"t":"byte","b":[6,6,255,255,24,1,0,0]},{"a":7668,"t":"byte","b":[6,255,18,14,0,0,3,255]},{"a":7676,"t":"byte","b":[15,26,0,2,6,3,3,3]},{"a":7684,"t":"byte","b":[3,255,255,6,18,0,1,6]},{"a":7692,"t":"byte","b":[255,18,9,1,1,6,255,18]},{"a":7700,"t":"byte","b":[29,1,1,6,255,255,24,4]},{"a":7708,"t":"byte","b":[0,0,6,255,18,15,2,1]},{"a":7716,"t":"byte","b":[6,255,24,21,1,0,6,255]},{"a":7724,"t":"byte","b":[12,36,0,0,6,255,255,14]},{"a":7732,"t":"byte","b":[1,0,0,10,255,24,17,1]},{"a":7740,"t":"byte","b":[0,6,6,255,24,20,1,0]},{"a":7748,"t":"byte","b":[6,255,18,36,1,1,6,255]},{"a":7756,"t":"byte","b":[24,3,0,0,5,255,255,12]},{"a":7764,"t":"byte","b":[1,0,0,6,255,18,36,0]},{"a":7772,"t":"byte","b":[0,6,255,24,1,0,0,6]},{"a":7780,"t":"byte","b":[255,255,6,5,0,2,6,6]},{"a":7788,"t":"byte","b":[255,18,2,0,1,6,255,6]},{"a":7796,"t":"byte","b":[34,0,3,6,6,6,255,15]},{"a":7804,"t":"byte","b":[23,0,1,6,255,255,24,1]},{"a":7812,"t":"byte","b":[2,0,6,255,24,18,2,0]},{"a":7820,"t":"byte","b":[6,255,24,36,2,0,6,255]},{"a":7828,"t":"byte","b":[255,24,1,1,0,6,255,24]},{"a":7836,"t":"byte","b":[11,1,0,6,255,18,21,1]},{"a":7844,"t":"byte","b":[0,6,255,18,31,1,0,6]},{"a":7852,"t":"byte","b":[255,255,24,19,0,0,6,3]},{"a":7860,"t":"byte","b":[255,255,12,20,1,1,6,255]},{"a":7868,"t":"byte","b":[12,31,1,1,6,255,18,5]},{"a":7876,"t":"byte","b":[0,1,6,255,18,10,0,1]},{"a":7884,"t":"byte","b":[6,255,18,15,0,1,6,255]},{"a":7892,"t":"byte","b":[255,21,1,0,0,6,5,255]},{"a":7900,"t":"byte","b":[255,6,36,0,1,6,255,12]},{"a":7908,"t":"byte","b":[8,0,1,6,255,12,19,0]},{"a":7916,"t":"byte","b":[1,6,255,12,29,0,1,6]},{"a":7924,"t":"byte","b":[255,255,6,18,0,3,6,6]},{"a":7932,"t":"byte","b":[6,255,255,12,4,1,2,6]},{"a":7940,"t":"byte","b":[6,255,18,10,1,1,6,6]},{"a":7948,"t":"byte","b":[255,24,16,1,0,6,6,255]},{"a":7956,"t":"byte","b":[24,22,1,0,6,6,255,18]},{"a":7964,"t":"byte","b":[29,1,1,6,6,255,255,24]},{"a":7972,"t":"byte","b":[6,0,0,5,6,255,10,3]},{"a":7980,"t":"byte","b":[0,1,3,255,24,31,0,0]},{"a":7988,"t":"byte","b":[5,6,255,255,12,10,1,1]},{"a":7996,"t":"byte","b":[6,255,18,15,1,0,6,255]},{"a":8004,"t":"byte","b":[12,20,1,1,6,255,24,25]},{"a":8012,"t":"byte","b":[0,0,6,255,255,18,36,0]},{"a":8020,"t":"byte","b":[0,6,255,24,3,0,0,18]},{"a":8028,"t":"byte","b":[255,24,7,0,0,18,255,24]},{"a":8036,"l":"tbl_platform_originals_2","c":"Inside tbl_platform_originals: the address copy_to_ff's `lda $1F64,x` names as loaded; reset_room_platforms changes its high byte to $1D before use, so the copy really starts at $1D64. The lists continue to $1FD9.","t":"byte","b":[11,0,0,18,255,255,12,10],"x":[45175]},{"a":8044,"t":"byte","b":[0,0,6,255,12,27,0,0]},{"a":8052,"t":"byte","b":[6,255,18,1,0,0,6,255]},{"a":8060,"t":"byte","b":[18,36,0,0,6,255,24,18]},{"a":8068,"t":"byte","b":[0,0,6,255,255,12,21,0]},{"a":8076,"t":"byte","b":[0,6,255,12,26,0,0,6]},{"a":8084,"t":"byte","b":[255,18,11,0,0,6,255,18]},{"a":8092,"t":"byte","b":[16,0,0,6,255,24,1,0]},{"a":8100,"t":"byte","b":[0,6,255,24,6,0,0,6]},{"a":8108,"t":"byte","b":[255,255,12,1,1,2,6,6]},{"a":8116,"t":"byte","b":[255,24,36,2,0,6,255,255]},{"a":8124,"t":"byte","b":[24,1,0,0,8,10,255,6]},{"a":8132,"t":"byte","b":[15,0,1,18,255,255,24,1]},{"a":8140,"t":"byte","b":[0,0,6,6,6,255,24,36]},{"a":8148,"t":"byte","b":[0,0,6,6,255,255]},{"a":8154,"l":"tbl_room_platform_ptrs","c":"Addresses of the platform lists inside the 29 room records that have platforms, ending with $FFFF: where reset_platforms and reset_room_platforms copy to.","t":"word","b":[222,14,65,15,237,15,132,16],"d":[3806,3905,4077,4228],"x":[41277]},{"a":8155,"t":"note","l":"f_1FDB","c":"High bytes of tbl_room_platform_ptrs, read with `lda $1FDB,y`.","note":"inside the item at $1FDA","x":[41284]},{"a":8162,"t":"word","b":[229,16,165,17,19,18,130,18],"d":[4325,4517,4627,4738]},{"a":8170,"t":"word","b":[240,18,82,19,194,19,58,20],"d":[4848,4946,5058,5178]},{"a":8178,"t":"word","b":[173,20,20,21,132,21,18,22],"d":[5293,5396,5508,5650]},{"a":8186,"t":"word","b":[144,22,15,23,112,23,206,23],"d":[5776,5903,6000,6094]},{"a":8194,"t":"word","b":[93,24,216,24,95,25,214,25],"d":[6237,6360,6495,6614]},{"a":8202,"t":"word","b":[79,26,203,26,66,27,163,27],"d":[6735,6859,6978,7075]},{"a":8210,"t":"word","b":[249,27,255,255],"d":[7161,65535]},{"a":8214,"l":"tbl_platform_original_ptrs","c":"For each entry of tbl_room_platform_ptrs, the address of its original in tbl_platform_originals, ending with $FFFF.","t":"word","b":[100,29,114,29,138,29,173,29],"d":[7524,7538,7562,7597],"x":[41296]},{"a":8215,"t":"note","l":"f_2017","c":"High bytes of tbl_platform_original_ptrs.","note":"inside the item at $2016","x":[41301]},{"a":8222,"t":"word","b":[182,29,201,29,218,29,240,29],"d":[7606,7625,7642,7664]},{"a":8230,"t":"word","b":[7,30,26,30,51,30,83,30],"d":[7687,7706,7731,7763]},{"a":8238,"t":"word","b":[102,30,130,30,149,30,174,30],"d":[7782,7810,7829,7854]},{"a":8246,"t":"word","b":[182,30,213,30,221,30,246,30],"d":[7862,7893,7901,7926]},{"a":8254,"t":"word","b":[255,30,35,31,56,31,81,31],"d":[7935,7971,7992,8017]},{"a":8262,"t":"word","b":[106,31,137,31,174,31,188,31],"d":[8042,8073,8110,8124]},{"a":8270,"t":"word","b":[202,31,255,255],"d":[8138,65535]},{"a":8274,"l":"tbl_room_ptrs_unread","c":"Thirty more addresses inside the room records (one per room, $0EEC, $0F59 ...). No instruction was found that reads them: the only indexed reader of the table before it stops at $FFFF.","t":"word","b":[236,14,89,15,16,16,141,16],"d":[3820,3929,4112,4237]},{"a":8282,"t":"word","b":[248,16,87,17,182,17,41,18],"d":[4344,4439,4534,4649]},{"a":8290,"t":"word","b":[153,18,3,19,107,19,226,19],"d":[4761,4867,4971,5090]},{"a":8298,"t":"word","b":[77,20,201,20,39,21,157,21],"d":[5197,5321,5415,5533]},{"a":8306,"t":"word","b":[26,22,175,22,23,23,137,23],"d":[5658,5807,5911,6025]},{"a":8314,"t":"word","b":[215,23,129,24,237,24,120,25],"d":[6103,6273,6381,6520]},{"a":8322,"t":"word","b":[239,25,110,26,240,26,80,27],"d":[6639,6766,6896,6992]},{"a":8330,"t":"word","b":[177,27,9,28],"d":[7089,7177]},{"a":8334,"l":"str_password_words","c":"The eight possible passwords, nine letters each in the $5800 alphabet: SWORDFISH, ASPARAGUS, ARTICHOKE, CROCODILE, ALLIGATOR, ALBATROSS, BUTTERFLY, CORMORANT. One is chosen at random for each game (choose_password).","t":"byte","b":[120,124,116,119,105,107,110,120],"x":[45278]},{"a":8342,"t":"byte","b":[109,102,120,117,102,119,102,108]},{"a":8350,"t":"byte","b":[122,120,102,119,121,110,104,109]},{"a":8358,"t":"byte","b":[116,112,106,104,119,116,104,116]},{"a":8366,"t":"byte","b":[105,110,113,106,102,113,113,110]},{"a":8374,"t":"byte","b":[108,102,121,116,119,102,113,103]},{"a":8382,"t":"byte","b":[102,121,119,116,120,120,103,122]},{"a":8390,"t":"byte","b":[121,121,106,119,107,113,126,104]},{"a":8398,"t":"byte","b":[116,119,114,116,119,102,115,121]},{"a":8406,"l":"tbl_room_robot_ptrs","c":"For the 30 rooms other than the code rooms, the address of the room record's robot list, for randomise_robots.","t":"word","b":[203,14,53,15,218,15,117,16],"d":[3787,3893,4058,4213],"x":[45194]},{"a":8407,"t":"note","l":"f_20D7","c":"High bytes of tbl_room_robot_ptrs.","note":"inside the item at $20D6","x":[45199]},{"a":8414,"t":"word","b":[210,16,74,17,146,17,3,18],"d":[4306,4426,4498,4611]},{"a":8422,"t":"word","b":[111,18,221,18,72,19,178,19],"d":[4719,4829,4936,5042]},{"a":8430,"t":"word","b":[42,20,160,20,1,21,113,21],"d":[5162,5280,5377,5489]},{"a":8438,"t":"word","b":[2,22,125,22,252,22,93,23],"d":[5634,5757,5884,5981]},{"a":8446,"t":"word","b":[197,23,78,24,197,24,77,25],"d":[6085,6222,6341,6477]},{"a":8454,"t":"word","b":[198,25,60,26,184,26,47,27],"d":[6598,6716,6840,6959]},{"a":8462,"t":"word","b":[147,27,233,27],"d":[7059,7145]},{"a":8466,"l":"tbl_robot_scripts","c":"The robots' behaviour scripts, 256 bytes of commands for robots_run: each robot's script pointer is an offset into this table. The commands are the bytecode described at robots_run (jumps, tests on the agent's side and level, random tests, turns, moves, the zap).","t":"byte","b":[144,129,254,146,143,254,145,131],"x":[36616]},{"a":8474,"t":"byte","b":[153,253,154,251,149,168,248,145]},{"a":8482,"t":"byte","b":[131,153,253,154,251,164,149,168]},{"a":8490,"t":"byte","b":[247,147,195,146,193,145,101,155]},{"a":8498,"t":"byte","b":[202,31,153,251,69,155,196,63]},{"a":8506,"t":"byte","b":[153,251,243,147,143,155,253,237]},{"a":8514,"t":"byte","b":[145,31,155,214,152,198,67,171]},{"a":8522,"t":"byte","b":[155,208,99,245,69,63,155,202]},{"a":8530,"t":"byte","b":[152,198,99,171,155,196,67,245]},{"a":8538,"t":"byte","b":[101,231,147,132,153,253,101,224]},{"a":8546,"t":"byte","b":[145,31,155,214,152,198,67,171]},{"a":8554,"t":"byte","b":[155,208,99,245,69,63,155,202]},{"a":8562,"t":"byte","b":[152,198,99,171,155,196,67,245]},{"a":8570,"t":"byte","b":[101,231,128,149,101,154,226,69]},{"a":8578,"t":"byte","b":[236,69,151,101,151,251,150,175]},{"a":8586,"t":"byte","b":[253,150,181,253,145,101,3,155]},{"a":8594,"t":"byte","b":[201,153,251,69,35,155,195,153]},{"a":8602,"t":"byte","b":[251,243,149,168,155,252,238,147]},{"a":8610,"t":"byte","b":[195,146,193,145,31,149,153,252]},{"a":8618,"t":"byte","b":[69,47,149,153,252,101,245,175]},{"a":8626,"t":"byte","b":[149,156,252,69,252,101,248,69]},{"a":8634,"t":"byte","b":[155,195,101,154,250,156,198,156]},{"a":8642,"t":"byte","b":[194,147,195,146,193,145,31,153]},{"a":8650,"t":"byte","b":[253,69,63,153,253,101,247,145]},{"a":8658,"t":"byte","b":[31,31,69,63,63,101,249,145]},{"a":8666,"t":"byte","b":[31,153,253,69,146,63,153,253]},{"a":8674,"t":"byte","b":[101,245,145,31,153,253,69,147]},{"a":8682,"t":"byte","b":[63,153,253,101,245,69,161,154]},{"a":8690,"t":"byte","b":[253,147,63,153,253,161,155,253]},{"a":8698,"t":"byte","b":[101,145,31,153,253,239,147,195]},{"a":8706,"t":"byte","b":[146,193,145,31,153,253,149,69]},{"a":8714,"t":"byte","b":[149,63,153,253,149,101,149,243]},{"a":8722,"l":"tbl_robot_script_starts","c":"Thirty-two script starting offsets into tbl_robot_scripts: the behaviours randomise_robots chooses from, the first 16 for rooms without a ball and the second 16 for rooms with one.","t":"byte","b":[6,15,113,118,121,3,124,147],"x":[45243]},{"a":8730,"t":"byte","b":[145,143,80,238,240,242,159,80]},{"a":8738,"t":"byte","b":[0,4,25,27,29,177,179,181]},{"a":8746,"t":"byte","b":[191,221,199,210,48,167,4,4]},{"a":8754,"l":"tbl_ball_scripts","c":"The floating balls' scripts: (command, argument) pairs for ball_run, e.g. wait, move by a step, home in on the agent, loops with a counter; one long script makes the ball circle in steps.","t":"byte","b":[5],"x":[37602]},{"a":8755,"l":"tbl_ball_args","c":"The argument bytes of tbl_ball_scripts, read with `lda $2233,x` beside the command.","t":"byte","b":[16,2,1,0,1,7,1,4],"x":[37605]},{"a":8763,"t":"byte","b":[2,3,2,0,48,5,32,2]},{"a":8771,"t":"byte","b":[1,0,1,7,1,4,2,3]},{"a":8779,"t":"byte","b":[16,0,48,3,0,2,1,0]},{"a":8787,"t":"byte","b":[1,3,30,1,47,1,46,1]},{"a":8795,"t":"byte","b":[47,1,46,1,47,1,46,1]},{"a":8803,"t":"byte","b":[47,1,46,1,47,1,46,1]},{"a":8811,"t":"byte","b":[47,1,46,1,47,1,46,1]},{"a":8819,"t":"byte","b":[47,1,46,1,47,1,47,1]},{"a":8827,"t":"byte","b":[47,1,47,1,32,1,47,1]},{"a":8835,"t":"byte","b":[32,1,32,1,32,1,32,1]},{"a":8843,"t":"byte","b":[33,1,32,1,33,1,33,1]},{"a":8851,"t":"byte","b":[49,1,34,1,35,1,21,1]},{"a":8859,"t":"byte","b":[6,1,245,1,228,1,226,1]},{"a":8867,"t":"byte","b":[209,1,225,1,225,1,224,1]},{"a":8875,"t":"byte","b":[225,1,224,1,224,1,224,1]},{"a":8883,"t":"byte","b":[224,1,239,1,224,1,239,1]},{"a":8891,"t":"byte","b":[239,1,239,1,239,1,238,1]},{"a":8899,"t":"byte","b":[239,1,238,1,239,1,238,1]},{"a":8907,"t":"byte","b":[239,1,238,1,239,1,238,1]},{"a":8915,"t":"byte","b":[239,1,238,1,239,1,238,1]},{"a":8923,"t":"byte","b":[239,1,238,1,239,1,239,1]},{"a":8931,"t":"byte","b":[239,1,239,1,239,1,224,1]},{"a":8939,"t":"byte","b":[239,1,224,1,224,1,224,1]},{"a":8947,"t":"byte","b":[224,1,225,1,224,1,225,1]},{"a":8955,"t":"byte","b":[225,1,209,1,226,1,227,1]},{"a":8963,"t":"byte","b":[245,1,6,1,21,1,35,1]},{"a":8971,"t":"byte","b":[34,1,33,1,49,1,33,1]},{"a":8979,"t":"byte","b":[32,1,33,1,32,1,32,1]},{"a":8987,"t":"byte","b":[32,1,32,1,47,1,32,1]},{"a":8995,"t":"byte","b":[47,1,47,1,47,1,47,3]},{"a":9003,"t":"byte","b":[36]},{"a":9004,"l":"tbl_furniture","c":"The 27 furniture types, five bytes each: address of its shape (character codes), width and height, and the time it takes to search. Types $18/$19 are the code rooms' squares, $1A the code rooms' computer, $15 Elvin's control.","t":"byte","b":[179],"x":[42279]},{"a":9005,"l":"f_232D","c":"Shape address high bytes of tbl_furniture.","t":"byte","b":[35],"x":[42272]},{"a":9006,"l":"f_232E","c":"Width bytes of tbl_furniture.","t":"byte","b":[11],"x":[42285,42298]},{"a":9007,"l":"f_232F","c":"Height bytes of tbl_furniture.","t":"byte","b":[2],"x":[42301]},{"a":9008,"l":"tbl_furniture_time","c":"Search-time bytes of tbl_furniture, and the end of the table.","t":"byte","b":[80,203,35,5,1,48,215,35],"x":[42294]},{"a":9016,"t":"byte","b":[8,2,255,233,35,19,4,32]},{"a":9024,"t":"byte","b":[217,36,11,5,144,241,36,8]},{"a":9032,"t":"byte","b":[2,192,17,36,8,2,96,35]},{"a":9040,"t":"byte","b":[36,15,3,112,67,36,20,6]},{"a":9048,"t":"byte","b":[240,109,36,5,1,64,121,36]},{"a":9056,"t":"byte","b":[35,8,208,193,36,11,2,112]},{"a":9064,"t":"byte","b":[3,37,23,5,16,51,37,15]},{"a":9072,"t":"byte","b":[3,160,83,37,0,0,64,85]},{"a":9080,"t":"byte","b":[37,5,2,48,121,37,5,1]},{"a":9088,"t":"byte","b":[32,97,37,11,5,144,133,37]},{"a":9096,"t":"byte","b":[5,1,64,145,37,3,1,32]},{"a":9104,"t":"byte","b":[153,37,14,2,224,183,37,29]},{"a":9112,"t":"byte","b":[5,0,47,38,17,5,224,83]},{"a":9120,"t":"byte","b":[38,11,2,176,107,38,11,3]},{"a":9128,"t":"byte","b":[0,131,38,11,3,0,155,38]},{"a":9136,"t":"byte","b":[35,5,0]},{"a":9139,"l":"gfx_furniture","c":"The shapes of furniture types $00-$15 as rows of character codes for the room character set, referenced from tbl_furniture and drawn into the room buffer by draw_room (desks, terminals, bookcases, lamps, sofas and the rest, as the rooms show them).","t":"byte","b":[12,12,15,12,12,15,12,12]},{"a":9147,"t":"byte","b":[15,14,14,14,20,19,18,23]},{"a":9155,"t":"byte","b":[22,21,26,25,24,28,28,27]},{"a":9163,"t":"byte","b":[14,14,14,14,13,13,30,29]},{"a":9171,"t":"byte","b":[32,31,33,33,8,8,8,14]},{"a":9179,"t":"byte","b":[14,14,8,8,8,36,35,34]},{"a":9187,"t":"byte","b":[39,38,37,41,42,40,14,14]},{"a":9195,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":9203,"t":"byte","b":[8,8,8,8,8,14,14,14]},{"a":9211,"t":"byte","b":[14,14,43,43,43,43,43,82]},{"a":9219,"t":"byte","b":[82,82,82,44,45,46,46,46]},{"a":9227,"t":"byte","b":[47,48,48,48,48,48,8,8]},{"a":9235,"t":"byte","b":[8,8,8,8,8,8,8,83]},{"a":9243,"t":"byte","b":[49,83,52,51,50,55,54,53]},{"a":9251,"t":"byte","b":[1,1,1,1,1,1,1,1]},{"a":9259,"t":"byte","b":[12,15,13,14,8,8,8,8]},{"a":9267,"t":"byte","b":[59,58,57,56,82,82,82,60]},{"a":9275,"t":"byte","b":[64,63,62,61,67,66,66,65]},{"a":9283,"t":"byte","b":[8,8,8,8,8,8,8,8]},{"a":9291,"t":"byte","b":[8,12,12,12,8,8,8,8]},{"a":9299,"t":"byte","b":[12,12,12,8,8,83,87,86]},{"a":9307,"t":"byte","b":[85,84,83,83,94,93,92,91]},{"a":9315,"t":"byte","b":[90,89,88,101,100,99,98,97]},{"a":9323,"t":"byte","b":[96,95,14,14,14,14,8,8]},{"a":9331,"t":"byte","b":[103,102,105,104,107,106,1,1]},{"a":9339,"t":"byte","b":[1,1,1,1,1,1,1,9]},{"a":9347,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":9355,"t":"byte","b":[8,8,8,8,8,8,8,8]},{"a":9363,"t":"byte","b":[8,8,8,8,8,8,8,8]},{"a":9371,"t":"byte","b":[8,8,110,109,109,109,109,109]},{"a":9379,"t":"byte","b":[109,109,108,115,112,114,113,112]},{"a":9387,"t":"byte","b":[114,113,112,111,83,117,122,121]},{"a":9395,"t":"byte","b":[120,119,118,117,116,83,124,129]},{"a":9403,"t":"byte","b":[128,127,126,125,124,123,1,1]},{"a":9411,"t":"byte","b":[1,6,14,6,6,14,6,14]},{"a":9419,"t":"byte","b":[14,14,131,130,83,83,133,132]},{"a":9427,"t":"byte","b":[136,135,134,139,138,137,6,6]},{"a":9435,"t":"byte","b":[6,6,6,6,8,8,8,8]},{"a":9443,"t":"byte","b":[8,8,140,141,141,141,142,143]},{"a":9451,"t":"byte","b":[144,145,145,145,145,146,8,8]},{"a":9459,"t":"byte","b":[8,8,8,8,8,8,8,147]},{"a":9467,"t":"byte","b":[148,149,150,151,152,153,154,155]},{"a":9475,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":9483,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":9491,"t":"byte","b":[9,1,9,9,9,9,9,9]},{"a":9499,"t":"byte","b":[169,83,83,83,83,83,170,83]},{"a":9507,"t":"byte","b":[83,171,83,83,172,173,173,174]},{"a":9515,"t":"byte","b":[173,175,82,82,82,82,82,82]},{"a":9523,"t":"byte","b":[1,1,1,1,9,9,9,9]},{"a":9531,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":9539,"t":"byte","b":[83,156,157,83,83,158,159,83]},{"a":9547,"t":"byte","b":[160,161,162,163,164,165,166,167]},{"a":9555,"t":"byte","b":[14,168,9,9,9,9,9,1]},{"a":9563,"t":"byte","b":[176,177,178,179,180,181,3,6]},{"a":9571,"t":"byte","b":[6,6,6,3,11,11,11,11]},{"a":9579,"t":"byte","b":[11,11,182,183,82,82,184,185]},{"a":9587,"t":"byte","b":[186,187,187,187,187,188,0,0]},{"a":9595,"t":"byte","b":[0,0,0,0,189,83,83,190]},{"a":9603,"t":"byte","b":[83,191,8,8,8,8,8,8]},{"a":9611,"t":"byte","b":[192,193,194,195,196,197,8,8]},{"a":9619,"t":"byte","b":[8,8,198,199,200,201,8,10]},{"a":9627,"t":"byte","b":[13,14,10,13,14,14,10,13]},{"a":9635,"t":"byte","b":[15,9,13,15,9,202,203,204]},{"a":9643,"t":"byte","b":[205,206,207,208,209,210,211,212]},{"a":9651,"t":"byte","b":[213,214,215,216,8,14,14,14]},{"a":9659,"t":"byte","b":[14,8,8,14,14,14,14,8]},{"a":9667,"t":"byte","b":[8,14,14,14,14,8,8,14]},{"a":9675,"t":"byte","b":[14,14,14,8,8,14,14,14]},{"a":9683,"t":"byte","b":[14,8,217,68,68,68,68,221]},{"a":9691,"t":"byte","b":[222,82,82,82,82,227,222,82]},{"a":9699,"t":"byte","b":[82,82,82,227,222,82,82,82]},{"a":9707,"t":"byte","b":[82,227,233,255,255,255,255,236]},{"a":9715,"l":"gfx_win_colours","c":"Colours of the 6 \u00d7 5 block that appears at $4301 when the mission is won (elvin_terminal).","t":"byte","b":[8,1,1,1,1,8,8,1],"x":[43687]},{"a":9723,"t":"byte","b":[1,1,1,8,8,1,1,1]},{"a":9731,"t":"byte","b":[1,8,8,1,1,1,1,8]},{"a":9739,"t":"byte","b":[8,1,1,1,1,8]},{"a":9745,"l":"gfx_win_chars","c":"Characters of the 6 \u00d7 5 block drawn when the mission is won.","t":"byte","b":[217,218,219,219,220,221,222,223],"x":[43693]},{"a":9753,"t":"byte","b":[224,225,226,227,222,82,228,82]},{"a":9761,"t":"byte","b":[237,227,222,229,230,231,232,227]},{"a":9769,"t":"byte","b":[233,234,82,82,235,236]},{"a":9775,"l":"gfx_furniture2","c":"The shapes of furniture types $16-$1A (the code rooms' squares and computer among them), referenced from tbl_furniture.","t":"byte","b":[8,8,8,8,8,11,11,11]},{"a":9783,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":9791,"t":"byte","b":[11,11,83,83,238,239,240,241]},{"a":9799,"t":"byte","b":[160,242,243,244,245,246,164,165]},{"a":9807,"t":"byte","b":[166,247,248,249,8,8,11,8]},{"a":9815,"t":"byte","b":[8,11,8,8,11,8,8,8]},{"a":9823,"t":"byte","b":[250,250,251,252,252,253,250,250]},{"a":9831,"t":"byte","b":[254,65,65,65,8,8,8,8]},{"a":9839,"t":"byte","b":[8,8,8,8,8,8,8,8]},{"a":9847,"t":"byte","b":[82,82,82,82,82,82,82,82]},{"a":9855,"t":"byte","b":[82,82,82,82,9,9,9,9]},{"a":9863,"t":"byte","b":[9,9,9,9,9,9,9,9]},{"a":9871,"t":"byte","b":[82,82,82,82,82,82,82,82]},{"a":9879,"t":"byte","b":[82,82,82,82,0,0,1,1]},{"a":9887,"t":"byte","b":[0,0,0,0,1,1,0,0]},{"a":9895,"t":"byte","b":[0,0,1,1,0,0,0,0]},{"a":9903,"t":"byte","b":[14,14,0,0,8,8,8,8]},{"a":9911,"t":"byte","b":[8,8,12,12,12,12,12,12]},{"a":9919,"t":"byte","b":[83,83,14,14,83,83,83,83]},{"a":9927,"t":"byte","b":[14,14,83,83,83,83,14,14]},{"a":9935,"t":"byte","b":[83,83,83,83,15,15,83,83]},{"a":9943,"t":"byte","b":[8,9,10,10,11,12,83,13]},{"a":9951,"t":"byte","b":[13,13,13,83]},{"a":9955,"l":"tbl_puzzle_patterns","c":"Sixteen 8-byte glyph patterns from which make_puzzle_images builds the nine puzzle images at random.","t":"byte","b":[255,255,207,255,255,243,255,255],"x":[45324]},{"a":9963,"t":"byte","b":[255,255,255,243,255,255,255,255]},{"a":9971,"t":"byte","b":[255,255,255,255,255,207,255,255]},{"a":9979,"t":"byte","b":[255,207,255,255,207,255,255,255]},{"a":9987,"t":"byte","b":[255,255,255,207,255,255,243,255]},{"a":9995,"t":"byte","b":[255,255,255,207,255,255,255,255]},{"a":10003,"t":"byte","b":[255,255,243,255,207,255,255,255]},{"a":10011,"t":"byte","b":[255,243,255,255,255,255,255,255]},{"a":10019,"t":"byte","b":[255,255,255,63,255,243,255,255]},{"a":10027,"t":"byte","b":[255,255,51,255,255,255,255,255]},{"a":10035,"t":"byte","b":[255,243,255,255,255,255,63,255]},{"a":10043,"t":"byte","b":[255,255,255,255,243,255,255,255]},{"a":10051,"t":"byte","b":[255,255,207,255,255,255,255,255]},{"a":10059,"t":"byte","b":[255,255,255,255,243,255,243,255]},{"a":10067,"t":"byte","b":[255,207,255,255,255,255,207,255]},{"a":10075,"t":"byte","b":[255,207,255,243,255,255,255,255]},{"a":10083,"l":"gfx_piece_masks","c":"Sixteen 144-byte mask shapes (the size of a puzzle image): each puzzle piece is its puzzle's image ANDed with two of these, either way round (build_piece). They decide the outlines of the pieces.","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10091,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10099,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10107,"t":"byte","b":[255,255,255,254,252,248,240,224]},{"a":10115,"t":"byte","b":[255,128,0,0,0,0,0,0]},{"a":10123,"t":"byte","b":[255,3,3,3,3,3,3,3]},{"a":10131,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10139,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10147,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10155,"t":"byte","b":[192,128,0,0,0,0,0,0]},{"a":10163,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":10171,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":10179,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":10187,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":10195,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":10203,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10211,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10219,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":10227,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10235,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10243,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10251,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10259,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10267,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10275,"t":"byte","b":[255,255,192,192,192,192,192,192]},{"a":10283,"t":"byte","b":[255,255,0,0,0,0,0,0]},{"a":10291,"t":"byte","b":[255,255,0,0,0,0,0,0]},{"a":10299,"t":"byte","b":[255,255,255,255,255,255,255,0]},{"a":10307,"t":"byte","b":[255,255,240,240,240,240,240,0]},{"a":10315,"t":"byte","b":[255,255,3,3,3,3,3,3]},{"a":10323,"t":"byte","b":[192,192,192,192,255,0,0,0]},{"a":10331,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10339,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10347,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10355,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10363,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":10371,"t":"byte","b":[255,192,192,193,195,199,207,223]},{"a":10379,"t":"byte","b":[255,0,0,128,192,224,240,248]},{"a":10387,"t":"byte","b":[255,0,0,1,3,7,15,31]},{"a":10395,"t":"byte","b":[255,0,0,128,192,224,240,255]},{"a":10403,"t":"byte","b":[255,0,0,0,0,0,0,255]},{"a":10411,"t":"byte","b":[255,3,3,3,3,3,3,255]},{"a":10419,"t":"byte","b":[255,255,255,254,252,248,240,224]},{"a":10427,"t":"byte","b":[252,254,255,127,63,31,15,7]},{"a":10435,"t":"byte","b":[63,127,255,254,252,248,240,224]},{"a":10443,"t":"byte","b":[255,255,255,127,63,31,0,0]},{"a":10451,"t":"byte","b":[255,255,255,255,255,255,0,0]},{"a":10459,"t":"byte","b":[255,255,255,255,255,255,3,3]},{"a":10467,"t":"byte","b":[192,192,192,192,255,0,0,0]},{"a":10475,"t":"byte","b":[3,1,0,0,255,0,0,0]},{"a":10483,"t":"byte","b":[192,128,0,0,255,0,0,0]},{"a":10491,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10499,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10507,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":10515,"t":"byte","b":[255,193,193,193,193,193,193,193]},{"a":10523,"t":"byte","b":[255,240,240,240,240,240,240,240]},{"a":10531,"t":"byte","b":[255,0,0,0,0,127,127,127]},{"a":10539,"t":"byte","b":[255,0,0,0,0,255,255,255]},{"a":10547,"t":"byte","b":[255,0,0,0,0,255,255,255]},{"a":10555,"t":"byte","b":[255,3,3,3,3,131,131,131]},{"a":10563,"t":"byte","b":[193,193,193,193,193,193,193,193]},{"a":10571,"t":"byte","b":[240,240,240,240,255,255,255,255]},{"a":10579,"t":"byte","b":[127,0,0,0,255,255,255,255]},{"a":10587,"t":"byte","b":[255,0,0,0,255,255,255,255]},{"a":10595,"t":"byte","b":[255,15,15,15,255,255,255,255]},{"a":10603,"t":"byte","b":[131,131,131,131,131,131,131,131]},{"a":10611,"t":"byte","b":[192,192,192,192,255,0,0,0]},{"a":10619,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10627,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10635,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10643,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":10651,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":10659,"t":"byte","b":[255,192,192,193,193,195,195,199]},{"a":10667,"t":"byte","b":[255,255,255,254,254,252,252,248]},{"a":10675,"t":"byte","b":[255,0,0,1,1,3,3,7]},{"a":10683,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10691,"t":"byte","b":[255,0,0,128,128,192,192,224]},{"a":10699,"t":"byte","b":[255,3,3,3,3,3,3,3]},{"a":10707,"t":"byte","b":[199,207,207,223,223,255,255,255]},{"a":10715,"t":"byte","b":[248,240,240,224,224,192,192,128]},{"a":10723,"t":"byte","b":[7,15,15,31,31,63,63,127]},{"a":10731,"t":"byte","b":[255,255,255,231,231,195,195,129]},{"a":10739,"t":"byte","b":[224,240,240,248,248,252,252,254]},{"a":10747,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":10755,"t":"byte","b":[255,255,255,254,255,0,0,0]},{"a":10763,"t":"byte","b":[128,0,0,1,255,0,0,0]},{"a":10771,"t":"byte","b":[127,255,255,254,255,0,0,0]},{"a":10779,"t":"byte","b":[129,0,0,0,255,0,0,0]},{"a":10787,"t":"byte","b":[254,255,255,127,255,0,0,0]},{"a":10795,"t":"byte","b":[3,3,3,131,255,0,0,0]},{"a":10803,"t":"byte","b":[255,255,255,255,255,255,223,207]},{"a":10811,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10819,"t":"byte","b":[255,255,255,255,255,254,254,252]},{"a":10827,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":10835,"t":"byte","b":[255,127,127,127,127,255,255,255]},{"a":10843,"t":"byte","b":[255,131,131,131,131,131,131,131]},{"a":10851,"t":"byte","b":[199,193,192,192,192,192,192,192]},{"a":10859,"t":"byte","b":[255,255,63,0,0,0,0,0]},{"a":10867,"t":"byte","b":[248,224,0,0,0,0,0,0]},{"a":10875,"t":"byte","b":[0,1,1,3,7,15,63,255]},{"a":10883,"t":"byte","b":[255,255,255,255,254,254,254,252]},{"a":10891,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":10899,"t":"byte","b":[192,192,192,192,255,0,0,0]},{"a":10907,"t":"byte","b":[0,0,1,127,255,0,0,0]},{"a":10915,"t":"byte","b":[3,31,255,255,255,0,0,0]},{"a":10923,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":10931,"t":"byte","b":[252,248,240,192,255,0,0,0]},{"a":10939,"t":"byte","b":[7,7,15,31,255,0,0,0]},{"a":10947,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10955,"t":"byte","b":[255,255,255,255,255,252,240,192]},{"a":10963,"t":"byte","b":[255,252,240,192,0,0,0,0]},{"a":10971,"t":"byte","b":[255,63,15,3,0,0,0,0]},{"a":10979,"t":"byte","b":[255,255,255,255,255,63,15,3]},{"a":10987,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":10995,"t":"byte","b":[255,252,240,252,255,255,255,255]},{"a":11003,"t":"byte","b":[0,0,0,0,0,192,240,252]},{"a":11011,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11019,"t":"byte","b":[0,0,0,127,127,127,127,127]},{"a":11027,"t":"byte","b":[0,0,0,255,255,255,255,255]},{"a":11035,"t":"byte","b":[255,63,15,3,3,3,3,3]},{"a":11043,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11051,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11059,"t":"byte","b":[0,192,240,252,255,0,0,0]},{"a":11067,"t":"byte","b":[127,0,0,0,255,0,0,0]},{"a":11075,"t":"byte","b":[255,0,0,0,255,0,0,0]},{"a":11083,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":11091,"t":"byte","b":[255,255,255,255,0,0,0,0]},{"a":11099,"t":"byte","b":[255,255,255,255,0,0,0,0]},{"a":11107,"l":"gfx_piece_masks_2","c":"gfx_piece_masks continued: mask shapes 7-13 (from $2B63).","t":"byte","b":[255,255,255,255,0,0,0,0]},{"a":11115,"t":"byte","b":[255,193,193,193,1,1,1,1]},{"a":11123,"t":"byte","b":[255,240,240,240,240,240,240,240]},{"a":11131,"t":"byte","b":[255,127,127,127,127,127,127,127]},{"a":11139,"t":"byte","b":[255,255,255,255,192,192,192,192]},{"a":11147,"t":"byte","b":[255,255,255,255,0,0,0,0]},{"a":11155,"t":"byte","b":[255,255,255,255,0,0,0,0]},{"a":11163,"t":"byte","b":[255,255,255,255,0,0,0,0]},{"a":11171,"t":"byte","b":[240,240,240,240,0,0,0,0]},{"a":11179,"t":"byte","b":[127,127,127,127,127,127,127,127]},{"a":11187,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11195,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11203,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11211,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11219,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11227,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11235,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":11243,"t":"byte","b":[255,3,7,15,31,63,127,255]},{"a":11251,"t":"byte","b":[255,252,248,240,224,192,129,3]},{"a":11259,"t":"byte","b":[255,15,31,63,127,255,254,252]},{"a":11267,"t":"byte","b":[255,240,224,192,129,3,7,15]},{"a":11275,"t":"byte","b":[255,63,127,255,255,255,251,243]},{"a":11283,"t":"byte","b":[193,195,199,207,192,192,192,192]},{"a":11291,"t":"byte","b":[254,252,248,240,0,0,0,0]},{"a":11299,"t":"byte","b":[7,15,31,63,0,0,0,0]},{"a":11307,"t":"byte","b":[248,240,224,192,0,0,0,0]},{"a":11315,"t":"byte","b":[31,63,127,255,255,0,0,0]},{"a":11323,"t":"byte","b":[227,195,131,3,3,3,3,3]},{"a":11331,"t":"byte","b":[193,195,199,207,255,0,0,0]},{"a":11339,"t":"byte","b":[128,192,225,243,255,0,0,0]},{"a":11347,"t":"byte","b":[96,240,248,252,255,0,0,0]},{"a":11355,"t":"byte","b":[24,60,126,255,255,0,0,0]},{"a":11363,"t":"byte","b":[6,15,31,63,255,0,0,0]},{"a":11371,"t":"byte","b":[3,3,135,207,255,0,0,0]},{"a":11379,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":11387,"t":"byte","b":[255,240,240,224,192,1,3,3]},{"a":11395,"t":"byte","b":[255,0,0,120,252,254,254,254]},{"a":11403,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":11411,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":11419,"t":"byte","b":[255,127,31,15,7,7,3,3]},{"a":11427,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":11435,"t":"byte","b":[135,255,255,255,255,255,255,255]},{"a":11443,"t":"byte","b":[252,248,224,192,192,224,255,255]},{"a":11451,"t":"byte","b":[15,31,63,127,127,255,255,254]},{"a":11459,"t":"byte","b":[128,224,240,248,248,248,248,112]},{"a":11467,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":11475,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11483,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11491,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11499,"t":"byte","b":[252,248,248,252,255,0,0,0]},{"a":11507,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":11515,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":11523,"t":"byte","b":[255,192,192,192,192,192,193,193]},{"a":11531,"t":"byte","b":[255,0,0,0,63,255,255,255]},{"a":11539,"t":"byte","b":[255,0,0,0,248,248,248,248]},{"a":11547,"t":"byte","b":[255,0,0,0,31,31,31,31]},{"a":11555,"t":"byte","b":[255,0,0,0,255,255,255,255]},{"a":11563,"t":"byte","b":[255,3,3,3,195,195,195,195]},{"a":11571,"t":"byte","b":[195,195,195,195,195,193,193,192]},{"a":11579,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":11587,"t":"byte","b":[248,248,248,248,248,248,248,248]},{"a":11595,"t":"byte","b":[31,31,31,31,31,15,15,7]},{"a":11603,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":11611,"t":"byte","b":[195,195,195,195,195,131,131,3]},{"a":11619,"t":"byte","b":[192,192,192,192,255,0,0,0]},{"a":11627,"t":"byte","b":[63,0,0,0,255,0,0,0]},{"a":11635,"t":"byte","b":[248,0,0,0,255,0,0,0]},{"a":11643,"t":"byte","b":[1,0,0,0,255,0,0,0]},{"a":11651,"t":"byte","b":[252,0,0,0,255,0,0,0]},{"a":11659,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":11667,"t":"byte","b":[255,255,254,252,240,224,248,254]},{"a":11675,"t":"byte","b":[255,0,0,1,0,0,0,0]},{"a":11683,"t":"byte","b":[255,96,248,254,255,63,15,3]},{"a":11691,"t":"byte","b":[255,0,0,0,128,224,248,254]},{"a":11699,"t":"byte","b":[255,15,3,0,0,0,0,0]},{"a":11707,"t":"byte","b":[255,255,255,63,15,3,3,3]},{"a":11715,"t":"byte","b":[254,255,255,255,255,255,255,255]},{"a":11723,"t":"byte","b":[0,128,224,248,254,255,255,255]},{"a":11731,"t":"byte","b":[0,0,0,0,0,128,224,248]},{"a":11739,"t":"byte","b":[255,63,15,3,0,0,0,0]},{"a":11747,"t":"byte","b":[128,224,248,252,248,48,0,0]},{"a":11755,"t":"byte","b":[3,3,3,3,3,3,7,15]},{"a":11763,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11771,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":11779,"t":"byte","b":[254,255,255,255,255,0,0,0]},{"a":11787,"t":"byte","b":[0,128,224,248,255,0,0,0]},{"a":11795,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":11803,"t":"byte","b":[31,63,127,255,255,0,0,0]},{"a":11811,"t":"byte","b":[255,255,255,255,255,255,223,223]},{"a":11819,"t":"byte","b":[255,0,0,128,128,192,192,224]},{"a":11827,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":11835,"t":"byte","b":[255,0,0,0,0,63,127,255]},{"a":11843,"t":"byte","b":[255,0,0,0,0,255,255,255]},{"a":11851,"t":"byte","b":[255,3,3,3,3,131,195,227]},{"a":11859,"t":"byte","b":[207,207,199,199,195,195,193,193]},{"a":11867,"t":"byte","b":[224,240,240,255,255,255,255,255]},{"a":11875,"t":"byte","b":[1,3,7,255,255,255,255,254]},{"a":11883,"t":"byte","b":[255,255,240,224,192,128,0,1]},{"a":11891,"t":"byte","b":[255,255,15,31,63,127,255,254]},{"a":11899,"t":"byte","b":[243,251,243,227,195,131,3,3]},{"a":11907,"t":"byte","b":[192,192,192,192,255,0,0,0]},{"a":11915,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":11923,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":11931,"t":"byte","b":[3,7,15,31,255,0,0,0]},{"a":11939,"t":"byte","b":[252,248,240,192,255,0,0,0]},{"a":11947,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":11955,"t":"byte","b":[255,255,255,255,254,254,252,252]},{"a":11963,"t":"byte","b":[255,128,0,1,1,3,3,7]},{"a":11971,"t":"byte","b":[255,127,255,255,255,254,252,248]},{"a":11979,"t":"byte","b":[255,224,192,128,0,1,3,7]},{"a":11987,"t":"byte","b":[255,7,31,127,255,255,255,255]},{"a":11995,"t":"byte","b":[255,255,255,255,255,251,227,131]},{"a":12003,"t":"byte","b":[248,248,240,240,240,224,224,224]},{"a":12011,"t":"byte","b":[7,15,15,31,31,63,63,63]},{"a":12019,"t":"byte","b":[248,240,240,224,224,192,192,128]},{"a":12027,"t":"byte","b":[15,15,31,63,63,127,127,255]},{"a":12035,"t":"byte","b":[254,252,248,240,224,192,128,128]},{"a":12043,"t":"byte","b":[3,3,3,3,15,31,63,127]},{"a":12051,"t":"byte","b":[192,192,192,192,255,0,0,0]},{"a":12059,"t":"byte","b":[127,127,127,127,255,0,0,0]},{"a":12067,"t":"byte","b":[128,128,1,1,255,0,0,0]},{"a":12075,"t":"byte","b":[255,255,254,254,255,0,0,0]},{"a":12083,"t":"byte","b":[0,1,1,3,255,0,0,0]},{"a":12091,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":12099,"t":"byte","b":[255,192,192,248,255,255,255,199]},{"a":12107,"t":"byte","b":[255,62,124,124,248,248,252,255]},{"a":12115,"t":"byte","b":[255,7,7,15,15,1,0,128]},{"a":12123,"t":"byte","b":[255,192,192,248,255,255,63,7]},{"a":12131,"l":"gfx_piece_masks_3","c":"gfx_piece_masks continued: the end of mask shape 13 and shapes 14-15.","t":"byte","b":[255,31,3,0,0,224,252,255]},{"a":12139,"t":"byte","b":[255,255,255,127,15,3,3,131]},{"a":12147,"t":"byte","b":[195,195,199,199,207,207,223,223]},{"a":12155,"t":"byte","b":[255,255,195,192,128,128,0,3]},{"a":12163,"t":"byte","b":[240,254,255,127,15,1,0,128]},{"a":12171,"t":"byte","b":[0,0,192,248,255,255,63,7]},{"a":12179,"t":"byte","b":[255,31,3,0,0,224,252,255]},{"a":12187,"t":"byte","b":[243,255,255,127,15,3,3,131]},{"a":12195,"t":"byte","b":[254,254,252,252,255,0,0,0]},{"a":12203,"t":"byte","b":[7,7,15,15,255,0,0,0]},{"a":12211,"t":"byte","b":[240,254,255,255,255,0,0,0]},{"a":12219,"t":"byte","b":[0,0,192,248,255,0,0,0]},{"a":12227,"t":"byte","b":[255,31,3,0,255,0,0,0]},{"a":12235,"t":"byte","b":[243,255,255,127,255,0,0,0]},{"a":12243,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":12251,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":12259,"t":"byte","b":[255,252,252,252,248,240,224,224]},{"a":12267,"t":"byte","b":[255,0,0,0,0,0,60,254]},{"a":12275,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":12283,"t":"byte","b":[255,3,3,3,3,3,3,3]},{"a":12291,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":12299,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":12307,"t":"byte","b":[241,255,255,255,255,227,192,128]},{"a":12315,"t":"byte","b":[255,255,255,255,254,254,252,0]},{"a":12323,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12331,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":12339,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":12347,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":12355,"t":"byte","b":[128,192,192,128,255,0,0,0]},{"a":12363,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":12371,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":12379,"t":"byte","b":[3,3,3,3,255,0,0,0]},{"a":12387,"l":"gfx_code_room_picture","c":"The 144-byte picture copied to $5000 in a code room (draw_code_room).","t":"byte","b":[0,0,170,106,90,95,95,95],"x":[42569]},{"a":12395,"t":"byte","b":[0,0,170,170,170,255,255,255]},{"a":12403,"t":"byte","b":[0,0,170,170,170,250,250,250]},{"a":12411,"t":"byte","b":[95,95,95,95,95,95,95,95]},{"a":12419,"t":"byte","b":[250,250,250,250,250,250,250,250]},{"a":12427,"t":"byte","b":[95,95,95,85,85,85,0,0]},{"a":12435,"t":"byte","b":[255,255,255,85,85,85,0,0]},{"a":12443,"t":"byte","b":[250,250,250,90,86,85,0,0]},{"a":12451,"t":"byte","b":[85,93,85,87,85,85,21,0]},{"a":12459,"t":"byte","b":[85,213,85,117,85,213,85,170]},{"a":12467,"t":"byte","b":[85,85,85,85,85,85,85,170]},{"a":12475,"t":"byte","b":[85,87,85,93,85,87,85,170]},{"a":12483,"t":"byte","b":[85,117,85,213,85,85,84,0]},{"a":12491,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":12499,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":12507,"t":"byte","b":[60,255,60,255,60,255,60,255]},{"a":12515,"t":"byte","b":[170,255,255,255,255,255,255,170]},{"a":12523,"t":"byte","b":[255,255,255,85,85,85,255,20]},{"a":12531,"l":"tbl_furniture_slots","c":"Addresses of the contents bytes of all searchable furniture in the room records, 128 entries: hide_items fills them with $FF and then hides the 36 pieces and 18 passwords in random entries.","t":"word","b":[239,14,243,14,247,14,251,14],"d":[3823,3827,3831,3835],"x":[45679,45738]},{"a":12532,"t":"note","l":"tbl_furniture_slots_hi","c":"High bytes of tbl_furniture_slots.","note":"inside the item at $30F3","x":[45684,45743]},{"a":12539,"t":"word","b":[255,14,3,15,7,15,96,15],"d":[3839,3843,3847,3936]},{"a":12547,"t":"word","b":[100,15,104,15,108,15,112,15],"d":[3940,3944,3948,3952]},{"a":12555,"t":"word","b":[116,15,23,16,27,16,31,16],"d":[3956,4119,4123,4127]},{"a":12563,"t":"word","b":[35,16,39,16,43,16,47,16],"d":[4131,4135,4139,4143]},{"a":12571,"t":"word","b":[51,16,55,16,148,16,152,16],"d":[4147,4151,4244,4248]},{"a":12579,"t":"word","b":[156,16,160,16,251,16,3,17],"d":[4252,4256,4347,4355]},{"a":12587,"t":"word","b":[189,17,193,17,197,17,201,17],"d":[4541,4545,4549,4553]},{"a":12595,"t":"word","b":[205,17,205,17,44,18,48,18],"d":[4557,4557,4652,4656]},{"a":12603,"t":"word","b":[52,18,56,18,60,18,156,18],"d":[4660,4664,4668,4764]},{"a":12611,"t":"word","b":[160,18,164,18,10,19,14,19],"d":[4768,4772,4874,4878]},{"a":12619,"t":"word","b":[18,19,22,19,118,19,122,19],"d":[4882,4886,4982,4986]},{"a":12627,"t":"word","b":[233,19,237,19,241,19,245,19],"d":[5097,5101,5105,5109]},{"a":12635,"t":"word","b":[84,20,88,20,92,20,204,20],"d":[5204,5208,5212,5324]},{"a":12643,"t":"word","b":[208,20,208,20,42,21,46,21],"d":[5328,5328,5418,5422]},{"a":12651,"t":"word","b":[54,21,160,21,164,21,168,21],"d":[5430,5536,5540,5544]},{"a":12659,"t":"word","b":[172,21,176,21,180,21,29,22],"d":[5548,5552,5556,5661]},{"a":12667,"t":"word","b":[33,22,37,22,41,22,45,22],"d":[5665,5669,5673,5677]},{"a":12675,"t":"word","b":[49,22,53,22,178,22,182,22],"d":[5681,5685,5810,5814]},{"a":12683,"t":"word","b":[186,22,190,22,194,22,26,23],"d":[5818,5822,5826,5914]},{"a":12691,"t":"word","b":[30,23,34,23,38,23,42,23],"d":[5918,5922,5926,5930]},{"a":12699,"t":"word","b":[144,23,148,23,152,23,218,23],"d":[6032,6036,6040,6106]},{"a":12707,"t":"word","b":[222,23,226,23,230,23,234,23],"d":[6110,6114,6118,6122]},{"a":12715,"t":"word","b":[238,23,132,24,136,24,140,24],"d":[6126,6276,6280,6284]},{"a":12723,"t":"word","b":[244,24,248,24,252,24,0,25],"d":[6388,6392,6396,6400]},{"a":12731,"t":"word","b":[4,25,127,25,131,25,135,25],"d":[6404,6527,6531,6535]},{"a":12739,"t":"word","b":[246,25,250,25,254,25,2,26],"d":[6646,6650,6654,6658]},{"a":12747,"t":"word","b":[6,26,117,26,121,26,247,26],"d":[6662,6773,6777,6903]},{"a":12755,"t":"word","b":[251,26,255,26,3,27,7,27],"d":[6907,6911,6915,6919]},{"a":12763,"t":"word","b":[11,27,91,27,95,27,99,27],"d":[6923,7003,7007,7011]},{"a":12771,"t":"word","b":[103,27,184,27,188,27,192,27],"d":[7015,7096,7100,7104]},{"a":12779,"t":"word","b":[16,28,20,28,24,28,28,28],"d":[7184,7188,7192,7196]},{"a":12787,"l":"gfx_lift_init_picture","c":"The 144-byte picture shown when a search finds a lift-init password ($FD), stored inverted.","t":"byte","b":[12,12,63,255,255,63,3,15]},{"a":12795,"t":"byte","b":[0,0,12,60,252,60,12,192]},{"a":12803,"t":"byte","b":[0,0,0,0,248,62,31,31]},{"a":12811,"t":"byte","b":[0,0,0,0,0,63,255,255]},{"a":12819,"t":"byte","b":[0,0,0,0,0,254,255,255]},{"a":12827,"t":"byte","b":[0,0,0,0,0,0,224,248]},{"a":12835,"t":"byte","b":[51,255,243,252,255,240,240,240]},{"a":12843,"t":"byte","b":[48,252,60,252,252,60,60,60]},{"a":12851,"t":"byte","b":[24,63,63,126,124,120,127,127]},{"a":12859,"t":"byte","b":[15,159,56,127,255,14,252,248]},{"a":12867,"t":"byte","b":[255,255,15,159,63,120,255,15]},{"a":12875,"t":"byte","b":[252,254,254,255,255,15,159,63]},{"a":12883,"t":"byte","b":[255,51,15,15,3,0,0,0]},{"a":12891,"t":"byte","b":[252,48,192,192,0,0,0,0]},{"a":12899,"t":"byte","b":[63,63,31,15,3,0,0,0]},{"a":12907,"t":"byte","b":[255,255,255,255,255,63,0,0]},{"a":12915,"t":"byte","b":[254,252,248,255,255,254,0,0]},{"a":12923,"t":"byte","b":[126,254,12,248,224,0,0,0]},{"a":12931,"l":"gfx_snooze_picture","c":"The 144-byte picture shown when a search finds a snooze password ($FC), stored inverted.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12939,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12947,"t":"byte","b":[7,7,7,7,127,63,31,15]},{"a":12955,"t":"byte","b":[224,224,224,224,254,252,248,240]},{"a":12963,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12971,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12979,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12987,"t":"byte","b":[0,0,0,0,0,63,48,48]},{"a":12995,"t":"byte","b":[7,3,1,0,0,255,0,0]},{"a":13003,"t":"byte","b":[224,192,128,0,0,255,0,0]},{"a":13011,"t":"byte","b":[0,0,0,0,0,252,12,12]},{"a":13019,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13027,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13035,"t":"byte","b":[48,63,51,48,48,60,63,0]},{"a":13043,"t":"byte","b":[0,192,240,252,63,15,255,0]},{"a":13051,"t":"byte","b":[0,252,63,15,3,192,255,0]},{"a":13059,"t":"byte","b":[12,12,12,204,252,252,252,0]},{"a":13067,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13075,"l":"gfx_pocket_computer","c":"The pocket computer's screen, 400 characters (10 rows of 40) copied to $4258 by draw_pocket_computer; inside it the status texts the game updates in place: SNOOZES:0 LIFT INITS:0 at $3431 (counters at $3439 and $3446) and the PSW: line with the nine password letters at $345D.","t":"byte","b":[84,85,86,86,87,88,89,89],"x":[29429]},{"a":13083,"t":"byte","b":[89,89,89,89,89,89,89,89]},{"a":13091,"t":"byte","b":[89,89,89,89,89,89,89,89]},{"a":13099,"t":"byte","b":[89,89,89,89,90,91,86,86]},{"a":13107,"t":"byte","b":[92,86,86,92,86,86,93,255]},{"a":13115,"t":"byte","b":[252,0,1,2,3]},{"a":13120,"l":"gfx_pc_display_rows","c":"Start of the pocket computer screen's display rows within gfx_pocket_computer, copied back to the screen by show_hand ($3341-$341E).","t":"byte","b":[42,20,138,139,140,141,142,143],"x":[15937]},{"a":13128,"t":"byte","b":[21,83,156,157,158,159,160,161]},{"a":13136,"t":"byte","b":[83,174,175,176,177,178,179,43]},{"a":13144,"t":"byte","b":[44,60,61,45,64,65,45,68]},{"a":13152,"t":"byte","b":[69,46,252,252,4,5,6,3]},{"a":13160,"t":"byte","b":[42,22,144,145,146,147,148,149]},{"a":13168,"t":"byte","b":[23,83,162,163,164,165,166,167]},{"a":13176,"t":"byte","b":[83,180,181,182,183,184,185,43]},{"a":13184,"t":"byte","b":[44,62,63,45,66,67,45,70]},{"a":13192,"t":"byte","b":[71,46,252,252,7,8,8,9]},{"a":13200,"t":"byte","b":[42,22,150,151,152,153,154,155]},{"a":13208,"t":"byte","b":[23,83,168,169,170,171,172,173]},{"a":13216,"t":"byte","b":[83,186,187,188,189,190,191,43]},{"a":13224,"t":"byte","b":[47,48,49,50,48,49,50,48]},{"a":13232,"t":"byte","b":[49,51,252,252,10,11,12,3]},{"a":13240,"t":"byte","b":[42,22,192,193,194,195,196,197]},{"a":13248,"t":"byte","b":[23,83,210,211,212,213,214,215]},{"a":13256,"t":"byte","b":[83,228,229,230,231,232,233,43]},{"a":13264,"t":"byte","b":[44,94,95,45,76,77,45,72]},{"a":13272,"t":"byte","b":[73,46,252,252,13,14,15,3]},{"a":13280,"t":"byte","b":[42,22,198,199,200,201,202,203]},{"a":13288,"t":"byte","b":[23,83,216,217,218,219,220,221]},{"a":13296,"t":"byte","b":[83,234,235,236,237,238,239,43]},{"a":13304,"t":"byte","b":[44,96,97,45,78,79,45,74]},{"a":13312,"t":"byte","b":[75,46,252,252,7,8,8,9]},{"a":13320,"t":"byte","b":[42,24,204,205,206,207,208,209]},{"a":13328,"t":"byte","b":[25,83,222]},{"a":13331,"l":"f_3413","c":"The second part of gfx_pocket_computer, read by draw_pocket_computer's second loop ($3413-$34A2).","t":"byte","b":[223,224,225,226,227,83,240,241],"x":[29448]},{"a":13339,"t":"byte","b":[242,243,244,245,43,47,48,49]},{"a":13347,"t":"byte","b":[50,48,49,50,48,49,51,252]},{"a":13355,"t":"byte","b":[252,28,29,30,3,42]},{"a":13361,"l":"f_3431","c":"The status texts within gfx_pocket_computer: SNOOZES:0 LIFT INITS:0, 62 characters with the PSW: line, copied to the screen by show_status_line.","t":"byte","b":[120,115,116,116,127,106,120,246],"x":[32807]},{"a":13369,"l":"f_3439","c":"The snooze counter's digit in the status text (SNOOZES:n), and at $3446 the lift-init counter's (LIFT INITS:n), $80-$89 for 0-9; the game increments them when a password is found and decrements them when one is used.","t":"byte","b":[128,83,113,110,107,121,83,110],"x":[29339,39257,39264,41424,41435,43124,43133]},{"a":13377,"t":"byte","b":[115,110,121,120,246,128,43,44]},{"a":13385,"t":"byte","b":[98,99,45,98,99,45,98,99]},{"a":13393,"t":"byte","b":[46,252,252,31,32,33,3,42]},{"a":13401,"t":"byte","b":[117,120,124,246]},{"a":13405,"l":"f_345D","c":"The nine letters of the password line (PSW:) in the status text, blank ($53) until puzzles are solved; check_solution writes each solved puzzle's letter here.","t":"byte","b":[83,83,83,83,83,83,83,83],"x":[33039,43586,45292]},{"a":13413,"t":"byte","b":[83,83,83,83,246,83,83,246]},{"a":13421,"t":"byte","b":[83,83,43,44,100,101,45,100]},{"a":13429,"t":"byte","b":[101,45,100,101,46,252,253,16]},{"a":13437,"t":"byte","b":[17,18,19,52,53,53,53,53]},{"a":13445,"t":"byte","b":[53,53,53,53,53,53,53,53]},{"a":13453,"t":"byte","b":[53,53,53,53,53,53,53,53]},{"a":13461,"t":"byte","b":[53,53,54,55,56,57,58,56]},{"a":13469,"t":"gap","n":6},{"a":13475,"l":"gfx_pocket_computer_colours","c":"Colours of the pocket computer's 400 cells.","t":"byte","b":[3,11,11,11,11,11,11,11],"x":[29434]},{"a":13483,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":13491,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":13499,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":13507,"t":"byte","b":[11,11,11,11,11,11,11,3]},{"a":13515,"t":"byte","b":[11,11,15,15,11,11,7,0]},{"a":13523,"t":"byte","b":[0,0,0,0,0,7,0,0]},{"a":13531,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13539,"t":"byte","b":[0,0,0,0,8,11,15,15]},{"a":13547,"t":"byte","b":[8,15,15,8,11,11,11,11]},{"a":13555,"t":"byte","b":[11,11,15,15,11,11,7,0]},{"a":13563,"t":"byte","b":[0,0,0,0,0,7,0,0]},{"a":13571,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13579,"t":"byte","b":[0,0,0,0,8,11,15,15]},{"a":13587,"t":"byte","b":[8,15,15,8,15,15,11,11]},{"a":13595,"t":"byte","b":[11,11,11,11,11,11,7,0]},{"a":13603,"t":"byte","b":[0,0,0,0,0,7,0,0]},{"a":13611,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13619,"t":"byte","b":[0,0,0,0,8,11,11,11]},{"a":13627,"t":"byte","b":[8,11,11,8,10,10,11,11]},{"a":13635,"t":"byte","b":[11,11,15,15,11,11,7,0]},{"a":13643,"t":"byte","b":[0,0,0,0,0,7,0,0]},{"a":13651,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13659,"t":"byte","b":[0,0,0,0,8,11,11,11]},{"a":13667,"t":"byte","b":[8,11,11,8,11,11,11,11]},{"a":13675,"t":"byte","b":[11,11,15,15,11,11,7,0]},{"a":13683,"t":"byte","b":[0,0,0,0,0,7,0,0]},{"a":13691,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13699,"t":"byte","b":[0,0,0,0,8,11,11,11]},{"a":13707,"t":"byte","b":[8,11,11,8,11,11,11,11]},{"a":13715,"t":"byte","b":[11,11,11,11,11,11,7,0]},{"a":13723,"t":"byte","b":[0,0,0,0,0,7,0,0]},{"a":13731,"l":"f_35A3","c":"The second part of gfx_pocket_computer_colours, read by draw_pocket_computer's second loop.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[29453]},{"a":13739,"t":"byte","b":[0,0,0,0,8,11,8,8]},{"a":13747,"t":"byte","b":[8,8,8,8,8,8,11,11]},{"a":13755,"t":"byte","b":[11,11,15,15,11,11]},{"a":13761,"l":"gfx_pc_status_colours","c":"The colours of the status texts within gfx_pocket_computer_colours, copied with them by show_status_line.","t":"byte","b":[4,4,4,4,4,4,4,4],"x":[32813]},{"a":13769,"t":"byte","b":[7,4,4,4,4,4,4,4]},{"a":13777,"t":"byte","b":[4,4,4,4,4,7,8,11]},{"a":13785,"t":"byte","b":[13,13,8,15,15,8,11,11]},{"a":13793,"t":"byte","b":[11,11,11,11,15,15,11,11]},{"a":13801,"t":"byte","b":[5,5,5,5,1,1,1,1]},{"a":13809,"t":"byte","b":[1,1,1,1,1,0,3,3]},{"a":13817,"t":"byte","b":[1,3,3,1,3,3,8,11]},{"a":13825,"t":"byte","b":[13,13,8,15,15,8,11,11]},{"a":13833,"t":"byte","b":[11,11,3,3,3,3,3,11]},{"a":13841,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":13849,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":13857,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":13865,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":13873,"t":"byte","b":[11,3]},{"a":13875,"l":"rle_terminal_chars","c":"The security terminal's screen as run-length pairs (count, character), read by security_terminal for 25 rows of 40.","t":"byte","b":[2],"x":[40461]},{"a":13876,"l":"rle_terminal_values","c":"The character bytes of rle_terminal_chars' pairs, read with `lda $3634,x` beside the counts at $3633.","t":"byte","b":[40,33,96,2,40,1,40,1],"x":[40457]},{"a":13884,"t":"byte","b":[96,30,40,0,97,1,96,1]},{"a":13892,"t":"byte","b":[40,1,40,1,96,0,40,0]},{"a":13900,"t":"byte","b":[98,27,99,0,100,0,101,1]},{"a":13908,"t":"byte","b":[96,1,40,1,40,1,96,0]},{"a":13916,"t":"byte","b":[40,0,102,27,83,0,103,0]},{"a":13924,"t":"byte","b":[101,1,96,1,40,1,40,1]},{"a":13932,"t":"byte","b":[96,0,40,0,102,27,83,0]},{"a":13940,"t":"byte","b":[103,0,101,1,96,1,40,1]},{"a":13948,"t":"byte","b":[40,1,96,0,40,0,102,27]},{"a":13956,"t":"byte","b":[83,0,103,0,101,1,96,1]},{"a":13964,"t":"byte","b":[40,1,40,1,96,0,40,0]},{"a":13972,"t":"byte","b":[102,27,83,0,103,0,101,1]},{"a":13980,"t":"byte","b":[96,1,40,1,40,1,96,0]},{"a":13988,"t":"byte","b":[40,0,102,27,83,0,103,0]},{"a":13996,"t":"byte","b":[101,1,96,1,40,1,40,1]},{"a":14004,"t":"byte","b":[96,0,40,0,102,27,83,0]},{"a":14012,"t":"byte","b":[103,0,101,1,96,1,40,1]},{"a":14020,"t":"byte","b":[40,1,96,0,40,0,102,27]},{"a":14028,"t":"byte","b":[83,0,103,0,101,1,96,1]},{"a":14036,"t":"byte","b":[40,1,40,1,96,0,40,0]},{"a":14044,"t":"byte","b":[102,27,83,0,103,0,101,1]},{"a":14052,"t":"byte","b":[96,1,40,1,40,1,96,0]},{"a":14060,"t":"byte","b":[40,0,102,27,83,0,103,0]},{"a":14068,"t":"byte","b":[101,1,96,1,40,1,40,1]},{"a":14076,"t":"byte","b":[96,0,40,0,102,27,83,0]},{"a":14084,"t":"byte","b":[103,0,101,1,96,1,40,1]},{"a":14092,"t":"byte","b":[40,1,96,0,40,0,102,27]},{"a":14100,"t":"byte","b":[83,0,103,0,101,1,96,1]},{"a":14108,"t":"byte","b":[40,1,40,1,96,0,40,0]},{"a":14116,"t":"byte","b":[102,27,83,0,103,0,101,1]},{"a":14124,"t":"byte","b":[96,1,40,1,40,1,96,0]},{"a":14132,"t":"byte","b":[40,0,102,27,83,0,103,0]},{"a":14140,"t":"byte","b":[101,1,96,1,40,1,40,1]},{"a":14148,"t":"byte","b":[96,0,40,0,102,27,83,0]},{"a":14156,"t":"byte","b":[103,0,101,1,96,1,40,1]},{"a":14164,"t":"byte","b":[40,1,96,0,40,0,102,27]},{"a":14172,"t":"byte","b":[83,0,103,0,101,1,96,1]},{"a":14180,"t":"byte","b":[40,1,40,1,96,0,40,0]},{"a":14188,"t":"byte","b":[104,27,105,0,106,0,101,1]},{"a":14196,"t":"byte","b":[96,1,40,1,40,1,96,0]},{"a":14204,"t":"byte","b":[107,30,101,1,96,1,40,2]},{"a":14212,"t":"byte","b":[40,33,96,2,40,39,40,0]},{"a":14220,"t":"byte","b":[40,0,108,0,109,4,101,23]},{"a":14228,"t":"byte","b":[40,4,101,0,110,0,111,0]},{"a":14236,"t":"byte","b":[40,0,109,6,101,23,40,6]},{"a":14244,"t":"byte","b":[101,0,110,39,112]},{"a":14249,"l":"rle_terminal_colours","c":"The terminal screen's colours as run-length pairs (count, colour; $FF = the room's colour).","t":"byte","b":[39],"x":[40500]},{"a":14250,"l":"rle_terminal_colour_values","c":"The colour bytes of rle_terminal_colours' pairs.","t":"byte","b":[255,3,255,31,8,3,255,3],"x":[40492]},{"a":14258,"t":"byte","b":[255,31,8,3,255,3,255,1]},{"a":14266,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14274,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14282,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14290,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14298,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14306,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14314,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14322,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14330,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14338,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14346,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14354,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14362,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14370,"t":"byte","b":[8,27,7,5,255,3,255,1]},{"a":14378,"t":"byte","b":[8,27,7,5,255,3,255,31]},{"a":14386,"t":"byte","b":[8,3,255,3,255,31,8,3]},{"a":14394,"t":"byte","b":[255,39,255,7,255,23,8,7]},{"a":14402,"t":"byte","b":[255,7,255,23,8,7,255,7]},{"a":14410,"t":"byte","b":[255,23,8,7,255,39,8,72]},{"a":14418,"t":"byte","b":[73,73,64]},{"a":14421,"l":"game_start","c":"The game's entry, where the loader's unpacker jumps with $01 = $25. In the image as loaded, $3855-$3865 held `lda #$60 / sta $DD03` (CIA 2 port B direction = $60, the `rts` opcode that wait_ticks executes at $DD03), NMI RAM vector $0318 = $3854, `sei / cld`; the loop at $389C clears those 17 bytes with the sprite registers, so in play they read as zeros. Then: builds a table at $CF00 ($71C0, $3875 loop), detects PAL or NTSC ($3FB9), clears zero page $10-$DA and the SID, sets up the variables, banks the KERNAL out ($01 = $25), installs the IRQ ($82F4, via $BEC2) and the temporary IRQ $8396, enables the raster interrupt, builds the bit-reversal table at $C500, selects video bank 1 ($DD00), screen $4000 and character set $4800, copies the letters and digits of the character ROM into both character sets, draws the pocket computer and the lift, and falls into the lift loop at $39CF.","t":"code","b":[0],"m":"brk","x":[14495]},{"a":14422,"t":"code","b":[0],"m":"brk"},{"a":14423,"t":"code","b":[0],"m":"brk"},{"a":14424,"t":"code","b":[0],"m":"brk"},{"a":14425,"t":"code","b":[0],"m":"brk"},{"a":14426,"t":"code","b":[0],"m":"brk"},{"a":14427,"t":"code","b":[0],"m":"brk"},{"a":14428,"t":"code","b":[0],"m":"brk"},{"a":14429,"t":"code","b":[0],"m":"brk"},{"a":14430,"t":"code","b":[0],"m":"brk"},{"a":14431,"t":"code","b":[0],"m":"brk"},{"a":14432,"t":"code","b":[0],"m":"brk"},{"a":14433,"t":"code","b":[0],"m":"brk"},{"a":14434,"t":"code","b":[0],"m":"brk"},{"a":14435,"t":"code","b":[0],"m":"brk"},{"a":14436,"t":"code","b":[0],"m":"brk"},{"a":14437,"t":"code","b":[0],"m":"brk"},{"a":14438,"t":"code","b":[120],"m":"sei"},{"a":14439,"t":"code","b":[216],"m":"cld"},{"a":14440,"t":"code","b":[32,192,113],"m":"jsr","oa":29120,"o":"move_high_tables"},{"a":14443,"t":"code","b":[169,220],"m":"lda","o":"#$DC"},{"a":14445,"t":"code","b":[162,127],"m":"ldx","o":"#$7F"},{"a":14447,"l":"b_386F","t":"code","b":[157,0,207],"m":"sta","oa":52992,"o":"f_CF00,x","x":[14451]},{"a":14450,"t":"code","b":[202],"m":"dex"},{"a":14451,"t":"code","b":[16,250],"m":"bpl","oa":14447,"o":"b_386F"},{"a":14453,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":14455,"l":"b_3877","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[14471]},{"a":14457,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":14459,"l":"b_387B","t":"code","b":[153,0,207],"m":"sta","oa":52992,"o":"f_CF00,y","x":[14464]},{"a":14462,"t":"code","b":[136],"m":"dey"},{"a":14463,"t":"code","b":[202],"m":"dex"},{"a":14464,"t":"code","b":[16,249],"m":"bpl","oa":14459,"o":"b_387B"},{"a":14466,"t":"code","b":[152],"m":"tya"},{"a":14467,"t":"code","b":[24],"m":"clc"},{"a":14468,"t":"code","b":[105,11],"m":"adc","o":"#$0B"},{"a":14470,"t":"code","b":[168],"m":"tay"},{"a":14471,"t":"code","b":[16,238],"m":"bpl","oa":14455,"o":"b_3877"},{"a":14473,"t":"code","b":[32,185,63],"m":"jsr","oa":16313,"o":"detect_pal"},{"a":14476,"l":"j_388C","t":"code","b":[120],"m":"sei","x":[47268]},{"a":14477,"t":"code","b":[216],"m":"cld"},{"a":14478,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":14480,"t":"code","b":[154],"m":"txs"},{"a":14481,"t":"code","b":[232],"m":"inx"},{"a":14482,"t":"code","b":[138],"m":"txa"},{"a":14483,"l":"b_3893","t":"code","b":[149,16],"m":"sta","oa":16,"o":"ptr_a,x","x":[14488]},{"a":14485,"t":"code","b":[232],"m":"inx"},{"a":14486,"t":"code","b":[224,219],"m":"cpx","o":"#$DB"},{"a":14488,"t":"code","b":[144,249],"m":"bcc","oa":14483,"o":"b_3893"},{"a":14490,"t":"code","b":[162,16],"m":"ldx","o":"#$10"},{"a":14492,"l":"b_389C","t":"code","b":[157,2,208],"m":"sta","o":"vic_sprite1_x,x","x":[14499]},{"a":14495,"t":"code","b":[157,85,56],"m":"sta","oa":14421,"o":"game_start,x"},{"a":14498,"t":"code","b":[202],"m":"dex"},{"a":14499,"t":"code","b":[16,247],"m":"bpl","oa":14492,"o":"b_389C"},{"a":14501,"t":"code","b":[142,21,208],"m":"stx","o":"vic_sprite_enable"},{"a":14504,"t":"code","b":[162,28],"m":"ldx","o":"#$1C"},{"a":14506,"l":"b_38AA","t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x","x":[14510]},{"a":14509,"t":"code","b":[202],"m":"dex"},{"a":14510,"t":"code","b":[16,250],"m":"bpl","oa":14506,"o":"b_38AA"},{"a":14512,"t":"code","b":[134,32],"m":"stx","oa":32,"o":"door_left"},{"a":14514,"t":"code","b":[134,31],"m":"stx","oa":31,"o":"door_right"},{"a":14516,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":14518,"t":"code","b":[134,225],"m":"stx","oa":225,"o":"noise"},{"a":14520,"t":"code","b":[134,227],"m":"stx","oa":227,"o":"random2"},{"a":14522,"t":"code","b":[232],"m":"inx"},{"a":14523,"t":"code","b":[134,117],"m":"stx","oa":117,"o":"code_level_11"},{"a":14525,"t":"code","b":[134,118],"m":"stx","oa":118,"o":"code_level_1b"},{"a":14527,"t":"code","b":[232],"m":"inx"},{"a":14528,"t":"code","b":[134,64],"m":"stx","oa":64,"o":"agent_speed"},{"a":14530,"t":"code","b":[169,127],"m":"lda","o":"#$7F"},{"a":14532,"t":"code","b":[141,13,220],"m":"sta","o":"cia1_interrupt"},{"a":14535,"t":"code","b":[173,13,220],"m":"lda","o":"cia1_interrupt"},{"a":14538,"t":"code","b":[169,47],"m":"lda","o":"#$2F"},{"a":14540,"t":"code","b":[133,0],"m":"sta","oa":0,"o":"cpu_ddr"},{"a":14542,"t":"code","b":[169,37],"m":"lda","o":"#$25"},{"a":14544,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":14546,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":14549,"t":"code","b":[32,194,190],"m":"jsr","oa":48834,"o":"irq_normal"},{"a":14552,"t":"code","b":[169,150],"m":"lda","o":"#$96"},{"a":14554,"t":"code","b":[141,254,255],"m":"sta","oa":65534,"o":"$FFFE"},{"a":14557,"t":"code","b":[169,131],"m":"lda","o":"#$83"},{"a":14559,"t":"code","b":[141,255,255],"m":"sta","oa":65535,"o":"$FFFF"},{"a":14562,"t":"code","b":[169,170],"m":"lda","o":"#$AA"},{"a":14564,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":14567,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":14569,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":14572,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":14574,"t":"code","b":[142,26,208],"m":"stx","o":"vic_irq_enable"},{"a":14577,"t":"code","b":[88],"m":"cli"},{"a":14578,"t":"code","b":[202],"m":"dex"},{"a":14579,"l":"b_38F3","t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1","x":[14593]},{"a":14581,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":14583,"l":"b_38F7","t":"code","b":[6,228],"m":"asl","oa":228,"o":"tmp1","x":[14587]},{"a":14585,"t":"code","b":[106],"m":"ror","o":"a"},{"a":14586,"t":"code","b":[136],"m":"dey"},{"a":14587,"t":"code","b":[16,250],"m":"bpl","oa":14583,"o":"b_38F7"},{"a":14589,"t":"code","b":[157,0,197],"m":"sta","oa":50432,"o":"f_C500,x"},{"a":14592,"t":"code","b":[232],"m":"inx"},{"a":14593,"t":"code","b":[208,240],"m":"bne","oa":14579,"o":"b_38F3"},{"a":14595,"t":"code","b":[142,16,208],"m":"stx","o":"vic_sprite_x_msb"},{"a":14598,"t":"code","b":[134,50],"m":"stx","oa":50,"o":"agent_xbits"},{"a":14600,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":14603,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":14605,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":14608,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":14611,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":14613,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":14615,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":14618,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":14620,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":14623,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":14625,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":14628,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":14630,"l":"b_3926","t":"code","b":[169,172],"m":"lda","o":"#$AC","x":[14647]},{"a":14632,"t":"code","b":[157,2,208],"m":"sta","o":"vic_sprite1_x,x"},{"a":14635,"t":"code","b":[149,44],"m":"sta","oa":44,"o":"agent_x,x"},{"a":14637,"t":"code","b":[189,240,78],"m":"lda","oa":20208,"o":"tbl_start_sprite_y,x"},{"a":14640,"t":"code","b":[157,3,208],"m":"sta","o":"vic_sprite1_y,x"},{"a":14643,"t":"code","b":[149,45],"m":"sta","oa":45,"o":"agent_y,x"},{"a":14645,"t":"code","b":[202],"m":"dex"},{"a":14646,"t":"code","b":[202],"m":"dex"},{"a":14647,"t":"code","b":[16,237],"m":"bpl","oa":14630,"o":"b_3926"},{"a":14649,"t":"code","b":[32,24,151],"m":"jsr","oa":38680,"o":"agent_reset_sprites"},{"a":14652,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":14654,"t":"code","b":[133,63],"m":"sta","oa":63,"o":"agent_frame_no"},{"a":14656,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":14658,"t":"code","b":[133,80],"m":"sta","oa":80,"o":"facing"},{"a":14660,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":14662,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":14665,"t":"code","b":[32,189,178],"m":"jsr","oa":45757,"o":"make_map"},{"a":14668,"t":"code","b":[32,148,114],"m":"jsr","oa":29332,"o":"reset_counters_text"},{"a":14671,"t":"code","b":[32,162,114],"m":"jsr","oa":29346,"o":"draw_shaft_view"},{"a":14674,"t":"code","b":[32,87,120],"m":"jsr","oa":30807,"o":"draw_corridor_marker"},{"a":14677,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":14679,"t":"code","b":[133,33],"m":"sta","oa":33,"o":"colour_a"},{"a":14681,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":14683,"t":"code","b":[133,34],"m":"sta","oa":34,"o":"colour_b"},{"a":14685,"t":"code","b":[32,239,175],"m":"jsr","oa":45039,"o":"lift_car_sprites"},{"a":14688,"t":"code","b":[169,18],"m":"lda","o":"#$12"},{"a":14690,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"clock_hours"},{"a":14692,"t":"code","b":[120],"m":"sei"},{"a":14693,"t":"code","b":[169,33],"m":"lda","o":"#$21"},{"a":14695,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":14697,"t":"code","b":[160,207],"m":"ldy","o":"#$CF"},{"a":14699,"l":"b_396B","t":"code","b":[185,8,208],"m":"lda","o":"vic_sprite4_x,y","x":[14711]},{"a":14702,"t":"code","b":[153,48,91],"m":"sta","oa":23344,"o":"f_5B30,y"},{"a":14705,"t":"code","b":[153,136,75],"m":"sta","oa":19336,"o":"f_4B88,y"},{"a":14708,"t":"code","b":[136],"m":"dey"},{"a":14709,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":14711,"t":"code","b":[208,242],"m":"bne","oa":14699,"o":"b_396B"},{"a":14713,"t":"code","b":[132,109],"m":"sty","oa":109,"o":"ball_off"},{"a":14715,"t":"code","b":[140,245,78],"m":"sty","oa":20213,"o":"a_4EF5"},{"a":14718,"t":"code","b":[160,79],"m":"ldy","o":"#$4F"},{"a":14720,"l":"b_3980","t":"code","b":[185,128,209],"m":"lda","o":"$D180,y","x":[14730]},{"a":14723,"t":"code","b":[153,0,92],"m":"sta","oa":23552,"o":"f_5C00,y"},{"a":14726,"t":"code","b":[153,88,76],"m":"sta","oa":19544,"o":"f_4C58,y"},{"a":14729,"t":"code","b":[136],"m":"dey"},{"a":14730,"t":"code","b":[16,244],"m":"bpl","oa":14720,"o":"b_3980"},{"a":14732,"t":"code","b":[169,37],"m":"lda","o":"#$25"},{"a":14734,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":14736,"t":"code","b":[88],"m":"cli"},{"a":14737,"t":"code","b":[32,54,114],"m":"jsr","oa":29238,"o":"new_game_setup"},{"a":14740,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":14742,"t":"code","b":[168],"m":"tay"},{"a":14743,"l":"b_3997","t":"code","b":[153,80,92],"m":"sta","oa":23632,"o":"f_5C50,y","x":[14756]},{"a":14746,"t":"code","b":[153,80,93],"m":"sta","oa":23888,"o":"f_5D50,y"},{"a":14749,"t":"code","b":[153,80,94],"m":"sta","oa":24144,"o":"f_5E50,y"},{"a":14752,"t":"code","b":[153,176,94],"m":"sta","oa":24240,"o":"f_5EB0,y"},{"a":14755,"t":"code","b":[200],"m":"iny"},{"a":14756,"t":"code","b":[208,241],"m":"bne","oa":14743,"o":"b_3997"},{"a":14758,"t":"code","b":[169,207],"m":"lda","o":"#$CF"},{"a":14760,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":14763,"t":"code","b":[32,28,115],"m":"jsr","oa":29468,"o":"draw_rock"},{"a":14766,"c":"The start-up's greeting: voice line 2, a wait of 32 ticks, then voice line 3, spoken after the load and after every restart, before the title state; the agent has not been shown a room yet.","t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":14768,"t":"code","b":[32,217,190],"m":"jsr","oa":48857,"o":"say_line"},{"a":14771,"t":"code","b":[88],"m":"cli"},{"a":14772,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":14774,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":14777,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":14779,"t":"code","b":[32,217,190],"m":"jsr","oa":48857,"o":"say_line"},{"a":14782,"t":"code","b":[88],"m":"cli"},{"a":14783,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":14786,"t":"code","b":[32,229,114],"m":"jsr","oa":29413,"o":"draw_pocket_computer"},{"a":14789,"t":"code","b":[32,24,114],"m":"jsr","oa":29208,"o":"clear_message"},{"a":14792,"t":"code","b":[32,194,190],"m":"jsr","oa":48834,"o":"irq_normal"},{"a":14795,"t":"code","b":[88],"m":"cli"},{"a":14796,"t":"code","b":[32,69,182],"m":"jsr","oa":46661,"o":"show_map"},{"a":14799,"l":"lift_loop","c":"The loop that runs while the agent is in a lift or a corridor (also the title state, where the game waits in the lift): every pass waits for the frame ($83F4), updates the agent ($73E4) and fades the sound effect on voices 1 and 2 ($25/$26). Fire (debounced by $DE) with $3F = $0E opens the pocket computer ($3A80). With the agent's sprite inside the lift car (sprite 1 X $A2-$B6, high bit clear) and $3F = $0E, up on the stick moves the lift up ($8592) and down moves it down ($855C) until it stops at a floor ($1F/$20 = $0B); otherwise the agent walks ($860B).","t":"code","b":[32,244,131],"m":"jsr","oa":33780,"o":"wait_tick_or_end","x":[14899,14959,15786,35908]},{"a":14802,"t":"code","b":[32,228,115],"m":"jsr","oa":29668,"o":"show_map_marker"},{"a":14805,"t":"code","b":[165,37],"m":"lda","oa":37,"o":"lift_pitch1"},{"a":14807,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":14810,"t":"code","b":[208,9],"m":"bne","oa":14821,"o":"b_39E5"},{"a":14812,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":14815,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":14818,"t":"code","b":[76,246,57],"m":"jmp","oa":14838,"o":"j_39F6"},{"a":14821,"l":"b_39E5","t":"code","b":[56],"m":"sec","x":[14810]},{"a":14822,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":14824,"t":"code","b":[133,37],"m":"sta","oa":37,"o":"lift_pitch1"},{"a":14826,"t":"code","b":[165,38],"m":"lda","oa":38,"o":"lift_pitch2"},{"a":14828,"t":"code","b":[240,5],"m":"beq","oa":14835,"o":"b_39F3"},{"a":14830,"t":"code","b":[56],"m":"sec"},{"a":14831,"t":"code","b":[233,3],"m":"sbc","o":"#$03"},{"a":14833,"t":"code","b":[133,38],"m":"sta","oa":38,"o":"lift_pitch2"},{"a":14835,"l":"b_39F3","t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi","x":[14828]},{"a":14838,"l":"j_39F6","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[14818]},{"a":14841,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":14843,"t":"code","b":[208,23],"m":"bne","oa":14868,"o":"b_3A14"},{"a":14845,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"fire_held"},{"a":14847,"t":"code","b":[208,23],"m":"bne","oa":14872,"o":"b_3A18"},{"a":14849,"t":"code","b":[230,222],"m":"inc","oa":222,"o":"fire_held"},{"a":14851,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":14853,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":14855,"t":"code","b":[208,2],"m":"bne","oa":14859,"o":"b_3A0B"},{"a":14857,"t":"code","b":[240,117],"m":"beq","oa":14976,"o":"pocket_computer"},{"a":14859,"l":"b_3A0B","t":"code","b":[201,16],"m":"cmp","o":"#$10","x":[14855]},{"a":14861,"t":"code","b":[176,9],"m":"bcs","oa":14872,"o":"b_3A18"},{"a":14863,"t":"code","b":[230,81],"m":"inc","oa":81,"o":"fire_count"},{"a":14865,"t":"code","b":[76,24,58],"m":"jmp","oa":14872,"o":"b_3A18"},{"a":14868,"l":"b_3A14","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[14843]},{"a":14870,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"fire_held"},{"a":14872,"l":"b_3A18","t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb","x":[14847,14861,14865]},{"a":14875,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":14877,"t":"code","b":[208,17],"m":"bne","oa":14896,"o":"b_3A30"},{"a":14879,"t":"code","b":[173,2,208],"m":"lda","o":"vic_sprite1_x"},{"a":14882,"t":"code","b":[201,162],"m":"cmp","o":"#$A2"},{"a":14884,"t":"code","b":[144,10],"m":"bcc","oa":14896,"o":"b_3A30"},{"a":14886,"t":"code","b":[201,183],"m":"cmp","o":"#$B7"},{"a":14888,"t":"code","b":[176,6],"m":"bcs","oa":14896,"o":"b_3A30"},{"a":14890,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":14892,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":14894,"t":"code","b":[240,6],"m":"beq","oa":14902,"o":"b_3A36"},{"a":14896,"l":"b_3A30","t":"code","b":[32,11,134],"m":"jsr","oa":34315,"o":"agent_update","x":[14877,14884,14888,14909]},{"a":14899,"t":"code","b":[76,207,57],"m":"jmp","oa":14799,"o":"lift_loop"},{"a":14902,"l":"b_3A36","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[14894,14931,14937,14966,14972]},{"a":14905,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":14906,"t":"code","b":[144,34],"m":"bcc","oa":14942,"o":"b_3A5E"},{"a":14908,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":14909,"t":"code","b":[176,241],"m":"bcs","oa":14896,"o":"b_3A30"},{"a":14911,"l":"j_3A3F","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[14939,14947]},{"a":14914,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":14915,"t":"code","b":[144,25],"m":"bcc","oa":14942,"o":"b_3A5E"},{"a":14917,"t":"code","b":[32,146,133],"m":"jsr","oa":34194,"o":"lift_up"},{"a":14920,"t":"code","b":[32,228,115],"m":"jsr","oa":29668,"o":"show_map_marker"},{"a":14923,"t":"code","b":[165,30],"m":"lda","oa":30,"o":"corridor_above"},{"a":14925,"t":"code","b":[208,32],"m":"bne","oa":14959,"o":"b_3A6F"},{"a":14927,"t":"code","b":[165,31],"m":"lda","oa":31,"o":"door_right"},{"a":14929,"t":"code","b":[201,11],"m":"cmp","o":"#$0B"},{"a":14931,"t":"code","b":[240,225],"m":"beq","oa":14902,"o":"b_3A36"},{"a":14933,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"door_left"},{"a":14935,"t":"code","b":[201,11],"m":"cmp","o":"#$0B"},{"a":14937,"t":"code","b":[240,219],"m":"beq","oa":14902,"o":"b_3A36"},{"a":14939,"t":"code","b":[76,63,58],"m":"jmp","oa":14911,"o":"j_3A3F"},{"a":14942,"l":"b_3A5E","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[14906,14915,14974]},{"a":14945,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":14947,"t":"code","b":[240,218],"m":"beq","oa":14911,"o":"j_3A3F"},{"a":14949,"t":"code","b":[32,92,133],"m":"jsr","oa":34140,"o":"lift_down"},{"a":14952,"t":"code","b":[32,228,115],"m":"jsr","oa":29668,"o":"show_map_marker"},{"a":14955,"t":"code","b":[165,29],"m":"lda","oa":29,"o":"corridor_below"},{"a":14957,"t":"code","b":[240,3],"m":"beq","oa":14962,"o":"b_3A72"},{"a":14959,"l":"b_3A6F","t":"code","b":[76,207,57],"m":"jmp","oa":14799,"o":"lift_loop","x":[14925]},{"a":14962,"l":"b_3A72","t":"code","b":[165,31],"m":"lda","oa":31,"o":"door_right","x":[14957]},{"a":14964,"t":"code","b":[201,11],"m":"cmp","o":"#$0B"},{"a":14966,"t":"code","b":[240,190],"m":"beq","oa":14902,"o":"b_3A36"},{"a":14968,"t":"code","b":[165,32],"m":"lda","oa":32,"o":"door_left"},{"a":14970,"t":"code","b":[201,11],"m":"cmp","o":"#$0B"},{"a":14972,"t":"code","b":[240,184],"m":"beq","oa":14902,"o":"b_3A36"},{"a":14974,"t":"code","b":[208,222],"m":"bne","oa":14942,"o":"b_3A5E"},{"a":14976,"l":"pocket_computer","c":"Opens the pocket computer: clears sprites 4-6's high and multicolour bits, restores the panel ($7218), copies the puzzle display graphics into character set $5800 ($3E16), sounds a tone, draws the map and pieces ($7427, $8025), shows the hand pointer ($3E39) and the selected piece's frame ($3E9D, $3ED0). Then loops at $3AAF: waits for the frame, moves the hand with the stick ($3DC2), and on fire acts on the button under the hand. $9F says what the hand is doing: 0 = choosing a button, 1 = moving a piece in the display ($7D4C), 2 or more = dragging ($7D8C).","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[14857]},{"a":14979,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":14982,"t":"code","b":[41,207],"m":"and","o":"#$CF"},{"a":14984,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":14987,"t":"code","b":[173,28,208],"m":"lda","o":"vic_sprite_multicolour"},{"a":14990,"t":"code","b":[41,143],"m":"and","o":"#$8F"},{"a":14992,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":14995,"t":"code","b":[32,24,114],"m":"jsr","oa":29208,"o":"clear_message"},{"a":14998,"t":"code","b":[32,22,62],"m":"jsr","oa":15894,"o":"copy_display_chars"},{"a":15001,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":15003,"t":"code","b":[162,121],"m":"ldx","o":"#$79"},{"a":15005,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":15008,"t":"code","b":[32,39,116],"m":"jsr","oa":29735,"o":"paint_slots"},{"a":15011,"t":"code","b":[32,37,128],"m":"jsr","oa":32805,"o":"show_status_line"},{"a":15014,"t":"code","b":[32,57,62],"m":"jsr","oa":15929,"o":"show_hand"},{"a":15017,"t":"code","b":[32,157,62],"m":"jsr","oa":16029,"o":"show_slot_frame"},{"a":15020,"t":"code","b":[32,208,62],"m":"jsr","oa":16080,"o":"show_memory_frame"},{"a":15023,"l":"pocket_computer_loop","c":"Main loop of the pocket computer (see $3A80). On a fresh fire press with $9F = 0, the hand's position (sprite 4: X/2 in X, Y in Y) is compared with the button grid: the right-hand block of nine at X/2 $84-$9F, Y $B1-$E8, handled from $3BDB; the three keys on the left at X/2 $13-$1B ($3C44); the four piece slots of the display ($3C74).","t":"code","b":[32,244,131],"m":"jsr","oa":33780,"o":"wait_tick_or_end","x":[15075,15098,15138,15161,15178,15236,15320,15425,15455,15464,15473,15562,15700,15712,15724,15733,15752,15761,15807]},{"a":15026,"t":"code","b":[165,159],"m":"lda","oa":159,"o":"hand_mode"},{"a":15028,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":15030,"t":"code","b":[176,5],"m":"bcs","oa":15037,"o":"b_3ABD"},{"a":15032,"t":"code","b":[8],"m":"php"},{"a":15033,"t":"code","b":[32,38,133],"m":"jsr","oa":34086,"o":"draw_clock"},{"a":15036,"t":"code","b":[40],"m":"plp"},{"a":15037,"l":"b_3ABD","t":"code","b":[208,3],"m":"bne","oa":15042,"o":"b_3AC2","x":[15030]},{"a":15039,"t":"code","b":[32,76,125],"m":"jsr","oa":32076,"o":"phone_sound_setup"},{"a":15042,"l":"b_3AC2","t":"code","b":[32,194,61],"m":"jsr","oa":15810,"o":"move_hand","x":[15037]},{"a":15045,"t":"code","b":[165,159],"m":"lda","oa":159,"o":"hand_mode"},{"a":15047,"t":"code","b":[208,15],"m":"bne","oa":15064,"o":"b_3AD8"},{"a":15049,"t":"code","b":[173,8,208],"m":"lda","o":"vic_sprite4_x"},{"a":15052,"t":"code","b":[24],"m":"clc"},{"a":15053,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":15055,"t":"code","b":[141,10,208],"m":"sta","o":"vic_sprite5_x"},{"a":15058,"t":"code","b":[173,9,208],"m":"lda","o":"vic_sprite4_y"},{"a":15061,"t":"code","b":[141,11,208],"m":"sta","o":"vic_sprite5_y"},{"a":15064,"l":"b_3AD8","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[15047]},{"a":15067,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":15069,"t":"code","b":[240,7],"m":"beq","oa":15078,"o":"b_3AE6"},{"a":15071,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":15073,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"fire_held"},{"a":15075,"l":"b_3AE3","t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop","x":[15080]},{"a":15078,"l":"b_3AE6","t":"code","b":[165,222],"m":"lda","oa":222,"o":"fire_held","x":[15069]},{"a":15080,"t":"code","b":[208,249],"m":"bne","oa":15075,"o":"b_3AE3"},{"a":15082,"t":"code","b":[230,222],"m":"inc","oa":222,"o":"fire_held"},{"a":15084,"t":"code","b":[165,159],"m":"lda","oa":159,"o":"hand_mode"},{"a":15086,"t":"code","b":[240,13],"m":"beq","oa":15101,"o":"b_3AFD"},{"a":15088,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":15090,"t":"code","b":[176,3],"m":"bcs","oa":15095,"o":"b_3AF7"},{"a":15092,"t":"code","b":[76,219,59],"m":"jmp","oa":15323,"o":"pc_button_grid"},{"a":15095,"l":"b_3AF7","t":"code","b":[32,140,125],"m":"jsr","oa":32140,"o":"phone_menu_click","x":[15090]},{"a":15098,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15101,"l":"b_3AFD","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[15086]},{"a":15103,"t":"code","b":[173,9,208],"m":"lda","o":"vic_sprite4_y"},{"a":15106,"t":"code","b":[201,184],"m":"cmp","o":"#$B8"},{"a":15108,"t":"code","b":[144,6],"m":"bcc","oa":15116,"o":"b_3B0C"},{"a":15110,"t":"code","b":[201,197],"m":"cmp","o":"#$C5"},{"a":15112,"t":"code","b":[144,24],"m":"bcc","oa":15138,"o":"b_3B22"},{"a":15114,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":15116,"l":"b_3B0C","t":"code","b":[173,8,208],"m":"lda","o":"vic_sprite4_x","x":[15108]},{"a":15119,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":15120,"t":"code","b":[201,50],"m":"cmp","o":"#$32"},{"a":15122,"t":"code","b":[144,17],"m":"bcc","oa":15141,"o":"b_3B25"},{"a":15124,"t":"code","b":[200],"m":"iny"},{"a":15125,"t":"code","b":[201,68],"m":"cmp","o":"#$44"},{"a":15127,"t":"code","b":[144,9],"m":"bcc","oa":15138,"o":"b_3B22"},{"a":15129,"t":"code","b":[201,78],"m":"cmp","o":"#$4E"},{"a":15131,"t":"code","b":[144,8],"m":"bcc","oa":15141,"o":"b_3B25"},{"a":15133,"t":"code","b":[200],"m":"iny"},{"a":15134,"t":"code","b":[201,95],"m":"cmp","o":"#$5F"},{"a":15136,"t":"code","b":[176,3],"m":"bcs","oa":15141,"o":"b_3B25"},{"a":15138,"l":"b_3B22","t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop","x":[15112,15127]},{"a":15141,"l":"b_3B25","t":"code","b":[196,144],"m":"cpy","oa":144,"o":"carried_slot","x":[15122,15131,15136]},{"a":15143,"t":"code","b":[208,19],"m":"bne","oa":15164,"o":"b_3B3C"},{"a":15145,"t":"code","b":[169,150],"m":"lda","o":"#$96"},{"a":15147,"t":"code","b":[162,139],"m":"ldx","o":"#$8B"},{"a":15149,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":15152,"t":"code","b":[32,98,62],"m":"jsr","oa":15970,"o":"show_hand_at_slot"},{"a":15155,"t":"code","b":[32,157,62],"m":"jsr","oa":16029,"o":"show_slot_frame"},{"a":15158,"t":"code","b":[32,208,62],"m":"jsr","oa":16080,"o":"show_memory_frame"},{"a":15161,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15164,"l":"b_3B3C","t":"code","b":[152],"m":"tya","x":[15143]},{"a":15165,"t":"code","b":[240,4],"m":"beq","oa":15171,"o":"b_3B43"},{"a":15167,"t":"code","b":[192,3],"m":"cpy","o":"#$03"},{"a":15169,"t":"code","b":[208,10],"m":"bne","oa":15181,"o":"pc_select_slot"},{"a":15171,"l":"b_3B43","t":"code","b":[169,44],"m":"lda","o":"#$2C","x":[15165]},{"a":15173,"t":"code","b":[162,193],"m":"ldx","o":"#$C1"},{"a":15175,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":15178,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15181,"l":"pc_select_slot","c":"Fire on one of the display's six piece slots (Y = slot): with a piece there, checks that its colour matches the one the hand carries ($D02C against the colour RAM under the slot, self-modified address from $7A55/$7A5B); a mismatch prints COLORS MUST MATCH ($821E), an overlap IMAGES CAN'T OVERLAP ($8234, tested by $8037). With no piece carried it plays the error tone. An empty slot takes the carried piece: marks it used ($92,y), paints the 6\u00d73 cells in colour RAM, plays a tone and redraws ($3F61, $3E39, $3E9D, $80C3, $3ED0).","t":"code","b":[185,85,122],"m":"lda","oa":31317,"o":"tbl_slot_colour_ram_lo,y","x":[15169]},{"a":15184,"t":"code","b":[141,102,59],"m":"sta","oa":15206,"o":"a_3B66"},{"a":15187,"t":"code","b":[185,91,122],"m":"lda","oa":31323,"o":"tbl_slot_colour_ram_hi,y"},{"a":15190,"t":"code","b":[141,103,59],"m":"sta","oa":15207,"o":"a_3B67"},{"a":15193,"t":"code","b":[185,146,0],"m":"lda","oa":146,"o":"slot_used,y"},{"a":15196,"t":"code","b":[240,41],"m":"beq","oa":15239,"o":"b_3B87"},{"a":15198,"t":"code","b":[173,44,208],"m":"lda","o":"vic_sprite5_colour"},{"a":15201,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":15203,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":15205,"t":"code","b":[173,0,216],"m":"lda","o":"colour_ram"},{"a":15206,"t":"note","l":"a_3B66","c":"Operand of `lda $D800` in pc_select_slot: the colour RAM address of the chosen slot's top-left cell, set from tbl_slot_colour_ram_lo ($3B50).","note":"inside the item at $3B65","x":[15184]},{"a":15207,"t":"note","l":"a_3B67","c":"High byte of the colour RAM address read by pc_select_slot, from tbl_slot_colour_ram_hi ($3B56).","note":"inside the item at $3B65","x":[15190]},{"a":15208,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":15210,"t":"code","b":[197,228],"m":"cmp","oa":228,"o":"tmp1"},{"a":15212,"t":"code","b":[240,6],"m":"beq","oa":15220,"o":"b_3B74"},{"a":15214,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":15216,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":15218,"t":"code","b":[208,9],"m":"bne","oa":15229,"o":"b_3B7D"},{"a":15220,"l":"b_3B74","t":"code","b":[32,55,128],"m":"jsr","oa":32823,"o":"test_overlap","x":[15212]},{"a":15223,"t":"code","b":[144,22],"m":"bcc","oa":15247,"o":"b_3B8F"},{"a":15225,"t":"code","b":[169,52],"m":"lda","o":"#$34"},{"a":15227,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":15229,"l":"b_3B7D","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[15218]},{"a":15231,"t":"code","b":[132,145],"m":"sty","oa":145,"o":"undo_slot"},{"a":15233,"t":"code","b":[32,197,129],"m":"jsr","oa":33221,"o":"show_message"},{"a":15236,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15239,"l":"b_3B87","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[15196]},{"a":15241,"t":"code","b":[133,145],"m":"sta","oa":145,"o":"undo_slot"},{"a":15243,"t":"code","b":[132,143],"m":"sty","oa":143,"o":"selected_slot"},{"a":15245,"t":"code","b":[48,5],"m":"bmi","oa":15252,"o":"b_3B94"},{"a":15247,"l":"b_3B8F","t":"code","b":[132,143],"m":"sty","oa":143,"o":"selected_slot","x":[15223]},{"a":15249,"t":"code","b":[32,137,122],"m":"jsr","oa":31369,"o":"save_undo"},{"a":15252,"l":"b_3B94","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[15245]},{"a":15254,"t":"code","b":[153,146,0],"m":"sta","oa":146,"o":"slot_used,y"},{"a":15257,"t":"code","b":[185,85,122],"m":"lda","oa":31317,"o":"tbl_slot_colour_ram_lo,y"},{"a":15260,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":15262,"t":"code","b":[185,91,122],"m":"lda","oa":31323,"o":"tbl_slot_colour_ram_hi,y"},{"a":15265,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":15267,"t":"code","b":[173,44,208],"m":"lda","o":"vic_sprite5_colour"},{"a":15270,"t":"code","b":[153,152,0],"m":"sta","oa":152,"o":"slot_colour,y"},{"a":15273,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":15275,"l":"b_3BAB","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[15296]},{"a":15277,"l":"b_3BAD","t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y","x":[15280]},{"a":15279,"t":"code","b":[136],"m":"dey"},{"a":15280,"t":"code","b":[16,251],"m":"bpl","oa":15277,"o":"b_3BAD"},{"a":15282,"t":"code","b":[168],"m":"tay"},{"a":15283,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":15285,"t":"code","b":[24],"m":"clc"},{"a":15286,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":15288,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":15290,"t":"code","b":[152],"m":"tya"},{"a":15291,"t":"code","b":[144,2],"m":"bcc","oa":15295,"o":"b_3BBF"},{"a":15293,"t":"code","b":[230,25],"m":"inc","oa":25,"o":"ptr_data_hi"},{"a":15295,"l":"b_3BBF","t":"code","b":[202],"m":"dex","x":[15291]},{"a":15296,"t":"code","b":[16,233],"m":"bpl","oa":15275,"o":"b_3BAB"},{"a":15298,"t":"code","b":[169,150],"m":"lda","o":"#$96"},{"a":15300,"t":"code","b":[162,139],"m":"ldx","o":"#$8B"},{"a":15302,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":15305,"t":"code","b":[32,97,63],"m":"jsr","oa":16225,"o":"draw_piece"},{"a":15308,"t":"code","b":[32,57,62],"m":"jsr","oa":15929,"o":"show_hand"},{"a":15311,"t":"code","b":[32,157,62],"m":"jsr","oa":16029,"o":"show_slot_frame"},{"a":15314,"t":"code","b":[32,195,128],"m":"jsr","oa":32963,"o":"check_solution"},{"a":15317,"t":"code","b":[32,208,62],"m":"jsr","oa":16080,"o":"show_memory_frame"},{"a":15320,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15323,"l":"pc_button_grid","c":"Decodes a fire on the right-hand block of nine buttons by the hand's X/2 (X) and Y (Y). Top row ($B1-$C0): $3D57, $3D63, $3D6F; middle row ($C9-$D8): $3D94 (switch off), $3D8B, $3D78; bottom row ($E1 on): $3DAD, $3DB1, $3DB5, the three colour keys.","t":"code","b":[224,132],"m":"cpx","o":"#$84","x":[15092]},{"a":15325,"t":"code","b":[176,3],"m":"bcs","oa":15330,"o":"b_3BE2"},{"a":15327,"t":"code","b":[76,116,60],"m":"jmp","oa":15476,"o":"pc_display_click"},{"a":15330,"l":"b_3BE2","t":"code","b":[192,177],"m":"cpy","o":"#$B1","x":[15325]},{"a":15332,"t":"code","b":[144,91],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15334,"t":"code","b":[192,193],"m":"cpy","o":"#$C1"},{"a":15336,"t":"code","b":[176,25],"m":"bcs","oa":15363,"o":"b_3C03"},{"a":15338,"t":"code","b":[224,140],"m":"cpx","o":"#$8C"},{"a":15340,"t":"code","b":[176,3],"m":"bcs","oa":15345,"o":"b_3BF1"},{"a":15342,"t":"code","b":[76,87,61],"m":"jmp","oa":15703,"o":"pc_btn_flip_v"},{"a":15345,"l":"b_3BF1","t":"code","b":[224,144],"m":"cpx","o":"#$90","x":[15340]},{"a":15347,"t":"code","b":[144,76],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15349,"t":"code","b":[224,152],"m":"cpx","o":"#$98"},{"a":15351,"t":"code","b":[176,3],"m":"bcs","oa":15356,"o":"b_3BFC"},{"a":15353,"t":"code","b":[76,99,61],"m":"jmp","oa":15715,"o":"pc_btn_flip_h"},{"a":15356,"l":"b_3BFC","t":"code","b":[224,156],"m":"cpx","o":"#$9C","x":[15351]},{"a":15358,"t":"code","b":[144,65],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15360,"t":"code","b":[76,111,61],"m":"jmp","oa":15727,"o":"pc_btn_clear"},{"a":15363,"l":"b_3C03","t":"code","b":[192,201],"m":"cpy","o":"#$C9","x":[15336]},{"a":15365,"t":"code","b":[144,58],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15367,"t":"code","b":[192,217],"m":"cpy","o":"#$D9"},{"a":15369,"t":"code","b":[176,25],"m":"bcs","oa":15396,"o":"b_3C24"},{"a":15371,"t":"code","b":[224,140],"m":"cpx","o":"#$8C"},{"a":15373,"t":"code","b":[176,3],"m":"bcs","oa":15378,"o":"b_3C12"},{"a":15375,"t":"code","b":[76,148,61],"m":"jmp","oa":15764,"o":"pc_btn_off"},{"a":15378,"l":"b_3C12","t":"code","b":[224,144],"m":"cpx","o":"#$90","x":[15373]},{"a":15380,"t":"code","b":[144,43],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15382,"t":"code","b":[224,152],"m":"cpx","o":"#$98"},{"a":15384,"t":"code","b":[176,3],"m":"bcs","oa":15389,"o":"b_3C1D"},{"a":15386,"t":"code","b":[76,139,61],"m":"jmp","oa":15755,"o":"pc_btn_undo"},{"a":15389,"l":"b_3C1D","t":"code","b":[224,156],"m":"cpx","o":"#$9C","x":[15384]},{"a":15391,"t":"code","b":[144,32],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15393,"t":"code","b":[76,120,61],"m":"jmp","oa":15736,"o":"pc_btn_pause"},{"a":15396,"l":"b_3C24","t":"code","b":[192,225],"m":"cpy","o":"#$E1","x":[15369]},{"a":15398,"t":"code","b":[144,25],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15400,"t":"code","b":[224,140],"m":"cpx","o":"#$8C"},{"a":15402,"t":"code","b":[176,3],"m":"bcs","oa":15407,"o":"b_3C2F"},{"a":15404,"t":"code","b":[76,173,61],"m":"jmp","oa":15789,"o":"pc_btn_colour"},{"a":15407,"l":"b_3C2F","t":"code","b":[224,144],"m":"cpx","o":"#$90","x":[15402]},{"a":15409,"t":"code","b":[144,14],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15411,"t":"code","b":[224,152],"m":"cpx","o":"#$98"},{"a":15413,"t":"code","b":[176,3],"m":"bcs","oa":15418,"o":"b_3C3A"},{"a":15415,"t":"code","b":[76,177,61],"m":"jmp","oa":15793,"o":"j_3DB1"},{"a":15418,"l":"b_3C3A","t":"code","b":[224,156],"m":"cpx","o":"#$9C","x":[15413]},{"a":15420,"t":"code","b":[144,3],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15422,"t":"code","b":[76,181,61],"m":"jmp","oa":15797,"o":"j_3DB5"},{"a":15425,"l":"b_3C41","t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop","x":[15332,15347,15358,15365,15380,15391,15398,15409,15420,15430,15434,15442,15450,15482,15503,15512,15537]},{"a":15428,"l":"pc_left_keys","c":"Decodes a fire on the three keys at the left of the panel (hand X/2 $13-$1B): top key (Y below $BF) scrolls the memory forward ($7A9F), middle key (Y $C8-$D6) back ($7B32), bottom key (Y $E0 on) is the phone ($7BC2).","t":"code","b":[224,19],"m":"cpx","o":"#$13","x":[15478,15486]},{"a":15430,"t":"code","b":[144,249],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15432,"t":"code","b":[224,28],"m":"cpx","o":"#$1C"},{"a":15434,"t":"code","b":[176,245],"m":"bcs","oa":15425,"o":"b_3C41"},{"a":15436,"t":"code","b":[192,191],"m":"cpy","o":"#$BF"},{"a":15438,"t":"code","b":[144,27],"m":"bcc","oa":15467,"o":"b_3C6B"},{"a":15440,"t":"code","b":[192,200],"m":"cpy","o":"#$C8"},{"a":15442,"t":"code","b":[144,237],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15444,"t":"code","b":[192,215],"m":"cpy","o":"#$D7"},{"a":15446,"t":"code","b":[144,10],"m":"bcc","oa":15458,"o":"b_3C62"},{"a":15448,"t":"code","b":[192,224],"m":"cpy","o":"#$E0"},{"a":15450,"t":"code","b":[144,229],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15452,"t":"code","b":[32,194,123],"m":"jsr","oa":31682,"o":"phone"},{"a":15455,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15458,"l":"b_3C62","t":"code","b":[32,50,123],"m":"jsr","oa":31538,"o":"memory_back","x":[15446]},{"a":15461,"t":"code","b":[32,208,62],"m":"jsr","oa":16080,"o":"show_memory_frame"},{"a":15464,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15467,"l":"b_3C6B","t":"code","b":[32,159,122],"m":"jsr","oa":31391,"o":"memory_forward","x":[15438]},{"a":15470,"t":"code","b":[32,208,62],"m":"jsr","oa":16080,"o":"show_memory_frame"},{"a":15473,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15476,"l":"pc_display_click","c":"Decodes a fire inside the display (hand X/2 $28-$79, Y below $DF): the slot from Y (row 0 or 3) and X/2 (columns at $40, $48-$5F, $64 on), 0-5 in Y. Fire on the slot already chosen ($8F) picks it up; on another, checks the slot holds a piece (memory slots $4EF5/$4EF6 for slots 0 and 3) or plays the low error tone ($3F41 with $2C/$C1), then selects it: hides the hand, shows the piece as sprites 4 and 5 at the slot's position ($720C/$7212) in its colour ($98,y), and sets $9F = 0 with the hand's limits $A0-$A3 for the display.","t":"code","b":[192,223],"m":"cpy","o":"#$DF","x":[15327]},{"a":15478,"t":"code","b":[176,204],"m":"bcs","oa":15428,"o":"pc_left_keys"},{"a":15480,"t":"code","b":[224,122],"m":"cpx","o":"#$7A"},{"a":15482,"t":"code","b":[176,197],"m":"bcs","oa":15425,"o":"b_3C41"},{"a":15484,"t":"code","b":[224,40],"m":"cpx","o":"#$28"},{"a":15486,"t":"code","b":[144,196],"m":"bcc","oa":15428,"o":"pc_left_keys"},{"a":15488,"t":"code","b":[192,199],"m":"cpy","o":"#$C7"},{"a":15490,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":15492,"t":"code","b":[144,2],"m":"bcc","oa":15496,"o":"b_3C88"},{"a":15494,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":15496,"l":"b_3C88","t":"code","b":[224,64],"m":"cpx","o":"#$40","x":[15492]},{"a":15498,"t":"code","b":[144,14],"m":"bcc","oa":15514,"o":"b_3C9A"},{"a":15500,"t":"code","b":[200],"m":"iny"},{"a":15501,"t":"code","b":[224,72],"m":"cpx","o":"#$48"},{"a":15503,"t":"code","b":[144,176],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15505,"t":"code","b":[224,96],"m":"cpx","o":"#$60"},{"a":15507,"t":"code","b":[144,5],"m":"bcc","oa":15514,"o":"b_3C9A"},{"a":15509,"t":"code","b":[200],"m":"iny"},{"a":15510,"t":"code","b":[224,100],"m":"cpx","o":"#$64"},{"a":15512,"t":"code","b":[144,167],"m":"bcc","oa":15425,"o":"b_3C41"},{"a":15514,"l":"b_3C9A","t":"code","b":[196,143],"m":"cpy","oa":143,"o":"selected_slot","x":[15498,15507]},{"a":15516,"t":"code","b":[240,64],"m":"beq","oa":15582,"o":"b_3CDE"},{"a":15518,"t":"code","b":[152],"m":"tya"},{"a":15519,"t":"code","b":[240,44],"m":"beq","oa":15565,"o":"b_3CCD"},{"a":15521,"t":"code","b":[192,3],"m":"cpy","o":"#$03"},{"a":15523,"t":"code","b":[240,40],"m":"beq","oa":15565,"o":"b_3CCD"},{"a":15525,"t":"code","b":[185,146,0],"m":"lda","oa":146,"o":"slot_used,y"},{"a":15528,"t":"code","b":[208,10],"m":"bne","oa":15540,"o":"b_3CB4"},{"a":15530,"l":"b_3CAA","t":"code","b":[169,44],"m":"lda","o":"#$2C","x":[15570,15580]},{"a":15532,"t":"code","b":[162,193],"m":"ldx","o":"#$C1"},{"a":15534,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":15537,"t":"code","b":[76,65,60],"m":"jmp","oa":15425,"o":"b_3C41"},{"a":15540,"l":"b_3CB4","t":"code","b":[132,143],"m":"sty","oa":143,"o":"selected_slot","x":[15528]},{"a":15542,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":15544,"t":"code","b":[133,145],"m":"sta","oa":145,"o":"undo_slot"},{"a":15546,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":15548,"l":"b_3CBC","t":"code","b":[197,224],"m":"cmp","oa":224,"o":"tick","x":[15550]},{"a":15550,"t":"code","b":[240,252],"m":"beq","oa":15548,"o":"b_3CBC"},{"a":15552,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":15554,"t":"code","b":[162,121],"m":"ldx","o":"#$79"},{"a":15556,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":15559,"t":"code","b":[32,157,62],"m":"jsr","oa":16029,"o":"show_slot_frame"},{"a":15562,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15565,"l":"b_3CCD","t":"code","b":[173,245,78],"m":"lda","oa":20213,"o":"a_4EF5","x":[15519,15523]},{"a":15568,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":15570,"t":"code","b":[240,214],"m":"beq","oa":15530,"o":"b_3CAA"},{"a":15572,"t":"code","b":[152],"m":"tya"},{"a":15573,"t":"code","b":[240,7],"m":"beq","oa":15582,"o":"b_3CDE"},{"a":15575,"t":"code","b":[173,246,78],"m":"lda","oa":20214,"o":"a_4EF6"},{"a":15578,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":15580,"t":"code","b":[240,204],"m":"beq","oa":15530,"o":"b_3CAA"},{"a":15582,"l":"b_3CDE","t":"code","b":[132,144],"m":"sty","oa":144,"o":"carried_slot","x":[15516,15573]},{"a":15584,"t":"code","b":[169,126],"m":"lda","o":"#$7E"},{"a":15586,"t":"code","b":[162,151],"m":"ldx","o":"#$97"},{"a":15588,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":15591,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":15594,"t":"code","b":[41,207],"m":"and","o":"#$CF"},{"a":15596,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":15599,"t":"code","b":[152],"m":"tya"},{"a":15600,"t":"code","b":[32,99,63],"m":"jsr","oa":16227,"o":"draw_piece_a"},{"a":15603,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":15606,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":15608,"t":"code","b":[141,252,67],"m":"sta","oa":17404,"o":"a_43FC"},{"a":15611,"t":"code","b":[169,55],"m":"lda","o":"#$37"},{"a":15613,"t":"code","b":[141,253,67],"m":"sta","oa":17405,"o":"a_43FD"},{"a":15616,"t":"code","b":[164,144],"m":"ldy","oa":144,"o":"carried_slot"},{"a":15618,"t":"code","b":[185,12,114],"m":"lda","oa":29196,"o":"tbl_slot_x,y"},{"a":15621,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":15624,"t":"code","b":[24],"m":"clc"},{"a":15625,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":15627,"t":"code","b":[141,10,208],"m":"sta","o":"vic_sprite5_x"},{"a":15630,"t":"code","b":[185,18,114],"m":"lda","oa":29202,"o":"tbl_slot_y,y"},{"a":15633,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":15636,"t":"code","b":[141,11,208],"m":"sta","o":"vic_sprite5_y"},{"a":15639,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":15642,"t":"code","b":[41,207],"m":"and","o":"#$CF"},{"a":15644,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":15647,"t":"code","b":[185,152,0],"m":"lda","oa":152,"o":"slot_colour,y"},{"a":15650,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":15653,"t":"code","b":[141,44,208],"m":"sta","o":"vic_sprite5_colour"},{"a":15656,"t":"code","b":[173,29,208],"m":"lda","o":"vic_sprite_expand_x"},{"a":15659,"t":"code","b":[41,207],"m":"and","o":"#$CF"},{"a":15661,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":15664,"t":"code","b":[173,23,208],"m":"lda","o":"vic_sprite_expand_y"},{"a":15667,"t":"code","b":[41,207],"m":"and","o":"#$CF"},{"a":15669,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":15672,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":15675,"t":"code","b":[9,48],"m":"ora","o":"#$30"},{"a":15677,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":15680,"t":"code","b":[169,179],"m":"lda","o":"#$B3"},{"a":15682,"t":"code","b":[133,160],"m":"sta","oa":160,"o":"hand_top"},{"a":15684,"t":"code","b":[169,202],"m":"lda","o":"#$CA"},{"a":15686,"t":"code","b":[133,161],"m":"sta","oa":161,"o":"hand_bottom"},{"a":15688,"t":"code","b":[169,41],"m":"lda","o":"#$29"},{"a":15690,"t":"code","b":[133,162],"m":"sta","oa":162,"o":"hand_left"},{"a":15692,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":15694,"t":"code","b":[133,163],"m":"sta","oa":163,"o":"hand_right"},{"a":15696,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":15698,"t":"code","b":[133,159],"m":"sta","oa":159,"o":"hand_mode"},{"a":15700,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15703,"l":"pc_btn_flip_v","c":"Top-left button of the grid: click ($3F3D), flip the selected piece top to bottom ($7901), redraw the pieces ($80C3).","t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click","x":[15342]},{"a":15706,"t":"code","b":[32,1,121],"m":"jsr","oa":30977,"o":"flip_piece_v"},{"a":15709,"t":"code","b":[32,195,128],"m":"jsr","oa":32963,"o":"check_solution"},{"a":15712,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15715,"l":"pc_btn_flip_h","c":"Top-middle button: click, flip the selected piece left to right ($7968), redraw the pieces.","t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click","x":[15353]},{"a":15718,"t":"code","b":[32,104,121],"m":"jsr","oa":31080,"o":"flip_piece_h"},{"a":15721,"t":"code","b":[32,195,128],"m":"jsr","oa":32963,"o":"check_solution"},{"a":15724,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15727,"l":"pc_btn_clear","c":"Top-right button: click, clear the selected slot of the display ($79E2), keeping a copy for undo.","t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click","x":[15360]},{"a":15730,"t":"code","b":[32,226,121],"m":"jsr","oa":31202,"o":"clear_slot"},{"a":15733,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15736,"l":"pc_btn_pause","c":"Middle-right button: click, then prints TIME IS SUSPENDED ($828C) with $D5 raised for the duration; $81C5 holds the message until fire, so the button pauses the game.","t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click","x":[15393]},{"a":15739,"t":"code","b":[169,140],"m":"lda","o":"#$8C"},{"a":15741,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":15743,"t":"code","b":[230,213],"m":"inc","oa":213,"o":"clock_stopped"},{"a":15745,"t":"code","b":[32,197,129],"m":"jsr","oa":33221,"o":"show_message"},{"a":15748,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":15750,"t":"code","b":[133,213],"m":"sta","oa":213,"o":"clock_stopped"},{"a":15752,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15755,"l":"pc_btn_undo","c":"Middle button: click, undo ($7A61): put back the piece last cleared or changed.","t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click","x":[15386]},{"a":15758,"t":"code","b":[32,97,122],"m":"jsr","oa":31329,"o":"undo_piece"},{"a":15761,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15764,"l":"pc_btn_off","c":"The off button: click, hides sprites 4-6, leaves the pocket computer ($B645) and shows sprite 6 again, back to the lift loop at $39CF.","t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click","x":[15375]},{"a":15767,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":15770,"t":"code","b":[41,143],"m":"and","o":"#$8F"},{"a":15772,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":15775,"t":"code","b":[32,69,182],"m":"jsr","oa":46661,"o":"show_map"},{"a":15778,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":15781,"t":"code","b":[9,64],"m":"ora","o":"#$40"},{"a":15783,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":15786,"t":"code","b":[76,207,57],"m":"jmp","oa":14799,"o":"lift_loop"},{"a":15789,"l":"pc_btn_colour","c":"The three colour keys of the bottom row load A = 5, 7 or 3 (green, yellow, blue in the colour RAM nibble) and call $7A29 to recolour the selected piece.","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[15404]},{"a":15791,"t":"code","b":[16,6],"m":"bpl","oa":15799,"o":"b_3DB7"},{"a":15793,"l":"j_3DB1","t":"code","b":[169,7],"m":"lda","o":"#$07","x":[15415]},{"a":15795,"t":"code","b":[16,2],"m":"bpl","oa":15799,"o":"b_3DB7"},{"a":15797,"l":"j_3DB5","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[15422]},{"a":15799,"l":"b_3DB7","t":"code","b":[72],"m":"pha","x":[15791,15795]},{"a":15800,"t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click"},{"a":15803,"t":"code","b":[104],"m":"pla"},{"a":15804,"t":"code","b":[32,41,122],"m":"jsr","oa":31273,"o":"recolour_piece"},{"a":15807,"t":"code","b":[76,175,58],"m":"jmp","oa":15023,"o":"pocket_computer_loop"},{"a":15810,"l":"move_hand","c":"Moves the pocket computer's hand pointer (sprite 4) one pixel per call with the stick in port 2, held between the limits $A0 (top), $A1 (bottom), $A2 (left) and $A3 (right, in X/2). X is kept halved so that the ninth bit ($D010 bit 4) can be rebuilt on the way out. Returns X = X/2 and Y = Y of the hand.","t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb","x":[15042,43013,43482]},{"a":15813,"t":"code","b":[10],"m":"asl","o":"a"},{"a":15814,"t":"code","b":[10],"m":"asl","o":"a"},{"a":15815,"t":"code","b":[10],"m":"asl","o":"a"},{"a":15816,"t":"code","b":[10],"m":"asl","o":"a"},{"a":15817,"t":"code","b":[173,8,208],"m":"lda","o":"vic_sprite4_x"},{"a":15820,"t":"code","b":[106],"m":"ror","o":"a"},{"a":15821,"t":"code","b":[170],"m":"tax"},{"a":15822,"t":"code","b":[172,9,208],"m":"ldy","o":"vic_sprite4_y"},{"a":15825,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":15828,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":15829,"t":"code","b":[176,7],"m":"bcs","oa":15838,"o":"b_3DDE"},{"a":15831,"t":"code","b":[196,160],"m":"cpy","oa":160,"o":"hand_top"},{"a":15833,"t":"code","b":[144,3],"m":"bcc","oa":15838,"o":"b_3DDE"},{"a":15835,"t":"code","b":[206,9,208],"m":"dec","o":"vic_sprite4_y"},{"a":15838,"l":"b_3DDE","t":"code","b":[74],"m":"lsr","o":"a","x":[15829,15833]},{"a":15839,"t":"code","b":[176,7],"m":"bcs","oa":15848,"o":"b_3DE8"},{"a":15841,"t":"code","b":[196,161],"m":"cpy","oa":161,"o":"hand_bottom"},{"a":15843,"t":"code","b":[176,3],"m":"bcs","oa":15848,"o":"b_3DE8"},{"a":15845,"t":"code","b":[238,9,208],"m":"inc","o":"vic_sprite4_y"},{"a":15848,"l":"b_3DE8","t":"code","b":[74],"m":"lsr","o":"a","x":[15839,15843]},{"a":15849,"t":"code","b":[176,7],"m":"bcs","oa":15858,"o":"b_3DF2"},{"a":15851,"t":"code","b":[228,162],"m":"cpx","oa":162,"o":"hand_left"},{"a":15853,"t":"code","b":[144,3],"m":"bcc","oa":15858,"o":"b_3DF2"},{"a":15855,"t":"code","b":[202],"m":"dex"},{"a":15856,"t":"code","b":[208,8],"m":"bne","oa":15866,"o":"b_3DFA"},{"a":15858,"l":"b_3DF2","t":"code","b":[74],"m":"lsr","o":"a","x":[15849,15853]},{"a":15859,"t":"code","b":[176,32],"m":"bcs","oa":15893,"o":"r_3E15"},{"a":15861,"t":"code","b":[228,163],"m":"cpx","oa":163,"o":"hand_right"},{"a":15863,"t":"code","b":[176,28],"m":"bcs","oa":15893,"o":"r_3E15"},{"a":15865,"t":"code","b":[232],"m":"inx"},{"a":15866,"l":"b_3DFA","t":"code","b":[138],"m":"txa","x":[15856]},{"a":15867,"t":"code","b":[10],"m":"asl","o":"a"},{"a":15868,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":15871,"t":"code","b":[106],"m":"ror","o":"a"},{"a":15872,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":15873,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":15874,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":15875,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":15877,"t":"code","b":[240,6],"m":"beq","oa":15885,"o":"b_3E0D"},{"a":15879,"t":"code","b":[13,16,208],"m":"ora","o":"vic_sprite_x_msb"},{"a":15882,"t":"code","b":[76,18,62],"m":"jmp","oa":15890,"o":"j_3E12"},{"a":15885,"l":"b_3E0D","t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb","x":[15877]},{"a":15888,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":15890,"l":"j_3E12","t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb","x":[15882]},{"a":15893,"l":"r_3E15","t":"code","b":[96],"m":"rts","x":[15859,15863]},{"a":15894,"l":"copy_display_chars","c":"Copies the puzzle display's graphics from the table at $C690-$C9EF into character set $5800 at $5C50-$5FAF (glyphs $8A-$F5): three pages and $60 bytes.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[14998]},{"a":15896,"l":"b_3E18","t":"code","b":[189,144,198],"m":"lda","oa":50832,"o":"f_C690,x","x":[15915]},{"a":15899,"t":"code","b":[157,80,92],"m":"sta","oa":23632,"o":"f_5C50,x"},{"a":15902,"t":"code","b":[189,144,199],"m":"lda","oa":51088,"o":"f_C790,x"},{"a":15905,"t":"code","b":[157,80,93],"m":"sta","oa":23888,"o":"f_5D50,x"},{"a":15908,"t":"code","b":[189,144,200],"m":"lda","oa":51344,"o":"f_C890,x"},{"a":15911,"t":"code","b":[157,80,94],"m":"sta","oa":24144,"o":"f_5E50,x"},{"a":15914,"t":"code","b":[232],"m":"inx"},{"a":15915,"t":"code","b":[208,235],"m":"bne","oa":15896,"o":"b_3E18"},{"a":15917,"t":"code","b":[162,95],"m":"ldx","o":"#$5F"},{"a":15919,"l":"b_3E2F","t":"code","b":[189,144,201],"m":"lda","oa":51600,"o":"f_C990,x","x":[15926]},{"a":15922,"t":"code","b":[157,80,95],"m":"sta","oa":24400,"o":"f_5F50,x"},{"a":15925,"t":"code","b":[202],"m":"dex"},{"a":15926,"t":"code","b":[16,247],"m":"bpl","oa":15919,"o":"b_3E2F"},{"a":15928,"t":"code","b":[96],"m":"rts"},{"a":15929,"l":"show_hand","c":"Waits for the next tick, copies the 222 bytes at $3341-$341E into the screen at $4286-$4363 (the panel's display rows), and puts the hand pointer (sprite 4, pointer $10, white) at the selected slot ($720C/$7212 + offsets) or, with no slot ($8F negative), at the panel's right. Sets the hand's limits to the whole panel and $9F = 1.","t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick","x":[15014,15308,32292]},{"a":15931,"l":"b_3E3B","t":"code","b":[197,224],"m":"cmp","oa":224,"o":"tick","x":[15933]},{"a":15933,"t":"code","b":[240,252],"m":"beq","oa":15931,"o":"b_3E3B"},{"a":15935,"t":"code","b":[160,222],"m":"ldy","o":"#$DE"},{"a":15937,"l":"b_3E41","t":"code","b":[185,64,51],"m":"lda","oa":13120,"o":"gfx_pc_display_rows,y","x":[15944]},{"a":15940,"t":"code","b":[153,133,66],"m":"sta","oa":17029,"o":"f_4285,y"},{"a":15943,"t":"code","b":[136],"m":"dey"},{"a":15944,"t":"code","b":[208,247],"m":"bne","oa":15937,"o":"b_3E41"},{"a":15946,"t":"code","b":[164,143],"m":"ldy","oa":143,"o":"selected_slot"},{"a":15948,"t":"code","b":[16,20],"m":"bpl","oa":15970,"o":"show_hand_at_slot"},{"a":15950,"t":"code","b":[169,209],"m":"lda","o":"#$D1"},{"a":15952,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":15955,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":15957,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":15960,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":15963,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":15965,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":15968,"t":"code","b":[208,18],"m":"bne","oa":15988,"o":"b_3E74"},{"a":15970,"l":"show_hand_at_slot","c":"Entry of show_hand that places the hand at slot Y without the initial screen copy: used after a piece is placed ($3B30).","t":"code","b":[185,18,114],"m":"lda","oa":29202,"o":"tbl_slot_y,y","x":[15152,15948]},{"a":15973,"t":"code","b":[24],"m":"clc"},{"a":15974,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":15976,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":15979,"t":"code","b":[185,12,114],"m":"lda","oa":29196,"o":"tbl_slot_x,y"},{"a":15982,"t":"code","b":[24],"m":"clc"},{"a":15983,"t":"code","b":[105,22],"m":"adc","o":"#$16"},{"a":15985,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":15988,"l":"b_3E74","t":"code","b":[169,16],"m":"lda","o":"#$10","x":[15968]},{"a":15990,"t":"code","b":[141,252,67],"m":"sta","oa":17404,"o":"a_43FC"},{"a":15993,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":15995,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":15998,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":16001,"t":"code","b":[41,143],"m":"and","o":"#$8F"},{"a":16003,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":16005,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":16008,"t":"code","b":[169,176],"m":"lda","o":"#$B0"},{"a":16010,"t":"code","b":[133,160],"m":"sta","oa":160,"o":"hand_top"},{"a":16012,"t":"code","b":[169,230],"m":"lda","o":"#$E6"},{"a":16014,"t":"code","b":[133,161],"m":"sta","oa":161,"o":"hand_bottom"},{"a":16016,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":16018,"t":"code","b":[133,162],"m":"sta","oa":162,"o":"hand_left"},{"a":16020,"t":"code","b":[169,162],"m":"lda","o":"#$A2"},{"a":16022,"t":"code","b":[133,163],"m":"sta","oa":163,"o":"hand_right"},{"a":16024,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":16026,"t":"code","b":[133,159],"m":"sta","oa":159,"o":"hand_mode"},{"a":16028,"t":"code","b":[96],"m":"rts"},{"a":16029,"l":"show_slot_frame","c":"With a slot selected ($8F), shows sprite 6 (pointer $13, X-expanded, colour 8) over it as a frame.","t":"code","b":[164,143],"m":"ldy","oa":143,"o":"selected_slot","x":[15017,15155,15311,15559,31257,31365,32298]},{"a":16031,"t":"code","b":[48,46],"m":"bmi","oa":16079,"o":"r_3ECF"},{"a":16033,"t":"code","b":[169,19],"m":"lda","o":"#$13"},{"a":16035,"t":"code","b":[141,254,67],"m":"sta","oa":17406,"o":"a_43FE"},{"a":16038,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":16041,"t":"code","b":[41,191],"m":"and","o":"#$BF"},{"a":16043,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":16046,"t":"code","b":[185,12,114],"m":"lda","oa":29196,"o":"tbl_slot_x,y"},{"a":16049,"t":"code","b":[141,12,208],"m":"sta","o":"vic_sprite6_x"},{"a":16052,"t":"code","b":[185,18,114],"m":"lda","oa":29202,"o":"tbl_slot_y,y"},{"a":16055,"t":"code","b":[141,13,208],"m":"sta","o":"vic_sprite6_y"},{"a":16058,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":16060,"t":"code","b":[141,45,208],"m":"sta","o":"vic_sprite6_colour"},{"a":16063,"t":"code","b":[173,29,208],"m":"lda","o":"vic_sprite_expand_x"},{"a":16066,"t":"code","b":[9,64],"m":"ora","o":"#$40"},{"a":16068,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":16071,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":16074,"t":"code","b":[9,64],"m":"ora","o":"#$40"},{"a":16076,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":16079,"l":"r_3ECF","t":"code","b":[96],"m":"rts","x":[16031]},{"a":16080,"l":"show_memory_frame","c":"Clears the sprite shape at $4D80 and draws a frame of 8 rows into it for each occupied memory slot ($4EF5/$4EF6 for the current puzzle $C3, bit 6 set), then shows it as sprite 5 (pointer $36, Y-expanded, colour 10) at $36,$B4.","t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable","x":[15020,15158,15317,15461,15470,32301]},{"a":16083,"t":"code","b":[41,223],"m":"and","o":"#$DF"},{"a":16085,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":16088,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":16090,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16092,"l":"b_3EDC","t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x","x":[16096]},{"a":16095,"t":"code","b":[202],"m":"dex"},{"a":16096,"t":"code","b":[16,250],"m":"bpl","oa":16092,"o":"b_3EDC"},{"a":16098,"t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos"},{"a":16100,"t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x"},{"a":16103,"t":"code","b":[48,69],"m":"bmi","oa":16174,"o":"r_3F2E"},{"a":16105,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":16107,"t":"code","b":[240,5],"m":"beq","oa":16114,"o":"b_3EF2"},{"a":16109,"t":"code","b":[160,26],"m":"ldy","o":"#$1A"},{"a":16111,"t":"code","b":[32,47,63],"m":"jsr","oa":16175,"o":"draw_frame_rows"},{"a":16114,"l":"b_3EF2","t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos","x":[16107]},{"a":16116,"t":"code","b":[189,246,78],"m":"lda","oa":20214,"o":"a_4EF6,x"},{"a":16119,"t":"code","b":[48,9],"m":"bmi","oa":16130,"o":"b_3F02"},{"a":16121,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":16123,"t":"code","b":[240,5],"m":"beq","oa":16130,"o":"b_3F02"},{"a":16125,"t":"code","b":[160,56],"m":"ldy","o":"#$38"},{"a":16127,"t":"code","b":[32,47,63],"m":"jsr","oa":16175,"o":"draw_frame_rows"},{"a":16130,"l":"b_3F02","t":"code","b":[169,180],"m":"lda","o":"#$B4","x":[16119,16123]},{"a":16132,"t":"code","b":[141,11,208],"m":"sta","o":"vic_sprite5_y"},{"a":16135,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":16137,"t":"code","b":[141,10,208],"m":"sta","o":"vic_sprite5_x"},{"a":16140,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":16143,"t":"code","b":[41,223],"m":"and","o":"#$DF"},{"a":16145,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":16148,"t":"code","b":[173,23,208],"m":"lda","o":"vic_sprite_expand_y"},{"a":16151,"t":"code","b":[9,32],"m":"ora","o":"#$20"},{"a":16153,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":16156,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":16158,"t":"code","b":[141,253,67],"m":"sta","oa":17405,"o":"a_43FD"},{"a":16161,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":16163,"t":"code","b":[141,44,208],"m":"sta","o":"vic_sprite5_colour"},{"a":16166,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":16169,"t":"code","b":[9,32],"m":"ora","o":"#$20"},{"a":16171,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":16174,"l":"r_3F2E","t":"code","b":[96],"m":"rts","x":[16103]},{"a":16175,"l":"draw_frame_rows","c":"Writes $1F into every third byte of the sprite shape at $4D80 from offset Y downwards, 8 times: one edge of the frame drawn by show_memory_frame.","t":"code","b":[169,31],"m":"lda","o":"#$1F","x":[16111,16127]},{"a":16177,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":16179,"l":"b_3F33","t":"code","b":[153,128,77],"m":"sta","oa":19840,"o":"f_4D80,y","x":[16186]},{"a":16182,"t":"code","b":[136],"m":"dey"},{"a":16183,"t":"code","b":[136],"m":"dey"},{"a":16184,"t":"code","b":[136],"m":"dey"},{"a":16185,"t":"code","b":[202],"m":"dex"},{"a":16186,"t":"code","b":[16,247],"m":"bpl","oa":16179,"o":"b_3F33"},{"a":16188,"t":"code","b":[96],"m":"rts"},{"a":16189,"l":"sound_click","c":"The click of a pocket computer button: sound_tone with A = $C8, X = $F3.","t":"code","b":[169,200],"m":"lda","o":"#$C8","x":[15703,15715,15727,15736,15755,15764,15800,33128]},{"a":16191,"t":"code","b":[162,243],"m":"ldx","o":"#$F3"},{"a":16193,"l":"sound_tone","c":"Plays a short tone on SID voice 3: frequency A (high) / X (low), attack/decay 0, sustain $F, gate off then pulse/gate on ($11); voices 1 and 2 are gated off. $A4 = 8: the IRQ silences voices 2 and 3 eight frames later.","t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi","x":[15005,15149,15175,15302,15534,15556,15588,33229]},{"a":16196,"t":"code","b":[142,14,212],"m":"stx","o":"sid_v3_freq_lo"},{"a":16199,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16201,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":16204,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":16206,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":16209,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":16211,"t":"code","b":[133,164],"m":"sta","oa":164,"o":"sound_timer"},{"a":16213,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":16216,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":16219,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":16221,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":16224,"t":"code","b":[96],"m":"rts"},{"a":16225,"l":"draw_piece","c":"Draws the piece in slot $8F (or A, entering at $3F63) into the display: finds its graphics ($82B8, pointer in $18/$19) and either copies three 8-row columns into the sprite shape at $4D80/$4DC0 ($9F non-zero) or ORs the shape into the display's characters ($9F = 0).","t":"code","b":[165,143],"m":"lda","oa":143,"o":"selected_slot","x":[15305]},{"a":16227,"l":"draw_piece_a","c":"Entry of draw_piece with the slot in A: used when a slot is selected ($3CF0).","t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address","x":[15600]},{"a":16230,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":16232,"t":"code","b":[24],"m":"clc"},{"a":16233,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":16235,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":16237,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":16239,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":16241,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":16243,"t":"code","b":[162,62],"m":"ldx","o":"#$3E"},{"a":16245,"t":"code","b":[160,116],"m":"ldy","o":"#$74"},{"a":16247,"l":"b_3F77","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[16306,16310]},{"a":16249,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":16251,"l":"b_3F7B","t":"code","b":[165,159],"m":"lda","oa":159,"o":"hand_mode","x":[16292]},{"a":16253,"t":"code","b":[240,13],"m":"beq","oa":16268,"o":"b_3F8C"},{"a":16255,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":16257,"t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x"},{"a":16260,"t":"code","b":[177,229],"m":"lda","oa":229,"o":"(tmp2),y"},{"a":16262,"t":"code","b":[157,192,77],"m":"sta","oa":19904,"o":"f_4DC0,x"},{"a":16265,"t":"code","b":[76,154,63],"m":"jmp","oa":16282,"o":"j_3F9A"},{"a":16268,"l":"b_3F8C","t":"code","b":[189,128,77],"m":"lda","oa":19840,"o":"f_4D80,x","x":[16253]},{"a":16271,"t":"code","b":[17,24],"m":"ora","oa":24,"o":"(ptr_data),y"},{"a":16273,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":16275,"t":"code","b":[189,192,77],"m":"lda","oa":19904,"o":"f_4DC0,x"},{"a":16278,"t":"code","b":[17,229],"m":"ora","oa":229,"o":"(tmp2),y"},{"a":16280,"t":"code","b":[145,229],"m":"sta","oa":229,"o":"(tmp2),y"},{"a":16282,"l":"j_3F9A","t":"code","b":[202],"m":"dex","x":[16265]},{"a":16283,"t":"code","b":[48,27],"m":"bmi","oa":16312,"o":"r_3FB8"},{"a":16285,"t":"code","b":[152],"m":"tya"},{"a":16286,"t":"code","b":[56],"m":"sec"},{"a":16287,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":16289,"t":"code","b":[168],"m":"tay"},{"a":16290,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":16292,"t":"code","b":[16,213],"m":"bpl","oa":16251,"o":"b_3F7B"},{"a":16294,"t":"code","b":[24],"m":"clc"},{"a":16295,"t":"code","b":[105,23],"m":"adc","o":"#$17"},{"a":16297,"t":"code","b":[168],"m":"tay"},{"a":16298,"t":"code","b":[192,111],"m":"cpy","o":"#$6F"},{"a":16300,"t":"code","b":[208,2],"m":"bne","oa":16304,"o":"b_3FB0"},{"a":16302,"t":"code","b":[160,71],"m":"ldy","o":"#$47"},{"a":16304,"l":"b_3FB0","t":"code","b":[192,63],"m":"cpy","o":"#$3F","x":[16300]},{"a":16306,"t":"code","b":[208,195],"m":"bne","oa":16247,"o":"b_3F77"},{"a":16308,"t":"code","b":[160,23],"m":"ldy","o":"#$17"},{"a":16310,"t":"code","b":[208,191],"m":"bne","oa":16247,"o":"b_3F77"},{"a":16312,"l":"r_3FB8","t":"code","b":[96],"m":"rts","x":[16283]},{"a":16313,"l":"detect_pal","c":"Tells PAL from NTSC: waits for raster line 259 (low byte 3 after a value above $FC) and watches the raster register. On an NTSC machine (263 lines) it wraps to 0 before reaching $20 and nothing changes; on PAL (312 lines) it reaches $20, and $6E is written into the operands at $AB2B, $AB39 and $AB49, adjusting the game for the PAL frame. The game was therefore written for NTSC timing. Live: the three operands read $6E in play on the PAL machine.","t":"code","b":[120],"m":"sei","x":[14473]},{"a":16314,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":16316,"l":"b_3FBC","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[16319]},{"a":16319,"t":"code","b":[176,251],"m":"bcs","oa":16316,"o":"b_3FBC"},{"a":16321,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":16323,"l":"b_3FC3","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[16326]},{"a":16326,"t":"code","b":[208,251],"m":"bne","oa":16323,"o":"b_3FC3"},{"a":16328,"l":"b_3FC8","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[16339]},{"a":16331,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":16333,"t":"code","b":[144,17],"m":"bcc","oa":16352,"o":"r_3FE0"},{"a":16335,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":16337,"t":"code","b":[176,2],"m":"bcs","oa":16341,"o":"b_3FD5"},{"a":16339,"t":"code","b":[144,243],"m":"bcc","oa":16328,"o":"b_3FC8"},{"a":16341,"l":"b_3FD5","t":"code","b":[169,110],"m":"lda","o":"#$6E","x":[16337]},{"a":16343,"t":"code","b":[141,43,171],"m":"sta","oa":43819,"o":"a_AB2B"},{"a":16346,"t":"code","b":[141,57,171],"m":"sta","oa":43833,"o":"a_AB39"},{"a":16349,"t":"code","b":[141,73,171],"m":"sta","oa":43849,"o":"a_AB49"},{"a":16352,"l":"r_3FE0","t":"code","b":[96],"m":"rts","x":[16333]},{"a":16353,"t":"gap","n":1055},{"a":17408,"l":"gfx_sprites_10_1f","c":"Sprite shapes $10-$1F (64 bytes each, pointer \u00d7 64 in bank 1): $10 the pocket computer's hand, $11 and $12 the lift car's top and bar, $13 a frame corner, $14-$17 the four shapes of a robot's zap, $18-$1D the security terminal's decorations, $1E a cross shape, $1F the floating ball.","t":"byte","b":[0,0,0,248,0,60,254,0]},{"a":17416,"t":"byte","b":[120,127,128,248,31,224,248,7]},{"a":17424,"t":"byte","b":[249,240,1,255,240,0,255,240]},{"a":17432,"t":"byte","b":[15,255,240,15,199,248,15,248]},{"a":17440,"t":"byte","b":[248,0,255,60,15,255,251,15]},{"a":17448,"t":"byte","b":[195,251,15,252,118,0,127,246]},{"a":17456,"t":"byte","b":[3,255,236,3,224,216,3,255]},{"a":17464,"t":"byte","b":[216,0,0,48,0,0,0,0]},{"a":17472,"t":"byte","b":[2,0,64,7,0,224,7,0]},{"a":17480,"t":"byte","b":[224,31,195,248,127,255,254,0]},{"a":17488,"t":"byte","b":[60,0,0,0,0,0,0,0]},{"a":17496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17504,"t":"byte","b":[0,3,255,192,1,255,128,0]},{"a":17512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17536,"t":"byte","b":[152,0,0,152,0,0,152,0]},{"a":17544,"t":"byte","b":[0,152,0,0,152,0,0,152]},{"a":17552,"t":"byte","b":[0,0,152,0,0,152,0,0]},{"a":17560,"t":"byte","b":[152,0,0,152,0,0,152,0]},{"a":17568,"t":"byte","b":[0,152,0,0,152,0,0,152]},{"a":17576,"t":"byte","b":[0,0,152,0,0,152,0,0]},{"a":17584,"t":"byte","b":[152,0,0,152,0,0,152,0]},{"a":17592,"t":"byte","b":[0,152,0,0,152,0,0,0]},{"a":17600,"t":"byte","b":[0,0,3,0,0,3,0,0]},{"a":17608,"t":"byte","b":[3,0,0,3,0,0,3,0]},{"a":17616,"t":"byte","b":[0,3,0,0,3,0,0,3]},{"a":17624,"t":"byte","b":[0,0,3,0,0,3,0,0]},{"a":17632,"t":"byte","b":[3,0,0,3,0,0,3,0]},{"a":17640,"t":"byte","b":[0,3,0,0,3,0,0,3]},{"a":17648,"t":"byte","b":[0,0,3,0,0,3,0,0]},{"a":17656,"t":"byte","b":[3,255,255,255,255,255,255,0]},{"a":17664,"t":"byte","b":[1,192,24,3,38,36,12,37]},{"a":17672,"t":"byte","b":[194,215,25,33,52,137,16,120]},{"a":17680,"t":"byte","b":[86,16,128,32,11,0,0,12]},{"a":17688,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17696,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17728,"t":"byte","b":[0,0,4,96,4,10,147,138]},{"a":17736,"t":"byte","b":[113,12,83,144,20,56,16,227]},{"a":17744,"t":"byte","b":[104,41,0,134,38,0,1,192]},{"a":17752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17792,"t":"byte","b":[24,0,0,36,48,8,68,78]},{"a":17800,"t":"byte","b":[53,131,129,34,2,9,194,194]},{"a":17808,"t":"byte","b":[20,142,35,35,145,20,192,96]},{"a":17816,"t":"byte","b":[8,0,0,0,0,0,0,0]},{"a":17824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17848,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17856,"t":"byte","b":[0,0,0,24,0,6,228,0]},{"a":17864,"t":"byte","b":[9,2,0,8,7,132,16,9]},{"a":17872,"t":"byte","b":[75,208,241,41,35,0,178,220]},{"a":17880,"t":"byte","b":[0,116,0,0,8,0,0,0]},{"a":17888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17920,"t":"byte","b":[15,0,0,63,0,0,127,0]},{"a":17928,"t":"byte","b":[0,127,0,0,255,0,0,255]},{"a":17936,"t":"byte","b":[0,0,255,0,0,255,0,0]},{"a":17944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":17984,"t":"byte","b":[240,0,0,252,0,0,254,0]},{"a":17992,"t":"byte","b":[0,254,0,0,255,0,0,255]},{"a":18000,"t":"byte","b":[0,0,255,0,0,255,0,0]},{"a":18008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18016,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18040,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18048,"t":"byte","b":[255,0,0,255,0,0,255,0]},{"a":18056,"t":"byte","b":[0,255,0,0,127,0,0,127]},{"a":18064,"t":"byte","b":[0,0,63,0,0,15,0,0]},{"a":18072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18112,"t":"byte","b":[255,0,0,255,0,0,255,0]},{"a":18120,"t":"byte","b":[0,255,0,0,254,0,0,254]},{"a":18128,"t":"byte","b":[0,0,252,0,0,240,0,0]},{"a":18136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18176,"t":"byte","b":[192,0,0,96,0,0,48,0]},{"a":18184,"t":"byte","b":[0,24,0,0,12,0,0,6]},{"a":18192,"t":"byte","b":[0,0,3,0,0,1,128,0]},{"a":18200,"t":"byte","b":[0,192,0,0,96,0,0,48]},{"a":18208,"t":"byte","b":[0,0,16,0,0,0,0,0]},{"a":18216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18240,"t":"byte","b":[0,0,3,0,0,6,0,0]},{"a":18248,"t":"byte","b":[12,0,0,24,0,0,48,0]},{"a":18256,"t":"byte","b":[0,96,0,0,192,0,1,128]},{"a":18264,"t":"byte","b":[0,3,0,0,6,0,0,12]},{"a":18272,"t":"byte","b":[0,0,8,0,0,0,0,0]},{"a":18280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18304,"t":"byte","b":[240,0,15,248,0,31,252,0]},{"a":18312,"t":"byte","b":[63,126,0,126,63,0,252,31]},{"a":18320,"t":"byte","b":[129,248,15,195,240,7,231,224]},{"a":18328,"t":"byte","b":[3,231,192,1,231,128,0,0]},{"a":18336,"t":"byte","b":[0,1,231,128,3,231,192,7]},{"a":18344,"t":"byte","b":[231,224,15,195,240,31,129,248]},{"a":18352,"t":"byte","b":[63,0,252,126,0,126,252,0]},{"a":18360,"t":"byte","b":[63,248,0,31,240,0,15,0]},{"a":18368,"t":"byte","b":[0,170,0,2,170,128,10,170]},{"a":18376,"t":"byte","b":[160,10,169,160,42,165,104,42]},{"a":18384,"t":"byte","b":[169,104,170,170,106,170,170,170]},{"a":18392,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":18400,"t":"byte","b":[170,170,170,170,170,170,170,42]},{"a":18408,"t":"byte","b":[170,168,42,170,104,10,169,160]},{"a":18416,"t":"byte","b":[10,170,160,2,170,128,0,170]},{"a":18424,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18432,"l":"gfx_charset_shaft","c":"Character set $4800 (shown in the shaft view, the terminal and the end screen), glyphs $00-$70: the shaft view's rock, the lift shaft's walls, the corridors' floors, ceilings and walls, and the room-entry wipe's pieces.","t":"byte","b":[135,199,247,247,6,192,224,227]},{"a":18440,"t":"byte","b":[199,23,71,6,32,3,135,135]},{"a":18448,"t":"byte","b":[231,231,227,192,0,3,15,239]},{"a":18456,"t":"byte","b":[223,223,206,12,0,195,227,231]},{"a":18464,"t":"byte","b":[135,143,15,55,118,240,0,109]},{"a":18472,"t":"byte","b":[65,9,157,254,254,253,123,135]},{"a":18480,"t":"byte","b":[231,231,231,246,112,32,2,193]},{"a":18488,"t":"byte","b":[135,194,193,1,5,142,207,231]},{"a":18496,"t":"byte","b":[135,131,51,97,0,12,46,111]},{"a":18504,"t":"byte","b":[7,99,3,152,28,31,143,135]},{"a":18512,"t":"byte","b":[231,199,195,152,2,6,48,183]},{"a":18520,"t":"byte","b":[143,142,128,61,124,248,243,231]},{"a":18528,"t":"byte","b":[135,7,115,119,118,160,136,155]},{"a":18536,"t":"byte","b":[3,227,225,64,0,225,193,135]},{"a":18544,"t":"byte","b":[231,195,225,224,71,7,115,249]},{"a":18552,"t":"byte","b":[252,252,252,24,0,224,240,231]},{"a":18560,"t":"byte","b":[129,1,24,56,48,0,0,0]},{"a":18568,"t":"byte","b":[1,1,48,48,16,0,0,1]},{"a":18576,"t":"byte","b":[207,143,0,0,0,0,0,128]},{"a":18584,"t":"byte","b":[140,156,28,24,0,0,128,192]},{"a":18592,"t":"byte","b":[0,1,57,112,0,24,144,1]},{"a":18600,"t":"byte","b":[3,131,131,2,0,0,135,143]},{"a":18608,"t":"byte","b":[224,192,192,0,0,0,1,3]},{"a":18616,"t":"byte","b":[24,1,13,64,92,24,131,239]},{"a":18624,"t":"byte","b":[7,15,31,15,14,0,0,67]},{"a":18632,"t":"byte","b":[7,7,1,192,192,0,1,131]},{"a":18640,"t":"byte","b":[207,143,3,0,0,12,0,0]},{"a":18648,"t":"byte","b":[128,192,192,0,112,240,238,239]},{"a":18656,"t":"byte","b":[51,121,248,248,192,8,15,70]},{"a":18664,"t":"byte","b":[0,1,1,0,32,113,123,51]},{"a":18672,"t":"byte","b":[239,199,0,112,120,252,124,48]},{"a":18680,"t":"byte","b":[0,3,112,248,24,0,134,199]},{"a":18688,"t":"byte","b":[85,105,105,105,105,105,105,105]},{"a":18696,"t":"byte","b":[85,85,105,170,170,150,85,85]},{"a":18704,"t":"byte","b":[105,105,105,105,105,105,85,85]},{"a":18712,"t":"byte","b":[85,85,105,105,105,105,105,105]},{"a":18720,"t":"byte","b":[105,105,105,105,105,105,105,105]},{"a":18728,"t":"byte","b":[105,105,105,105,105,105,105,85]},{"a":18736,"t":"byte","b":[39,39,39,39,39,39,39,39]},{"a":18744,"t":"byte","b":[228,228,228,228,228,228,228,228]},{"a":18752,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":18760,"t":"byte","b":[255,254,250,234,213,90,106,101]},{"a":18768,"t":"byte","b":[149,154,153,149,106,170,85,255]},{"a":18776,"t":"byte","b":[87,169,90,85,170,85,255,255]},{"a":18784,"t":"byte","b":[213,106,165,85,170,85,255,255]},{"a":18792,"t":"byte","b":[86,166,102,86,169,170,85,255]},{"a":18800,"t":"byte","b":[255,191,175,171,87,165,169,89]},{"a":18808,"t":"byte","b":[103,103,103,103,103,103,103,103]},{"a":18816,"t":"byte","b":[217,217,217,217,217,217,217,217]},{"a":18824,"t":"byte","b":[101,106,106,213,251,255,255,255]},{"a":18832,"t":"byte","b":[85,170,170,85,106,213,251,255]},{"a":18840,"t":"byte","b":[85,170,170,85,170,85,170,234]},{"a":18848,"t":"byte","b":[85,170,170,85,170,85,170,171]},{"a":18856,"t":"byte","b":[85,170,170,85,169,87,239,255]},{"a":18864,"t":"byte","b":[89,169,169,87,239,255,255,255]},{"a":18872,"t":"byte","b":[105,105,105,105,105,105,85,85]},{"a":18880,"t":"byte","b":[255,254,250,106,90,86,85,85]},{"a":18888,"t":"byte","b":[170,149,86,90,169,169,170,85]},{"a":18896,"t":"byte","b":[170,165,149,85,85,85,170,85]},{"a":18904,"t":"byte","b":[170,90,86,85,85,85,170,85]},{"a":18912,"t":"byte","b":[170,86,149,165,106,106,170,85]},{"a":18920,"t":"byte","b":[255,191,175,169,165,149,85,85]},{"a":18928,"t":"byte","b":[85,85,105,105,105,105,105,105]},{"a":18936,"t":"byte","b":[85,85,85,86,95,127,255,255]},{"a":18944,"t":"byte","b":[85,85,170,170,170,234,245,253]},{"a":18952,"t":"byte","b":[85,85,122,126,127,85,85,255]},{"a":18960,"t":"byte","b":[85,85,173,189,253,85,85,255]},{"a":18968,"t":"byte","b":[85,85,170,170,170,171,95,127]},{"a":18976,"t":"byte","b":[85,85,85,149,245,253,255,255]},{"a":18984,"t":"byte","b":[85,85,85,170,170,170,169,85]},{"a":18992,"t":"byte","b":[85,85,105,170,170,85,85,255]},{"a":19000,"t":"byte","b":[85,85,85,170,170,170,106,85]},{"a":19008,"t":"byte","b":[0,0,0,255,255,255,255,255]},{"a":19016,"t":"byte","b":[63,63,63,63,63,63,63,63]},{"a":19024,"t":"byte","b":[0,0,0,63,63,63,63,63]},{"a":19032,"t":"byte","b":[0,0,0,63,159,159,207,207]},{"a":19040,"t":"byte","b":[0,0,0,159,159,207,231,243]},{"a":19048,"t":"byte","b":[0,0,0,207,231,243,249,252]},{"a":19056,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":19064,"t":"byte","b":[0,0,0,252,252,252,252,252]},{"a":19072,"t":"byte","b":[0,0,0,252,249,249,243,243]},{"a":19080,"t":"byte","b":[0,0,0,249,249,243,231,207]},{"a":19088,"t":"byte","b":[0,0,0,243,231,207,159,63]},{"a":19096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19104,"t":"byte","b":[0,0,7,31,63,63,127,127]},{"a":19112,"t":"byte","b":[0,255,255,255,0,21,21,21]},{"a":19120,"t":"byte","b":[0,255,255,255,0,85,85,85]},{"a":19128,"t":"byte","b":[0,255,255,255,3,83,83,83]},{"a":19136,"t":"byte","b":[0,255,255,255,213,213,212,212]},{"a":19144,"t":"byte","b":[0,255,255,255,85,85,0,0]},{"a":19152,"t":"byte","b":[0,255,255,255,85,85,5,5]},{"a":19160,"t":"byte","b":[0,255,255,255,240,241,241,241]},{"a":19168,"t":"byte","b":[0,255,255,255,0,81,81,81]},{"a":19176,"t":"byte","b":[0,255,255,255,3,83,83,83]},{"a":19184,"t":"byte","b":[100,100,100,103,103,103,103,103]},{"a":19192,"t":"byte","b":[25,25,25,217,217,217,217,217]},{"a":19200,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":19208,"t":"byte","b":[254,254,250,250,234,234,170,170]},{"a":19216,"t":"byte","b":[255,255,255,255,240,240,240,240]},{"a":19224,"t":"byte","b":[255,255,255,255,0,0,0,0]},{"a":19232,"t":"byte","b":[254,254,250,250,10,10,10,10]},{"a":19240,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":19248,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":19256,"t":"byte","b":[10,10,10,10,10,10,10,10]},{"a":19264,"t":"byte","b":[240,240,240,240,250,250,234,234]},{"a":19272,"t":"byte","b":[0,0,0,0,170,170,170,170]},{"a":19280,"t":"byte","b":[10,10,10,10,170,170,170,170]},{"a":19288,"t":"byte","b":[255,255,254,254,250,250,234,234]},{"a":19296,"t":"byte","b":[255,255,255,255,254,250,234,170]},{"a":19304,"t":"byte","b":[254,250,234,170,170,170,170,170]},{"a":19312,"t":"byte","b":[191,175,171,170,170,170,170,170]},{"a":19320,"t":"byte","b":[255,255,255,255,191,175,171,170]},{"a":19328,"t":"byte","b":[170,170,170,170,85,85,85,85]},{"a":19336,"t":"gap","n":288,"x":[14705]},{"a":19624,"l":"gfx_charset_shaft_signs","c":"Glyphs $95-$97 of character set $4800: `*`, `=` and `>`, used for the terminal's pointer and title.","t":"byte","b":[16,84,56,254,56,84,16,0]},{"a":19632,"t":"byte","b":[0,0,126,0,126,0,0,0]},{"a":19640,"t":"byte","b":[96,48,24,12,24,48,96,0]},{"a":19648,"l":"gfx_sprites_33_35","c":"Sprite shapes $33-$35, inside character set $4800's unused glyphs $98-$AF: the code room's three sprites (pointers set by draw_code_room).","t":"byte","b":[128,0,0,192,0,0,224,0]},{"a":19656,"t":"byte","b":[0,240,3,140,248,0,115,252]},{"a":19664,"t":"byte","b":[1,140,62,0,51,15,0,0]},{"a":19672,"t":"byte","b":[3,0,0,0,0,0,0,0]},{"a":19680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19688,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19696,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19712,"t":"byte","b":[0,0,1,0,0,3,0,0]},{"a":19720,"t":"byte","b":[7,206,0,15,49,192,31,204]},{"a":19728,"t":"byte","b":[0,63,51,0,124,0,0,240]},{"a":19736,"t":"byte","b":[0,0,192,0,0,0,0,0]},{"a":19744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19776,"t":"byte","b":[0,0,0,119,119,119,0,0]},{"a":19784,"t":"byte","b":[0,10,170,168,42,170,160,10]},{"a":19792,"t":"byte","b":[170,168,10,170,160,0,0,0]},{"a":19800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":19840,"t":"gap","n":192,"x":[16092,16179,16257,16268,32906,38448,38451,38489,38738,39182,43603,43613,43617,43724,46880,46888]},{"a":20032,"l":"gfx_charset_box","c":"Glyphs $C8-$DD of character set $4800: the corners, edges and fill of the end screen's box and the tally's multiplication sign ($D9).","t":"byte","b":[0,0,0,2,2,1,1,1]},{"a":20040,"t":"byte","b":[0,0,170,170,149,86,90,90]},{"a":20048,"t":"byte","b":[0,0,170,170,85,170,170,0]},{"a":20056,"t":"byte","b":[0,0,170,170,86,149,165,165]},{"a":20064,"t":"byte","b":[0,0,0,128,128,64,64,64]},{"a":20072,"t":"byte","b":[1,1,1,1,1,1,1,1]},{"a":20080,"t":"byte","b":[168,92,168,92,168,92,168,90]},{"a":20088,"t":"byte","b":[42,53,42,53,42,53,42,165]},{"a":20096,"t":"byte","b":[64,64,64,64,64,64,64,64]},{"a":20104,"t":"byte","b":[1,1,2,2,0,0,0,0]},{"a":20112,"t":"byte","b":[90,86,149,170,170,0,0,0]},{"a":20120,"t":"byte","b":[170,170,85,170,170,0,0,0]},{"a":20128,"t":"byte","b":[170,170,85,170,170,170,170,85]},{"a":20136,"t":"byte","b":[165,149,86,170,170,0,0,0]},{"a":20144,"t":"byte","b":[64,64,128,128,0,0,0,0]},{"a":20152,"t":"byte","b":[42,53,42,53,42,53,42,53]},{"a":20160,"t":"byte","b":[168,92,168,92,168,92,168,92]},{"a":20168,"t":"byte","b":[0,0,102,60,24,60,102,0]},{"a":20176,"t":"byte","b":[170,170,170,170,85,170,170,0]},{"a":20184,"t":"byte","b":[0,0,0,0,0,0,127,127]},{"a":20192,"t":"byte","b":[0,0,0,0,0,0,127,0]},{"a":20200,"t":"byte","b":[3,6,12,24,48,96,192,0]},{"a":20208,"l":"tbl_start_sprite_y","c":"Five bytes read by the start-up ($392D) as the initial Y positions of sprites 1-3 and their stored copies ($2D, $2F, $31).","t":"byte","b":[106,106,94,94,115],"x":[14637]},{"a":20213,"t":"gap","n":201,"x":[14715,15565,16100,31393,31420,31558,32655,32662,32729,32746,33082,33151,33160,33178,33191,39283,39291,39352]},{"a":20414,"l":"gfx_charset_shaft_end","c":"Glyphs $F7-$FF of character set $4800, among them the full stop ($FE) of the terminal and end texts.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20422,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20430,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20438,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20446,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20454,"t":"byte","b":[0,0,255,255,255,0,255,255]},{"a":20462,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":20470,"t":"byte","b":[96,0,0,0,224,248,252,252]},{"a":20478,"t":"byte","b":[254,254]},{"a":20480,"t":"gap","n":144,"x":[33092,33115,39005,39243,39304,39329,39407,39826,39831,40041,40048,40051,42572]},{"a":20624,"l":"gfx_charset_room","c":"Character set $5000, the rooms' multicolour glyphs (glyphs $12-$FF; $00-$11 are the search picture built at run time): floors ($45-$4B), platform pieces ($49-$51), walls ($47/$48), and the furniture's parts drawn by draw_room.","t":"byte","b":[0,0,0,0,84,84,236,236]},{"a":20632,"t":"byte","b":[0,0,0,0,85,85,255,191]},{"a":20640,"t":"byte","b":[0,0,0,0,85,85,127,122]},{"a":20648,"t":"byte","b":[220,220,236,220,220,236,220,220]},{"a":20656,"t":"byte","b":[175,171,174,173,189,253,253,189]},{"a":20664,"t":"byte","b":[106,107,107,106,122,127,127,122]},{"a":20672,"t":"byte","b":[236,220,220,236,220,220,236,236]},{"a":20680,"t":"byte","b":[173,174,171,175,191,255,255,255]},{"a":20688,"t":"byte","b":[106,107,107,106,122,127,127,127]},{"a":20696,"t":"byte","b":[84,84,84,84,84,168,252,252]},{"a":20704,"t":"byte","b":[85,85,85,85,85,170,255,255]},{"a":20712,"t":"byte","b":[0,0,0,84,213,169,213,169]},{"a":20720,"t":"byte","b":[0,0,0,21,87,106,87,106]},{"a":20728,"t":"byte","b":[213,169,213,169,255,102,102,255]},{"a":20736,"t":"byte","b":[87,106,87,106,255,166,166,255]},{"a":20744,"t":"byte","b":[255,255,255,255,255,170,255,255]},{"a":20752,"t":"byte","b":[0,0,64,64,64,64,64,64]},{"a":20760,"t":"byte","b":[0,0,85,255,255,255,255,255]},{"a":20768,"t":"byte","b":[0,0,1,1,1,1,1,1]},{"a":20776,"t":"byte","b":[64,0,64,208,208,80,170,170]},{"a":20784,"t":"byte","b":[85,255,85,253,253,85,170,170]},{"a":20792,"t":"byte","b":[1,0,1,7,7,5,170,170]},{"a":20800,"t":"byte","b":[8,8,8,8,8,8,8,8]},{"a":20808,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":20816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20824,"t":"byte","b":[0,0,85,255,255,255,255,255]},{"a":20832,"t":"byte","b":[255,255,255,255,247,247,255,255]},{"a":20840,"t":"byte","b":[85,106,119,106,119,119,106,85]},{"a":20848,"t":"byte","b":[85,170,119,170,119,119,170,85]},{"a":20856,"t":"byte","b":[85,169,125,169,125,125,169,85]},{"a":20864,"t":"byte","b":[255,255,255,255,255,85,255,255]},{"a":20872,"t":"byte","b":[0,0,0,0,85,85,85,85]},{"a":20880,"t":"byte","b":[0,232,235,171,168,84,180,84]},{"a":20888,"t":"byte","b":[85,255,255,170,170,85,187,85]},{"a":20896,"t":"byte","b":[0,43,235,234,42,21,26,21]},{"a":20904,"t":"byte","b":[32,32,32,32,32,160,192,192]},{"a":20912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":20920,"t":"byte","b":[8,8,8,8,8,40,48,48]},{"a":20928,"t":"byte","b":[0,255,187,187,215,239,239,255]},{"a":20936,"t":"byte","b":[0,255,99,109,109,109,99,255]},{"a":20944,"t":"byte","b":[0,255,59,217,216,26,219,255]},{"a":20952,"t":"byte","b":[0,255,231,222,222,222,230,255]},{"a":20960,"t":"byte","b":[255,255,247,247,247,255,255,255]},{"a":20968,"t":"byte","b":[85,85,85,85,125,125,125,125]},{"a":20976,"t":"byte","b":[103,103,103,103,85,102,102,85]},{"a":20984,"t":"byte","b":[119,119,119,119,85,102,102,85]},{"a":20992,"t":"byte","b":[118,118,118,118,85,102,102,85]},{"a":21000,"t":"byte","b":[85,85,85,85,85,170,170,170]},{"a":21008,"t":"byte","b":[255,255,170,85,85,170,170,170]},{"a":21016,"t":"byte","b":[127,127,106,85,85,170,170,170]},{"a":21024,"t":"byte","b":[0,85,85,85,255,255,255,255]},{"a":21032,"t":"byte","b":[85,85,85,255,234,234,234,255]},{"a":21040,"t":"byte","b":[85,85,85,255,171,171,171,255]},{"a":21048,"t":"byte","b":[255,171,171,171,171,171,171,255]},{"a":21056,"t":"byte","b":[255,234,234,234,234,234,234,255]},{"a":21064,"t":"byte","b":[255,255,255,171,234,250,254,191]},{"a":21072,"t":"byte","b":[255,255,255,250,254,191,175,171]},{"a":21080,"t":"byte","b":[255,255,255,191,175,171,234,250]},{"a":21088,"t":"byte","b":[0,0,0,0,255,255,255,171]},{"a":21096,"t":"byte","b":[0,0,0,0,255,255,255,250]},{"a":21104,"t":"byte","b":[0,0,0,0,255,255,255,191]},{"a":21112,"t":"byte","b":[234,250,254,191,0,0,0,0]},{"a":21120,"t":"byte","b":[254,191,175,171,0,0,0,0]},{"a":21128,"t":"byte","b":[175,171,234,250,0,0,0,0]},{"a":21136,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":21144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":21152,"t":"byte","b":[0,0,240,240,0,0,0,0]},{"a":21160,"t":"byte","b":[0,160,255,255,0,0,0,0]},{"a":21168,"t":"byte","b":[0,170,15,15,0,0,0,0]},{"a":21176,"t":"byte","b":[80,170,80,128,128,128,128,128]},{"a":21184,"t":"byte","b":[0,0,0,85,169,105,169,253]},{"a":21192,"t":"byte","b":[0,0,0,85,170,169,170,255]},{"a":21200,"t":"byte","b":[0,192,192,213,234,234,192,208]},{"a":21208,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":21216,"t":"byte","b":[0,3,3,87,171,171,3,7]},{"a":21224,"t":"byte","b":[128,160,168,85,170,106,170,255]},{"a":21232,"t":"byte","b":[0,0,0,85,106,105,106,127]},{"a":21240,"t":"byte","b":[169,169,105,169,169,169,1,1]},{"a":21248,"t":"byte","b":[170,170,169,170,170,170,0,0]},{"a":21256,"t":"byte","b":[208,16,208,208,0,0,0,64]},{"a":21264,"t":"byte","b":[255,0,255,255,20,20,20,85]},{"a":21272,"t":"byte","b":[7,4,7,7,0,0,0,1]},{"a":21280,"t":"byte","b":[170,170,106,170,170,170,0,0]},{"a":21288,"t":"byte","b":[106,106,105,106,106,106,64,64]},{"a":21296,"t":"byte","b":[0,0,80,84,85,85,85,85]},{"a":21304,"t":"byte","b":[0,0,1,1,1,1,1,1]},{"a":21312,"t":"byte","b":[84,240,84,84,84,84,255,255]},{"a":21320,"t":"byte","b":[1,0,5,21,85,21,255,255]},{"a":21328,"t":"byte","b":[255,15,3,3,3,3,15,255]},{"a":21336,"t":"byte","b":[15,0,0,0,0,0,0,15]},{"a":21344,"t":"byte","b":[0,0,0,0,255,252,240,240]},{"a":21352,"t":"byte","b":[0,0,0,0,255,255,255,255]},{"a":21360,"t":"byte","b":[0,0,0,0,63,15,3,3]},{"a":21368,"t":"byte","b":[240,128,128,64,128,128,64,128]},{"a":21376,"t":"byte","b":[255,170,170,85,166,166,85,170]},{"a":21384,"t":"byte","b":[255,169,169,85,106,106,85,169]},{"a":21392,"t":"byte","b":[255,154,154,85,170,170,85,154]},{"a":21400,"t":"byte","b":[3,0,0,0,0,0,0,0]},{"a":21408,"t":"byte","b":[128,64,128,128,64,128,128,64]},{"a":21416,"t":"byte","b":[170,85,166,166,85,170,170,85]},{"a":21424,"t":"byte","b":[169,213,234,234,213,233,233,213]},{"a":21432,"t":"byte","b":[154,255,255,255,255,255,255,255]},{"a":21440,"t":"byte","b":[170,255,255,255,255,255,255,255]},{"a":21448,"t":"byte","b":[169,255,255,255,255,255,255,255]},{"a":21456,"t":"byte","b":[154,85,170,170,85,154,154,85]},{"a":21464,"t":"byte","b":[128,128,64,128,128,64,128,128]},{"a":21472,"t":"byte","b":[166,166,85,170,170,85,166,166]},{"a":21480,"t":"byte","b":[234,234,213,233,233,213,234,234]},{"a":21488,"t":"byte","b":[255,255,255,119,119,95,127,223]},{"a":21496,"t":"byte","b":[255,255,255,119,119,85,127,255]},{"a":21504,"t":"byte","b":[255,255,255,247,247,253,255,253]},{"a":21512,"t":"byte","b":[170,170,85,154,154,85,170,170]},{"a":21520,"t":"byte","b":[248,248,252,252,254,254,255,255]},{"a":21528,"t":"byte","b":[7,7,15,15,31,31,63,63]},{"a":21536,"t":"byte","b":[0,14,31,31,63,63,62,126]},{"a":21544,"t":"byte","b":[64,64,64,64,64,64,64,64]},{"a":21552,"t":"byte","b":[126,124,252,252,248,248,248,240]},{"a":21560,"t":"byte","b":[64,64,64,64,127,127,127,127]},{"a":21568,"t":"byte","b":[0,0,0,0,31,31,31,31]},{"a":21576,"t":"byte","b":[240,240,240,240,240,240,240,16]},{"a":21584,"t":"byte","b":[127,127,127,127,127,127,127,84]},{"a":21592,"t":"byte","b":[15,15,15,15,15,15,15,5]},{"a":21600,"t":"byte","b":[0,0,0,0,0,0,0,63]},{"a":21608,"t":"byte","b":[0,0,0,0,0,0,0,255]},{"a":21616,"t":"byte","b":[0,0,0,0,0,15,63,255]},{"a":21624,"t":"byte","b":[0,0,0,0,0,192,240,252]},{"a":21632,"t":"byte","b":[170,170,170,170,170,3,3,3]},{"a":21640,"t":"byte","b":[170,170,170,170,170,255,255,255]},{"a":21648,"l":"gfx_charset_room_2","c":"Character set $5000, glyphs $92-$FF: the second part of the rooms' glyphs (furniture and wall pieces).","t":"byte","b":[170,170,170,170,170,192,192,192]},{"a":21656,"t":"byte","b":[0,0,0,170,170,170,191,170]},{"a":21664,"t":"byte","b":[0,0,0,170,90,170,255,170]},{"a":21672,"t":"byte","b":[0,0,0,160,160,160,224,160]},{"a":21680,"t":"byte","b":[170,170,191,170,170,170,170,191]},{"a":21688,"t":"byte","b":[90,170,255,170,90,170,170,255]},{"a":21696,"t":"byte","b":[160,160,224,160,160,160,160,224]},{"a":21704,"t":"byte","b":[170,170,170,170,191,170,63,63]},{"a":21712,"t":"byte","b":[170,90,170,170,255,170,255,255]},{"a":21720,"t":"byte","b":[160,160,160,160,224,160,192,192]},{"a":21728,"t":"byte","b":[63,61,59,55,63,62,61,59]},{"a":21736,"t":"byte","b":[255,239,223,191,123,247,255,255]},{"a":21744,"t":"byte","b":[63,63,63,63,0,0,0,8]},{"a":21752,"t":"byte","b":[255,255,255,255,0,0,128,136]},{"a":21760,"t":"byte","b":[0,0,21,21,11,11,11,11]},{"a":21768,"t":"byte","b":[8,63,85,85,255,255,255,255]},{"a":21776,"t":"byte","b":[136,255,85,85,191,191,191,191]},{"a":21784,"t":"byte","b":[0,0,85,85,248,248,248,248]},{"a":21792,"t":"byte","b":[11,11,11,11,11,11,10,1]},{"a":21800,"t":"byte","b":[253,253,255,255,255,255,170,85]},{"a":21808,"t":"byte","b":[159,159,191,191,191,191,170,85]},{"a":21816,"t":"byte","b":[248,248,248,248,248,248,168,80]},{"a":21824,"t":"byte","b":[0,252,84,84,84,84,84,252]},{"a":21832,"t":"byte","b":[128,160,42,10,8,0,0,0]},{"a":21840,"t":"byte","b":[0,0,0,0,0,32,160,32]},{"a":21848,"t":"byte","b":[0,0,0,0,0,85,170,85]},{"a":21856,"t":"byte","b":[0,168,168,8,0,0,255,255]},{"a":21864,"t":"byte","b":[0,0,0,0,0,0,255,255]},{"a":21872,"t":"byte","b":[85,85,125,0,0,0,255,255]},{"a":21880,"t":"byte","b":[0,0,0,0,0,0,254,255]},{"a":21888,"t":"byte","b":[255,255,63,58,63,63,63,61]},{"a":21896,"t":"byte","b":[255,255,255,255,255,255,255,87]},{"a":21904,"t":"byte","b":[240,240,192,192,192,192,192,195]},{"a":21912,"t":"byte","b":[5,15,3,3,3,0,0,3]},{"a":21920,"t":"byte","b":[85,255,252,252,252,240,240,252]},{"a":21928,"t":"byte","b":[7,7,3,0,0,0,0,0]},{"a":21936,"t":"byte","b":[0,0,0,0,14,31,31,15]},{"a":21944,"t":"byte","b":[63,127,127,255,255,255,255,255]},{"a":21952,"t":"byte","b":[252,254,254,255,255,255,255,255]},{"a":21960,"t":"byte","b":[0,0,0,0,112,248,248,240]},{"a":21968,"t":"byte","b":[3,3,3,3,3,3,3,1]},{"a":21976,"t":"byte","b":[170,170,170,255,255,255,255,0]},{"a":21984,"t":"byte","b":[192,192,192,192,192,192,192,64]},{"a":21992,"t":"byte","b":[0,0,0,12,24,244,98,33]},{"a":22000,"t":"byte","b":[128,128,64,64,32,32,32,16]},{"a":22008,"t":"byte","b":[16,16,16,16,16,16,16,254]},{"a":22016,"t":"byte","b":[0,0,0,0,21,21,63,63]},{"a":22024,"t":"byte","b":[0,0,0,0,84,84,252,252]},{"a":22032,"t":"byte","b":[64,127,117,127,64,127,117,117]},{"a":22040,"t":"byte","b":[1,253,93,253,1,253,221,253]},{"a":22048,"t":"byte","b":[127,64,64,64,64,64,64,64]},{"a":22056,"t":"byte","b":[253,1,1,1,1,1,1,1]},{"a":22064,"t":"byte","b":[85,255,255,255,255,255,255,255]},{"a":22072,"t":"byte","b":[84,252,252,252,252,252,252,252]},{"a":22080,"t":"byte","b":[255,255,255,255,255,85,85,85]},{"a":22088,"t":"byte","b":[252,252,252,252,252,84,84,84]},{"a":22096,"t":"byte","b":[0,0,0,170,170,144,150,150]},{"a":22104,"t":"byte","b":[0,0,0,170,170,3,231,231]},{"a":22112,"t":"byte","b":[0,0,0,170,170,30,222,222]},{"a":22120,"t":"byte","b":[150,150,170,132,183,183,183,183]},{"a":22128,"t":"byte","b":[231,231,170,112,121,121,121,121]},{"a":22136,"t":"byte","b":[222,222,170,66,110,110,110,110]},{"a":22144,"t":"byte","b":[170,135,151,151,151,151,170,129]},{"a":22152,"t":"byte","b":[170,76,125,125,125,125,170,0]},{"a":22160,"t":"byte","b":[170,14,190,190,190,190,170,6]},{"a":22168,"t":"byte","b":[181,181,181,181,181,170,140,156]},{"a":22176,"t":"byte","b":[166,166,166,166,166,170,1,225]},{"a":22184,"t":"byte","b":[102,102,102,102,102,170,14,206]},{"a":22192,"t":"byte","b":[158,158,158,158,158,170,170,170]},{"a":22200,"t":"byte","b":[237,237,237,237,237,170,170,170]},{"a":22208,"t":"byte","b":[222,222,222,222,222,170,170,170]},{"a":22216,"t":"byte","b":[0,21,37,41,42,42,42,42]},{"a":22224,"t":"byte","b":[0,255,255,255,127,191,223,239]},{"a":22232,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":22240,"t":"byte","b":[0,255,255,255,254,253,251,247]},{"a":22248,"t":"byte","b":[0,84,88,104,168,168,168,168]},{"a":22256,"t":"byte","b":[42,42,42,42,42,42,42,42]},{"a":22264,"t":"byte","b":[247,251,253,254,255,255,255,255]},{"a":22272,"t":"byte","b":[255,255,255,255,127,191,192,223]},{"a":22280,"t":"byte","b":[255,255,255,255,255,255,0,255]},{"a":22288,"t":"byte","b":[239,223,191,127,127,127,127,127]},{"a":22296,"t":"byte","b":[168,168,168,168,168,168,168,168]},{"a":22304,"t":"byte","b":[223,223,223,223,223,223,223,223]},{"a":22312,"t":"byte","b":[255,255,255,255,254,253,251,247]},{"a":22320,"t":"byte","b":[223,192,191,127,255,255,255,255]},{"a":22328,"t":"byte","b":[255,0,255,255,255,255,255,255]},{"a":22336,"t":"byte","b":[127,127,127,127,127,191,223,239]},{"a":22344,"t":"byte","b":[42,42,42,42,42,41,37,21]},{"a":22352,"t":"byte","b":[239,223,191,127,255,255,255,255]},{"a":22360,"t":"byte","b":[247,251,253,254,255,255,255,255]},{"a":22368,"t":"byte","b":[168,168,168,168,168,104,88,84]},{"a":22376,"t":"byte","b":[127,127,127,127,127,127,127,127]},{"a":22384,"t":"byte","b":[0,0,0,0,0,0,128,128]},{"a":22392,"t":"byte","b":[5,5,5,5,5,5,5,5]},{"a":22400,"t":"byte","b":[85,85,85,169,169,169,169,85]},{"a":22408,"t":"byte","b":[104,104,124,188,148,188,188,104]},{"a":22416,"t":"byte","b":[8,42,85,85,255,255,255,255]},{"a":22424,"t":"byte","b":[136,170,85,85,191,191,191,191]},{"a":22432,"t":"byte","b":[5,10,85,85,251,251,251,251]},{"a":22440,"t":"byte","b":[85,170,85,85,239,237,239,234]},{"a":22448,"t":"byte","b":[124,170,85,85,248,120,248,168]},{"a":22456,"t":"byte","b":[249,249,251,251,251,251,170,85]},{"a":22464,"t":"byte","b":[239,237,239,234,239,237,175,85]},{"a":22472,"t":"byte","b":[248,120,248,168,248,120,248,80]},{"a":22480,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":22488,"t":"byte","b":[85,85,85,85,87,87,87,87]},{"a":22496,"t":"byte","b":[85,85,85,170,85,85,85,85]},{"a":22504,"t":"byte","b":[87,87,87,170,87,87,87,87]},{"a":22512,"t":"byte","b":[87,87,87,87,87,85,85,85]},{"a":22520,"t":"byte","b":[255,255,255,255,85,85,85,85]},{"a":22528,"l":"gfx_charset_panel","c":"Character set $5800 (the pocket computer panel), glyphs $00-$65: the EPYX logo, the panel's frame, buttons and icons.","t":"byte","b":[21,22,22,22,22,22,22,22]},{"a":22536,"t":"byte","b":[170,171,171,175,175,191,191,255]},{"a":22544,"t":"byte","b":[169,170,170,234,234,250,250,254]},{"a":22552,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":22560,"t":"byte","b":[22,22,22,22,22,21,21,21]},{"a":22568,"t":"byte","b":[255,175,175,175,175,170,85,85]},{"a":22576,"t":"byte","b":[254,234,234,234,234,169,85,85]},{"a":22584,"t":"byte","b":[21,0,255,255,0,21,21,21]},{"a":22592,"t":"byte","b":[85,0,255,255,0,85,85,85]},{"a":22600,"t":"byte","b":[83,3,255,255,3,83,83,83]},{"a":22608,"t":"byte","b":[21,22,22,22,22,22,22,22]},{"a":22616,"t":"byte","b":[170,175,175,175,175,255,255,191]},{"a":22624,"t":"byte","b":[169,234,234,234,234,254,254,250]},{"a":22632,"t":"byte","b":[22,22,22,22,22,21,21,21]},{"a":22640,"t":"byte","b":[191,175,175,171,171,170,85,85]},{"a":22648,"t":"byte","b":[250,234,234,170,170,169,85,85]},{"a":22656,"t":"byte","b":[0,255,193,207,199,159,131,255]},{"a":22664,"t":"byte","b":[0,255,135,155,155,7,63,255]},{"a":22672,"t":"byte","b":[0,255,51,39,143,159,63,255]},{"a":22680,"t":"byte","b":[3,255,51,135,207,135,51,255]},{"a":22688,"t":"byte","b":[12,28,60,124,124,124,124,124]},{"a":22696,"t":"byte","b":[48,56,60,62,62,62,62,62]},{"a":22704,"t":"byte","b":[124,124,124,124,124,124,124,124]},{"a":22712,"t":"byte","b":[62,62,62,62,62,62,62,62]},{"a":22720,"t":"byte","b":[124,124,60,28,12,0,0,0]},{"a":22728,"t":"byte","b":[62,62,60,56,48,0,0,0]},{"a":22736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":22744,"t":"byte","b":[60,102,6,12,24,0,24,0]},{"a":22752,"t":"byte","b":[21,22,22,22,22,22,22,22]},{"a":22760,"t":"byte","b":[170,187,187,170,187,187,170,187]},{"a":22768,"t":"byte","b":[169,186,186,170,186,186,170,186]},{"a":22776,"t":"byte","b":[22,22,22,22,21,21,21,21]},{"a":22784,"t":"byte","b":[187,170,187,187,170,85,85,85]},{"a":22792,"t":"byte","b":[186,170,186,186,169,85,85,85]},{"a":22800,"t":"byte","b":[255,217,230,217,230,217,230,217]},{"a":22808,"t":"byte","b":[252,156,108,156,108,156,108,156]},{"a":22816,"t":"byte","b":[230,217,230,217,230,217,230,255]},{"a":22824,"t":"byte","b":[108,156,108,156,108,156,108,252]},{"a":22832,"t":"byte","b":[230,217,230,217,230,217,230,217]},{"a":22840,"t":"byte","b":[108,156,108,156,108,156,108,156]},{"a":22848,"t":"byte","b":[255,217,230,217,230,217,230,255]},{"a":22856,"t":"byte","b":[252,156,108,156,108,156,108,252]},{"a":22864,"t":"byte","b":[212,212,212,212,212,212,212,212]},{"a":22872,"t":"byte","b":[5,5,5,5,5,5,5,5]},{"a":22880,"t":"byte","b":[241,241,241,241,241,241,241,241]},{"a":22888,"t":"byte","b":[81,81,81,81,81,81,81,81]},{"a":22896,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":22904,"t":"byte","b":[241,241,241,241,240,241,241,241]},{"a":22912,"t":"byte","b":[90,85,85,85,0,85,85,85]},{"a":22920,"t":"byte","b":[169,85,85,85,0,85,85,85]},{"a":22928,"t":"byte","b":[81,81,81,81,0,81,81,81]},{"a":22936,"t":"byte","b":[83,83,83,83,3,83,83,83]},{"a":22944,"t":"byte","b":[212,212,213,213,255,255,255,255]},{"a":22952,"t":"byte","b":[0,0,85,85,255,255,255,255]},{"a":22960,"t":"byte","b":[5,5,85,85,255,255,255,255]},{"a":22968,"t":"byte","b":[241,241,241,241,240,255,255,255]},{"a":22976,"t":"byte","b":[90,85,85,85,0,255,255,255]},{"a":22984,"t":"byte","b":[169,85,85,85,0,255,255,255]},{"a":22992,"t":"byte","b":[81,81,81,81,0,255,255,255]},{"a":23000,"t":"byte","b":[83,83,83,83,3,255,255,255]},{"a":23008,"t":"byte","b":[90,106,106,106,107,107,111,111]},{"a":23016,"t":"byte","b":[169,170,234,234,250,250,254,254]},{"a":23024,"t":"byte","b":[106,111,111,107,107,106,106,106]},{"a":23032,"t":"byte","b":[170,254,254,250,250,234,234,170]},{"a":23040,"t":"byte","b":[90,106,106,107,107,107,107,107]},{"a":23048,"t":"byte","b":[169,170,170,170,234,250,234,170]},{"a":23056,"t":"byte","b":[106,106,106,107,106,106,106,106]},{"a":23064,"t":"byte","b":[170,186,250,250,250,186,170,170]},{"a":23072,"t":"byte","b":[90,106,106,106,106,106,106,107]},{"a":23080,"t":"byte","b":[169,170,170,170,170,186,234,170]},{"a":23088,"t":"byte","b":[107,107,107,107,107,107,107,106]},{"a":23096,"t":"byte","b":[250,250,250,250,250,246,250,170]},{"a":23104,"t":"byte","b":[90,106,110,110,107,111,111,107]},{"a":23112,"t":"byte","b":[169,234,238,174,250,254,254,250]},{"a":23120,"t":"byte","b":[106,106,110,110,107,111,111,107]},{"a":23128,"t":"byte","b":[170,234,238,174,250,254,254,250]},{"a":23136,"t":"byte","b":[90,106,107,107,107,107,107,107]},{"a":23144,"t":"byte","b":[169,170,234,234,234,234,234,234]},{"a":23152,"t":"byte","b":[107,107,107,107,106,107,107,106]},{"a":23160,"t":"byte","b":[234,234,234,234,170,234,234,170]},{"a":23168,"t":"byte","b":[255,255,255,255,255,255,245,245]},{"a":23176,"t":"byte","b":[175,175,175,175,175,175,175,175]},{"a":23184,"t":"byte","b":[255,255,255,255,255,255,127,127]},{"a":23192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":23200,"t":"byte","b":[0,0,7,31,63,63,127,127]},{"a":23208,"t":"byte","b":[0,255,255,255,0,21,21,21]},{"a":23216,"t":"byte","b":[0,255,255,255,0,85,85,85]},{"a":23224,"t":"byte","b":[0,255,255,255,3,83,83,83]},{"a":23232,"t":"byte","b":[0,255,255,255,213,213,212,212]},{"a":23240,"t":"byte","b":[0,255,255,255,85,85,0,0]},{"a":23248,"t":"byte","b":[0,255,255,255,85,85,5,5]},{"a":23256,"t":"byte","b":[0,255,255,255,240,241,241,241]},{"a":23264,"t":"byte","b":[0,255,255,255,0,81,81,81]},{"a":23272,"t":"byte","b":[0,255,255,255,3,83,83,83]},{"a":23280,"t":"byte","b":[90,107,111,111,107,106,111,111]},{"a":23288,"t":"byte","b":[169,250,190,190,250,170,254,170]},{"a":23296,"t":"byte","b":[111,111,106,111,111,111,111,106]},{"a":23304,"t":"byte","b":[250,170,170,254,170,250,170,170]},{"a":23312,"t":"byte","b":[90,106,106,106,106,107,107,107]},{"a":23320,"t":"byte","b":[169,170,170,170,170,250,250,250]},{"a":23328,"t":"byte","b":[107,107,107,107,106,106,106,106]},{"a":23336,"t":"byte","b":[250,250,250,250,170,170,170,170]},{"a":23344,"t":"gap","n":1152,"x":[14702]},{"a":24496,"l":"gfx_charset_panel_end","c":"Glyphs $F6-$FF of character set $5800: the colon, the map frame's corners and edges ($F0-$F5 lie in the display area) and the icons beside PUSH BUTTON.","t":"byte","b":[0,0,48,0,0,48,0,0]},{"a":24504,"t":"byte","b":[0,0,0,0,0,0,48,0]},{"a":24512,"t":"byte","b":[12,24,48,48,48,24,12,0]},{"a":24520,"t":"byte","b":[48,24,12,12,12,24,48,0]},{"a":24528,"t":"byte","b":[12,12,24,0,0,0,0,0]},{"a":24536,"t":"byte","b":[0,0,0,126,0,0,0,0]},{"a":24544,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":24552,"t":"byte","b":[255,127,127,63,63,31,7,0]},{"a":24560,"t":"byte","b":[255,254,254,252,252,248,224,0]},{"a":24568,"t":"byte","b":[0,0,224,248,252,252,254,254]},{"a":24576,"l":"gfx_agent_1","c":"Sprite shapes $80-$8F: the agent's walking frames (three sprites a frame, pointers from tbl_agent_pointers; each frame stored facing one way and mirrored in place by agent_frame).","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":[0,0,0,0,0,0,0,0]},{"a":24600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24616,"t":"byte","b":[224,0,0,48,0,0,16,0]},{"a":24624,"t":"byte","b":[0,16,0,0,0,0,0,120]},{"a":24632,"t":"byte","b":[0,0,120,0,0,124,0,128]},{"a":24640,"t":"byte","b":[0,124,0,0,124,0,0,124]},{"a":24648,"t":"byte","b":[0,0,60,0,0,60,0,0]},{"a":24656,"t":"byte","b":[62,0,0,62,0,0,62,0]},{"a":24664,"t":"byte","b":[0,126,48,0,126,120,0,255]},{"a":24672,"t":"byte","b":[236,0,255,128,0,255,0,0]},{"a":24680,"t":"byte","b":[126,0,0,112,0,0,112,0]},{"a":24688,"t":"byte","b":[0,112,0,0,48,0,0,48]},{"a":24696,"t":"byte","b":[0,0,112,0,1,240,0,128]},{"a":24704,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":24712,"t":"byte","b":[0,1,224,0,0,224,0,0]},{"a":24720,"t":"byte","b":[112,0,0,48,0,0,56,0]},{"a":24728,"t":"byte","b":[0,56,0,0,56,0,0,24]},{"a":24736,"t":"byte","b":[0,0,28,0,0,12,0,0]},{"a":24744,"t":"byte","b":[204,0,1,136,0,0,12,0]},{"a":24752,"t":"byte","b":[0,12,0,0,0,0,0,0]},{"a":24760,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":24768,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":24776,"t":"byte","b":[0,1,224,0,0,224,0,0]},{"a":24784,"t":"byte","b":[112,0,0,48,0,0,56,0]},{"a":24792,"t":"byte","b":[0,60,0,0,28,0,0,30]},{"a":24800,"t":"byte","b":[0,0,14,0,0,60,0,1]},{"a":24808,"t":"byte","b":[248,0,1,128,0,0,0,0]},{"a":24816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24824,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"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,0]},{"a":24848,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":24864,"t":"byte","b":[0,0,0,0,0,224,0,0]},{"a":24872,"t":"byte","b":[48,0,0,16,0,0,16,0]},{"a":24880,"t":"byte","b":[0,0,0,0,120,0,0,120]},{"a":24888,"t":"byte","b":[0,0,124,0,0,124,0,128]},{"a":24896,"t":"byte","b":[0,124,0,0,124,0,0,60]},{"a":24904,"t":"byte","b":[0,0,60,0,0,62,0,0]},{"a":24912,"t":"byte","b":[126,0,0,254,0,0,254,0]},{"a":24920,"t":"byte","b":[0,252,12,1,252,62,3,222]},{"a":24928,"t":"byte","b":[247,3,143,224,3,143,128,7]},{"a":24936,"t":"byte","b":[6,0,7,0,0,7,0,0]},{"a":24944,"t":"byte","b":[6,0,0,6,0,0,14,0]},{"a":24952,"t":"byte","b":[0,62,0,0,0,0,0,128]},{"a":24960,"t":"byte","b":[0,0,0,0,192,0,1,224]},{"a":24968,"t":"byte","b":[0,0,224,0,0,112,0,0]},{"a":24976,"t":"byte","b":[48,0,0,56,0,0,56,0]},{"a":24984,"t":"byte","b":[0,58,0,0,27,0,0,27]},{"a":24992,"t":"byte","b":[0,0,58,0,0,48,0,0]},{"a":25000,"t":"byte","b":[96,0,0,192,0,0,192,0]},{"a":25008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25016,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25024,"t":"byte","b":[0,0,0,0,192,0,1,224]},{"a":25032,"t":"byte","b":[0,0,224,0,0,112,0,0]},{"a":25040,"t":"byte","b":[48,0,0,56,0,0,60,0]},{"a":25048,"t":"byte","b":[0,30,0,0,15,0,0,7]},{"a":25056,"t":"byte","b":[0,0,14,0,0,60,0,0]},{"a":25064,"t":"byte","b":[248,0,0,192,0,0,0,0]},{"a":25072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25080,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25120,"t":"byte","b":[0,0,224,0,0,48,0,0]},{"a":25128,"t":"byte","b":[16,0,0,16,0,0,0,0]},{"a":25136,"t":"byte","b":[0,120,0,0,120,0,0,124]},{"a":25144,"t":"byte","b":[0,0,124,0,0,124,0,128]},{"a":25152,"t":"byte","b":[0,124,0,0,60,0,0,60]},{"a":25160,"t":"byte","b":[0,0,62,0,0,126,0,0]},{"a":25168,"t":"byte","b":[126,0,1,254,0,3,254,0]},{"a":25176,"t":"byte","b":[3,207,0,7,143,0,15,7]},{"a":25184,"t":"byte","b":[252,14,3,254,12,1,195,12]},{"a":25192,"t":"byte","b":[0,0,28,0,0,24,0,0]},{"a":25200,"t":"byte","b":[24,0,0,48,0,0,240,0]},{"a":25208,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25216,"t":"byte","b":[0,192,0,1,224,0,0,224]},{"a":25224,"t":"byte","b":[0,0,48,0,0,56,0,0]},{"a":25232,"t":"byte","b":[56,0,0,56,0,0,58,0]},{"a":25240,"t":"byte","b":[0,51,0,0,242,0,1,224]},{"a":25248,"t":"byte","b":[0,7,128,0,6,0,0,0]},{"a":25256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25272,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25280,"t":"byte","b":[0,192,0,1,224,0,0,224]},{"a":25288,"t":"byte","b":[0,0,112,0,0,48,0,0]},{"a":25296,"t":"byte","b":[120,0,0,124,0,0,62,0]},{"a":25304,"t":"byte","b":[0,7,0,1,142,0,7,204]},{"a":25312,"t":"byte","b":[0,6,28,0,0,56,0,0]},{"a":25320,"t":"byte","b":[48,0,0,0,0,0,0,0]},{"a":25328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25336,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"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,0]},{"a":25360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25376,"t":"byte","b":[0,0,0,0,0,224,0,0]},{"a":25384,"t":"byte","b":[48,0,0,16,0,0,16,0]},{"a":25392,"t":"byte","b":[0,0,0,0,120,0,0,120]},{"a":25400,"t":"byte","b":[0,0,124,0,0,124,0,128]},{"a":25408,"t":"byte","b":[0,124,0,0,124,0,0,60]},{"a":25416,"t":"byte","b":[0,0,60,0,0,62,0,0]},{"a":25424,"t":"byte","b":[254,0,3,254,0,7,254,0]},{"a":25432,"t":"byte","b":[15,254,0,31,15,0,28,15]},{"a":25440,"t":"byte","b":[0,28,7,224,28,1,240,12]},{"a":25448,"t":"byte","b":[0,252,12,0,31,12,0,3]},{"a":25456,"t":"byte","b":[12,0,1,28,0,1,56,0]},{"a":25464,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25472,"t":"byte","b":[0,0,0,0,192,0,1,224]},{"a":25480,"t":"byte","b":[0,0,224,0,0,112,0,0]},{"a":25488,"t":"byte","b":[48,0,0,116,0,0,114,0]},{"a":25496,"t":"byte","b":[12,115,0,15,227,0,0,226]},{"a":25504,"t":"byte","b":[0,0,2,0,0,2,0,0]},{"a":25512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25528,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25536,"t":"byte","b":[0,0,0,0,192,0,1,224]},{"a":25544,"t":"byte","b":[0,0,224,0,0,112,0,0]},{"a":25552,"t":"byte","b":[56,0,0,60,0,0,62,0]},{"a":25560,"t":"byte","b":[12,15,0,15,135,0,0,134]},{"a":25568,"t":"byte","b":[0,0,6,0,0,14,0,0]},{"a":25576,"t":"byte","b":[12,0,0,0,0,0,0,0]},{"a":25584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25592,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25600,"l":"gfx_agent_2","c":"Sprite shapes $90-$9F: the rest of the walking frames ($90-$9B), the standing frame ($9C-$9E) and the first sprite of frame $0F ($9F).","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25632,"t":"byte","b":[0,0,0,0,0,224,0,0]},{"a":25640,"t":"byte","b":[48,0,0,16,0,0,16,0]},{"a":25648,"t":"byte","b":[0,0,0,0,120,0,0,120]},{"a":25656,"t":"byte","b":[0,0,124,0,0,124,0,128]},{"a":25664,"t":"byte","b":[0,124,0,0,124,0,0,60]},{"a":25672,"t":"byte","b":[0,0,60,0,0,126,0,1]},{"a":25680,"t":"byte","b":[254,0,3,254,0,7,255,0]},{"a":25688,"t":"byte","b":[15,239,0,15,7,128,7,131]},{"a":25696,"t":"byte","b":[128,3,129,224,1,128,240,0]},{"a":25704,"t":"byte","b":[192,112,0,224,56,0,192,28]},{"a":25712,"t":"byte","b":[0,192,14,0,128,6,0,0]},{"a":25720,"t":"byte","b":[6,0,0,2,0,0,2,128]},{"a":25728,"t":"byte","b":[0,0,0,0,192,0,1,224]},{"a":25736,"t":"byte","b":[0,0,224,0,0,112,0,0]},{"a":25744,"t":"byte","b":[48,0,0,52,0,6,58,0]},{"a":25752,"t":"byte","b":[7,187,0,0,251,0,0,115]},{"a":25760,"t":"byte","b":[0,0,2,0,0,3,0,0]},{"a":25768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25784,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":25792,"t":"byte","b":[0,0,0,0,192,0,1,224]},{"a":25800,"t":"byte","b":[0,0,224,0,0,112,0,0]},{"a":25808,"t":"byte","b":[60,0,12,63,0,14,31,128]},{"a":25816,"t":"byte","b":[7,1,128,3,129,128,0,129]},{"a":25824,"t":"byte","b":[128,0,1,128,0,1,128,0]},{"a":25832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25848,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"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,0,0,0,0,0,0]},{"a":25880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":25896,"t":"byte","b":[224,0,0,48,0,0,16,0]},{"a":25904,"t":"byte","b":[0,16,0,0,0,0,0,120]},{"a":25912,"t":"byte","b":[0,0,120,0,0,124,0,128]},{"a":25920,"t":"byte","b":[0,124,0,0,124,0,0,124]},{"a":25928,"t":"byte","b":[0,0,60,0,0,60,0,0]},{"a":25936,"t":"byte","b":[62,0,0,254,0,1,254,0]},{"a":25944,"t":"byte","b":[3,252,0,7,220,0,15,156]},{"a":25952,"t":"byte","b":[0,15,216,0,1,236,0,0]},{"a":25960,"t":"byte","b":[62,0,0,31,128,0,19,192]},{"a":25968,"t":"byte","b":[0,1,224,0,0,112,0,0]},{"a":25976,"t":"byte","b":[48,0,0,48,0,0,96,128]},{"a":25984,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":25992,"t":"byte","b":[0,1,224,0,0,224,0,0]},{"a":26000,"t":"byte","b":[112,0,0,48,0,0,56,0]},{"a":26008,"t":"byte","b":[0,56,0,6,56,0,7,248]},{"a":26016,"t":"byte","b":[0,0,240,0,0,0,0,0]},{"a":26024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26040,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":26048,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":26056,"t":"byte","b":[0,1,224,0,0,224,0,0]},{"a":26064,"t":"byte","b":[112,0,0,60,0,0,62,0]},{"a":26072,"t":"byte","b":[0,31,0,24,3,128,31,129]},{"a":26080,"t":"byte","b":[128,7,129,128,0,1,128,0]},{"a":26088,"t":"byte","b":[1,128,0,0,192,0,0,0]},{"a":26096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26104,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":26112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26152,"t":"byte","b":[224,0,0,48,0,0,16,0]},{"a":26160,"t":"byte","b":[0,16,0,0,0,0,0,120]},{"a":26168,"t":"byte","b":[0,0,120,0,0,124,0,128]},{"a":26176,"t":"byte","b":[0,124,0,0,124,0,0,124]},{"a":26184,"t":"byte","b":[0,0,60,0,0,60,0,0]},{"a":26192,"t":"byte","b":[62,0,0,62,0,0,124,0]},{"a":26200,"t":"byte","b":[0,121,0,0,255,128,0,255]},{"a":26208,"t":"byte","b":[128,1,248,192,1,248,64,0]},{"a":26216,"t":"byte","b":[60,0,0,28,0,0,14,0]},{"a":26224,"t":"byte","b":[0,6,0,0,3,0,0,3]},{"a":26232,"t":"byte","b":[128,0,7,128,0,15,128,128]},{"a":26240,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":26248,"t":"byte","b":[0,1,224,0,0,224,0,0]},{"a":26256,"t":"byte","b":[112,0,0,48,0,0,48,0]},{"a":26264,"t":"byte","b":[0,56,0,0,56,0,0,56]},{"a":26272,"t":"byte","b":[0,7,248,0,7,248,0,0]},{"a":26280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26296,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":26304,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":26312,"t":"byte","b":[0,1,224,0,0,224,0,0]},{"a":26320,"t":"byte","b":[112,0,0,60,0,0,62,0]},{"a":26328,"t":"byte","b":[0,14,0,0,7,0,0,3]},{"a":26336,"t":"byte","b":[0,15,195,0,15,195,0,0]},{"a":26344,"t":"byte","b":[3,0,0,1,128,0,1,128]},{"a":26352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26360,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":26368,"l":"f_6700","c":"The default operand of agent_frame's mirroring loop (`ldx $6700,y`), inside the agent's frames; rewritten from tbl_agent_shapes before every use.","t":"byte","b":[0],"x":[34730,34745]},{"a":26369,"l":"f_6701","c":"Default operand +1 of agent_frame's mirroring loop, inside the agent's frames ($6700 area), rewritten before use.","t":"byte","b":[0],"x":[34748,34754]},{"a":26370,"l":"f_6702","c":"Default operand +2 of agent_frame's mirroring loop, inside the agent's frames, rewritten before use.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[34736,34739]},{"a":26378,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26386,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26394,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26402,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26410,"t":"byte","b":[1,192,0,0,96,0,0,32]},{"a":26418,"t":"byte","b":[0,0,32,0,0,0,0,0]},{"a":26426,"t":"byte","b":[240,0,0,240,0,128,0,248]},{"a":26434,"l":"gfx_agent_2b","c":"Sprite shapes $9D-$9F (from $6742): the rest of the agent's standing frame and frame $0F, after the operand addresses agent_frame names inside the block.","t":"byte","b":[0,0,248,0,0,120,0,0]},{"a":26442,"t":"byte","b":[120,0,0,60,0,0,60,0]},{"a":26450,"t":"byte","b":[0,62,0,0,126,0,0,254]},{"a":26458,"t":"byte","b":[0,1,252,0,3,252,0,3]},{"a":26466,"t":"byte","b":[248,0,7,184,0,7,188,0]},{"a":26474,"t":"byte","b":[3,222,0,1,206,0,1,199]},{"a":26482,"t":"byte","b":[0,0,227,128,0,113,128,0]},{"a":26490,"t":"byte","b":[115,128,1,239,0,128,0,0]},{"a":26498,"t":"byte","b":[0,0,0,0,0,0,0,1]},{"a":26506,"t":"byte","b":[128,0,3,192,0,1,192,0]},{"a":26514,"t":"byte","b":[0,224,0,0,96,0,0,112]},{"a":26522,"t":"byte","b":[0,0,120,0,0,56,0,0]},{"a":26530,"t":"byte","b":[56,0,0,120,0,0,240,0]},{"a":26538,"t":"byte","b":[1,192,0,7,128,0,6,0]},{"a":26546,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26554,"t":"byte","b":[0,0,0,0,0,128,0,0]},{"a":26562,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26570,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26578,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26586,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26594,"t":"byte","b":[0,0,0,56,0,0,124,0]},{"a":26602,"t":"byte","b":[0,124,0,0,56,0,0,0]},{"a":26610,"t":"byte","b":[0,0,56,0,0,124,0,0]},{"a":26618,"t":"byte","b":[124,0,0,254,0,128]},{"a":26624,"l":"gfx_agent_3","c":"Sprite shapes $A0-$AF: the rest of frame $0F and the first somersault frames (the somersault's frames start at $A2 and count up by three to $BD).","t":"byte","b":[0,254,0,0,254,0,0,124]},{"a":26632,"t":"byte","b":[0,0,124,0,0,124,0,0]},{"a":26640,"t":"byte","b":[254,0,0,254,0,0,254,0]},{"a":26648,"t":"byte","b":[1,255,0,1,239,0,1,239]},{"a":26656,"t":"byte","b":[0,1,239,0,1,199,0,3]},{"a":26664,"t":"byte","b":[199,128,3,131,128,3,131,128]},{"a":26672,"t":"byte","b":[3,131,128,3,1,128,3,1]},{"a":26680,"t":"byte","b":[128,7,1,192,15,1,224,128]},{"a":26688,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26696,"t":"byte","b":[0,0,0,0,0,56,0,0]},{"a":26704,"t":"byte","b":[198,0,1,131,0,3,131,128]},{"a":26712,"t":"byte","b":[3,1,128,3,1,128,3,1]},{"a":26720,"t":"byte","b":[128,7,1,192,6,0,192,14]},{"a":26728,"t":"byte","b":[0,224,28,0,112,24,0,48]},{"a":26736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26744,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":26752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26808,"t":"byte","b":[0,29,192,0,35,240,0,128]},{"a":26816,"t":"byte","b":[0,252,0,1,254,0,0,63]},{"a":26824,"t":"byte","b":[0,0,15,128,0,7,128,0]},{"a":26832,"t":"byte","b":[7,128,0,7,128,0,7,128]},{"a":26840,"t":"byte","b":[0,7,128,0,7,192,0,7]},{"a":26848,"t":"byte","b":[224,0,7,240,0,6,120,0]},{"a":26856,"t":"byte","b":[6,56,0,6,28,0,7,14]},{"a":26864,"t":"byte","b":[0,7,6,0,6,3,0,4]},{"a":26872,"t":"byte","b":[1,0,4,0,0,0,0,128]},{"a":26880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26904,"t":"byte","b":[28,0,0,31,0,0,30,0]},{"a":26912,"t":"byte","b":[0,28,0,0,56,0,0,112]},{"a":26920,"t":"byte","b":[0,0,96,0,0,192,0,0]},{"a":26928,"t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":26936,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":26944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":26992,"t":"byte","b":[0,255,128,14,31,224,24,31]},{"a":27000,"t":"byte","b":[240,16,1,240,0,1,240,128]},{"a":27008,"t":"byte","b":[0,1,240,0,1,224,0,1]},{"a":27016,"t":"byte","b":[224,0,1,224,0,1,224,0]},{"a":27024,"t":"byte","b":[1,192,0,1,192,0,1,192]},{"a":27032,"t":"byte","b":[0,1,192,0,1,192,0,1]},{"a":27040,"t":"byte","b":[128,0,1,128,0,1,192,0]},{"a":27048,"t":"byte","b":[1,128,0,1,128,0,1,0]},{"a":27056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27064,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27080,"t":"byte","b":[0,0,0,0,0,0,0,3]},{"a":27088,"t":"byte","b":[224,0,7,224,0,14,224,0]},{"a":27096,"t":"byte","b":[4,224,0,0,96,0,0,96]},{"a":27104,"t":"byte","b":[0,0,112,0,0,48,0,0]},{"a":27112,"t":"byte","b":[48,0,0,48,0,0,48,0]},{"a":27120,"t":"byte","b":[0,32,0,0,0,0,0,0]},{"a":27128,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27136,"t":"byte","b":[0,0,0,0,15,0,0,63]},{"a":27144,"t":"byte","b":[128,0,255,192,1,255,192,3]},{"a":27152,"t":"byte","b":[251,192,3,243,192,7,227,192]},{"a":27160,"t":"byte","b":[10,3,192,8,3,192,8,3]},{"a":27168,"t":"byte","b":[192,6,3,192,0,1,192,0]},{"a":27176,"t":"byte","b":[0,224,0,0,112,0,0,56]},{"a":27184,"t":"byte","b":[0,0,28,0,0,12,0,0]},{"a":27192,"t":"byte","b":[4,0,0,4,0,0,0,128]},{"a":27200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27224,"t":"byte","b":[5,192,0,7,224,0,7,248]},{"a":27232,"t":"byte","b":[0,0,31,128,0,7,224,0]},{"a":27240,"t":"byte","b":[0,96,0,0,0,0,0,0]},{"a":27248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27256,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27288,"t":"byte","b":[7,192,0,31,224,0,63,224]},{"a":27296,"t":"byte","b":[0,127,240,0,124,240,0,124]},{"a":27304,"t":"byte","b":[240,0,248,240,12,248,241,254]},{"a":27312,"t":"byte","b":[0,127,227,128,63,0,192,0]},{"a":27320,"t":"byte","b":[0,112,0,0,0,0,0,128]},{"a":27328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27368,"t":"byte","b":[0,0,63,252,0,127,252,0]},{"a":27376,"t":"byte","b":[240,0,0,120,0,0,48,0]},{"a":27384,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27408,"t":"byte","b":[0,7,0,56,30,0,124,28]},{"a":27416,"t":"byte","b":[0,254,24,1,254,56,1,255]},{"a":27424,"t":"byte","b":[112,1,255,240,1,255,224,1]},{"a":27432,"t":"byte","b":[255,224,1,255,192,0,247,192]},{"a":27440,"t":"byte","b":[0,3,128,0,64,0,0,96]},{"a":27448,"t":"byte","b":[0,0,56,0,0,0,0,128]},{"a":27456,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27488,"t":"byte","b":[0,0,7,248,0,31,240,0]},{"a":27496,"t":"byte","b":[124,0,0,120,0,0,112,0]},{"a":27504,"t":"byte","b":[0,112,0,0,56,0,0,24]},{"a":27512,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27520,"t":"byte","b":[0,0,0,0,0,128,0,0]},{"a":27528,"t":"byte","b":[128,0,1,128,0,1,192,0]},{"a":27536,"t":"byte","b":[0,224,0,0,112,0,60,120]},{"a":27544,"t":"byte","b":[0,127,56,0,127,156,0,255]},{"a":27552,"t":"byte","b":[28,0,255,60,0,255,248,0]},{"a":27560,"t":"byte","b":[126,0,0,127,0,0,60,0]},{"a":27568,"t":"byte","b":[0,2,32,0,1,192,0,0]},{"a":27576,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27600,"t":"byte","b":[0,0,0,0,0,0,0,24]},{"a":27608,"t":"byte","b":[0,0,56,0,0,112,0,0]},{"a":27616,"t":"byte","b":[224,0,3,192,0,7,128,0]},{"a":27624,"t":"byte","b":[15,0,0,14,128,0,3,192]},{"a":27632,"t":"byte","b":[0,1,192,0,0,0,0,0]},{"a":27640,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27648,"l":"gfx_agent_4","c":"Sprite shapes $B0-$BF: the rest of the somersault frames.","t":"byte","b":[0,128,0,0,224,0,0,120]},{"a":27656,"t":"byte","b":[0,0,62,0,0,15,128,0]},{"a":27664,"t":"byte","b":[7,192,0,1,224,0,127,224]},{"a":27672,"t":"byte","b":[0,255,192,0,252,0,0,252]},{"a":27680,"t":"byte","b":[0,0,255,4,0,255,132,0]},{"a":27688,"t":"byte","b":[127,184,0,31,0,0,0,0]},{"a":27696,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27704,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27720,"t":"byte","b":[0,0,3,0,0,3,0,0]},{"a":27728,"t":"byte","b":[3,0,0,3,0,0,3,0]},{"a":27736,"t":"byte","b":[0,3,0,0,3,0,0,3]},{"a":27744,"t":"byte","b":[144,0,3,184,0,3,248,0]},{"a":27752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27768,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27784,"t":"byte","b":[0,32,0,0,32,0,0,63]},{"a":27792,"t":"byte","b":[248,0,63,252,0,3,252,0]},{"a":27800,"t":"byte","b":[0,60,0,0,120,0,0,240]},{"a":27808,"t":"byte","b":[1,0,240,3,0,255,6,0]},{"a":27816,"t":"byte","b":[255,16,0,127,224,0,63,0]},{"a":27824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27832,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27848,"t":"byte","b":[0,0,0,0,0,12,0,0]},{"a":27856,"t":"byte","b":[12,0,0,6,0,0,6,0]},{"a":27864,"t":"byte","b":[0,3,0,0,3,132,0,1]},{"a":27872,"t":"byte","b":[142,0,1,252,0,0,248,0]},{"a":27880,"t":"byte","b":[0,224,0,0,0,0,0,0]},{"a":27888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27896,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27928,"t":"byte","b":[120,0,8,252,0,12,254,0]},{"a":27936,"t":"byte","b":[4,207,0,72,7,132,96,7]},{"a":27944,"t":"byte","b":[206,64,3,255,128,3,255,0]},{"a":27952,"t":"byte","b":[1,252,0,0,240,0,0,0]},{"a":27960,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":27968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":27984,"t":"byte","b":[0,0,1,0,0,3,0,0]},{"a":27992,"t":"byte","b":[207,0,0,126,0,0,56,0]},{"a":28000,"t":"byte","b":[0,16,0,0,0,0,0,0]},{"a":28008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28016,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28024,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":28032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28040,"t":"byte","b":[0,0,0,0,1,128,0,0]},{"a":28048,"t":"byte","b":[192,0,0,96,0,0,112,0]},{"a":28056,"t":"byte","b":[0,56,48,0,28,112,0,14]},{"a":28064,"t":"byte","b":[120,0,7,48,0,3,128,0]},{"a":28072,"t":"byte","b":[1,128,0,0,0,0,0,0]},{"a":28080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28088,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":28096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28104,"t":"byte","b":[0,0,0,0,0,0,28,0]},{"a":28112,"t":"byte","b":[0,6,0,0,2,0,0,2]},{"a":28120,"t":"byte","b":[0,0,0,0,0,60,0,0]},{"a":28128,"t":"byte","b":[124,0,0,124,0,0,124,0]},{"a":28136,"t":"byte","b":[0,120,0,0,240,3,255,240]},{"a":28144,"t":"byte","b":[7,255,224,7,255,128,15,0]},{"a":28152,"t":"byte","b":[0,30,0,0,56,0,0,128]},{"a":28160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28208,"t":"byte","b":[0,0,0,0,0,0,0,112]},{"a":28216,"t":"byte","b":[0,0,224,0,3,224,0,128]},{"a":28224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28232,"t":"byte","b":[0,0,48,0,0,24,0,0]},{"a":28240,"t":"byte","b":[14,24,0,7,60,0,3,156]},{"a":28248,"t":"byte","b":[0,1,252,0,0,240,0,0]},{"a":28256,"t":"byte","b":[120,0,0,56,0,0,0,0]},{"a":28264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28280,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":28288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28312,"t":"byte","b":[0,0,0,0,0,112,0,0]},{"a":28320,"t":"byte","b":[24,0,0,8,0,0,8,0]},{"a":28328,"t":"byte","b":[0,48,0,1,240,0,1,240]},{"a":28336,"t":"byte","b":[0,1,240,0,1,224,0,1]},{"a":28344,"t":"byte","b":[224,0,1,224,0,3,192,128]},{"a":28352,"t":"byte","b":[0,7,192,0,15,192,0,31]},{"a":28360,"t":"byte","b":[128,0,63,0,0,126,0,0]},{"a":28368,"t":"byte","b":[126,0,0,124,0,0,252,0]},{"a":28376,"t":"byte","b":[0,252,0,0,252,0,0,220]},{"a":28384,"t":"byte","b":[0,0,204,0,0,204,0,0]},{"a":28392,"t":"byte","b":[204,0,1,206,0,3,14,0]},{"a":28400,"t":"byte","b":[0,24,0,0,0,0,0,0]},{"a":28408,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"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,192,0]},{"a":28440,"t":"byte","b":[0,96,0,0,56,0,0,28]},{"a":28448,"t":"byte","b":[96,0,14,240,0,7,112,0]},{"a":28456,"t":"byte","b":[3,192,0,1,224,0,0,224]},{"a":28464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28472,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"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,7,0,0]},{"a":28520,"t":"byte","b":[1,128,0,0,128,0,0,128]},{"a":28528,"t":"byte","b":[0,0,0,0,4,128,0,15]},{"a":28536,"t":"byte","b":[128,0,15,128,0,15,128,128]},{"a":28544,"t":"byte","b":[0,15,128,0,15,128,0,7]},{"a":28552,"t":"byte","b":[128,0,7,128,0,7,128,0]},{"a":28560,"t":"byte","b":[15,128,0,15,128,0,15,128]},{"a":28568,"t":"byte","b":[0,15,128,0,15,128,0,15]},{"a":28576,"t":"byte","b":[128,0,15,128,0,15,128,0]},{"a":28584,"t":"byte","b":[15,128,0,13,192,0,13,192]},{"a":28592,"t":"byte","b":[0,12,192,0,12,96,0,12]},{"a":28600,"t":"byte","b":[96,0,28,112,0,125,224,128]},{"a":28608,"t":"byte","b":[0,0,0,0,6,0,0,15]},{"a":28616,"t":"byte","b":[0,0,7,0,0,3,128,0]},{"a":28624,"t":"byte","b":[3,0,0,7,0,0,15,0]},{"a":28632,"t":"byte","b":[0,60,0,1,240,0,15,192]},{"a":28640,"t":"byte","b":[0,14,0,0,0,0,0,0]},{"a":28648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28656,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28664,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":28672,"l":"gfx_robots","c":"Sprite shapes $C0-$C6: a robot in seven steps of turning, facing one way at $C0 and the other at $C6; robot_turn steps a robot's pointer between them.","t":"byte","b":[0,128,0,0,128,0,1,80]},{"a":28680,"t":"byte","b":[192,15,81,192,15,255,192,1]},{"a":28688,"t":"byte","b":[81,192,0,16,192,0,84,0]},{"a":28696,"t":"byte","b":[3,119,0,5,85,64,13,153]},{"a":28704,"t":"byte","b":[192,13,101,64,5,85,192,5]},{"a":28712,"t":"byte","b":[253,64,13,253,192,13,253,64]},{"a":28720,"t":"byte","b":[5,85,64,1,221,0,0,252]},{"a":28728,"t":"byte","b":[0,0,252,0,0,32,0,0]},{"a":28736,"t":"byte","b":[0,128,0,0,128,0,1,77]},{"a":28744,"t":"byte","b":[64,15,93,64,15,253,64,1]},{"a":28752,"t":"byte","b":[93,64,0,29,64,0,84,0]},{"a":28760,"t":"byte","b":[1,221,0,5,85,64,9,151]},{"a":28768,"t":"byte","b":[192,6,85,64,5,87,192,15]},{"a":28776,"t":"byte","b":[213,64,15,215,192,15,213,64]},{"a":28784,"t":"byte","b":[5,85,64,3,119,0,0,252]},{"a":28792,"t":"byte","b":[0,0,252,0,0,32,0,0]},{"a":28800,"t":"byte","b":[0,32,0,0,32,0,0,85]},{"a":28808,"t":"byte","b":[64,3,85,64,3,223,64,0]},{"a":28816,"t":"byte","b":[95,64,0,21,64,0,84,0]},{"a":28824,"t":"byte","b":[3,119,0,5,85,64,6,95]},{"a":28832,"t":"byte","b":[192,9,85,64,5,95,192,15]},{"a":28840,"t":"byte","b":[85,64,15,95,192,15,85,64]},{"a":28848,"t":"byte","b":[5,85,64,1,221,0,0,252]},{"a":28856,"t":"byte","b":[0,0,252,0,0,32,0,0]},{"a":28864,"t":"byte","b":[0,32,0,0,32,0,1,85]},{"a":28872,"t":"byte","b":[0,1,85,0,1,253,0,1]},{"a":28880,"t":"byte","b":[253,0,1,85,0,0,84,0]},{"a":28888,"t":"byte","b":[1,221,0,5,85,64,9,253]},{"a":28896,"t":"byte","b":[128,5,85,64,5,253,64,13]},{"a":28904,"t":"byte","b":[85,192,13,253,192,13,85,192]},{"a":28912,"t":"byte","b":[5,85,64,3,119,0,0,252]},{"a":28920,"t":"byte","b":[0,0,252,0,0,32,0,0]},{"a":28928,"t":"byte","b":[0,32,0,0,32,0,5,84]},{"a":28936,"t":"byte","b":[0,5,87,0,7,223,0,7]},{"a":28944,"t":"byte","b":[212,0,5,80,0,0,84,0]},{"a":28952,"t":"byte","b":[3,119,0,5,85,64,15,214]},{"a":28960,"t":"byte","b":[64,5,85,128,15,213,64,5]},{"a":28968,"t":"byte","b":[87,192,15,215,192,5,87,192]},{"a":28976,"t":"byte","b":[5,85,64,1,221,0,0,252]},{"a":28984,"t":"byte","b":[0,0,252,0,0,32,0,0]},{"a":28992,"t":"byte","b":[0,8,0,0,8,0,5,197]},{"a":29000,"t":"byte","b":[0,5,215,192,5,255,192,5]},{"a":29008,"t":"byte","b":[213,0,5,208,0,0,84,0]},{"a":29016,"t":"byte","b":[1,221,0,5,85,64,15,89]},{"a":29024,"t":"byte","b":[128,5,86,64,15,85,64,5]},{"a":29032,"t":"byte","b":[95,192,15,95,192,5,95,192]},{"a":29040,"t":"byte","b":[5,85,64,3,119,0,0,252]},{"a":29048,"t":"byte","b":[0,0,252,0,0,32,0,0]},{"a":29056,"t":"byte","b":[0,8,0,0,8,0,12,21]},{"a":29064,"t":"byte","b":[0,13,23,192,15,255,192,13]},{"a":29072,"t":"byte","b":[21,0,12,16,0,0,84,0]},{"a":29080,"t":"byte","b":[3,119,0,5,85,64,13,153]},{"a":29088,"t":"byte","b":[192,5,101,192,13,85,64,5]},{"a":29096,"t":"byte","b":[253,64,13,253,192,5,253,192]},{"a":29104,"t":"byte","b":[5,85,64,1,221,0,0,252]},{"a":29112,"t":"byte","b":[0,0,252,0,0,32,0,0]},{"a":29120,"l":"move_high_tables","c":"Called once by the start-up: with all RAM banked in ($01 = $24) it copies three blocks the unpacker left in $C000-$CFFF to their places under the ROMs and the I/O area: $C800-$CFFF to $D000-$D7FF, $C000-$C3FF to $F800-$FBFF, $C400-$C7FF to $DC00-$DFFF. Then $01 = $27.","t":"code","b":[120],"m":"sei","x":[14440]},{"a":29121,"t":"code","b":[169,47],"m":"lda","o":"#$2F"},{"a":29123,"t":"code","b":[133,0],"m":"sta","oa":0,"o":"cpu_ddr"},{"a":29125,"t":"code","b":[169,36],"m":"lda","o":"#$24"},{"a":29127,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":29129,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":29131,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":29133,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":29135,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":29137,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":29139,"t":"code","b":[169,208],"m":"lda","o":"#$D0"},{"a":29141,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":29143,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":29145,"t":"code","b":[32,251,113],"m":"jsr","oa":29179,"o":"copy_pages"},{"a":29148,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":29150,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":29152,"t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":29154,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":29156,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":29158,"t":"code","b":[32,251,113],"m":"jsr","oa":29179,"o":"copy_pages"},{"a":29161,"t":"code","b":[169,196],"m":"lda","o":"#$C4"},{"a":29163,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":29165,"t":"code","b":[169,220],"m":"lda","o":"#$DC"},{"a":29167,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":29169,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":29171,"t":"code","b":[32,251,113],"m":"jsr","oa":29179,"o":"copy_pages"},{"a":29174,"t":"code","b":[169,39],"m":"lda","o":"#$27"},{"a":29176,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":29178,"t":"code","b":[96],"m":"rts"},{"a":29179,"l":"copy_pages","c":"Copies X+1 pages from ($18) to ($E4), 256 bytes each. Used by move_high_tables.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[29145,29158,29171,43791,43808]},{"a":29181,"l":"b_71FD","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[29186,29193]},{"a":29183,"t":"code","b":[145,228],"m":"sta","oa":228,"o":"(tmp1),y"},{"a":29185,"t":"code","b":[200],"m":"iny"},{"a":29186,"t":"code","b":[208,249],"m":"bne","oa":29181,"o":"b_71FD"},{"a":29188,"t":"code","b":[230,25],"m":"inc","oa":25,"o":"ptr_data_hi"},{"a":29190,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":29192,"t":"code","b":[202],"m":"dex"},{"a":29193,"t":"code","b":[16,242],"m":"bpl","oa":29181,"o":"b_71FD"},{"a":29195,"t":"code","b":[96],"m":"rts"},{"a":29196,"l":"tbl_slot_x","c":"X position (sprite units) of the six piece slots of the pocket computer's display, used for the piece sprites and the frame: $54, $94, $CC on both rows.","t":"byte","b":[84,148,204,84,148,204],"x":[15618,15979,16046]},{"a":29202,"l":"tbl_slot_y","c":"Y position of the six slots: $B4 for the top row (0-2), $CC for the bottom row (3-5).","t":"byte","b":[180,180,180,204,204,204],"x":[15630,15970,16052]},{"a":29208,"l":"clear_message","c":"Clears the pocket computer's message window: 8 rows of 22 cells from $4286 filled with the blank glyph $53. Sets $91 = $FF (nothing to undo).","t":"code","b":[169,134],"m":"lda","o":"#$86","x":[14789,14995,31687,32261,44968,46664]},{"a":29210,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29212,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":29214,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29216,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":29218,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":29220,"l":"b_7224","t":"code","b":[160,21],"m":"ldy","o":"#$15","x":[29233]},{"a":29222,"l":"b_7226","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[29225]},{"a":29224,"t":"code","b":[136],"m":"dey"},{"a":29225,"t":"code","b":[16,251],"m":"bpl","oa":29222,"o":"b_7226"},{"a":29227,"t":"code","b":[168],"m":"tay"},{"a":29228,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":29231,"t":"code","b":[152],"m":"tya"},{"a":29232,"t":"code","b":[202],"m":"dex"},{"a":29233,"t":"code","b":[16,241],"m":"bpl","oa":29220,"o":"b_7224"},{"a":29235,"t":"code","b":[134,145],"m":"stx","oa":145,"o":"undo_slot"},{"a":29237,"t":"code","b":[96],"m":"rts"},{"a":29238,"l":"new_game_setup","c":"Builds a new stronghold for a new game: calls $B088, $B045, $B0CD, $B0F3, $B180 and $B26D in turn.","t":"code","b":[32,136,176],"m":"jsr","oa":45192,"o":"randomise_robots","x":[14737]},{"a":29241,"t":"code","b":[32,69,176],"m":"jsr","oa":45125,"o":"reset_room_platforms"},{"a":29244,"t":"code","b":[32,205,176],"m":"jsr","oa":45261,"o":"choose_password"},{"a":29247,"t":"code","b":[32,243,176],"m":"jsr","oa":45299,"o":"make_puzzle_images"},{"a":29250,"t":"code","b":[32,128,177],"m":"jsr","oa":45440,"o":"make_pieces"},{"a":29253,"t":"code","b":[32,109,178],"m":"jsr","oa":45677,"o":"hide_items"},{"a":29256,"t":"code","b":[96],"m":"rts"},{"a":29257,"l":"room_loop","c":"The loop that runs while the agent is in a room: waits a tick, handles the two room types $11 and $1B ($7E) through $A73D, reads the stick when the agent is free ($41 = 0, $3F below $10): up while standing in front of something ($3F = $0E) searches or uses it ($92A0); fire (debounced with $DE) counts $51; then moves the agent ($860B), the robots and the rest of the room ($AC88, $AE34), and repeats.","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[29329,35791]},{"a":29260,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":29262,"t":"code","b":[201,17],"m":"cmp","o":"#$11"},{"a":29264,"t":"code","b":[240,4],"m":"beq","oa":29270,"o":"b_7256"},{"a":29266,"t":"code","b":[201,27],"m":"cmp","o":"#$1B"},{"a":29268,"t":"code","b":[208,3],"m":"bne","oa":29273,"o":"b_7259"},{"a":29270,"l":"b_7256","t":"code","b":[32,61,167],"m":"jsr","oa":42813,"o":"code_room_flicker","x":[29264]},{"a":29273,"l":"b_7259","t":"code","b":[165,65],"m":"lda","oa":65,"o":"falling","x":[29268]},{"a":29275,"t":"code","b":[208,43],"m":"bne","oa":29320,"o":"b_7288"},{"a":29277,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":29279,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":29281,"t":"code","b":[176,37],"m":"bcs","oa":29320,"o":"b_7288"},{"a":29283,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":29286,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":29287,"t":"code","b":[176,12],"m":"bcs","oa":29301,"o":"b_7275"},{"a":29289,"t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no"},{"a":29291,"t":"code","b":[192,14],"m":"cpy","o":"#$0E"},{"a":29293,"t":"code","b":[208,6],"m":"bne","oa":29301,"o":"b_7275"},{"a":29295,"t":"code","b":[32,160,146],"m":"jsr","oa":37536,"o":"search_check"},{"a":29298,"t":"code","b":[76,139,114],"m":"jmp","oa":29323,"o":"j_728B"},{"a":29301,"l":"b_7275","t":"code","b":[41,8],"m":"and","o":"#$08","x":[29287,29293]},{"a":29303,"t":"code","b":[208,11],"m":"bne","oa":29316,"o":"b_7284"},{"a":29305,"t":"code","b":[164,222],"m":"ldy","oa":222,"o":"fire_held"},{"a":29307,"t":"code","b":[208,11],"m":"bne","oa":29320,"o":"b_7288"},{"a":29309,"t":"code","b":[230,222],"m":"inc","oa":222,"o":"fire_held"},{"a":29311,"t":"code","b":[230,81],"m":"inc","oa":81,"o":"fire_count"},{"a":29313,"t":"code","b":[76,136,114],"m":"jmp","oa":29320,"o":"b_7288"},{"a":29316,"l":"b_7284","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[29303]},{"a":29318,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"fire_held"},{"a":29320,"l":"b_7288","t":"code","b":[32,11,134],"m":"jsr","oa":34315,"o":"agent_update","x":[29275,29281,29307,29313]},{"a":29323,"l":"j_728B","t":"code","b":[32,136,172],"m":"jsr","oa":44168,"o":"lift_platforms","x":[29298]},{"a":29326,"t":"code","b":[32,52,174],"m":"jsr","oa":44596,"o":"check_ground"},{"a":29329,"t":"code","b":[76,73,114],"m":"jmp","oa":29257,"o":"room_loop"},{"a":29332,"l":"reset_counters_text","c":"Writes the digit 0 ($80) into the two counter positions of the pocket computer's SNOOZES:0 LIFT INITS:0 text at $3439+offset, the offsets taken from $A227/$A228.","t":"code","b":[160,1],"m":"ldy","o":"#$01","x":[14668]},{"a":29334,"l":"b_7296","t":"code","b":[190,39,162],"m":"ldx","oa":41511,"o":"tbl_counter_offsets,y","x":[29343]},{"a":29337,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":29339,"t":"code","b":[157,57,52],"m":"sta","oa":13369,"o":"f_3439,x"},{"a":29342,"t":"code","b":[136],"m":"dey"},{"a":29343,"t":"code","b":[16,245],"m":"bpl","oa":29334,"o":"b_7296"},{"a":29345,"t":"code","b":[96],"m":"rts"},{"a":29346,"l":"draw_shaft_view","c":"Draws the view of the lift shaft and corridors for the start: the left edge of the panel from $0D00 (characters) and $0D5A (colours), 15 rows of 6 at $4241/$DA41; then builds the shaft view row by row, 17 times scrolling ($744B), drawing the new row ($7631) and stepping the animation ($73CA); then the pocket computer ($72E5).","t":"code","b":[169,66],"m":"lda","o":"#$42","x":[14671,44962]},{"a":29348,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29350,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":29352,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":29354,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":29356,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29358,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29360,"t":"code","b":[162,89],"m":"ldx","o":"#$59"},{"a":29362,"l":"b_72B2","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[29382]},{"a":29364,"l":"b_72B4","t":"code","b":[189,0,13],"m":"lda","oa":3328,"o":"gfx_panel_edge,x","x":[29376]},{"a":29367,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29369,"t":"code","b":[189,90,13],"m":"lda","oa":3418,"o":"gfx_panel_edge_colours,x"},{"a":29372,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":29374,"t":"code","b":[202],"m":"dex"},{"a":29375,"t":"code","b":[136],"m":"dey"},{"a":29376,"t":"code","b":[16,242],"m":"bpl","oa":29364,"o":"b_72B4"},{"a":29378,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":29381,"t":"code","b":[138],"m":"txa"},{"a":29382,"t":"code","b":[16,234],"m":"bpl","oa":29362,"o":"b_72B2"},{"a":29384,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":29386,"t":"code","b":[133,30],"m":"sta","oa":30,"o":"corridor_above"},{"a":29388,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":29390,"l":"b_72CE","t":"code","b":[72],"m":"pha","x":[29404]},{"a":29391,"t":"code","b":[32,75,116],"m":"jsr","oa":29771,"o":"scroll_shaft_up"},{"a":29394,"t":"code","b":[32,49,118],"m":"jsr","oa":30257,"o":"shaft_new_row_top"},{"a":29397,"t":"code","b":[32,202,115],"m":"jsr","oa":29642,"o":"shaft_step"},{"a":29400,"t":"code","b":[104],"m":"pla"},{"a":29401,"t":"code","b":[56],"m":"sec"},{"a":29402,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":29404,"t":"code","b":[176,240],"m":"bcs","oa":29390,"o":"b_72CE"},{"a":29406,"t":"code","b":[165,29],"m":"lda","oa":29,"o":"corridor_below"},{"a":29408,"t":"code","b":[240,3],"m":"beq","oa":29413,"o":"draw_pocket_computer"},{"a":29410,"t":"code","b":[32,87,120],"m":"jsr","oa":30807,"o":"draw_corridor_marker"},{"a":29413,"l":"draw_pocket_computer","c":"Copies the pocket computer's screen, 400 characters from $3313 and 400 colours from $34A3, to $4258/$DA58. Sets $8F and $91 to $FF: no slot selected, nothing to undo.","t":"code","b":[169,88],"m":"lda","o":"#$58","x":[14786,29408]},{"a":29415,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29417,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29419,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":29421,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29423,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":29425,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":29427,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":29429,"l":"b_72F5","t":"code","b":[185,19,51],"m":"lda","oa":13075,"o":"gfx_pocket_computer,y","x":[29440]},{"a":29432,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29434,"t":"code","b":[185,163,52],"m":"lda","oa":13475,"o":"gfx_pocket_computer_colours,y"},{"a":29437,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":29439,"t":"code","b":[200],"m":"iny"},{"a":29440,"t":"code","b":[208,243],"m":"bne","oa":29429,"o":"b_72F5"},{"a":29442,"t":"code","b":[230,17],"m":"inc","oa":17,"o":"ptr_a_hi"},{"a":29444,"t":"code","b":[230,21],"m":"inc","oa":21,"o":"ptr_colour_hi"},{"a":29446,"t":"code","b":[160,143],"m":"ldy","o":"#$8F"},{"a":29448,"l":"b_7308","t":"code","b":[185,19,52],"m":"lda","oa":13331,"o":"f_3413,y","x":[29461]},{"a":29451,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29453,"t":"code","b":[185,163,53],"m":"lda","oa":13731,"o":"f_35A3,y"},{"a":29456,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":29458,"t":"code","b":[136],"m":"dey"},{"a":29459,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":29461,"t":"code","b":[208,241],"m":"bne","oa":29448,"o":"b_7308"},{"a":29463,"t":"code","b":[132,143],"m":"sty","oa":143,"o":"selected_slot"},{"a":29465,"t":"code","b":[132,145],"m":"sty","oa":145,"o":"undo_slot"},{"a":29467,"t":"code","b":[96],"m":"rts"},{"a":29468,"l":"draw_rock","c":"Draws the grey rock that fills the shaft view: colour 1 into 80 cells per band, and pairs of random rock glyphs ($82E3 AND $1C, then +2) across rows from $4258, five bands; then the row below each from the row above +1. Unless $1E is set, draws the lift shaft's walls (characters $28 with colour 8, edges from $73C0) and turns the screen on ($D011 = $1B) at the next frame top.","t":"code","b":[169,88],"m":"lda","o":"#$58","x":[14763,33801]},{"a":29470,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29472,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29474,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":29476,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29478,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":29480,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":29482,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":29484,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":29487,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"colour_a"},{"a":29489,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":29492,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"colour_b"},{"a":29494,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":29497,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":29499,"l":"b_733B","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[29532]},{"a":29501,"t":"code","b":[160,79],"m":"ldy","o":"#$4F"},{"a":29503,"l":"b_733F","t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y","x":[29506]},{"a":29505,"t":"code","b":[136],"m":"dey"},{"a":29506,"t":"code","b":[16,251],"m":"bpl","oa":29503,"o":"b_733F"},{"a":29508,"t":"code","b":[160,38],"m":"ldy","o":"#$26"},{"a":29510,"l":"b_7346","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[29526]},{"a":29513,"t":"code","b":[41,28],"m":"and","o":"#$1C"},{"a":29515,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29517,"t":"code","b":[200],"m":"iny"},{"a":29518,"t":"code","b":[24],"m":"clc"},{"a":29519,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":29521,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29523,"t":"code","b":[136],"m":"dey"},{"a":29524,"t":"code","b":[136],"m":"dey"},{"a":29525,"t":"code","b":[136],"m":"dey"},{"a":29526,"t":"code","b":[16,238],"m":"bpl","oa":29510,"o":"b_7346"},{"a":29528,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":29531,"t":"code","b":[202],"m":"dex"},{"a":29532,"t":"code","b":[16,221],"m":"bpl","oa":29499,"o":"b_733B"},{"a":29534,"t":"code","b":[32,242,174],"m":"jsr","oa":44786,"o":"addr_up6"},{"a":29537,"t":"code","b":[32,22,175],"m":"jsr","oa":44822,"o":"addr_up4"},{"a":29540,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":29542,"l":"b_7366","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[29571]},{"a":29544,"t":"code","b":[24],"m":"clc"},{"a":29545,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":29547,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29549,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi"},{"a":29551,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":29553,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":29555,"t":"code","b":[160,39],"m":"ldy","o":"#$27"},{"a":29557,"l":"b_7375","t":"code","b":[177,16],"m":"lda","oa":16,"o":"(ptr_a),y","x":[29565]},{"a":29559,"t":"code","b":[24],"m":"clc"},{"a":29560,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":29562,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":29564,"t":"code","b":[136],"m":"dey"},{"a":29565,"t":"code","b":[16,246],"m":"bpl","oa":29557,"o":"b_7375"},{"a":29567,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":29570,"t":"code","b":[202],"m":"dex"},{"a":29571,"t":"code","b":[16,225],"m":"bpl","oa":29542,"o":"b_7366"},{"a":29573,"t":"code","b":[165,30],"m":"lda","oa":30,"o":"corridor_above"},{"a":29575,"t":"code","b":[208,54],"m":"bne","oa":29631,"o":"r_73BF"},{"a":29577,"t":"code","b":[169,104],"m":"lda","o":"#$68"},{"a":29579,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29581,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29583,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":29585,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29587,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":29589,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":29591,"t":"code","b":[162,9],"m":"ldx","o":"#$09"},{"a":29593,"l":"b_7399","t":"code","b":[160,7],"m":"ldy","o":"#$07","x":[29621]},{"a":29595,"l":"b_739B","t":"code","b":[169,40],"m":"lda","o":"#$28","x":[29604]},{"a":29597,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29599,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":29601,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":29603,"t":"code","b":[136],"m":"dey"},{"a":29604,"t":"code","b":[16,245],"m":"bpl","oa":29595,"o":"b_739B"},{"a":29606,"t":"code","b":[189,192,115],"m":"lda","oa":29632,"o":"tbl_shaft_edge,x"},{"a":29609,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":29611,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29613,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":29615,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29617,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":29620,"t":"code","b":[202],"m":"dex"},{"a":29621,"t":"code","b":[16,226],"m":"bpl","oa":29593,"o":"b_7399"},{"a":29623,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":29626,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":29628,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":29631,"l":"r_73BF","t":"code","b":[96],"m":"rts","x":[29575]},{"a":29632,"l":"tbl_shaft_edge","c":"Edge characters of the lift shaft for draw_rock, ten rows: $25, $24, $20 repeating.","t":"byte","b":[37,36,32,37,36,32,37,36],"x":[29606]},{"a":29640,"t":"byte","b":[32,37]},{"a":29642,"l":"shaft_step","c":"Steps the shaft animation counters: $1C counts 0-5 (at 6 it wraps and moves the map marker's Y $28 by one), $1B counts 0-2.","t":"code","b":[230,28],"m":"inc","oa":28,"o":"shaft_step_count","x":[29397,34217]},{"a":29644,"t":"code","b":[165,28],"m":"lda","oa":28,"o":"shaft_step_count"},{"a":29646,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":29648,"t":"code","b":[144,6],"m":"bcc","oa":29656,"o":"b_73D8"},{"a":29650,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":29652,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"shaft_step_count"},{"a":29654,"t":"code","b":[230,40],"m":"inc","oa":40,"o":"marker_y"},{"a":29656,"l":"b_73D8","t":"code","b":[166,27],"m":"ldx","oa":27,"o":"shaft_phase","x":[29648]},{"a":29658,"t":"code","b":[232],"m":"inx"},{"a":29659,"t":"code","b":[224,3],"m":"cpx","o":"#$03"},{"a":29661,"t":"code","b":[144,2],"m":"bcc","oa":29665,"o":"b_73E1"},{"a":29663,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":29665,"l":"b_73E1","t":"code","b":[134,27],"m":"stx","oa":27,"o":"shaft_phase","x":[29661]},{"a":29667,"t":"code","b":[96],"m":"rts"},{"a":29668,"l":"show_map_marker","c":"Puts the flashing marker on the pocket computer's map: sprite 6 at ($27, $28), its colour cycling every four ticks through tbl_marker_colours; then reads the map cell under it ($B761) and writes that character into the map on screen ($428A + rows).","t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x","x":[14802,14920,14952]},{"a":29670,"t":"code","b":[141,12,208],"m":"sta","o":"vic_sprite6_x"},{"a":29673,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":29675,"t":"code","b":[141,13,208],"m":"sta","o":"vic_sprite6_y"},{"a":29678,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":29680,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":29681,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":29682,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":29684,"t":"code","b":[170],"m":"tax"},{"a":29685,"t":"code","b":[189,31,116],"m":"lda","oa":29727,"o":"tbl_marker_colours,x"},{"a":29688,"t":"code","b":[141,45,208],"m":"sta","o":"vic_sprite6_colour"},{"a":29691,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":29693,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":29695,"t":"code","b":[32,97,183],"m":"jsr","oa":46945,"o":"reveal_map_cell"},{"a":29698,"t":"code","b":[72],"m":"pha"},{"a":29699,"t":"code","b":[169,138],"m":"lda","o":"#$8A"},{"a":29701,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29703,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":29705,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29707,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":29709,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":29710,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":29711,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":29712,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":29713,"t":"code","b":[170],"m":"tax"},{"a":29714,"l":"b_7412","t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1","x":[29718]},{"a":29717,"t":"code","b":[202],"m":"dex"},{"a":29718,"t":"code","b":[16,250],"m":"bpl","oa":29714,"o":"b_7412"},{"a":29720,"t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1"},{"a":29722,"t":"code","b":[168],"m":"tay"},{"a":29723,"t":"code","b":[104],"m":"pla"},{"a":29724,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29726,"t":"code","b":[96],"m":"rts"},{"a":29727,"l":"tbl_marker_colours","c":"Eight colours the map marker cycles through: black, dark grey, grey, light grey, white, light grey, grey, dark grey.","t":"byte","b":[0,11,12,15,1,15,12,11],"x":[29685]},{"a":29735,"l":"paint_slots","c":"Paints the six piece slots of the display in their pieces' colours ($98-$9D through $7A37) and colours the column between the halves (column $0D of rows $DA8D-$DB55) yellow (7).","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[15008]},{"a":29737,"l":"b_7429","t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1","x":[29748]},{"a":29739,"t":"code","b":[185,152,0],"m":"lda","oa":152,"o":"slot_colour,y"},{"a":29742,"t":"code","b":[32,55,122],"m":"jsr","oa":31287,"o":"paint_slot"},{"a":29745,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1"},{"a":29747,"t":"code","b":[136],"m":"dey"},{"a":29748,"t":"code","b":[16,243],"m":"bpl","oa":29737,"o":"b_7429"},{"a":29750,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":29752,"t":"code","b":[141,141,218],"m":"sta","o":"$DA8D"},{"a":29755,"t":"code","b":[141,181,218],"m":"sta","o":"$DAB5"},{"a":29758,"t":"code","b":[141,221,218],"m":"sta","o":"$DADD"},{"a":29761,"t":"code","b":[141,5,219],"m":"sta","o":"$DB05"},{"a":29764,"t":"code","b":[141,45,219],"m":"sta","o":"$DB2D"},{"a":29767,"t":"code","b":[141,85,219],"m":"sta","o":"$DB55"},{"a":29770,"t":"code","b":[96],"m":"rts"},{"a":29771,"l":"scroll_shaft_up","c":"Scrolls the shaft view up by one row as the lift descends: rows $4028 onwards copied to the row above, screen and colour RAM, columns 0-16 and then 23-39 (two passes, $E4). First clears the corridor marker ($1D) by restoring $4011-$4016 from $0D00.","t":"code","b":[165,29],"m":"lda","oa":29,"o":"corridor_below","x":[29391,34208]},{"a":29773,"t":"code","b":[240,20],"m":"beq","oa":29795,"o":"b_7463"},{"a":29775,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":29777,"l":"b_7451","t":"code","b":[189,0,13],"m":"lda","oa":3328,"o":"gfx_panel_edge,x","x":[29784]},{"a":29780,"t":"code","b":[157,17,64],"m":"sta","oa":16401,"o":"f_4011,x"},{"a":29783,"t":"code","b":[202],"m":"dex"},{"a":29784,"t":"code","b":[16,247],"m":"bpl","oa":29777,"o":"b_7451"},{"a":29786,"t":"code","b":[232],"m":"inx"},{"a":29787,"t":"code","b":[142,19,216],"m":"stx","o":"$D813"},{"a":29790,"t":"code","b":[142,20,216],"m":"stx","o":"$D814"},{"a":29793,"t":"code","b":[134,29],"m":"stx","oa":29,"o":"corridor_below"},{"a":29795,"l":"b_7463","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[29773]},{"a":29797,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":29799,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":29801,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29803,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29805,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":29807,"l":"b_746F","t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b","x":[29885]},{"a":29809,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"ptr_colour_b"},{"a":29811,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":29813,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29815,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"ptr_b_hi"},{"a":29817,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":29819,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":29821,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"ptr_colour_b_hi"},{"a":29823,"t":"code","b":[162,13],"m":"ldx","o":"#$0D"},{"a":29825,"l":"b_7481","t":"code","b":[160,16],"m":"ldy","o":"#$10","x":[29873]},{"a":29827,"l":"b_7483","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y","x":[29836]},{"a":29829,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29831,"t":"code","b":[177,22],"m":"lda","oa":22,"o":"(ptr_colour_b),y"},{"a":29833,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":29835,"t":"code","b":[136],"m":"dey"},{"a":29836,"t":"code","b":[16,245],"m":"bpl","oa":29827,"o":"b_7483"},{"a":29838,"t":"code","b":[165,19],"m":"lda","oa":19,"o":"ptr_b_hi"},{"a":29840,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29842,"t":"code","b":[165,18],"m":"lda","oa":18,"o":"ptr_b"},{"a":29844,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29846,"t":"code","b":[24],"m":"clc"},{"a":29847,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":29849,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":29851,"t":"code","b":[144,2],"m":"bcc","oa":29855,"o":"b_749F"},{"a":29853,"t":"code","b":[230,19],"m":"inc","oa":19,"o":"ptr_b_hi"},{"a":29855,"l":"b_749F","t":"code","b":[165,23],"m":"lda","oa":23,"o":"ptr_colour_b_hi","x":[29851]},{"a":29857,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":29859,"t":"code","b":[165,22],"m":"lda","oa":22,"o":"ptr_colour_b"},{"a":29861,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29863,"t":"code","b":[24],"m":"clc"},{"a":29864,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":29866,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"ptr_colour_b"},{"a":29868,"t":"code","b":[144,2],"m":"bcc","oa":29872,"o":"b_74B0"},{"a":29870,"t":"code","b":[230,23],"m":"inc","oa":23,"o":"ptr_colour_b_hi"},{"a":29872,"l":"b_74B0","t":"code","b":[202],"m":"dex","x":[29868]},{"a":29873,"t":"code","b":[16,206],"m":"bpl","oa":29825,"o":"b_7481"},{"a":29875,"t":"code","b":[169,23],"m":"lda","o":"#$17"},{"a":29877,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29879,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":29881,"t":"code","b":[169,63],"m":"lda","o":"#$3F"},{"a":29883,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":29885,"t":"code","b":[16,176],"m":"bpl","oa":29807,"o":"b_746F"},{"a":29887,"t":"code","b":[96],"m":"rts"},{"a":29888,"l":"scroll_shaft_down","c":"Scrolls the shaft view down by one row as the lift rises: 14 rows of 40 characters from $4208 upwards, unrolled. First restores $4241-$4246 if $1E is set.","t":"code","b":[165,30],"m":"lda","oa":30,"o":"corridor_above","x":[34173]},{"a":29890,"t":"code","b":[240,13],"m":"beq","oa":29905,"o":"b_74D1"},{"a":29892,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":29894,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":29896,"l":"b_74C8","t":"code","b":[157,65,66],"m":"sta","oa":16961,"o":"f_4241,x","x":[29900]},{"a":29899,"t":"code","b":[202],"m":"dex"},{"a":29900,"t":"code","b":[16,250],"m":"bpl","oa":29896,"o":"b_74C8"},{"a":29902,"t":"code","b":[232],"m":"inx"},{"a":29903,"t":"code","b":[134,30],"m":"stx","oa":30,"o":"corridor_above"},{"a":29905,"l":"b_74D1","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[29890]},{"a":29907,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":29909,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":29911,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":29913,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":29915,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"ptr_b_hi"},{"a":29917,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":29919,"t":"code","b":[162,13],"m":"ldx","o":"#$0D"},{"a":29921,"l":"j_74E1","t":"code","b":[160,39],"m":"ldy","o":"#$27","x":[30113]},{"a":29923,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29925,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29927,"t":"code","b":[136],"m":"dey"},{"a":29928,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29930,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29932,"t":"code","b":[136],"m":"dey"},{"a":29933,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29935,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29937,"t":"code","b":[136],"m":"dey"},{"a":29938,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29940,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29942,"t":"code","b":[136],"m":"dey"},{"a":29943,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29945,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29947,"t":"code","b":[136],"m":"dey"},{"a":29948,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29950,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29952,"t":"code","b":[136],"m":"dey"},{"a":29953,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29955,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29957,"t":"code","b":[136],"m":"dey"},{"a":29958,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29960,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29962,"t":"code","b":[136],"m":"dey"},{"a":29963,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29965,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29967,"t":"code","b":[136],"m":"dey"},{"a":29968,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29970,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29972,"t":"code","b":[136],"m":"dey"},{"a":29973,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29975,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29977,"t":"code","b":[136],"m":"dey"},{"a":29978,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29980,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29982,"t":"code","b":[136],"m":"dey"},{"a":29983,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29985,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29987,"t":"code","b":[136],"m":"dey"},{"a":29988,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29990,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29992,"t":"code","b":[136],"m":"dey"},{"a":29993,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":29995,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":29997,"t":"code","b":[136],"m":"dey"},{"a":29998,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30000,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30002,"t":"code","b":[136],"m":"dey"},{"a":30003,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30005,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30007,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":30009,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30011,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30013,"t":"code","b":[136],"m":"dey"},{"a":30014,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30016,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30018,"t":"code","b":[136],"m":"dey"},{"a":30019,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30021,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30023,"t":"code","b":[136],"m":"dey"},{"a":30024,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30026,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30028,"t":"code","b":[136],"m":"dey"},{"a":30029,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30031,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30033,"t":"code","b":[136],"m":"dey"},{"a":30034,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30036,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30038,"t":"code","b":[136],"m":"dey"},{"a":30039,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30041,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30043,"t":"code","b":[136],"m":"dey"},{"a":30044,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30046,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30048,"t":"code","b":[136],"m":"dey"},{"a":30049,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30051,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30053,"t":"code","b":[136],"m":"dey"},{"a":30054,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30056,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30058,"t":"code","b":[136],"m":"dey"},{"a":30059,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30061,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30063,"t":"code","b":[136],"m":"dey"},{"a":30064,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30066,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30068,"t":"code","b":[136],"m":"dey"},{"a":30069,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30071,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30073,"t":"code","b":[136],"m":"dey"},{"a":30074,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30076,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30078,"t":"code","b":[136],"m":"dey"},{"a":30079,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30081,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30083,"t":"code","b":[136],"m":"dey"},{"a":30084,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30086,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30088,"t":"code","b":[136],"m":"dey"},{"a":30089,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y"},{"a":30091,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":30093,"t":"code","b":[165,19],"m":"lda","oa":19,"o":"ptr_b_hi"},{"a":30095,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":30097,"t":"code","b":[165,18],"m":"lda","oa":18,"o":"ptr_b"},{"a":30099,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":30101,"t":"code","b":[56],"m":"sec"},{"a":30102,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":30104,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":30106,"t":"code","b":[176,2],"m":"bcs","oa":30110,"o":"b_759E"},{"a":30108,"t":"code","b":[198,19],"m":"dec","oa":19,"o":"ptr_b_hi"},{"a":30110,"l":"b_759E","t":"code","b":[202],"m":"dex","x":[30106]},{"a":30111,"t":"code","b":[48,3],"m":"bmi","oa":30116,"o":"r_75A4"},{"a":30113,"t":"code","b":[76,225,116],"m":"jmp","oa":29921,"o":"j_74E1"},{"a":30116,"l":"r_75A4","t":"code","b":[96],"m":"rts","x":[30111]},{"a":30117,"l":"colour_corridors","c":"Colours the two corridor openings (left and right, X = 1 and 0) from their state $1F/$20: different colours (8, 1, the corridor's own $23/$24, 9) by how far the opening has scrolled into view, through the row address tables $0E50/$0E5E.","t":"code","b":[162,1],"m":"ldx","o":"#$01","x":[34176]},{"a":30119,"l":"b_75A7","t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1","x":[30223]},{"a":30121,"t":"code","b":[181,31],"m":"lda","oa":31,"o":"door_right,x"},{"a":30123,"t":"code","b":[16,4],"m":"bpl","oa":30129,"o":"b_75B1"},{"a":30125,"t":"code","b":[160,13],"m":"ldy","o":"#$0D"},{"a":30127,"t":"code","b":[16,65],"m":"bpl","oa":30194,"o":"b_75F2"},{"a":30129,"l":"b_75B1","t":"code","b":[201,14],"m":"cmp","o":"#$0E","x":[30123]},{"a":30131,"t":"code","b":[176,6],"m":"bcs","oa":30139,"o":"b_75BB"},{"a":30133,"t":"code","b":[168],"m":"tay"},{"a":30134,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":30136,"t":"code","b":[32,18,118],"m":"jsr","oa":30226,"o":"colour_row16"},{"a":30139,"l":"b_75BB","t":"code","b":[201,15],"m":"cmp","o":"#$0F","x":[30131]},{"a":30141,"t":"code","b":[176,12],"m":"bcs","oa":30155,"o":"b_75CB"},{"a":30143,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":30145,"t":"code","b":[144,8],"m":"bcc","oa":30155,"o":"b_75CB"},{"a":30147,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":30149,"t":"code","b":[168],"m":"tay"},{"a":30150,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":30152,"t":"code","b":[32,18,118],"m":"jsr","oa":30226,"o":"colour_row16"},{"a":30155,"l":"b_75CB","t":"code","b":[201,16],"m":"cmp","o":"#$10","x":[30141,30145]},{"a":30157,"t":"code","b":[176,12],"m":"bcs","oa":30171,"o":"b_75DB"},{"a":30159,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":30161,"t":"code","b":[144,8],"m":"bcc","oa":30171,"o":"b_75DB"},{"a":30163,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":30165,"t":"code","b":[168],"m":"tay"},{"a":30166,"t":"code","b":[181,35],"m":"lda","oa":35,"o":"corridor_colour,x"},{"a":30168,"t":"code","b":[32,18,118],"m":"jsr","oa":30226,"o":"colour_row16"},{"a":30171,"l":"b_75DB","t":"code","b":[201,21],"m":"cmp","o":"#$15","x":[30157,30161]},{"a":30173,"t":"code","b":[176,12],"m":"bcs","oa":30187,"o":"b_75EB"},{"a":30175,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":30177,"t":"code","b":[144,8],"m":"bcc","oa":30187,"o":"b_75EB"},{"a":30179,"t":"code","b":[233,7],"m":"sbc","o":"#$07"},{"a":30181,"t":"code","b":[168],"m":"tay"},{"a":30182,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":30184,"t":"code","b":[32,18,118],"m":"jsr","oa":30226,"o":"colour_row16"},{"a":30187,"l":"b_75EB","t":"code","b":[201,8],"m":"cmp","o":"#$08","x":[30173,30177]},{"a":30189,"t":"code","b":[144,31],"m":"bcc","oa":30222,"o":"b_760E"},{"a":30191,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":30193,"t":"code","b":[168],"m":"tay"},{"a":30194,"l":"b_75F2","t":"code","b":[185,94,14],"m":"lda","oa":3678,"o":"tbl_colour_rows_hi,y","x":[30127]},{"a":30197,"t":"code","b":[141,7,118],"m":"sta","oa":30215,"o":"a_7607"},{"a":30200,"t":"code","b":[185,80,14],"m":"lda","oa":3664,"o":"tbl_colour_rows_lo,y"},{"a":30203,"t":"code","b":[141,6,118],"m":"sta","oa":30214,"o":"a_7606"},{"a":30206,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":30208,"t":"code","b":[188,210,13],"m":"ldy","oa":3538,"o":"tbl_side_end,x"},{"a":30211,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":30213,"l":"b_7605","t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y","x":[30218]},{"a":30214,"t":"note","l":"a_7606","c":"Operand low byte of `sta $D800,y` in colour_corridors: the colour row's address, from the row table $0E50.","note":"inside the item at $7605","x":[30203]},{"a":30215,"t":"note","l":"a_7607","c":"High byte of the colour row address in colour_corridors, from $0E5E.","note":"inside the item at $7605","x":[30197]},{"a":30216,"t":"code","b":[136],"m":"dey"},{"a":30217,"t":"code","b":[202],"m":"dex"},{"a":30218,"t":"code","b":[16,249],"m":"bpl","oa":30213,"o":"b_7605"},{"a":30220,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":30222,"l":"b_760E","t":"code","b":[202],"m":"dex","x":[30189]},{"a":30223,"t":"code","b":[16,150],"m":"bpl","oa":30119,"o":"b_75A7"},{"a":30225,"t":"code","b":[96],"m":"rts"},{"a":30226,"l":"colour_row16","c":"Writes colour A into 17 cells of one row of colour RAM, row Y from $0E50/$0E5E (self-modified operand), ending at the column $0DD4,x.","t":"code","b":[72],"m":"pha","x":[30136,30152,30168,30184]},{"a":30227,"t":"code","b":[185,94,14],"m":"lda","oa":3678,"o":"tbl_colour_rows_hi,y"},{"a":30230,"t":"code","b":[141,39,118],"m":"sta","oa":30247,"o":"a_7627"},{"a":30233,"t":"code","b":[185,80,14],"m":"lda","oa":3664,"o":"tbl_colour_rows_lo,y"},{"a":30236,"t":"code","b":[141,38,118],"m":"sta","oa":30246,"o":"a_7626"},{"a":30239,"t":"code","b":[188,212,13],"m":"ldy","oa":3540,"o":"tbl_side_end17,x"},{"a":30242,"t":"code","b":[104],"m":"pla"},{"a":30243,"t":"code","b":[162,16],"m":"ldx","o":"#$10"},{"a":30245,"l":"b_7625","t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y","x":[30250]},{"a":30246,"t":"note","l":"a_7626","c":"Operand low byte of `sta $D800,y` in colour_row16, from $0E50.","note":"inside the item at $7625","x":[30236]},{"a":30247,"t":"note","l":"a_7627","c":"High byte of the row address in colour_row16, from $0E5E.","note":"inside the item at $7625","x":[30230]},{"a":30248,"t":"code","b":[136],"m":"dey"},{"a":30249,"t":"code","b":[202],"m":"dex"},{"a":30250,"t":"code","b":[16,249],"m":"bpl","oa":30245,"o":"b_7625"},{"a":30252,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":30254,"t":"code","b":[181,31],"m":"lda","oa":31,"o":"door_right,x"},{"a":30256,"t":"code","b":[96],"m":"rts"},{"a":30257,"l":"shaft_new_row_top","c":"Draws the row that scrolls in at the top while the lift rises, for both sides: rock, the corridor's floor ($0E28), ceiling ($0DD8), wall ($0E00) or opening, from each side's state $1F/$20 and the map ($7875). A side reaching state $15 starts a new corridor.","t":"code","b":[162,1],"m":"ldx","o":"#$01","x":[29394,34211]},{"a":30259,"l":"j_7633","t":"code","b":[188,210,13],"m":"ldy","oa":3538,"o":"tbl_side_end,x","x":[30498]},{"a":30262,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":30264,"t":"code","b":[181,31],"m":"lda","oa":31,"o":"door_right,x"},{"a":30266,"t":"code","b":[16,3],"m":"bpl","oa":30271,"o":"b_763F"},{"a":30268,"t":"code","b":[76,184,118],"m":"jmp","oa":30392,"o":"j_76B8"},{"a":30271,"l":"b_763F","t":"code","b":[214,31],"m":"dec","oa":31,"o":"door_right,x","x":[30266]},{"a":30273,"t":"code","b":[16,0],"m":"bpl","oa":30275,"o":"b_7643"},{"a":30275,"l":"b_7643","t":"code","b":[201,21],"m":"cmp","o":"#$15","x":[30273]},{"a":30277,"t":"code","b":[240,43],"m":"beq","oa":30322,"o":"b_7672"},{"a":30279,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":30281,"t":"code","b":[240,14],"m":"beq","oa":30297,"o":"b_7659"},{"a":30283,"t":"code","b":[201,15],"m":"cmp","o":"#$0F"},{"a":30285,"t":"code","b":[240,72],"m":"beq","oa":30359,"o":"b_7697"},{"a":30287,"t":"code","b":[176,3],"m":"bcs","oa":30292,"o":"b_7654"},{"a":30289,"t":"code","b":[76,226,118],"m":"jmp","oa":30434,"o":"j_76E2"},{"a":30292,"l":"b_7654","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1","x":[30287]},{"a":30294,"t":"code","b":[76,31,119],"m":"jmp","oa":30495,"o":"j_771F"},{"a":30297,"l":"b_7659","t":"code","b":[188,212,13],"m":"ldy","oa":3540,"o":"tbl_side_end17,x","x":[30281]},{"a":30300,"t":"code","b":[162,16],"m":"ldx","o":"#$10"},{"a":30302,"l":"b_765E","t":"code","b":[185,40,14],"m":"lda","oa":3624,"o":"gfx_corridor_floor,y","x":[30315]},{"a":30305,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30308,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":30310,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":30313,"t":"code","b":[136],"m":"dey"},{"a":30314,"t":"code","b":[202],"m":"dex"},{"a":30315,"t":"code","b":[16,241],"m":"bpl","oa":30302,"o":"b_765E"},{"a":30317,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":30319,"t":"code","b":[76,31,119],"m":"jmp","oa":30495,"o":"j_771F"},{"a":30322,"l":"b_7672","t":"code","b":[181,35],"m":"lda","oa":35,"o":"corridor_colour,x","x":[30277]},{"a":30324,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":30326,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":30328,"l":"b_7678","t":"code","b":[185,216,13],"m":"lda","oa":3544,"o":"gfx_corridor_ceiling,y","x":[30341]},{"a":30331,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30334,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":30336,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":30339,"t":"code","b":[136],"m":"dey"},{"a":30340,"t":"code","b":[202],"m":"dex"},{"a":30341,"t":"code","b":[16,241],"m":"bpl","oa":30328,"o":"b_7678"},{"a":30343,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":30345,"t":"code","b":[188,208,13],"m":"ldy","oa":3536,"o":"tbl_side_cap,x"},{"a":30348,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":30351,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":30353,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30356,"t":"code","b":[76,31,119],"m":"jmp","oa":30495,"o":"j_771F"},{"a":30359,"l":"b_7697","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[30285]},{"a":30361,"l":"b_7699","t":"code","b":[169,33],"m":"lda","o":"#$21","x":[30373]},{"a":30363,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30366,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":30368,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":30371,"t":"code","b":[136],"m":"dey"},{"a":30372,"t":"code","b":[202],"m":"dex"},{"a":30373,"t":"code","b":[16,242],"m":"bpl","oa":30361,"o":"b_7699"},{"a":30375,"t":"code","b":[169,35],"m":"lda","o":"#$23"},{"a":30377,"l":"b_76A9","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1","x":[30432,30476]},{"a":30379,"t":"code","b":[188,208,13],"m":"ldy","oa":3536,"o":"tbl_side_cap,x"},{"a":30382,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30385,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":30387,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":30390,"t":"code","b":[208,103],"m":"bne","oa":30495,"o":"j_771F"},{"a":30392,"l":"j_76B8","t":"code","b":[165,28],"m":"lda","oa":28,"o":"shaft_step_count","x":[30268]},{"a":30394,"t":"code","b":[208,38],"m":"bne","oa":30434,"o":"j_76E2"},{"a":30396,"t":"code","b":[32,117,120],"m":"jsr","oa":30837,"o":"map_cell_above"},{"a":30399,"t":"code","b":[61,214,13],"m":"and","oa":3542,"o":"tbl_side_mask,x"},{"a":30402,"t":"code","b":[208,30],"m":"bne","oa":30434,"o":"j_76E2"},{"a":30404,"t":"code","b":[32,220,120],"m":"jsr","oa":30940,"o":"corridor_colour_above"},{"a":30407,"t":"code","b":[149,35],"m":"sta","oa":35,"o":"corridor_colour,x"},{"a":30409,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":30411,"t":"code","b":[149,31],"m":"sta","oa":31,"o":"door_right,x"},{"a":30413,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":30415,"l":"b_76CF","t":"code","b":[185,0,14],"m":"lda","oa":3584,"o":"gfx_corridor_wall,y","x":[30428]},{"a":30418,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30421,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":30423,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":30426,"t":"code","b":[136],"m":"dey"},{"a":30427,"t":"code","b":[202],"m":"dex"},{"a":30428,"t":"code","b":[16,241],"m":"bpl","oa":30415,"o":"b_76CF"},{"a":30430,"t":"code","b":[169,34],"m":"lda","o":"#$22"},{"a":30432,"t":"code","b":[208,199],"m":"bne","oa":30377,"o":"b_76A9"},{"a":30434,"l":"j_76E2","t":"code","b":[165,28],"m":"lda","oa":28,"o":"shaft_step_count","x":[30289,30394,30402]},{"a":30436,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30437,"t":"code","b":[176,39],"m":"bcs","oa":30478,"o":"b_770E"},{"a":30439,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":30441,"l":"b_76E9","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[30469]},{"a":30444,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":30447,"t":"code","b":[41,28],"m":"and","o":"#$1C"},{"a":30449,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30452,"t":"code","b":[24],"m":"clc"},{"a":30453,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":30455,"t":"code","b":[136],"m":"dey"},{"a":30456,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30459,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":30461,"t":"code","b":[153,49,218],"m":"sta","o":"$DA31,y"},{"a":30464,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":30467,"t":"code","b":[136],"m":"dey"},{"a":30468,"t":"code","b":[202],"m":"dex"},{"a":30469,"t":"code","b":[16,226],"m":"bpl","oa":30441,"o":"b_76E9"},{"a":30471,"l":"b_7707","t":"code","b":[166,27],"m":"ldx","oa":27,"o":"shaft_phase","x":[30493]},{"a":30473,"t":"code","b":[189,189,13],"m":"lda","oa":3517,"o":"tbl_shaft_phase,x"},{"a":30476,"t":"code","b":[208,155],"m":"bne","oa":30377,"o":"b_76A9"},{"a":30478,"l":"b_770E","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[30437]},{"a":30480,"l":"b_7710","t":"code","b":[185,8,66],"m":"lda","oa":16904,"o":"f_4208,y","x":[30491]},{"a":30483,"t":"code","b":[24],"m":"clc"},{"a":30484,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":30486,"t":"code","b":[153,48,66],"m":"sta","oa":16944,"o":"f_4230,y"},{"a":30489,"t":"code","b":[136],"m":"dey"},{"a":30490,"t":"code","b":[202],"m":"dex"},{"a":30491,"t":"code","b":[16,243],"m":"bpl","oa":30480,"o":"b_7710"},{"a":30493,"t":"code","b":[48,232],"m":"bmi","oa":30471,"o":"b_7707"},{"a":30495,"l":"j_771F","t":"code","b":[202],"m":"dex","x":[30294,30319,30356,30390]},{"a":30496,"t":"code","b":[48,3],"m":"bmi","oa":30501,"o":"b_7725"},{"a":30498,"t":"code","b":[76,51,118],"m":"jmp","oa":30259,"o":"j_7633"},{"a":30501,"l":"b_7725","t":"code","b":[165,28],"m":"lda","oa":28,"o":"shaft_step_count","x":[30496]},{"a":30503,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":30505,"t":"code","b":[208,29],"m":"bne","oa":30536,"o":"r_7748"},{"a":30507,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":30509,"t":"code","b":[201,230],"m":"cmp","o":"#$E6"},{"a":30511,"t":"code","b":[176,10],"m":"bcs","oa":30523,"o":"b_773B"},{"a":30513,"t":"code","b":[24],"m":"clc"},{"a":30514,"t":"code","b":[233,181],"m":"sbc","o":"#$B5"},{"a":30516,"t":"code","b":[32,122,120],"m":"jsr","oa":30842,"o":"map_cell"},{"a":30519,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":30521,"t":"code","b":[208,13],"m":"bne","oa":30536,"o":"r_7748"},{"a":30523,"l":"b_773B","t":"code","b":[162,7],"m":"ldx","o":"#$07","x":[30511]},{"a":30525,"l":"b_773D","t":"code","b":[189,200,13],"m":"lda","oa":3528,"o":"gfx_corridor_mark_high,x","x":[30532]},{"a":30528,"t":"code","b":[157,64,66],"m":"sta","oa":16960,"o":"f_4240,x"},{"a":30531,"t":"code","b":[202],"m":"dex"},{"a":30532,"t":"code","b":[16,247],"m":"bpl","oa":30525,"o":"b_773D"},{"a":30534,"t":"code","b":[230,30],"m":"inc","oa":30,"o":"corridor_above"},{"a":30536,"l":"r_7748","t":"code","b":[96],"m":"rts","x":[30505,30521]},{"a":30537,"l":"shaft_new_row_bottom","c":"Draws the row that scrolls in at the bottom while the lift descends; the mirror of shaft_new_row_top, using the map at $786D.","t":"code","b":[162,1],"m":"ldx","o":"#$01","x":[34179]},{"a":30539,"l":"j_774B","t":"code","b":[188,210,13],"m":"ldy","oa":3538,"o":"tbl_side_end,x","x":[30791]},{"a":30542,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":30544,"t":"code","b":[181,31],"m":"lda","oa":31,"o":"door_right,x"},{"a":30546,"t":"code","b":[16,3],"m":"bpl","oa":30551,"o":"b_7757"},{"a":30548,"t":"code","b":[76,218,119],"m":"jmp","oa":30682,"o":"j_77DA"},{"a":30551,"l":"b_7757","t":"code","b":[168],"m":"tay","x":[30546]},{"a":30552,"t":"code","b":[200],"m":"iny"},{"a":30553,"t":"code","b":[192,22],"m":"cpy","o":"#$16"},{"a":30555,"t":"code","b":[144,2],"m":"bcc","oa":30559,"o":"b_775F"},{"a":30557,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":30559,"l":"b_775F","t":"code","b":[148,31],"m":"sty","oa":31,"o":"door_right,x","x":[30555]},{"a":30561,"t":"code","b":[188,210,13],"m":"ldy","oa":3538,"o":"tbl_side_end,x"},{"a":30564,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":30566,"t":"code","b":[240,18],"m":"beq","oa":30586,"o":"b_777A"},{"a":30568,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":30570,"t":"code","b":[240,39],"m":"beq","oa":30611,"o":"b_7793"},{"a":30572,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":30574,"t":"code","b":[240,72],"m":"beq","oa":30648,"o":"b_77B8"},{"a":30576,"t":"code","b":[144,3],"m":"bcc","oa":30581,"o":"b_7775"},{"a":30578,"t":"code","b":[76,5,120],"m":"jmp","oa":30725,"o":"j_7805"},{"a":30581,"l":"b_7775","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1","x":[30576]},{"a":30583,"t":"code","b":[76,68,120],"m":"jmp","oa":30788,"o":"j_7844"},{"a":30586,"l":"b_777A","t":"code","b":[188,212,13],"m":"ldy","oa":3540,"o":"tbl_side_end17,x","x":[30566]},{"a":30589,"t":"code","b":[162,16],"m":"ldx","o":"#$10"},{"a":30591,"l":"b_777F","t":"code","b":[185,40,14],"m":"lda","oa":3624,"o":"gfx_corridor_floor,y","x":[30604]},{"a":30594,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30597,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":30599,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":30602,"t":"code","b":[136],"m":"dey"},{"a":30603,"t":"code","b":[202],"m":"dex"},{"a":30604,"t":"code","b":[16,241],"m":"bpl","oa":30591,"o":"b_777F"},{"a":30606,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":30608,"t":"code","b":[76,68,120],"m":"jmp","oa":30788,"o":"j_7844"},{"a":30611,"l":"b_7793","t":"code","b":[181,35],"m":"lda","oa":35,"o":"corridor_colour,x","x":[30570]},{"a":30613,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":30615,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":30617,"l":"b_7799","t":"code","b":[185,216,13],"m":"lda","oa":3544,"o":"gfx_corridor_ceiling,y","x":[30630]},{"a":30620,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30623,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":30625,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":30628,"t":"code","b":[136],"m":"dey"},{"a":30629,"t":"code","b":[202],"m":"dex"},{"a":30630,"t":"code","b":[16,241],"m":"bpl","oa":30617,"o":"b_7799"},{"a":30632,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":30634,"t":"code","b":[188,208,13],"m":"ldy","oa":3536,"o":"tbl_side_cap,x"},{"a":30637,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":30640,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":30642,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30645,"t":"code","b":[76,68,120],"m":"jmp","oa":30788,"o":"j_7844"},{"a":30648,"l":"b_77B8","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[30574]},{"a":30650,"l":"b_77BA","t":"code","b":[185,0,14],"m":"lda","oa":3584,"o":"gfx_corridor_wall,y","x":[30663]},{"a":30653,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30656,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":30658,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":30661,"t":"code","b":[136],"m":"dey"},{"a":30662,"t":"code","b":[202],"m":"dex"},{"a":30663,"t":"code","b":[16,241],"m":"bpl","oa":30650,"o":"b_77BA"},{"a":30665,"t":"code","b":[169,34],"m":"lda","o":"#$22"},{"a":30667,"l":"b_77CB","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1","x":[30723,30769]},{"a":30669,"t":"code","b":[188,208,13],"m":"ldy","oa":3536,"o":"tbl_side_cap,x"},{"a":30672,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30675,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":30677,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":30680,"t":"code","b":[208,106],"m":"bne","oa":30788,"o":"j_7844"},{"a":30682,"l":"j_77DA","t":"code","b":[165,28],"m":"lda","oa":28,"o":"shaft_step_count","x":[30548]},{"a":30684,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":30686,"t":"code","b":[208,37],"m":"bne","oa":30725,"o":"j_7805"},{"a":30688,"t":"code","b":[32,109,120],"m":"jsr","oa":30829,"o":"map_cell_below"},{"a":30691,"t":"code","b":[61,214,13],"m":"and","oa":3542,"o":"tbl_side_mask,x"},{"a":30694,"t":"code","b":[208,29],"m":"bne","oa":30725,"o":"j_7805"},{"a":30696,"t":"code","b":[32,210,120],"m":"jsr","oa":30930,"o":"corridor_colour_below"},{"a":30699,"t":"code","b":[149,35],"m":"sta","oa":35,"o":"corridor_colour,x"},{"a":30701,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":30703,"t":"code","b":[149,31],"m":"sta","oa":31,"o":"door_right,x"},{"a":30705,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":30707,"l":"b_77F3","t":"code","b":[169,33],"m":"lda","o":"#$21","x":[30719]},{"a":30709,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30712,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":30714,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":30717,"t":"code","b":[136],"m":"dey"},{"a":30718,"t":"code","b":[202],"m":"dex"},{"a":30719,"t":"code","b":[16,242],"m":"bpl","oa":30707,"o":"b_77F3"},{"a":30721,"t":"code","b":[169,35],"m":"lda","o":"#$23"},{"a":30723,"t":"code","b":[208,198],"m":"bne","oa":30667,"o":"b_77CB"},{"a":30725,"l":"j_7805","t":"code","b":[165,28],"m":"lda","oa":28,"o":"shaft_step_count","x":[30578,30686,30694]},{"a":30727,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30728,"t":"code","b":[176,41],"m":"bcs","oa":30771,"o":"b_7833"},{"a":30730,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":30732,"l":"b_780C","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[30762]},{"a":30735,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":30738,"t":"code","b":[41,28],"m":"and","o":"#$1C"},{"a":30740,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":30742,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30745,"t":"code","b":[24],"m":"clc"},{"a":30746,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":30748,"t":"code","b":[136],"m":"dey"},{"a":30749,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30752,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":30754,"t":"code","b":[153,1,216],"m":"sta","o":"$D801,y"},{"a":30757,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":30760,"t":"code","b":[136],"m":"dey"},{"a":30761,"t":"code","b":[202],"m":"dex"},{"a":30762,"t":"code","b":[16,224],"m":"bpl","oa":30732,"o":"b_780C"},{"a":30764,"l":"b_782C","t":"code","b":[166,27],"m":"ldx","oa":27,"o":"shaft_phase","x":[30786]},{"a":30766,"t":"code","b":[189,189,13],"m":"lda","oa":3517,"o":"tbl_shaft_phase,x"},{"a":30769,"t":"code","b":[208,152],"m":"bne","oa":30667,"o":"b_77CB"},{"a":30771,"l":"b_7833","t":"code","b":[162,15],"m":"ldx","o":"#$0F","x":[30728]},{"a":30773,"l":"b_7835","t":"code","b":[185,40,64],"m":"lda","oa":16424,"o":"f_4028,y","x":[30784]},{"a":30776,"t":"code","b":[56],"m":"sec"},{"a":30777,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":30779,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":30782,"t":"code","b":[136],"m":"dey"},{"a":30783,"t":"code","b":[202],"m":"dex"},{"a":30784,"t":"code","b":[16,243],"m":"bpl","oa":30773,"o":"b_7835"},{"a":30786,"t":"code","b":[48,232],"m":"bmi","oa":30764,"o":"b_782C"},{"a":30788,"l":"j_7844","t":"code","b":[202],"m":"dex","x":[30583,30608,30645,30680]},{"a":30789,"t":"code","b":[48,3],"m":"bmi","oa":30794,"o":"b_784A"},{"a":30791,"t":"code","b":[76,75,119],"m":"jmp","oa":30539,"o":"j_774B"},{"a":30794,"l":"b_784A","t":"code","b":[165,28],"m":"lda","oa":28,"o":"shaft_step_count","x":[30789]},{"a":30796,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":30798,"t":"code","b":[208,28],"m":"bne","oa":30828,"o":"r_786C"},{"a":30800,"l":"draw_corridor_bottom","c":"Entry of shaft_new_row_bottom's end: draws the corridor opening at the bottom of the shaft view if the map has one there ($786D), used when the agent comes out of a room ($AFA5).","t":"code","b":[32,109,120],"m":"jsr","oa":30829,"o":"map_cell_below","x":[44965]},{"a":30803,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":30805,"t":"code","b":[208,21],"m":"bne","oa":30828,"o":"r_786C"},{"a":30807,"l":"draw_corridor_marker","c":"Draws the eight characters of the corridor marker at $4010 from $0DC0 in colour $0F and sets $1D: the corridor below is in view.","t":"code","b":[162,7],"m":"ldx","o":"#$07","x":[14674,29410]},{"a":30809,"l":"b_7859","t":"code","b":[189,192,13],"m":"lda","oa":3520,"o":"gfx_corridor_mark_low,x","x":[30816]},{"a":30812,"t":"code","b":[157,16,64],"m":"sta","oa":16400,"o":"f_4010,x"},{"a":30815,"t":"code","b":[202],"m":"dex"},{"a":30816,"t":"code","b":[16,247],"m":"bpl","oa":30809,"o":"b_7859"},{"a":30818,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":30820,"t":"code","b":[141,19,216],"m":"sta","o":"$D813"},{"a":30823,"t":"code","b":[141,20,216],"m":"sta","o":"$D814"},{"a":30826,"t":"code","b":[230,29],"m":"inc","oa":29,"o":"corridor_below"},{"a":30828,"l":"r_786C","t":"code","b":[96],"m":"rts","x":[30798,30805]},{"a":30829,"l":"map_cell_below","c":"Map cell for the row below the lift: Y offset $28 - $BB, then map_cell.","t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y","x":[30688,30800]},{"a":30831,"t":"code","b":[56],"m":"sec"},{"a":30832,"t":"code","b":[233,187],"m":"sbc","o":"#$BB"},{"a":30834,"t":"code","b":[76,122,120],"m":"jmp","oa":30842,"o":"map_cell"},{"a":30837,"l":"map_cell_above","c":"Map cell for the row above the lift: Y offset $28 - $B8, then map_cell.","t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y","x":[30396]},{"a":30839,"t":"code","b":[56],"m":"sec"},{"a":30840,"t":"code","b":[233,184],"m":"sbc","o":"#$B8"},{"a":30842,"l":"map_cell","c":"Reads the stronghold map cell at map row A/8 and column $27 - $6B + (A AND 7), from the row table at $78A4; returns $FF if the row is above the map. Y is preserved.","t":"code","b":[176,3],"m":"bcs","oa":30847,"o":"b_787F","x":[30516,30834]},{"a":30844,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":30846,"t":"code","b":[96],"m":"rts"},{"a":30847,"l":"b_787F","t":"code","b":[132,233],"m":"sty","oa":233,"o":"tmp6","x":[30842]},{"a":30849,"t":"code","b":[72],"m":"pha"},{"a":30850,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":30852,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":30854,"t":"code","b":[104],"m":"pla"},{"a":30855,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":30857,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30858,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30859,"t":"code","b":[168],"m":"tay"},{"a":30860,"t":"code","b":[185,164,120],"m":"lda","oa":30884,"o":"tbl_map_rows,y"},{"a":30863,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":30865,"t":"code","b":[185,165,120],"m":"lda","oa":30885,"o":"f_78A5,y"},{"a":30868,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":30870,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x"},{"a":30872,"t":"code","b":[56],"m":"sec"},{"a":30873,"t":"code","b":[233,107],"m":"sbc","o":"#$6B"},{"a":30875,"t":"code","b":[24],"m":"clc"},{"a":30876,"t":"code","b":[101,232],"m":"adc","oa":232,"o":"tmp5"},{"a":30878,"t":"code","b":[168],"m":"tay"},{"a":30879,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":30881,"t":"code","b":[164,233],"m":"ldy","oa":233,"o":"tmp6"},{"a":30883,"t":"code","b":[96],"m":"rts"},{"a":30884,"l":"tbl_map_rows","c":"Six row addresses of the map that the shaft view reads: $FC08, $FC90, $FD18, $FDA0, $FE28, $FEB0.","t":"word","b":[8,252,144,252,24,253,160,253],"d":[64520,64656,64792,64928],"x":[30860]},{"a":30885,"t":"note","l":"f_78A5","c":"High bytes of the addresses in tbl_map_rows.","note":"inside the item at $78A4","x":[30865]},{"a":30892,"t":"word","b":[40,254,176,254],"d":[65064,65200]},{"a":30896,"l":"map_room_index","c":"Index of the map square under the marker: row ($28 - $B8)/8 times 9 plus column ($27 - $6B)/16, in Y, for the tables at $FF96. Entering at $78B5 takes the row offset in A.","t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y","x":[35728,35806,35845]},{"a":30898,"t":"code","b":[56],"m":"sec"},{"a":30899,"t":"code","b":[233,184],"m":"sbc","o":"#$B8"},{"a":30901,"l":"map_room_index_a","c":"Entry of map_room_index with the row offset already in A.","t":"code","b":[176,2],"m":"bcs","oa":30905,"o":"b_78B9","x":[30947]},{"a":30903,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":30905,"l":"b_78B9","t":"code","b":[41,248],"m":"and","o":"#$F8","x":[30901]},{"a":30907,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tmp6"},{"a":30909,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30910,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30911,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30912,"t":"code","b":[101,233],"m":"adc","oa":233,"o":"tmp6"},{"a":30914,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tmp6"},{"a":30916,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x"},{"a":30918,"t":"code","b":[56],"m":"sec"},{"a":30919,"t":"code","b":[233,107],"m":"sbc","o":"#$6B"},{"a":30921,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30922,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30923,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30924,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30925,"t":"code","b":[24],"m":"clc"},{"a":30926,"t":"code","b":[101,233],"m":"adc","oa":233,"o":"tmp6"},{"a":30928,"t":"code","b":[168],"m":"tay"},{"a":30929,"t":"code","b":[96],"m":"rts"},{"a":30930,"l":"corridor_colour_below","c":"Colour of the room whose corridor appears below: map square from $28 - $BA (and one to the right when X is 0), the room number from $FF96, then the first byte of that room's record through the pointer table $0E70 (self-modified `lda` at $78FD). Y is preserved.","t":"code","b":[152],"m":"tya","x":[30696]},{"a":30931,"t":"code","b":[72],"m":"pha"},{"a":30932,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":30934,"t":"code","b":[56],"m":"sec"},{"a":30935,"t":"code","b":[233,186],"m":"sbc","o":"#$BA"},{"a":30937,"t":"code","b":[76,227,120],"m":"jmp","oa":30947,"o":"j_78E3"},{"a":30940,"l":"corridor_colour_above","c":"The same for the corridor appearing above ($28 - $B6).","t":"code","b":[152],"m":"tya","x":[30404]},{"a":30941,"t":"code","b":[72],"m":"pha"},{"a":30942,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":30944,"t":"code","b":[56],"m":"sec"},{"a":30945,"t":"code","b":[233,182],"m":"sbc","o":"#$B6"},{"a":30947,"l":"j_78E3","t":"code","b":[32,181,120],"m":"jsr","oa":30901,"o":"map_room_index_a","x":[30937]},{"a":30950,"t":"code","b":[138],"m":"txa"},{"a":30951,"t":"code","b":[208,1],"m":"bne","oa":30954,"o":"b_78EA"},{"a":30953,"t":"code","b":[200],"m":"iny"},{"a":30954,"l":"b_78EA","t":"code","b":[185,150,255],"m":"lda","oa":65430,"o":"f_FF96,y","x":[30951]},{"a":30957,"t":"code","b":[10],"m":"asl","o":"a"},{"a":30958,"t":"code","b":[168],"m":"tay"},{"a":30959,"t":"code","b":[185,112,14],"m":"lda","oa":3696,"o":"tbl_room_ptrs,y"},{"a":30962,"t":"code","b":[141,254,120],"m":"sta","oa":30974,"o":"a_78FE"},{"a":30965,"t":"code","b":[185,113,14],"m":"lda","oa":3697,"o":"f_0E71,y"},{"a":30968,"t":"code","b":[141,255,120],"m":"sta","oa":30975,"o":"a_78FF"},{"a":30971,"t":"code","b":[104],"m":"pla"},{"a":30972,"t":"code","b":[168],"m":"tay"},{"a":30973,"t":"code","b":[173,146,24],"m":"lda","oa":6290,"o":"room_1c"},{"a":30974,"t":"note","l":"a_78FE","c":"Operand of `lda $1892` in corridor_colour: the room record's first byte (its colour), from the pointer table $0E70.","note":"inside the item at $78FD","x":[30962]},{"a":30975,"t":"note","l":"a_78FF","c":"High byte of the room record address read by corridor_colour.","note":"inside the item at $78FD","x":[30968]},{"a":30976,"t":"code","b":[96],"m":"rts"},{"a":30977,"l":"flip_piece_v","c":"Flips the selected piece (slot $8F) top to bottom, animated: swaps the piece's rows with the display's work glyphs at $5C50 in ten steps two ticks apart ($7934 does one step, through self-modified operands at $7939/$793F). With no slot selected prints NO IMAGE SELECTED ($824A).","t":"code","b":[165,143],"m":"lda","oa":143,"o":"selected_slot","x":[15706]},{"a":30979,"t":"code","b":[16,7],"m":"bpl","oa":30988,"o":"b_790C"},{"a":30981,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":30983,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":30985,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":30988,"l":"b_790C","t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address","x":[30979]},{"a":30991,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":30993,"t":"code","b":[141,57,121],"m":"sta","oa":31033,"o":"a_7939"},{"a":30996,"t":"code","b":[141,63,121],"m":"sta","oa":31039,"o":"a_793F"},{"a":30999,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":31001,"t":"code","b":[141,58,121],"m":"sta","oa":31034,"o":"a_793A"},{"a":31004,"t":"code","b":[141,64,121],"m":"sta","oa":31040,"o":"a_7940"},{"a":31007,"t":"code","b":[162,40],"m":"ldx","o":"#$28"},{"a":31009,"t":"code","b":[160,140],"m":"ldy","o":"#$8C"},{"a":31011,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":31013,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":31015,"l":"b_7927","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[31025]},{"a":31017,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":31020,"t":"code","b":[32,52,121],"m":"jsr","oa":31028,"o":"flip_v_step"},{"a":31023,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":31025,"t":"code","b":[16,244],"m":"bpl","oa":31015,"o":"b_7927"},{"a":31027,"t":"code","b":[96],"m":"rts"},{"a":31028,"l":"flip_v_step","c":"One step of flip_piece_v: exchanges six bytes, eight apart, between $5C50,x and the piece's data (Y counting down), then moves both indices to the next column, wrapping X at $30 to $58 and Y at $87 to $5F.","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[31020,40117]},{"a":31030,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":31032,"l":"b_7938","t":"code","b":[189,80,92],"m":"lda","oa":23632,"o":"f_5C50,x","x":[31056]},{"a":31033,"t":"note","l":"a_7939","c":"Operand low byte of `lda $5C50,x` in flip_v_step: the base of the glyphs being flipped (the display, or $5000 when build_piece flips a new piece).","note":"inside the item at $7938","x":[30993,40076]},{"a":31034,"t":"note","l":"a_793A","c":"High byte of the glyph base read by flip_v_step.","note":"inside the item at $7938","x":[31001,40090]},{"a":31035,"t":"code","b":[72],"m":"pha"},{"a":31036,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":31038,"t":"code","b":[157,80,92],"m":"sta","oa":23632,"o":"f_5C50,x"},{"a":31039,"t":"note","l":"a_793F","c":"Operand low byte of `sta $5C50,x` in flip_v_step, set with $7939.","note":"inside the item at $793E","x":[30996,40079]},{"a":31040,"t":"note","l":"a_7940","c":"High byte of the glyph base written by flip_v_step.","note":"inside the item at $793E","x":[31004,40093]},{"a":31041,"t":"code","b":[104],"m":"pla"},{"a":31042,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":31044,"t":"code","b":[138],"m":"txa"},{"a":31045,"t":"code","b":[56],"m":"sec"},{"a":31046,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":31048,"t":"code","b":[170],"m":"tax"},{"a":31049,"t":"code","b":[152],"m":"tya"},{"a":31050,"t":"code","b":[56],"m":"sec"},{"a":31051,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":31053,"t":"code","b":[168],"m":"tay"},{"a":31054,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":31056,"t":"code","b":[16,230],"m":"bpl","oa":31032,"o":"b_7938"},{"a":31058,"t":"code","b":[24],"m":"clc"},{"a":31059,"t":"code","b":[105,47],"m":"adc","o":"#$2F"},{"a":31061,"t":"code","b":[168],"m":"tay"},{"a":31062,"t":"code","b":[138],"m":"txa"},{"a":31063,"t":"code","b":[24],"m":"clc"},{"a":31064,"t":"code","b":[105,49],"m":"adc","o":"#$31"},{"a":31066,"t":"code","b":[170],"m":"tax"},{"a":31067,"t":"code","b":[224,48],"m":"cpx","o":"#$30"},{"a":31069,"t":"code","b":[208,2],"m":"bne","oa":31073,"o":"b_7961"},{"a":31071,"t":"code","b":[162,88],"m":"ldx","o":"#$58"},{"a":31073,"l":"b_7961","t":"code","b":[192,135],"m":"cpy","o":"#$87","x":[31069]},{"a":31075,"t":"code","b":[208,2],"m":"bne","oa":31079,"o":"r_7967"},{"a":31077,"t":"code","b":[160,95],"m":"ldy","o":"#$5F"},{"a":31079,"l":"r_7967","t":"code","b":[96],"m":"rts","x":[31075]},{"a":31080,"l":"flip_piece_h","c":"Flips the selected piece left to right, animated in 21 steps one tick apart ($7999): each byte goes through the bit-reversal table at $C500. With no slot selected prints NO IMAGE SELECTED.","t":"code","b":[165,143],"m":"lda","oa":143,"o":"selected_slot","x":[15718]},{"a":31082,"t":"code","b":[16,7],"m":"bpl","oa":31091,"o":"b_7973"},{"a":31084,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":31086,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":31088,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":31091,"l":"b_7973","t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address","x":[31082]},{"a":31094,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":31096,"t":"code","b":[141,158,121],"m":"sta","oa":31134,"o":"a_799E"},{"a":31099,"t":"code","b":[141,172,121],"m":"sta","oa":31148,"o":"a_79AC"},{"a":31102,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":31104,"t":"code","b":[141,159,121],"m":"sta","oa":31135,"o":"a_799F"},{"a":31107,"t":"code","b":[141,173,121],"m":"sta","oa":31149,"o":"a_79AD"},{"a":31110,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":31112,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":31114,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":31116,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":31118,"l":"b_798E","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[31126]},{"a":31121,"t":"code","b":[32,153,121],"m":"jsr","oa":31129,"o":"flip_h_step"},{"a":31124,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":31126,"t":"code","b":[16,246],"m":"bpl","oa":31118,"o":"b_798E"},{"a":31128,"t":"code","b":[96],"m":"rts"},{"a":31129,"l":"flip_h_step","c":"One step of flip_piece_h: exchanges three bytes between $5C50,x and the piece, reversing the bits of each through $C500, and steps the indices with wraps at $08 and $38.","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[31121,40137]},{"a":31131,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":31133,"l":"b_799D","t":"code","b":[189,80,92],"m":"lda","oa":23632,"o":"f_5C50,x","x":[31173]},{"a":31134,"t":"note","l":"a_799E","c":"Operand low byte of `lda $5C50,x` in flip_h_step: the base of the glyphs being mirrored.","note":"inside the item at $799D","x":[31096,40082]},{"a":31135,"t":"note","l":"a_799F","c":"High byte of the glyph base read by flip_h_step.","note":"inside the item at $799D","x":[31104,40096]},{"a":31136,"t":"code","b":[72],"m":"pha"},{"a":31137,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":31139,"t":"code","b":[134,230],"m":"stx","oa":230,"o":"tmp3"},{"a":31141,"t":"code","b":[170],"m":"tax"},{"a":31142,"t":"code","b":[189,0,197],"m":"lda","oa":50432,"o":"f_C500,x"},{"a":31145,"t":"code","b":[166,230],"m":"ldx","oa":230,"o":"tmp3"},{"a":31147,"t":"code","b":[157,80,92],"m":"sta","oa":23632,"o":"f_5C50,x"},{"a":31148,"t":"note","l":"a_79AC","c":"Operand low byte of `sta $5C50,x` in flip_h_step.","note":"inside the item at $79AB","x":[31099,40085]},{"a":31149,"t":"note","l":"a_79AD","c":"High byte of the glyph base written by flip_h_step.","note":"inside the item at $79AB","x":[31107,40099]},{"a":31150,"t":"code","b":[104],"m":"pla"},{"a":31151,"t":"code","b":[134,230],"m":"stx","oa":230,"o":"tmp3"},{"a":31153,"t":"code","b":[170],"m":"tax"},{"a":31154,"t":"code","b":[189,0,197],"m":"lda","oa":50432,"o":"f_C500,x"},{"a":31157,"t":"code","b":[166,230],"m":"ldx","oa":230,"o":"tmp3"},{"a":31159,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":31161,"t":"code","b":[138],"m":"txa"},{"a":31162,"t":"code","b":[24],"m":"clc"},{"a":31163,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":31165,"t":"code","b":[170],"m":"tax"},{"a":31166,"t":"code","b":[152],"m":"tya"},{"a":31167,"t":"code","b":[56],"m":"sec"},{"a":31168,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":31170,"t":"code","b":[168],"m":"tay"},{"a":31171,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":31173,"t":"code","b":[16,214],"m":"bpl","oa":31133,"o":"b_799D"},{"a":31175,"t":"code","b":[138],"m":"txa"},{"a":31176,"t":"code","b":[56],"m":"sec"},{"a":31177,"t":"code","b":[233,23],"m":"sbc","o":"#$17"},{"a":31179,"t":"code","b":[170],"m":"tax"},{"a":31180,"t":"code","b":[152],"m":"tya"},{"a":31181,"t":"code","b":[24],"m":"clc"},{"a":31182,"t":"code","b":[105,25],"m":"adc","o":"#$19"},{"a":31184,"t":"code","b":[168],"m":"tay"},{"a":31185,"t":"code","b":[224,8],"m":"cpx","o":"#$08"},{"a":31187,"t":"code","b":[208,4],"m":"bne","oa":31193,"o":"b_79D9"},{"a":31189,"t":"code","b":[162,48],"m":"ldx","o":"#$30"},{"a":31191,"t":"code","b":[160,88],"m":"ldy","o":"#$58"},{"a":31193,"l":"b_79D9","t":"code","b":[224,56],"m":"cpx","o":"#$38","x":[31187]},{"a":31195,"t":"code","b":[208,4],"m":"bne","oa":31201,"o":"r_79E1"},{"a":31197,"t":"code","b":[162,96],"m":"ldx","o":"#$60"},{"a":31199,"t":"code","b":[160,136],"m":"ldy","o":"#$88"},{"a":31201,"l":"r_79E1","t":"code","b":[96],"m":"rts","x":[31195]},{"a":31202,"l":"clear_slot","c":"Clears the selected slot of the display: saves the piece for undo ($7A89), zeroes its 144 bytes, marks the slot empty ($92,y), then selects the next occupied slot (skipping slot 3) or none ($8F = $FF, frame sprite 6 off). With no slot selected prints NO IMAGE SELECTED.","t":"code","b":[165,143],"m":"lda","oa":143,"o":"selected_slot","x":[15730,33139]},{"a":31204,"t":"code","b":[16,7],"m":"bpl","oa":31213,"o":"b_79ED"},{"a":31206,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":31208,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":31210,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":31213,"l":"b_79ED","t":"code","b":[32,137,122],"m":"jsr","oa":31369,"o":"save_undo","x":[31204]},{"a":31216,"t":"code","b":[160,143],"m":"ldy","o":"#$8F"},{"a":31218,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":31220,"l":"b_79F4","t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y","x":[31225]},{"a":31222,"t":"code","b":[136],"m":"dey"},{"a":31223,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":31225,"t":"code","b":[208,249],"m":"bne","oa":31220,"o":"b_79F4"},{"a":31227,"t":"code","b":[164,143],"m":"ldy","oa":143,"o":"selected_slot"},{"a":31229,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":31231,"t":"code","b":[153,146,0],"m":"sta","oa":146,"o":"slot_used,y"},{"a":31234,"l":"b_7A02","t":"code","b":[200],"m":"iny","x":[31253]},{"a":31235,"t":"code","b":[192,6],"m":"cpy","o":"#$06"},{"a":31237,"t":"code","b":[144,2],"m":"bcc","oa":31241,"o":"b_7A09"},{"a":31239,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":31241,"l":"b_7A09","t":"code","b":[192,3],"m":"cpy","o":"#$03","x":[31237]},{"a":31243,"t":"code","b":[208,1],"m":"bne","oa":31246,"o":"b_7A0E"},{"a":31245,"t":"code","b":[200],"m":"iny"},{"a":31246,"l":"b_7A0E","t":"code","b":[196,143],"m":"cpy","oa":143,"o":"selected_slot","x":[31243]},{"a":31248,"t":"code","b":[240,10],"m":"beq","oa":31260,"o":"b_7A1C"},{"a":31250,"t":"code","b":[185,146,0],"m":"lda","oa":146,"o":"slot_used,y"},{"a":31253,"t":"code","b":[240,235],"m":"beq","oa":31234,"o":"b_7A02"},{"a":31255,"t":"code","b":[132,143],"m":"sty","oa":143,"o":"selected_slot"},{"a":31257,"t":"code","b":[76,157,62],"m":"jmp","oa":16029,"o":"show_slot_frame"},{"a":31260,"l":"b_7A1C","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[31248]},{"a":31262,"t":"code","b":[133,143],"m":"sta","oa":143,"o":"selected_slot"},{"a":31264,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":31267,"t":"code","b":[41,191],"m":"and","o":"#$BF"},{"a":31269,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":31272,"t":"code","b":[96],"m":"rts"},{"a":31273,"l":"recolour_piece","c":"Gives the selected piece colour A (5, 7 or 3 from the colour keys): stores it in $98,y and paints the slot's 6 \u00d7 3 cells of colour RAM from tbl_slot_colour_ram. With no slot selected prints NO IMAGE SELECTED. Entered at $7A37 to paint slot Y without the check.","t":"code","b":[164,143],"m":"ldy","oa":143,"o":"selected_slot","x":[15804]},{"a":31275,"t":"code","b":[16,7],"m":"bpl","oa":31284,"o":"b_7A34"},{"a":31277,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":31279,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":31281,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":31284,"l":"b_7A34","t":"code","b":[153,152,0],"m":"sta","oa":152,"o":"slot_colour,y","x":[31275,33209,33215]},{"a":31287,"l":"paint_slot","c":"Entry of recolour_piece that paints slot Y in colour A without checking for a selection: used by paint_slots and remove_piece.","t":"code","b":[190,85,122],"m":"ldx","oa":31317,"o":"tbl_slot_colour_ram_lo,y","x":[29742]},{"a":31290,"t":"code","b":[134,24],"m":"stx","oa":24,"o":"ptr_data"},{"a":31292,"t":"code","b":[190,91,122],"m":"ldx","oa":31323,"o":"tbl_slot_colour_ram_hi,y"},{"a":31295,"t":"code","b":[134,25],"m":"stx","oa":25,"o":"ptr_data_hi"},{"a":31297,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":31299,"l":"b_7A43","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[31314]},{"a":31301,"l":"b_7A45","t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y","x":[31304]},{"a":31303,"t":"code","b":[136],"m":"dey"},{"a":31304,"t":"code","b":[16,251],"m":"bpl","oa":31301,"o":"b_7A45"},{"a":31306,"t":"code","b":[168],"m":"tay"},{"a":31307,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":31309,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":31312,"t":"code","b":[152],"m":"tya"},{"a":31313,"t":"code","b":[202],"m":"dex"},{"a":31314,"t":"code","b":[16,239],"m":"bpl","oa":31299,"o":"b_7A43"},{"a":31316,"t":"code","b":[96],"m":"rts"},{"a":31317,"l":"tbl_slot_colour_ram_lo","c":"Low bytes of the colour RAM address of each display slot's top-left cell ($DA87, $DA8F, $DA96, $DAFF, $DB07, $DB0E with tbl_slot_colour_ram_hi).","t":"byte","b":[135,143,150,255,7,14],"x":[15181,15257,31287]},{"a":31323,"l":"tbl_slot_colour_ram_hi","c":"High bytes for tbl_slot_colour_ram_lo: $DA, $DA, $DA, $DA, $DB, $DB.","t":"byte","b":[218,218,218,218,219,219],"x":[15187,15262,31292]},{"a":31329,"l":"undo_piece","c":"The undo button: puts the piece saved at $C100 back into the slot it came from ($91), marks the slot used and selects it. With nothing saved ($91 negative) prints CAN'T UNDO ($8276).","t":"code","b":[164,145],"m":"ldy","oa":145,"o":"undo_slot","x":[15758]},{"a":31331,"t":"code","b":[16,7],"m":"bpl","oa":31340,"o":"b_7A6C"},{"a":31333,"t":"code","b":[169,118],"m":"lda","o":"#$76"},{"a":31335,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":31337,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":31340,"l":"b_7A6C","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[31331]},{"a":31342,"t":"code","b":[153,146,0],"m":"sta","oa":146,"o":"slot_used,y"},{"a":31345,"t":"code","b":[132,143],"m":"sty","oa":143,"o":"selected_slot"},{"a":31347,"t":"code","b":[152],"m":"tya"},{"a":31348,"t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address"},{"a":31351,"t":"code","b":[160,143],"m":"ldy","o":"#$8F"},{"a":31353,"l":"b_7A79","t":"code","b":[185,0,193],"m":"lda","oa":49408,"o":"f_C100,y","x":[31361]},{"a":31356,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":31358,"t":"code","b":[136],"m":"dey"},{"a":31359,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":31361,"t":"code","b":[208,246],"m":"bne","oa":31353,"o":"b_7A79"},{"a":31363,"t":"code","b":[132,145],"m":"sty","oa":145,"o":"undo_slot"},{"a":31365,"t":"code","b":[32,157,62],"m":"jsr","oa":16029,"o":"show_slot_frame"},{"a":31368,"t":"code","b":[96],"m":"rts"},{"a":31369,"l":"save_undo","c":"Copies the 144 bytes of the selected slot's piece to the undo buffer at $C100 and remembers the slot in $91.","t":"code","b":[165,143],"m":"lda","oa":143,"o":"selected_slot","x":[15249,31213]},{"a":31371,"t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address"},{"a":31374,"t":"code","b":[160,143],"m":"ldy","o":"#$8F"},{"a":31376,"l":"b_7A90","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[31384]},{"a":31378,"t":"code","b":[153,0,193],"m":"sta","oa":49408,"o":"f_C100,y"},{"a":31381,"t":"code","b":[136],"m":"dey"},{"a":31382,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":31384,"t":"code","b":[208,246],"m":"bne","oa":31376,"o":"b_7A90"},{"a":31386,"t":"code","b":[164,143],"m":"ldy","oa":143,"o":"selected_slot"},{"a":31388,"t":"code","b":[132,145],"m":"sty","oa":145,"o":"undo_slot"},{"a":31390,"t":"code","b":[96],"m":"rts"},{"a":31391,"l":"memory_forward","c":"The top left key: scrolls the memory window one piece forward ($C3 + 1), animated over three steps: the glyphs at $5C50-$5E8F and their colour RAM ($DA87-$DB4F) shift up one place and the new piece ($4EF5 + $C3 + 2, colour $4F27) is drawn in ($9C47) at the bottom. Refuses with END OF MEMORY ($8260) when the next three entries are all empty (bit 7 set).","t":"code","b":[164,195],"m":"ldy","oa":195,"o":"memory_pos","x":[15467]},{"a":31393,"t":"code","b":[185,245,78],"m":"lda","oa":20213,"o":"a_4EF5,y"},{"a":31396,"t":"code","b":[25,246,78],"m":"ora","oa":20214,"o":"a_4EF6,y"},{"a":31399,"t":"code","b":[25,247,78],"m":"ora","oa":20215,"o":"f_4EF7,y"},{"a":31402,"t":"code","b":[16,7],"m":"bpl","oa":31411,"o":"b_7AB3"},{"a":31404,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":31406,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":31408,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":31411,"l":"b_7AB3","t":"code","b":[230,195],"m":"inc","oa":195,"o":"memory_pos","x":[31402]},{"a":31413,"t":"code","b":[200],"m":"iny"},{"a":31414,"t":"code","b":[200],"m":"iny"},{"a":31415,"t":"code","b":[185,37,79],"m":"lda","oa":20261,"o":"f_4F25,y"},{"a":31418,"t":"code","b":[133,158],"m":"sta","oa":158,"o":"new_piece_colour"},{"a":31420,"t":"code","b":[185,245,78],"m":"lda","oa":20213,"o":"a_4EF5,y"},{"a":31423,"t":"code","b":[32,71,156],"m":"jsr","oa":40007,"o":"build_piece"},{"a":31426,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":31428,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":31430,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":31432,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":31434,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":31436,"l":"b_7ACC","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[31525]},{"a":31439,"t":"code","b":[160,47],"m":"ldy","o":"#$2F"},{"a":31441,"l":"b_7AD1","t":"code","b":[185,128,92],"m":"lda","oa":23680,"o":"f_5C80,y","x":[31477]},{"a":31444,"t":"code","b":[153,80,92],"m":"sta","oa":23632,"o":"f_5C50,y"},{"a":31447,"t":"code","b":[185,176,92],"m":"lda","oa":23728,"o":"f_5CB0,y"},{"a":31450,"t":"code","b":[153,128,92],"m":"sta","oa":23680,"o":"f_5C80,y"},{"a":31453,"t":"code","b":[185,0,94],"m":"lda","oa":24064,"o":"f_5E00,y"},{"a":31456,"t":"code","b":[153,176,92],"m":"sta","oa":23728,"o":"f_5CB0,y"},{"a":31459,"t":"code","b":[185,48,94],"m":"lda","oa":24112,"o":"f_5E30,y"},{"a":31462,"t":"code","b":[153,0,94],"m":"sta","oa":24064,"o":"f_5E00,y"},{"a":31465,"t":"code","b":[185,96,94],"m":"lda","oa":24160,"o":"f_5E60,y"},{"a":31468,"t":"code","b":[153,48,94],"m":"sta","oa":24112,"o":"f_5E30,y"},{"a":31471,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":31473,"t":"code","b":[153,96,94],"m":"sta","oa":24160,"o":"f_5E60,y"},{"a":31476,"t":"code","b":[136],"m":"dey"},{"a":31477,"t":"code","b":[16,218],"m":"bpl","oa":31441,"o":"b_7AD1"},{"a":31479,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":31481,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":31484,"t":"code","b":[160,5],"m":"ldy","o":"#$05"},{"a":31486,"l":"b_7AFE","t":"code","b":[185,175,218],"m":"lda","o":"$DAAF,y","x":[31522]},{"a":31489,"t":"code","b":[153,135,218],"m":"sta","o":"$DA87,y"},{"a":31492,"t":"code","b":[185,215,218],"m":"lda","o":"$DAD7,y"},{"a":31495,"t":"code","b":[153,175,218],"m":"sta","o":"$DAAF,y"},{"a":31498,"t":"code","b":[185,255,218],"m":"lda","o":"$DAFF,y"},{"a":31501,"t":"code","b":[153,215,218],"m":"sta","o":"$DAD7,y"},{"a":31504,"t":"code","b":[185,39,219],"m":"lda","o":"$DB27,y"},{"a":31507,"t":"code","b":[153,255,218],"m":"sta","o":"$DAFF,y"},{"a":31510,"t":"code","b":[185,79,219],"m":"lda","o":"$DB4F,y"},{"a":31513,"t":"code","b":[153,39,219],"m":"sta","o":"$DB27,y"},{"a":31516,"t":"code","b":[165,158],"m":"lda","oa":158,"o":"new_piece_colour"},{"a":31518,"t":"code","b":[153,79,219],"m":"sta","o":"$DB4F,y"},{"a":31521,"t":"code","b":[136],"m":"dey"},{"a":31522,"t":"code","b":[16,218],"m":"bpl","oa":31486,"o":"b_7AFE"},{"a":31524,"t":"code","b":[202],"m":"dex"},{"a":31525,"t":"code","b":[16,165],"m":"bpl","oa":31436,"o":"b_7ACC"},{"a":31527,"t":"code","b":[173,135,218],"m":"lda","o":"$DA87"},{"a":31530,"t":"code","b":[133,152],"m":"sta","oa":152,"o":"slot_colour"},{"a":31532,"t":"code","b":[173,255,218],"m":"lda","o":"$DAFF"},{"a":31535,"t":"code","b":[133,155],"m":"sta","oa":155,"o":"slot_colour_3"},{"a":31537,"t":"code","b":[96],"m":"rts"},{"a":31538,"l":"memory_back","c":"The middle left key: scrolls the memory window one piece back ($C3 - 1), the mirror of memory_forward. Refuses with END OF MEMORY at the start ($C3 = 0).","t":"code","b":[165,195],"m":"lda","oa":195,"o":"memory_pos","x":[15458]},{"a":31540,"t":"code","b":[208,7],"m":"bne","oa":31549,"o":"b_7B3D"},{"a":31542,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":31544,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":31546,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":31549,"l":"b_7B3D","t":"code","b":[198,195],"m":"dec","oa":195,"o":"memory_pos","x":[31540]},{"a":31551,"t":"code","b":[164,195],"m":"ldy","oa":195,"o":"memory_pos"},{"a":31553,"t":"code","b":[185,37,79],"m":"lda","oa":20261,"o":"f_4F25,y"},{"a":31556,"t":"code","b":[133,158],"m":"sta","oa":158,"o":"new_piece_colour"},{"a":31558,"t":"code","b":[185,245,78],"m":"lda","oa":20213,"o":"a_4EF5,y"},{"a":31561,"t":"code","b":[32,71,156],"m":"jsr","oa":40007,"o":"build_piece"},{"a":31564,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":31566,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":31568,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":31570,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":31572,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":31574,"l":"b_7B56","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[31669]},{"a":31577,"t":"code","b":[160,47],"m":"ldy","o":"#$2F"},{"a":31579,"l":"b_7B5B","t":"code","b":[185,48,94],"m":"lda","oa":24112,"o":"f_5E30,y","x":[31615]},{"a":31582,"t":"code","b":[153,96,94],"m":"sta","oa":24160,"o":"f_5E60,y"},{"a":31585,"t":"code","b":[185,0,94],"m":"lda","oa":24064,"o":"f_5E00,y"},{"a":31588,"t":"code","b":[153,48,94],"m":"sta","oa":24112,"o":"f_5E30,y"},{"a":31591,"t":"code","b":[185,176,92],"m":"lda","oa":23728,"o":"f_5CB0,y"},{"a":31594,"t":"code","b":[153,0,94],"m":"sta","oa":24064,"o":"f_5E00,y"},{"a":31597,"t":"code","b":[185,128,92],"m":"lda","oa":23680,"o":"f_5C80,y"},{"a":31600,"t":"code","b":[153,176,92],"m":"sta","oa":23728,"o":"f_5CB0,y"},{"a":31603,"t":"code","b":[185,80,92],"m":"lda","oa":23632,"o":"f_5C50,y"},{"a":31606,"t":"code","b":[153,128,92],"m":"sta","oa":23680,"o":"f_5C80,y"},{"a":31609,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":31611,"t":"code","b":[153,80,92],"m":"sta","oa":23632,"o":"f_5C50,y"},{"a":31614,"t":"code","b":[136],"m":"dey"},{"a":31615,"t":"code","b":[16,218],"m":"bpl","oa":31579,"o":"b_7B5B"},{"a":31617,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":31619,"t":"code","b":[56],"m":"sec"},{"a":31620,"t":"code","b":[233,48],"m":"sbc","o":"#$30"},{"a":31622,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":31624,"t":"code","b":[176,2],"m":"bcs","oa":31628,"o":"b_7B8C"},{"a":31626,"t":"code","b":[198,25],"m":"dec","oa":25,"o":"ptr_data_hi"},{"a":31628,"l":"b_7B8C","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[31624]},{"a":31630,"l":"b_7B8E","t":"code","b":[185,39,219],"m":"lda","o":"$DB27,y","x":[31666]},{"a":31633,"t":"code","b":[153,79,219],"m":"sta","o":"$DB4F,y"},{"a":31636,"t":"code","b":[185,255,218],"m":"lda","o":"$DAFF,y"},{"a":31639,"t":"code","b":[153,39,219],"m":"sta","o":"$DB27,y"},{"a":31642,"t":"code","b":[185,215,218],"m":"lda","o":"$DAD7,y"},{"a":31645,"t":"code","b":[153,255,218],"m":"sta","o":"$DAFF,y"},{"a":31648,"t":"code","b":[185,175,218],"m":"lda","o":"$DAAF,y"},{"a":31651,"t":"code","b":[153,215,218],"m":"sta","o":"$DAD7,y"},{"a":31654,"t":"code","b":[185,135,218],"m":"lda","o":"$DA87,y"},{"a":31657,"t":"code","b":[153,175,218],"m":"sta","o":"$DAAF,y"},{"a":31660,"t":"code","b":[165,158],"m":"lda","oa":158,"o":"new_piece_colour"},{"a":31662,"t":"code","b":[153,135,218],"m":"sta","o":"$DA87,y"},{"a":31665,"t":"code","b":[136],"m":"dey"},{"a":31666,"t":"code","b":[16,218],"m":"bpl","oa":31630,"o":"b_7B8E"},{"a":31668,"t":"code","b":[202],"m":"dex"},{"a":31669,"t":"code","b":[16,159],"m":"bpl","oa":31574,"o":"b_7B56"},{"a":31671,"t":"code","b":[173,135,218],"m":"lda","o":"$DA87"},{"a":31674,"t":"code","b":[133,152],"m":"sta","oa":152,"o":"slot_colour"},{"a":31676,"t":"code","b":[173,255,218],"m":"lda","o":"$DAFF"},{"a":31679,"t":"code","b":[133,155],"m":"sta","oa":155,"o":"slot_colour_3"},{"a":31681,"t":"code","b":[96],"m":"rts"},{"a":31682,"l":"phone","c":"The bottom left key, the phone: sets $9F to show the hand is on the phone, clears the message window, hides sprites 5 and 6, saves the colour RAM of the window to $C220 and draws the phone's menu ($7C44, 8 rows of 22) with colours from $7C3C, the first two columns light blue (9). Limits the hand to the menu and parks it at its bottom.","t":"code","b":[230,159],"m":"inc","oa":159,"o":"hand_mode","x":[15452]},{"a":31684,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":31687,"t":"code","b":[32,24,114],"m":"jsr","oa":29208,"o":"clear_message"},{"a":31690,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":31693,"t":"code","b":[41,159],"m":"and","o":"#$9F"},{"a":31695,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":31698,"t":"code","b":[169,158],"m":"lda","o":"#$9E"},{"a":31700,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":31702,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":31704,"t":"code","b":[169,67],"m":"lda","o":"#$43"},{"a":31706,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":31708,"t":"code","b":[169,219],"m":"lda","o":"#$DB"},{"a":31710,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":31712,"t":"code","b":[162,175],"m":"ldx","o":"#$AF"},{"a":31714,"l":"b_7BE2","t":"code","b":[160,21],"m":"ldy","o":"#$15","x":[31735]},{"a":31716,"l":"b_7BE4","t":"code","b":[177,20],"m":"lda","oa":20,"o":"(ptr_colour),y","x":[31728]},{"a":31718,"t":"code","b":[157,32,194],"m":"sta","oa":49696,"o":"f_C220,x"},{"a":31721,"t":"code","b":[189,68,124],"m":"lda","oa":31812,"o":"str_phone_menu,x"},{"a":31724,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":31726,"t":"code","b":[202],"m":"dex"},{"a":31727,"t":"code","b":[136],"m":"dey"},{"a":31728,"t":"code","b":[16,242],"m":"bpl","oa":31716,"o":"b_7BE4"},{"a":31730,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":31733,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":31735,"t":"code","b":[208,233],"m":"bne","oa":31714,"o":"b_7BE2"},{"a":31737,"t":"code","b":[169,134],"m":"lda","o":"#$86"},{"a":31739,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":31741,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":31743,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":31745,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":31747,"l":"b_7C03","t":"code","b":[160,21],"m":"ldy","o":"#$15","x":[31770]},{"a":31749,"t":"code","b":[189,60,124],"m":"lda","oa":31804,"o":"tbl_phone_colours,x"},{"a":31752,"l":"b_7C08","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[31757]},{"a":31754,"t":"code","b":[136],"m":"dey"},{"a":31755,"t":"code","b":[192,1],"m":"cpy","o":"#$01"},{"a":31757,"t":"code","b":[208,249],"m":"bne","oa":31752,"o":"b_7C08"},{"a":31759,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":31761,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":31763,"t":"code","b":[136],"m":"dey"},{"a":31764,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":31766,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":31769,"t":"code","b":[202],"m":"dex"},{"a":31770,"t":"code","b":[16,231],"m":"bpl","oa":31747,"o":"b_7C03"},{"a":31772,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":31774,"t":"code","b":[133,162],"m":"sta","oa":162,"o":"hand_left"},{"a":31776,"t":"code","b":[169,36],"m":"lda","o":"#$24"},{"a":31778,"t":"code","b":[133,163],"m":"sta","oa":163,"o":"hand_right"},{"a":31780,"t":"code","b":[169,179],"m":"lda","o":"#$B3"},{"a":31782,"t":"code","b":[133,160],"m":"sta","oa":160,"o":"hand_top"},{"a":31784,"t":"code","b":[169,239],"m":"lda","o":"#$EF"},{"a":31786,"t":"code","b":[133,161],"m":"sta","oa":161,"o":"hand_bottom"},{"a":31788,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":31790,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":31793,"t":"code","b":[169,239],"m":"lda","o":"#$EF"},{"a":31795,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":31798,"t":"code","b":[169,78],"m":"lda","o":"#$4E"},{"a":31800,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":31803,"t":"code","b":[96],"m":"rts"},{"a":31804,"l":"tbl_phone_colours","c":"Colours of the phone menu's eight rows, read last entry first: the first option cyan (3), the second purple (4), the blank row white (1), HANG UP yellow (7).","t":"byte","b":[7,1,4,4,4,3,3,3],"x":[31749]},{"a":31812,"l":"str_phone_menu","c":"The phone's menu, 8 rows of 22 characters in the $5800 alphabet, with icon glyphs $22-$29 at the left: \"CORRECT ORIENTATIONS / OF LEFTMOST PIECES\", \"HAVE WE ENOUGH / PIECES TO SOLVE THE / UPPER LEFT PUZZLE\", \"HANG UP\".","t":"byte","b":[34,35,104,116,119,119,106,104],"x":[31721]},{"a":31820,"t":"byte","b":[121,83,116,119,110,106,115,121]},{"a":31828,"t":"byte","b":[102,121,110,116,115,120,36,37]},{"a":31836,"t":"byte","b":[116,107,83,113,106,107,121,114]},{"a":31844,"t":"byte","b":[116,120,121,83,117,110,106,104]},{"a":31852,"t":"byte","b":[106,120,247,83,83,83,83,83]},{"a":31860,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":31868,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":31876,"t":"byte","b":[83,83,34,35,109,102,123,106]},{"a":31884,"t":"byte","b":[83,124,106,83,106,115,116,122]},{"a":31892,"t":"byte","b":[108,109,83,83,83,83,83,83]},{"a":31900,"t":"byte","b":[38,39,117,110,106,104,106,120]},{"a":31908,"t":"byte","b":[83,121,116,83,120,116,113,123]},{"a":31916,"t":"byte","b":[106,83,121,109,106,83,36,37]},{"a":31924,"t":"byte","b":[122,117,117,106,119,83,113,106]},{"a":31932,"t":"byte","b":[107,121,83,117,122,127,127,113]},{"a":31940,"t":"byte","b":[106,27,83,83,83,83,83,83]},{"a":31948,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":31956,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":31964,"t":"byte","b":[83,83,40,41,109,102,115,108]},{"a":31972,"t":"byte","b":[83,122,117,247,83,83,83,83]},{"a":31980,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":31988,"l":"str_phone_answers","c":"The phone's four answers, 22 characters each in the $5800 alphabet: \"A SOLUTION EXISTS\", \"NEED MORE PIECES\", \"ORIENTATION CORRECTED\", \"NOTHING IN MEMORY\".","t":"byte","b":[83,83,83,83,102,83,120,116],"x":[32779]},{"a":31996,"t":"byte","b":[113,122,121,110,116,115,83,106]},{"a":32004,"t":"byte","b":[125,110,120,121,120,247,83,83]},{"a":32012,"t":"byte","b":[83,83,115,106,106,105,83,114]},{"a":32020,"t":"byte","b":[116,119,106,83,117,110,106,104]},{"a":32028,"t":"byte","b":[106,120,247,83,83,116,119,110]},{"a":32036,"t":"byte","b":[106,115,121,102,121,110,116,115]},{"a":32044,"t":"byte","b":[83,104,116,119,119,106,104,121]},{"a":32052,"t":"byte","b":[106,105,83,83,83,83,115,116]},{"a":32060,"t":"byte","b":[121,109,110,115,108,83,110,115]},{"a":32068,"t":"byte","b":[83,114,106,114,116,119,126,83]},{"a":32076,"l":"phone_sound_setup","c":"Prepares the SID for the phone: envelopes of voices 2 and 3 (attack/decay 0, sustain $F), their frequencies, a filter (cutoff $40, resonance off) and volume with filter mode $12, both voices gated with triangle ($11), and $A4 = 2 so the IRQ gates them off two frames later.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[15039]},{"a":32078,"t":"code","b":[141,12,212],"m":"sta","o":"sid_v2_attack_decay"},{"a":32081,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":32084,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":32086,"t":"code","b":[141,13,212],"m":"sta","o":"sid_v2_sustain_release"},{"a":32089,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":32092,"t":"code","b":[169,109],"m":"lda","o":"#$6D"},{"a":32094,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":32097,"t":"code","b":[169,22],"m":"lda","o":"#$16"},{"a":32099,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":32102,"t":"code","b":[169,49],"m":"lda","o":"#$31"},{"a":32104,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":32107,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":32109,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":32112,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":32114,"t":"code","b":[141,22,212],"m":"sta","o":"sid_filter_cutoff_hi"},{"a":32117,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32119,"t":"code","b":[141,21,212],"m":"sta","o":"sid_filter_cutoff_lo"},{"a":32122,"t":"code","b":[169,18],"m":"lda","o":"#$12"},{"a":32124,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":32127,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":32129,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":32132,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32135,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":32137,"t":"code","b":[133,164],"m":"sta","oa":164,"o":"sound_timer"},{"a":32139,"t":"code","b":[96],"m":"rts"},{"a":32140,"l":"phone_menu_click","c":"Fire on the phone's menu, by the hand's Y: below $C2 the first option (correct orientations, $7D9D), $C8-$E0 the second (enough pieces?, $7DE6), $E8 and below HANG UP ($7E05); the gaps between do nothing.","t":"code","b":[192,232],"m":"cpy","o":"#$E8","x":[15095]},{"a":32142,"t":"code","b":[176,117],"m":"bcs","oa":32261,"o":"phone_hang_up"},{"a":32144,"t":"code","b":[192,225],"m":"cpy","o":"#$E1"},{"a":32146,"t":"code","b":[176,8],"m":"bcs","oa":32156,"o":"r_7D9C"},{"a":32148,"t":"code","b":[192,200],"m":"cpy","o":"#$C8"},{"a":32150,"t":"code","b":[176,78],"m":"bcs","oa":32230,"o":"phone_ask_enough"},{"a":32152,"t":"code","b":[192,194],"m":"cpy","o":"#$C2"},{"a":32154,"t":"code","b":[144,1],"m":"bcc","oa":32157,"o":"phone_ask_orient"},{"a":32156,"l":"r_7D9C","t":"code","b":[96],"m":"rts","x":[32146]},{"a":32157,"l":"phone_ask_orient","c":"The first phone option: charges two minutes to the game clock ($83CC in decimal mode, interrupts off), points the dial table at $7E36 and the answer at $7F8D (self-modified `lda` at $7DCD and `jsr` at $7DE2), then dials: seven digits, each a dual tone ($7E44) a few ticks long with a gap; then the line ($7E9E) and the answer.","t":"code","b":[120],"m":"sei","x":[32154]},{"a":32158,"t":"code","b":[248],"m":"sed"},{"a":32159,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":32161,"t":"code","b":[32,204,131],"m":"jsr","oa":33740,"o":"add_minutes"},{"a":32164,"t":"code","b":[88],"m":"cli"},{"a":32165,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":32167,"t":"code","b":[141,206,125],"m":"sta","oa":32206,"o":"a_7DCE"},{"a":32170,"t":"code","b":[169,126],"m":"lda","o":"#$7E"},{"a":32172,"t":"code","b":[141,207,125],"m":"sta","oa":32207,"o":"a_7DCF"},{"a":32175,"t":"code","b":[169,141],"m":"lda","o":"#$8D"},{"a":32177,"t":"code","b":[141,227,125],"m":"sta","oa":32227,"o":"a_7DE3"},{"a":32180,"t":"code","b":[169,127],"m":"lda","o":"#$7F"},{"a":32182,"t":"code","b":[141,228,125],"m":"sta","oa":32228,"o":"a_7DE4"},{"a":32185,"l":"j_7DB9","t":"code","b":[162,6],"m":"ldx","o":"#$06","x":[32258]},{"a":32187,"l":"b_7DBB","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[32217]},{"a":32189,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32192,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32194,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":32197,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32200,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":32202,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32205,"t":"code","b":[189,54,126],"m":"lda","oa":32310,"o":"tbl_phone_numbers,x"},{"a":32206,"t":"note","l":"a_7DCE","c":"Operand low byte of `lda $7E36,x` in the phone's dialling loop: which number to dial ($7E36 or $7E3D).","note":"inside the item at $7DCD","x":[32167,32240]},{"a":32207,"t":"note","l":"a_7DCF","c":"High byte of the dial table address.","note":"inside the item at $7DCD","x":[32172,32245]},{"a":32208,"t":"code","b":[208,2],"m":"bne","oa":32212,"o":"b_7DD4"},{"a":32210,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":32212,"l":"b_7DD4","t":"code","b":[168],"m":"tay","x":[32208]},{"a":32213,"t":"code","b":[32,68,126],"m":"jsr","oa":32324,"o":"dial_tone"},{"a":32216,"t":"code","b":[202],"m":"dex"},{"a":32217,"t":"code","b":[16,224],"m":"bpl","oa":32187,"o":"b_7DBB"},{"a":32219,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":32221,"t":"code","b":[133,164],"m":"sta","oa":164,"o":"sound_timer"},{"a":32223,"t":"code","b":[32,158,126],"m":"jsr","oa":32414,"o":"phone_line"},{"a":32226,"t":"code","b":[32,141,127],"m":"jsr","oa":32653,"o":"phone_answer_orient"},{"a":32227,"t":"note","l":"a_7DE3","c":"Operand low byte of the `jsr $7F8D` at the end of the dialling loop: the answer routine ($7F8D or $7FD7).","note":"inside the item at $7DE2","x":[32177,32250]},{"a":32228,"t":"note","l":"a_7DE4","c":"High byte of the answer routine's address.","note":"inside the item at $7DE2","x":[32182,32255]},{"a":32229,"t":"code","b":[96],"m":"rts"},{"a":32230,"l":"phone_ask_enough","c":"The second phone option: as phone_ask_orient, with the dial table at $7E3D and the answer at $7FD7.","t":"code","b":[120],"m":"sei","x":[32150]},{"a":32231,"t":"code","b":[248],"m":"sed"},{"a":32232,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":32234,"t":"code","b":[32,204,131],"m":"jsr","oa":33740,"o":"add_minutes"},{"a":32237,"t":"code","b":[88],"m":"cli"},{"a":32238,"t":"code","b":[169,61],"m":"lda","o":"#$3D"},{"a":32240,"t":"code","b":[141,206,125],"m":"sta","oa":32206,"o":"a_7DCE"},{"a":32243,"t":"code","b":[169,126],"m":"lda","o":"#$7E"},{"a":32245,"t":"code","b":[141,207,125],"m":"sta","oa":32207,"o":"a_7DCF"},{"a":32248,"t":"code","b":[169,215],"m":"lda","o":"#$D7"},{"a":32250,"t":"code","b":[141,227,125],"m":"sta","oa":32227,"o":"a_7DE3"},{"a":32253,"t":"code","b":[169,127],"m":"lda","o":"#$7F"},{"a":32255,"t":"code","b":[141,228,125],"m":"sta","oa":32228,"o":"a_7DE4"},{"a":32258,"t":"code","b":[76,185,125],"m":"jmp","oa":32185,"o":"j_7DB9"},{"a":32261,"l":"phone_hang_up","c":"HANG UP: clears the message window, restores its colours from the copy at $C220, and returns the panel to the piece display (hand, memory, frames), volume back to 5.","t":"code","b":[32,24,114],"m":"jsr","oa":29208,"o":"clear_message","x":[32142]},{"a":32264,"t":"code","b":[169,158],"m":"lda","o":"#$9E"},{"a":32266,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":32268,"t":"code","b":[169,219],"m":"lda","o":"#$DB"},{"a":32270,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":32272,"t":"code","b":[162,175],"m":"ldx","o":"#$AF"},{"a":32274,"l":"b_7E12","t":"code","b":[160,21],"m":"ldy","o":"#$15","x":[32290]},{"a":32276,"l":"b_7E14","t":"code","b":[189,32,194],"m":"lda","oa":49696,"o":"f_C220,x","x":[32283]},{"a":32279,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":32281,"t":"code","b":[202],"m":"dex"},{"a":32282,"t":"code","b":[136],"m":"dey"},{"a":32283,"t":"code","b":[16,247],"m":"bpl","oa":32276,"o":"b_7E14"},{"a":32285,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":32288,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":32290,"t":"code","b":[208,238],"m":"bne","oa":32274,"o":"b_7E12"},{"a":32292,"t":"code","b":[32,57,62],"m":"jsr","oa":15929,"o":"show_hand"},{"a":32295,"t":"code","b":[32,37,128],"m":"jsr","oa":32805,"o":"show_status_line"},{"a":32298,"t":"code","b":[32,157,62],"m":"jsr","oa":16029,"o":"show_slot_frame"},{"a":32301,"t":"code","b":[32,208,62],"m":"jsr","oa":16080,"o":"show_memory_frame"},{"a":32304,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":32306,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":32309,"t":"code","b":[96],"m":"rts"},{"a":32310,"l":"tbl_phone_numbers","c":"The two numbers the phone dials, seven key indices each, read last first: 7, 6, 7, 8, 9, 0, 0 for the first option and 5, 5, 5, 4, 2, 1, 3 for the second. Index 0 is replaced by 11 (key 0).","t":"byte","b":[0,0,9,8,7,6,7,3],"x":[32205]},{"a":32318,"t":"byte","b":[1,2,4,5,5,5]},{"a":32324,"l":"dial_tone","c":"Sounds key Y of the phone's keypad: voice 2 at the low tone and voice 3 at the high tone from tbl_dtmf (lo/hi bytes in four columns of twelve), volume 5 with the filter, both gated, gated off by the IRQ eight frames later.","t":"code","b":[185,109,126],"m":"lda","oa":32365,"o":"phone_rts,y","x":[32213]},{"a":32327,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":32330,"t":"code","b":[185,121,126],"m":"lda","oa":32377,"o":"f_7E79,y"},{"a":32333,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":32336,"t":"code","b":[185,133,126],"m":"lda","oa":32389,"o":"f_7E85,y"},{"a":32339,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":32342,"t":"code","b":[185,145,126],"m":"lda","oa":32401,"o":"f_7E91,y"},{"a":32345,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":32348,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":32350,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":32353,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":32355,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":32358,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32361,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":32363,"t":"code","b":[133,164],"m":"sta","oa":164,"o":"sound_timer"},{"a":32365,"l":"phone_rts","c":"The `rts` that ends dial_tone; the tone table read with `lda $7E6D,y` starts one byte later, at $7E6E, because the keys are numbered from 1.","t":"code","b":[96],"m":"rts","x":[32324]},{"a":32366,"l":"tbl_dtmf","c":"The keypad's two-tone frequencies for dial_tone, four columns of twelve entries: voice 2 low and high bytes ($7E6E, $7E7A), voice 3 low and high bytes ($7E86, $7E92). Three keys share each row tone and each column tone, as on a touch-tone keypad.","t":"byte","b":[117,152,161,117,152,161,117,152]},{"a":32374,"t":"byte","b":[161,117,152]},{"a":32377,"l":"f_7E79","c":"Second column of tbl_dtmf: voice 2's high bytes.","t":"byte","b":[161,77,85,94,77,85,94,77],"x":[32330]},{"a":32385,"t":"byte","b":[85,94,77,85]},{"a":32389,"l":"f_7E85","c":"Third column of tbl_dtmf: voice 3's low bytes.","t":"byte","b":[94,167,167,167,85,85,85,150],"x":[32336]},{"a":32397,"t":"byte","b":[150,150,74,74]},{"a":32401,"l":"f_7E91","c":"Fourth column of tbl_dtmf: voice 3's high bytes.","t":"byte","b":[74,44,44,44,49,49,49,54],"x":[32342]},{"a":32409,"t":"byte","b":[54,54,60,60,60]},{"a":32414,"l":"phone_line","c":"The line after dialling: a random pause, a few random clicks ($7F54), another pause, twenty ring bursts on voices 2 and 3 (frequency $2880/$1E80), a random pause, more clicks, then the answer's sound: voices 2 and 3 with pulse waves, gated on and off over 80 ticks. Then returns to the answer routine.","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[32223]},{"a":32417,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":32419,"t":"code","b":[105,31],"m":"adc","o":"#$1F"},{"a":32421,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32424,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":32426,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":32429,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":32432,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":32434,"t":"code","b":[170],"m":"tax"},{"a":32435,"l":"b_7EB3","t":"code","b":[32,84,127],"m":"jsr","oa":32596,"o":"phone_click","x":[32439]},{"a":32438,"t":"code","b":[202],"m":"dex"},{"a":32439,"t":"code","b":[16,250],"m":"bpl","oa":32435,"o":"b_7EB3"},{"a":32441,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":32444,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":32446,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32449,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":32451,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":32454,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":32457,"t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":32459,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":32462,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":32464,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":32467,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":32469,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":32472,"t":"code","b":[162,19],"m":"ldx","o":"#$13"},{"a":32474,"l":"b_7EDA","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[32499]},{"a":32477,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":32479,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":32482,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32485,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":32487,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32490,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32492,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":32495,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32498,"t":"code","b":[202],"m":"dex"},{"a":32499,"t":"code","b":[16,229],"m":"bpl","oa":32474,"o":"b_7EDA"},{"a":32501,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":32504,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":32506,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32509,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":32511,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":32514,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":32517,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":32519,"t":"code","b":[170],"m":"tax"},{"a":32520,"l":"b_7F08","t":"code","b":[32,84,127],"m":"jsr","oa":32596,"o":"phone_click","x":[32524]},{"a":32523,"t":"code","b":[202],"m":"dex"},{"a":32524,"t":"code","b":[16,250],"m":"bpl","oa":32520,"o":"b_7F08"},{"a":32526,"t":"code","b":[169,141],"m":"lda","o":"#$8D"},{"a":32528,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":32531,"t":"code","b":[169,142],"m":"lda","o":"#$8E"},{"a":32533,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":32536,"t":"code","b":[169,94],"m":"lda","o":"#$5E"},{"a":32538,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":32541,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":32543,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":32546,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32548,"t":"code","b":[141,9,212],"m":"sta","o":"sid_v2_pulse_lo"},{"a":32551,"t":"code","b":[141,16,212],"m":"sta","o":"sid_v3_pulse_lo"},{"a":32554,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":32556,"t":"code","b":[141,10,212],"m":"sta","o":"sid_v2_pulse_hi"},{"a":32559,"t":"code","b":[141,17,212],"m":"sta","o":"sid_v3_pulse_hi"},{"a":32562,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":32564,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":32567,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":32569,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32572,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":32574,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32577,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":32579,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":32582,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":32584,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32587,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32589,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":32592,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32595,"t":"code","b":[96],"m":"rts"},{"a":32596,"l":"phone_click","c":"One click on the phone line: voice 3 gated with triangle for a moment at volume 5.","t":"code","b":[169,33],"m":"lda","o":"#$21","x":[32435,32520]},{"a":32598,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32601,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":32603,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":32606,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":32609,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32611,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":32614,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":32617,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":32619,"l":"wait_tick","c":"Waits one tick: wait_ticks with A = 1.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[14783,14976,15603,29257,31118,31436,31574,31684,32474,32606,33062,33780,33788,34525,35829,39085,39196,39361,39849,39976,41611,41923,43010,43436,43462,43668,43717,43734,43962,44330,44375,44478,44526,46661,46667]},{"a":32621,"l":"wait_ticks","c":"Waits A ticks of the IRQ's counter $E0: adds A to $E0 and loops until $E0 equals the sum. Each pass calls `jsr $DD03`, which executes CIA 2's data direction register B: the start-up set it to $60, the opcode of `rts`, so the call returns at once. A copy whose start-up did not set it would crash here. Live (1 October 2026): $DD03 reads $60 in play and was executed 47,272 times in 120 frames; with $EA written there the program crashed.","t":"code","b":[24],"m":"clc","x":[14774,31017,31790,32189,32202,32421,32446,32487,32506,32574,32584,32791,33133,35749,43148,44573]},{"a":32622,"t":"code","b":[101,224],"m":"adc","oa":224,"o":"tick"},{"a":32624,"l":"b_7F70","t":"code","b":[32,3,221],"m":"jsr","oa":56579,"o":"$DD03","x":[32629]},{"a":32627,"t":"code","b":[197,224],"m":"cmp","oa":224,"o":"tick"},{"a":32629,"t":"code","b":[208,249],"m":"bne","oa":32624,"o":"b_7F70"},{"a":32631,"t":"code","b":[96],"m":"rts"},{"a":32632,"l":"wait_frame_top","c":"Waits until the raster is past line $AB and then until it wraps to the top of the next frame (line below $AB again after the high lines), with interrupts off while it watches; used before turning the screen on or off.","t":"code","b":[169,171],"m":"lda","o":"#$AB","x":[14546,29623,33885,33940,38646,40214,43858,44924,45027,47010,48857,48930]},{"a":32634,"l":"b_7F7A","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[32637]},{"a":32637,"t":"code","b":[176,251],"m":"bcs","oa":32634,"o":"b_7F7A"},{"a":32639,"t":"code","b":[8],"m":"php"},{"a":32640,"t":"code","b":[120],"m":"sei"},{"a":32641,"l":"b_7F81","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[32649]},{"a":32644,"l":"b_7F84","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[32647]},{"a":32647,"t":"code","b":[240,251],"m":"beq","oa":32644,"o":"b_7F84"},{"a":32649,"t":"code","b":[48,246],"m":"bmi","oa":32641,"o":"b_7F81"},{"a":32651,"t":"code","b":[40],"m":"plp"},{"a":32652,"t":"code","b":[96],"m":"rts"},{"a":32653,"l":"phone_answer_orient","c":"The answer to the first option: for the two pieces in the memory window ($4EF5/$4EF6 + $C3), marks them (bit 6), clears their flip bits in their records ($BFC3 + 4 \u00d7 piece, keeping the low two bits) and redraws them in the display ($9C8A), then shows ORIENTATION CORRECTED; with no piece, NOTHING IN MEMORY ($8009).","t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos","x":[32226]},{"a":32655,"t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x"},{"a":32658,"t":"code","b":[48,62],"m":"bmi","oa":32722,"o":"b_7FD2"},{"a":32660,"t":"code","b":[9,64],"m":"ora","o":"#$40"},{"a":32662,"t":"code","b":[157,245,78],"m":"sta","oa":20213,"o":"a_4EF5,x"},{"a":32665,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32666,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32667,"t":"code","b":[170],"m":"tax"},{"a":32668,"t":"code","b":[189,195,191],"m":"lda","oa":49091,"o":"f_BFC3,x"},{"a":32671,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":32673,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":32675,"t":"code","b":[157,195,191],"m":"sta","oa":49091,"o":"f_BFC3,x"},{"a":32678,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":32680,"t":"code","b":[162,92],"m":"ldx","o":"#$5C"},{"a":32682,"t":"code","b":[32,138,156],"m":"jsr","oa":40074,"o":"redraw_piece"},{"a":32685,"t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos"},{"a":32687,"t":"code","b":[189,246,78],"m":"lda","oa":20214,"o":"a_4EF6,x"},{"a":32690,"t":"code","b":[48,25],"m":"bmi","oa":32717,"o":"b_7FCD"},{"a":32692,"t":"code","b":[9,64],"m":"ora","o":"#$40"},{"a":32694,"t":"code","b":[157,246,78],"m":"sta","oa":20214,"o":"a_4EF6,x"},{"a":32697,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32698,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32699,"t":"code","b":[170],"m":"tax"},{"a":32700,"t":"code","b":[189,195,191],"m":"lda","oa":49091,"o":"f_BFC3,x"},{"a":32703,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":32705,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":32707,"t":"code","b":[157,195,191],"m":"sta","oa":49091,"o":"f_BFC3,x"},{"a":32710,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32712,"t":"code","b":[162,94],"m":"ldx","o":"#$5E"},{"a":32714,"t":"code","b":[32,138,156],"m":"jsr","oa":40074,"o":"redraw_piece"},{"a":32717,"l":"b_7FCD","t":"code","b":[162,65],"m":"ldx","o":"#$41","x":[32690]},{"a":32719,"t":"code","b":[76,9,128],"m":"jmp","oa":32777,"o":"show_phone_answer"},{"a":32722,"l":"b_7FD2","t":"code","b":[162,87],"m":"ldx","o":"#$57","x":[32658,32732]},{"a":32724,"t":"code","b":[76,9,128],"m":"jmp","oa":32777,"o":"show_phone_answer"},{"a":32727,"l":"phone_answer_enough","c":"The answer to the second option: takes the puzzle number of the piece at the left of the memory window ($BFC0 + 4 \u00d7 piece) and counts the pieces in memory with the same number; four or more shows A SOLUTION EXISTS, fewer NEED MORE PIECES; with nothing in memory, NOTHING IN MEMORY.","t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos"},{"a":32729,"t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x"},{"a":32732,"t":"code","b":[48,244],"m":"bmi","oa":32722,"o":"b_7FD2"},{"a":32734,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32735,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32736,"t":"code","b":[170],"m":"tax"},{"a":32737,"t":"code","b":[189,192,191],"m":"lda","oa":49088,"o":"f_BFC0,x"},{"a":32740,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":32742,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":32744,"t":"code","b":[134,229],"m":"stx","oa":229,"o":"tmp2"},{"a":32746,"l":"j_7FEA","t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x","x":[32764]},{"a":32749,"t":"code","b":[48,16],"m":"bmi","oa":32767,"o":"b_7FFF"},{"a":32751,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32752,"t":"code","b":[10],"m":"asl","o":"a"},{"a":32753,"t":"code","b":[168],"m":"tay"},{"a":32754,"t":"code","b":[185,192,191],"m":"lda","oa":49088,"o":"f_BFC0,y"},{"a":32757,"t":"code","b":[197,228],"m":"cmp","oa":228,"o":"tmp1"},{"a":32759,"t":"code","b":[208,2],"m":"bne","oa":32763,"o":"b_7FFB"},{"a":32761,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":32763,"l":"b_7FFB","t":"code","b":[232],"m":"inx","x":[32759]},{"a":32764,"t":"code","b":[76,234,127],"m":"jmp","oa":32746,"o":"j_7FEA"},{"a":32767,"l":"b_7FFF","t":"code","b":[162,21],"m":"ldx","o":"#$15","x":[32749]},{"a":32769,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":32771,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":32773,"t":"code","b":[176,2],"m":"bcs","oa":32777,"o":"show_phone_answer"},{"a":32775,"t":"code","b":[162,43],"m":"ldx","o":"#$2B"},{"a":32777,"l":"show_phone_answer","c":"Shows the phone answer at offset X of str_phone_answers in the message line ($4376), waits 64 ticks and blanks the line again.","t":"code","b":[160,21],"m":"ldy","o":"#$15","x":[32719,32724,32773]},{"a":32779,"l":"b_800B","t":"code","b":[189,244,124],"m":"lda","oa":31988,"o":"str_phone_answers,x","x":[32787]},{"a":32782,"t":"code","b":[153,118,67],"m":"sta","oa":17270,"o":"f_4376,y"},{"a":32785,"t":"code","b":[202],"m":"dex"},{"a":32786,"t":"code","b":[136],"m":"dey"},{"a":32787,"t":"code","b":[16,246],"m":"bpl","oa":32779,"o":"b_800B"},{"a":32789,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":32791,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":32794,"t":"code","b":[162,21],"m":"ldx","o":"#$15"},{"a":32796,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":32798,"l":"b_801E","t":"code","b":[157,118,67],"m":"sta","oa":17270,"o":"f_4376,x","x":[32802]},{"a":32801,"t":"code","b":[202],"m":"dex"},{"a":32802,"t":"code","b":[16,250],"m":"bpl","oa":32798,"o":"b_801E"},{"a":32804,"t":"code","b":[96],"m":"rts"},{"a":32805,"l":"show_status_line","c":"Writes the status line of the pocket computer, 62 characters from $3431 (SNOOZES:n LIFT INITS:n, then the password line PSW:) and their colours from $35C1, to $4376/$DB76.","t":"code","b":[160,61],"m":"ldy","o":"#$3D","x":[15011,32295,33285]},{"a":32807,"l":"b_8027","t":"code","b":[185,49,52],"m":"lda","oa":13361,"o":"f_3431,y","x":[32820]},{"a":32810,"t":"code","b":[153,118,67],"m":"sta","oa":17270,"o":"f_4376,y"},{"a":32813,"t":"code","b":[185,193,53],"m":"lda","oa":13761,"o":"gfx_pc_status_colours,y"},{"a":32816,"t":"code","b":[153,118,219],"m":"sta","o":"$DB76,y"},{"a":32819,"t":"code","b":[136],"m":"dey"},{"a":32820,"t":"code","b":[16,241],"m":"bpl","oa":32807,"o":"b_8027"},{"a":32822,"t":"code","b":[96],"m":"rts"},{"a":32823,"l":"test_overlap","c":"Tests whether the piece being placed (shape in the sprite at $4D80/$4DC0) overlaps what slot Y already holds: builds a mask of the slot's border at $C100 and compares the AND of shape and slot with it, row by row. Carry clear: no overlap; carry set: overlap.","t":"code","b":[162,143],"m":"ldx","o":"#$8F","x":[15220]},{"a":32825,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32827,"l":"b_803B","t":"code","b":[157,0,193],"m":"sta","oa":49408,"o":"f_C100,x","x":[32833]},{"a":32830,"t":"code","b":[202],"m":"dex"},{"a":32831,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":32833,"t":"code","b":[208,248],"m":"bne","oa":32827,"o":"b_803B"},{"a":32835,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":32837,"l":"b_8045","t":"code","b":[169,192],"m":"lda","o":"#$C0","x":[32860]},{"a":32839,"t":"code","b":[157,0,193],"m":"sta","oa":49408,"o":"f_C100,x"},{"a":32842,"t":"code","b":[157,48,193],"m":"sta","oa":49456,"o":"f_C130,x"},{"a":32845,"t":"code","b":[157,96,193],"m":"sta","oa":49504,"o":"f_C160,x"},{"a":32848,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":32850,"t":"code","b":[157,40,193],"m":"sta","oa":49448,"o":"f_C128,x"},{"a":32853,"t":"code","b":[157,88,193],"m":"sta","oa":49496,"o":"f_C158,x"},{"a":32856,"t":"code","b":[157,136,193],"m":"sta","oa":49544,"o":"f_C188,x"},{"a":32859,"t":"code","b":[202],"m":"dex"},{"a":32860,"t":"code","b":[16,231],"m":"bpl","oa":32837,"o":"b_8045"},{"a":32862,"t":"code","b":[162,40],"m":"ldx","o":"#$28"},{"a":32864,"l":"b_8060","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[32877]},{"a":32866,"t":"code","b":[157,0,193],"m":"sta","oa":49408,"o":"f_C100,x"},{"a":32869,"t":"code","b":[157,100,193],"m":"sta","oa":49508,"o":"f_C164,x"},{"a":32872,"t":"code","b":[138],"m":"txa"},{"a":32873,"t":"code","b":[56],"m":"sec"},{"a":32874,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":32876,"t":"code","b":[170],"m":"tax"},{"a":32877,"t":"code","b":[176,241],"m":"bcs","oa":32864,"o":"b_8060"},{"a":32879,"t":"code","b":[152],"m":"tya"},{"a":32880,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":32882,"t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address"},{"a":32885,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":32887,"t":"code","b":[24],"m":"clc"},{"a":32888,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":32890,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":32892,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":32894,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":32896,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":32898,"t":"code","b":[162,62],"m":"ldx","o":"#$3E"},{"a":32900,"t":"code","b":[160,116],"m":"ldy","o":"#$74"},{"a":32902,"l":"b_8086","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[32950,32954]},{"a":32904,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":32906,"l":"b_808A","t":"code","b":[189,128,77],"m":"lda","oa":19840,"o":"f_4D80,x","x":[32936]},{"a":32909,"t":"code","b":[49,24],"m":"and","oa":24,"o":"(ptr_data),y"},{"a":32911,"t":"code","b":[217,0,193],"m":"cmp","oa":49408,"o":"f_C100,y"},{"a":32914,"t":"code","b":[208,44],"m":"bne","oa":32960,"o":"b_80C0"},{"a":32916,"t":"code","b":[189,192,77],"m":"lda","oa":19904,"o":"f_4DC0,x"},{"a":32919,"t":"code","b":[49,228],"m":"and","oa":228,"o":"(tmp1),y"},{"a":32921,"t":"code","b":[217,24,193],"m":"cmp","oa":49432,"o":"f_C118,y"},{"a":32924,"t":"code","b":[208,34],"m":"bne","oa":32960,"o":"b_80C0"},{"a":32926,"t":"code","b":[202],"m":"dex"},{"a":32927,"t":"code","b":[48,27],"m":"bmi","oa":32956,"o":"b_80BC"},{"a":32929,"t":"code","b":[152],"m":"tya"},{"a":32930,"t":"code","b":[56],"m":"sec"},{"a":32931,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":32933,"t":"code","b":[168],"m":"tay"},{"a":32934,"t":"code","b":[198,231],"m":"dec","oa":231,"o":"tmp4"},{"a":32936,"t":"code","b":[16,224],"m":"bpl","oa":32906,"o":"b_808A"},{"a":32938,"t":"code","b":[24],"m":"clc"},{"a":32939,"t":"code","b":[105,23],"m":"adc","o":"#$17"},{"a":32941,"t":"code","b":[168],"m":"tay"},{"a":32942,"t":"code","b":[192,111],"m":"cpy","o":"#$6F"},{"a":32944,"t":"code","b":[208,2],"m":"bne","oa":32948,"o":"b_80B4"},{"a":32946,"t":"code","b":[160,71],"m":"ldy","o":"#$47"},{"a":32948,"l":"b_80B4","t":"code","b":[192,63],"m":"cpy","o":"#$3F","x":[32944]},{"a":32950,"t":"code","b":[208,206],"m":"bne","oa":32902,"o":"b_8086"},{"a":32952,"t":"code","b":[160,23],"m":"ldy","o":"#$17"},{"a":32954,"t":"code","b":[208,202],"m":"bne","oa":32902,"o":"b_8086"},{"a":32956,"l":"b_80BC","t":"code","b":[164,230],"m":"ldy","oa":230,"o":"tmp3","x":[32927]},{"a":32958,"t":"code","b":[24],"m":"clc"},{"a":32959,"t":"code","b":[96],"m":"rts"},{"a":32960,"l":"b_80C0","t":"code","b":[56],"m":"sec","x":[32914,32924]},{"a":32961,"t":"code","b":[96],"m":"rts"},{"a":32962,"t":"gap","n":1},{"a":32963,"l":"check_solution","c":"After a piece is placed: compares the 144 bytes of the display slot $8F with the nine solution images at $C9F0 (144 bytes apart). On a match with puzzle k: if already solved ($C8 + k) prints WE JUST DID THIS ONE ($82A2); otherwise marks it, counts it in $D8, copies that puzzle's password letter ($4FB5 + k) into the PSW line ($345D + k and the screen at $43A2 + k), removes its four pieces from memory ($817B for each), clears the display's work glyphs, redraws the memory window, beeps five times and clears the slot.","t":"code","b":[165,143],"m":"lda","oa":143,"o":"selected_slot","x":[15314,15709,15721]},{"a":32965,"t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address"},{"a":32968,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":32970,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":32972,"t":"code","b":[169,201],"m":"lda","o":"#$C9"},{"a":32974,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":32976,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":32978,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":32980,"l":"b_80D4","t":"code","b":[160,143],"m":"ldy","o":"#$8F","x":[33009]},{"a":32982,"l":"b_80D6","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[32991]},{"a":32984,"t":"code","b":[209,228],"m":"cmp","oa":228,"o":"(tmp1),y"},{"a":32986,"t":"code","b":[208,8],"m":"bne","oa":32996,"o":"b_80E4"},{"a":32988,"t":"code","b":[136],"m":"dey"},{"a":32989,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":32991,"t":"code","b":[208,245],"m":"bne","oa":32982,"o":"b_80D6"},{"a":32993,"t":"code","b":[76,244,128],"m":"jmp","oa":33012,"o":"j_80F4"},{"a":32996,"l":"b_80E4","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[32986]},{"a":32998,"t":"code","b":[24],"m":"clc"},{"a":32999,"t":"code","b":[105,144],"m":"adc","o":"#$90"},{"a":33001,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":33003,"t":"code","b":[144,2],"m":"bcc","oa":33007,"o":"b_80EF"},{"a":33005,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":33007,"l":"b_80EF","t":"code","b":[198,230],"m":"dec","oa":230,"o":"tmp3","x":[33003]},{"a":33009,"t":"code","b":[16,225],"m":"bpl","oa":32980,"o":"b_80D4"},{"a":33011,"t":"code","b":[96],"m":"rts"},{"a":33012,"l":"j_80F4","t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3","x":[32993]},{"a":33014,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":33016,"t":"code","b":[24],"m":"clc"},{"a":33017,"t":"code","b":[105,9],"m":"adc","o":"#$09"},{"a":33019,"t":"code","b":[170],"m":"tax"},{"a":33020,"t":"code","b":[180,200],"m":"ldy","oa":200,"o":"solved,x"},{"a":33022,"t":"code","b":[240,7],"m":"beq","oa":33031,"o":"b_8107"},{"a":33024,"t":"code","b":[169,162],"m":"lda","o":"#$A2"},{"a":33026,"t":"code","b":[162,130],"m":"ldx","o":"#$82"},{"a":33028,"t":"code","b":[76,197,129],"m":"jmp","oa":33221,"o":"show_message"},{"a":33031,"l":"b_8107","t":"code","b":[246,200],"m":"inc","oa":200,"o":"solved,x","x":[33022]},{"a":33033,"t":"code","b":[230,216],"m":"inc","oa":216,"o":"puzzles_solved"},{"a":33035,"t":"code","b":[72],"m":"pha"},{"a":33036,"t":"code","b":[189,181,79],"m":"lda","oa":20405,"o":"f_4FB5,x"},{"a":33039,"t":"code","b":[157,93,52],"m":"sta","oa":13405,"o":"f_345D,x"},{"a":33042,"t":"code","b":[157,162,67],"m":"sta","oa":17314,"o":"f_43A2,x"},{"a":33045,"t":"code","b":[104],"m":"pla"},{"a":33046,"t":"code","b":[10],"m":"asl","o":"a"},{"a":33047,"t":"code","b":[10],"m":"asl","o":"a"},{"a":33048,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":33050,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":33052,"l":"b_811C","t":"code","b":[32,123,129],"m":"jsr","oa":33147,"o":"remove_piece","x":[33060]},{"a":33055,"t":"code","b":[24],"m":"clc"},{"a":33056,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":33058,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":33060,"t":"code","b":[16,246],"m":"bpl","oa":33052,"o":"b_811C"},{"a":33062,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":33065,"t":"code","b":[162,143],"m":"ldx","o":"#$8F"},{"a":33067,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33069,"l":"b_812D","t":"code","b":[157,80,92],"m":"sta","oa":23632,"o":"f_5C50,x","x":[33078]},{"a":33072,"t":"code","b":[157,0,94],"m":"sta","oa":24064,"o":"f_5E00,x"},{"a":33075,"t":"code","b":[202],"m":"dex"},{"a":33076,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":33078,"t":"code","b":[208,245],"m":"bne","oa":33069,"o":"b_812D"},{"a":33080,"t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos"},{"a":33082,"t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x"},{"a":33085,"t":"code","b":[48,39],"m":"bmi","oa":33126,"o":"b_8166"},{"a":33087,"t":"code","b":[32,71,156],"m":"jsr","oa":40007,"o":"build_piece"},{"a":33090,"t":"code","b":[162,143],"m":"ldx","o":"#$8F"},{"a":33092,"l":"b_8144","t":"code","b":[189,0,80],"m":"lda","oa":20480,"o":"f_5000,x","x":[33101]},{"a":33095,"t":"code","b":[157,80,92],"m":"sta","oa":23632,"o":"f_5C50,x"},{"a":33098,"t":"code","b":[202],"m":"dex"},{"a":33099,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":33101,"t":"code","b":[208,245],"m":"bne","oa":33092,"o":"b_8144"},{"a":33103,"t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos"},{"a":33105,"t":"code","b":[189,246,78],"m":"lda","oa":20214,"o":"a_4EF6,x"},{"a":33108,"t":"code","b":[48,16],"m":"bmi","oa":33126,"o":"b_8166"},{"a":33110,"t":"code","b":[32,71,156],"m":"jsr","oa":40007,"o":"build_piece"},{"a":33113,"t":"code","b":[162,143],"m":"ldx","o":"#$8F"},{"a":33115,"l":"b_815B","t":"code","b":[189,0,80],"m":"lda","oa":20480,"o":"f_5000,x","x":[33124]},{"a":33118,"t":"code","b":[157,0,94],"m":"sta","oa":24064,"o":"f_5E00,x"},{"a":33121,"t":"code","b":[202],"m":"dex"},{"a":33122,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":33124,"t":"code","b":[208,245],"m":"bne","oa":33115,"o":"b_815B"},{"a":33126,"l":"b_8166","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[33085,33108]},{"a":33128,"l":"b_8168","t":"code","b":[32,61,63],"m":"jsr","oa":16189,"o":"sound_click","x":[33137]},{"a":33131,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":33133,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":33136,"t":"code","b":[136],"m":"dey"},{"a":33137,"t":"code","b":[16,245],"m":"bpl","oa":33128,"o":"b_8168"},{"a":33139,"t":"code","b":[32,226,121],"m":"jsr","oa":31202,"o":"clear_slot"},{"a":33142,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":33144,"t":"code","b":[133,145],"m":"sta","oa":145,"o":"undo_slot"},{"a":33146,"t":"code","b":[96],"m":"rts"},{"a":33147,"l":"remove_piece","c":"Removes from the memory list the piece whose number (low 6 bits) is A: shifts the rest of the list ($4EF5) and their colours ($4F25) down one, steps the memory window back if it now points past the end, and repaints the two memory slots.","t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4","x":[33052]},{"a":33149,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":33151,"l":"j_817F","t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x","x":[33166]},{"a":33154,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":33156,"t":"code","b":[197,231],"m":"cmp","oa":231,"o":"tmp4"},{"a":33158,"t":"code","b":[240,9],"m":"beq","oa":33169,"o":"b_8191"},{"a":33160,"t":"code","b":[188,245,78],"m":"ldy","oa":20213,"o":"a_4EF5,x"},{"a":33163,"t":"code","b":[48,22],"m":"bmi","oa":33187,"o":"b_81A3"},{"a":33165,"t":"code","b":[232],"m":"inx"},{"a":33166,"t":"code","b":[76,127,129],"m":"jmp","oa":33151,"o":"j_817F"},{"a":33169,"l":"b_8191","t":"code","b":[189,38,79],"m":"lda","oa":20262,"o":"f_4F26,x","x":[33158,33184]},{"a":33172,"t":"code","b":[157,37,79],"m":"sta","oa":20261,"o":"f_4F25,x"},{"a":33175,"t":"code","b":[189,246,78],"m":"lda","oa":20214,"o":"a_4EF6,x"},{"a":33178,"t":"code","b":[157,245,78],"m":"sta","oa":20213,"o":"a_4EF5,x"},{"a":33181,"t":"code","b":[48,4],"m":"bmi","oa":33187,"o":"b_81A3"},{"a":33183,"t":"code","b":[232],"m":"inx"},{"a":33184,"t":"code","b":[76,145,129],"m":"jmp","oa":33169,"o":"b_8191"},{"a":33187,"l":"b_81A3","t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos","x":[33163,33181]},{"a":33189,"t":"code","b":[240,7],"m":"beq","oa":33198,"o":"b_81AE"},{"a":33191,"t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x"},{"a":33194,"t":"code","b":[16,2],"m":"bpl","oa":33198,"o":"b_81AE"},{"a":33196,"t":"code","b":[198,195],"m":"dec","oa":195,"o":"memory_pos"},{"a":33198,"l":"b_81AE","t":"code","b":[166,195],"m":"ldx","oa":195,"o":"memory_pos","x":[33189,33194]},{"a":33200,"t":"code","b":[189,38,79],"m":"lda","oa":20262,"o":"f_4F26,x"},{"a":33203,"t":"code","b":[72],"m":"pha"},{"a":33204,"t":"code","b":[189,37,79],"m":"lda","oa":20261,"o":"f_4F25,x"},{"a":33207,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":33209,"t":"code","b":[32,52,122],"m":"jsr","oa":31284,"o":"b_7A34"},{"a":33212,"t":"code","b":[104],"m":"pla"},{"a":33213,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":33215,"t":"code","b":[32,52,122],"m":"jsr","oa":31284,"o":"b_7A34"},{"a":33218,"t":"code","b":[165,231],"m":"lda","oa":231,"o":"tmp4"},{"a":33220,"t":"code","b":[96],"m":"rts"},{"a":33221,"l":"show_message","c":"Shows the 22-character message at (A low, X high) in the pocket computer's message line ($4376, yellow) with PUSH BUTTON beneath it ($439E, white), after the error tone; types it two characters a tick. Waits for fire to be pressed and released, then restores the status line ($8025).","t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data","x":[15233,15745,30985,31088,31210,31281,31337,31408,31546,33028]},{"a":33223,"t":"code","b":[134,25],"m":"stx","oa":25,"o":"ptr_data_hi"},{"a":33225,"t":"code","b":[169,44],"m":"lda","o":"#$2C"},{"a":33227,"t":"code","b":[162,193],"m":"ldx","o":"#$C1"},{"a":33229,"t":"code","b":[32,65,63],"m":"jsr","oa":16193,"o":"sound_tone"},{"a":33232,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":33234,"l":"b_81D2","t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick","x":[33269]},{"a":33236,"l":"b_81D4","t":"code","b":[197,224],"m":"cmp","oa":224,"o":"tick","x":[33238]},{"a":33238,"t":"code","b":[240,252],"m":"beq","oa":33236,"o":"b_81D4"},{"a":33240,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":33242,"l":"b_81DA","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[33265]},{"a":33244,"t":"code","b":[153,118,67],"m":"sta","oa":17270,"o":"f_4376,y"},{"a":33247,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":33249,"t":"code","b":[153,118,219],"m":"sta","o":"$DB76,y"},{"a":33252,"t":"code","b":[185,8,130],"m":"lda","oa":33288,"o":"str_push_button,y"},{"a":33255,"t":"code","b":[153,158,67],"m":"sta","oa":17310,"o":"f_439E,y"},{"a":33258,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":33260,"t":"code","b":[153,158,219],"m":"sta","o":"$DB9E,y"},{"a":33263,"t":"code","b":[200],"m":"iny"},{"a":33264,"t":"code","b":[202],"m":"dex"},{"a":33265,"t":"code","b":[16,231],"m":"bpl","oa":33242,"o":"b_81DA"},{"a":33267,"t":"code","b":[192,22],"m":"cpy","o":"#$16"},{"a":33269,"t":"code","b":[144,219],"m":"bcc","oa":33234,"o":"b_81D2"},{"a":33271,"l":"b_81F7","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[33276]},{"a":33274,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":33276,"t":"code","b":[240,249],"m":"beq","oa":33271,"o":"b_81F7"},{"a":33278,"l":"b_81FE","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[33283]},{"a":33281,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":33283,"t":"code","b":[208,249],"m":"bne","oa":33278,"o":"b_81FE"},{"a":33285,"t":"code","b":[76,37,128],"m":"jmp","oa":32805,"o":"show_status_line"},{"a":33288,"l":"str_push_button","c":"The prompt under every message: \"     \" icon \"PUSH BUTTON\" icon, 22 characters in the $5800 alphabet ($F8/$F9 are the icons either side).","t":"byte","b":[83,83,83,83,83,248,117,122],"x":[33252]},{"a":33296,"t":"byte","b":[120,109,83,103,122,121,121,116]},{"a":33304,"t":"byte","b":[115,249,83,83,83,83]},{"a":33310,"l":"str_pc_messages","c":"The pocket computer's messages, 22 characters each in the $5800 alphabet ($FA is the apostrophe): COLORS MUST MATCH ($821E), IMAGES CAN'T OVERLAP ($8234), NO IMAGE SELECTED ($824A), END OF MEMORY ($8260), CAN'T UNDO ($8276), TIME IS SUSPENDED ($828C), WE JUST DID THIS ONE ($82A2).","t":"byte","b":[83,83,83,104,116,113,116,119]},{"a":33318,"t":"byte","b":[120,83,114,122,120,121,83,114]},{"a":33326,"t":"byte","b":[102,121,104,109,83,83,83,110]},{"a":33334,"t":"byte","b":[114,102,108,106,120,83,104,102]},{"a":33342,"t":"byte","b":[115,250,121,83,116,123,106,119]},{"a":33350,"t":"byte","b":[113,102,117,83,83,83,83,115]},{"a":33358,"t":"byte","b":[116,83,110,114,102,108,106,83]},{"a":33366,"t":"byte","b":[120,106,113,106,104,121,106,105]},{"a":33374,"t":"byte","b":[83,83,83,83,83,83,83,106]},{"a":33382,"t":"byte","b":[115,105,83,116,107,83,114,106]},{"a":33390,"t":"byte","b":[114,116,119,126,83,83,83,83]},{"a":33398,"t":"byte","b":[83,83,83,83,83,83,104,102]},{"a":33406,"t":"byte","b":[115,250,121,83,122,115,105,116]},{"a":33414,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":33422,"t":"byte","b":[83,121,110,114,106,83,110,120]},{"a":33430,"t":"byte","b":[83,120,122,120,117,106,115,105]},{"a":33438,"t":"byte","b":[106,105,83,83,83,124,106,83]},{"a":33446,"t":"byte","b":[111,122,120,121,83,105,110,105]},{"a":33454,"t":"byte","b":[83,121,109,110,120,83,116,115]},{"a":33462,"t":"byte","b":[106,83]},{"a":33464,"l":"slot_address","c":"Address of display slot A's 144 bytes of glyph data in character set $5800: $5C50 + 144 \u00d7 A, in $18/$19.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[16227,30988,31091,31348,31371,32882,32965,40162,40184]},{"a":33466,"t":"code","b":[134,229],"m":"stx","oa":229,"o":"tmp2"},{"a":33468,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":33470,"l":"b_82BE","t":"code","b":[10],"m":"asl","o":"a","x":[33474]},{"a":33471,"t":"code","b":[38,229],"m":"rol","oa":229,"o":"tmp2"},{"a":33473,"t":"code","b":[202],"m":"dex"},{"a":33474,"t":"code","b":[16,250],"m":"bpl","oa":33470,"o":"b_82BE"},{"a":33476,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":33478,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":33480,"l":"b_82C8","t":"code","b":[10],"m":"asl","o":"a","x":[33484]},{"a":33481,"t":"code","b":[38,229],"m":"rol","oa":229,"o":"tmp2"},{"a":33483,"t":"code","b":[202],"m":"dex"},{"a":33484,"t":"code","b":[16,250],"m":"bpl","oa":33480,"o":"b_82C8"},{"a":33486,"t":"code","b":[166,229],"m":"ldx","oa":229,"o":"tmp2"},{"a":33488,"t":"code","b":[24],"m":"clc"},{"a":33489,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":33491,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":33493,"t":"code","b":[144,1],"m":"bcc","oa":33496,"o":"b_82D8"},{"a":33495,"t":"code","b":[232],"m":"inx"},{"a":33496,"l":"b_82D8","t":"code","b":[24],"m":"clc","x":[33493]},{"a":33497,"t":"code","b":[105,80],"m":"adc","o":"#$50"},{"a":33499,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":33501,"t":"code","b":[138],"m":"txa"},{"a":33502,"t":"code","b":[105,92],"m":"adc","o":"#$5C"},{"a":33504,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":33506,"t":"code","b":[96],"m":"rts"},{"a":33507,"l":"random","c":"The random-number generator: a 16-bit shift register in $EB/$EC (feedback from bits 0 and 2 of $EB), and the result is $EB exclusive-ORed with the current raster line, so the timing of the call adds to the randomness.","t":"code","b":[165,235],"m":"lda","oa":235,"o":"random_lo","x":[29510,30441,30444,30732,30735,32414,32429,32441,32501,32514,32614,33816,33833,33855,33968,36782,36933,38862,38881,38891,42819,42827,42897,42936,43297,43967,45235,45261,45311,45460,45516,45536,45568,45732,45770,45788,45806,45824,45930,45999,46032,46066]},{"a":33509,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":33510,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":33511,"t":"code","b":[229,235],"m":"sbc","oa":235,"o":"random_lo"},{"a":33513,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":33514,"t":"code","b":[38,236],"m":"rol","oa":236,"o":"random_hi"},{"a":33516,"t":"code","b":[102,235],"m":"ror","oa":235,"o":"random_lo"},{"a":33518,"t":"code","b":[165,235],"m":"lda","oa":235,"o":"random_lo"},{"a":33520,"t":"code","b":[77,18,208],"m":"eor","o":"vic_raster"},{"a":33523,"t":"code","b":[96],"m":"rts"},{"a":33524,"l":"irq","c":"The raster interrupt. In the shaft view ($1A = 0) there are two a frame. At line $AA, where the pocket computer begins: next interrupt at $FF, the panel's colours ($D021 = 0, $D022 = $0E, $D023 = 6) and character set $5800 ($D018 = $06). At line $FF: next interrupt at $AA, the shaft's colours ($D021 = $0C, $D022/$D023 from $21/$22) and character set $4800, and the count-down of $A4 that gates off voices 2 and 3. In a room ($1A set) there is one a frame, at line $FF, which re-arms itself and leaves the room's colours and character set alone; it runs the ball, the robots and the hit test from the interrupt ($9504, $8ECC, $92CB, saving zero page $79-$7D). Every frame: the tick $E0 and $3E, the game clock ($83A2) and the noise and protection check ($84FA). Measured: 120 entries in 120 frames in a room.","t":"code","b":[72],"m":"pha"},{"a":33525,"t":"code","b":[216],"m":"cld"},{"a":33526,"t":"code","b":[173,25,208],"m":"lda","o":"vic_irq_status"},{"a":33529,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":33532,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":33535,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":33537,"t":"code","b":[144,116],"m":"bcc","oa":33655,"o":"b_8377"},{"a":33539,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room"},{"a":33541,"t":"code","b":[208,48],"m":"bne","oa":33591,"o":"b_8337"},{"a":33543,"t":"code","b":[169,170],"m":"lda","o":"#$AA"},{"a":33545,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":33548,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":33550,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":33553,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"colour_a"},{"a":33555,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":33558,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"colour_b"},{"a":33560,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":33563,"t":"code","b":[173,24,208],"m":"lda","o":"vic_memory"},{"a":33566,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":33568,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":33570,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":33573,"t":"code","b":[165,164],"m":"lda","oa":164,"o":"sound_timer"},{"a":33575,"t":"code","b":[240,66],"m":"beq","oa":33643,"o":"b_836B"},{"a":33577,"t":"code","b":[198,164],"m":"dec","oa":164,"o":"sound_timer"},{"a":33579,"t":"code","b":[208,62],"m":"bne","oa":33643,"o":"b_836B"},{"a":33581,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":33583,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":33586,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":33589,"t":"code","b":[16,52],"m":"bpl","oa":33643,"o":"b_836B"},{"a":33591,"l":"b_8337","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[33541]},{"a":33593,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":33596,"t":"code","b":[152],"m":"tya"},{"a":33597,"t":"code","b":[72],"m":"pha"},{"a":33598,"t":"code","b":[138],"m":"txa"},{"a":33599,"t":"code","b":[72],"m":"pha"},{"a":33600,"t":"code","b":[165,124],"m":"lda","oa":124,"o":"cell_ptr"},{"a":33602,"t":"code","b":[72],"m":"pha"},{"a":33603,"t":"code","b":[165,125],"m":"lda","oa":125,"o":"cell_ptr_hi"},{"a":33605,"t":"code","b":[72],"m":"pha"},{"a":33606,"t":"code","b":[165,122],"m":"lda","oa":122,"o":"cell_row"},{"a":33608,"t":"code","b":[72],"m":"pha"},{"a":33609,"t":"code","b":[165,123],"m":"lda","oa":123,"o":"cell_row_hi"},{"a":33611,"t":"code","b":[72],"m":"pha"},{"a":33612,"t":"code","b":[165,121],"m":"lda","oa":121,"o":"bit9_tmp"},{"a":33614,"t":"code","b":[72],"m":"pha"},{"a":33615,"t":"code","b":[32,4,149],"m":"jsr","oa":38148,"o":"agent_hit_check"},{"a":33618,"t":"code","b":[32,204,142],"m":"jsr","oa":36556,"o":"robots_run"},{"a":33621,"t":"code","b":[32,203,146],"m":"jsr","oa":37579,"o":"ball_run"},{"a":33624,"t":"code","b":[104],"m":"pla"},{"a":33625,"t":"code","b":[133,121],"m":"sta","oa":121,"o":"bit9_tmp"},{"a":33627,"t":"code","b":[104],"m":"pla"},{"a":33628,"t":"code","b":[133,123],"m":"sta","oa":123,"o":"cell_row_hi"},{"a":33630,"t":"code","b":[104],"m":"pla"},{"a":33631,"t":"code","b":[133,122],"m":"sta","oa":122,"o":"cell_row"},{"a":33633,"t":"code","b":[104],"m":"pla"},{"a":33634,"t":"code","b":[133,125],"m":"sta","oa":125,"o":"cell_ptr_hi"},{"a":33636,"t":"code","b":[104],"m":"pla"},{"a":33637,"t":"code","b":[133,124],"m":"sta","oa":124,"o":"cell_ptr"},{"a":33639,"t":"code","b":[104],"m":"pla"},{"a":33640,"t":"code","b":[170],"m":"tax"},{"a":33641,"t":"code","b":[104],"m":"pla"},{"a":33642,"t":"code","b":[168],"m":"tay"},{"a":33643,"l":"b_836B","t":"code","b":[230,224],"m":"inc","oa":224,"o":"tick","x":[33575,33579,33589]},{"a":33645,"t":"code","b":[230,62],"m":"inc","oa":62,"o":"agent_timer"},{"a":33647,"t":"code","b":[32,162,131],"m":"jsr","oa":33698,"o":"game_clock"},{"a":33650,"t":"code","b":[32,250,132],"m":"jsr","oa":34042,"o":"irq_tick_extras"},{"a":33653,"t":"code","b":[104],"m":"pla"},{"a":33654,"t":"code","b":[64],"m":"rti"},{"a":33655,"l":"b_8377","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[33537]},{"a":33657,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":33660,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room"},{"a":33662,"t":"code","b":[208,20],"m":"bne","oa":33684,"o":"b_8394"},{"a":33664,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":33666,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":33669,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":33671,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":33674,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33676,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":33679,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":33681,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":33684,"l":"b_8394","t":"code","b":[104],"m":"pla","x":[33662]},{"a":33685,"t":"code","b":[64],"m":"rti"},{"a":33686,"l":"irq_trampoline","c":"An interrupt handler that acknowledges the video chip and calls the routine whose address has been written into zero page $FC-$FE (`jsr $00FC`); installed briefly by the start-up and by $BEC2's callers.","t":"code","b":[72],"m":"pha"},{"a":33687,"t":"code","b":[173,25,208],"m":"lda","o":"vic_irq_status"},{"a":33690,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":33693,"t":"code","b":[32,252,0],"m":"jsr","oa":252,"o":"irq_tick_only"},{"a":33696,"t":"code","b":[104],"m":"pla"},{"a":33697,"t":"code","b":[64],"m":"rti"},{"a":33698,"l":"game_clock","c":"Advances the game clock once a tick unless it is suspended ($D5) or already at six o'clock ($D4 = 6): $D1 counts 60 ticks, then the seconds $D2, minutes $D3 and hours $D4 (12-hour, 1-12) in decimal; $C1 counts the hours. At six o'clock $43 = $FF: time is up. The clock counts 60 ticks to the second, the NTSC frame rate. Live: 600 frames moved the clock on 10 seconds; the clock stood still with $D5 = 1.","t":"code","b":[165,213],"m":"lda","oa":213,"o":"clock_stopped","x":[33647]},{"a":33700,"t":"code","b":[240,1],"m":"beq","oa":33703,"o":"b_83A7"},{"a":33702,"t":"code","b":[96],"m":"rts"},{"a":33703,"l":"b_83A7","t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours","x":[33700]},{"a":33705,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":33707,"t":"code","b":[208,1],"m":"bne","oa":33710,"o":"b_83AE"},{"a":33709,"t":"code","b":[96],"m":"rts"},{"a":33710,"l":"b_83AE","t":"code","b":[230,209],"m":"inc","oa":209,"o":"clock_ticks","x":[33707]},{"a":33712,"t":"code","b":[165,209],"m":"lda","oa":209,"o":"clock_ticks"},{"a":33714,"t":"code","b":[201,60],"m":"cmp","o":"#$3C"},{"a":33716,"t":"code","b":[208,50],"m":"bne","oa":33768,"o":"b_83E8"},{"a":33718,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33720,"t":"code","b":[133,209],"m":"sta","oa":209,"o":"clock_ticks"},{"a":33722,"t":"code","b":[248],"m":"sed"},{"a":33723,"t":"code","b":[165,210],"m":"lda","oa":210,"o":"clock_seconds"},{"a":33725,"t":"code","b":[24],"m":"clc"},{"a":33726,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":33728,"t":"code","b":[133,210],"m":"sta","oa":210,"o":"clock_seconds"},{"a":33730,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":33732,"t":"code","b":[144,34],"m":"bcc","oa":33768,"o":"b_83E8"},{"a":33734,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33736,"t":"code","b":[133,210],"m":"sta","oa":210,"o":"clock_seconds"},{"a":33738,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":33740,"l":"add_minutes","c":"Entry of game_clock that adds A minutes (decimal) to the clock; the caller sets decimal mode and masks interrupts. Used for the time a phone call costs (2 minutes) and other penalties.","t":"code","b":[24],"m":"clc","x":[32161,32234,38652]},{"a":33741,"t":"code","b":[101,211],"m":"adc","oa":211,"o":"clock_minutes"},{"a":33743,"t":"code","b":[133,211],"m":"sta","oa":211,"o":"clock_minutes"},{"a":33745,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":33747,"t":"code","b":[144,19],"m":"bcc","oa":33768,"o":"b_83E8"},{"a":33749,"t":"code","b":[233,96],"m":"sbc","o":"#$60"},{"a":33751,"t":"code","b":[133,211],"m":"sta","oa":211,"o":"clock_minutes"},{"a":33753,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours"},{"a":33755,"t":"code","b":[24],"m":"clc"},{"a":33756,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":33758,"t":"code","b":[201,19],"m":"cmp","o":"#$13"},{"a":33760,"t":"code","b":[144,2],"m":"bcc","oa":33764,"o":"b_83E4"},{"a":33762,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":33764,"l":"b_83E4","t":"code","b":[133,212],"m":"sta","oa":212,"o":"clock_hours","x":[33760]},{"a":33766,"t":"code","b":[230,193],"m":"inc","oa":193,"o":"hours_passed"},{"a":33768,"l":"b_83E8","t":"code","b":[216],"m":"cld","x":[33716,33732,33747]},{"a":33769,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours"},{"a":33771,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":33773,"t":"code","b":[208,4],"m":"bne","oa":33779,"o":"r_83F3"},{"a":33775,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":33777,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"death"},{"a":33779,"l":"r_83F3","t":"code","b":[96],"m":"rts","x":[33773]},{"a":33780,"l":"wait_tick_or_end","c":"Waits one tick and returns, unless time is up ($43 negative): then the end of the mission when time runs out. The screen shakes (random fine scroll) and flickers for 128 passes with the border white, goes blank, is cleared to a dark screen, the play area dissolves cell by cell into blanks, and the game goes to its end ($B786).","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[14799,15023]},{"a":33783,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":33785,"t":"code","b":[48,1],"m":"bmi","oa":33788,"o":"b_83FC"},{"a":33787,"t":"code","b":[96],"m":"rts"},{"a":33788,"l":"b_83FC","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[33785,38376]},{"a":33791,"t":"code","b":[120],"m":"sei"},{"a":33792,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room"},{"a":33794,"t":"code","b":[208,8],"m":"bne","oa":33804,"o":"b_840C"},{"a":33796,"t":"code","b":[169,143],"m":"lda","o":"#$8F"},{"a":33798,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":33801,"t":"code","b":[32,28,115],"m":"jsr","oa":29468,"o":"draw_rock"},{"a":33804,"l":"b_840C","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[33794]},{"a":33806,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":33809,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":33811,"t":"code","b":[32,217,190],"m":"jsr","oa":48857,"o":"say_line"},{"a":33814,"t":"code","b":[162,127],"m":"ldx","o":"#$7F"},{"a":33816,"l":"b_8418","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[33882]},{"a":33819,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":33821,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":33823,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":33826,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":33828,"t":"code","b":[5,228],"m":"ora","oa":228,"o":"tmp1"},{"a":33830,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":33833,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":33836,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":33838,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":33840,"t":"code","b":[173,22,208],"m":"lda","o":"vic_control2"},{"a":33843,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":33845,"t":"code","b":[5,228],"m":"ora","oa":228,"o":"tmp1"},{"a":33847,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":33850,"t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay"},{"a":33853,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":33855,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":33858,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":33860,"t":"code","b":[197,228],"m":"cmp","oa":228,"o":"tmp1"},{"a":33862,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":33865,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":33867,"t":"code","b":[176,2],"m":"bcs","oa":33871,"o":"b_844F"},{"a":33869,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":33871,"l":"b_844F","t":"code","b":[141,17,208],"m":"sta","o":"vic_control1","x":[33867]},{"a":33874,"l":"b_8452","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[33879]},{"a":33877,"t":"code","b":[201,250],"m":"cmp","o":"#$FA"},{"a":33879,"t":"code","b":[144,249],"m":"bcc","oa":33874,"o":"b_8452"},{"a":33881,"t":"code","b":[202],"m":"dex"},{"a":33882,"t":"code","b":[16,188],"m":"bpl","oa":33816,"o":"b_8418"},{"a":33884,"t":"code","b":[120],"m":"sei"},{"a":33885,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":33888,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":33891,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":33893,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":33896,"t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay"},{"a":33899,"t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay"},{"a":33902,"l":"b_846E","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[33907]},{"a":33905,"t":"code","b":[201,250],"m":"cmp","o":"#$FA"},{"a":33907,"t":"code","b":[144,249],"m":"bcc","oa":33902,"o":"b_846E"},{"a":33909,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":33912,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":33914,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":33917,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33919,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":33922,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":33924,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":33927,"t":"code","b":[169,82],"m":"lda","o":"#$52"},{"a":33929,"t":"code","b":[32,212,132],"m":"jsr","oa":34004,"o":"fill_screen"},{"a":33932,"t":"code","b":[32,230,132],"m":"jsr","oa":34022,"o":"fill_colour_ram"},{"a":33935,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33937,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":33940,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":33943,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":33946,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":33948,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":33951,"t":"code","b":[162,127],"m":"ldx","o":"#$7F"},{"a":33953,"l":"b_84A1","t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay","x":[33989]},{"a":33956,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":33958,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":33960,"l":"b_84A8","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[33986]},{"a":33962,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":33964,"t":"code","b":[169,67],"m":"lda","o":"#$43"},{"a":33966,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":33968,"l":"b_84B0","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[33982]},{"a":33971,"t":"code","b":[168],"m":"tay"},{"a":33972,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":33974,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":33976,"t":"code","b":[198,25],"m":"dec","oa":25,"o":"ptr_data_hi"},{"a":33978,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":33980,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":33982,"t":"code","b":[176,240],"m":"bcs","oa":33968,"o":"b_84B0"},{"a":33984,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":33986,"t":"code","b":[16,228],"m":"bpl","oa":33960,"o":"b_84A8"},{"a":33988,"t":"code","b":[202],"m":"dex"},{"a":33989,"t":"code","b":[16,218],"m":"bpl","oa":33953,"o":"b_84A1"},{"a":33991,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":33993,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":33996,"t":"code","b":[32,210,132],"m":"jsr","oa":34002,"o":"clear_screen"},{"a":33999,"t":"code","b":[76,134,183],"m":"jmp","oa":46982,"o":"end_of_game"},{"a":34002,"l":"clear_screen","c":"Fills the screen matrix $4000-$43FF with the blank glyph $53 (entered at $84D4 with another glyph in A).","t":"code","b":[169,83],"m":"lda","o":"#$53","x":[33996,46999]},{"a":34004,"l":"fill_screen","c":"Entry of clear_screen that fills the screen matrix with the glyph in A.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[33929]},{"a":34006,"l":"b_84D6","t":"code","b":[157,0,64],"m":"sta","oa":16384,"o":"f_4000,x","x":[34019]},{"a":34009,"t":"code","b":[157,0,65],"m":"sta","oa":16640,"o":"f_4100,x"},{"a":34012,"t":"code","b":[157,0,66],"m":"sta","oa":16896,"o":"f_4200,x"},{"a":34015,"t":"code","b":[157,0,67],"m":"sta","oa":17152,"o":"f_4300,x"},{"a":34018,"t":"code","b":[232],"m":"inx"},{"a":34019,"t":"code","b":[208,241],"m":"bne","oa":34006,"o":"b_84D6"},{"a":34021,"t":"code","b":[96],"m":"rts"},{"a":34022,"l":"fill_colour_ram","c":"Fills colour RAM $D800-$DBFF with colour 9.","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[33932,47002]},{"a":34024,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":34026,"l":"b_84EA","t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x","x":[34039]},{"a":34029,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":34032,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":34035,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":34038,"t":"code","b":[232],"m":"inx"},{"a":34039,"t":"code","b":[208,241],"m":"bne","oa":34026,"o":"b_84EA"},{"a":34041,"t":"code","b":[96],"m":"rts"},{"a":34042,"l":"irq_tick_extras","c":"Called by the interrupt every frame: rotates the noise byte $E1; checks that $D024 (extra background colour 3) still holds $0A, the value the loader's last stage wrote at $B0AE, and if not jumps to $799A, the middle of an instruction where the byte $02 jams the processor: a protection check. Otherwise steps a second shift-register random source in $E3. Live: with $D024 set to 0 the processor jammed at $799A within 30 frames; the control run played on.","t":"code","b":[70,225],"m":"lsr","oa":225,"o":"noise","x":[33650,43985]},{"a":34044,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"noise"},{"a":34046,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":34048,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34049,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34050,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":34052,"t":"code","b":[5,225],"m":"ora","oa":225,"o":"noise"},{"a":34054,"t":"code","b":[133,225],"m":"sta","oa":225,"o":"noise"},{"a":34056,"t":"code","b":[173,36,208],"m":"lda","o":"vic_background3"},{"a":34059,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":34061,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":34063,"t":"code","b":[240,3],"m":"beq","oa":34068,"o":"b_8514"},{"a":34065,"t":"code","b":[76,154,121],"m":"jmp","oa":31130,"o":"j_799A"},{"a":34068,"l":"b_8514","t":"code","b":[165,227],"m":"lda","oa":227,"o":"random2","x":[34063]},{"a":34070,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34071,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34072,"t":"code","b":[69,227],"m":"eor","oa":227,"o":"random2"},{"a":34074,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34075,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34077,"t":"code","b":[106],"m":"ror","o":"a"},{"a":34078,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34079,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34080,"t":"code","b":[5,227],"m":"ora","oa":227,"o":"random2"},{"a":34082,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34083,"t":"code","b":[133,227],"m":"sta","oa":227,"o":"random2"},{"a":34085,"t":"code","b":[96],"m":"rts"},{"a":34086,"l":"draw_clock","c":"Draws the game clock on the pocket computer's status line: seconds, minutes and hours as two digits each ($8547) at $43AC + 6/3/0, with a blank instead of a leading zero in the hours.","t":"code","b":[165,210],"m":"lda","oa":210,"o":"clock_seconds","x":[15033]},{"a":34088,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":34090,"t":"code","b":[32,71,133],"m":"jsr","oa":34119,"o":"draw_bcd"},{"a":34093,"t":"code","b":[165,211],"m":"lda","oa":211,"o":"clock_minutes"},{"a":34095,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":34097,"t":"code","b":[32,71,133],"m":"jsr","oa":34119,"o":"draw_bcd"},{"a":34100,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours"},{"a":34102,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":34104,"t":"code","b":[32,71,133],"m":"jsr","oa":34119,"o":"draw_bcd"},{"a":34107,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours"},{"a":34109,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":34111,"t":"code","b":[208,5],"m":"bne","oa":34118,"o":"r_8546"},{"a":34113,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":34115,"t":"code","b":[141,172,67],"m":"sta","oa":17324,"o":"a_43AC"},{"a":34118,"l":"r_8546","t":"code","b":[96],"m":"rts","x":[34111]},{"a":34119,"l":"draw_bcd","c":"Writes the decimal byte A as two digits of the $5800 alphabet ($80 + digit) at $43AC,y and $43AD,y.","t":"code","b":[72],"m":"pha","x":[34090,34097,34104]},{"a":34120,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":34122,"t":"code","b":[24],"m":"clc"},{"a":34123,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":34125,"t":"code","b":[153,173,67],"m":"sta","oa":17325,"o":"f_43AD,y"},{"a":34128,"t":"code","b":[104],"m":"pla"},{"a":34129,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34130,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34131,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34132,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34133,"t":"code","b":[24],"m":"clc"},{"a":34134,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":34136,"t":"code","b":[153,172,67],"m":"sta","oa":17324,"o":"a_43AC,y"},{"a":34139,"t":"code","b":[96],"m":"rts"},{"a":34140,"l":"lift_down","c":"Moves the lift down one step, unless the corridor below is in view ($1D): waits for raster line $A3, steps the shaft animation counters back, scrolls the shaft view down ($74C0), colours the corridors ($75A5), draws the new row ($7749), makes the lift's sound ($85B5) and waits until two ticks have passed.","t":"code","b":[165,29],"m":"lda","oa":29,"o":"corridor_below","x":[14949,34149]},{"a":34142,"t":"code","b":[208,49],"m":"bne","oa":34193,"o":"r_8591"},{"a":34144,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":34147,"t":"code","b":[201,163],"m":"cmp","o":"#$A3"},{"a":34149,"t":"code","b":[208,245],"m":"bne","oa":34140,"o":"lift_down"},{"a":34151,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":34153,"t":"code","b":[72],"m":"pha"},{"a":34154,"t":"code","b":[198,28],"m":"dec","oa":28,"o":"shaft_step_count"},{"a":34156,"t":"code","b":[16,6],"m":"bpl","oa":34164,"o":"b_8574"},{"a":34158,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":34160,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"shaft_step_count"},{"a":34162,"t":"code","b":[198,40],"m":"dec","oa":40,"o":"marker_y"},{"a":34164,"l":"b_8574","t":"code","b":[166,27],"m":"ldx","oa":27,"o":"shaft_phase","x":[34156]},{"a":34166,"t":"code","b":[202],"m":"dex"},{"a":34167,"t":"code","b":[16,2],"m":"bpl","oa":34171,"o":"b_857B"},{"a":34169,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":34171,"l":"b_857B","t":"code","b":[134,27],"m":"stx","oa":27,"o":"shaft_phase","x":[34167]},{"a":34173,"t":"code","b":[32,192,116],"m":"jsr","oa":29888,"o":"scroll_shaft_down"},{"a":34176,"t":"code","b":[32,165,117],"m":"jsr","oa":30117,"o":"colour_corridors"},{"a":34179,"t":"code","b":[32,73,119],"m":"jsr","oa":30537,"o":"shaft_new_row_bottom"},{"a":34182,"t":"code","b":[32,181,133],"m":"jsr","oa":34229,"o":"lift_sound"},{"a":34185,"t":"code","b":[104],"m":"pla"},{"a":34186,"t":"code","b":[24],"m":"clc"},{"a":34187,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":34189,"l":"b_858D","t":"code","b":[197,224],"m":"cmp","oa":224,"o":"tick","x":[34191]},{"a":34191,"t":"code","b":[208,252],"m":"bne","oa":34189,"o":"b_858D"},{"a":34193,"l":"r_8591","t":"code","b":[96],"m":"rts","x":[34142]},{"a":34194,"l":"lift_up","c":"Moves the lift up one step, unless the corridor above is in view ($1E): waits for raster line $3B, scrolls the shaft view up ($744B), draws the new row ($7631), sound ($85B5), steps the counters ($73CA), waits two ticks.","t":"code","b":[165,30],"m":"lda","oa":30,"o":"corridor_above","x":[14917,34203]},{"a":34196,"t":"code","b":[208,30],"m":"bne","oa":34228,"o":"r_85B4"},{"a":34198,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":34201,"t":"code","b":[201,59],"m":"cmp","o":"#$3B"},{"a":34203,"t":"code","b":[208,245],"m":"bne","oa":34194,"o":"lift_up"},{"a":34205,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":34207,"t":"code","b":[72],"m":"pha"},{"a":34208,"t":"code","b":[32,75,116],"m":"jsr","oa":29771,"o":"scroll_shaft_up"},{"a":34211,"t":"code","b":[32,49,118],"m":"jsr","oa":30257,"o":"shaft_new_row_top"},{"a":34214,"t":"code","b":[32,181,133],"m":"jsr","oa":34229,"o":"lift_sound"},{"a":34217,"t":"code","b":[32,202,115],"m":"jsr","oa":29642,"o":"shaft_step"},{"a":34220,"t":"code","b":[104],"m":"pla"},{"a":34221,"t":"code","b":[24],"m":"clc"},{"a":34222,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":34224,"l":"b_85B0","t":"code","b":[197,224],"m":"cmp","oa":224,"o":"tick","x":[34226]},{"a":34226,"t":"code","b":[208,252],"m":"bne","oa":34224,"o":"b_85B0"},{"a":34228,"l":"r_85B4","t":"code","b":[96],"m":"rts","x":[34196]},{"a":34229,"l":"lift_sound","c":"The lift's hum: raises the pitches $25 (by 4, up to $20) and $26 (by 3, up to $18), mixes them with the noise byte $E1 into the frequencies of voices 1 and 2, sustain $8F, sawtooth on voice 1 and noise on voice 2. The lift loop fades $25/$26 again when the lift stops.","t":"code","b":[165,37],"m":"lda","oa":37,"o":"lift_pitch1","x":[34182,34214]},{"a":34231,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":34233,"t":"code","b":[176,4],"m":"bcs","oa":34239,"o":"b_85BF"},{"a":34235,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":34237,"t":"code","b":[133,37],"m":"sta","oa":37,"o":"lift_pitch1"},{"a":34239,"l":"b_85BF","t":"code","b":[165,38],"m":"lda","oa":38,"o":"lift_pitch2","x":[34233]},{"a":34241,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":34243,"t":"code","b":[176,4],"m":"bcs","oa":34249,"o":"b_85C9"},{"a":34245,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":34247,"t":"code","b":[133,38],"m":"sta","oa":38,"o":"lift_pitch2"},{"a":34249,"l":"b_85C9","t":"code","b":[165,225],"m":"lda","oa":225,"o":"noise","x":[34243]},{"a":34251,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34252,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34253,"t":"code","b":[72],"m":"pha"},{"a":34254,"t":"code","b":[69,37],"m":"eor","oa":37,"o":"lift_pitch1"},{"a":34256,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":34259,"t":"code","b":[104],"m":"pla"},{"a":34260,"t":"code","b":[69,38],"m":"eor","oa":38,"o":"lift_pitch2"},{"a":34262,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":34265,"t":"code","b":[165,225],"m":"lda","oa":225,"o":"noise"},{"a":34267,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34268,"t":"code","b":[106],"m":"ror","o":"a"},{"a":34269,"t":"code","b":[106],"m":"ror","o":"a"},{"a":34270,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":34273,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":34276,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34278,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":34281,"t":"code","b":[141,12,212],"m":"sta","o":"sid_v2_attack_decay"},{"a":34284,"t":"code","b":[169,143],"m":"lda","o":"#$8F"},{"a":34286,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":34289,"t":"code","b":[141,13,212],"m":"sta","o":"sid_v2_sustain_release"},{"a":34292,"t":"code","b":[169,33],"m":"lda","o":"#$21"},{"a":34294,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":34297,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":34299,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":34302,"t":"code","b":[96],"m":"rts"},{"a":34303,"l":"wait_below_sprite3","c":"Waits until the raster is past sprite 3's Y + $15, the bottom of sprite 3.","t":"code","b":[173,7,208],"m":"lda","o":"vic_sprite3_y","x":[34323]},{"a":34306,"t":"code","b":[24],"m":"clc"},{"a":34307,"t":"code","b":[105,21],"m":"adc","o":"#$15"},{"a":34309,"l":"b_8605","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[34312]},{"a":34312,"t":"code","b":[176,251],"m":"bcs","oa":34309,"o":"b_8605"},{"a":34314,"t":"code","b":[96],"m":"rts"},{"a":34315,"l":"agent_update","c":"Moves the agent one step, called by the lift and room loops. With $43 set (dying, or time up) it runs the death sequence ($95E4). Waits until the raster is below sprite 3. If the agent is falling ($41 non-zero) it moves him down by $41/8 + 2 lines (at most 8), turns the fall into a landing when the feet meet solid ground (glyphs $47/$48, $8CC5) and, when the feet pass line $F8 (the agent has fallen out of the bottom of the room), keeps him falling until his top passes $F6 and sets $43 = 2: death by falling. Otherwise it waits for its turn ($3E against the speed $40), reads the stick ($87ED), steps the animation ($8817, $8859), keeps the agent out of the lift doors ($88F9), handles leaving the room ($8B6E), checks the robots and objects ($8E61, $9504), and sets the sprites for the new frame ($87D5, $8729).","t":"code","b":[165,67],"m":"lda","oa":67,"o":"death","x":[14896,29320]},{"a":34317,"t":"code","b":[240,4],"m":"beq","oa":34323,"o":"b_8613"},{"a":34319,"t":"code","b":[32,228,149],"m":"jsr","oa":38372,"o":"agent_death"},{"a":34322,"t":"code","b":[96],"m":"rts"},{"a":34323,"l":"b_8613","t":"code","b":[32,255,133],"m":"jsr","oa":34303,"o":"wait_below_sprite3","x":[34317]},{"a":34326,"t":"code","b":[165,65],"m":"lda","oa":65,"o":"falling"},{"a":34328,"t":"code","b":[208,3],"m":"bne","oa":34333,"o":"b_861D"},{"a":34330,"t":"code","b":[76,240,134],"m":"jmp","oa":34544,"o":"j_86F0"},{"a":34333,"l":"b_861D","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[34328]},{"a":34335,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":34338,"t":"code","b":[165,65],"m":"lda","oa":65,"o":"falling"},{"a":34340,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34341,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34342,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34343,"t":"code","b":[168],"m":"tay"},{"a":34344,"t":"code","b":[200],"m":"iny"},{"a":34345,"t":"code","b":[200],"m":"iny"},{"a":34346,"t":"code","b":[192,9],"m":"cpy","o":"#$09"},{"a":34348,"t":"code","b":[144,2],"m":"bcc","oa":34352,"o":"b_8630"},{"a":34350,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":34352,"l":"b_8630","t":"code","b":[32,97,139],"m":"jsr","oa":35681,"o":"agent_shift_down","x":[34348]},{"a":34355,"t":"code","b":[165,66],"m":"lda","oa":66,"o":"landed"},{"a":34357,"t":"code","b":[208,101],"m":"bne","oa":34460,"o":"b_869C"},{"a":34359,"t":"code","b":[36,80],"m":"bit","oa":80,"o":"facing"},{"a":34361,"t":"code","b":[48,6],"m":"bmi","oa":34369,"o":"b_8641"},{"a":34363,"t":"code","b":[32,35,142],"m":"jsr","oa":36387,"o":"agent_step_right"},{"a":34366,"t":"code","b":[76,68,134],"m":"jmp","oa":34372,"o":"j_8644"},{"a":34369,"l":"b_8641","t":"code","b":[32,65,142],"m":"jsr","oa":36417,"o":"agent_step_left","x":[34361]},{"a":34372,"l":"j_8644","t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom","x":[34366]},{"a":34375,"t":"code","b":[56],"m":"sec"},{"a":34376,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":34378,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":34380,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":34383,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":34385,"t":"code","b":[176,5],"m":"bcs","oa":34392,"o":"b_8658"},{"a":34387,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":34389,"t":"code","b":[144,15],"m":"bcc","oa":34406,"o":"b_8666"},{"a":34391,"t":"code","b":[24],"m":"clc"},{"a":34392,"l":"b_8658","t":"code","b":[170],"m":"tax","x":[34385]},{"a":34393,"t":"code","b":[164,230],"m":"ldy","oa":230,"o":"tmp3"},{"a":34395,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":34398,"t":"code","b":[201,71],"m":"cmp","o":"#$47"},{"a":34400,"t":"code","b":[240,4],"m":"beq","oa":34406,"o":"b_8666"},{"a":34402,"t":"code","b":[201,72],"m":"cmp","o":"#$48"},{"a":34404,"t":"code","b":[208,19],"m":"bne","oa":34425,"o":"b_8679"},{"a":34406,"l":"b_8666","t":"code","b":[165,231],"m":"lda","oa":231,"o":"tmp4","x":[34389,34400]},{"a":34408,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":34410,"t":"code","b":[24],"m":"clc"},{"a":34411,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":34413,"t":"code","b":[56],"m":"sec"},{"a":34414,"t":"code","b":[229,231],"m":"sbc","oa":231,"o":"tmp4"},{"a":34416,"t":"code","b":[168],"m":"tay"},{"a":34417,"t":"code","b":[32,35,139],"m":"jsr","oa":35619,"o":"agent_shift_right"},{"a":34420,"t":"code","b":[230,66],"m":"inc","oa":66,"o":"landed"},{"a":34422,"t":"code","b":[76,156,134],"m":"jmp","oa":34460,"o":"b_869C"},{"a":34425,"l":"b_8679","t":"code","b":[32,151,140],"m":"jsr","oa":35991,"o":"agent_right","x":[34404]},{"a":34428,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":34430,"t":"code","b":[170],"m":"tax"},{"a":34431,"t":"code","b":[164,230],"m":"ldy","oa":230,"o":"tmp3"},{"a":34433,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":34436,"t":"code","b":[144,22],"m":"bcc","oa":34460,"o":"b_869C"},{"a":34438,"t":"code","b":[201,71],"m":"cmp","o":"#$47"},{"a":34440,"t":"code","b":[240,4],"m":"beq","oa":34446,"o":"b_868E"},{"a":34442,"t":"code","b":[201,72],"m":"cmp","o":"#$48"},{"a":34444,"t":"code","b":[208,14],"m":"bne","oa":34460,"o":"b_869C"},{"a":34446,"l":"b_868E","t":"code","b":[165,231],"m":"lda","oa":231,"o":"tmp4","x":[34440]},{"a":34448,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":34450,"t":"code","b":[24],"m":"clc"},{"a":34451,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":34453,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":34455,"t":"code","b":[32,241,138],"m":"jsr","oa":35569,"o":"agent_shift_left"},{"a":34458,"t":"code","b":[230,66],"m":"inc","oa":66,"o":"landed"},{"a":34460,"l":"b_869C","t":"code","b":[32,61,174],"m":"jsr","oa":44605,"o":"check_ground_now","x":[34357,34422,34436,34444]},{"a":34463,"t":"code","b":[165,65],"m":"lda","oa":65,"o":"falling"},{"a":34465,"t":"code","b":[240,11],"m":"beq","oa":34478,"o":"b_86AE"},{"a":34467,"t":"code","b":[32,213,135],"m":"jsr","oa":34773,"o":"agent_sprites_out"},{"a":34470,"t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom"},{"a":34473,"t":"code","b":[201,248],"m":"cmp","o":"#$F8"},{"a":34475,"t":"code","b":[176,28],"m":"bcs","oa":34505,"o":"b_86C9"},{"a":34477,"t":"code","b":[96],"m":"rts"},{"a":34478,"l":"b_86AE","t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom","x":[34465]},{"a":34481,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":34483,"t":"code","b":[56],"m":"sec"},{"a":34484,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":34486,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":34488,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":34490,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":34492,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":34494,"t":"code","b":[56],"m":"sec"},{"a":34495,"t":"code","b":[229,228],"m":"sbc","oa":228,"o":"tmp1"},{"a":34497,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":34499,"t":"code","b":[32,83,139],"m":"jsr","oa":35667,"o":"agent_shift_up"},{"a":34502,"t":"code","b":[76,213,135],"m":"jmp","oa":34773,"o":"agent_sprites_out"},{"a":34505,"l":"b_86C9","t":"code","b":[165,65],"m":"lda","oa":65,"o":"falling","x":[34475,34533]},{"a":34507,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34508,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34509,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34510,"t":"code","b":[168],"m":"tay"},{"a":34511,"t":"code","b":[200],"m":"iny"},{"a":34512,"t":"code","b":[200],"m":"iny"},{"a":34513,"t":"code","b":[192,9],"m":"cpy","o":"#$09"},{"a":34515,"t":"code","b":[144,2],"m":"bcc","oa":34519,"o":"b_86D7"},{"a":34517,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":34519,"l":"b_86D7","t":"code","b":[32,97,139],"m":"jsr","oa":35681,"o":"agent_shift_down","x":[34515]},{"a":34522,"t":"code","b":[32,213,135],"m":"jsr","oa":34773,"o":"agent_sprites_out"},{"a":34525,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":34528,"t":"code","b":[32,72,140],"m":"jsr","oa":35912,"o":"agent_top"},{"a":34531,"t":"code","b":[201,246],"m":"cmp","o":"#$F6"},{"a":34533,"t":"code","b":[144,226],"m":"bcc","oa":34505,"o":"b_86C9"},{"a":34535,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":34537,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"death"},{"a":34539,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34541,"t":"code","b":[133,65],"m":"sta","oa":65,"o":"falling"},{"a":34543,"t":"code","b":[96],"m":"rts"},{"a":34544,"l":"j_86F0","t":"code","b":[32,121,142],"m":"jsr","oa":36473,"o":"footstep_sound","x":[34330]},{"a":34547,"t":"code","b":[165,62],"m":"lda","oa":62,"o":"agent_timer"},{"a":34549,"t":"code","b":[197,64],"m":"cmp","oa":64,"o":"agent_speed"},{"a":34551,"t":"code","b":[176,1],"m":"bcs","oa":34554,"o":"b_86FA"},{"a":34553,"t":"code","b":[96],"m":"rts"},{"a":34554,"l":"b_86FA","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[34551]},{"a":34556,"t":"code","b":[133,62],"m":"sta","oa":62,"o":"agent_timer"},{"a":34558,"t":"code","b":[32,72,140],"m":"jsr","oa":35912,"o":"agent_top"},{"a":34561,"t":"code","b":[133,61],"m":"sta","oa":61,"o":"prev_top"},{"a":34563,"t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom"},{"a":34566,"t":"code","b":[56],"m":"sec"},{"a":34567,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":34569,"t":"code","b":[133,60],"m":"sta","oa":60,"o":"prev_bottom"},{"a":34571,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":34574,"t":"code","b":[106],"m":"ror","o":"a"},{"a":34575,"t":"code","b":[133,58],"m":"sta","oa":58,"o":"prev_left"},{"a":34577,"t":"code","b":[32,151,140],"m":"jsr","oa":35991,"o":"agent_right"},{"a":34580,"t":"code","b":[106],"m":"ror","o":"a"},{"a":34581,"t":"code","b":[133,59],"m":"sta","oa":59,"o":"prev_right"},{"a":34583,"t":"code","b":[32,237,135],"m":"jsr","oa":34797,"o":"agent_read_stick"},{"a":34586,"t":"code","b":[32,89,136],"m":"jsr","oa":34905,"o":"agent_move"},{"a":34589,"t":"code","b":[32,23,136],"m":"jsr","oa":34839,"o":"agent_animate"},{"a":34592,"t":"code","b":[32,249,136],"m":"jsr","oa":35065,"o":"agent_bounds"},{"a":34595,"t":"code","b":[32,110,139],"m":"jsr","oa":35694,"o":"agent_exit_check"},{"a":34598,"t":"code","b":[32,97,142],"m":"jsr","oa":36449,"o":"shaft_hide_sprite0"},{"a":34601,"l":"agent_frame","c":"Sets the agent's three sprites for animation frame $3F: pointers $43F9-$43FB from tbl_agent_pointers ($8D43), with sprite 2 switched off in the somersault frames $14-$19 and an extra pointer step for the walk frames 7-$0D. When the agent's facing ($50) differs from the way the frame is stored (byte 63 of the shape), mirrors the frame's three sprite shapes in place: every byte through the bit-reversal table $C500 and the three bytes of each row swapped, using the shape address from tbl_agent_shapes ($8D5F, written into the operands at $87AB-$87C4) and the length from $8D97. So each frame is stored once, facing one way.","t":"code","b":[32,4,149],"m":"jsr","oa":38148,"o":"agent_hit_check","x":[38977,41822]},{"a":34604,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":34606,"t":"code","b":[240,3],"m":"beq","oa":34611,"o":"b_8733"},{"a":34608,"t":"code","b":[76,228,149],"m":"jmp","oa":38372,"o":"agent_death"},{"a":34611,"l":"b_8733","t":"code","b":[32,213,135],"m":"jsr","oa":34773,"o":"agent_sprites_out","x":[34606]},{"a":34614,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":34617,"t":"code","b":[166,63],"m":"ldx","oa":63,"o":"agent_frame_no"},{"a":34619,"t":"code","b":[188,67,141],"m":"ldy","oa":36163,"o":"tbl_agent_pointers,x"},{"a":34622,"t":"code","b":[224,20],"m":"cpx","o":"#$14"},{"a":34624,"t":"code","b":[144,9],"m":"bcc","oa":34635,"o":"b_874B"},{"a":34626,"t":"code","b":[224,26],"m":"cpx","o":"#$1A"},{"a":34628,"t":"code","b":[176,5],"m":"bcs","oa":34635,"o":"b_874B"},{"a":34630,"t":"code","b":[41,251],"m":"and","o":"#$FB"},{"a":34632,"t":"code","b":[76,81,135],"m":"jmp","oa":34641,"o":"j_8751"},{"a":34635,"l":"b_874B","t":"code","b":[140,250,67],"m":"sty","oa":17402,"o":"a_43FA","x":[34624,34628]},{"a":34638,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":34640,"t":"code","b":[200],"m":"iny"},{"a":34641,"l":"j_8751","t":"code","b":[140,251,67],"m":"sty","oa":17403,"o":"a_43FB","x":[34632]},{"a":34644,"t":"code","b":[200],"m":"iny"},{"a":34645,"t":"code","b":[224,7],"m":"cpx","o":"#$07"},{"a":34647,"t":"code","b":[144,5],"m":"bcc","oa":34654,"o":"b_875E"},{"a":34649,"t":"code","b":[224,14],"m":"cpx","o":"#$0E"},{"a":34651,"t":"code","b":[176,1],"m":"bcs","oa":34654,"o":"b_875E"},{"a":34653,"t":"code","b":[200],"m":"iny"},{"a":34654,"l":"b_875E","t":"code","b":[140,249,67],"m":"sty","oa":17401,"o":"a_43F9","x":[34647,34651]},{"a":34657,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":34660,"t":"code","b":[138],"m":"txa"},{"a":34661,"t":"code","b":[10],"m":"asl","o":"a"},{"a":34662,"t":"code","b":[170],"m":"tax"},{"a":34663,"t":"code","b":[188,95,141],"m":"ldy","oa":36191,"o":"tbl_agent_shapes,x"},{"a":34666,"t":"code","b":[132,24],"m":"sty","oa":24,"o":"ptr_data"},{"a":34668,"t":"code","b":[140,171,135],"m":"sty","oa":34731,"o":"a_87AB"},{"a":34671,"t":"code","b":[140,186,135],"m":"sty","oa":34746,"o":"a_87BA"},{"a":34674,"t":"code","b":[200],"m":"iny"},{"a":34675,"t":"code","b":[140,189,135],"m":"sty","oa":34749,"o":"a_87BD"},{"a":34678,"t":"code","b":[140,195,135],"m":"sty","oa":34755,"o":"a_87C3"},{"a":34681,"t":"code","b":[200],"m":"iny"},{"a":34682,"t":"code","b":[140,177,135],"m":"sty","oa":34737,"o":"a_87B1"},{"a":34685,"t":"code","b":[140,180,135],"m":"sty","oa":34740,"o":"a_87B4"},{"a":34688,"t":"code","b":[188,96,141],"m":"ldy","oa":36192,"o":"f_8D60,x"},{"a":34691,"t":"code","b":[132,25],"m":"sty","oa":25,"o":"ptr_data_hi"},{"a":34693,"t":"code","b":[140,172,135],"m":"sty","oa":34732,"o":"a_87AC"},{"a":34696,"t":"code","b":[140,178,135],"m":"sty","oa":34738,"o":"a_87B2"},{"a":34699,"t":"code","b":[140,181,135],"m":"sty","oa":34741,"o":"a_87B5"},{"a":34702,"t":"code","b":[140,187,135],"m":"sty","oa":34747,"o":"a_87BB"},{"a":34705,"t":"code","b":[140,190,135],"m":"sty","oa":34750,"o":"a_87BE"},{"a":34708,"t":"code","b":[140,196,135],"m":"sty","oa":34756,"o":"a_87C4"},{"a":34711,"t":"code","b":[160,63],"m":"ldy","o":"#$3F"},{"a":34713,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":34715,"t":"code","b":[197,80],"m":"cmp","oa":80,"o":"facing"},{"a":34717,"t":"code","b":[240,53],"m":"beq","oa":34772,"o":"r_87D4"},{"a":34719,"t":"code","b":[170],"m":"tax"},{"a":34720,"t":"code","b":[189,0,197],"m":"lda","oa":50432,"o":"f_C500,x"},{"a":34723,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":34725,"t":"code","b":[166,63],"m":"ldx","oa":63,"o":"agent_frame_no"},{"a":34727,"t":"code","b":[188,151,141],"m":"ldy","oa":36247,"o":"tbl_agent_mirror_end,x"},{"a":34730,"l":"b_87AA","t":"code","b":[190,0,103],"m":"ldx","oa":26368,"o":"f_6700,y","x":[34765,34770]},{"a":34731,"t":"note","l":"a_87AB","c":"Operand low byte of `ldx $6700,y` in agent_frame's mirroring loop: the frame's shape address, from tbl_agent_shapes.","note":"inside the item at $87AA","x":[34668]},{"a":34732,"t":"note","l":"a_87AC","c":"High byte of the shape address read in agent_frame.","note":"inside the item at $87AA","x":[34693]},{"a":34733,"t":"code","b":[189,0,197],"m":"lda","oa":50432,"o":"f_C500,x"},{"a":34736,"t":"code","b":[190,2,103],"m":"ldx","oa":26370,"o":"f_6702,y"},{"a":34737,"t":"note","l":"a_87B1","c":"Operand low byte of `ldx $6702,y` in agent_frame: the shape address + 2.","note":"inside the item at $87B0","x":[34682]},{"a":34738,"t":"note","l":"a_87B2","c":"High byte of the shape address + 2.","note":"inside the item at $87B0","x":[34696]},{"a":34739,"t":"code","b":[153,2,103],"m":"sta","oa":26370,"o":"f_6702,y"},{"a":34740,"t":"note","l":"a_87B4","c":"Operand low byte of `sta $6702,y` in agent_frame.","note":"inside the item at $87B3","x":[34685]},{"a":34741,"t":"note","l":"a_87B5","c":"High byte for the `sta $6702,y`.","note":"inside the item at $87B3","x":[34699]},{"a":34742,"t":"code","b":[189,0,197],"m":"lda","oa":50432,"o":"f_C500,x"},{"a":34745,"t":"code","b":[153,0,103],"m":"sta","oa":26368,"o":"f_6700,y"},{"a":34746,"t":"note","l":"a_87BA","c":"Operand low byte of `sta $6700,y` in agent_frame.","note":"inside the item at $87B9","x":[34671]},{"a":34747,"t":"note","l":"a_87BB","c":"High byte for the `sta $6700,y`.","note":"inside the item at $87B9","x":[34702]},{"a":34748,"t":"code","b":[190,1,103],"m":"ldx","oa":26369,"o":"f_6701,y"},{"a":34749,"t":"note","l":"a_87BD","c":"Operand low byte of `ldx $6701,y` in agent_frame.","note":"inside the item at $87BC","x":[34675]},{"a":34750,"t":"note","l":"a_87BE","c":"High byte for the `ldx $6701,y`.","note":"inside the item at $87BC","x":[34705]},{"a":34751,"t":"code","b":[189,0,197],"m":"lda","oa":50432,"o":"f_C500,x"},{"a":34754,"t":"code","b":[153,1,103],"m":"sta","oa":26369,"o":"f_6701,y"},{"a":34755,"t":"note","l":"a_87C3","c":"Operand low byte of `sta $6701,y` in agent_frame.","note":"inside the item at $87C2","x":[34678]},{"a":34756,"t":"note","l":"a_87C4","c":"High byte for the `sta $6701,y`.","note":"inside the item at $87C2","x":[34708]},{"a":34757,"t":"code","b":[136],"m":"dey"},{"a":34758,"t":"code","b":[136],"m":"dey"},{"a":34759,"t":"code","b":[136],"m":"dey"},{"a":34760,"t":"code","b":[152],"m":"tya"},{"a":34761,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":34763,"t":"code","b":[201,61],"m":"cmp","o":"#$3D"},{"a":34765,"t":"code","b":[208,219],"m":"bne","oa":34730,"o":"b_87AA"},{"a":34767,"t":"code","b":[136],"m":"dey"},{"a":34768,"t":"code","b":[192,252],"m":"cpy","o":"#$FC"},{"a":34770,"t":"code","b":[208,214],"m":"bne","oa":34730,"o":"b_87AA"},{"a":34772,"l":"r_87D4","t":"code","b":[96],"m":"rts","x":[34717]},{"a":34773,"l":"agent_sprites_out","c":"Copies the agent's positions ($2C-$31, X and Y of sprites 1-3) to the video chip and their ninth X bits ($32) into $D010 bits 1-3, with interrupts masked for the read-modify-write.","t":"code","b":[162,5],"m":"ldx","o":"#$05","x":[34467,34502,34522,34611]},{"a":34775,"l":"b_87D7","t":"code","b":[181,44],"m":"lda","oa":44,"o":"agent_x,x","x":[34781]},{"a":34777,"t":"code","b":[157,2,208],"m":"sta","o":"vic_sprite1_x,x"},{"a":34780,"t":"code","b":[202],"m":"dex"},{"a":34781,"t":"code","b":[16,248],"m":"bpl","oa":34775,"o":"b_87D7"},{"a":34783,"t":"code","b":[8],"m":"php"},{"a":34784,"t":"code","b":[120],"m":"sei"},{"a":34785,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":34788,"t":"code","b":[41,241],"m":"and","o":"#$F1"},{"a":34790,"t":"code","b":[5,50],"m":"ora","oa":50,"o":"agent_xbits"},{"a":34792,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":34795,"t":"code","b":[40],"m":"plp"},{"a":34796,"t":"code","b":[96],"m":"rts"},{"a":34797,"l":"agent_read_stick","c":"Reads left and right from the stick in port 2 while the agent is on his feet ($3F below $10): neither gives the standing frame $0E and no speed ($39 = 0); right gives facing $50 = $01 and speed +5, left $80 and -5.","t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no","x":[34583]},{"a":34799,"t":"code","b":[192,16],"m":"cpy","o":"#$10"},{"a":34801,"t":"code","b":[176,35],"m":"bcs","oa":34838,"o":"r_8816"},{"a":34803,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":34806,"t":"code","b":[41,12],"m":"and","o":"#$0C"},{"a":34808,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":34810,"t":"code","b":[208,9],"m":"bne","oa":34821,"o":"b_8805"},{"a":34812,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":34814,"t":"code","b":[133,63],"m":"sta","oa":63,"o":"agent_frame_no"},{"a":34816,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34818,"t":"code","b":[133,57],"m":"sta","oa":57,"o":"walk_speed"},{"a":34820,"t":"code","b":[96],"m":"rts"},{"a":34821,"l":"b_8805","t":"code","b":[74],"m":"lsr","o":"a","x":[34810]},{"a":34822,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34823,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":34824,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":34826,"t":"code","b":[160,5],"m":"ldy","o":"#$05"},{"a":34828,"t":"code","b":[176,4],"m":"bcs","oa":34834,"o":"b_8812"},{"a":34830,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":34832,"t":"code","b":[160,251],"m":"ldy","o":"#$FB"},{"a":34834,"l":"b_8812","t":"code","b":[133,80],"m":"sta","oa":80,"o":"facing","x":[34828]},{"a":34836,"t":"code","b":[132,57],"m":"sty","oa":57,"o":"walk_speed"},{"a":34838,"l":"r_8816","t":"code","b":[96],"m":"rts","x":[34801]},{"a":34839,"l":"agent_animate","c":"Steps the animation frame $3F: on the ground, fire ($51, counted by the room loop) starts a somersault (frame $1B, with a sound on voice 3) and, while walking, the frame runs down from $0D to 0 and round again; while somersaulting it runs down to $10 and then lands on $0E, or $0D if the stick is still held.","t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no","x":[34589]},{"a":34841,"t":"code","b":[192,16],"m":"cpy","o":"#$10"},{"a":34843,"t":"code","b":[176,39],"m":"bcs","oa":34884,"o":"b_8844"},{"a":34845,"t":"code","b":[165,81],"m":"lda","oa":81,"o":"fire_count"},{"a":34847,"t":"code","b":[240,14],"m":"beq","oa":34863,"o":"b_882F"},{"a":34849,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":34851,"t":"code","b":[133,81],"m":"sta","oa":81,"o":"fire_count"},{"a":34853,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":34855,"t":"code","b":[133,63],"m":"sta","oa":63,"o":"agent_frame_no"},{"a":34857,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":34859,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":34862,"t":"code","b":[96],"m":"rts"},{"a":34863,"l":"b_882F","t":"code","b":[192,14],"m":"cpy","o":"#$0E","x":[34847]},{"a":34865,"t":"code","b":[208,9],"m":"bne","oa":34876,"o":"b_883C"},{"a":34867,"t":"code","b":[165,57],"m":"lda","oa":57,"o":"walk_speed"},{"a":34869,"t":"code","b":[240,4],"m":"beq","oa":34875,"o":"r_883B"},{"a":34871,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":34873,"t":"code","b":[133,63],"m":"sta","oa":63,"o":"agent_frame_no"},{"a":34875,"l":"r_883B","t":"code","b":[96],"m":"rts","x":[34869]},{"a":34876,"l":"b_883C","t":"code","b":[136],"m":"dey","x":[34865]},{"a":34877,"t":"code","b":[16,2],"m":"bpl","oa":34881,"o":"b_8841"},{"a":34879,"t":"code","b":[160,13],"m":"ldy","o":"#$0D"},{"a":34881,"l":"b_8841","t":"code","b":[132,63],"m":"sty","oa":63,"o":"agent_frame_no","x":[34877]},{"a":34883,"t":"code","b":[96],"m":"rts"},{"a":34884,"l":"b_8844","t":"code","b":[136],"m":"dey","x":[34843]},{"a":34885,"t":"code","b":[192,16],"m":"cpy","o":"#$10"},{"a":34887,"t":"code","b":[176,13],"m":"bcs","oa":34902,"o":"b_8856"},{"a":34889,"t":"code","b":[160,14],"m":"ldy","o":"#$0E"},{"a":34891,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":34894,"t":"code","b":[41,12],"m":"and","o":"#$0C"},{"a":34896,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":34898,"t":"code","b":[240,2],"m":"beq","oa":34902,"o":"b_8856"},{"a":34900,"t":"code","b":[160,13],"m":"ldy","o":"#$0D"},{"a":34902,"l":"b_8856","t":"code","b":[132,63],"m":"sty","oa":63,"o":"agent_frame_no","x":[34887,34898]},{"a":34904,"t":"code","b":[96],"m":"rts"},{"a":34905,"l":"agent_move","c":"Moves the agent's sprites by the current frame: when walking, $39 pixels sideways (with the ninth X bits in $32); in the somersault, by the per-frame offsets of tbl_somersault_dy1-3 ($8D07, $8D13, $8D1F) vertically and tbl_somersault_dx ($8D2B, $8D37) horizontally, negated when facing left, carrying into the ninth bits (the branch at $88B6 and $88DD/$88EB is patched between `bcc` and `bcs` for the sign).","t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no","x":[34586]},{"a":34907,"t":"code","b":[56],"m":"sec"},{"a":34908,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":34910,"t":"code","b":[176,33],"m":"bcs","oa":34945,"o":"b_8881"},{"a":34912,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":34914,"l":"b_8862","t":"code","b":[165,57],"m":"lda","oa":57,"o":"walk_speed","x":[34923]},{"a":34916,"t":"code","b":[24],"m":"clc"},{"a":34917,"t":"code","b":[117,44],"m":"adc","oa":44,"o":"agent_x,x"},{"a":34919,"t":"code","b":[149,44],"m":"sta","oa":44,"o":"agent_x,x"},{"a":34921,"t":"code","b":[202],"m":"dex"},{"a":34922,"t":"code","b":[202],"m":"dex"},{"a":34923,"t":"code","b":[16,245],"m":"bpl","oa":34914,"o":"b_8862"},{"a":34925,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits"},{"a":34927,"t":"code","b":[36,57],"m":"bit","oa":57,"o":"walk_speed"},{"a":34929,"t":"code","b":[16,7],"m":"bpl","oa":34938,"o":"b_887A"},{"a":34931,"t":"code","b":[176,9],"m":"bcs","oa":34942,"o":"b_887E"},{"a":34933,"t":"code","b":[41,241],"m":"and","o":"#$F1"},{"a":34935,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits"},{"a":34937,"t":"code","b":[96],"m":"rts"},{"a":34938,"l":"b_887A","t":"code","b":[144,2],"m":"bcc","oa":34942,"o":"b_887E","x":[34929]},{"a":34940,"t":"code","b":[9,14],"m":"ora","o":"#$0E"},{"a":34942,"l":"b_887E","t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits","x":[34931,34938]},{"a":34944,"t":"code","b":[96],"m":"rts"},{"a":34945,"l":"b_8881","t":"code","b":[170],"m":"tax","x":[34910]},{"a":34946,"t":"code","b":[165,45],"m":"lda","oa":45,"o":"agent_y"},{"a":34948,"t":"code","b":[24],"m":"clc"},{"a":34949,"t":"code","b":[125,7,141],"m":"adc","oa":36103,"o":"tbl_somersault_dy1,x"},{"a":34952,"t":"code","b":[133,45],"m":"sta","oa":45,"o":"agent_y"},{"a":34954,"t":"code","b":[165,47],"m":"lda","oa":47,"o":"agent_y2"},{"a":34956,"t":"code","b":[24],"m":"clc"},{"a":34957,"t":"code","b":[125,19,141],"m":"adc","oa":36115,"o":"tbl_somersault_dy2,x"},{"a":34960,"t":"code","b":[133,47],"m":"sta","oa":47,"o":"agent_y2"},{"a":34962,"t":"code","b":[165,49],"m":"lda","oa":49,"o":"agent_y3"},{"a":34964,"t":"code","b":[24],"m":"clc"},{"a":34965,"t":"code","b":[125,31,141],"m":"adc","oa":36127,"o":"tbl_somersault_dy3,x"},{"a":34968,"t":"code","b":[133,49],"m":"sta","oa":49,"o":"agent_y3"},{"a":34970,"t":"code","b":[189,55,141],"m":"lda","oa":36151,"o":"tbl_somersault_dx3,x"},{"a":34973,"t":"code","b":[36,80],"m":"bit","oa":80,"o":"facing"},{"a":34975,"t":"code","b":[16,5],"m":"bpl","oa":34982,"o":"b_88A6"},{"a":34977,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":34979,"t":"code","b":[24],"m":"clc"},{"a":34980,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":34982,"l":"b_88A6","t":"code","b":[160,144],"m":"ldy","o":"#$90","x":[34975]},{"a":34984,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":34986,"t":"code","b":[16,2],"m":"bpl","oa":34990,"o":"b_88AE"},{"a":34988,"t":"code","b":[160,176],"m":"ldy","o":"#$B0"},{"a":34990,"l":"b_88AE","t":"code","b":[140,182,136],"m":"sty","oa":34998,"o":"a_88B6","x":[34986]},{"a":34993,"t":"code","b":[24],"m":"clc"},{"a":34994,"t":"code","b":[101,48],"m":"adc","oa":48,"o":"agent_x3"},{"a":34996,"t":"code","b":[133,48],"m":"sta","oa":48,"o":"agent_x3"},{"a":34998,"l":"a_88B6","c":"The `bcc` at $88B6 in agent_move whose opcode is patched to $90 (bcc) or $B0 (bcs) by the sign of the vertical step, so that the carry of sprite 3's addition flips its ninth X bit correctly.","t":"code","b":[144,6],"m":"bcc","oa":35006,"o":"b_88BE","x":[34990]},{"a":35000,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits"},{"a":35002,"t":"code","b":[73,8],"m":"eor","o":"#$08"},{"a":35004,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits"},{"a":35006,"l":"b_88BE","t":"code","b":[189,43,141],"m":"lda","oa":36139,"o":"tbl_somersault_dx,x","x":[34998]},{"a":35009,"t":"code","b":[36,80],"m":"bit","oa":80,"o":"facing"},{"a":35011,"t":"code","b":[16,5],"m":"bpl","oa":35018,"o":"b_88CA"},{"a":35013,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":35015,"t":"code","b":[24],"m":"clc"},{"a":35016,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":35018,"l":"b_88CA","t":"code","b":[160,144],"m":"ldy","o":"#$90","x":[35011]},{"a":35020,"t":"code","b":[170],"m":"tax"},{"a":35021,"t":"code","b":[16,2],"m":"bpl","oa":35025,"o":"b_88D1"},{"a":35023,"t":"code","b":[160,176],"m":"ldy","o":"#$B0"},{"a":35025,"l":"b_88D1","t":"code","b":[140,221,136],"m":"sty","oa":35037,"o":"a_88DD","x":[35021]},{"a":35028,"t":"code","b":[140,235,136],"m":"sty","oa":35051,"o":"a_88EB"},{"a":35031,"t":"code","b":[168],"m":"tay"},{"a":35032,"t":"code","b":[24],"m":"clc"},{"a":35033,"t":"code","b":[101,44],"m":"adc","oa":44,"o":"agent_x"},{"a":35035,"t":"code","b":[133,44],"m":"sta","oa":44,"o":"agent_x"},{"a":35037,"l":"a_88DD","c":"The branch at $88DD patched to `bcc` or `bcs` by the sign of the horizontal step (sprite 1's ninth bit).","t":"code","b":[144,6],"m":"bcc","oa":35045,"o":"b_88E5","x":[35025]},{"a":35039,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits"},{"a":35041,"t":"code","b":[73,2],"m":"eor","o":"#$02"},{"a":35043,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits"},{"a":35045,"l":"b_88E5","t":"code","b":[138],"m":"txa","x":[35037]},{"a":35046,"t":"code","b":[24],"m":"clc"},{"a":35047,"t":"code","b":[101,46],"m":"adc","oa":46,"o":"agent_x2"},{"a":35049,"t":"code","b":[133,46],"m":"sta","oa":46,"o":"agent_x2"},{"a":35051,"l":"a_88EB","c":"The branch at $88EB patched the same way for sprite 2's ninth bit.","t":"code","b":[144,6],"m":"bcc","oa":35059,"o":"b_88F3","x":[35028]},{"a":35053,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits"},{"a":35055,"t":"code","b":[73,4],"m":"eor","o":"#$04"},{"a":35057,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits"},{"a":35059,"l":"b_88F3","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[35051]},{"a":35061,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":35064,"t":"code","b":[96],"m":"rts"},{"a":35065,"l":"agent_bounds","c":"Keeps the agent from walking into a closed lift door: in the shaft view ($1A = 0) a door that is not open ($1F/$20 not $0B) pushes the agent back from it; in a room ($1A set) it computes the agent's box ($33-$38: top, bottom, left, right, middles) and resolves collisions with the room's walls and floors in four directions with $8AAA, $8ACD and $8CC5, sliding the agent back to the edge of the solid cell it moved into.","t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room","x":[34592]},{"a":35067,"t":"code","b":[208,68],"m":"bne","oa":35137,"o":"b_8941"},{"a":35069,"t":"code","b":[36,80],"m":"bit","oa":80,"o":"facing"},{"a":35071,"t":"code","b":[48,30],"m":"bmi","oa":35103,"o":"b_891F"},{"a":35073,"t":"code","b":[165,31],"m":"lda","oa":31,"o":"door_right"},{"a":35075,"t":"code","b":[201,11],"m":"cmp","o":"#$0B"},{"a":35077,"t":"code","b":[240,57],"m":"beq","oa":35136,"o":"r_8940"},{"a":35079,"t":"code","b":[32,151,140],"m":"jsr","oa":35991,"o":"agent_right"},{"a":35082,"t":"code","b":[56],"m":"sec"},{"a":35083,"t":"code","b":[233,199],"m":"sbc","o":"#$C7"},{"a":35085,"t":"code","b":[144,49],"m":"bcc","oa":35136,"o":"r_8940"},{"a":35087,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":35089,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":35091,"l":"b_8913","t":"code","b":[181,44],"m":"lda","oa":44,"o":"agent_x,x","x":[35100]},{"a":35093,"t":"code","b":[56],"m":"sec"},{"a":35094,"t":"code","b":[229,228],"m":"sbc","oa":228,"o":"tmp1"},{"a":35096,"t":"code","b":[149,44],"m":"sta","oa":44,"o":"agent_x,x"},{"a":35098,"t":"code","b":[202],"m":"dex"},{"a":35099,"t":"code","b":[202],"m":"dex"},{"a":35100,"t":"code","b":[16,245],"m":"bpl","oa":35091,"o":"b_8913"},{"a":35102,"t":"code","b":[96],"m":"rts"},{"a":35103,"l":"b_891F","t":"code","b":[165,32],"m":"lda","oa":32,"o":"door_left","x":[35071]},{"a":35105,"t":"code","b":[201,11],"m":"cmp","o":"#$0B"},{"a":35107,"t":"code","b":[240,27],"m":"beq","oa":35136,"o":"r_8940"},{"a":35109,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":35112,"t":"code","b":[176,22],"m":"bcs","oa":35136,"o":"r_8940"},{"a":35114,"t":"code","b":[56],"m":"sec"},{"a":35115,"t":"code","b":[233,168],"m":"sbc","o":"#$A8"},{"a":35117,"t":"code","b":[176,17],"m":"bcs","oa":35136,"o":"r_8940"},{"a":35119,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":35121,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":35123,"t":"code","b":[168],"m":"tay"},{"a":35124,"t":"code","b":[24],"m":"clc"},{"a":35125,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":35127,"l":"b_8937","t":"code","b":[152],"m":"tya","x":[35134]},{"a":35128,"t":"code","b":[117,44],"m":"adc","oa":44,"o":"agent_x,x"},{"a":35130,"t":"code","b":[149,44],"m":"sta","oa":44,"o":"agent_x,x"},{"a":35132,"t":"code","b":[202],"m":"dex"},{"a":35133,"t":"code","b":[202],"m":"dex"},{"a":35134,"t":"code","b":[16,247],"m":"bpl","oa":35127,"o":"b_8937"},{"a":35136,"l":"r_8940","t":"code","b":[96],"m":"rts","x":[35077,35085,35107,35112,35117]},{"a":35137,"l":"b_8941","t":"code","b":[32,72,140],"m":"jsr","oa":35912,"o":"agent_top","x":[35067]},{"a":35140,"t":"code","b":[133,51],"m":"sta","oa":51,"o":"box_top"},{"a":35142,"t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom"},{"a":35145,"t":"code","b":[56],"m":"sec"},{"a":35146,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":35148,"t":"code","b":[133,52],"m":"sta","oa":52,"o":"box_bottom"},{"a":35150,"t":"code","b":[56],"m":"sec"},{"a":35151,"t":"code","b":[229,51],"m":"sbc","oa":51,"o":"box_top"},{"a":35153,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35154,"t":"code","b":[24],"m":"clc"},{"a":35155,"t":"code","b":[101,51],"m":"adc","oa":51,"o":"box_top"},{"a":35157,"t":"code","b":[133,55],"m":"sta","oa":55,"o":"box_mid_y"},{"a":35159,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":35162,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35163,"t":"code","b":[133,53],"m":"sta","oa":53,"o":"box_left"},{"a":35165,"t":"code","b":[32,151,140],"m":"jsr","oa":35991,"o":"agent_right"},{"a":35168,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35169,"t":"code","b":[133,54],"m":"sta","oa":54,"o":"box_right"},{"a":35171,"t":"code","b":[56],"m":"sec"},{"a":35172,"t":"code","b":[229,53],"m":"sbc","oa":53,"o":"box_left"},{"a":35174,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35175,"t":"code","b":[24],"m":"clc"},{"a":35176,"t":"code","b":[101,53],"m":"adc","oa":53,"o":"box_left"},{"a":35178,"t":"code","b":[133,56],"m":"sta","oa":56,"o":"box_mid_x"},{"a":35180,"t":"code","b":[165,54],"m":"lda","oa":54,"o":"box_right"},{"a":35182,"t":"code","b":[56],"m":"sec"},{"a":35183,"t":"code","b":[229,59],"m":"sbc","oa":59,"o":"prev_right"},{"a":35185,"t":"code","b":[144,66],"m":"bcc","oa":35253,"o":"b_89B5"},{"a":35187,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":35189,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35190,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35191,"t":"code","b":[240,18],"m":"beq","oa":35211,"o":"b_898B"},{"a":35193,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":35195,"l":"b_897B","t":"code","b":[165,59],"m":"lda","oa":59,"o":"prev_right","x":[35209]},{"a":35197,"t":"code","b":[24],"m":"clc"},{"a":35198,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":35200,"t":"code","b":[133,59],"m":"sta","oa":59,"o":"prev_right"},{"a":35202,"t":"code","b":[32,170,138],"m":"jsr","oa":35498,"o":"probe_right"},{"a":35205,"t":"code","b":[176,18],"m":"bcs","oa":35225,"o":"b_8999"},{"a":35207,"t":"code","b":[198,231],"m":"dec","oa":231,"o":"tmp4"},{"a":35209,"t":"code","b":[208,240],"m":"bne","oa":35195,"o":"b_897B"},{"a":35211,"l":"b_898B","t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3","x":[35191]},{"a":35213,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":35215,"t":"code","b":[24],"m":"clc"},{"a":35216,"t":"code","b":[101,59],"m":"adc","oa":59,"o":"prev_right"},{"a":35218,"t":"code","b":[133,59],"m":"sta","oa":59,"o":"prev_right"},{"a":35220,"t":"code","b":[32,170,138],"m":"jsr","oa":35498,"o":"probe_right"},{"a":35223,"t":"code","b":[144,28],"m":"bcc","oa":35253,"o":"b_89B5"},{"a":35225,"l":"b_8999","t":"code","b":[165,59],"m":"lda","oa":59,"o":"prev_right","x":[35205]},{"a":35227,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":35229,"t":"code","b":[133,59],"m":"sta","oa":59,"o":"prev_right"},{"a":35231,"t":"code","b":[198,59],"m":"dec","oa":59,"o":"prev_right"},{"a":35233,"t":"code","b":[165,54],"m":"lda","oa":54,"o":"box_right"},{"a":35235,"t":"code","b":[56],"m":"sec"},{"a":35236,"t":"code","b":[229,59],"m":"sbc","oa":59,"o":"prev_right"},{"a":35238,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":35240,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35241,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":35243,"t":"code","b":[32,241,138],"m":"jsr","oa":35569,"o":"agent_shift_left"},{"a":35246,"t":"code","b":[165,56],"m":"lda","oa":56,"o":"box_mid_x"},{"a":35248,"t":"code","b":[56],"m":"sec"},{"a":35249,"t":"code","b":[229,229],"m":"sbc","oa":229,"o":"tmp2"},{"a":35251,"t":"code","b":[133,56],"m":"sta","oa":56,"o":"box_mid_x"},{"a":35253,"l":"b_89B5","t":"code","b":[165,58],"m":"lda","oa":58,"o":"prev_left","x":[35185,35223]},{"a":35255,"t":"code","b":[56],"m":"sec"},{"a":35256,"t":"code","b":[229,53],"m":"sbc","oa":53,"o":"box_left"},{"a":35258,"t":"code","b":[144,67],"m":"bcc","oa":35327,"o":"b_89FF"},{"a":35260,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":35262,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35263,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35264,"t":"code","b":[240,18],"m":"beq","oa":35284,"o":"b_89D4"},{"a":35266,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":35268,"l":"b_89C4","t":"code","b":[165,58],"m":"lda","oa":58,"o":"prev_left","x":[35282]},{"a":35270,"t":"code","b":[56],"m":"sec"},{"a":35271,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":35273,"t":"code","b":[133,58],"m":"sta","oa":58,"o":"prev_left"},{"a":35275,"t":"code","b":[32,205,138],"m":"jsr","oa":35533,"o":"probe_left"},{"a":35278,"t":"code","b":[176,22],"m":"bcs","oa":35302,"o":"b_89E6"},{"a":35280,"t":"code","b":[198,231],"m":"dec","oa":231,"o":"tmp4"},{"a":35282,"t":"code","b":[208,240],"m":"bne","oa":35268,"o":"b_89C4"},{"a":35284,"l":"b_89D4","t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3","x":[35264]},{"a":35286,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":35288,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":35290,"t":"code","b":[165,58],"m":"lda","oa":58,"o":"prev_left"},{"a":35292,"t":"code","b":[56],"m":"sec"},{"a":35293,"t":"code","b":[229,228],"m":"sbc","oa":228,"o":"tmp1"},{"a":35295,"t":"code","b":[133,58],"m":"sta","oa":58,"o":"prev_left"},{"a":35297,"t":"code","b":[32,205,138],"m":"jsr","oa":35533,"o":"probe_left"},{"a":35300,"t":"code","b":[144,25],"m":"bcc","oa":35327,"o":"b_89FF"},{"a":35302,"l":"b_89E6","t":"code","b":[165,58],"m":"lda","oa":58,"o":"prev_left","x":[35278]},{"a":35304,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":35306,"t":"code","b":[24],"m":"clc"},{"a":35307,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":35309,"t":"code","b":[56],"m":"sec"},{"a":35310,"t":"code","b":[229,53],"m":"sbc","oa":53,"o":"box_left"},{"a":35312,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":35314,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35315,"t":"code","b":[168],"m":"tay"},{"a":35316,"t":"code","b":[200],"m":"iny"},{"a":35317,"t":"code","b":[32,35,139],"m":"jsr","oa":35619,"o":"agent_shift_right"},{"a":35320,"t":"code","b":[165,56],"m":"lda","oa":56,"o":"box_mid_x"},{"a":35322,"t":"code","b":[24],"m":"clc"},{"a":35323,"t":"code","b":[101,229],"m":"adc","oa":229,"o":"tmp2"},{"a":35325,"t":"code","b":[133,56],"m":"sta","oa":56,"o":"box_mid_x"},{"a":35327,"l":"b_89FF","t":"code","b":[165,61],"m":"lda","oa":61,"o":"prev_top","x":[35258,35300]},{"a":35329,"t":"code","b":[56],"m":"sec"},{"a":35330,"t":"code","b":[229,51],"m":"sbc","oa":51,"o":"box_top"},{"a":35332,"t":"code","b":[144,83],"m":"bcc","oa":35417,"o":"b_8A59"},{"a":35334,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":35336,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35337,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35338,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35339,"t":"code","b":[240,24],"m":"beq","oa":35365,"o":"b_8A25"},{"a":35341,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":35343,"l":"b_8A0F","t":"code","b":[165,61],"m":"lda","oa":61,"o":"prev_top","x":[35363]},{"a":35345,"t":"code","b":[56],"m":"sec"},{"a":35346,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":35348,"t":"code","b":[133,61],"m":"sta","oa":61,"o":"prev_top"},{"a":35350,"t":"code","b":[168],"m":"tay"},{"a":35351,"t":"code","b":[165,56],"m":"lda","oa":56,"o":"box_mid_x"},{"a":35353,"t":"code","b":[56],"m":"sec"},{"a":35354,"t":"code","b":[42],"m":"rol","o":"a"},{"a":35355,"t":"code","b":[170],"m":"tax"},{"a":35356,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35359,"t":"code","b":[176,28],"m":"bcs","oa":35389,"o":"b_8A3D"},{"a":35361,"t":"code","b":[198,231],"m":"dec","oa":231,"o":"tmp4"},{"a":35363,"t":"code","b":[208,234],"m":"bne","oa":35343,"o":"b_8A0F"},{"a":35365,"l":"b_8A25","t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3","x":[35339]},{"a":35367,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":35369,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":35371,"t":"code","b":[165,61],"m":"lda","oa":61,"o":"prev_top"},{"a":35373,"t":"code","b":[56],"m":"sec"},{"a":35374,"t":"code","b":[229,230],"m":"sbc","oa":230,"o":"tmp3"},{"a":35376,"t":"code","b":[133,61],"m":"sta","oa":61,"o":"prev_top"},{"a":35378,"t":"code","b":[168],"m":"tay"},{"a":35379,"t":"code","b":[165,56],"m":"lda","oa":56,"o":"box_mid_x"},{"a":35381,"t":"code","b":[56],"m":"sec"},{"a":35382,"t":"code","b":[42],"m":"rol","o":"a"},{"a":35383,"t":"code","b":[170],"m":"tax"},{"a":35384,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35387,"t":"code","b":[144,28],"m":"bcc","oa":35417,"o":"b_8A59"},{"a":35389,"l":"b_8A3D","t":"code","b":[165,61],"m":"lda","oa":61,"o":"prev_top","x":[35359]},{"a":35391,"t":"code","b":[24],"m":"clc"},{"a":35392,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":35394,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":35396,"t":"code","b":[24],"m":"clc"},{"a":35397,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":35399,"t":"code","b":[56],"m":"sec"},{"a":35400,"t":"code","b":[229,51],"m":"sbc","oa":51,"o":"box_top"},{"a":35402,"t":"code","b":[168],"m":"tay"},{"a":35403,"t":"code","b":[24],"m":"clc"},{"a":35404,"t":"code","b":[101,52],"m":"adc","oa":52,"o":"box_bottom"},{"a":35406,"t":"code","b":[133,52],"m":"sta","oa":52,"o":"box_bottom"},{"a":35408,"t":"code","b":[32,97,139],"m":"jsr","oa":35681,"o":"agent_shift_down"},{"a":35411,"t":"code","b":[152],"m":"tya"},{"a":35412,"t":"code","b":[24],"m":"clc"},{"a":35413,"t":"code","b":[101,55],"m":"adc","oa":55,"o":"box_mid_y"},{"a":35415,"t":"code","b":[133,55],"m":"sta","oa":55,"o":"box_mid_y"},{"a":35417,"l":"b_8A59","t":"code","b":[165,52],"m":"lda","oa":52,"o":"box_bottom","x":[35332,35387]},{"a":35419,"t":"code","b":[56],"m":"sec"},{"a":35420,"t":"code","b":[229,60],"m":"sbc","oa":60,"o":"prev_bottom"},{"a":35422,"t":"code","b":[144,73],"m":"bcc","oa":35497,"o":"r_8AA9"},{"a":35424,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":35426,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35427,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35428,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35429,"t":"code","b":[240,24],"m":"beq","oa":35455,"o":"b_8A7F"},{"a":35431,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":35433,"l":"b_8A69","t":"code","b":[165,60],"m":"lda","oa":60,"o":"prev_bottom","x":[35453]},{"a":35435,"t":"code","b":[24],"m":"clc"},{"a":35436,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":35438,"t":"code","b":[133,60],"m":"sta","oa":60,"o":"prev_bottom"},{"a":35440,"t":"code","b":[168],"m":"tay"},{"a":35441,"t":"code","b":[165,56],"m":"lda","oa":56,"o":"box_mid_x"},{"a":35443,"t":"code","b":[56],"m":"sec"},{"a":35444,"t":"code","b":[42],"m":"rol","o":"a"},{"a":35445,"t":"code","b":[170],"m":"tax"},{"a":35446,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35449,"t":"code","b":[176,24],"m":"bcs","oa":35475,"o":"b_8A93"},{"a":35451,"t":"code","b":[198,231],"m":"dec","oa":231,"o":"tmp4"},{"a":35453,"t":"code","b":[208,234],"m":"bne","oa":35433,"o":"b_8A69"},{"a":35455,"l":"b_8A7F","t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3","x":[35429]},{"a":35457,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":35459,"t":"code","b":[24],"m":"clc"},{"a":35460,"t":"code","b":[101,60],"m":"adc","oa":60,"o":"prev_bottom"},{"a":35462,"t":"code","b":[133,60],"m":"sta","oa":60,"o":"prev_bottom"},{"a":35464,"t":"code","b":[168],"m":"tay"},{"a":35465,"t":"code","b":[165,56],"m":"lda","oa":56,"o":"box_mid_x"},{"a":35467,"t":"code","b":[56],"m":"sec"},{"a":35468,"t":"code","b":[42],"m":"rol","o":"a"},{"a":35469,"t":"code","b":[170],"m":"tax"},{"a":35470,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35473,"t":"code","b":[144,22],"m":"bcc","oa":35497,"o":"r_8AA9"},{"a":35475,"l":"b_8A93","t":"code","b":[165,60],"m":"lda","oa":60,"o":"prev_bottom","x":[35449]},{"a":35477,"t":"code","b":[56],"m":"sec"},{"a":35478,"t":"code","b":[233,10],"m":"sbc","o":"#$0A"},{"a":35480,"t":"code","b":[9,7],"m":"ora","o":"#$07"},{"a":35482,"t":"code","b":[24],"m":"clc"},{"a":35483,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":35485,"t":"code","b":[133,60],"m":"sta","oa":60,"o":"prev_bottom"},{"a":35487,"t":"code","b":[165,52],"m":"lda","oa":52,"o":"box_bottom"},{"a":35489,"t":"code","b":[56],"m":"sec"},{"a":35490,"t":"code","b":[229,60],"m":"sbc","oa":60,"o":"prev_bottom"},{"a":35492,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":35494,"t":"code","b":[32,83,139],"m":"jsr","oa":35667,"o":"agent_shift_up"},{"a":35497,"l":"r_8AA9","t":"code","b":[96],"m":"rts","x":[35422,35473]},{"a":35498,"l":"probe_right","c":"Tests for a solid cell to the right of the agent: at the middle height $37 and, except in the somersault frames $14-$18, eight lines higher as well. Carry set if solid.","t":"code","b":[165,59],"m":"lda","oa":59,"o":"prev_right","x":[35202,35220]},{"a":35500,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35501,"t":"code","b":[170],"m":"tax"},{"a":35502,"t":"code","b":[164,55],"m":"ldy","oa":55,"o":"box_mid_y"},{"a":35504,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35507,"t":"code","b":[176,23],"m":"bcs","oa":35532,"o":"r_8ACC"},{"a":35509,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":35511,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":35513,"t":"code","b":[144,4],"m":"bcc","oa":35519,"o":"b_8ABF"},{"a":35515,"t":"code","b":[201,25],"m":"cmp","o":"#$19"},{"a":35517,"t":"code","b":[144,13],"m":"bcc","oa":35532,"o":"r_8ACC"},{"a":35519,"l":"b_8ABF","t":"code","b":[165,55],"m":"lda","oa":55,"o":"box_mid_y","x":[35513]},{"a":35521,"t":"code","b":[56],"m":"sec"},{"a":35522,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":35524,"t":"code","b":[168],"m":"tay"},{"a":35525,"t":"code","b":[165,59],"m":"lda","oa":59,"o":"prev_right"},{"a":35527,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35528,"t":"code","b":[170],"m":"tax"},{"a":35529,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35532,"l":"r_8ACC","t":"code","b":[96],"m":"rts","x":[35507,35517]},{"a":35533,"l":"probe_left","c":"The same test to the left of the agent ($3A).","t":"code","b":[165,58],"m":"lda","oa":58,"o":"prev_left","x":[35275,35297]},{"a":35535,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35536,"t":"code","b":[170],"m":"tax"},{"a":35537,"t":"code","b":[164,55],"m":"ldy","oa":55,"o":"box_mid_y"},{"a":35539,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35542,"t":"code","b":[176,23],"m":"bcs","oa":35567,"o":"r_8AEF"},{"a":35544,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":35546,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":35548,"t":"code","b":[144,4],"m":"bcc","oa":35554,"o":"b_8AE2"},{"a":35550,"t":"code","b":[201,25],"m":"cmp","o":"#$19"},{"a":35552,"t":"code","b":[144,13],"m":"bcc","oa":35567,"o":"r_8AEF"},{"a":35554,"l":"b_8AE2","t":"code","b":[165,55],"m":"lda","oa":55,"o":"box_mid_y","x":[35548]},{"a":35556,"t":"code","b":[56],"m":"sec"},{"a":35557,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":35559,"t":"code","b":[168],"m":"tay"},{"a":35560,"t":"code","b":[165,58],"m":"lda","oa":58,"o":"prev_left"},{"a":35562,"t":"code","b":[10],"m":"asl","o":"a"},{"a":35563,"t":"code","b":[170],"m":"tax"},{"a":35564,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":35567,"l":"r_8AEF","t":"code","b":[96],"m":"rts","x":[35542,35552]},{"a":35568,"l":"tmp_carry_bits","c":"A byte inside the code used as a scratch register by $8AF1: the three carries of the X subtraction, one per sprite.","t":"byte","b":[0],"x":[35571,35584,35594,35601,35608]},{"a":35569,"l":"agent_shift_left","c":"Moves the agent's three sprites left by $E4 pixels, borrowing from the ninth X bits in $32 as needed (scratch in $8AF0).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[34455,35243]},{"a":35571,"t":"code","b":[141,240,138],"m":"sta","oa":35568,"o":"tmp_carry_bits"},{"a":35574,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":35576,"l":"b_8AF8","t":"code","b":[181,44],"m":"lda","oa":44,"o":"agent_x,x","x":[35590]},{"a":35578,"t":"code","b":[56],"m":"sec"},{"a":35579,"t":"code","b":[229,228],"m":"sbc","oa":228,"o":"tmp1"},{"a":35581,"t":"code","b":[149,44],"m":"sta","oa":44,"o":"agent_x,x"},{"a":35583,"t":"code","b":[8],"m":"php"},{"a":35584,"t":"code","b":[46,240,138],"m":"rol","oa":35568,"o":"tmp_carry_bits"},{"a":35587,"t":"code","b":[40],"m":"plp"},{"a":35588,"t":"code","b":[202],"m":"dex"},{"a":35589,"t":"code","b":[202],"m":"dex"},{"a":35590,"t":"code","b":[16,240],"m":"bpl","oa":35576,"o":"b_8AF8"},{"a":35592,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits"},{"a":35594,"t":"code","b":[78,240,138],"m":"lsr","oa":35568,"o":"tmp_carry_bits"},{"a":35597,"t":"code","b":[176,2],"m":"bcs","oa":35601,"o":"b_8B11"},{"a":35599,"t":"code","b":[41,253],"m":"and","o":"#$FD"},{"a":35601,"l":"b_8B11","t":"code","b":[78,240,138],"m":"lsr","oa":35568,"o":"tmp_carry_bits","x":[35597]},{"a":35604,"t":"code","b":[176,2],"m":"bcs","oa":35608,"o":"b_8B18"},{"a":35606,"t":"code","b":[41,251],"m":"and","o":"#$FB"},{"a":35608,"l":"b_8B18","t":"code","b":[78,240,138],"m":"lsr","oa":35568,"o":"tmp_carry_bits","x":[35604]},{"a":35611,"t":"code","b":[176,2],"m":"bcs","oa":35615,"o":"b_8B1F"},{"a":35613,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":35615,"l":"b_8B1F","t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits","x":[35611]},{"a":35617,"t":"code","b":[96],"m":"rts"},{"a":35618,"l":"tmp_carry_bits2","c":"Scratch byte for $8B23, as $8AF0 is for $8AF1.","t":"byte","b":[0],"x":[35621,35633,35643,35650,35657]},{"a":35619,"l":"agent_shift_right","c":"Moves the agent's three sprites right by Y pixels, carrying into the ninth X bits in $32 (scratch in $8B22).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[34417,35317]},{"a":35621,"t":"code","b":[141,34,139],"m":"sta","oa":35618,"o":"tmp_carry_bits2"},{"a":35624,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":35626,"l":"b_8B2A","t":"code","b":[152],"m":"tya","x":[35639]},{"a":35627,"t":"code","b":[24],"m":"clc"},{"a":35628,"t":"code","b":[117,44],"m":"adc","oa":44,"o":"agent_x,x"},{"a":35630,"t":"code","b":[149,44],"m":"sta","oa":44,"o":"agent_x,x"},{"a":35632,"t":"code","b":[8],"m":"php"},{"a":35633,"t":"code","b":[46,34,139],"m":"rol","oa":35618,"o":"tmp_carry_bits2"},{"a":35636,"t":"code","b":[40],"m":"plp"},{"a":35637,"t":"code","b":[202],"m":"dex"},{"a":35638,"t":"code","b":[202],"m":"dex"},{"a":35639,"t":"code","b":[16,241],"m":"bpl","oa":35626,"o":"b_8B2A"},{"a":35641,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits"},{"a":35643,"t":"code","b":[78,34,139],"m":"lsr","oa":35618,"o":"tmp_carry_bits2"},{"a":35646,"t":"code","b":[144,2],"m":"bcc","oa":35650,"o":"b_8B42"},{"a":35648,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":35650,"l":"b_8B42","t":"code","b":[78,34,139],"m":"lsr","oa":35618,"o":"tmp_carry_bits2","x":[35646]},{"a":35653,"t":"code","b":[144,2],"m":"bcc","oa":35657,"o":"b_8B49"},{"a":35655,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":35657,"l":"b_8B49","t":"code","b":[78,34,139],"m":"lsr","oa":35618,"o":"tmp_carry_bits2","x":[35653]},{"a":35660,"t":"code","b":[144,2],"m":"bcc","oa":35664,"o":"b_8B50"},{"a":35662,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":35664,"l":"b_8B50","t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits","x":[35660]},{"a":35666,"t":"code","b":[96],"m":"rts"},{"a":35667,"l":"agent_shift_up","c":"Moves the agent's three sprites up by $E4 lines.","t":"code","b":[162,4],"m":"ldx","o":"#$04","x":[34499,35494]},{"a":35669,"l":"b_8B55","t":"code","b":[181,45],"m":"lda","oa":45,"o":"agent_y,x","x":[35678]},{"a":35671,"t":"code","b":[56],"m":"sec"},{"a":35672,"t":"code","b":[229,228],"m":"sbc","oa":228,"o":"tmp1"},{"a":35674,"t":"code","b":[149,45],"m":"sta","oa":45,"o":"agent_y,x"},{"a":35676,"t":"code","b":[202],"m":"dex"},{"a":35677,"t":"code","b":[202],"m":"dex"},{"a":35678,"t":"code","b":[16,245],"m":"bpl","oa":35669,"o":"b_8B55"},{"a":35680,"t":"code","b":[96],"m":"rts"},{"a":35681,"l":"agent_shift_down","c":"Moves the agent's three sprites down by Y lines.","t":"code","b":[162,4],"m":"ldx","o":"#$04","x":[34352,34519,35408]},{"a":35683,"l":"b_8B63","t":"code","b":[152],"m":"tya","x":[35691]},{"a":35684,"t":"code","b":[24],"m":"clc"},{"a":35685,"t":"code","b":[117,45],"m":"adc","oa":45,"o":"agent_y,x"},{"a":35687,"t":"code","b":[149,45],"m":"sta","oa":45,"o":"agent_y,x"},{"a":35689,"t":"code","b":[202],"m":"dex"},{"a":35690,"t":"code","b":[202],"m":"dex"},{"a":35691,"t":"code","b":[16,246],"m":"bpl","oa":35683,"o":"b_8B63"},{"a":35693,"t":"code","b":[96],"m":"rts"},{"a":35694,"l":"agent_exit_check","c":"Checks whether the agent has walked out of the screen. To the right past X $164 or to the left before X $10 in a room: back into the corridor (the map marker $27 moves by 16, the shaft view is redrawn, the stack is reset and the lift loop restarts at $39CF). From the corridor, into the room on that side: the room number from the map ($FF96), its drawing ($A255, $A39C, $A2F7) and the room loop ($7249); a voice line ($BED9 with X = 1) on entering an ordinary room when an hour has passed ($C1).","t":"code","b":[36,80],"m":"bit","oa":80,"o":"facing","x":[34595]},{"a":35696,"t":"code","b":[48,96],"m":"bmi","oa":35794,"o":"b_8BD2"},{"a":35698,"t":"code","b":[32,151,140],"m":"jsr","oa":35991,"o":"agent_right"},{"a":35701,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35702,"t":"code","b":[201,178],"m":"cmp","o":"#$B2"},{"a":35704,"t":"code","b":[176,3],"m":"bcs","oa":35709,"o":"b_8B7D"},{"a":35706,"t":"code","b":[76,71,140],"m":"jmp","oa":35911,"o":"r_8C47"},{"a":35709,"l":"b_8B7D","t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room","x":[35704]},{"a":35711,"t":"code","b":[240,15],"m":"beq","oa":35728,"o":"b_8B90"},{"a":35713,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x"},{"a":35715,"t":"code","b":[24],"m":"clc"},{"a":35716,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":35718,"t":"code","b":[133,39],"m":"sta","oa":39,"o":"marker_x"},{"a":35720,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":35722,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":35724,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":35726,"t":"code","b":[16,99],"m":"bpl","oa":35827,"o":"b_8BF3"},{"a":35728,"l":"b_8B90","t":"code","b":[32,176,120],"m":"jsr","oa":30896,"o":"map_room_index","x":[35711]},{"a":35731,"t":"code","b":[200],"m":"iny"},{"a":35732,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35734,"l":"j_8B96","t":"code","b":[133,127],"m":"sta","oa":127,"o":"entry_side","x":[35818]},{"a":35736,"t":"code","b":[185,150,255],"m":"lda","oa":65430,"o":"f_FF96,y"},{"a":35739,"t":"code","b":[133,126],"m":"sta","oa":126,"o":"room_no"},{"a":35741,"t":"code","b":[32,85,162],"m":"jsr","oa":41557,"o":"room_wipe_out"},{"a":35744,"t":"code","b":[32,156,163],"m":"jsr","oa":41884,"o":"draw_room"},{"a":35747,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":35749,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":35752,"t":"code","b":[32,247,162],"m":"jsr","oa":41719,"o":"room_wipe_in"},{"a":35755,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":35757,"t":"code","b":[134,71],"m":"stx","oa":71,"o":"robots_wait"},{"a":35759,"t":"code","b":[154],"m":"txs"},{"a":35760,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":35762,"t":"code","b":[201,17],"m":"cmp","o":"#$11"},{"a":35764,"t":"code","b":[240,25],"m":"beq","oa":35791,"o":"b_8BCF"},{"a":35766,"t":"code","b":[201,27],"m":"cmp","o":"#$1B"},{"a":35768,"t":"code","b":[240,21],"m":"beq","oa":35791,"o":"b_8BCF"},{"a":35770,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":35772,"t":"code","b":[240,17],"m":"beq","oa":35791,"o":"b_8BCF"},{"a":35774,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":35776,"t":"code","b":[240,13],"m":"beq","oa":35791,"o":"b_8BCF"},{"a":35778,"t":"code","b":[165,193],"m":"lda","oa":193,"o":"hours_passed"},{"a":35780,"t":"code","b":[240,9],"m":"beq","oa":35791,"o":"b_8BCF"},{"a":35782,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35784,"t":"code","b":[133,193],"m":"sta","oa":193,"o":"hours_passed"},{"a":35786,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":35788,"t":"code","b":[32,217,190],"m":"jsr","oa":48857,"o":"say_line"},{"a":35791,"l":"b_8BCF","t":"code","b":[76,73,114],"m":"jmp","oa":29257,"o":"room_loop","x":[35764,35768,35772,35776,35780]},{"a":35794,"l":"b_8BD2","t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left","x":[35696]},{"a":35797,"t":"code","b":[106],"m":"ror","o":"a"},{"a":35798,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":35800,"t":"code","b":[176,109],"m":"bcs","oa":35911,"o":"r_8C47"},{"a":35802,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room"},{"a":35804,"t":"code","b":[208,15],"m":"bne","oa":35821,"o":"b_8BED"},{"a":35806,"t":"code","b":[32,176,120],"m":"jsr","oa":30896,"o":"map_room_index"},{"a":35809,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x"},{"a":35811,"t":"code","b":[56],"m":"sec"},{"a":35812,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":35814,"t":"code","b":[133,39],"m":"sta","oa":39,"o":"marker_x"},{"a":35816,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":35818,"t":"code","b":[76,150,139],"m":"jmp","oa":35734,"o":"j_8B96"},{"a":35821,"l":"b_8BED","t":"code","b":[162,14],"m":"ldx","o":"#$0E","x":[35804]},{"a":35823,"t":"code","b":[160,81],"m":"ldy","o":"#$51"},{"a":35825,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35827,"l":"b_8BF3","t":"code","b":[133,128],"m":"sta","oa":128,"o":"exit_side","x":[35726]},{"a":35829,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":35832,"t":"code","b":[134,50],"m":"stx","oa":50,"o":"agent_xbits"},{"a":35834,"t":"code","b":[132,44],"m":"sty","oa":44,"o":"agent_x"},{"a":35836,"t":"code","b":[132,46],"m":"sty","oa":46,"o":"agent_x2"},{"a":35838,"t":"code","b":[132,48],"m":"sty","oa":48,"o":"agent_x3"},{"a":35840,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":35842,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":35845,"t":"code","b":[32,176,120],"m":"jsr","oa":30896,"o":"map_room_index"},{"a":35848,"t":"code","b":[24],"m":"clc"},{"a":35849,"t":"code","b":[101,127],"m":"adc","oa":127,"o":"entry_side"},{"a":35851,"t":"code","b":[133,43],"m":"sta","oa":43,"o":"map_index"},{"a":35853,"t":"code","b":[32,86,183],"m":"jsr","oa":46934,"o":"reveal_room_cell"},{"a":35856,"t":"code","b":[165,128],"m":"lda","oa":128,"o":"exit_side"},{"a":35858,"t":"code","b":[197,127],"m":"cmp","oa":127,"o":"entry_side"},{"a":35860,"t":"code","b":[240,34],"m":"beq","oa":35896,"o":"b_8C38"},{"a":35862,"t":"code","b":[164,43],"m":"ldy","oa":43,"o":"map_index"},{"a":35864,"t":"code","b":[185,150,255],"m":"lda","oa":65430,"o":"f_FF96,y"},{"a":35867,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":35869,"t":"code","b":[176,25],"m":"bcs","oa":35896,"o":"b_8C38"},{"a":35871,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":35873,"t":"code","b":[144,21],"m":"bcc","oa":35896,"o":"b_8C38"},{"a":35875,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":35877,"t":"code","b":[69,127],"m":"eor","oa":127,"o":"entry_side"},{"a":35879,"t":"code","b":[240,8],"m":"beq","oa":35889,"o":"b_8C31"},{"a":35881,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":35883,"t":"code","b":[56],"m":"sec"},{"a":35884,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":35886,"t":"code","b":[76,54,140],"m":"jmp","oa":35894,"o":"j_8C36"},{"a":35889,"l":"b_8C31","t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y","x":[35879]},{"a":35891,"t":"code","b":[24],"m":"clc"},{"a":35892,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":35894,"l":"j_8C36","t":"code","b":[133,40],"m":"sta","oa":40,"o":"marker_y","x":[35886]},{"a":35896,"l":"b_8C38","t":"code","b":[32,85,162],"m":"jsr","oa":41557,"o":"room_wipe_out","x":[35860,35869,35873]},{"a":35899,"t":"code","b":[32,70,175],"m":"jsr","oa":44870,"o":"enter_shaft"},{"a":35902,"t":"code","b":[32,247,162],"m":"jsr","oa":41719,"o":"room_wipe_in"},{"a":35905,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":35907,"t":"code","b":[154],"m":"txs"},{"a":35908,"t":"code","b":[76,207,57],"m":"jmp","oa":14799,"o":"lift_loop"},{"a":35911,"l":"r_8C47","t":"code","b":[96],"m":"rts","x":[35706,35800]},{"a":35912,"l":"agent_top","c":"The agent's top edge: Y of sprite 1 + the frame's offset from tbl_agent_top ($8DB3), at least $33.","t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no","x":[34528,34558,35137,38117]},{"a":35914,"t":"code","b":[185,179,141],"m":"lda","oa":36275,"o":"tbl_agent_top,y"},{"a":35917,"t":"code","b":[24],"m":"clc"},{"a":35918,"t":"code","b":[101,45],"m":"adc","oa":45,"o":"agent_y"},{"a":35920,"t":"code","b":[201,51],"m":"cmp","o":"#$33"},{"a":35922,"t":"code","b":[176,2],"m":"bcs","oa":35926,"o":"r_8C56"},{"a":35924,"t":"code","b":[169,51],"m":"lda","o":"#$33"},{"a":35926,"l":"r_8C56","t":"code","b":[96],"m":"rts","x":[35922]},{"a":35927,"l":"agent_bottom","c":"The agent's feet: Y of sprite 1 + the frame's offset from tbl_agent_bottom ($8DCF).","t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no","x":[34372,34470,34478,34563,35142,37536,38122,39900,44174,44605]},{"a":35929,"t":"code","b":[185,207,141],"m":"lda","oa":36303,"o":"tbl_agent_bottom,y"},{"a":35932,"t":"code","b":[24],"m":"clc"},{"a":35933,"t":"code","b":[101,45],"m":"adc","oa":45,"o":"agent_y"},{"a":35935,"t":"code","b":[96],"m":"rts"},{"a":35936,"l":"agent_left","c":"The agent's left edge in X, from sprite 1's X and the frame's offsets ($8DEB facing left, $8E07 facing right); the ninth bit comes back in the carry.","t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits","x":[34380,34571,35109,35159,35794,37543,38131,39880,44185,44612]},{"a":35938,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":35940,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35941,"t":"code","b":[133,121],"m":"sta","oa":121,"o":"bit9_tmp"},{"a":35943,"t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no"},{"a":35945,"t":"code","b":[165,80],"m":"lda","oa":80,"o":"facing"},{"a":35947,"t":"code","b":[16,24],"m":"bpl","oa":35973,"o":"b_8C85"},{"a":35949,"t":"code","b":[185,235,141],"m":"lda","oa":36331,"o":"tbl_agent_left,y"},{"a":35952,"t":"code","b":[16,12],"m":"bpl","oa":35966,"o":"b_8C7E"},{"a":35954,"t":"code","b":[24],"m":"clc"},{"a":35955,"t":"code","b":[101,44],"m":"adc","oa":44,"o":"agent_x"},{"a":35957,"t":"code","b":[176,4],"m":"bcs","oa":35963,"o":"b_8C7B"},{"a":35959,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":35961,"t":"code","b":[132,121],"m":"sty","oa":121,"o":"bit9_tmp"},{"a":35963,"l":"b_8C7B","t":"code","b":[70,121],"m":"lsr","oa":121,"o":"bit9_tmp","x":[35957,35969]},{"a":35965,"t":"code","b":[96],"m":"rts"},{"a":35966,"l":"b_8C7E","t":"code","b":[24],"m":"clc","x":[35952]},{"a":35967,"t":"code","b":[101,44],"m":"adc","oa":44,"o":"agent_x"},{"a":35969,"t":"code","b":[144,248],"m":"bcc","oa":35963,"o":"b_8C7B"},{"a":35971,"t":"code","b":[56],"m":"sec"},{"a":35972,"t":"code","b":[96],"m":"rts"},{"a":35973,"l":"b_8C85","t":"code","b":[169,23],"m":"lda","o":"#$17","x":[35947]},{"a":35975,"t":"code","b":[56],"m":"sec"},{"a":35976,"t":"code","b":[249,7,142],"m":"sbc","oa":36359,"o":"tbl_agent_right,y"},{"a":35979,"t":"code","b":[24],"m":"clc"},{"a":35980,"t":"code","b":[101,44],"m":"adc","oa":44,"o":"agent_x"},{"a":35982,"t":"code","b":[144,4],"m":"bcc","oa":35988,"o":"b_8C94"},{"a":35984,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":35986,"t":"code","b":[132,121],"m":"sty","oa":121,"o":"bit9_tmp"},{"a":35988,"l":"b_8C94","t":"code","b":[70,121],"m":"lsr","oa":121,"o":"bit9_tmp","x":[35982]},{"a":35990,"t":"code","b":[96],"m":"rts"},{"a":35991,"l":"agent_right","c":"The agent's right edge in X, the mirror of agent_left.","t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits","x":[34425,34577,35079,35165,35698,38137,44696]},{"a":35993,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":35995,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":35996,"t":"code","b":[133,121],"m":"sta","oa":121,"o":"bit9_tmp"},{"a":35998,"t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no"},{"a":36000,"t":"code","b":[165,80],"m":"lda","oa":80,"o":"facing"},{"a":36002,"t":"code","b":[16,15],"m":"bpl","oa":36019,"o":"b_8CB3"},{"a":36004,"t":"code","b":[185,7,142],"m":"lda","oa":36359,"o":"tbl_agent_right,y"},{"a":36007,"t":"code","b":[24],"m":"clc"},{"a":36008,"t":"code","b":[101,44],"m":"adc","oa":44,"o":"agent_x"},{"a":36010,"t":"code","b":[144,4],"m":"bcc","oa":36016,"o":"b_8CB0"},{"a":36012,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":36014,"t":"code","b":[132,121],"m":"sty","oa":121,"o":"bit9_tmp"},{"a":36016,"l":"b_8CB0","t":"code","b":[70,121],"m":"lsr","oa":121,"o":"bit9_tmp","x":[36010]},{"a":36018,"t":"code","b":[96],"m":"rts"},{"a":36019,"l":"b_8CB3","t":"code","b":[169,23],"m":"lda","o":"#$17","x":[36002]},{"a":36021,"t":"code","b":[56],"m":"sec"},{"a":36022,"t":"code","b":[249,235,141],"m":"sbc","oa":36331,"o":"tbl_agent_left,y"},{"a":36025,"t":"code","b":[24],"m":"clc"},{"a":36026,"t":"code","b":[101,44],"m":"adc","oa":44,"o":"agent_x"},{"a":36028,"t":"code","b":[144,4],"m":"bcc","oa":36034,"o":"b_8CC2"},{"a":36030,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":36032,"t":"code","b":[132,121],"m":"sty","oa":121,"o":"bit9_tmp"},{"a":36034,"l":"b_8CC2","t":"code","b":[70,121],"m":"lsr","oa":121,"o":"bit9_tmp","x":[36028]},{"a":36036,"t":"code","b":[96],"m":"rts"},{"a":36037,"l":"solid_at","c":"Tests the screen cell under a point: Y = raster line, X/carry = X position (nine bits). Converts to a cell of the screen at $4000 (row (Y - $32)/8, column (X - 24)/8) and returns carry set if the glyph there is a solid one, $45-$51 (floors, platforms and walls). Off the screen it returns carry clear. The row address is left in $7C/$7D.","t":"code","b":[8],"m":"php","x":[34395,34433,35356,35384,35446,35470,35504,35529,35539,35564,37554,37873,37922,37965,38002,44744]},{"a":36038,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":36040,"t":"code","b":[133,123],"m":"sta","oa":123,"o":"cell_row_hi"},{"a":36042,"t":"code","b":[152],"m":"tya"},{"a":36043,"t":"code","b":[56],"m":"sec"},{"a":36044,"t":"code","b":[233,50],"m":"sbc","o":"#$32"},{"a":36046,"t":"code","b":[144,52],"m":"bcc","oa":36100,"o":"b_8D04"},{"a":36048,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":36050,"t":"code","b":[133,122],"m":"sta","oa":122,"o":"cell_row"},{"a":36052,"t":"code","b":[10],"m":"asl","o":"a"},{"a":36053,"t":"code","b":[38,123],"m":"rol","oa":123,"o":"cell_row_hi"},{"a":36055,"t":"code","b":[10],"m":"asl","o":"a"},{"a":36056,"t":"code","b":[38,123],"m":"rol","oa":123,"o":"cell_row_hi"},{"a":36058,"t":"code","b":[101,122],"m":"adc","oa":122,"o":"cell_row"},{"a":36060,"t":"code","b":[144,2],"m":"bcc","oa":36064,"o":"b_8CE0"},{"a":36062,"t":"code","b":[230,123],"m":"inc","oa":123,"o":"cell_row_hi"},{"a":36064,"l":"b_8CE0","t":"code","b":[133,124],"m":"sta","oa":124,"o":"cell_ptr","x":[36060]},{"a":36066,"t":"code","b":[165,123],"m":"lda","oa":123,"o":"cell_row_hi"},{"a":36068,"t":"code","b":[24],"m":"clc"},{"a":36069,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":36071,"t":"code","b":[133,125],"m":"sta","oa":125,"o":"cell_ptr_hi"},{"a":36073,"t":"code","b":[138],"m":"txa"},{"a":36074,"t":"code","b":[40],"m":"plp"},{"a":36075,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36076,"t":"code","b":[56],"m":"sec"},{"a":36077,"t":"code","b":[233,12],"m":"sbc","o":"#$0C"},{"a":36079,"t":"code","b":[144,20],"m":"bcc","oa":36101,"o":"b_8D05"},{"a":36081,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36082,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36083,"t":"code","b":[168],"m":"tay"},{"a":36084,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":36086,"t":"code","b":[176,13],"m":"bcs","oa":36101,"o":"b_8D05"},{"a":36088,"t":"code","b":[177,124],"m":"lda","oa":124,"o":"(cell_ptr),y"},{"a":36090,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":36092,"t":"code","b":[144,7],"m":"bcc","oa":36101,"o":"b_8D05"},{"a":36094,"t":"code","b":[201,82],"m":"cmp","o":"#$52"},{"a":36096,"t":"code","b":[176,3],"m":"bcs","oa":36101,"o":"b_8D05"},{"a":36098,"t":"code","b":[56],"m":"sec"},{"a":36099,"t":"code","b":[96],"m":"rts"},{"a":36100,"l":"b_8D04","t":"code","b":[40],"m":"plp","x":[36046]},{"a":36101,"l":"b_8D05","t":"code","b":[24],"m":"clc","x":[36079,36086,36092,36096]},{"a":36102,"t":"code","b":[96],"m":"rts"},{"a":36103,"l":"tbl_somersault_dy1","c":"Vertical step of sprite 1 in each of the twelve somersault frames ($10-$1B), signed: the arc of the jump.","t":"byte","b":[0,12,254,1,0,0,1,0],"x":[34949]},{"a":36111,"t":"byte","b":[255,248,253,0]},{"a":36115,"l":"tbl_somersault_dy2","c":"Vertical step of sprite 2 in each somersault frame.","t":"byte","b":[0,0,254,1,1,0,0,0],"x":[34957]},{"a":36123,"t":"byte","b":[0,0,0,0]},{"a":36127,"l":"tbl_somersault_dy3","c":"Vertical step of sprite 3 in each somersault frame.","t":"byte","b":[0,0,16,1,3,0,1,0],"x":[34965]},{"a":36135,"t":"byte","b":[255,248,244,0]},{"a":36139,"l":"tbl_somersault_dx","c":"Horizontal step of sprites 1 and 2 in each somersault frame, facing right (negated facing left).","t":"byte","b":[254,7,7,12,3,6,7,8],"x":[35006]},{"a":36147,"t":"byte","b":[12,2,6,8]},{"a":36151,"l":"tbl_somersault_dx3","c":"Horizontal step of sprite 3 in each somersault frame.","t":"byte","b":[254,7,255,12,11,6,7,8],"x":[34970]},{"a":36159,"t":"byte","b":[12,2,6,8]},{"a":36163,"l":"tbl_agent_pointers","c":"Sprite pointer of the agent's first sprite for each of the 28 frames $00-$1B: walk $80-$98 (twice, for the two strides), standing $9C, $0F $9F, somersault $BD down to $A2.","t":"byte","b":[128,132,136,140,144,148,152,128],"x":[34619]},{"a":36171,"t":"byte","b":[132,136,140,144,148,152,156,159]},{"a":36179,"t":"byte","b":[189,186,183,180,178,176,174,172]},{"a":36187,"t":"byte","b":[170,168,165,162]},{"a":36191,"l":"tbl_agent_shapes","c":"Address of each frame's sprite shapes in bank 1 ($6000-$6FFF), for the in-place mirroring in agent_frame.","t":"word","b":[0,96,0,97,0,98,0,99],"d":[24576,24832,25088,25344],"x":[34663]},{"a":36192,"t":"note","l":"f_8D60","c":"High bytes of tbl_agent_shapes, read with `ldy $8D60,x`.","note":"inside the item at $8D5F","x":[34688]},{"a":36199,"t":"word","b":[0,100,0,101,0,102,0,96],"d":[25600,25856,26112,24576]},{"a":36207,"t":"word","b":[0,97,0,98,0,99,0,100],"d":[24832,25088,25344,25600]},{"a":36215,"t":"word","b":[0,101,0,102,0,103,192,103],"d":[25856,26112,26368,26560]},{"a":36223,"t":"word","b":[64,111,128,110,192,109,0,109],"d":[28480,28288,28096,27904]},{"a":36231,"t":"word","b":[128,108,0,108,128,107,0,107],"d":[27776,27648,27520,27392]},{"a":36239,"t":"word","b":[128,106,0,106,64,105,128,104],"d":[27264,27136,26944,26752]},{"a":36247,"l":"tbl_agent_mirror_end","c":"Where the mirroring of each frame stops: $FC for the frames of three sprites, $BC and $7C for those of fewer.","t":"byte","b":[252,252,252,252,252,252,252,252],"x":[34727]},{"a":36255,"t":"byte","b":[252,252,252,252,252,252,188,188]},{"a":36263,"t":"byte","b":[188,188,188,188,124,124,124,124]},{"a":36271,"t":"byte","b":[124,124,188,188]},{"a":36275,"l":"tbl_agent_top","c":"Offset from sprite 1's Y to the agent's top edge, for each of the 28 frames.","t":"byte","b":[1,0,255,0,0,1,1,1],"x":[35914]},{"a":36283,"t":"byte","b":[0,255,0,0,1,1,2,0]},{"a":36291,"t":"byte","b":[0,7,3,4,4,0,1,5]},{"a":36299,"t":"byte","b":[8,1,4,7]},{"a":36303,"l":"tbl_agent_bottom","c":"Offset from sprite 1's Y to the agent's feet, for each frame.","t":"byte","b":[29,28,27,27,29,29,29,29],"x":[35929]},{"a":36311,"t":"byte","b":[28,27,27,29,29,29,29,29]},{"a":36319,"t":"byte","b":[29,37,23,17,15,14,17,19]},{"a":36327,"t":"byte","b":[19,19,25,28]},{"a":36331,"l":"tbl_agent_left","c":"Offset of the agent's left edge from sprite 1's X for each frame (used for the trailing edge when facing right and the leading edge when facing left).","t":"byte","b":[5,2,0,2,4,4,5,5],"x":[35949,36022]},{"a":36339,"t":"byte","b":[2,0,2,4,3,3,5,1]},{"a":36347,"t":"byte","b":[3,6,254,248,2,8,8,7]},{"a":36355,"t":"byte","b":[0,4,3,0]},{"a":36359,"l":"tbl_agent_right","c":"Offset of the agent's other edge for each frame.","t":"byte","b":[21,23,23,23,22,20,17,21],"x":[35976,36004]},{"a":36367,"t":"byte","b":[23,23,23,22,20,17,16,21]},{"a":36375,"t":"byte","b":[19,20,22,21,23,21,21,23]},{"a":36383,"t":"byte","b":[23,21,19,23]},{"a":36387,"l":"agent_step_right","c":"Moves the agent's three sprites one pixel right, in the video chip and in $2C-$31; when sprite 1's X wraps to 0, sets the ninth X bits of sprites 1-3 ($32 = $0E, $D010).","t":"code","b":[162,4],"m":"ldx","o":"#$04","x":[34363]},{"a":36389,"l":"b_8E25","t":"code","b":[254,2,208],"m":"inc","o":"vic_sprite1_x,x","x":[36396]},{"a":36392,"t":"code","b":[246,44],"m":"inc","oa":44,"o":"agent_x,x"},{"a":36394,"t":"code","b":[202],"m":"dex"},{"a":36395,"t":"code","b":[202],"m":"dex"},{"a":36396,"t":"code","b":[16,247],"m":"bpl","oa":36389,"o":"b_8E25"},{"a":36398,"t":"code","b":[173,2,208],"m":"lda","o":"vic_sprite1_x"},{"a":36401,"t":"code","b":[208,13],"m":"bne","oa":36416,"o":"r_8E40"},{"a":36403,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":36405,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits"},{"a":36407,"t":"code","b":[8],"m":"php"},{"a":36408,"t":"code","b":[120],"m":"sei"},{"a":36409,"t":"code","b":[13,16,208],"m":"ora","o":"vic_sprite_x_msb"},{"a":36412,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":36415,"t":"code","b":[40],"m":"plp"},{"a":36416,"l":"r_8E40","t":"code","b":[96],"m":"rts","x":[36401]},{"a":36417,"l":"agent_step_left","c":"Moves the agent's three sprites one pixel left, clearing the ninth X bits when sprite 1's X is 0 before the step.","t":"code","b":[162,4],"m":"ldx","o":"#$04","x":[34369]},{"a":36419,"t":"code","b":[173,2,208],"m":"lda","o":"vic_sprite1_x"},{"a":36422,"t":"code","b":[208,15],"m":"bne","oa":36439,"o":"b_8E57"},{"a":36424,"t":"code","b":[8],"m":"php"},{"a":36425,"t":"code","b":[120],"m":"sei"},{"a":36426,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":36429,"t":"code","b":[41,241],"m":"and","o":"#$F1"},{"a":36431,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":36434,"t":"code","b":[40],"m":"plp"},{"a":36435,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":36437,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits"},{"a":36439,"l":"b_8E57","t":"code","b":[222,2,208],"m":"dec","o":"vic_sprite1_x,x","x":[36422,36446]},{"a":36442,"t":"code","b":[214,44],"m":"dec","oa":44,"o":"agent_x,x"},{"a":36444,"t":"code","b":[202],"m":"dex"},{"a":36445,"t":"code","b":[202],"m":"dex"},{"a":36446,"t":"code","b":[16,247],"m":"bpl","oa":36439,"o":"b_8E57"},{"a":36448,"t":"code","b":[96],"m":"rts"},{"a":36449,"l":"shaft_hide_sprite0","c":"In the shaft view ($1A = 0) parks sprite 0 at X $A0 or $CA depending on which side of the lift the agent stands.","t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room","x":[34598]},{"a":36451,"t":"code","b":[208,19],"m":"bne","oa":36472,"o":"r_8E78"},{"a":36453,"t":"code","b":[160,202],"m":"ldy","o":"#$CA"},{"a":36455,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"agent_xbits"},{"a":36457,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":36459,"t":"code","b":[208,8],"m":"bne","oa":36469,"o":"b_8E75"},{"a":36461,"t":"code","b":[165,44],"m":"lda","oa":44,"o":"agent_x"},{"a":36463,"t":"code","b":[201,172],"m":"cmp","o":"#$AC"},{"a":36465,"t":"code","b":[176,2],"m":"bcs","oa":36469,"o":"b_8E75"},{"a":36467,"t":"code","b":[160,160],"m":"ldy","o":"#$A0"},{"a":36469,"l":"b_8E75","t":"code","b":[140,0,208],"m":"sty","o":"vic_sprite0_x","x":[36459,36465]},{"a":36472,"l":"r_8E78","t":"code","b":[96],"m":"rts","x":[36451]},{"a":36473,"l":"footstep_sound","c":"The agent's footsteps: in a room unless $4E is set (a robot is firing), on the walk frames 0, 7 and $10 a short pulse on voice 3 (pitch by facing), and the gate off on the frames $0E, $0A and 3.","t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room","x":[34544]},{"a":36475,"t":"code","b":[240,4],"m":"beq","oa":36481,"o":"b_8E81"},{"a":36477,"t":"code","b":[165,78],"m":"lda","oa":78,"o":"robot_zapping"},{"a":36479,"t":"code","b":[208,74],"m":"bne","oa":36555,"o":"r_8ECB"},{"a":36481,"l":"b_8E81","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[36475]},{"a":36483,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":36486,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":36488,"t":"code","b":[240,32],"m":"beq","oa":36522,"o":"b_8EAA"},{"a":36490,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":36492,"t":"code","b":[240,28],"m":"beq","oa":36522,"o":"b_8EAA"},{"a":36494,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":36496,"t":"code","b":[240,24],"m":"beq","oa":36522,"o":"b_8EAA"},{"a":36498,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":36500,"t":"code","b":[208,6],"m":"bne","oa":36508,"o":"b_8E9C"},{"a":36502,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":36504,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":36507,"t":"code","b":[96],"m":"rts"},{"a":36508,"l":"b_8E9C","t":"code","b":[201,10],"m":"cmp","o":"#$0A","x":[36500]},{"a":36510,"t":"code","b":[240,4],"m":"beq","oa":36516,"o":"b_8EA4"},{"a":36512,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":36514,"t":"code","b":[208,39],"m":"bne","oa":36555,"o":"r_8ECB"},{"a":36516,"l":"b_8EA4","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[36510]},{"a":36518,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":36521,"t":"code","b":[96],"m":"rts"},{"a":36522,"l":"b_8EAA","t":"code","b":[162,134],"m":"ldx","o":"#$86","x":[36488,36492,36496]},{"a":36524,"t":"code","b":[160,30],"m":"ldy","o":"#$1E"},{"a":36526,"t":"code","b":[165,80],"m":"lda","oa":80,"o":"facing"},{"a":36528,"t":"code","b":[48,4],"m":"bmi","oa":36534,"o":"b_8EB6"},{"a":36530,"t":"code","b":[162,200],"m":"ldx","o":"#$C8"},{"a":36532,"t":"code","b":[160,243],"m":"ldy","o":"#$F3"},{"a":36534,"l":"b_8EB6","t":"code","b":[142,15,212],"m":"stx","o":"sid_v3_freq_hi","x":[36528]},{"a":36537,"t":"code","b":[140,14,212],"m":"sty","o":"sid_v3_freq_lo"},{"a":36540,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":36542,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":36545,"t":"code","b":[169,57],"m":"lda","o":"#$39"},{"a":36547,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":36550,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":36552,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":36555,"l":"r_8ECB","t":"code","b":[96],"m":"rts","x":[36479,36514]},{"a":36556,"l":"robots_run","c":"Runs the robots, one pass for all of them every frame from the interrupt (with $1A set). While a robot's turn is delayed ($47 not $FF) it only counts. Otherwise, for each robot from the last ($54, steps of 6 bytes from $55), it interprets that robot's behaviour script: each robot has a script pointer ($55,x) into the script table at $2112, a current command with its count ($57,x), and flags ($56,x). Commands (top bits of the byte): relative jumps (add the low 6 bits to the pointer); tests that skip the next command or not: the agent to the left or right of the robot, the agent on its level (within 20 lines), a random bit; set the robot's mode; fire the zap ($8F3F); turn ($90B6, stepping its sprite pointer between $C0, facing one way, and $C6, the other); move ($90FB) for the command's count of frames. Then the zap and footstep sound bookkeeping. $FF ends a command and fetches the next.","t":"code","b":[230,68],"m":"inc","oa":68,"o":"robot_frame","x":[33618]},{"a":36558,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":36560,"t":"code","b":[133,74],"m":"sta","oa":74,"o":"robot_turned"},{"a":36562,"t":"code","b":[133,78],"m":"sta","oa":78,"o":"robot_zapping"},{"a":36564,"t":"code","b":[133,79],"m":"sta","oa":79,"o":"zap_sound"},{"a":36566,"t":"code","b":[165,71],"m":"lda","oa":71,"o":"robots_wait"},{"a":36568,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":36570,"t":"code","b":[240,9],"m":"beq","oa":36581,"o":"b_8EE5"},{"a":36572,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":36574,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":36576,"t":"code","b":[208,2],"m":"bne","oa":36580,"o":"r_8EE4"},{"a":36578,"t":"code","b":[230,71],"m":"inc","oa":71,"o":"robots_wait"},{"a":36580,"l":"r_8EE4","t":"code","b":[96],"m":"rts","x":[36576,36583]},{"a":36581,"l":"b_8EE5","t":"code","b":[166,84],"m":"ldx","oa":84,"o":"last_robot","x":[36570]},{"a":36583,"t":"code","b":[48,251],"m":"bmi","oa":36580,"o":"r_8EE4"},{"a":36585,"t":"code","b":[32,17,146],"m":"jsr","oa":37393,"o":"robot_colours"},{"a":36588,"t":"code","b":[32,78,146],"m":"jsr","oa":37454,"o":"sound_robot_hum"},{"a":36591,"t":"code","b":[138],"m":"txa"},{"a":36592,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":36594,"t":"code","b":[56],"m":"sec"},{"a":36595,"l":"b_8EF3","t":"code","b":[200],"m":"iny","x":[36598]},{"a":36596,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":36598,"t":"code","b":[176,251],"m":"bcs","oa":36595,"o":"b_8EF3"},{"a":36600,"t":"code","b":[132,72],"m":"sty","oa":72,"o":"robot_no"},{"a":36602,"t":"code","b":[152],"m":"tya"},{"a":36603,"t":"code","b":[10],"m":"asl","o":"a"},{"a":36604,"t":"code","b":[133,73],"m":"sta","oa":73,"o":"robot_reg"},{"a":36606,"l":"j_8EFE","t":"code","b":[181,87],"m":"lda","oa":87,"o":"robot_command,x","x":[37337]},{"a":36608,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":36610,"t":"code","b":[208,9],"m":"bne","oa":36621,"o":"b_8F0D"},{"a":36612,"l":"j_8F04","t":"code","b":[180,85],"m":"ldy","oa":85,"o":"robot_script_ptr,x","x":[36644,36916,36926,36942]},{"a":36614,"t":"code","b":[246,85],"m":"inc","oa":85,"o":"robot_script_ptr,x"},{"a":36616,"t":"code","b":[185,18,33],"m":"lda","oa":8466,"o":"tbl_robot_scripts,y"},{"a":36619,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":36621,"l":"b_8F0D","t":"code","b":[168],"m":"tay","x":[36610,37031]},{"a":36622,"t":"code","b":[48,3],"m":"bmi","oa":36627,"o":"b_8F13"},{"a":36624,"t":"code","b":[76,182,144],"m":"jmp","oa":37046,"o":"robot_turn"},{"a":36627,"l":"b_8F13","t":"code","b":[10],"m":"asl","o":"a","x":[36622]},{"a":36628,"t":"code","b":[16,17],"m":"bpl","oa":36647,"o":"b_8F27"},{"a":36630,"t":"code","b":[10],"m":"asl","o":"a"},{"a":36631,"t":"code","b":[10],"m":"asl","o":"a"},{"a":36632,"t":"code","b":[152],"m":"tya"},{"a":36633,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":36635,"t":"code","b":[144,2],"m":"bcc","oa":36639,"o":"b_8F1F"},{"a":36637,"t":"code","b":[9,192],"m":"ora","o":"#$C0"},{"a":36639,"l":"b_8F1F","t":"code","b":[24],"m":"clc","x":[36635]},{"a":36640,"t":"code","b":[117,85],"m":"adc","oa":85,"o":"robot_script_ptr,x"},{"a":36642,"t":"code","b":[149,85],"m":"sta","oa":85,"o":"robot_script_ptr,x"},{"a":36644,"t":"code","b":[76,4,143],"m":"jmp","oa":36612,"o":"j_8F04"},{"a":36647,"l":"b_8F27","t":"code","b":[10],"m":"asl","o":"a","x":[36628]},{"a":36648,"t":"code","b":[16,3],"m":"bpl","oa":36653,"o":"b_8F2D"},{"a":36650,"t":"code","b":[76,170,144],"m":"jmp","oa":37034,"o":"robot_wait"},{"a":36653,"l":"b_8F2D","t":"code","b":[10],"m":"asl","o":"a","x":[36648]},{"a":36654,"t":"code","b":[48,3],"m":"bmi","oa":36659,"o":"b_8F33"},{"a":36656,"t":"code","b":[76,101,144],"m":"jmp","oa":36965,"o":"robot_face_agent"},{"a":36659,"l":"b_8F33","t":"code","b":[10],"m":"asl","o":"a","x":[36654]},{"a":36660,"t":"code","b":[16,3],"m":"bpl","oa":36665,"o":"b_8F39"},{"a":36662,"t":"code","b":[76,225,143],"m":"jmp","oa":36833,"o":"robot_test"},{"a":36665,"l":"b_8F39","t":"code","b":[10],"m":"asl","o":"a","x":[36660]},{"a":36666,"t":"code","b":[48,3],"m":"bmi","oa":36671,"o":"robot_zap"},{"a":36668,"t":"code","b":[76,81,144],"m":"jmp","oa":36945,"o":"robot_set_mode"},{"a":36671,"l":"robot_zap","c":"A robot fires: the zap sound ($926F); every 32 frames the zap's count runs down and ends it below $94. Only on its own frame (the tick's low two bits equal to the robot's number) and only when the robot faces fully left or right (pointer $C0 or $C6): sprite 0 becomes the zap, placed 9 pixels right or 22 left of the robot (abandoned off the screen's right), its shape one of four random pointers $14-$17, X-expanded, flickering white and blue.","t":"code","b":[32,111,146],"m":"jsr","oa":37487,"o":"sound_zap","x":[36666]},{"a":36674,"t":"code","b":[230,79],"m":"inc","oa":79,"o":"zap_sound"},{"a":36676,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":36678,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":36680,"t":"code","b":[208,14],"m":"bne","oa":36696,"o":"b_8F58"},{"a":36682,"t":"code","b":[136],"m":"dey"},{"a":36683,"t":"code","b":[148,87],"m":"sty","oa":87,"o":"robot_command,x"},{"a":36685,"t":"code","b":[192,148],"m":"cpy","o":"#$94"},{"a":36687,"t":"code","b":[176,7],"m":"bcs","oa":36696,"o":"b_8F58"},{"a":36689,"l":"b_8F51","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[36719,36750]},{"a":36691,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":36693,"l":"b_8F55","t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next","x":[36700]},{"a":36696,"l":"b_8F58","t":"code","b":[41,3],"m":"and","o":"#$03","x":[36680,36687]},{"a":36698,"t":"code","b":[197,72],"m":"cmp","oa":72,"o":"robot_no"},{"a":36700,"t":"code","b":[208,247],"m":"bne","oa":36693,"o":"b_8F55"},{"a":36702,"t":"code","b":[230,78],"m":"inc","oa":78,"o":"robot_zapping"},{"a":36704,"t":"code","b":[164,72],"m":"ldy","oa":72,"o":"robot_no"},{"a":36706,"t":"code","b":[185,252,67],"m":"lda","oa":17404,"o":"a_43FC,y"},{"a":36709,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":36711,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":36713,"t":"code","b":[240,6],"m":"beq","oa":36721,"o":"b_8F71"},{"a":36715,"t":"code","b":[160,234],"m":"ldy","o":"#$EA"},{"a":36717,"t":"code","b":[201,198],"m":"cmp","o":"#$C6"},{"a":36719,"t":"code","b":[208,224],"m":"bne","oa":36689,"o":"b_8F51"},{"a":36721,"l":"b_8F71","t":"code","b":[132,77],"m":"sty","oa":77,"o":"robot_tmp","x":[36713]},{"a":36723,"t":"code","b":[24],"m":"clc"},{"a":36724,"t":"code","b":[164,72],"m":"ldy","oa":72,"o":"robot_no"},{"a":36726,"t":"code","b":[185,108,14],"m":"lda","oa":3692,"o":"tbl_robot_xbit,y"},{"a":36729,"t":"code","b":[45,16,208],"m":"and","o":"vic_sprite_x_msb"},{"a":36732,"t":"code","b":[240,1],"m":"beq","oa":36735,"o":"b_8F7F"},{"a":36734,"t":"code","b":[56],"m":"sec"},{"a":36735,"l":"b_8F7F","t":"code","b":[164,73],"m":"ldy","oa":73,"o":"robot_reg","x":[36732]},{"a":36737,"t":"code","b":[185,8,208],"m":"lda","o":"vic_sprite4_x,y"},{"a":36740,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36741,"t":"code","b":[8],"m":"php"},{"a":36742,"t":"code","b":[24],"m":"clc"},{"a":36743,"t":"code","b":[101,77],"m":"adc","oa":77,"o":"robot_tmp"},{"a":36745,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":36747,"t":"code","b":[144,4],"m":"bcc","oa":36753,"o":"b_8F91"},{"a":36749,"t":"code","b":[40],"m":"plp"},{"a":36750,"t":"code","b":[76,81,143],"m":"jmp","oa":36689,"o":"b_8F51"},{"a":36753,"l":"b_8F91","t":"code","b":[40],"m":"plp","x":[36747]},{"a":36754,"t":"code","b":[42],"m":"rol","o":"a"},{"a":36755,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":36758,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":36761,"t":"code","b":[144,8],"m":"bcc","oa":36771,"o":"b_8FA3"},{"a":36763,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":36765,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":36768,"t":"code","b":[76,168,143],"m":"jmp","oa":36776,"o":"j_8FA8"},{"a":36771,"l":"b_8FA3","t":"code","b":[41,254],"m":"and","o":"#$FE","x":[36761]},{"a":36773,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":36776,"l":"j_8FA8","t":"code","b":[185,9,208],"m":"lda","o":"vic_sprite4_y,y","x":[36768]},{"a":36779,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":36782,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":36785,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":36787,"t":"code","b":[24],"m":"clc"},{"a":36788,"t":"code","b":[105,20],"m":"adc","o":"#$14"},{"a":36790,"t":"code","b":[141,248,67],"m":"sta","oa":17400,"o":"a_43F8"},{"a":36793,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":36795,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":36797,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":36799,"t":"code","b":[208,2],"m":"bne","oa":36803,"o":"b_8FC3"},{"a":36801,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":36803,"l":"b_8FC3","t":"code","b":[140,39,208],"m":"sty","o":"vic_sprite0_colour","x":[36799]},{"a":36806,"t":"code","b":[173,29,208],"m":"lda","o":"vic_sprite_expand_x"},{"a":36809,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":36811,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":36814,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":36817,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":36819,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":36822,"t":"code","b":[173,28,208],"m":"lda","o":"vic_sprite_multicolour"},{"a":36825,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":36827,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":36830,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":36833,"l":"robot_test","c":"The script's test commands: compare the agent's X with the robot's (left or right, flipped by the robot's facing) and the agent's Y with the robot's (within $14 lines); the result decides whether the next command is skipped. A further form skips on a random bit ($904C).","t":"code","b":[10],"m":"asl","o":"a","x":[36662]},{"a":36834,"t":"code","b":[48,93],"m":"bmi","oa":36929,"o":"b_9041"},{"a":36836,"t":"code","b":[10],"m":"asl","o":"a"},{"a":36837,"t":"code","b":[16,80],"m":"bpl","oa":36919,"o":"b_9037"},{"a":36839,"t":"code","b":[10],"m":"asl","o":"a"},{"a":36840,"t":"code","b":[72],"m":"pha"},{"a":36841,"t":"code","b":[164,73],"m":"ldy","oa":73,"o":"robot_reg"},{"a":36843,"t":"code","b":[185,8,208],"m":"lda","o":"vic_sprite4_x,y"},{"a":36846,"t":"code","b":[133,77],"m":"sta","oa":77,"o":"robot_tmp"},{"a":36848,"t":"code","b":[164,72],"m":"ldy","oa":72,"o":"robot_no"},{"a":36850,"t":"code","b":[24],"m":"clc"},{"a":36851,"t":"code","b":[185,108,14],"m":"lda","oa":3692,"o":"tbl_robot_xbit,y"},{"a":36854,"t":"code","b":[45,16,208],"m":"and","o":"vic_sprite_x_msb"},{"a":36857,"t":"code","b":[240,1],"m":"beq","oa":36860,"o":"b_8FFC"},{"a":36859,"t":"code","b":[56],"m":"sec"},{"a":36860,"l":"b_8FFC","t":"code","b":[102,77],"m":"ror","oa":77,"o":"robot_tmp","x":[36857]},{"a":36862,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":36865,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36866,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36867,"t":"code","b":[173,2,208],"m":"lda","o":"vic_sprite1_x"},{"a":36870,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36871,"t":"code","b":[197,77],"m":"cmp","oa":77,"o":"robot_tmp"},{"a":36873,"t":"code","b":[102,77],"m":"ror","oa":77,"o":"robot_tmp"},{"a":36875,"t":"code","b":[185,252,67],"m":"lda","oa":17404,"o":"a_43FC,y"},{"a":36878,"t":"code","b":[201,195],"m":"cmp","o":"#$C3"},{"a":36880,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36881,"t":"code","b":[69,77],"m":"eor","oa":77,"o":"robot_tmp"},{"a":36883,"t":"code","b":[133,77],"m":"sta","oa":77,"o":"robot_tmp"},{"a":36885,"t":"code","b":[164,73],"m":"ldy","oa":73,"o":"robot_reg"},{"a":36887,"t":"code","b":[185,9,208],"m":"lda","o":"vic_sprite4_y,y"},{"a":36890,"t":"code","b":[56],"m":"sec"},{"a":36891,"t":"code","b":[237,7,208],"m":"sbc","o":"vic_sprite3_y"},{"a":36894,"t":"code","b":[176,4],"m":"bcs","oa":36900,"o":"b_9024"},{"a":36896,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":36898,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":36900,"l":"b_9024","t":"code","b":[201,20],"m":"cmp","o":"#$14","x":[36894]},{"a":36902,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36903,"t":"code","b":[73,128],"m":"eor","o":"#$80"},{"a":36905,"t":"code","b":[37,77],"m":"and","oa":77,"o":"robot_tmp"},{"a":36907,"t":"code","b":[133,77],"m":"sta","oa":77,"o":"robot_tmp"},{"a":36909,"t":"code","b":[104],"m":"pla"},{"a":36910,"t":"code","b":[69,77],"m":"eor","oa":77,"o":"robot_tmp"},{"a":36912,"t":"code","b":[16,2],"m":"bpl","oa":36916,"o":"b_9034"},{"a":36914,"t":"code","b":[246,85],"m":"inc","oa":85,"o":"robot_script_ptr,x"},{"a":36916,"l":"b_9034","t":"code","b":[76,4,143],"m":"jmp","oa":36612,"o":"j_8F04","x":[36912]},{"a":36919,"l":"b_9037","t":"code","b":[10],"m":"asl","o":"a","x":[36837]},{"a":36920,"t":"code","b":[85,86],"m":"eor","oa":86,"o":"robot_mode,x"},{"a":36922,"t":"code","b":[48,2],"m":"bmi","oa":36926,"o":"b_903E"},{"a":36924,"t":"code","b":[246,85],"m":"inc","oa":85,"o":"robot_script_ptr,x"},{"a":36926,"l":"b_903E","t":"code","b":[76,4,143],"m":"jmp","oa":36612,"o":"j_8F04","x":[36922]},{"a":36929,"l":"b_9041","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[36834]},{"a":36931,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":36933,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":36936,"t":"code","b":[36,235],"m":"bit","oa":235,"o":"random_lo"},{"a":36938,"t":"code","b":[80,2],"m":"bvc","oa":36942,"o":"b_904E"},{"a":36940,"t":"code","b":[246,85],"m":"inc","oa":85,"o":"robot_script_ptr,x"},{"a":36942,"l":"b_904E","t":"code","b":[76,4,143],"m":"jmp","oa":36612,"o":"j_8F04","x":[36938]},{"a":36945,"l":"robot_set_mode","c":"Script command: sets the robot's mode bits (low two bits of $56,x) from the command, then fetches the next command. Mode 1 makes the robot move on alternate frames only (half speed, at $9111).","t":"code","b":[152],"m":"tya","x":[36668]},{"a":36946,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":36948,"t":"code","b":[133,77],"m":"sta","oa":77,"o":"robot_tmp"},{"a":36950,"t":"code","b":[181,86],"m":"lda","oa":86,"o":"robot_mode,x"},{"a":36952,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":36954,"t":"code","b":[5,77],"m":"ora","oa":77,"o":"robot_tmp"},{"a":36956,"t":"code","b":[149,86],"m":"sta","oa":86,"o":"robot_mode,x"},{"a":36958,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":36960,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":36962,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":36965,"l":"robot_face_agent","c":"Script command: turns the robot towards the agent: compares the agent's and the robot's X and chooses the turn command that rotates the robot's pointer towards $C0 or $C6, unless it already faces that way.","t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb","x":[36656]},{"a":36968,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36969,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":36970,"t":"code","b":[173,2,208],"m":"lda","o":"vic_sprite1_x"},{"a":36973,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36974,"t":"code","b":[133,77],"m":"sta","oa":77,"o":"robot_tmp"},{"a":36976,"t":"code","b":[24],"m":"clc"},{"a":36977,"t":"code","b":[164,72],"m":"ldy","oa":72,"o":"robot_no"},{"a":36979,"t":"code","b":[185,108,14],"m":"lda","oa":3692,"o":"tbl_robot_xbit,y"},{"a":36982,"t":"code","b":[45,16,208],"m":"and","o":"vic_sprite_x_msb"},{"a":36985,"t":"code","b":[240,1],"m":"beq","oa":36988,"o":"b_907C"},{"a":36987,"t":"code","b":[56],"m":"sec"},{"a":36988,"l":"b_907C","t":"code","b":[164,73],"m":"ldy","oa":73,"o":"robot_reg","x":[36985]},{"a":36990,"t":"code","b":[185,8,208],"m":"lda","o":"vic_sprite4_x,y"},{"a":36993,"t":"code","b":[106],"m":"ror","o":"a"},{"a":36994,"t":"code","b":[197,77],"m":"cmp","oa":77,"o":"robot_tmp"},{"a":36996,"t":"code","b":[181,87],"m":"lda","oa":87,"o":"robot_command,x"},{"a":36998,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":37000,"t":"code","b":[144,2],"m":"bcc","oa":37004,"o":"b_908C"},{"a":37002,"t":"code","b":[9,32],"m":"ora","o":"#$20"},{"a":37004,"l":"b_908C","t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x","x":[37000]},{"a":37006,"t":"code","b":[164,72],"m":"ldy","oa":72,"o":"robot_no"},{"a":37008,"t":"code","b":[185,252,67],"m":"lda","oa":17404,"o":"a_43FC,y"},{"a":37011,"t":"code","b":[133,77],"m":"sta","oa":77,"o":"robot_tmp"},{"a":37013,"t":"code","b":[160,192],"m":"ldy","o":"#$C0"},{"a":37015,"t":"code","b":[169,101],"m":"lda","o":"#$65"},{"a":37017,"t":"code","b":[144,4],"m":"bcc","oa":37023,"o":"b_909F"},{"a":37019,"t":"code","b":[160,198],"m":"ldy","o":"#$C6"},{"a":37021,"t":"code","b":[169,69],"m":"lda","o":"#$45"},{"a":37023,"l":"b_909F","t":"code","b":[196,77],"m":"cpy","oa":77,"o":"robot_tmp","x":[37017]},{"a":37025,"t":"code","b":[240,2],"m":"beq","oa":37029,"o":"b_90A5"},{"a":37027,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":37029,"l":"b_90A5","t":"code","b":[181,87],"m":"lda","oa":87,"o":"robot_command,x","x":[37025]},{"a":37031,"t":"code","b":[76,13,143],"m":"jmp","oa":36621,"o":"b_8F0D"},{"a":37034,"l":"robot_wait","c":"Script command: wait; counts the command down every fourth frame ($9293).","t":"code","b":[165,68],"m":"lda","oa":68,"o":"robot_frame","x":[36650]},{"a":37036,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":37038,"t":"code","b":[208,3],"m":"bne","oa":37043,"o":"b_90B3"},{"a":37040,"t":"code","b":[32,147,146],"m":"jsr","oa":37523,"o":"command_count"},{"a":37043,"l":"b_90B3","t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next","x":[37038]},{"a":37046,"l":"robot_turn","c":"Script command: turn one step every fourth frame, with the turning sound ($922A): the robot's sprite pointer ($43FC + robot) goes down towards $C0 or up towards $C6; the command ends when it gets there.","t":"code","b":[10],"m":"asl","o":"a","x":[36624]},{"a":37047,"t":"code","b":[16,66],"m":"bpl","oa":37115,"o":"robot_move"},{"a":37049,"t":"code","b":[10],"m":"asl","o":"a"},{"a":37050,"t":"code","b":[8],"m":"php"},{"a":37051,"t":"code","b":[32,42,146],"m":"jsr","oa":37418,"o":"sound_robot_turn"},{"a":37054,"t":"code","b":[165,68],"m":"lda","oa":68,"o":"robot_frame"},{"a":37056,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":37058,"t":"code","b":[240,4],"m":"beq","oa":37064,"o":"b_90C8"},{"a":37060,"t":"code","b":[40],"m":"plp"},{"a":37061,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":37064,"l":"b_90C8","t":"code","b":[32,147,146],"m":"jsr","oa":37523,"o":"command_count","x":[37058]},{"a":37067,"t":"code","b":[164,72],"m":"ldy","oa":72,"o":"robot_no"},{"a":37069,"t":"code","b":[185,252,67],"m":"lda","oa":17404,"o":"a_43FC,y"},{"a":37072,"t":"code","b":[40],"m":"plp"},{"a":37073,"t":"code","b":[16,20],"m":"bpl","oa":37095,"o":"b_90E7"},{"a":37075,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":37077,"t":"code","b":[208,7],"m":"bne","oa":37086,"o":"b_90DE"},{"a":37079,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37081,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":37083,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":37086,"l":"b_90DE","t":"code","b":[56],"m":"sec","x":[37077]},{"a":37087,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":37089,"t":"code","b":[153,252,67],"m":"sta","oa":17404,"o":"a_43FC,y"},{"a":37092,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":37095,"l":"b_90E7","t":"code","b":[201,198],"m":"cmp","o":"#$C6","x":[37073]},{"a":37097,"t":"code","b":[208,7],"m":"bne","oa":37106,"o":"b_90F2"},{"a":37099,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37101,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":37103,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":37106,"l":"b_90F2","t":"code","b":[24],"m":"clc","x":[37097]},{"a":37107,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":37109,"t":"code","b":[153,252,67],"m":"sta","oa":17404,"o":"a_43FC,y"},{"a":37112,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":37115,"l":"robot_move","c":"Script command: moves the robot one pixel (or a step on alternate frames in mode 1) left or right along its platform. Before each step it looks at the floor glyph below the robot's leading edge (through the robot's screen pointer $58/$59,x) and stops (sets bit 7 of $56,x and ends the command) where the floor ($45/$46) ends, so a robot never walks off its platform. When the agent is riding a lift platform (frame $0F) it checks the lift's glyphs too ($948C). Keeps the sub-cell position in $5A,x and carries into the ninth X bit.","t":"code","b":[32,147,146],"m":"jsr","oa":37523,"o":"command_count","x":[37047]},{"a":37118,"t":"code","b":[181,88],"m":"lda","oa":88,"o":"robot_screen_ptr,x"},{"a":37120,"t":"code","b":[133,69],"m":"sta","oa":69,"o":"robot_floor_ptr"},{"a":37122,"t":"code","b":[181,89],"m":"lda","oa":89,"o":"robot_screen_ptr_hi,x"},{"a":37124,"t":"code","b":[133,70],"m":"sta","oa":70,"o":"robot_floor_ptr_hi"},{"a":37126,"t":"code","b":[181,86],"m":"lda","oa":86,"o":"robot_mode,x"},{"a":37128,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":37130,"t":"code","b":[240,15],"m":"beq","oa":37147,"o":"b_911B"},{"a":37132,"t":"code","b":[56],"m":"sec"},{"a":37133,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":37135,"t":"code","b":[208,10],"m":"bne","oa":37147,"o":"b_911B"},{"a":37137,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":37139,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37140,"t":"code","b":[144,3],"m":"bcc","oa":37145,"o":"b_9119"},{"a":37142,"t":"code","b":[76,204,145],"m":"jmp","oa":37324,"o":"robots_next"},{"a":37145,"l":"b_9119","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[37140]},{"a":37147,"l":"b_911B","t":"code","b":[133,77],"m":"sta","oa":77,"o":"robot_tmp","x":[37130,37135]},{"a":37149,"t":"code","b":[22,86],"m":"asl","oa":86,"o":"robot_mode,x"},{"a":37151,"t":"code","b":[86,86],"m":"lsr","oa":86,"o":"robot_mode,x"},{"a":37153,"t":"code","b":[152],"m":"tya"},{"a":37154,"t":"code","b":[10],"m":"asl","o":"a"},{"a":37155,"t":"code","b":[10],"m":"asl","o":"a"},{"a":37156,"t":"code","b":[16,83],"m":"bpl","oa":37241,"o":"b_9179"},{"a":37158,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":37160,"t":"code","b":[198,70],"m":"dec","oa":70,"o":"robot_floor_ptr_hi"},{"a":37162,"t":"code","b":[177,69],"m":"lda","oa":69,"o":"(robot_floor_ptr),y"},{"a":37164,"t":"code","b":[230,70],"m":"inc","oa":70,"o":"robot_floor_ptr_hi"},{"a":37166,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":37168,"t":"code","b":[240,37],"m":"beq","oa":37207,"o":"b_9157"},{"a":37170,"t":"code","b":[201,70],"m":"cmp","o":"#$46"},{"a":37172,"t":"code","b":[240,33],"m":"beq","oa":37207,"o":"b_9157"},{"a":37174,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":37176,"t":"code","b":[201,15],"m":"cmp","o":"#$0F"},{"a":37178,"t":"code","b":[208,24],"m":"bne","oa":37204,"o":"b_9154"},{"a":37180,"t":"code","b":[165,69],"m":"lda","oa":69,"o":"robot_floor_ptr"},{"a":37182,"t":"code","b":[133,124],"m":"sta","oa":124,"o":"cell_ptr"},{"a":37184,"t":"code","b":[164,70],"m":"ldy","oa":70,"o":"robot_floor_ptr_hi"},{"a":37186,"t":"code","b":[136],"m":"dey"},{"a":37187,"t":"code","b":[132,125],"m":"sty","oa":125,"o":"cell_ptr_hi"},{"a":37189,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":37191,"t":"code","b":[32,140,148],"m":"jsr","oa":38028,"o":"platform_at"},{"a":37194,"t":"code","b":[144,8],"m":"bcc","oa":37204,"o":"b_9154"},{"a":37196,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":37198,"t":"code","b":[240,7],"m":"beq","oa":37207,"o":"b_9157"},{"a":37200,"t":"code","b":[201,70],"m":"cmp","o":"#$46"},{"a":37202,"t":"code","b":[240,3],"m":"beq","oa":37207,"o":"b_9157"},{"a":37204,"l":"b_9154","t":"code","b":[76,5,146],"m":"jmp","oa":37381,"o":"robot_stop","x":[37178,37194]},{"a":37207,"l":"b_9157","t":"code","b":[181,90],"m":"lda","oa":90,"o":"robot_subcell,x","x":[37168,37172,37198,37202]},{"a":37209,"t":"code","b":[56],"m":"sec"},{"a":37210,"t":"code","b":[229,77],"m":"sbc","oa":77,"o":"robot_tmp"},{"a":37212,"t":"code","b":[176,10],"m":"bcs","oa":37224,"o":"b_9168"},{"a":37214,"t":"code","b":[180,88],"m":"ldy","oa":88,"o":"robot_screen_ptr,x"},{"a":37216,"t":"code","b":[208,2],"m":"bne","oa":37220,"o":"b_9164"},{"a":37218,"t":"code","b":[214,89],"m":"dec","oa":89,"o":"robot_screen_ptr_hi,x"},{"a":37220,"l":"b_9164","t":"code","b":[214,88],"m":"dec","oa":88,"o":"robot_screen_ptr,x","x":[37216]},{"a":37222,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":37224,"l":"b_9168","t":"code","b":[149,90],"m":"sta","oa":90,"o":"robot_subcell,x","x":[37212]},{"a":37226,"t":"code","b":[164,73],"m":"ldy","oa":73,"o":"robot_reg"},{"a":37228,"t":"code","b":[185,8,208],"m":"lda","o":"vic_sprite4_x,y"},{"a":37231,"t":"code","b":[56],"m":"sec"},{"a":37232,"t":"code","b":[229,77],"m":"sbc","oa":77,"o":"robot_tmp"},{"a":37234,"t":"code","b":[153,8,208],"m":"sta","o":"vic_sprite4_x,y"},{"a":37237,"t":"code","b":[176,85],"m":"bcs","oa":37324,"o":"robots_next"},{"a":37239,"t":"code","b":[144,71],"m":"bcc","oa":37312,"o":"b_91C0"},{"a":37241,"l":"b_9179","t":"code","b":[160,1],"m":"ldy","o":"#$01","x":[37156]},{"a":37243,"t":"code","b":[177,69],"m":"lda","oa":69,"o":"(robot_floor_ptr),y"},{"a":37245,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":37247,"t":"code","b":[240,31],"m":"beq","oa":37280,"o":"b_91A0"},{"a":37249,"t":"code","b":[201,70],"m":"cmp","o":"#$46"},{"a":37251,"t":"code","b":[240,27],"m":"beq","oa":37280,"o":"b_91A0"},{"a":37253,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":37255,"t":"code","b":[201,15],"m":"cmp","o":"#$0F"},{"a":37257,"t":"code","b":[208,122],"m":"bne","oa":37381,"o":"robot_stop"},{"a":37259,"t":"code","b":[165,69],"m":"lda","oa":69,"o":"robot_floor_ptr"},{"a":37261,"t":"code","b":[133,124],"m":"sta","oa":124,"o":"cell_ptr"},{"a":37263,"t":"code","b":[165,70],"m":"lda","oa":70,"o":"robot_floor_ptr_hi"},{"a":37265,"t":"code","b":[133,125],"m":"sta","oa":125,"o":"cell_ptr_hi"},{"a":37267,"t":"code","b":[32,140,148],"m":"jsr","oa":38028,"o":"platform_at"},{"a":37270,"t":"code","b":[144,109],"m":"bcc","oa":37381,"o":"robot_stop"},{"a":37272,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":37274,"t":"code","b":[240,4],"m":"beq","oa":37280,"o":"b_91A0"},{"a":37276,"t":"code","b":[201,70],"m":"cmp","o":"#$46"},{"a":37278,"t":"code","b":[208,101],"m":"bne","oa":37381,"o":"robot_stop"},{"a":37280,"l":"b_91A0","t":"code","b":[181,90],"m":"lda","oa":90,"o":"robot_subcell,x","x":[37247,37251,37274]},{"a":37282,"t":"code","b":[24],"m":"clc"},{"a":37283,"t":"code","b":[101,77],"m":"adc","oa":77,"o":"robot_tmp"},{"a":37285,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":37287,"t":"code","b":[144,8],"m":"bcc","oa":37297,"o":"b_91B1"},{"a":37289,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":37291,"t":"code","b":[246,88],"m":"inc","oa":88,"o":"robot_screen_ptr,x"},{"a":37293,"t":"code","b":[208,2],"m":"bne","oa":37297,"o":"b_91B1"},{"a":37295,"t":"code","b":[246,89],"m":"inc","oa":89,"o":"robot_screen_ptr_hi,x"},{"a":37297,"l":"b_91B1","t":"code","b":[149,90],"m":"sta","oa":90,"o":"robot_subcell,x","x":[37287,37293]},{"a":37299,"t":"code","b":[164,73],"m":"ldy","oa":73,"o":"robot_reg"},{"a":37301,"t":"code","b":[185,8,208],"m":"lda","o":"vic_sprite4_x,y"},{"a":37304,"t":"code","b":[24],"m":"clc"},{"a":37305,"t":"code","b":[101,77],"m":"adc","oa":77,"o":"robot_tmp"},{"a":37307,"t":"code","b":[153,8,208],"m":"sta","o":"vic_sprite4_x,y"},{"a":37310,"t":"code","b":[144,12],"m":"bcc","oa":37324,"o":"robots_next"},{"a":37312,"l":"b_91C0","t":"code","b":[152],"m":"tya","x":[37239]},{"a":37313,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37314,"t":"code","b":[168],"m":"tay"},{"a":37315,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37318,"t":"code","b":[89,108,14],"m":"eor","oa":3692,"o":"tbl_robot_xbit,y"},{"a":37321,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":37324,"l":"robots_next","c":"End of one robot's turn: steps to the previous robot (6 bytes back) and loops; after the last, gates off the turning sound if no robot turned, the zap and footstep sounds as needed, and hides sprite 0 when the ball is not active ($6D).","t":"code","b":[198,72],"m":"dec","oa":72,"o":"robot_no","x":[36693,36830,36962,37043,37061,37083,37092,37103,37112,37142,37237,37310,37391]},{"a":37326,"t":"code","b":[198,73],"m":"dec","oa":73,"o":"robot_reg"},{"a":37328,"t":"code","b":[198,73],"m":"dec","oa":73,"o":"robot_reg"},{"a":37330,"t":"code","b":[138],"m":"txa"},{"a":37331,"t":"code","b":[56],"m":"sec"},{"a":37332,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":37334,"t":"code","b":[170],"m":"tax"},{"a":37335,"t":"code","b":[144,3],"m":"bcc","oa":37340,"o":"b_91DC"},{"a":37337,"t":"code","b":[76,254,142],"m":"jmp","oa":36606,"o":"j_8EFE"},{"a":37340,"l":"b_91DC","t":"code","b":[165,74],"m":"lda","oa":74,"o":"robot_turned","x":[37335]},{"a":37342,"t":"code","b":[208,5],"m":"bne","oa":37349,"o":"b_91E5"},{"a":37344,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37346,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":37349,"l":"b_91E5","t":"code","b":[165,78],"m":"lda","oa":78,"o":"robot_zapping","x":[37342]},{"a":37351,"t":"code","b":[208,27],"m":"bne","oa":37380,"o":"r_9204"},{"a":37353,"t":"code","b":[165,79],"m":"lda","oa":79,"o":"zap_sound"},{"a":37355,"t":"code","b":[208,11],"m":"bne","oa":37368,"o":"b_91F8"},{"a":37357,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":37359,"t":"code","b":[201,15],"m":"cmp","o":"#$0F"},{"a":37361,"t":"code","b":[208,5],"m":"bne","oa":37368,"o":"b_91F8"},{"a":37363,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37365,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":37368,"l":"b_91F8","t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_off","x":[37355,37361]},{"a":37370,"t":"code","b":[16,8],"m":"bpl","oa":37380,"o":"r_9204"},{"a":37372,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":37375,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":37377,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":37380,"l":"r_9204","t":"code","b":[96],"m":"rts","x":[37351,37370]},{"a":37381,"l":"robot_stop","c":"Ends the current command and marks the robot blocked (bit 7 of $56,x).","t":"code","b":[181,86],"m":"lda","oa":86,"o":"robot_mode,x","x":[37204,37257,37270,37278]},{"a":37383,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":37385,"t":"code","b":[149,86],"m":"sta","oa":86,"o":"robot_mode,x"},{"a":37387,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37389,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":37391,"t":"code","b":[208,187],"m":"bne","oa":37324,"o":"robots_next"},{"a":37393,"l":"robot_colours","c":"Flashes the four robots' colours ($D02B-$D02E) between $4B and $4C every 8 ticks, unless $DC is set.","t":"code","b":[165,220],"m":"lda","oa":220,"o":"won","x":[36585]},{"a":37395,"t":"code","b":[208,20],"m":"bne","oa":37417,"o":"r_9229"},{"a":37397,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":37399,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":37401,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":37403,"t":"code","b":[208,1],"m":"bne","oa":37406,"o":"b_921E"},{"a":37405,"t":"code","b":[200],"m":"iny"},{"a":37406,"l":"b_921E","t":"code","b":[185,75,0],"m":"lda","oa":75,"o":"robot_colour1,y","x":[37403]},{"a":37409,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":37411,"l":"b_9223","t":"code","b":[153,43,208],"m":"sta","o":"vic_sprite4_colour,y","x":[37415]},{"a":37414,"t":"code","b":[136],"m":"dey"},{"a":37415,"t":"code","b":[16,250],"m":"bpl","oa":37411,"o":"b_9223"},{"a":37417,"l":"r_9229","t":"code","b":[96],"m":"rts","x":[37395]},{"a":37418,"l":"sound_robot_turn","c":"The robot-turning sound: voice 2 pulse with a pitch from the noise byte $E1, gated on; and the hum on voice 1 ($924E).","t":"code","b":[165,225],"m":"lda","oa":225,"o":"noise","x":[37051]},{"a":37420,"t":"code","b":[10],"m":"asl","o":"a"},{"a":37421,"t":"code","b":[73,32],"m":"eor","o":"#$20"},{"a":37423,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":37426,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37428,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":37431,"t":"code","b":[141,12,212],"m":"sta","o":"sid_v2_attack_decay"},{"a":37434,"t":"code","b":[141,9,212],"m":"sta","o":"sid_v2_pulse_lo"},{"a":37437,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":37439,"t":"code","b":[141,13,212],"m":"sta","o":"sid_v2_sustain_release"},{"a":37442,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":37444,"t":"code","b":[141,10,212],"m":"sta","o":"sid_v2_pulse_hi"},{"a":37447,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":37449,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":37452,"t":"code","b":[230,74],"m":"inc","oa":74,"o":"robot_turned"},{"a":37454,"l":"sound_robot_hum","c":"The robots' hum on voice 1: pulse wave at a pitch from the random byte $E3.","t":"code","b":[165,227],"m":"lda","oa":227,"o":"random2","x":[36588]},{"a":37456,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37457,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":37460,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":37462,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":37465,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":37468,"t":"code","b":[141,2,212],"m":"sta","o":"sid_v1_pulse_lo"},{"a":37471,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":37473,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":37476,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":37478,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":37481,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":37483,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":37486,"t":"code","b":[96],"m":"rts"},{"a":37487,"l":"sound_zap","c":"The zap's sound on voice 3: noise wave, pitch $0404, pulse from the tick, gate on.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[36671]},{"a":37489,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":37492,"t":"code","b":[141,16,212],"m":"sta","o":"sid_v3_pulse_lo"},{"a":37495,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":37497,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37498,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37499,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37500,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37501,"t":"code","b":[141,17,212],"m":"sta","o":"sid_v3_pulse_hi"},{"a":37504,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":37506,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":37509,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":37511,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":37514,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":37517,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":37519,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":37522,"t":"code","b":[96],"m":"rts"},{"a":37523,"l":"command_count","c":"Counts the robot's current command down (low 5 bits of $57,x); at zero ends it ($FF).","t":"code","b":[181,87],"m":"lda","oa":87,"o":"robot_command,x","x":[37040,37064,37115]},{"a":37525,"t":"code","b":[214,87],"m":"dec","oa":87,"o":"robot_command,x"},{"a":37527,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":37529,"t":"code","b":[208,4],"m":"bne","oa":37535,"o":"r_929F"},{"a":37531,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":37533,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":37535,"l":"r_929F","t":"code","b":[96],"m":"rts","x":[37529]},{"a":37536,"l":"search_check","c":"Up on the stick in a room: looks at the screen cell just above the agent's feet; anything other than the blank $53 is furniture or a terminal, and $97FB starts searching it (address in $10/$11).","t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom","x":[29295]},{"a":37539,"t":"code","b":[56],"m":"sec"},{"a":37540,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":37542,"t":"code","b":[72],"m":"pha"},{"a":37543,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":37546,"t":"code","b":[106],"m":"ror","o":"a"},{"a":37547,"t":"code","b":[24],"m":"clc"},{"a":37548,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":37550,"t":"code","b":[10],"m":"asl","o":"a"},{"a":37551,"t":"code","b":[170],"m":"tax"},{"a":37552,"t":"code","b":[104],"m":"pla"},{"a":37553,"t":"code","b":[168],"m":"tay"},{"a":37554,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":37557,"t":"code","b":[201,83],"m":"cmp","o":"#$53"},{"a":37559,"t":"code","b":[240,17],"m":"beq","oa":37578,"o":"r_92CA"},{"a":37561,"t":"code","b":[152],"m":"tya"},{"a":37562,"t":"code","b":[24],"m":"clc"},{"a":37563,"t":"code","b":[101,124],"m":"adc","oa":124,"o":"cell_ptr"},{"a":37565,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":37567,"t":"code","b":[165,125],"m":"lda","oa":125,"o":"cell_ptr_hi"},{"a":37569,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":37571,"t":"code","b":[144,2],"m":"bcc","oa":37575,"o":"b_92C7"},{"a":37573,"t":"code","b":[230,17],"m":"inc","oa":17,"o":"ptr_a_hi"},{"a":37575,"l":"b_92C7","t":"code","b":[32,251,151],"m":"jsr","oa":38907,"o":"search_object","x":[37571]},{"a":37578,"l":"r_92CA","t":"code","b":[96],"m":"rts","x":[37559]},{"a":37579,"l":"ball_run","c":"Runs the floating ball (sprite 0) once a frame from the interrupt, when a ball is active ($6D positive) and the robots are not delayed ($47 = $FF). The ball follows a script of two-byte commands at $2232 + $6E (command, argument), with a counter $6F and a wait $70. Commands: 1 wait n frames ($70); 2 move by (high nibble, low nibble) as signed steps in X and Y; 3 home in on the agent's centre by up to n pixels in each direction; 4 jump to n; 5 jump by n if the counter is zero; 6 load the counter with n; 7 add n to the counter; others subtract n. Wait and move end the frame's commands; the others run on. After moving, ball_walls keeps the ball out of the walls.","t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_off","x":[33621]},{"a":37581,"t":"code","b":[16,1],"m":"bpl","oa":37584,"o":"b_92D0"},{"a":37583,"t":"code","b":[96],"m":"rts"},{"a":37584,"l":"b_92D0","t":"code","b":[165,71],"m":"lda","oa":71,"o":"robots_wait","x":[37581]},{"a":37586,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":37588,"t":"code","b":[240,1],"m":"beq","oa":37591,"o":"b_92D7"},{"a":37590,"t":"code","b":[96],"m":"rts"},{"a":37591,"l":"b_92D7","t":"code","b":[165,112],"m":"lda","oa":112,"o":"ball_wait","x":[37588]},{"a":37593,"t":"code","b":[240,5],"m":"beq","oa":37600,"o":"b_92E0"},{"a":37595,"t":"code","b":[198,112],"m":"dec","oa":112,"o":"ball_wait"},{"a":37597,"t":"code","b":[76,211,147],"m":"jmp","oa":37843,"o":"ball_walls"},{"a":37600,"l":"b_92E0","t":"code","b":[166,110],"m":"ldx","oa":110,"o":"ball_pc","x":[37593,37640,37648,37653,37658,37670]},{"a":37602,"t":"code","b":[188,50,34],"m":"ldy","oa":8754,"o":"tbl_ball_scripts,x"},{"a":37605,"t":"code","b":[189,51,34],"m":"lda","oa":8755,"o":"tbl_ball_args,x"},{"a":37608,"t":"code","b":[232],"m":"inx"},{"a":37609,"t":"code","b":[232],"m":"inx"},{"a":37610,"t":"code","b":[134,110],"m":"stx","oa":110,"o":"ball_pc"},{"a":37612,"t":"code","b":[136],"m":"dey"},{"a":37613,"t":"code","b":[48,58],"m":"bmi","oa":37673,"o":"b_9329"},{"a":37615,"t":"code","b":[136],"m":"dey"},{"a":37616,"t":"code","b":[48,60],"m":"bmi","oa":37678,"o":"b_932E"},{"a":37618,"t":"code","b":[136],"m":"dey"},{"a":37619,"t":"code","b":[48,116],"m":"bmi","oa":37737,"o":"b_9369"},{"a":37621,"t":"code","b":[136],"m":"dey"},{"a":37622,"t":"code","b":[48,32],"m":"bmi","oa":37656,"o":"b_9318"},{"a":37624,"t":"code","b":[136],"m":"dey"},{"a":37625,"t":"code","b":[48,34],"m":"bmi","oa":37661,"o":"b_931D"},{"a":37627,"t":"code","b":[136],"m":"dey"},{"a":37628,"t":"code","b":[48,21],"m":"bmi","oa":37651,"o":"b_9313"},{"a":37630,"t":"code","b":[136],"m":"dey"},{"a":37631,"t":"code","b":[48,10],"m":"bmi","oa":37643,"o":"b_930B"},{"a":37633,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":37635,"t":"code","b":[56],"m":"sec"},{"a":37636,"t":"code","b":[101,111],"m":"adc","oa":111,"o":"ball_counter"},{"a":37638,"t":"code","b":[133,111],"m":"sta","oa":111,"o":"ball_counter"},{"a":37640,"t":"code","b":[76,224,146],"m":"jmp","oa":37600,"o":"b_92E0"},{"a":37643,"l":"b_930B","t":"code","b":[24],"m":"clc","x":[37631]},{"a":37644,"t":"code","b":[101,111],"m":"adc","oa":111,"o":"ball_counter"},{"a":37646,"t":"code","b":[133,111],"m":"sta","oa":111,"o":"ball_counter"},{"a":37648,"t":"code","b":[76,224,146],"m":"jmp","oa":37600,"o":"b_92E0"},{"a":37651,"l":"b_9313","t":"code","b":[133,111],"m":"sta","oa":111,"o":"ball_counter","x":[37628]},{"a":37653,"t":"code","b":[76,224,146],"m":"jmp","oa":37600,"o":"b_92E0"},{"a":37656,"l":"b_9318","t":"code","b":[133,110],"m":"sta","oa":110,"o":"ball_pc","x":[37622]},{"a":37658,"t":"code","b":[76,224,146],"m":"jmp","oa":37600,"o":"b_92E0"},{"a":37661,"l":"b_931D","t":"code","b":[164,111],"m":"ldy","oa":111,"o":"ball_counter","x":[37625]},{"a":37663,"t":"code","b":[208,5],"m":"bne","oa":37670,"o":"b_9326"},{"a":37665,"t":"code","b":[24],"m":"clc"},{"a":37666,"t":"code","b":[101,110],"m":"adc","oa":110,"o":"ball_pc"},{"a":37668,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"ball_pc"},{"a":37670,"l":"b_9326","t":"code","b":[76,224,146],"m":"jmp","oa":37600,"o":"b_92E0","x":[37663]},{"a":37673,"l":"b_9329","t":"code","b":[133,112],"m":"sta","oa":112,"o":"ball_wait","x":[37613]},{"a":37675,"t":"code","b":[76,211,147],"m":"jmp","oa":37843,"o":"ball_walls"},{"a":37678,"l":"b_932E","t":"code","b":[72],"m":"pha","x":[37616]},{"a":37679,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37682,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37683,"t":"code","b":[173,0,208],"m":"lda","o":"vic_sprite0_x"},{"a":37686,"t":"code","b":[106],"m":"ror","o":"a"},{"a":37687,"t":"code","b":[133,113],"m":"sta","oa":113,"o":"ball_tmp"},{"a":37689,"t":"code","b":[104],"m":"pla"},{"a":37690,"t":"code","b":[72],"m":"pha"},{"a":37691,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37692,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37693,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37694,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37695,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":37697,"t":"code","b":[144,3],"m":"bcc","oa":37702,"o":"b_9346"},{"a":37699,"t":"code","b":[9,240],"m":"ora","o":"#$F0"},{"a":37701,"t":"code","b":[24],"m":"clc"},{"a":37702,"l":"b_9346","t":"code","b":[101,113],"m":"adc","oa":113,"o":"ball_tmp","x":[37697]},{"a":37704,"t":"code","b":[10],"m":"asl","o":"a"},{"a":37705,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":37708,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37711,"t":"code","b":[8],"m":"php"},{"a":37712,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37713,"t":"code","b":[40],"m":"plp"},{"a":37714,"t":"code","b":[42],"m":"rol","o":"a"},{"a":37715,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":37718,"t":"code","b":[104],"m":"pla"},{"a":37719,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":37721,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":37723,"t":"code","b":[144,3],"m":"bcc","oa":37728,"o":"b_9360"},{"a":37725,"t":"code","b":[9,240],"m":"ora","o":"#$F0"},{"a":37727,"t":"code","b":[24],"m":"clc"},{"a":37728,"l":"b_9360","t":"code","b":[109,1,208],"m":"adc","o":"vic_sprite0_y","x":[37723]},{"a":37731,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":37734,"t":"code","b":[76,211,147],"m":"jmp","oa":37843,"o":"ball_walls"},{"a":37737,"l":"b_9369","t":"code","b":[133,113],"m":"sta","oa":113,"o":"ball_tmp","x":[37619]},{"a":37739,"t":"code","b":[32,229,148],"m":"jsr","oa":38117,"o":"agent_centre"},{"a":37742,"t":"code","b":[173,1,208],"m":"lda","o":"vic_sprite0_y"},{"a":37745,"t":"code","b":[24],"m":"clc"},{"a":37746,"t":"code","b":[105,9],"m":"adc","o":"#$09"},{"a":37748,"t":"code","b":[56],"m":"sec"},{"a":37749,"t":"code","b":[229,114],"m":"sbc","oa":114,"o":"centre_y"},{"a":37751,"t":"code","b":[8],"m":"php"},{"a":37752,"t":"code","b":[176,4],"m":"bcs","oa":37758,"o":"b_937E"},{"a":37754,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":37756,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":37758,"l":"b_937E","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[37752]},{"a":37760,"t":"code","b":[144,4],"m":"bcc","oa":37766,"o":"b_9386"},{"a":37762,"t":"code","b":[197,113],"m":"cmp","oa":113,"o":"ball_tmp"},{"a":37764,"t":"code","b":[176,4],"m":"bcs","oa":37770,"o":"b_938A"},{"a":37766,"l":"b_9386","t":"code","b":[40],"m":"plp","x":[37760]},{"a":37767,"t":"code","b":[76,154,147],"m":"jmp","oa":37786,"o":"j_939A"},{"a":37770,"l":"b_938A","t":"code","b":[173,1,208],"m":"lda","o":"vic_sprite0_y","x":[37764]},{"a":37773,"t":"code","b":[40],"m":"plp"},{"a":37774,"t":"code","b":[176,5],"m":"bcs","oa":37781,"o":"b_9395"},{"a":37776,"t":"code","b":[101,113],"m":"adc","oa":113,"o":"ball_tmp"},{"a":37778,"t":"code","b":[76,151,147],"m":"jmp","oa":37783,"o":"j_9397"},{"a":37781,"l":"b_9395","t":"code","b":[229,113],"m":"sbc","oa":113,"o":"ball_tmp","x":[37774]},{"a":37783,"l":"j_9397","t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y","x":[37778]},{"a":37786,"l":"j_939A","t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb","x":[37767]},{"a":37789,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37790,"t":"code","b":[173,0,208],"m":"lda","o":"vic_sprite0_x"},{"a":37793,"t":"code","b":[106],"m":"ror","o":"a"},{"a":37794,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y"},{"a":37796,"t":"code","b":[24],"m":"clc"},{"a":37797,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":37799,"t":"code","b":[56],"m":"sec"},{"a":37800,"t":"code","b":[229,115],"m":"sbc","oa":115,"o":"centre_x"},{"a":37802,"t":"code","b":[8],"m":"php"},{"a":37803,"t":"code","b":[176,4],"m":"bcs","oa":37809,"o":"b_93B1"},{"a":37805,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":37807,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":37809,"l":"b_93B1","t":"code","b":[197,113],"m":"cmp","oa":113,"o":"ball_tmp","x":[37803]},{"a":37811,"t":"code","b":[176,4],"m":"bcs","oa":37817,"o":"b_93B9"},{"a":37813,"t":"code","b":[40],"m":"plp"},{"a":37814,"t":"code","b":[76,211,147],"m":"jmp","oa":37843,"o":"ball_walls"},{"a":37817,"l":"b_93B9","t":"code","b":[165,114],"m":"lda","oa":114,"o":"centre_y","x":[37811]},{"a":37819,"t":"code","b":[40],"m":"plp"},{"a":37820,"t":"code","b":[176,5],"m":"bcs","oa":37827,"o":"b_93C3"},{"a":37822,"t":"code","b":[101,113],"m":"adc","oa":113,"o":"ball_tmp"},{"a":37824,"t":"code","b":[76,197,147],"m":"jmp","oa":37829,"o":"j_93C5"},{"a":37827,"l":"b_93C3","t":"code","b":[229,113],"m":"sbc","oa":113,"o":"ball_tmp","x":[37820]},{"a":37829,"l":"j_93C5","t":"code","b":[10],"m":"asl","o":"a","x":[37824]},{"a":37830,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":37833,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37836,"t":"code","b":[8],"m":"php"},{"a":37837,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37838,"t":"code","b":[40],"m":"plp"},{"a":37839,"t":"code","b":[42],"m":"rol","o":"a"},{"a":37840,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":37843,"l":"ball_walls","c":"Keeps the ball inside the room: wraps it from the bottom ($FB) to the top ($19), ignores it above line $33, and pushes it back out of any solid cell (glyphs below $4C, from $8CC5, or the lift platform, $948C) it has moved into, on its left, right, top and bottom edges, aligning it to the cell edge.","t":"code","b":[173,1,208],"m":"lda","o":"vic_sprite0_y","x":[37597,37675,37734,37814]},{"a":37846,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":37848,"t":"code","b":[144,5],"m":"bcc","oa":37855,"o":"b_93DF"},{"a":37850,"t":"code","b":[169,25],"m":"lda","o":"#$19"},{"a":37852,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":37855,"l":"b_93DF","t":"code","b":[201,51],"m":"cmp","o":"#$33","x":[37848]},{"a":37857,"t":"code","b":[176,1],"m":"bcs","oa":37860,"o":"b_93E4"},{"a":37859,"t":"code","b":[96],"m":"rts"},{"a":37860,"l":"b_93E4","t":"code","b":[24],"m":"clc","x":[37857]},{"a":37861,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":37863,"t":"code","b":[168],"m":"tay"},{"a":37864,"t":"code","b":[132,113],"m":"sty","oa":113,"o":"ball_tmp"},{"a":37866,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37869,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37870,"t":"code","b":[174,0,208],"m":"ldx","o":"vic_sprite0_x"},{"a":37873,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":37876,"t":"code","b":[144,26],"m":"bcc","oa":37904,"o":"b_9410"},{"a":37878,"t":"code","b":[201,76],"m":"cmp","o":"#$4C"},{"a":37880,"t":"code","b":[176,22],"m":"bcs","oa":37904,"o":"b_9410"},{"a":37882,"l":"b_93FA","t":"code","b":[138],"m":"txa","x":[37907]},{"a":37883,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":37885,"t":"code","b":[24],"m":"clc"},{"a":37886,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":37888,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":37891,"t":"code","b":[144,16],"m":"bcc","oa":37909,"o":"b_9415"},{"a":37893,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37896,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":37898,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":37901,"t":"code","b":[76,21,148],"m":"jmp","oa":37909,"o":"b_9415"},{"a":37904,"l":"b_9410","t":"code","b":[32,140,148],"m":"jsr","oa":38028,"o":"platform_at","x":[37876,37880]},{"a":37907,"t":"code","b":[176,229],"m":"bcs","oa":37882,"o":"b_93FA"},{"a":37909,"l":"b_9415","t":"code","b":[164,113],"m":"ldy","oa":113,"o":"ball_tmp","x":[37891,37901]},{"a":37911,"t":"code","b":[138],"m":"txa"},{"a":37912,"t":"code","b":[24],"m":"clc"},{"a":37913,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":37915,"t":"code","b":[170],"m":"tax"},{"a":37916,"t":"code","b":[176,4],"m":"bcs","oa":37922,"o":"b_9422"},{"a":37918,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37921,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37922,"l":"b_9422","t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at","x":[37916]},{"a":37925,"t":"code","b":[144,15],"m":"bcc","oa":37942,"o":"b_9436"},{"a":37927,"t":"code","b":[201,76],"m":"cmp","o":"#$4C"},{"a":37929,"t":"code","b":[176,11],"m":"bcs","oa":37942,"o":"b_9436"},{"a":37931,"l":"b_942B","t":"code","b":[173,0,208],"m":"lda","o":"vic_sprite0_x","x":[37945]},{"a":37934,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":37936,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":37939,"t":"code","b":[76,59,148],"m":"jmp","oa":37947,"o":"j_943B"},{"a":37942,"l":"b_9436","t":"code","b":[32,140,148],"m":"jsr","oa":38028,"o":"platform_at","x":[37925,37929]},{"a":37945,"t":"code","b":[176,240],"m":"bcs","oa":37931,"o":"b_942B"},{"a":37947,"l":"j_943B","t":"code","b":[173,0,208],"m":"lda","o":"vic_sprite0_x","x":[37939]},{"a":37950,"t":"code","b":[24],"m":"clc"},{"a":37951,"t":"code","b":[105,12],"m":"adc","o":"#$0C"},{"a":37953,"t":"code","b":[72],"m":"pha"},{"a":37954,"t":"code","b":[170],"m":"tax"},{"a":37955,"t":"code","b":[176,4],"m":"bcs","oa":37961,"o":"b_9449"},{"a":37957,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":37960,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":37961,"l":"b_9449","t":"code","b":[8],"m":"php","x":[37955]},{"a":37962,"t":"code","b":[172,1,208],"m":"ldy","o":"vic_sprite0_y"},{"a":37965,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":37968,"t":"code","b":[144,17],"m":"bcc","oa":37987,"o":"b_9463"},{"a":37970,"l":"b_9452","t":"code","b":[173,1,208],"m":"lda","o":"vic_sprite0_y","x":[37990]},{"a":37973,"t":"code","b":[24],"m":"clc"},{"a":37974,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":37976,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":37978,"t":"code","b":[24],"m":"clc"},{"a":37979,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":37981,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":37984,"t":"code","b":[76,104,148],"m":"jmp","oa":37992,"o":"j_9468"},{"a":37987,"l":"b_9463","t":"code","b":[32,140,148],"m":"jsr","oa":38028,"o":"platform_at","x":[37968]},{"a":37990,"t":"code","b":[176,234],"m":"bcs","oa":37970,"o":"b_9452"},{"a":37992,"l":"j_9468","t":"code","b":[173,1,208],"m":"lda","o":"vic_sprite0_y","x":[37984]},{"a":37995,"t":"code","b":[24],"m":"clc"},{"a":37996,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":37998,"t":"code","b":[168],"m":"tay"},{"a":37999,"t":"code","b":[40],"m":"plp"},{"a":38000,"t":"code","b":[104],"m":"pla"},{"a":38001,"t":"code","b":[170],"m":"tax"},{"a":38002,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":38005,"t":"code","b":[144,15],"m":"bcc","oa":38022,"o":"b_9486"},{"a":38007,"l":"b_9477","t":"code","b":[173,1,208],"m":"lda","o":"vic_sprite0_y","x":[38025]},{"a":38010,"t":"code","b":[56],"m":"sec"},{"a":38011,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":38013,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":38015,"t":"code","b":[24],"m":"clc"},{"a":38016,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":38018,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":38021,"t":"code","b":[96],"m":"rts"},{"a":38022,"l":"b_9486","t":"code","b":[32,140,148],"m":"jsr","oa":38028,"o":"platform_at","x":[38005]},{"a":38025,"t":"code","b":[176,236],"m":"bcs","oa":38007,"o":"b_9477"},{"a":38027,"t":"code","b":[96],"m":"rts"},{"a":38028,"l":"platform_at","c":"When the agent's frame is $0F, tests whether a screen cell (row pointer $7C/$7D + Y) lies on the lift platform the agent stands on, whose cells relative to $10/$11 (four rows of 8) are copied at $C100; carry set if that copy holds a solid glyph ($45-$51) there.","t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no","x":[37191,37267,37904,37942,37987,38022]},{"a":38030,"t":"code","b":[201,15],"m":"cmp","o":"#$0F"},{"a":38032,"t":"code","b":[208,81],"m":"bne","oa":38115,"o":"b_94E3"},{"a":38034,"t":"code","b":[152],"m":"tya"},{"a":38035,"t":"code","b":[24],"m":"clc"},{"a":38036,"t":"code","b":[101,124],"m":"adc","oa":124,"o":"cell_ptr"},{"a":38038,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y"},{"a":38040,"t":"code","b":[165,125],"m":"lda","oa":125,"o":"cell_ptr_hi"},{"a":38042,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":38044,"t":"code","b":[133,115],"m":"sta","oa":115,"o":"centre_x"},{"a":38046,"t":"code","b":[165,114],"m":"lda","oa":114,"o":"centre_y"},{"a":38048,"t":"code","b":[56],"m":"sec"},{"a":38049,"t":"code","b":[229,16],"m":"sbc","oa":16,"o":"ptr_a"},{"a":38051,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y"},{"a":38053,"t":"code","b":[165,115],"m":"lda","oa":115,"o":"centre_x"},{"a":38055,"t":"code","b":[229,17],"m":"sbc","oa":17,"o":"ptr_a_hi"},{"a":38057,"t":"code","b":[208,56],"m":"bne","oa":38115,"o":"b_94E3"},{"a":38059,"t":"code","b":[165,114],"m":"lda","oa":114,"o":"centre_y"},{"a":38061,"t":"code","b":[48,52],"m":"bmi","oa":38115,"o":"b_94E3"},{"a":38063,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":38065,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":38067,"t":"code","b":[144,26],"m":"bcc","oa":38095,"o":"b_94CF"},{"a":38069,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":38071,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":38073,"t":"code","b":[144,40],"m":"bcc","oa":38115,"o":"b_94E3"},{"a":38075,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":38077,"t":"code","b":[144,16],"m":"bcc","oa":38095,"o":"b_94CF"},{"a":38079,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":38081,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":38083,"t":"code","b":[144,30],"m":"bcc","oa":38115,"o":"b_94E3"},{"a":38085,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":38087,"t":"code","b":[144,6],"m":"bcc","oa":38095,"o":"b_94CF"},{"a":38089,"t":"code","b":[160,24],"m":"ldy","o":"#$18"},{"a":38091,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":38093,"t":"code","b":[144,20],"m":"bcc","oa":38115,"o":"b_94E3"},{"a":38095,"l":"b_94CF","t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y","x":[38067,38077,38087]},{"a":38097,"t":"code","b":[152],"m":"tya"},{"a":38098,"t":"code","b":[24],"m":"clc"},{"a":38099,"t":"code","b":[101,114],"m":"adc","oa":114,"o":"centre_y"},{"a":38101,"t":"code","b":[168],"m":"tay"},{"a":38102,"t":"code","b":[185,0,193],"m":"lda","oa":49408,"o":"f_C100,y"},{"a":38105,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":38107,"t":"code","b":[144,6],"m":"bcc","oa":38115,"o":"b_94E3"},{"a":38109,"t":"code","b":[201,82],"m":"cmp","o":"#$52"},{"a":38111,"t":"code","b":[176,2],"m":"bcs","oa":38115,"o":"b_94E3"},{"a":38113,"t":"code","b":[56],"m":"sec"},{"a":38114,"t":"code","b":[96],"m":"rts"},{"a":38115,"l":"b_94E3","t":"code","b":[24],"m":"clc","x":[38032,38057,38061,38073,38083,38093,38107,38111]},{"a":38116,"t":"code","b":[96],"m":"rts"},{"a":38117,"l":"agent_centre","c":"The agent's centre: middle of top and feet in $72 and middle of the left and right edges (X/2) in $73.","t":"code","b":[32,72,140],"m":"jsr","oa":35912,"o":"agent_top","x":[37739,38211]},{"a":38120,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y"},{"a":38122,"t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom"},{"a":38125,"t":"code","b":[24],"m":"clc"},{"a":38126,"t":"code","b":[101,114],"m":"adc","oa":114,"o":"centre_y"},{"a":38128,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38129,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y"},{"a":38131,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":38134,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38135,"t":"code","b":[133,115],"m":"sta","oa":115,"o":"centre_x"},{"a":38137,"t":"code","b":[32,151,140],"m":"jsr","oa":35991,"o":"agent_right"},{"a":38140,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38141,"t":"code","b":[24],"m":"clc"},{"a":38142,"t":"code","b":[101,115],"m":"adc","oa":115,"o":"centre_x"},{"a":38144,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38145,"t":"code","b":[133,115],"m":"sta","oa":115,"o":"centre_x"},{"a":38147,"t":"code","b":[96],"m":"rts"},{"a":38148,"l":"agent_hit_check","c":"Has something touched the agent? Reads the sprite-sprite collision register $D01E. Not in the shaft view, not with $DC set, and not in the two special rooms $11 and $1B. Any of the agent's sprites (1-3) touching a robot (4-7) or, while the robots run, the zap (sprite 0) kills: $43 = 1, the robots stop ($47 = 0), the ball is switched off. When the ball is active, its touch is tested by distance as well: the ball's centre against the agent's centre must be within $40 (sum of X and Y distances, X doubled), and nearer than every robot, unless $85 is set; a near miss switches the ball off.","t":"code","b":[165,220],"m":"lda","oa":220,"o":"won","x":[33615,34601]},{"a":38150,"t":"code","b":[208,10],"m":"bne","oa":38162,"o":"b_9512"},{"a":38152,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":38154,"t":"code","b":[201,17],"m":"cmp","o":"#$11"},{"a":38156,"t":"code","b":[240,4],"m":"beq","oa":38162,"o":"b_9512"},{"a":38158,"t":"code","b":[201,27],"m":"cmp","o":"#$1B"},{"a":38160,"t":"code","b":[208,4],"m":"bne","oa":38166,"o":"b_9516"},{"a":38162,"l":"b_9512","t":"code","b":[173,30,208],"m":"lda","o":"vic_sprite_collision","x":[38150,38156,38168]},{"a":38165,"t":"code","b":[96],"m":"rts"},{"a":38166,"l":"b_9516","t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room","x":[38160]},{"a":38168,"t":"code","b":[240,248],"m":"beq","oa":38162,"o":"b_9512"},{"a":38170,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":38173,"t":"code","b":[41,241],"m":"and","o":"#$F1"},{"a":38175,"t":"code","b":[240,22],"m":"beq","oa":38199,"o":"r_9537"},{"a":38177,"t":"code","b":[173,30,208],"m":"lda","o":"vic_sprite_collision"},{"a":38180,"t":"code","b":[166,71],"m":"ldx","oa":71,"o":"robots_wait"},{"a":38182,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":38184,"t":"code","b":[240,2],"m":"beq","oa":38188,"o":"b_952C"},{"a":38186,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":38188,"l":"b_952C","t":"code","b":[36,109],"m":"bit","oa":109,"o":"ball_off","x":[38184]},{"a":38190,"t":"code","b":[16,8],"m":"bpl","oa":38200,"o":"b_9538"},{"a":38192,"t":"code","b":[41,241],"m":"and","o":"#$F1"},{"a":38194,"t":"code","b":[240,3],"m":"beq","oa":38199,"o":"r_9537"},{"a":38196,"t":"code","b":[76,202,149],"m":"jmp","oa":38346,"o":"j_95CA"},{"a":38199,"l":"r_9537","t":"code","b":[96],"m":"rts","x":[38175,38194]},{"a":38200,"l":"b_9538","t":"code","b":[74],"m":"lsr","o":"a","x":[38190]},{"a":38201,"t":"code","b":[176,8],"m":"bcs","oa":38211,"o":"b_9543"},{"a":38203,"t":"code","b":[41,120],"m":"and","o":"#$78"},{"a":38205,"t":"code","b":[240,3],"m":"beq","oa":38210,"o":"r_9542"},{"a":38207,"t":"code","b":[76,202,149],"m":"jmp","oa":38346,"o":"j_95CA"},{"a":38210,"l":"r_9542","t":"code","b":[96],"m":"rts","x":[38205]},{"a":38211,"l":"b_9543","t":"code","b":[32,229,148],"m":"jsr","oa":38117,"o":"agent_centre","x":[38201]},{"a":38214,"t":"code","b":[173,1,208],"m":"lda","o":"vic_sprite0_y"},{"a":38217,"t":"code","b":[24],"m":"clc"},{"a":38218,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":38220,"t":"code","b":[133,122],"m":"sta","oa":122,"o":"cell_row"},{"a":38222,"t":"code","b":[56],"m":"sec"},{"a":38223,"t":"code","b":[229,114],"m":"sbc","oa":114,"o":"centre_y"},{"a":38225,"t":"code","b":[176,4],"m":"bcs","oa":38231,"o":"b_9557"},{"a":38227,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":38229,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":38231,"l":"b_9557","t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y","x":[38225]},{"a":38233,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":38236,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":38237,"t":"code","b":[173,0,208],"m":"lda","o":"vic_sprite0_x"},{"a":38240,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38241,"t":"code","b":[24],"m":"clc"},{"a":38242,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":38244,"t":"code","b":[133,123],"m":"sta","oa":123,"o":"cell_row_hi"},{"a":38246,"t":"code","b":[56],"m":"sec"},{"a":38247,"t":"code","b":[229,115],"m":"sbc","oa":115,"o":"centre_x"},{"a":38249,"t":"code","b":[176,4],"m":"bcs","oa":38255,"o":"b_956F"},{"a":38251,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":38253,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":38255,"l":"b_956F","t":"code","b":[10],"m":"asl","o":"a","x":[38249]},{"a":38256,"t":"code","b":[176,101],"m":"bcs","oa":38359,"o":"b_95D7"},{"a":38258,"t":"code","b":[101,114],"m":"adc","oa":114,"o":"centre_y"},{"a":38260,"t":"code","b":[176,97],"m":"bcs","oa":38359,"o":"b_95D7"},{"a":38262,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":38264,"t":"code","b":[176,93],"m":"bcs","oa":38359,"o":"b_95D7"},{"a":38266,"t":"code","b":[133,114],"m":"sta","oa":114,"o":"centre_y"},{"a":38268,"t":"code","b":[165,84],"m":"lda","oa":84,"o":"last_robot"},{"a":38270,"t":"code","b":[48,70],"m":"bmi","oa":38342,"o":"b_95C6"},{"a":38272,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":38274,"t":"code","b":[56],"m":"sec"},{"a":38275,"l":"b_9583","t":"code","b":[233,6],"m":"sbc","o":"#$06","x":[38278]},{"a":38277,"t":"code","b":[232],"m":"inx"},{"a":38278,"t":"code","b":[176,251],"m":"bcs","oa":38275,"o":"b_9583"},{"a":38280,"t":"code","b":[138],"m":"txa"},{"a":38281,"t":"code","b":[10],"m":"asl","o":"a"},{"a":38282,"t":"code","b":[168],"m":"tay"},{"a":38283,"l":"b_958B","t":"code","b":[185,9,208],"m":"lda","o":"vic_sprite4_y,y","x":[38340]},{"a":38286,"t":"code","b":[24],"m":"clc"},{"a":38287,"t":"code","b":[105,9],"m":"adc","o":"#$09"},{"a":38289,"t":"code","b":[56],"m":"sec"},{"a":38290,"t":"code","b":[229,122],"m":"sbc","oa":122,"o":"cell_row"},{"a":38292,"t":"code","b":[176,4],"m":"bcs","oa":38298,"o":"b_959A"},{"a":38294,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":38296,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":38298,"l":"b_959A","t":"code","b":[133,113],"m":"sta","oa":113,"o":"ball_tmp","x":[38292]},{"a":38300,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":38303,"t":"code","b":[24],"m":"clc"},{"a":38304,"t":"code","b":[61,108,14],"m":"and","oa":3692,"o":"tbl_robot_xbit,x"},{"a":38307,"t":"code","b":[240,1],"m":"beq","oa":38310,"o":"b_95A6"},{"a":38309,"t":"code","b":[56],"m":"sec"},{"a":38310,"l":"b_95A6","t":"code","b":[185,8,208],"m":"lda","o":"vic_sprite4_x,y","x":[38307]},{"a":38313,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38314,"t":"code","b":[24],"m":"clc"},{"a":38315,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":38317,"t":"code","b":[56],"m":"sec"},{"a":38318,"t":"code","b":[229,123],"m":"sbc","oa":123,"o":"cell_row_hi"},{"a":38320,"t":"code","b":[176,4],"m":"bcs","oa":38326,"o":"b_95B6"},{"a":38322,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":38324,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":38326,"l":"b_95B6","t":"code","b":[10],"m":"asl","o":"a","x":[38320]},{"a":38327,"t":"code","b":[176,8],"m":"bcs","oa":38337,"o":"b_95C1"},{"a":38329,"t":"code","b":[101,113],"m":"adc","oa":113,"o":"ball_tmp"},{"a":38331,"t":"code","b":[176,4],"m":"bcs","oa":38337,"o":"b_95C1"},{"a":38333,"t":"code","b":[197,114],"m":"cmp","oa":114,"o":"centre_y"},{"a":38335,"t":"code","b":[144,22],"m":"bcc","oa":38359,"o":"b_95D7"},{"a":38337,"l":"b_95C1","t":"code","b":[202],"m":"dex","x":[38327,38331]},{"a":38338,"t":"code","b":[136],"m":"dey"},{"a":38339,"t":"code","b":[136],"m":"dey"},{"a":38340,"t":"code","b":[16,197],"m":"bpl","oa":38283,"o":"b_958B"},{"a":38342,"l":"b_95C6","t":"code","b":[165,133],"m":"lda","oa":133,"o":"platform_moving","x":[38270]},{"a":38344,"t":"code","b":[208,12],"m":"bne","oa":38358,"o":"r_95D6"},{"a":38346,"l":"j_95CA","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[38196,38207]},{"a":38348,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"death"},{"a":38350,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38352,"t":"code","b":[133,71],"m":"sta","oa":71,"o":"robots_wait"},{"a":38354,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":38356,"t":"code","b":[133,109],"m":"sta","oa":109,"o":"ball_off"},{"a":38358,"l":"r_95D6","t":"code","b":[96],"m":"rts","x":[38344]},{"a":38359,"l":"b_95D7","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[38256,38260,38264,38335]},{"a":38361,"t":"code","b":[133,109],"m":"sta","oa":109,"o":"ball_off"},{"a":38363,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":38366,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":38368,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":38371,"t":"code","b":[96],"m":"rts"},{"a":38372,"l":"agent_death","c":"What happens when $43 is set. $FF (time up): the end of the game ($83FC). In the shaft view: nothing. In a room: the sound stops and the agent's three sprite shapes are copied into the work shapes at $4D80 ($972A). $43 = 2, a fall: the agent's sprites go off, voice line 7 (the scream) is played ($BED9). Otherwise, electrocuted: the agent flashes ($9765) and his shapes are eaten away bit by bit with random masks ($97E1) in 32 passes with the crackling sound. $43 = 3 also calls $AE23. Then the room is reset: the robots and the ball restart ($A102, the room record through $0E70, $A68B, $A714), the agent stands at the entrance ($ABE2, frame $0E, pointers back with $9718), ten minutes are added to the clock (`lda #$10 / jsr $83CC` in decimal mode), and play resumes. Live: setting $43 = 1 in a room ran the electrocution and moved the clock from 12:24:47 to 12:34:47.","t":"code","b":[165,67],"m":"lda","oa":67,"o":"death","x":[34319,34608,39095,39376,44270,44345,44493]},{"a":38374,"t":"code","b":[16,3],"m":"bpl","oa":38379,"o":"b_95EB"},{"a":38376,"t":"code","b":[76,252,131],"m":"jmp","oa":33788,"o":"b_83FC"},{"a":38379,"l":"b_95EB","t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room","x":[38374]},{"a":38381,"t":"code","b":[208,3],"m":"bne","oa":38386,"o":"b_95F2"},{"a":38383,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"death"},{"a":38385,"t":"code","b":[96],"m":"rts"},{"a":38386,"l":"b_95F2","t":"code","b":[120],"m":"sei","x":[38381]},{"a":38387,"t":"code","b":[32,42,151],"m":"jsr","oa":38698,"o":"copy_agent_shapes"},{"a":38390,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":38392,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":38395,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":38398,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":38401,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":38403,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":38405,"t":"code","b":[208,19],"m":"bne","oa":38426,"o":"b_961A"},{"a":38407,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":38410,"t":"code","b":[41,241],"m":"and","o":"#$F1"},{"a":38412,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":38415,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":38417,"t":"code","b":[32,217,190],"m":"jsr","oa":48857,"o":"say_line"},{"a":38420,"t":"code","b":[32,194,190],"m":"jsr","oa":48834,"o":"irq_normal"},{"a":38423,"t":"code","b":[76,118,150],"m":"jmp","oa":38518,"o":"j_9676"},{"a":38426,"l":"b_961A","t":"code","b":[162,1],"m":"ldx","o":"#$01","x":[38405]},{"a":38428,"l":"b_961C","t":"code","b":[160,16],"m":"ldy","o":"#$10","x":[38437]},{"a":38430,"l":"b_961E","t":"code","b":[32,101,151],"m":"jsr","oa":38757,"o":"death_flash","x":[38434]},{"a":38433,"t":"code","b":[136],"m":"dey"},{"a":38434,"t":"code","b":[16,250],"m":"bpl","oa":38430,"o":"b_961E"},{"a":38436,"t":"code","b":[202],"m":"dex"},{"a":38437,"t":"code","b":[16,245],"m":"bpl","oa":38428,"o":"b_961C"},{"a":38439,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":38441,"l":"b_9629","t":"code","b":[162,48],"m":"ldx","o":"#$30","x":[38483]},{"a":38443,"l":"b_962B","t":"code","b":[138],"m":"txa","x":[38475]},{"a":38444,"t":"code","b":[72],"m":"pha"},{"a":38445,"t":"code","b":[32,225,151],"m":"jsr","oa":38881,"o":"random_bit_mask"},{"a":38448,"t":"code","b":[61,128,77],"m":"and","oa":19840,"o":"f_4D80,x"},{"a":38451,"t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x"},{"a":38454,"t":"code","b":[32,225,151],"m":"jsr","oa":38881,"o":"random_bit_mask"},{"a":38457,"t":"code","b":[61,192,77],"m":"and","oa":19904,"o":"f_4DC0,x"},{"a":38460,"t":"code","b":[157,192,77],"m":"sta","oa":19904,"o":"f_4DC0,x"},{"a":38463,"t":"code","b":[32,225,151],"m":"jsr","oa":38881,"o":"random_bit_mask"},{"a":38466,"t":"code","b":[61,0,78],"m":"and","oa":19968,"o":"f_4E00,x"},{"a":38469,"t":"code","b":[157,0,78],"m":"sta","oa":19968,"o":"f_4E00,x"},{"a":38472,"t":"code","b":[104],"m":"pla"},{"a":38473,"t":"code","b":[170],"m":"tax"},{"a":38474,"t":"code","b":[202],"m":"dex"},{"a":38475,"t":"code","b":[16,222],"m":"bpl","oa":38443,"o":"b_962B"},{"a":38477,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":38479,"t":"code","b":[32,101,151],"m":"jsr","oa":38757,"o":"death_flash"},{"a":38482,"t":"code","b":[136],"m":"dey"},{"a":38483,"t":"code","b":[16,212],"m":"bpl","oa":38441,"o":"b_9629"},{"a":38485,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":38487,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38489,"l":"b_9659","t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x","x":[38499]},{"a":38492,"t":"code","b":[157,192,77],"m":"sta","oa":19904,"o":"f_4DC0,x"},{"a":38495,"t":"code","b":[157,0,78],"m":"sta","oa":19968,"o":"f_4E00,x"},{"a":38498,"t":"code","b":[202],"m":"dex"},{"a":38499,"t":"code","b":[16,244],"m":"bpl","oa":38489,"o":"b_9659"},{"a":38501,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":38503,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":38506,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":38509,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":38511,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":38513,"t":"code","b":[208,3],"m":"bne","oa":38518,"o":"j_9676"},{"a":38515,"t":"code","b":[32,35,174],"m":"jsr","oa":44579,"o":"clear_platform_column"},{"a":38518,"l":"j_9676","t":"code","b":[120],"m":"sei","x":[38423,38513]},{"a":38519,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":38522,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":38524,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":38527,"t":"code","b":[32,2,161],"m":"jsr","oa":41218,"o":"reset_platforms"},{"a":38530,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":38532,"t":"code","b":[10],"m":"asl","o":"a"},{"a":38533,"t":"code","b":[170],"m":"tax"},{"a":38534,"t":"code","b":[189,112,14],"m":"lda","oa":3696,"o":"tbl_room_ptrs,x"},{"a":38537,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":38539,"t":"code","b":[189,113,14],"m":"lda","oa":3697,"o":"f_0E71,x"},{"a":38542,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":38544,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":38546,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":38548,"l":"b_9694","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[38553,38556]},{"a":38550,"t":"code","b":[200],"m":"iny"},{"a":38551,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":38553,"t":"code","b":[208,249],"m":"bne","oa":38548,"o":"b_9694"},{"a":38555,"t":"code","b":[202],"m":"dex"},{"a":38556,"t":"code","b":[16,246],"m":"bpl","oa":38548,"o":"b_9694"},{"a":38558,"t":"code","b":[152],"m":"tya"},{"a":38559,"t":"code","b":[72],"m":"pha"},{"a":38560,"t":"code","b":[24],"m":"clc"},{"a":38561,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":38563,"t":"code","b":[168],"m":"tay"},{"a":38564,"t":"code","b":[165,129],"m":"lda","oa":129,"o":"platform_list"},{"a":38566,"t":"code","b":[72],"m":"pha"},{"a":38567,"t":"code","b":[165,130],"m":"lda","oa":130,"o":"platform_list_hi"},{"a":38569,"t":"code","b":[72],"m":"pha"},{"a":38570,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38572,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":38575,"t":"code","b":[32,139,166],"m":"jsr","oa":42635,"o":"setup_robots"},{"a":38578,"t":"code","b":[104],"m":"pla"},{"a":38579,"t":"code","b":[133,130],"m":"sta","oa":130,"o":"platform_list_hi"},{"a":38581,"t":"code","b":[104],"m":"pla"},{"a":38582,"t":"code","b":[133,129],"m":"sta","oa":129,"o":"platform_list"},{"a":38584,"t":"code","b":[32,20,167],"m":"jsr","oa":42772,"o":"setup_ball"},{"a":38587,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_off"},{"a":38589,"t":"code","b":[208,8],"m":"bne","oa":38599,"o":"b_96C7"},{"a":38591,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":38594,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":38596,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":38599,"l":"b_96C7","t":"code","b":[104],"m":"pla","x":[38589]},{"a":38600,"t":"code","b":[168],"m":"tay"},{"a":38601,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":38603,"t":"code","b":[133,71],"m":"sta","oa":71,"o":"robots_wait"},{"a":38605,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":38608,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":38610,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":38612,"t":"code","b":[32,226,171],"m":"jsr","oa":44002,"o":"place_agent"},{"a":38615,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":38618,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":38620,"t":"code","b":[5,50],"m":"ora","oa":50,"o":"agent_xbits"},{"a":38622,"t":"code","b":[5,228],"m":"ora","oa":228,"o":"tmp1"},{"a":38624,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":38627,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":38629,"t":"code","b":[133,63],"m":"sta","oa":63,"o":"agent_frame_no"},{"a":38631,"t":"code","b":[32,24,151],"m":"jsr","oa":38680,"o":"agent_reset_sprites"},{"a":38634,"t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay"},{"a":38637,"t":"code","b":[173,30,208],"m":"lda","o":"vic_sprite_collision"},{"a":38640,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38642,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"death"},{"a":38644,"t":"code","b":[133,81],"m":"sta","oa":81,"o":"fire_count"},{"a":38646,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":38649,"t":"code","b":[248],"m":"sed"},{"a":38650,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":38652,"t":"code","b":[32,204,131],"m":"jsr","oa":33740,"o":"add_minutes"},{"a":38655,"t":"code","b":[88],"m":"cli"},{"a":38656,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":38659,"t":"code","b":[9,14],"m":"ora","o":"#$0E"},{"a":38661,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":38664,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":38666,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":38669,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":38671,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"fire_held"},{"a":38673,"t":"code","b":[96],"m":"rts"},{"a":38674,"l":"tbl_agent_ptrs_stand","c":"The agent's three sprite pointers when standing: $9E, $9C, $9D.","t":"byte","b":[158,156,157],"x":[38682]},{"a":38677,"l":"tbl_agent_colours","c":"The agent's three sprite colours: white (1) and light grey (11) twice.","t":"byte","b":[1,11,11],"x":[38688]},{"a":38680,"l":"agent_reset_sprites","c":"Puts the agent's standing pointers and colours into sprites 1-3.","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[14649,38631]},{"a":38682,"l":"b_971A","t":"code","b":[189,18,151],"m":"lda","oa":38674,"o":"tbl_agent_ptrs_stand,x","x":[38695]},{"a":38685,"t":"code","b":[157,249,67],"m":"sta","oa":17401,"o":"a_43F9,x"},{"a":38688,"t":"code","b":[189,21,151],"m":"lda","oa":38677,"o":"tbl_agent_colours,x"},{"a":38691,"t":"code","b":[157,40,208],"m":"sta","o":"vic_sprite1_colour,x"},{"a":38694,"t":"code","b":[202],"m":"dex"},{"a":38695,"t":"code","b":[16,241],"m":"bpl","oa":38682,"o":"b_971A"},{"a":38697,"t":"code","b":[96],"m":"rts"},{"a":38698,"l":"copy_agent_shapes","c":"Copies the shapes of the agent's three current sprites into the work area at $4D80-$4E3F and points sprites 1-3 at the copies ($36-$38), so they can be dissolved without spoiling the originals.","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[38387]},{"a":38700,"l":"b_972C","t":"code","b":[189,249,67],"m":"lda","oa":17401,"o":"a_43F9,x","x":[38754]},{"a":38703,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":38705,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":38707,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":38709,"t":"code","b":[160,5],"m":"ldy","o":"#$05"},{"a":38711,"l":"b_9737","t":"code","b":[6,24],"m":"asl","oa":24,"o":"ptr_data","x":[38716]},{"a":38713,"t":"code","b":[38,25],"m":"rol","oa":25,"o":"ptr_data_hi"},{"a":38715,"t":"code","b":[136],"m":"dey"},{"a":38716,"t":"code","b":[16,249],"m":"bpl","oa":38711,"o":"b_9737"},{"a":38718,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":38720,"t":"code","b":[24],"m":"clc"},{"a":38721,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":38723,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":38725,"t":"code","b":[138],"m":"txa"},{"a":38726,"t":"code","b":[72],"m":"pha"},{"a":38727,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":38728,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38729,"t":"code","b":[106],"m":"ror","o":"a"},{"a":38730,"t":"code","b":[24],"m":"clc"},{"a":38731,"t":"code","b":[105,63],"m":"adc","o":"#$3F"},{"a":38733,"t":"code","b":[170],"m":"tax"},{"a":38734,"t":"code","b":[160,63],"m":"ldy","o":"#$3F"},{"a":38736,"l":"b_9750","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[38743]},{"a":38738,"t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x"},{"a":38741,"t":"code","b":[202],"m":"dex"},{"a":38742,"t":"code","b":[136],"m":"dey"},{"a":38743,"t":"code","b":[16,247],"m":"bpl","oa":38736,"o":"b_9750"},{"a":38745,"t":"code","b":[104],"m":"pla"},{"a":38746,"t":"code","b":[170],"m":"tax"},{"a":38747,"t":"code","b":[24],"m":"clc"},{"a":38748,"t":"code","b":[105,54],"m":"adc","o":"#$36"},{"a":38750,"t":"code","b":[157,249,67],"m":"sta","oa":17401,"o":"a_43F9,x"},{"a":38753,"t":"code","b":[202],"m":"dex"},{"a":38754,"t":"code","b":[16,200],"m":"bpl","oa":38700,"o":"b_972C"},{"a":38756,"t":"code","b":[96],"m":"rts"},{"a":38757,"l":"death_flash","c":"One flash of the electrocution: a pause, the crackle ($97A4), the agent's sprites in white and grey, a pause, then the colours swapped.","t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay","x":[38430,38479]},{"a":38760,"t":"code","b":[32,164,151],"m":"jsr","oa":38820,"o":"sound_crackle"},{"a":38763,"t":"code","b":[189,141,151],"m":"lda","oa":38797,"o":"tbl_death_flash_colours,x"},{"a":38766,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":38769,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":38772,"t":"code","b":[189,143,151],"m":"lda","oa":38799,"o":"f_978F,x"},{"a":38775,"t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":38778,"t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay"},{"a":38781,"t":"code","b":[189,143,151],"m":"lda","oa":38799,"o":"f_978F,x"},{"a":38784,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":38787,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":38790,"t":"code","b":[189,141,151],"m":"lda","oa":38797,"o":"tbl_death_flash_colours,x"},{"a":38793,"t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":38796,"t":"code","b":[96],"m":"rts"},{"a":38797,"l":"tbl_death_flash_colours","c":"The two colour pairs of death_flash: white/dark grey, grey/medium grey.","t":"byte","b":[1,15],"x":[38763,38790]},{"a":38799,"l":"f_978F","c":"The second pair of death_flash colours.","t":"byte","b":[11,12],"x":[38772,38781]},{"a":38801,"l":"delay","c":"A busy wait of about 13 \u00d7 256 loop passes (some 16,000 cycles), registers kept.","t":"code","b":[138],"m":"txa","x":[33850,33896,33899,33953,38634,38757,38778,40851,47258,48408]},{"a":38802,"t":"code","b":[72],"m":"pha"},{"a":38803,"t":"code","b":[152],"m":"tya"},{"a":38804,"t":"code","b":[72],"m":"pha"},{"a":38805,"t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":38807,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":38809,"l":"b_9799","t":"code","b":[232],"m":"inx","x":[38810,38813]},{"a":38810,"t":"code","b":[208,253],"m":"bne","oa":38809,"o":"b_9799"},{"a":38812,"t":"code","b":[136],"m":"dey"},{"a":38813,"t":"code","b":[16,250],"m":"bpl","oa":38809,"o":"b_9799"},{"a":38815,"t":"code","b":[104],"m":"pla"},{"a":38816,"t":"code","b":[168],"m":"tay"},{"a":38817,"t":"code","b":[104],"m":"pla"},{"a":38818,"t":"code","b":[170],"m":"tax"},{"a":38819,"t":"code","b":[96],"m":"rts"},{"a":38820,"l":"sound_crackle","c":"The electrocution crackle: voices 2 and 3 noise and pulse, random volume (0-7).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[38760]},{"a":38822,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":38825,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":38828,"t":"code","b":[141,12,212],"m":"sta","o":"sid_v2_attack_decay"},{"a":38831,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":38834,"t":"code","b":[141,9,212],"m":"sta","o":"sid_v2_pulse_lo"},{"a":38837,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":38839,"t":"code","b":[141,13,212],"m":"sta","o":"sid_v2_sustain_release"},{"a":38842,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":38844,"t":"code","b":[141,10,212],"m":"sta","o":"sid_v2_pulse_hi"},{"a":38847,"t":"code","b":[169,112],"m":"lda","o":"#$70"},{"a":38849,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":38852,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":38854,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":38857,"t":"code","b":[169,224],"m":"lda","o":"#$E0"},{"a":38859,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":38862,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":38865,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":38867,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":38870,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":38872,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":38875,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":38877,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":38880,"t":"code","b":[96],"m":"rts"},{"a":38881,"l":"random_bit_mask","c":"Returns in A a byte with one random bit clear (from tbl_bit_masks) and in X a random index 0-63, for eating away a sprite shape.","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[38445,38454,38463]},{"a":38884,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":38886,"t":"code","b":[170],"m":"tax"},{"a":38887,"t":"code","b":[189,243,151],"m":"lda","oa":38899,"o":"tbl_bit_masks,x"},{"a":38890,"t":"code","b":[72],"m":"pha"},{"a":38891,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":38894,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":38896,"t":"code","b":[170],"m":"tax"},{"a":38897,"t":"code","b":[104],"m":"pla"},{"a":38898,"t":"code","b":[96],"m":"rts"},{"a":38899,"l":"tbl_bit_masks","c":"Eight masks with one bit clear: $FE, $FD, $FB, $F7, $EF, $DF, $BF, $7F.","t":"byte","b":[254,253,251,247,239,223,191,127],"x":[38887]},{"a":38907,"l":"search_object","c":"Searching: the agent pushes up in front of something. Finds the object whose screen extent ($4F55-$4F58, start and end address) holds the cell in $10/$11 among the room's object records (6 bytes each from $4F55, ended by $FF; $86 counts in fours for the record's map flag). Saves the cells around the agent ($9BC8), takes the searching frame (frame + 1). The record's byte 4 ($4F59) is the search time left: 0 means already searched (straight to the result); $FF is a security terminal ($9D16). Otherwise shows the searching picture (built at $5000 from $9A5E) with a bar that fills while up is held, counting the time down by one a tick and stopping when the stick is released (the time left is kept, so a search can be resumed). When it reaches 0, the result ($98FB).","t":"code","b":[165,78],"m":"lda","oa":78,"o":"robot_zapping","x":[37575]},{"a":38909,"t":"code","b":[208,5],"m":"bne","oa":38916,"o":"b_9804"},{"a":38911,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":38913,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":38916,"l":"b_9804","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[38909]},{"a":38918,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":38920,"t":"code","b":[133,134],"m":"sta","oa":134,"o":"object_index"},{"a":38922,"l":"b_980A","t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi","x":[38967]},{"a":38924,"t":"code","b":[221,86,79],"m":"cmp","oa":20310,"o":"f_4F56,x"},{"a":38927,"t":"code","b":[144,21],"m":"bcc","oa":38950,"o":"b_9826"},{"a":38929,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":38931,"t":"code","b":[221,85,79],"m":"cmp","oa":20309,"o":"f_4F55,x"},{"a":38934,"t":"code","b":[144,14],"m":"bcc","oa":38950,"o":"b_9826"},{"a":38936,"t":"code","b":[189,88,79],"m":"lda","oa":20312,"o":"f_4F58,x"},{"a":38939,"t":"code","b":[197,17],"m":"cmp","oa":17,"o":"ptr_a_hi"},{"a":38941,"t":"code","b":[144,7],"m":"bcc","oa":38950,"o":"b_9826"},{"a":38943,"t":"code","b":[189,87,79],"m":"lda","oa":20311,"o":"f_4F57,x"},{"a":38946,"t":"code","b":[197,16],"m":"cmp","oa":16,"o":"ptr_a"},{"a":38948,"t":"code","b":[176,20],"m":"bcs","oa":38970,"o":"b_983A"},{"a":38950,"l":"b_9826","t":"code","b":[138],"m":"txa","x":[38927,38934,38941]},{"a":38951,"t":"code","b":[24],"m":"clc"},{"a":38952,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":38954,"t":"code","b":[170],"m":"tax"},{"a":38955,"t":"code","b":[165,134],"m":"lda","oa":134,"o":"object_index"},{"a":38957,"t":"code","b":[24],"m":"clc"},{"a":38958,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":38960,"t":"code","b":[133,134],"m":"sta","oa":134,"o":"object_index"},{"a":38962,"t":"code","b":[189,85,79],"m":"lda","oa":20309,"o":"f_4F55,x"},{"a":38965,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":38967,"t":"code","b":[208,209],"m":"bne","oa":38922,"o":"b_980A"},{"a":38969,"t":"code","b":[96],"m":"rts"},{"a":38970,"l":"b_983A","t":"code","b":[138],"m":"txa","x":[38948]},{"a":38971,"t":"code","b":[72],"m":"pha"},{"a":38972,"t":"code","b":[32,200,155],"m":"jsr","oa":39880,"o":"save_search_area"},{"a":38975,"t":"code","b":[230,63],"m":"inc","oa":63,"o":"agent_frame_no"},{"a":38977,"t":"code","b":[32,41,135],"m":"jsr","oa":34601,"o":"agent_frame"},{"a":38980,"t":"code","b":[104],"m":"pla"},{"a":38981,"t":"code","b":[170],"m":"tax"},{"a":38982,"t":"code","b":[189,89,79],"m":"lda","oa":20313,"o":"f_4F59,x"},{"a":38985,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":38987,"t":"code","b":[208,3],"m":"bne","oa":38992,"o":"b_9850"},{"a":38989,"t":"code","b":[76,251,152],"m":"jmp","oa":39163,"o":"search_result"},{"a":38992,"l":"b_9850","t":"code","b":[201,255],"m":"cmp","o":"#$FF","x":[38987]},{"a":38994,"t":"code","b":[208,3],"m":"bne","oa":38999,"o":"b_9857"},{"a":38996,"t":"code","b":[76,22,157],"m":"jmp","oa":40214,"o":"security_terminal"},{"a":38999,"l":"b_9857","t":"code","b":[72],"m":"pha","x":[38994]},{"a":39000,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":39002,"l":"b_985A","t":"code","b":[189,94,154],"m":"lda","oa":39518,"o":"gfx_searching,x","x":[39014]},{"a":39005,"t":"code","b":[157,0,80],"m":"sta","oa":20480,"o":"f_5000,x"},{"a":39008,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":39010,"t":"code","b":[157,64,80],"m":"sta","oa":20544,"o":"f_5040,x"},{"a":39013,"t":"code","b":[202],"m":"dex"},{"a":39014,"t":"code","b":[16,242],"m":"bpl","oa":39002,"o":"b_985A"},{"a":39016,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":39018,"l":"b_986A","t":"code","b":[189,158,154],"m":"lda","oa":39582,"o":"tbl_bar_start,x","x":[39025]},{"a":39021,"t":"code","b":[157,120,80],"m":"sta","oa":20600,"o":"f_5078,x"},{"a":39024,"t":"code","b":[202],"m":"dex"},{"a":39025,"t":"code","b":[16,247],"m":"bpl","oa":39018,"o":"b_986A"},{"a":39027,"t":"code","b":[169,69],"m":"lda","o":"#$45"},{"a":39029,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":39031,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":39033,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":39035,"t":"code","b":[104],"m":"pla"},{"a":39036,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39037,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39038,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39039,"t":"code","b":[72],"m":"pha"},{"a":39040,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39041,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39042,"t":"code","b":[170],"m":"tax"},{"a":39043,"t":"code","b":[240,19],"m":"beq","oa":39064,"o":"b_9898"},{"a":39045,"l":"b_9885","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[39062]},{"a":39047,"l":"b_9887","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[39052]},{"a":39049,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":39051,"t":"code","b":[136],"m":"dey"},{"a":39052,"t":"code","b":[16,249],"m":"bpl","oa":39047,"o":"b_9887"},{"a":39054,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":39056,"t":"code","b":[24],"m":"clc"},{"a":39057,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":39059,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":39061,"t":"code","b":[202],"m":"dex"},{"a":39062,"t":"code","b":[208,237],"m":"bne","oa":39045,"o":"b_9885"},{"a":39064,"l":"b_9898","t":"code","b":[104],"m":"pla","x":[39043]},{"a":39065,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":39067,"t":"code","b":[170],"m":"tax"},{"a":39068,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":39070,"t":"code","b":[189,250,153],"m":"lda","oa":39418,"o":"tbl_bar_fill,x"},{"a":39073,"l":"b_98A1","t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y","x":[39076]},{"a":39075,"t":"code","b":[136],"m":"dey"},{"a":39076,"t":"code","b":[16,251],"m":"bpl","oa":39073,"o":"b_98A1"},{"a":39078,"t":"code","b":[169,62],"m":"lda","o":"#$3E"},{"a":39080,"t":"code","b":[162,154],"m":"ldx","o":"#$9A"},{"a":39082,"t":"code","b":[32,163,155],"m":"jsr","oa":39843,"o":"show_search_box"},{"a":39085,"l":"b_98AD","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[39121,39161]},{"a":39088,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":39090,"t":"code","b":[240,7],"m":"beq","oa":39099,"o":"b_98BB"},{"a":39092,"t":"code","b":[32,40,156],"m":"jsr","oa":39976,"o":"restore_search_area"},{"a":39095,"t":"code","b":[32,228,149],"m":"jsr","oa":38372,"o":"agent_death"},{"a":39098,"t":"code","b":[96],"m":"rts"},{"a":39099,"l":"b_98BB","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1","x":[39090]},{"a":39101,"t":"code","b":[222,89,79],"m":"dec","oa":20313,"o":"f_4F59,x"},{"a":39104,"t":"code","b":[240,57],"m":"beq","oa":39163,"o":"search_result"},{"a":39106,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":39109,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39110,"t":"code","b":[144,4],"m":"bcc","oa":39116,"o":"b_98CC"},{"a":39112,"t":"code","b":[32,40,156],"m":"jsr","oa":39976,"o":"restore_search_area"},{"a":39115,"t":"code","b":[96],"m":"rts"},{"a":39116,"l":"b_98CC","t":"code","b":[189,89,79],"m":"lda","oa":20313,"o":"f_4F59,x","x":[39110]},{"a":39119,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":39121,"t":"code","b":[208,218],"m":"bne","oa":39085,"o":"b_98AD"},{"a":39123,"t":"code","b":[189,89,79],"m":"lda","oa":20313,"o":"f_4F59,x"},{"a":39126,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39127,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39128,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39129,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":39131,"t":"code","b":[170],"m":"tax"},{"a":39132,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":39134,"t":"code","b":[208,15],"m":"bne","oa":39151,"o":"b_98EF"},{"a":39136,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":39138,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":39140,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":39142,"t":"code","b":[208,7],"m":"bne","oa":39151,"o":"b_98EF"},{"a":39144,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":39146,"t":"code","b":[56],"m":"sec"},{"a":39147,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":39149,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":39151,"l":"b_98EF","t":"code","b":[189,250,153],"m":"lda","oa":39418,"o":"tbl_bar_fill,x","x":[39134,39142]},{"a":39154,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":39156,"l":"b_98F4","t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y","x":[39159]},{"a":39158,"t":"code","b":[136],"m":"dey"},{"a":39159,"t":"code","b":[16,251],"m":"bpl","oa":39156,"o":"b_98F4"},{"a":39161,"t":"code","b":[48,178],"m":"bmi","oa":39085,"o":"b_98AD"},{"a":39163,"l":"search_result","c":"The contents of a searched object, byte 5 of its record ($4F5A): $FF nothing (the NOTHING HERE picture, $99E3); $FE a special object ($AA40); $FB a case handled by $A771; $FC a snooze password and $FD a lift-init password (picture from $9B31, the SNOOZES or LIFT INITS count in the status text incremented up to 9, $D7 counts passwords found); otherwise a puzzle piece: $D6 counts pieces found, its picture is built ($9C47), it is appended to the memory list ($4EF5) with the room's colour ($D021 into $4F25), and the first two pieces are also copied, inverted, into the display's two memory slots ($C690, $C840). The picture stays on screen until up is released or the agent dies; then the object is marked empty ($9B35).","t":"code","b":[134,234],"m":"stx","oa":234,"o":"object_no","x":[38989,39104]},{"a":39165,"t":"code","b":[189,90,79],"m":"lda","oa":20314,"o":"f_4F5A,x"},{"a":39168,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":39170,"t":"code","b":[208,3],"m":"bne","oa":39175,"o":"b_9907"},{"a":39172,"l":"b_9904","t":"code","b":[76,227,153],"m":"jmp","oa":39395,"o":"j_99E3","x":[39185]},{"a":39175,"l":"b_9907","t":"code","b":[201,254],"m":"cmp","o":"#$FE","x":[39170]},{"a":39177,"t":"code","b":[208,9],"m":"bne","oa":39188,"o":"b_9914"},{"a":39179,"t":"code","b":[32,64,170],"m":"jsr","oa":43584,"o":"elvin_terminal"},{"a":39182,"t":"code","b":[173,128,77],"m":"lda","oa":19840,"o":"f_4D80"},{"a":39185,"t":"code","b":[208,241],"m":"bne","oa":39172,"o":"b_9904"},{"a":39187,"t":"code","b":[96],"m":"rts"},{"a":39188,"l":"b_9914","t":"code","b":[201,251],"m":"cmp","o":"#$FB","x":[39177]},{"a":39190,"t":"code","b":[208,3],"m":"bne","oa":39195,"o":"b_991B"},{"a":39192,"t":"code","b":[76,113,167],"m":"jmp","oa":42865,"o":"code_room_puzzle"},{"a":39195,"l":"b_991B","t":"code","b":[72],"m":"pha","x":[39190]},{"a":39196,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":39199,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":39201,"l":"b_9921","t":"code","b":[160,7],"m":"ldy","o":"#$07","x":[39214]},{"a":39203,"t":"code","b":[169,82],"m":"lda","o":"#$52"},{"a":39205,"l":"b_9925","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[39208]},{"a":39207,"t":"code","b":[136],"m":"dey"},{"a":39208,"t":"code","b":[16,251],"m":"bpl","oa":39205,"o":"b_9925"},{"a":39210,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":39213,"t":"code","b":[202],"m":"dex"},{"a":39214,"t":"code","b":[16,241],"m":"bpl","oa":39201,"o":"b_9921"},{"a":39216,"t":"code","b":[32,22,175],"m":"jsr","oa":44822,"o":"addr_up4"},{"a":39219,"t":"code","b":[104],"m":"pla"},{"a":39220,"t":"code","b":[72],"m":"pha"},{"a":39221,"t":"code","b":[201,252],"m":"cmp","o":"#$FC"},{"a":39223,"t":"code","b":[144,48],"m":"bcc","oa":39273,"o":"b_9969"},{"a":39225,"t":"code","b":[104],"m":"pla"},{"a":39226,"t":"code","b":[233,252],"m":"sbc","o":"#$FC"},{"a":39228,"t":"code","b":[170],"m":"tax"},{"a":39229,"t":"code","b":[189,49,155],"m":"lda","oa":39729,"o":"tbl_password_pics,x"},{"a":39232,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":39234,"t":"code","b":[189,51,155],"m":"lda","oa":39731,"o":"f_9B33,x"},{"a":39237,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":39239,"t":"code","b":[160,143],"m":"ldy","o":"#$8F"},{"a":39241,"l":"b_9949","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[39249]},{"a":39243,"t":"code","b":[153,0,80],"m":"sta","oa":20480,"o":"f_5000,y"},{"a":39246,"t":"code","b":[136],"m":"dey"},{"a":39247,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":39249,"t":"code","b":[208,246],"m":"bne","oa":39241,"o":"b_9949"},{"a":39251,"t":"code","b":[230,215],"m":"inc","oa":215,"o":"passwords_found"},{"a":39253,"t":"code","b":[189,39,162],"m":"lda","oa":41511,"o":"tbl_counter_offsets,x"},{"a":39256,"t":"code","b":[170],"m":"tax"},{"a":39257,"t":"code","b":[189,57,52],"m":"lda","oa":13369,"o":"f_3439,x"},{"a":39260,"t":"code","b":[201,137],"m":"cmp","o":"#$89"},{"a":39262,"t":"code","b":[176,3],"m":"bcs","oa":39267,"o":"b_9963"},{"a":39264,"t":"code","b":[254,57,52],"m":"inc","oa":13369,"o":"f_3439,x"},{"a":39267,"l":"b_9963","t":"code","b":[32,144,155],"m":"jsr","oa":39824,"o":"invert_picture","x":[39262]},{"a":39270,"t":"code","b":[76,193,153],"m":"jmp","oa":39361,"o":"j_99C1"},{"a":39273,"l":"b_9969","t":"code","b":[230,214],"m":"inc","oa":214,"o":"pieces_found","x":[39223]},{"a":39275,"t":"code","b":[32,71,156],"m":"jsr","oa":40007,"o":"build_piece"},{"a":39278,"t":"code","b":[32,144,155],"m":"jsr","oa":39824,"o":"invert_picture"},{"a":39281,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":39283,"l":"b_9973","t":"code","b":[189,245,78],"m":"lda","oa":20213,"o":"a_4EF5,x","x":[39289]},{"a":39286,"t":"code","b":[232],"m":"inx"},{"a":39287,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":39289,"t":"code","b":[208,248],"m":"bne","oa":39283,"o":"b_9973"},{"a":39291,"t":"code","b":[157,245,78],"m":"sta","oa":20213,"o":"a_4EF5,x"},{"a":39294,"t":"code","b":[202],"m":"dex"},{"a":39295,"t":"code","b":[224,2],"m":"cpx","o":"#$02"},{"a":39297,"t":"code","b":[176,52],"m":"bcs","oa":39351,"o":"b_99B7"},{"a":39299,"t":"code","b":[160,143],"m":"ldy","o":"#$8F"},{"a":39301,"t":"code","b":[138],"m":"txa"},{"a":39302,"t":"code","b":[208,25],"m":"bne","oa":39329,"o":"b_99A1"},{"a":39304,"l":"b_9988","t":"code","b":[185,0,80],"m":"lda","oa":20480,"o":"f_5000,y","x":[39315]},{"a":39307,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":39309,"t":"code","b":[153,144,198],"m":"sta","oa":50832,"o":"f_C690,y"},{"a":39312,"t":"code","b":[136],"m":"dey"},{"a":39313,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":39315,"t":"code","b":[208,243],"m":"bne","oa":39304,"o":"b_9988"},{"a":39317,"t":"code","b":[173,33,208],"m":"lda","o":"vic_background0"},{"a":39320,"t":"code","b":[133,152],"m":"sta","oa":152,"o":"slot_colour"},{"a":39322,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":39324,"t":"code","b":[133,146],"m":"sta","oa":146,"o":"slot_used"},{"a":39326,"t":"code","b":[76,183,153],"m":"jmp","oa":39351,"o":"b_99B7"},{"a":39329,"l":"b_99A1","t":"code","b":[185,0,80],"m":"lda","oa":20480,"o":"f_5000,y","x":[39302,39340]},{"a":39332,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":39334,"t":"code","b":[153,64,200],"m":"sta","oa":51264,"o":"f_C840,y"},{"a":39337,"t":"code","b":[136],"m":"dey"},{"a":39338,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":39340,"t":"code","b":[208,243],"m":"bne","oa":39329,"o":"b_99A1"},{"a":39342,"t":"code","b":[173,33,208],"m":"lda","o":"vic_background0"},{"a":39345,"t":"code","b":[133,155],"m":"sta","oa":155,"o":"slot_colour_3"},{"a":39347,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":39349,"t":"code","b":[133,149],"m":"sta","oa":149,"o":"slot_used_3"},{"a":39351,"l":"b_99B7","t":"code","b":[104],"m":"pla","x":[39297,39326]},{"a":39352,"t":"code","b":[157,245,78],"m":"sta","oa":20213,"o":"a_4EF5,x"},{"a":39355,"t":"code","b":[173,33,208],"m":"lda","o":"vic_background0"},{"a":39358,"t":"code","b":[157,37,79],"m":"sta","oa":20261,"o":"f_4F25,x"},{"a":39361,"l":"j_99C1","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[39270,39384,39415]},{"a":39364,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":39366,"t":"code","b":[240,12],"m":"beq","oa":39380,"o":"b_99D4"},{"a":39368,"t":"code","b":[32,40,156],"m":"jsr","oa":39976,"o":"restore_search_area"},{"a":39371,"t":"code","b":[166,234],"m":"ldx","oa":234,"o":"object_no"},{"a":39373,"t":"code","b":[32,53,155],"m":"jsr","oa":39733,"o":"mark_searched"},{"a":39376,"t":"code","b":[32,228,149],"m":"jsr","oa":38372,"o":"agent_death"},{"a":39379,"t":"code","b":[96],"m":"rts"},{"a":39380,"l":"b_99D4","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[39366]},{"a":39383,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39384,"t":"code","b":[144,231],"m":"bcc","oa":39361,"o":"j_99C1"},{"a":39386,"t":"code","b":[32,40,156],"m":"jsr","oa":39976,"o":"restore_search_area"},{"a":39389,"t":"code","b":[166,234],"m":"ldx","oa":234,"o":"object_no"},{"a":39391,"t":"code","b":[32,53,155],"m":"jsr","oa":39733,"o":"mark_searched"},{"a":39394,"t":"code","b":[96],"m":"rts"},{"a":39395,"l":"j_99E3","t":"code","b":[169,30],"m":"lda","o":"#$1E","x":[39172]},{"a":39397,"t":"code","b":[162,154],"m":"ldx","o":"#$9A"},{"a":39399,"t":"code","b":[32,163,155],"m":"jsr","oa":39843,"o":"show_search_box"},{"a":39402,"t":"code","b":[162,143],"m":"ldx","o":"#$8F"},{"a":39404,"l":"b_99EC","t":"code","b":[189,161,154],"m":"lda","oa":39585,"o":"gfx_nothing_here,x","x":[39413]},{"a":39407,"t":"code","b":[157,0,80],"m":"sta","oa":20480,"o":"f_5000,x"},{"a":39410,"t":"code","b":[202],"m":"dex"},{"a":39411,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":39413,"t":"code","b":[208,245],"m":"bne","oa":39404,"o":"b_99EC"},{"a":39415,"t":"code","b":[76,193,153],"m":"jmp","oa":39361,"o":"j_99C1"},{"a":39418,"l":"tbl_bar_fill","c":"Bit patterns for the search bar's last cell: $FF, $3F, $0F, $03 (four, three, two, one pixel pairs filled).","t":"byte","b":[255,63,15,3],"x":[39070,39151]},{"a":39422,"l":"tbl_search_layouts","c":"Three layouts of the searching box, 8 \u00d7 4 cells each (32 bytes, read by show_search_box from $99FE, $9A1E or $9A3E): glyph numbers, $52 for a blank cell and $00-$11 for the cells of the 144-byte picture built at $5000.","t":"byte","b":[82,82,82,82,82,82,82,82]},{"a":39430,"t":"byte","b":[82,5,4,3,2,1,0,82]},{"a":39438,"t":"byte","b":[82,11,10,9,8,7,6,82]},{"a":39446,"t":"byte","b":[82,17,16,15,14,13,12,82]},{"a":39454,"c":"The second of the three searching-box layouts in tbl_search_layouts.","t":"byte","b":[82,82,82,82,82,82,82,82]},{"a":39462,"t":"byte","b":[6,5,4,3,2,1,0,82]},{"a":39470,"t":"byte","b":[12,11,10,9,8,7,82,82]},{"a":39478,"t":"byte","b":[82,17,16,15,14,13,82,82]},{"a":39486,"l":"f_9A3E","c":"The third searching-box layout in tbl_search_layouts (the default operand of show_search_box).","t":"byte","b":[82,82,82,82,82,82,82,82],"x":[39856]},{"a":39494,"t":"byte","b":[7,6,5,4,3,2,1,0]},{"a":39502,"t":"byte","b":[15,14,13,12,11,10,9,8]},{"a":39510,"t":"byte","b":[82,82,82,82,82,82,82,82]},{"a":39518,"l":"gfx_searching","c":"The top of the picture shown while an object is searched, 64 bytes stored inverted; copied to $5000 at the start of a search, with $FF below it and the bar from $9A9E.","t":"byte","b":[195,159,159,199,243,243,243,135],"x":[39002]},{"a":39526,"t":"byte","b":[255,255,255,135,51,3,63,135]},{"a":39534,"t":"byte","b":[255,255,255,135,243,131,51,131]},{"a":39542,"t":"byte","b":[255,255,255,39,30,62,62,63]},{"a":39550,"t":"byte","b":[249,249,249,24,121,121,121,25]},{"a":39558,"t":"byte","b":[255,249,255,57,153,153,153,153]},{"a":39566,"t":"byte","b":[255,255,255,131,153,153,153,153]},{"a":39574,"t":"byte","b":[255,255,255,193,153,153,153,193]},{"a":39582,"l":"tbl_bar_start","c":"The first three bytes of the search bar, copied to $5078.","t":"byte","b":[249,153,195],"x":[39018]},{"a":39585,"l":"gfx_nothing_here","c":"The picture shown when a search finds nothing (144 bytes, inverted, the size of a puzzle piece's picture), copied to $5000 by $99E3.","t":"byte","b":[62,30,14,38,50,56,60,62],"x":[39404]},{"a":39593,"t":"byte","b":[127,127,127,112,102,102,102,112]},{"a":39601,"t":"byte","b":[255,243,243,225,115,115,115,249]},{"a":39609,"t":"byte","b":[159,159,159,131,153,153,153,153]},{"a":39617,"t":"byte","b":[255,159,255,152,153,153,153,153]},{"a":39625,"t":"byte","b":[255,255,255,60,153,153,153,156]},{"a":39633,"t":"byte","b":[255,255,255,31,159,159,159,31]},{"a":39641,"t":"byte","b":[255,255,255,207,207,207,193,204]},{"a":39649,"t":"byte","b":[255,255,255,255,255,255,225,204]},{"a":39657,"t":"byte","b":[255,255,255,255,255,255,201,199]},{"a":39665,"t":"byte","b":[255,255,255,255,255,255,195,153]},{"a":39673,"t":"byte","b":[255,249,252,255,255,255,255,255]},{"a":39681,"t":"byte","b":[159,159,63,255,255,255,255,255]},{"a":39689,"t":"byte","b":[204,204,204,255,255,255,255,255]},{"a":39697,"t":"byte","b":[192,207,225,255,255,255,255,255]},{"a":39705,"t":"byte","b":[207,207,207,255,255,255,255,255]},{"a":39713,"t":"byte","b":[129,159,195,255,255,255,255,255]},{"a":39721,"t":"byte","b":[255,255,159,255,255,255,255,255]},{"a":39729,"l":"tbl_password_pics","c":"Low and high bytes of the two password pictures shown by a search: $3283 (snooze, $FC) and $31F3 (lift init, $FD).","t":"byte","b":[131,243],"x":[39229]},{"a":39731,"l":"f_9B33","c":"High bytes of tbl_password_pics.","t":"byte","b":[50,49],"x":[39234]},{"a":39733,"l":"mark_searched","c":"Marks object X as searched: contents $F0, the room's map flag cleared through ($87),$86, and its cells on screen blanked (4 rows of its width, keeping the floor glyphs $45-$4B on the lowest row) so the furniture disappears. A special object ($FE) is left alone.","t":"code","b":[189,90,79],"m":"lda","oa":20314,"o":"f_4F5A,x","x":[39373,39391]},{"a":39736,"t":"code","b":[201,254],"m":"cmp","o":"#$FE"},{"a":39738,"t":"code","b":[240,83],"m":"beq","oa":39823,"o":"r_9B8F"},{"a":39740,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":39742,"t":"code","b":[157,90,79],"m":"sta","oa":20314,"o":"f_4F5A,x"},{"a":39745,"t":"code","b":[164,134],"m":"ldy","oa":134,"o":"object_index"},{"a":39747,"t":"code","b":[145,135],"m":"sta","oa":135,"o":"(object_flag_ptr),y"},{"a":39749,"t":"code","b":[138],"m":"txa"},{"a":39750,"t":"code","b":[72],"m":"pha"},{"a":39751,"t":"code","b":[189,85,79],"m":"lda","oa":20309,"o":"f_4F55,x"},{"a":39754,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":39756,"t":"code","b":[189,86,79],"m":"lda","oa":20310,"o":"f_4F56,x"},{"a":39759,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":39761,"t":"code","b":[189,87,79],"m":"lda","oa":20311,"o":"f_4F57,x"},{"a":39764,"t":"code","b":[56],"m":"sec"},{"a":39765,"t":"code","b":[253,85,79],"m":"sbc","oa":20309,"o":"f_4F55,x"},{"a":39768,"t":"code","b":[168],"m":"tay"},{"a":39769,"t":"code","b":[72],"m":"pha"},{"a":39770,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":39772,"l":"b_9B5C","t":"code","b":[104],"m":"pla","x":[39794]},{"a":39773,"t":"code","b":[72],"m":"pha"},{"a":39774,"t":"code","b":[168],"m":"tay"},{"a":39775,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":39777,"l":"b_9B61","t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y","x":[39780]},{"a":39779,"t":"code","b":[136],"m":"dey"},{"a":39780,"t":"code","b":[16,251],"m":"bpl","oa":39777,"o":"b_9B61"},{"a":39782,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":39784,"t":"code","b":[56],"m":"sec"},{"a":39785,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":39787,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":39789,"t":"code","b":[176,2],"m":"bcs","oa":39793,"o":"b_9B71"},{"a":39791,"t":"code","b":[198,25],"m":"dec","oa":25,"o":"ptr_data_hi"},{"a":39793,"l":"b_9B71","t":"code","b":[202],"m":"dex","x":[39789]},{"a":39794,"t":"code","b":[16,232],"m":"bpl","oa":39772,"o":"b_9B5C"},{"a":39796,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":39798,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":39800,"t":"code","b":[104],"m":"pla"},{"a":39801,"t":"code","b":[144,18],"m":"bcc","oa":39821,"o":"b_9B8D"},{"a":39803,"t":"code","b":[168],"m":"tay"},{"a":39804,"l":"b_9B7C","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[39819]},{"a":39806,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":39808,"t":"code","b":[144,4],"m":"bcc","oa":39814,"o":"b_9B86"},{"a":39810,"t":"code","b":[201,76],"m":"cmp","o":"#$4C"},{"a":39812,"t":"code","b":[144,7],"m":"bcc","oa":39821,"o":"b_9B8D"},{"a":39814,"l":"b_9B86","t":"code","b":[169,83],"m":"lda","o":"#$53","x":[39808]},{"a":39816,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":39818,"t":"code","b":[136],"m":"dey"},{"a":39819,"t":"code","b":[16,239],"m":"bpl","oa":39804,"o":"b_9B7C"},{"a":39821,"l":"b_9B8D","t":"code","b":[104],"m":"pla","x":[39801,39812]},{"a":39822,"t":"code","b":[170],"m":"tax"},{"a":39823,"l":"r_9B8F","t":"code","b":[96],"m":"rts","x":[39738]},{"a":39824,"l":"invert_picture","c":"Inverts the 144-byte picture at $5000 and shows it in the searching box.","t":"code","b":[162,143],"m":"ldx","o":"#$8F","x":[39267,39278]},{"a":39826,"l":"b_9B92","t":"code","b":[189,0,80],"m":"lda","oa":20480,"o":"f_5000,x","x":[39837]},{"a":39829,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":39831,"t":"code","b":[157,0,80],"m":"sta","oa":20480,"o":"f_5000,x"},{"a":39834,"t":"code","b":[202],"m":"dex"},{"a":39835,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":39837,"t":"code","b":[208,243],"m":"bne","oa":39826,"o":"b_9B92"},{"a":39839,"t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":39841,"t":"code","b":[162,153],"m":"ldx","o":"#$99"},{"a":39843,"l":"show_search_box","c":"Draws the searching box over the object: 8 \u00d7 4 cells from the layout table whose address is in A/X (written into the operand at $9BB1), in white, at $10/$11 and $14/$15.","t":"code","b":[141,177,155],"m":"sta","oa":39857,"o":"a_9BB1","x":[39082,39399]},{"a":39846,"t":"code","b":[142,178,155],"m":"stx","oa":39858,"o":"a_9BB2"},{"a":39849,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":39852,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":39854,"l":"b_9BAE","t":"code","b":[160,7],"m":"ldy","o":"#$07","x":[39874]},{"a":39856,"l":"b_9BB0","t":"code","b":[189,62,154],"m":"lda","oa":39486,"o":"f_9A3E,x","x":[39867]},{"a":39857,"t":"note","l":"a_9BB1","c":"Operand low byte of `lda $9A3E,x` in show_search_box: which of the three box layouts to draw.","note":"inside the item at $9BB0","x":[39843]},{"a":39858,"t":"note","l":"a_9BB2","c":"High byte of the box layout's address.","note":"inside the item at $9BB0","x":[39846]},{"a":39859,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":39861,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":39863,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":39865,"t":"code","b":[232],"m":"inx"},{"a":39866,"t":"code","b":[136],"m":"dey"},{"a":39867,"t":"code","b":[16,243],"m":"bpl","oa":39856,"o":"b_9BB0"},{"a":39869,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":39872,"t":"code","b":[224,32],"m":"cpx","o":"#$20"},{"a":39874,"t":"code","b":[144,234],"m":"bcc","oa":39854,"o":"b_9BAE"},{"a":39876,"t":"code","b":[32,22,175],"m":"jsr","oa":44822,"o":"addr_up4"},{"a":39879,"t":"code","b":[96],"m":"rts"},{"a":39880,"l":"save_search_area","c":"Works out the screen address of the 8 \u00d7 4 cells above the agent ($10/$11, colour $14/$15) and saves them to $C100 (characters) and $C120 (colours) so the search box can be removed.","t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left","x":[38972]},{"a":39883,"t":"code","b":[106],"m":"ror","o":"a"},{"a":39884,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39885,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":39886,"t":"code","b":[201,31],"m":"cmp","o":"#$1F"},{"a":39888,"t":"code","b":[144,2],"m":"bcc","oa":39892,"o":"b_9BD4"},{"a":39890,"t":"code","b":[233,13],"m":"sbc","o":"#$0D"},{"a":39892,"l":"b_9BD4","t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1","x":[39888]},{"a":39894,"t":"code","b":[230,228],"m":"inc","oa":228,"o":"tmp1"},{"a":39896,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":39898,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":39900,"t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom"},{"a":39903,"t":"code","b":[56],"m":"sec"},{"a":39904,"t":"code","b":[233,96],"m":"sbc","o":"#$60"},{"a":39906,"t":"code","b":[176,2],"m":"bcs","oa":39910,"o":"b_9BE6"},{"a":39908,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":39910,"l":"b_9BE6","t":"code","b":[41,248],"m":"and","o":"#$F8","x":[39906]},{"a":39912,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":39914,"t":"code","b":[10],"m":"asl","o":"a"},{"a":39915,"t":"code","b":[38,230],"m":"rol","oa":230,"o":"tmp3"},{"a":39917,"t":"code","b":[10],"m":"asl","o":"a"},{"a":39918,"t":"code","b":[38,230],"m":"rol","oa":230,"o":"tmp3"},{"a":39920,"t":"code","b":[24],"m":"clc"},{"a":39921,"t":"code","b":[101,229],"m":"adc","oa":229,"o":"tmp2"},{"a":39923,"t":"code","b":[144,3],"m":"bcc","oa":39928,"o":"b_9BF8"},{"a":39925,"t":"code","b":[230,230],"m":"inc","oa":230,"o":"tmp3"},{"a":39927,"t":"code","b":[24],"m":"clc"},{"a":39928,"l":"b_9BF8","t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1","x":[39923]},{"a":39930,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":39932,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":39934,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":39936,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":39938,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":39940,"t":"code","b":[24],"m":"clc"},{"a":39941,"t":"code","b":[105,152],"m":"adc","o":"#$98"},{"a":39943,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":39945,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":39947,"l":"b_9C0B","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[39970]},{"a":39949,"l":"b_9C0D","t":"code","b":[177,16],"m":"lda","oa":16,"o":"(ptr_a),y","x":[39963]},{"a":39951,"t":"code","b":[157,0,193],"m":"sta","oa":49408,"o":"f_C100,x"},{"a":39954,"t":"code","b":[177,20],"m":"lda","oa":20,"o":"(ptr_colour),y"},{"a":39956,"t":"code","b":[157,32,193],"m":"sta","oa":49440,"o":"f_C120,x"},{"a":39959,"t":"code","b":[232],"m":"inx"},{"a":39960,"t":"code","b":[200],"m":"iny"},{"a":39961,"t":"code","b":[192,8],"m":"cpy","o":"#$08"},{"a":39963,"t":"code","b":[144,240],"m":"bcc","oa":39949,"o":"b_9C0D"},{"a":39965,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":39968,"t":"code","b":[224,32],"m":"cpx","o":"#$20"},{"a":39970,"t":"code","b":[144,231],"m":"bcc","oa":39947,"o":"b_9C0B"},{"a":39972,"t":"code","b":[32,22,175],"m":"jsr","oa":44822,"o":"addr_up4"},{"a":39975,"t":"code","b":[96],"m":"rts"},{"a":39976,"l":"restore_search_area","c":"Puts back the 8 \u00d7 4 cells saved by save_search_area.","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[39092,39112,39368,39386]},{"a":39979,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":39981,"l":"b_9C2D","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[40004]},{"a":39983,"l":"b_9C2F","t":"code","b":[189,0,193],"m":"lda","oa":49408,"o":"f_C100,x","x":[39997]},{"a":39986,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":39988,"t":"code","b":[189,32,193],"m":"lda","oa":49440,"o":"f_C120,x"},{"a":39991,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":39993,"t":"code","b":[232],"m":"inx"},{"a":39994,"t":"code","b":[200],"m":"iny"},{"a":39995,"t":"code","b":[192,8],"m":"cpy","o":"#$08"},{"a":39997,"t":"code","b":[144,240],"m":"bcc","oa":39983,"o":"b_9C2F"},{"a":39999,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":40002,"t":"code","b":[224,32],"m":"cpx","o":"#$20"},{"a":40004,"t":"code","b":[144,231],"m":"bcc","oa":39981,"o":"b_9C2D"},{"a":40006,"t":"code","b":[96],"m":"rts"},{"a":40007,"l":"build_piece","c":"Builds the picture of puzzle piece A in $5000: from the piece's four-byte record at $BFC0, the solution image of its puzzle ($C9F0 + 144 \u00d7 puzzle) ANDed with two mask shapes from the table at $2763, each mask inverted or not by the record's flag bits 0 and 1 (patched into the `lda #$00` operands at $9C64 and $9C6D). Then flips it by flag bits 3 (top to bottom, $7934) and 2 (left to right, $7999), so a piece can be found upside down or mirrored.","t":"code","b":[32,209,156],"m":"jsr","oa":40145,"o":"piece_pointers","x":[31423,31561,33087,33110,39275]},{"a":40010,"t":"code","b":[200],"m":"iny"},{"a":40011,"t":"code","b":[177,230],"m":"lda","oa":230,"o":"(tmp3),y"},{"a":40013,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":40015,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":40017,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":40018,"t":"code","b":[144,1],"m":"bcc","oa":40021,"o":"b_9C55"},{"a":40020,"t":"code","b":[202],"m":"dex"},{"a":40021,"l":"b_9C55","t":"code","b":[142,109,156],"m":"stx","oa":40045,"o":"a_9C6D","x":[40018]},{"a":40024,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":40026,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":40027,"t":"code","b":[144,1],"m":"bcc","oa":40030,"o":"b_9C5E"},{"a":40029,"t":"code","b":[202],"m":"dex"},{"a":40030,"l":"b_9C5E","t":"code","b":[142,100,156],"m":"stx","oa":40036,"o":"a_9C64","x":[40027]},{"a":40033,"t":"code","b":[160,143],"m":"ldy","o":"#$8F"},{"a":40035,"l":"b_9C63","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[40057]},{"a":40036,"t":"note","l":"a_9C64","c":"Immediate operand of `lda #$00` in build_piece: $00 or $FF, inverting the second mask for this piece (flag bit 1).","note":"inside the item at $9C63","x":[40030]},{"a":40037,"t":"code","b":[81,198],"m":"eor","oa":198,"o":"(mask_ptr2),y"},{"a":40039,"t":"code","b":[49,232],"m":"and","oa":232,"o":"(tmp5),y"},{"a":40041,"t":"code","b":[153,0,80],"m":"sta","oa":20480,"o":"f_5000,y"},{"a":40044,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40045,"t":"note","l":"a_9C6D","c":"Immediate operand of `lda #$00` in build_piece: $00 or $FF, inverting the first mask (flag bit 0).","note":"inside the item at $9C6C","x":[40021]},{"a":40046,"t":"code","b":[81,196],"m":"eor","oa":196,"o":"(mask_ptrs),y"},{"a":40048,"t":"code","b":[57,0,80],"m":"and","oa":20480,"o":"f_5000,y"},{"a":40051,"t":"code","b":[153,0,80],"m":"sta","oa":20480,"o":"f_5000,y"},{"a":40054,"t":"code","b":[136],"m":"dey"},{"a":40055,"t":"code","b":[192,255],"m":"cpy","o":"#$FF"},{"a":40057,"t":"code","b":[208,232],"m":"bne","oa":40035,"o":"b_9C63"},{"a":40059,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40061,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":40063,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":40065,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":40067,"t":"code","b":[32,55,177],"m":"jsr","oa":45367,"o":"frame_image"},{"a":40070,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40072,"t":"code","b":[162,80],"m":"ldx","o":"#$50"},{"a":40074,"l":"redraw_piece","c":"Entry of build_piece's end: points $18/$19 and the flip routines' operands at the glyphs at $5000 + A, then applies the flips in $E4; used by phone_answer_orient to show a piece the right way round.","t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data","x":[32682,32714]},{"a":40076,"t":"code","b":[141,57,121],"m":"sta","oa":31033,"o":"a_7939"},{"a":40079,"t":"code","b":[141,63,121],"m":"sta","oa":31039,"o":"a_793F"},{"a":40082,"t":"code","b":[141,158,121],"m":"sta","oa":31134,"o":"a_799E"},{"a":40085,"t":"code","b":[141,172,121],"m":"sta","oa":31148,"o":"a_79AC"},{"a":40088,"t":"code","b":[134,25],"m":"stx","oa":25,"o":"ptr_data_hi"},{"a":40090,"t":"code","b":[142,58,121],"m":"stx","oa":31034,"o":"a_793A"},{"a":40093,"t":"code","b":[142,64,121],"m":"stx","oa":31040,"o":"a_7940"},{"a":40096,"t":"code","b":[142,159,121],"m":"stx","oa":31135,"o":"a_799F"},{"a":40099,"t":"code","b":[142,173,121],"m":"stx","oa":31149,"o":"a_79AD"},{"a":40102,"t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1"},{"a":40104,"t":"code","b":[72],"m":"pha"},{"a":40105,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":40107,"t":"code","b":[240,15],"m":"beq","oa":40124,"o":"b_9CBC"},{"a":40109,"t":"code","b":[162,40],"m":"ldx","o":"#$28"},{"a":40111,"t":"code","b":[160,140],"m":"ldy","o":"#$8C"},{"a":40113,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":40115,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":40117,"l":"b_9CB5","t":"code","b":[32,52,121],"m":"jsr","oa":31028,"o":"flip_v_step","x":[40122]},{"a":40120,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":40122,"t":"code","b":[16,249],"m":"bpl","oa":40117,"o":"b_9CB5"},{"a":40124,"l":"b_9CBC","t":"code","b":[104],"m":"pla","x":[40107]},{"a":40125,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":40127,"t":"code","b":[240,15],"m":"beq","oa":40144,"o":"r_9CD0"},{"a":40129,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":40131,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":40133,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":40135,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":40137,"l":"b_9CC9","t":"code","b":[32,153,121],"m":"jsr","oa":31129,"o":"flip_h_step","x":[40142]},{"a":40140,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":40142,"t":"code","b":[16,249],"m":"bpl","oa":40137,"o":"b_9CC9"},{"a":40144,"l":"r_9CD0","t":"code","b":[96],"m":"rts","x":[40127]},{"a":40145,"l":"piece_pointers","c":"Sets the pointers for build_piece: $E6/$E7 = the piece's record ($BFC0 + 4A), $E8/$E9 = its puzzle's solution image, and $C4-$C7 the two mask shapes ($2763 + 144 \u00d7 mask number).","t":"code","b":[10],"m":"asl","o":"a","x":[40007]},{"a":40146,"t":"code","b":[10],"m":"asl","o":"a"},{"a":40147,"t":"code","b":[24],"m":"clc"},{"a":40148,"t":"code","b":[105,192],"m":"adc","o":"#$C0"},{"a":40150,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":40152,"t":"code","b":[169,191],"m":"lda","o":"#$BF"},{"a":40154,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":40156,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":40158,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":40160,"t":"code","b":[177,230],"m":"lda","oa":230,"o":"(tmp3),y"},{"a":40162,"t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address"},{"a":40165,"t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1"},{"a":40167,"t":"code","b":[24],"m":"clc"},{"a":40168,"t":"code","b":[105,240],"m":"adc","o":"#$F0"},{"a":40170,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":40172,"t":"code","b":[138],"m":"txa"},{"a":40173,"t":"code","b":[105,201],"m":"adc","o":"#$C9"},{"a":40175,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tmp6"},{"a":40177,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":40179,"l":"b_9CF3","t":"code","b":[138],"m":"txa","x":[40211]},{"a":40180,"t":"code","b":[72],"m":"pha"},{"a":40181,"t":"code","b":[200],"m":"iny"},{"a":40182,"t":"code","b":[177,230],"m":"lda","oa":230,"o":"(tmp3),y"},{"a":40184,"t":"code","b":[32,184,130],"m":"jsr","oa":33464,"o":"slot_address"},{"a":40187,"t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1"},{"a":40189,"t":"code","b":[24],"m":"clc"},{"a":40190,"t":"code","b":[105,99],"m":"adc","o":"#$63"},{"a":40192,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":40194,"t":"code","b":[138],"m":"txa"},{"a":40195,"t":"code","b":[105,39],"m":"adc","o":"#$27"},{"a":40197,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":40199,"t":"code","b":[104],"m":"pla"},{"a":40200,"t":"code","b":[170],"m":"tax"},{"a":40201,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":40203,"t":"code","b":[149,196],"m":"sta","oa":196,"o":"mask_ptrs,x"},{"a":40205,"t":"code","b":[202],"m":"dex"},{"a":40206,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":40208,"t":"code","b":[149,196],"m":"sta","oa":196,"o":"mask_ptrs,x"},{"a":40210,"t":"code","b":[202],"m":"dex"},{"a":40211,"t":"code","b":[16,222],"m":"bpl","oa":40179,"o":"b_9CF3"},{"a":40213,"t":"code","b":[96],"m":"rts"},{"a":40214,"l":"security_terminal","c":"The security terminal. Blanks the screen, saves the screen ($4000-$43FF to $C100-$C4FF) and colour RAM ($D800-$DBFF to $0400-$07FF), and the video chip's sprite and colour registers on the stack. Draws the terminal's screen from two run-length lists of (count, value) pairs: characters from $3633 and colours from $37A9 (value $FF = the room's colour), 25 rows; sets the colours from tbl_terminal_colours, eight sprites from tbl_terminal_sprites and their pointers ($18-$1D), and the character set two below. Runs the terminal ($9F0E), then restores everything. Live: started from the room loop in room $1C, it showed SECURITY TERMINAL 28.","t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top","x":[38996]},{"a":40217,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":40220,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":40222,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":40225,"t":"code","b":[120],"m":"sei"},{"a":40226,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":40228,"t":"code","b":[140,4,212],"m":"sty","o":"sid_v1_control"},{"a":40231,"t":"code","b":[140,18,212],"m":"sty","o":"sid_v3_control"},{"a":40234,"t":"code","b":[140,11,212],"m":"sty","o":"sid_v2_control"},{"a":40237,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":40239,"l":"b_9D2F","t":"code","b":[185,0,64],"m":"lda","oa":16384,"o":"f_4000,y","x":[40288]},{"a":40242,"t":"code","b":[153,0,193],"m":"sta","oa":49408,"o":"f_C100,y"},{"a":40245,"t":"code","b":[185,0,65],"m":"lda","oa":16640,"o":"f_4100,y"},{"a":40248,"t":"code","b":[153,0,194],"m":"sta","oa":49664,"o":"f_C200,y"},{"a":40251,"t":"code","b":[185,0,66],"m":"lda","oa":16896,"o":"f_4200,y"},{"a":40254,"t":"code","b":[153,0,195],"m":"sta","oa":49920,"o":"f_C300,y"},{"a":40257,"t":"code","b":[185,0,67],"m":"lda","oa":17152,"o":"f_4300,y"},{"a":40260,"t":"code","b":[153,0,196],"m":"sta","oa":50176,"o":"f_C400,y"},{"a":40263,"t":"code","b":[185,0,216],"m":"lda","o":"colour_ram,y"},{"a":40266,"t":"code","b":[153,0,4],"m":"sta","oa":1024,"o":"f_0400,y"},{"a":40269,"t":"code","b":[185,0,217],"m":"lda","o":"$D900,y"},{"a":40272,"t":"code","b":[153,0,5],"m":"sta","oa":1280,"o":"f_0500,y"},{"a":40275,"t":"code","b":[185,0,218],"m":"lda","o":"$DA00,y"},{"a":40278,"t":"code","b":[153,0,6],"m":"sta","oa":1536,"o":"f_0600,y"},{"a":40281,"t":"code","b":[185,0,219],"m":"lda","o":"$DB00,y"},{"a":40284,"t":"code","b":[153,0,7],"m":"sta","oa":1792,"o":"f_0700,y"},{"a":40287,"t":"code","b":[200],"m":"iny"},{"a":40288,"t":"code","b":[208,205],"m":"bne","oa":40239,"o":"b_9D2F"},{"a":40290,"t":"code","b":[186],"m":"tsx"},{"a":40291,"t":"code","b":[134,232],"m":"stx","oa":232,"o":"tmp5"},{"a":40293,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":40296,"t":"code","b":[72],"m":"pha"},{"a":40297,"t":"code","b":[173,29,208],"m":"lda","o":"vic_sprite_expand_x"},{"a":40300,"t":"code","b":[72],"m":"pha"},{"a":40301,"t":"code","b":[173,23,208],"m":"lda","o":"vic_sprite_expand_y"},{"a":40304,"t":"code","b":[72],"m":"pha"},{"a":40305,"t":"code","b":[173,28,208],"m":"lda","o":"vic_sprite_multicolour"},{"a":40308,"t":"code","b":[72],"m":"pha"},{"a":40309,"t":"code","b":[162,16],"m":"ldx","o":"#$10"},{"a":40311,"l":"b_9D77","t":"code","b":[189,0,208],"m":"lda","o":"vic_sprite0_x,x","x":[40316]},{"a":40314,"t":"code","b":[72],"m":"pha"},{"a":40315,"t":"code","b":[202],"m":"dex"},{"a":40316,"t":"code","b":[16,249],"m":"bpl","oa":40311,"o":"b_9D77"},{"a":40318,"t":"code","b":[162,14],"m":"ldx","o":"#$0E"},{"a":40320,"l":"b_9D80","t":"code","b":[189,32,208],"m":"lda","o":"vic_border,x","x":[40325]},{"a":40323,"t":"code","b":[72],"m":"pha"},{"a":40324,"t":"code","b":[202],"m":"dex"},{"a":40325,"t":"code","b":[16,249],"m":"bpl","oa":40320,"o":"b_9D80"},{"a":40327,"t":"code","b":[173,33,208],"m":"lda","o":"vic_background0"},{"a":40330,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":40332,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":40334,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":40336,"t":"code","b":[173,34,208],"m":"lda","o":"vic_background1"},{"a":40339,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":40341,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":40343,"l":"b_9D97","t":"code","b":[157,237,158],"m":"sta","oa":40685,"o":"f_9EED,x","x":[40347]},{"a":40346,"t":"code","b":[202],"m":"dex"},{"a":40347,"t":"code","b":[16,250],"m":"bpl","oa":40343,"o":"b_9D97"},{"a":40349,"t":"code","b":[141,232,158],"m":"sta","oa":40680,"o":"a_9EE8"},{"a":40352,"t":"code","b":[162,12],"m":"ldx","o":"#$0C"},{"a":40354,"t":"code","b":[201,12],"m":"cmp","o":"#$0C"},{"a":40356,"t":"code","b":[208,2],"m":"bne","oa":40360,"o":"b_9DA8"},{"a":40358,"t":"code","b":[162,11],"m":"ldx","o":"#$0B"},{"a":40360,"l":"b_9DA8","t":"code","b":[142,233,158],"m":"stx","oa":40681,"o":"a_9EE9","x":[40356]},{"a":40363,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40365,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":40368,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":40371,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":40374,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":40376,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":40379,"t":"code","b":[162,13],"m":"ldx","o":"#$0D"},{"a":40381,"l":"b_9DBD","t":"code","b":[189,231,158],"m":"lda","oa":40679,"o":"tbl_terminal_colours,x","x":[40388]},{"a":40384,"t":"code","b":[157,33,208],"m":"sta","o":"vic_background0,x"},{"a":40387,"t":"code","b":[202],"m":"dex"},{"a":40388,"t":"code","b":[16,247],"m":"bpl","oa":40381,"o":"b_9DBD"},{"a":40390,"t":"code","b":[162,16],"m":"ldx","o":"#$10"},{"a":40392,"l":"b_9DC8","t":"code","b":[189,245,158],"m":"lda","oa":40693,"o":"tbl_terminal_sprites,x","x":[40399]},{"a":40395,"t":"code","b":[157,0,208],"m":"sta","o":"vic_sprite0_x,x"},{"a":40398,"t":"code","b":[202],"m":"dex"},{"a":40399,"t":"code","b":[16,247],"m":"bpl","oa":40392,"o":"b_9DC8"},{"a":40401,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":40403,"l":"b_9DD3","t":"code","b":[189,6,159],"m":"lda","oa":40710,"o":"tbl_terminal_pointers,x","x":[40410]},{"a":40406,"t":"code","b":[157,248,67],"m":"sta","oa":17400,"o":"a_43F8,x"},{"a":40409,"t":"code","b":[202],"m":"dex"},{"a":40410,"t":"code","b":[16,247],"m":"bpl","oa":40403,"o":"b_9DD3"},{"a":40412,"t":"code","b":[173,24,208],"m":"lda","o":"vic_memory"},{"a":40415,"t":"code","b":[56],"m":"sec"},{"a":40416,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":40418,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":40421,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40423,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":40425,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":40427,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":40429,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":40431,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":40433,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":40435,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":40437,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":40439,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40441,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":40443,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":40445,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":40447,"t":"code","b":[141,11,158],"m":"sta","oa":40459,"o":"a_9E0B"},{"a":40450,"t":"code","b":[141,15,158],"m":"sta","oa":40463,"o":"a_9E0F"},{"a":40453,"l":"b_9E05","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[40524]},{"a":40455,"l":"b_9E07","t":"code","b":[166,229],"m":"ldx","oa":229,"o":"tmp2","x":[40486]},{"a":40457,"t":"code","b":[189,52,54],"m":"lda","oa":13876,"o":"rle_terminal_values,x"},{"a":40459,"t":"note","l":"a_9E0B","c":"Operand high byte of `lda $3634,x` in security_terminal: the run-length list's page, stepped when X wraps.","note":"inside the item at $9E09","x":[40447,40478]},{"a":40460,"t":"code","b":[72],"m":"pha"},{"a":40461,"t":"code","b":[189,51,54],"m":"lda","oa":13875,"o":"rle_terminal_chars,x"},{"a":40463,"t":"note","l":"a_9E0F","c":"Operand high byte of `lda $3633,x` in security_terminal, stepped with $9E0B.","note":"inside the item at $9E0D","x":[40450,40481]},{"a":40464,"t":"code","b":[170],"m":"tax"},{"a":40465,"t":"code","b":[104],"m":"pla"},{"a":40466,"l":"b_9E12","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[40470]},{"a":40468,"t":"code","b":[200],"m":"iny"},{"a":40469,"t":"code","b":[202],"m":"dex"},{"a":40470,"t":"code","b":[16,250],"m":"bpl","oa":40466,"o":"b_9E12"},{"a":40472,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":40474,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":40476,"t":"code","b":[208,6],"m":"bne","oa":40484,"o":"b_9E24"},{"a":40478,"t":"code","b":[238,11,158],"m":"inc","oa":40459,"o":"a_9E0B"},{"a":40481,"t":"code","b":[238,15,158],"m":"inc","oa":40463,"o":"a_9E0F"},{"a":40484,"l":"b_9E24","t":"code","b":[192,40],"m":"cpy","o":"#$28","x":[40476]},{"a":40486,"t":"code","b":[144,223],"m":"bcc","oa":40455,"o":"b_9E07"},{"a":40488,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":40490,"l":"b_9E2A","t":"code","b":[166,230],"m":"ldx","oa":230,"o":"tmp3","x":[40517]},{"a":40492,"t":"code","b":[189,170,55],"m":"lda","oa":14250,"o":"rle_terminal_colour_values,x"},{"a":40495,"t":"code","b":[16,2],"m":"bpl","oa":40499,"o":"b_9E33"},{"a":40497,"t":"code","b":[165,231],"m":"lda","oa":231,"o":"tmp4"},{"a":40499,"l":"b_9E33","t":"code","b":[72],"m":"pha","x":[40495]},{"a":40500,"t":"code","b":[189,169,55],"m":"lda","oa":14249,"o":"rle_terminal_colours,x"},{"a":40503,"t":"code","b":[170],"m":"tax"},{"a":40504,"t":"code","b":[104],"m":"pla"},{"a":40505,"l":"b_9E39","t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y","x":[40509]},{"a":40507,"t":"code","b":[200],"m":"iny"},{"a":40508,"t":"code","b":[202],"m":"dex"},{"a":40509,"t":"code","b":[16,250],"m":"bpl","oa":40505,"o":"b_9E39"},{"a":40511,"t":"code","b":[230,230],"m":"inc","oa":230,"o":"tmp3"},{"a":40513,"t":"code","b":[230,230],"m":"inc","oa":230,"o":"tmp3"},{"a":40515,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":40517,"t":"code","b":[144,227],"m":"bcc","oa":40490,"o":"b_9E2A"},{"a":40519,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":40522,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":40524,"t":"code","b":[16,183],"m":"bpl","oa":40453,"o":"b_9E05"},{"a":40526,"l":"b_9E4E","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[40531]},{"a":40529,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":40531,"t":"code","b":[144,249],"m":"bcc","oa":40526,"o":"b_9E4E"},{"a":40533,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":40536,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":40538,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":40541,"t":"code","b":[32,14,159],"m":"jsr","oa":40718,"o":"terminal_menu"},{"a":40544,"l":"b_9E60","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[40549]},{"a":40547,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":40549,"t":"code","b":[144,249],"m":"bcc","oa":40544,"o":"b_9E60"},{"a":40551,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":40554,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":40556,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":40559,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":40561,"l":"b_9E71","t":"code","b":[185,0,193],"m":"lda","oa":49408,"o":"f_C100,y","x":[40610]},{"a":40564,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":40567,"t":"code","b":[185,0,194],"m":"lda","oa":49664,"o":"f_C200,y"},{"a":40570,"t":"code","b":[153,0,65],"m":"sta","oa":16640,"o":"f_4100,y"},{"a":40573,"t":"code","b":[185,0,195],"m":"lda","oa":49920,"o":"f_C300,y"},{"a":40576,"t":"code","b":[153,0,66],"m":"sta","oa":16896,"o":"f_4200,y"},{"a":40579,"t":"code","b":[185,0,196],"m":"lda","oa":50176,"o":"f_C400,y"},{"a":40582,"t":"code","b":[153,0,67],"m":"sta","oa":17152,"o":"f_4300,y"},{"a":40585,"t":"code","b":[185,0,4],"m":"lda","oa":1024,"o":"f_0400,y"},{"a":40588,"t":"code","b":[153,0,216],"m":"sta","o":"colour_ram,y"},{"a":40591,"t":"code","b":[185,0,5],"m":"lda","oa":1280,"o":"f_0500,y"},{"a":40594,"t":"code","b":[153,0,217],"m":"sta","o":"$D900,y"},{"a":40597,"t":"code","b":[185,0,6],"m":"lda","oa":1536,"o":"f_0600,y"},{"a":40600,"t":"code","b":[153,0,218],"m":"sta","o":"$DA00,y"},{"a":40603,"t":"code","b":[185,0,7],"m":"lda","oa":1792,"o":"f_0700,y"},{"a":40606,"t":"code","b":[153,0,219],"m":"sta","o":"$DB00,y"},{"a":40609,"t":"code","b":[200],"m":"iny"},{"a":40610,"t":"code","b":[208,205],"m":"bne","oa":40561,"o":"b_9E71"},{"a":40612,"t":"code","b":[173,24,208],"m":"lda","o":"vic_memory"},{"a":40615,"t":"code","b":[24],"m":"clc"},{"a":40616,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":40618,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":40621,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":40623,"l":"b_9EAF","t":"code","b":[104],"m":"pla","x":[40630]},{"a":40624,"t":"code","b":[157,32,208],"m":"sta","o":"vic_border,x"},{"a":40627,"t":"code","b":[232],"m":"inx"},{"a":40628,"t":"code","b":[224,15],"m":"cpx","o":"#$0F"},{"a":40630,"t":"code","b":[144,247],"m":"bcc","oa":40623,"o":"b_9EAF"},{"a":40632,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":40634,"l":"b_9EBA","t":"code","b":[104],"m":"pla","x":[40641]},{"a":40635,"t":"code","b":[157,0,208],"m":"sta","o":"vic_sprite0_x,x"},{"a":40638,"t":"code","b":[232],"m":"inx"},{"a":40639,"t":"code","b":[224,17],"m":"cpx","o":"#$11"},{"a":40641,"t":"code","b":[144,247],"m":"bcc","oa":40634,"o":"b_9EBA"},{"a":40643,"t":"code","b":[104],"m":"pla"},{"a":40644,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":40647,"t":"code","b":[104],"m":"pla"},{"a":40648,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":40651,"t":"code","b":[104],"m":"pla"},{"a":40652,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":40655,"t":"code","b":[104],"m":"pla"},{"a":40656,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":40659,"l":"b_9ED3","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[40664]},{"a":40662,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":40664,"t":"code","b":[144,249],"m":"bcc","oa":40659,"o":"b_9ED3"},{"a":40666,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":40669,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":40671,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":40674,"t":"code","b":[44,30,208],"m":"bit","o":"vic_sprite_collision"},{"a":40677,"t":"code","b":[88],"m":"cli"},{"a":40678,"t":"code","b":[96],"m":"rts"},{"a":40679,"l":"tbl_terminal_colours","c":"Colours for $D021-$D02E while the terminal is shown: background 9, extra colours $0B/$0C (or the room's), and the eight sprite colours (patched with the room's colour at $9EED-$9EF0).","t":"byte","b":[9],"x":[40381]},{"a":40680,"l":"a_9EE8","c":"Entries of tbl_terminal_colours patched with the room's colour: $D022 here, $D023 after it, and the four sprite colours at $9EED-$9EF0.","t":"byte","b":[11],"x":[40349]},{"a":40681,"l":"a_9EE9","c":"tbl_terminal_colours +2: the terminal's second multicolour, $0C, or $0B when the room's colour is grey ($0C).","t":"byte","b":[12,0,0,0],"x":[40360]},{"a":40685,"l":"f_9EED","c":"The four sprite colours in tbl_terminal_colours that terminal set-up patches with the room's colour.","t":"byte","b":[1,1,1,1,15,15,15,15],"x":[40343]},{"a":40693,"l":"tbl_terminal_sprites","c":"X and Y of the eight sprites of the terminal screen and their ninth X bits: the screen's decorations and the pointer.","t":"byte","b":[40,50,64,50,40,210,64,210],"x":[40392]},{"a":40701,"t":"byte","b":[56,58,31,58,45,198,44,198]},{"a":40709,"t":"byte","b":[170]},{"a":40710,"l":"tbl_terminal_pointers","c":"Sprite pointers of the terminal's eight sprites, $18-$1D.","t":"byte","b":[24,25,26,27,28,29,29,28],"x":[40403]},{"a":40718,"l":"terminal_menu","c":"The security terminal's menu: writes the room number $7E in decimal as two digits into the title line (the 00 of SECURITY TERMINAL 00, at $A048/$A049; room $1C shows as 28, seen live), then types the screen line by line, one line a frame (24-character lines from str_terminal at the offsets in tbl_terminal_lines), with a row of three $95 glyphs (`***`) at the top. Puts the pointer `==>` at LOG OFF ($8A = 2) and loops: fire (on a fresh press, $DE) carries out the choice ($A0DE); up and down move the pointer between the three choices (rows apart by tbl_terminal_steps) with a short delay ($9791).","t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no","x":[40541]},{"a":40720,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":40722,"t":"code","b":[56],"m":"sec"},{"a":40723,"l":"b_9F13","t":"code","b":[233,10],"m":"sbc","o":"#$0A","x":[40726]},{"a":40725,"t":"code","b":[200],"m":"iny"},{"a":40726,"t":"code","b":[176,251],"m":"bcs","oa":40723,"o":"b_9F13"},{"a":40728,"t":"code","b":[105,10],"m":"adc","o":"#$0A"},{"a":40730,"t":"code","b":[24],"m":"clc"},{"a":40731,"t":"code","b":[105,139],"m":"adc","o":"#$8B"},{"a":40733,"t":"code","b":[141,73,160],"m":"sta","oa":41033,"o":"str_terminal_units"},{"a":40736,"t":"code","b":[152],"m":"tya"},{"a":40737,"t":"code","b":[24],"m":"clc"},{"a":40738,"t":"code","b":[105,139],"m":"adc","o":"#$8B"},{"a":40740,"t":"code","b":[141,72,160],"m":"sta","oa":41032,"o":"a_A048"},{"a":40743,"t":"code","b":[169,126],"m":"lda","o":"#$7E"},{"a":40745,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":40747,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":40749,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":40751,"t":"code","b":[173,18,208],"m":"lda","o":"vic_raster"},{"a":40754,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":40756,"t":"code","b":[144,18],"m":"bcc","oa":40776,"o":"b_9F48"},{"a":40758,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":40760,"t":"code","b":[169,149],"m":"lda","o":"#$95"},{"a":40762,"l":"b_9F3A","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[40765]},{"a":40764,"t":"code","b":[136],"m":"dey"},{"a":40765,"t":"code","b":[16,251],"m":"bpl","oa":40762,"o":"b_9F3A"},{"a":40767,"t":"code","b":[160,14],"m":"ldy","o":"#$0E"},{"a":40769,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":40771,"t":"code","b":[24],"m":"clc"},{"a":40772,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":40774,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":40776,"l":"b_9F48","t":"code","b":[190,253,159],"m":"ldx","oa":40957,"o":"tbl_terminal_lines,y","x":[40756,40793]},{"a":40779,"t":"code","b":[32,12,160],"m":"jsr","oa":40972,"o":"draw_terminal_line"},{"a":40782,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":40785,"l":"b_9F51","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[40790]},{"a":40788,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":40790,"t":"code","b":[144,249],"m":"bcc","oa":40785,"o":"b_9F51"},{"a":40792,"t":"code","b":[136],"m":"dey"},{"a":40793,"t":"code","b":[16,237],"m":"bpl","oa":40776,"o":"b_9F48"},{"a":40795,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":40797,"t":"code","b":[133,138],"m":"sta","oa":138,"o":"terminal_choice"},{"a":40799,"t":"code","b":[169,174],"m":"lda","o":"#$AE"},{"a":40801,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":40803,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":40805,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":40807,"t":"code","b":[32,239,159],"m":"jsr","oa":40943,"o":"draw_pointer"},{"a":40810,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":40813,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":40815,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"fire_held"},{"a":40817,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":40819,"l":"b_9F73","t":"code","b":[133,131],"m":"sta","oa":131,"o":"press_held","x":[40865]},{"a":40821,"l":"b_9F75","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[40869,40879,40905,40912,40938]},{"a":40824,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":40826,"t":"code","b":[208,21],"m":"bne","oa":40849,"o":"b_9F91"},{"a":40828,"t":"code","b":[165,222],"m":"lda","oa":222,"o":"fire_held"},{"a":40830,"t":"code","b":[240,17],"m":"beq","oa":40849,"o":"b_9F91"},{"a":40832,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":40834,"t":"code","b":[72],"m":"pha"},{"a":40835,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi"},{"a":40837,"t":"code","b":[72],"m":"pha"},{"a":40838,"t":"code","b":[32,222,160],"m":"jsr","oa":41182,"o":"terminal_select"},{"a":40841,"t":"code","b":[104],"m":"pla"},{"a":40842,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":40844,"t":"code","b":[104],"m":"pla"},{"a":40845,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":40847,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40849,"l":"b_9F91","t":"code","b":[133,222],"m":"sta","oa":222,"o":"fire_held","x":[40826,40830]},{"a":40851,"t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay"},{"a":40854,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":40857,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":40859,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":40861,"t":"code","b":[208,4],"m":"bne","oa":40867,"o":"b_9FA3"},{"a":40863,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":40865,"t":"code","b":[240,208],"m":"beq","oa":40819,"o":"b_9F73"},{"a":40867,"l":"b_9FA3","t":"code","b":[166,131],"m":"ldx","oa":131,"o":"press_held","x":[40861]},{"a":40869,"t":"code","b":[208,206],"m":"bne","oa":40821,"o":"b_9F75"},{"a":40871,"t":"code","b":[230,131],"m":"inc","oa":131,"o":"press_held"},{"a":40873,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":40875,"t":"code","b":[144,31],"m":"bcc","oa":40908,"o":"b_9FCC"},{"a":40877,"t":"code","b":[166,138],"m":"ldx","oa":138,"o":"terminal_choice"},{"a":40879,"t":"code","b":[240,196],"m":"beq","oa":40821,"o":"b_9F75"},{"a":40881,"t":"code","b":[202],"m":"dex"},{"a":40882,"t":"code","b":[134,138],"m":"stx","oa":138,"o":"terminal_choice"},{"a":40884,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":40886,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":40888,"l":"b_9FB8","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[40891]},{"a":40890,"t":"code","b":[136],"m":"dey"},{"a":40891,"t":"code","b":[16,251],"m":"bpl","oa":40888,"o":"b_9FB8"},{"a":40893,"t":"code","b":[188,237,159],"m":"ldy","oa":40941,"o":"tbl_terminal_steps,x"},{"a":40896,"l":"b_9FC0","t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1","x":[40900]},{"a":40899,"t":"code","b":[136],"m":"dey"},{"a":40900,"t":"code","b":[16,250],"m":"bpl","oa":40896,"o":"b_9FC0"},{"a":40902,"t":"code","b":[32,239,159],"m":"jsr","oa":40943,"o":"draw_pointer"},{"a":40905,"t":"code","b":[76,117,159],"m":"jmp","oa":40821,"o":"b_9F75"},{"a":40908,"l":"b_9FCC","t":"code","b":[166,138],"m":"ldx","oa":138,"o":"terminal_choice","x":[40875]},{"a":40910,"t":"code","b":[224,2],"m":"cpx","o":"#$02"},{"a":40912,"t":"code","b":[176,163],"m":"bcs","oa":40821,"o":"b_9F75"},{"a":40914,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":40916,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":40918,"l":"b_9FD6","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[40921]},{"a":40920,"t":"code","b":[136],"m":"dey"},{"a":40921,"t":"code","b":[16,251],"m":"bpl","oa":40918,"o":"b_9FD6"},{"a":40923,"t":"code","b":[188,237,159],"m":"ldy","oa":40941,"o":"tbl_terminal_steps,x"},{"a":40926,"t":"code","b":[232],"m":"inx"},{"a":40927,"t":"code","b":[134,138],"m":"stx","oa":138,"o":"terminal_choice"},{"a":40929,"l":"b_9FE1","t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1","x":[40933]},{"a":40932,"t":"code","b":[136],"m":"dey"},{"a":40933,"t":"code","b":[16,250],"m":"bpl","oa":40929,"o":"b_9FE1"},{"a":40935,"t":"code","b":[32,239,159],"m":"jsr","oa":40943,"o":"draw_pointer"},{"a":40938,"t":"code","b":[76,117,159],"m":"jmp","oa":40821,"o":"b_9F75"},{"a":40941,"l":"tbl_terminal_steps","c":"Rows between the terminal's choices, for moving the pointer: 2 and 6 (the second choice is two rows lower than the first, the last six lower than the second).","t":"byte","b":[2,6],"x":[40893,40923]},{"a":40943,"l":"draw_pointer","c":"Draws the terminal's pointer, the three glyphs `==` and `>` from $9FFA, at $10/$11.","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[40807,40902,40935]},{"a":40945,"l":"b_9FF1","t":"code","b":[185,250,159],"m":"lda","oa":40954,"o":"tbl_pointer_glyphs,y","x":[40951]},{"a":40948,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":40950,"t":"code","b":[136],"m":"dey"},{"a":40951,"t":"code","b":[16,248],"m":"bpl","oa":40945,"o":"b_9FF1"},{"a":40953,"t":"code","b":[96],"m":"rts"},{"a":40954,"l":"tbl_pointer_glyphs","c":"The pointer's three glyphs: = = > in the $4800 alphabet ($96, $96, $97).","t":"byte","b":[150,150,151],"x":[40945]},{"a":40957,"l":"tbl_terminal_lines","c":"Offsets into str_terminal of the terminal screen's fifteen text rows, read last first ($00 = the blank line, $18 the title, $30, $48 ... $90 the choices and $A8 LOG OFF.).","t":"byte","b":[168,0,0],"x":[40776]},{"a":40960,"t":"gap","n":12},{"a":40972,"l":"draw_terminal_line","c":"Copies one 24-character line of str_terminal, from offset X, to the screen at $10/$11.","t":"code","b":[152],"m":"tya","x":[40779,41494]},{"a":40973,"t":"code","b":[72],"m":"pha"},{"a":40974,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":40976,"l":"b_A010","t":"code","b":[189,30,160],"m":"lda","oa":40990,"o":"str_terminal,x","x":[40985]},{"a":40979,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":40981,"t":"code","b":[232],"m":"inx"},{"a":40982,"t":"code","b":[200],"m":"iny"},{"a":40983,"t":"code","b":[192,24],"m":"cpy","o":"#$18"},{"a":40985,"t":"code","b":[144,245],"m":"bcc","oa":40976,"o":"b_A010"},{"a":40987,"t":"code","b":[104],"m":"pla"},{"a":40988,"t":"code","b":[168],"m":"tay"},{"a":40989,"t":"code","b":[96],"m":"rts"},{"a":40990,"l":"str_terminal","c":"The security terminal's text, 24-character lines in the $4800 alphabet: a blank line, SECURITY TERMINAL 00 *** (the room number is written over the 00), SELECT FUNCTION, RESET LIFTING PLATFORMS / IN THIS ROOM., TEMPORARILY DISABLE / ROBOTS IN THIS ROOM., LOG OFF.","t":"byte","b":[83,83,83,83,83,83,83,83],"x":[40976]},{"a":40998,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":41006,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":41014,"t":"byte","b":[131,117,115,133,130,121,132,137]},{"a":41022,"t":"byte","b":[83,132,117,130,125,121,126,113]},{"a":41030,"t":"byte","b":[124,83]},{"a":41032,"l":"a_A048","c":"The two digits of the room number in SECURITY TERMINAL 00, written by terminal_menu ($A048 tens, $A049 units).","t":"byte","b":[139],"x":[40740]},{"a":41033,"l":"str_terminal_units","c":"The units digit of the terminal's room number, and the rest of str_terminal after it (the choices and LOG OFF.).","t":"byte","b":[139,83,149,149,149,83,83,131],"x":[40733]},{"a":41041,"t":"byte","b":[117,124,117,115,132,83,118,133]},{"a":41049,"t":"byte","b":[126,115,132,121,127,126,83,83]},{"a":41057,"t":"byte","b":[83,83,83,83,83,130,117,131]},{"a":41065,"t":"byte","b":[117,132,83,124,121,118,132,121]},{"a":41073,"t":"byte","b":[126,119,83,128,124,113,132,118]},{"a":41081,"t":"byte","b":[127,130,125,131,83,83,83,121]},{"a":41089,"t":"byte","b":[126,83,132,120,121,131,83,130]},{"a":41097,"t":"byte","b":[127,127,125,254,83,83,83,83]},{"a":41105,"t":"byte","b":[83,83,83,83,83,132,117,125]},{"a":41113,"t":"byte","b":[128,127,130,113,130,121,124,137]},{"a":41121,"t":"byte","b":[83,116,121,131,113,114,124,117]},{"a":41129,"t":"byte","b":[83,83,83,83,83,83,83,130]},{"a":41137,"t":"byte","b":[127,114,127,132,131,83,121,126]},{"a":41145,"t":"byte","b":[83,132,120,121,131,83,130,127]},{"a":41153,"t":"byte","b":[127,125,254,83,83,124,127,119]},{"a":41161,"t":"byte","b":[83,127,118,118,254,83,83,83]},{"a":41169,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":41177,"t":"byte","b":[83,83,83,83,83]},{"a":41182,"l":"terminal_select","c":"Carries out the terminal choice under the pointer ($8A). The two password functions first check the password ($A1A1); without one nothing happens. $8A = 0, reset lifting platforms ($A102). $8A = 1, disable robots: $47 = $40, which stops the robots and the ball until the robots' counter, stepped every fourth tick, climbs back to $FF (764 ticks); if no ball is active, bit 0 of the saved sprite enable on the stack is cleared so the ball stays off. $8A = 2, LOG OFF: drops the return addresses and leaves the terminal. Live (the snooze's effect): $47 = $40 kept the robots still for 300 frames and returned to $FF after about 764 ticks.","t":"code","b":[32,161,161],"m":"jsr","oa":41377,"o":"check_password","x":[40838]},{"a":41185,"t":"code","b":[144,11],"m":"bcc","oa":41198,"o":"r_A0EE"},{"a":41187,"t":"code","b":[166,138],"m":"ldx","oa":138,"o":"terminal_choice"},{"a":41189,"t":"code","b":[240,27],"m":"beq","oa":41218,"o":"reset_platforms"},{"a":41191,"t":"code","b":[202],"m":"dex"},{"a":41192,"t":"code","b":[240,5],"m":"beq","oa":41199,"o":"b_A0EF"},{"a":41194,"t":"code","b":[104],"m":"pla"},{"a":41195,"t":"code","b":[104],"m":"pla"},{"a":41196,"t":"code","b":[104],"m":"pla"},{"a":41197,"t":"code","b":[104],"m":"pla"},{"a":41198,"l":"r_A0EE","t":"code","b":[96],"m":"rts","x":[41185]},{"a":41199,"l":"b_A0EF","t":"code","b":[169,64],"m":"lda","o":"#$40","x":[41192]},{"a":41201,"t":"code","b":[133,71],"m":"sta","oa":71,"o":"robots_wait"},{"a":41203,"t":"code","b":[165,109],"m":"lda","oa":109,"o":"ball_off"},{"a":41205,"t":"code","b":[16,10],"m":"bpl","oa":41217,"o":"r_A101"},{"a":41207,"t":"code","b":[166,232],"m":"ldx","oa":232,"o":"tmp5"},{"a":41209,"t":"code","b":[189,0,1],"m":"lda","oa":256,"o":"f_0100,x"},{"a":41212,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":41214,"t":"code","b":[157,0,1],"m":"sta","oa":256,"o":"f_0100,x"},{"a":41217,"l":"r_A101","t":"code","b":[96],"m":"rts","x":[41205]},{"a":41218,"l":"reset_platforms","c":"Resets the lifting platforms of the room: for each platform in the room's list at ($81) (a position, a height, a list of $FF-ended bytes), blanks its cells ($AC22 gives the address, three cells wide); then finds the room in tbl_room_platform_ptrs ($1FDA) and copies its original platform list back from the address in $2016, and draws every platform again ($AC55). In a room the death sequence redraws ($43 set), the screen addresses are shifted down by $81 pages to draw into the copy at $C100.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[38527,41189]},{"a":41220,"l":"j_A104","t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y","x":[41268]},{"a":41222,"t":"code","b":[48,47],"m":"bmi","oa":41271,"o":"b_A137"},{"a":41224,"t":"code","b":[32,34,172],"m":"jsr","oa":44066,"o":"cell_address"},{"a":41227,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":41229,"t":"code","b":[240,7],"m":"beq","oa":41238,"o":"b_A116"},{"a":41231,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi"},{"a":41233,"t":"code","b":[56],"m":"sec"},{"a":41234,"t":"code","b":[233,129],"m":"sbc","o":"#$81"},{"a":41236,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":41238,"l":"b_A116","t":"code","b":[200],"m":"iny","x":[41229]},{"a":41239,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":41241,"t":"code","b":[170],"m":"tax"},{"a":41242,"t":"code","b":[152],"m":"tya"},{"a":41243,"t":"code","b":[72],"m":"pha"},{"a":41244,"l":"b_A11C","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[41257]},{"a":41246,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":41248,"l":"b_A120","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[41251]},{"a":41250,"t":"code","b":[136],"m":"dey"},{"a":41251,"t":"code","b":[16,251],"m":"bpl","oa":41248,"o":"b_A120"},{"a":41253,"t":"code","b":[32,242,174],"m":"jsr","oa":44786,"o":"addr_up6"},{"a":41256,"t":"code","b":[202],"m":"dex"},{"a":41257,"t":"code","b":[16,241],"m":"bpl","oa":41244,"o":"b_A11C"},{"a":41259,"t":"code","b":[104],"m":"pla"},{"a":41260,"t":"code","b":[168],"m":"tay"},{"a":41261,"l":"b_A12D","t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y","x":[41266]},{"a":41263,"t":"code","b":[200],"m":"iny"},{"a":41264,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":41266,"t":"code","b":[208,249],"m":"bne","oa":41261,"o":"b_A12D"},{"a":41268,"t":"code","b":[76,4,161],"m":"jmp","oa":41220,"o":"j_A104"},{"a":41271,"l":"b_A137","t":"code","b":[152],"m":"tya","x":[41222]},{"a":41272,"t":"code","b":[208,1],"m":"bne","oa":41275,"o":"b_A13B"},{"a":41274,"t":"code","b":[96],"m":"rts"},{"a":41275,"l":"b_A13B","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[41272]},{"a":41277,"l":"j_A13D","t":"code","b":[185,218,31],"m":"lda","oa":8154,"o":"tbl_room_platform_ptrs,y","x":[41293]},{"a":41280,"t":"code","b":[197,129],"m":"cmp","oa":129,"o":"platform_list"},{"a":41282,"t":"code","b":[208,7],"m":"bne","oa":41291,"o":"b_A14B"},{"a":41284,"t":"code","b":[185,219,31],"m":"lda","oa":8155,"o":"f_1FDB,y"},{"a":41287,"t":"code","b":[197,130],"m":"cmp","oa":130,"o":"platform_list_hi"},{"a":41289,"t":"code","b":[240,5],"m":"beq","oa":41296,"o":"b_A150"},{"a":41291,"l":"b_A14B","t":"code","b":[200],"m":"iny","x":[41282]},{"a":41292,"t":"code","b":[200],"m":"iny"},{"a":41293,"t":"code","b":[76,61,161],"m":"jmp","oa":41277,"o":"j_A13D"},{"a":41296,"l":"b_A150","t":"code","b":[185,22,32],"m":"lda","oa":8214,"o":"tbl_platform_original_ptrs,y","x":[41289]},{"a":41299,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":41301,"t":"code","b":[185,23,32],"m":"lda","oa":8215,"o":"f_2017,y"},{"a":41304,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":41306,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41308,"t":"code","b":[152],"m":"tya"},{"a":41309,"l":"b_A15D","t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1","x":[41318,41322]},{"a":41311,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":41313,"t":"code","b":[145,129],"m":"sta","oa":129,"o":"(platform_list),y"},{"a":41315,"t":"code","b":[200],"m":"iny"},{"a":41316,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":41318,"t":"code","b":[208,245],"m":"bne","oa":41309,"o":"b_A15D"},{"a":41320,"t":"code","b":[197,228],"m":"cmp","oa":228,"o":"tmp1"},{"a":41322,"t":"code","b":[208,241],"m":"bne","oa":41309,"o":"b_A15D"},{"a":41324,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41326,"l":"b_A16E","t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y","x":[41375]},{"a":41328,"t":"code","b":[16,1],"m":"bpl","oa":41331,"o":"b_A173"},{"a":41330,"t":"code","b":[96],"m":"rts"},{"a":41331,"l":"b_A173","t":"code","b":[32,34,172],"m":"jsr","oa":44066,"o":"cell_address","x":[41328]},{"a":41334,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":41336,"t":"code","b":[240,10],"m":"beq","oa":41348,"o":"b_A184"},{"a":41338,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi"},{"a":41340,"t":"code","b":[56],"m":"sec"},{"a":41341,"t":"code","b":[233,129],"m":"sbc","o":"#$81"},{"a":41343,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":41345,"t":"code","b":[76,139,161],"m":"jmp","oa":41355,"o":"j_A18B"},{"a":41348,"l":"b_A184","t":"code","b":[165,21],"m":"lda","oa":21,"o":"ptr_colour_hi","x":[41336]},{"a":41350,"t":"code","b":[24],"m":"clc"},{"a":41351,"t":"code","b":[105,44],"m":"adc","o":"#$2C"},{"a":41353,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":41355,"l":"j_A18B","t":"code","b":[200],"m":"iny","x":[41345]},{"a":41356,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":41358,"t":"code","b":[170],"m":"tax"},{"a":41359,"l":"b_A18F","t":"code","b":[32,85,172],"m":"jsr","oa":44117,"o":"draw_platform_top","x":[41366]},{"a":41362,"t":"code","b":[32,242,174],"m":"jsr","oa":44786,"o":"addr_up6"},{"a":41365,"t":"code","b":[202],"m":"dex"},{"a":41366,"t":"code","b":[16,247],"m":"bpl","oa":41359,"o":"b_A18F"},{"a":41368,"l":"b_A198","t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y","x":[41373]},{"a":41370,"t":"code","b":[200],"m":"iny"},{"a":41371,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":41373,"t":"code","b":[208,249],"m":"bne","oa":41368,"o":"b_A198"},{"a":41375,"t":"code","b":[240,205],"m":"beq","oa":41326,"o":"b_A16E"},{"a":41377,"l":"check_password","c":"For the two password functions ($8A = 0 lift init, 1 snooze): blanks the three rows under the choice, then looks at the matching count in the status text ($3439 + 0 for SNOOZES, + $0D for LIFT INITS, digits in the $5800 alphabet). Above 0: decrements it and shows PASSWORD ACCEPTED; otherwise PASSWORD REQUIRED (carry from the comparison). Then a long delay and the choice's text drawn back.","t":"code","b":[166,138],"m":"ldx","oa":138,"o":"terminal_choice","x":[41182]},{"a":41379,"t":"code","b":[224,2],"m":"cpx","o":"#$02"},{"a":41381,"t":"code","b":[144,1],"m":"bcc","oa":41384,"o":"b_A1A8"},{"a":41383,"t":"code","b":[96],"m":"rts"},{"a":41384,"l":"b_A1A8","t":"code","b":[189,35,162],"m":"lda","oa":41507,"o":"tbl_terminal_choice_addr,x","x":[41381]},{"a":41387,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":41389,"t":"code","b":[189,37,162],"m":"lda","oa":41509,"o":"f_A225,x"},{"a":41392,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":41394,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":41396,"l":"b_A1B4","t":"code","b":[160,22],"m":"ldy","o":"#$16","x":[41417]},{"a":41398,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":41400,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":41402,"t":"code","b":[136],"m":"dey"},{"a":41403,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":41405,"t":"code","b":[136],"m":"dey"},{"a":41406,"t":"code","b":[169,253],"m":"lda","o":"#$FD"},{"a":41408,"l":"b_A1C0","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[41411]},{"a":41410,"t":"code","b":[136],"m":"dey"},{"a":41411,"t":"code","b":[16,251],"m":"bpl","oa":41408,"o":"b_A1C0"},{"a":41413,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":41416,"t":"code","b":[202],"m":"dex"},{"a":41417,"t":"code","b":[16,233],"m":"bpl","oa":41396,"o":"b_A1B4"},{"a":41419,"t":"code","b":[164,138],"m":"ldy","oa":138,"o":"terminal_choice"},{"a":41421,"t":"code","b":[190,39,162],"m":"ldx","oa":41511,"o":"tbl_counter_offsets,y"},{"a":41424,"t":"code","b":[189,57,52],"m":"lda","oa":13369,"o":"f_3439,x"},{"a":41427,"t":"code","b":[160,18],"m":"ldy","o":"#$12"},{"a":41429,"t":"code","b":[201,129],"m":"cmp","o":"#$81"},{"a":41431,"t":"code","b":[144,5],"m":"bcc","oa":41438,"o":"b_A1DE"},{"a":41433,"t":"code","b":[160,37],"m":"ldy","o":"#$25"},{"a":41435,"t":"code","b":[222,57,52],"m":"dec","oa":13369,"o":"f_3439,x"},{"a":41438,"l":"b_A1DE","t":"code","b":[8],"m":"php","x":[41431]},{"a":41439,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":41442,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":41445,"t":"code","b":[152],"m":"tya"},{"a":41446,"t":"code","b":[170],"m":"tax"},{"a":41447,"t":"code","b":[160,19],"m":"ldy","o":"#$13"},{"a":41449,"l":"b_A1E9","t":"code","b":[189,41,162],"m":"lda","oa":41513,"o":"str_password,x","x":[41456]},{"a":41452,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":41454,"t":"code","b":[202],"m":"dex"},{"a":41455,"t":"code","b":[136],"m":"dey"},{"a":41456,"t":"code","b":[208,247],"m":"bne","oa":41449,"o":"b_A1E9"},{"a":41458,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":41460,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":41462,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":41464,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41466,"l":"b_A1FA","t":"code","b":[232],"m":"inx","x":[41467,41470,41474]},{"a":41467,"t":"code","b":[208,253],"m":"bne","oa":41466,"o":"b_A1FA"},{"a":41469,"t":"code","b":[200],"m":"iny"},{"a":41470,"t":"code","b":[208,250],"m":"bne","oa":41466,"o":"b_A1FA"},{"a":41472,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":41474,"t":"code","b":[16,246],"m":"bpl","oa":41466,"o":"b_A1FA"},{"a":41476,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":41479,"t":"code","b":[165,138],"m":"lda","oa":138,"o":"terminal_choice"},{"a":41481,"t":"code","b":[10],"m":"asl","o":"a"},{"a":41482,"t":"code","b":[101,138],"m":"adc","oa":138,"o":"terminal_choice"},{"a":41484,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":41486,"t":"code","b":[168],"m":"tay"},{"a":41487,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":41489,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":41491,"l":"b_A213","t":"code","b":[190,79,162],"m":"ldx","oa":41551,"o":"tbl_choice_lines,y","x":[41503]},{"a":41494,"t":"code","b":[32,12,160],"m":"jsr","oa":40972,"o":"draw_terminal_line"},{"a":41497,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":41500,"t":"code","b":[136],"m":"dey"},{"a":41501,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":41503,"t":"code","b":[16,242],"m":"bpl","oa":41491,"o":"b_A213"},{"a":41505,"t":"code","b":[40],"m":"plp"},{"a":41506,"t":"code","b":[96],"m":"rts"},{"a":41507,"l":"tbl_terminal_choice_addr","c":"Screen addresses ($A223/$A224 low, $A225/$A226 high) of the rows of the two password choices: $4122 and $419A.","t":"byte","b":[34,154],"x":[41384]},{"a":41509,"l":"f_A225","c":"High bytes of tbl_terminal_choice_addr.","t":"byte","b":[65,65],"x":[41389]},{"a":41511,"l":"tbl_counter_offsets","c":"Offsets of the two counters' digits in the status text at $3439: $0D (LIFT INITS) and $00 (SNOOZES).","t":"byte","b":[13,0],"x":[29334,39253,41421,43121]},{"a":41513,"l":"str_password","c":"PASSWORD REQUIRED and PASSWORD ACCEPTED, 19 characters each in the $4800 alphabet, shown by check_password.","t":"byte","b":[83,128,113,131,131,135,127,130],"x":[41449]},{"a":41521,"t":"byte","b":[116,83,130,117,129,133,121,130]},{"a":41529,"t":"byte","b":[117,116,83,83,128,113,131,131]},{"a":41537,"t":"byte","b":[135,127,130,116,83,113,115,115]},{"a":41545,"t":"byte","b":[117,128,132,117,116,83]},{"a":41551,"l":"tbl_choice_lines","c":"Offsets into str_terminal of the lines to redraw under each choice after a password check.","t":"byte","b":[0,96,72,0,144,120],"x":[41491]},{"a":41557,"l":"room_wipe_out","c":"The wipe between a room and the corridor: silences the sound, hides the sprites and, two ticks a step, blanks two rows of the screen moving outwards from the middle ($41E0) while two raster bands ($8B going up, $8C going down) paint the background colour black between them, until the bottom band reaches line $FB. In the shaft view the lower band stops at the pocket computer ($AA).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35741,35896]},{"a":41559,"t":"code","b":[133,71],"m":"sta","oa":71,"o":"robots_wait"},{"a":41561,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":41564,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":41567,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":41570,"t":"code","b":[169,224],"m":"lda","o":"#$E0"},{"a":41572,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":41574,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":41576,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":41578,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":41580,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"ptr_b_hi"},{"a":41582,"t":"code","b":[169,154],"m":"lda","o":"#$9A"},{"a":41584,"t":"code","b":[133,139],"m":"sta","oa":139,"o":"wipe_top"},{"a":41586,"t":"code","b":[169,148],"m":"lda","o":"#$94"},{"a":41588,"t":"code","b":[133,140],"m":"sta","oa":140,"o":"wipe_bottom"},{"a":41590,"t":"code","b":[173,33,208],"m":"lda","o":"vic_background0"},{"a":41593,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":41595,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":41597,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41599,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":41602,"t":"code","b":[166,224],"m":"ldx","oa":224,"o":"tick"},{"a":41604,"t":"code","b":[76,145,162],"m":"jmp","oa":41617,"o":"j_A291"},{"a":41607,"l":"j_A287","t":"code","b":[228,224],"m":"cpx","oa":224,"o":"tick","x":[41704]},{"a":41609,"t":"code","b":[240,6],"m":"beq","oa":41617,"o":"j_A291"},{"a":41611,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":41614,"t":"code","b":[76,196,162],"m":"jmp","oa":41668,"o":"j_A2C4"},{"a":41617,"l":"j_A291","t":"code","b":[232],"m":"inx","x":[41604,41609]},{"a":41618,"t":"code","b":[232],"m":"inx"},{"a":41619,"t":"code","b":[32,235,162],"m":"jsr","oa":41707,"o":"clear_two_rows"},{"a":41622,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":41624,"t":"code","b":[56],"m":"sec"},{"a":41625,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":41627,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":41629,"t":"code","b":[176,2],"m":"bcs","oa":41633,"o":"b_A2A1"},{"a":41631,"t":"code","b":[198,17],"m":"dec","oa":17,"o":"ptr_a_hi"},{"a":41633,"l":"b_A2A1","t":"code","b":[165,18],"m":"lda","oa":18,"o":"ptr_b","x":[41629]},{"a":41635,"t":"code","b":[24],"m":"clc"},{"a":41636,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":41638,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":41640,"t":"code","b":[144,2],"m":"bcc","oa":41644,"o":"b_A2AC"},{"a":41642,"t":"code","b":[230,19],"m":"inc","oa":19,"o":"ptr_b_hi"},{"a":41644,"l":"b_A2AC","t":"code","b":[165,139],"m":"lda","oa":139,"o":"wipe_top","x":[41640]},{"a":41646,"t":"code","b":[56],"m":"sec"},{"a":41647,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":41649,"t":"code","b":[133,139],"m":"sta","oa":139,"o":"wipe_top"},{"a":41651,"t":"code","b":[165,140],"m":"lda","oa":140,"o":"wipe_bottom"},{"a":41653,"t":"code","b":[24],"m":"clc"},{"a":41654,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":41656,"t":"code","b":[133,140],"m":"sta","oa":140,"o":"wipe_bottom"},{"a":41658,"t":"code","b":[201,251],"m":"cmp","o":"#$FB"},{"a":41660,"t":"code","b":[144,6],"m":"bcc","oa":41668,"o":"j_A2C4"},{"a":41662,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41664,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":41667,"t":"code","b":[96],"m":"rts"},{"a":41668,"l":"j_A2C4","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[41614,41660]},{"a":41670,"t":"code","b":[165,139],"m":"lda","oa":139,"o":"wipe_top"},{"a":41672,"l":"b_A2C8","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[41675]},{"a":41675,"t":"code","b":[208,251],"m":"bne","oa":41672,"o":"b_A2C8"},{"a":41677,"t":"code","b":[140,33,208],"m":"sty","o":"vic_background0"},{"a":41680,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1"},{"a":41682,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room"},{"a":41684,"t":"code","b":[208,8],"m":"bne","oa":41694,"o":"b_A2DE"},{"a":41686,"t":"code","b":[165,140],"m":"lda","oa":140,"o":"wipe_bottom"},{"a":41688,"t":"code","b":[201,170],"m":"cmp","o":"#$AA"},{"a":41690,"t":"code","b":[144,4],"m":"bcc","oa":41696,"o":"b_A2E0"},{"a":41692,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41694,"l":"b_A2DE","t":"code","b":[165,140],"m":"lda","oa":140,"o":"wipe_bottom","x":[41684]},{"a":41696,"l":"b_A2E0","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[41690,41699]},{"a":41699,"t":"code","b":[208,251],"m":"bne","oa":41696,"o":"b_A2E0"},{"a":41701,"t":"code","b":[140,33,208],"m":"sty","o":"vic_background0"},{"a":41704,"t":"code","b":[76,135,162],"m":"jmp","oa":41607,"o":"j_A287"},{"a":41707,"l":"clear_two_rows","c":"Fills one 40-cell row at $10/$11 and one at $12/$13 with the blank glyph.","t":"code","b":[160,39],"m":"ldy","o":"#$27","x":[41619]},{"a":41709,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":41711,"l":"b_A2EF","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[41716]},{"a":41713,"t":"code","b":[145,18],"m":"sta","oa":18,"o":"(ptr_b),y"},{"a":41715,"t":"code","b":[136],"m":"dey"},{"a":41716,"t":"code","b":[16,249],"m":"bpl","oa":41711,"o":"b_A2EF"},{"a":41718,"t":"code","b":[96],"m":"rts"},{"a":41719,"l":"room_wipe_in","c":"Reveals a room drawn in the buffer at $C100-$C4FF: from the middle of the screen outwards, one pair of rows every second tick, copies the buffer's rows (screen $C100-, colours $C400 area to $D800-) to the screen, while two raster bands ($8B moving down from line $32, $8C up from $FC) paint the background black outside the revealed part and the room's colour ($8D) inside. When the bands meet, the agent stands (frame $0E) and the room's sprites are switched on ($8E).","t":"code","b":[169,193],"m":"lda","o":"#$C1","x":[35752,35902]},{"a":41721,"t":"code","b":[160,196],"m":"ldy","o":"#$C4"},{"a":41723,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"ptr_b_hi"},{"a":41725,"t":"code","b":[132,23],"m":"sty","oa":23,"o":"ptr_colour_b_hi"},{"a":41727,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":41729,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":41731,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":41733,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":41735,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":41737,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"ptr_colour_b"},{"a":41739,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":41741,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":41743,"t":"code","b":[169,67],"m":"lda","o":"#$43"},{"a":41745,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":41747,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":41749,"t":"code","b":[133,139],"m":"sta","oa":139,"o":"wipe_top"},{"a":41751,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":41753,"t":"code","b":[133,140],"m":"sta","oa":140,"o":"wipe_bottom"},{"a":41755,"t":"code","b":[198,26],"m":"dec","oa":26,"o":"in_room"},{"a":41757,"t":"code","b":[166,224],"m":"ldx","oa":224,"o":"tick"},{"a":41759,"t":"code","b":[76,39,163],"m":"jmp","oa":41767,"o":"j_A327"},{"a":41762,"l":"j_A322","t":"code","b":[232],"m":"inx","x":[41867]},{"a":41763,"t":"code","b":[138],"m":"txa"},{"a":41764,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":41765,"t":"code","b":[176,64],"m":"bcs","oa":41831,"o":"b_A367"},{"a":41767,"l":"j_A327","t":"code","b":[32,142,163],"m":"jsr","oa":41870,"o":"copy_buffer_rows","x":[41759]},{"a":41770,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":41772,"t":"code","b":[24],"m":"clc"},{"a":41773,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":41775,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":41777,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":41779,"t":"code","b":[144,4],"m":"bcc","oa":41785,"o":"b_A339"},{"a":41781,"t":"code","b":[230,17],"m":"inc","oa":17,"o":"ptr_a_hi"},{"a":41783,"t":"code","b":[230,19],"m":"inc","oa":19,"o":"ptr_b_hi"},{"a":41785,"l":"b_A339","t":"code","b":[165,20],"m":"lda","oa":20,"o":"ptr_colour","x":[41779]},{"a":41787,"t":"code","b":[56],"m":"sec"},{"a":41788,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":41790,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":41792,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"ptr_colour_b"},{"a":41794,"t":"code","b":[176,4],"m":"bcs","oa":41800,"o":"b_A348"},{"a":41796,"t":"code","b":[198,21],"m":"dec","oa":21,"o":"ptr_colour_hi"},{"a":41798,"t":"code","b":[198,23],"m":"dec","oa":23,"o":"ptr_colour_b_hi"},{"a":41800,"l":"b_A348","t":"code","b":[165,140],"m":"lda","oa":140,"o":"wipe_bottom","x":[41794]},{"a":41802,"t":"code","b":[56],"m":"sec"},{"a":41803,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":41805,"t":"code","b":[133,140],"m":"sta","oa":140,"o":"wipe_bottom"},{"a":41807,"t":"code","b":[165,139],"m":"lda","oa":139,"o":"wipe_top"},{"a":41809,"t":"code","b":[24],"m":"clc"},{"a":41810,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":41812,"t":"code","b":[133,139],"m":"sta","oa":139,"o":"wipe_top"},{"a":41814,"t":"code","b":[197,140],"m":"cmp","oa":140,"o":"wipe_bottom"},{"a":41816,"t":"code","b":[144,13],"m":"bcc","oa":41831,"o":"b_A367"},{"a":41818,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":41820,"t":"code","b":[133,63],"m":"sta","oa":63,"o":"agent_frame_no"},{"a":41822,"t":"code","b":[32,41,135],"m":"jsr","oa":34601,"o":"agent_frame"},{"a":41825,"t":"code","b":[165,142],"m":"lda","oa":142,"o":"room_sprites"},{"a":41827,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":41830,"t":"code","b":[96],"m":"rts"},{"a":41831,"l":"b_A367","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[41765,41816]},{"a":41833,"t":"code","b":[165,139],"m":"lda","oa":139,"o":"wipe_top"},{"a":41835,"l":"b_A36B","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[41838]},{"a":41838,"t":"code","b":[208,251],"m":"bne","oa":41835,"o":"b_A36B"},{"a":41840,"t":"code","b":[140,33,208],"m":"sty","o":"vic_background0"},{"a":41843,"t":"code","b":[164,141],"m":"ldy","oa":141,"o":"room_colour"},{"a":41845,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room"},{"a":41847,"t":"code","b":[208,8],"m":"bne","oa":41857,"o":"b_A381"},{"a":41849,"t":"code","b":[165,140],"m":"lda","oa":140,"o":"wipe_bottom"},{"a":41851,"t":"code","b":[201,170],"m":"cmp","o":"#$AA"},{"a":41853,"t":"code","b":[144,4],"m":"bcc","oa":41859,"o":"b_A383"},{"a":41855,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41857,"l":"b_A381","t":"code","b":[165,140],"m":"lda","oa":140,"o":"wipe_bottom","x":[41847]},{"a":41859,"l":"b_A383","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[41853,41862]},{"a":41862,"t":"code","b":[176,251],"m":"bcs","oa":41859,"o":"b_A383"},{"a":41864,"t":"code","b":[140,33,208],"m":"sty","o":"vic_background0"},{"a":41867,"t":"code","b":[76,34,163],"m":"jmp","oa":41762,"o":"j_A322"},{"a":41870,"l":"copy_buffer_rows","c":"Copies one 40-cell row from ($12) to ($10) and one from ($16) to ($14): a step of room_wipe_in.","t":"code","b":[160,39],"m":"ldy","o":"#$27","x":[41767]},{"a":41872,"l":"b_A390","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y","x":[41881]},{"a":41874,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":41876,"t":"code","b":[177,22],"m":"lda","oa":22,"o":"(ptr_colour_b),y"},{"a":41878,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":41880,"t":"code","b":[136],"m":"dey"},{"a":41881,"t":"code","b":[16,245],"m":"bpl","oa":41872,"o":"b_A390"},{"a":41883,"t":"code","b":[96],"m":"rts"},{"a":41884,"l":"draw_room","c":"Draws room $7E into the buffer at $C100-$C4FF (screen) and $C400 area (colours) before it is shown. Stops the robots ($47 = 0), clears the sprite Y positions, fills the buffer with blanks and selects character set $4800. Reads the room's record through the pointer table at $0E70: background colour ($8D), the two multicolours ($D022, $D023), the floor colour ($E6); then the floors, as (address, length) triples ending with $FF, drawn with the floor glyph $45 and end glyph $46; the side walls ($47 left, $48 right, 25 rows); the gaps, as (address, glyph) pairs, five blanked cells above a glyph; the agent's start ($ABE2), the robots ($A68B) and the ball ($A714); the sprite multicolours, the robots' two colours ($4B/$4C), the sprites to switch on ($8E); then the lifting platforms (list at ($81), each drawn by $AC55) and the furniture: for each object an index into tbl_furniture ($232C, five bytes: shape address, width and height, search time) and its contents; draws its shape (blank where the contents are $F0, already searched) and fills its search record at $4F55 (screen extent, search time, contents). Rooms $11 and $1B, the code rooms, get their big screen ($A5C9).","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[35744]},{"a":41886,"t":"code","b":[133,71],"m":"sta","oa":71,"o":"robots_wait"},{"a":41888,"t":"code","b":[160,14],"m":"ldy","o":"#$0E"},{"a":41890,"l":"b_A3A2","t":"code","b":[153,1,208],"m":"sta","o":"vic_sprite0_y,y","x":[41895]},{"a":41893,"t":"code","b":[136],"m":"dey"},{"a":41894,"t":"code","b":[136],"m":"dey"},{"a":41895,"t":"code","b":[16,249],"m":"bpl","oa":41890,"o":"b_A3A2"},{"a":41897,"t":"code","b":[44,30,208],"m":"bit","o":"vic_sprite_collision"},{"a":41900,"t":"code","b":[230,26],"m":"inc","oa":26,"o":"in_room"},{"a":41902,"t":"code","b":[230,26],"m":"inc","oa":26,"o":"in_room"},{"a":41904,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":41906,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41908,"l":"b_A3B4","t":"code","b":[153,0,193],"m":"sta","oa":49408,"o":"f_C100,y","x":[41921]},{"a":41911,"t":"code","b":[153,0,194],"m":"sta","oa":49664,"o":"f_C200,y"},{"a":41914,"t":"code","b":[153,0,195],"m":"sta","oa":49920,"o":"f_C300,y"},{"a":41917,"t":"code","b":[153,0,196],"m":"sta","oa":50176,"o":"f_C400,y"},{"a":41920,"t":"code","b":[200],"m":"iny"},{"a":41921,"t":"code","b":[208,241],"m":"bne","oa":41908,"o":"b_A3B4"},{"a":41923,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":41926,"t":"code","b":[173,24,208],"m":"lda","o":"vic_memory"},{"a":41929,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":41931,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":41933,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":41936,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":41938,"t":"code","b":[10],"m":"asl","o":"a"},{"a":41939,"t":"code","b":[170],"m":"tax"},{"a":41940,"t":"code","b":[189,112,14],"m":"lda","oa":3696,"o":"tbl_room_ptrs,x"},{"a":41943,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":41945,"t":"code","b":[189,113,14],"m":"lda","oa":3697,"o":"f_0E71,x"},{"a":41948,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":41950,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":41952,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":41954,"t":"code","b":[200],"m":"iny"},{"a":41955,"t":"code","b":[133,141],"m":"sta","oa":141,"o":"room_colour"},{"a":41957,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":41959,"t":"code","b":[200],"m":"iny"},{"a":41960,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":41963,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":41965,"t":"code","b":[200],"m":"iny"},{"a":41966,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":41969,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":41971,"t":"code","b":[200],"m":"iny"},{"a":41972,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":41974,"l":"j_A3F6","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[42028]},{"a":41976,"t":"code","b":[200],"m":"iny"},{"a":41977,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":41979,"t":"code","b":[240,50],"m":"beq","oa":42031,"o":"b_A42F"},{"a":41981,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":41983,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":41985,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":41987,"t":"code","b":[200],"m":"iny"},{"a":41988,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":41990,"t":"code","b":[56],"m":"sec"},{"a":41991,"t":"code","b":[233,193],"m":"sbc","o":"#$C1"},{"a":41993,"t":"code","b":[24],"m":"clc"},{"a":41994,"t":"code","b":[105,216],"m":"adc","o":"#$D8"},{"a":41996,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":41998,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42000,"t":"code","b":[200],"m":"iny"},{"a":42001,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":42003,"t":"code","b":[168],"m":"tay"},{"a":42004,"l":"b_A414","t":"code","b":[169,70],"m":"lda","o":"#$46","x":[42024]},{"a":42006,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42008,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":42010,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42012,"t":"code","b":[136],"m":"dey"},{"a":42013,"t":"code","b":[48,11],"m":"bmi","oa":42026,"o":"b_A42A"},{"a":42015,"t":"code","b":[169,69],"m":"lda","o":"#$45"},{"a":42017,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42019,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":42021,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42023,"t":"code","b":[136],"m":"dey"},{"a":42024,"t":"code","b":[16,234],"m":"bpl","oa":42004,"o":"b_A414"},{"a":42026,"l":"b_A42A","t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1","x":[42013]},{"a":42028,"t":"code","b":[76,246,163],"m":"jmp","oa":41974,"o":"j_A3F6"},{"a":42031,"l":"b_A42F","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[41979]},{"a":42033,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":42035,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":42037,"t":"code","b":[169,193],"m":"lda","o":"#$C1"},{"a":42039,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":42041,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":42043,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":42045,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":42047,"t":"code","b":[162,24],"m":"ldx","o":"#$18"},{"a":42049,"l":"b_A441","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[42073]},{"a":42051,"t":"code","b":[169,71],"m":"lda","o":"#$47"},{"a":42053,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42055,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":42057,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42059,"t":"code","b":[160,39],"m":"ldy","o":"#$27"},{"a":42061,"t":"code","b":[169,72],"m":"lda","o":"#$48"},{"a":42063,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42065,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":42067,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42069,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":42072,"t":"code","b":[202],"m":"dex"},{"a":42073,"t":"code","b":[16,230],"m":"bpl","oa":42049,"o":"b_A441"},{"a":42075,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1"},{"a":42077,"l":"j_A45D","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[42118]},{"a":42079,"t":"code","b":[200],"m":"iny"},{"a":42080,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":42082,"t":"code","b":[240,37],"m":"beq","oa":42121,"o":"b_A489"},{"a":42084,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":42086,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42088,"t":"code","b":[200],"m":"iny"},{"a":42089,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":42091,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42093,"t":"code","b":[200],"m":"iny"},{"a":42094,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":42096,"t":"code","b":[72],"m":"pha"},{"a":42097,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42099,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":42101,"l":"b_A475","t":"code","b":[169,83],"m":"lda","o":"#$53","x":[42111]},{"a":42103,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42105,"t":"code","b":[152],"m":"tya"},{"a":42106,"t":"code","b":[24],"m":"clc"},{"a":42107,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":42109,"t":"code","b":[168],"m":"tay"},{"a":42110,"t":"code","b":[202],"m":"dex"},{"a":42111,"t":"code","b":[16,244],"m":"bpl","oa":42101,"o":"b_A475"},{"a":42113,"t":"code","b":[104],"m":"pla"},{"a":42114,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42116,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1"},{"a":42118,"t":"code","b":[76,93,164],"m":"jmp","oa":42077,"o":"j_A45D"},{"a":42121,"l":"b_A489","t":"code","b":[32,226,171],"m":"jsr","oa":44002,"o":"place_agent","x":[42082]},{"a":42124,"t":"code","b":[32,139,166],"m":"jsr","oa":42635,"o":"setup_robots"},{"a":42127,"t":"code","b":[32,20,167],"m":"jsr","oa":42772,"o":"setup_ball"},{"a":42130,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42132,"t":"code","b":[200],"m":"iny"},{"a":42133,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":42136,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42138,"t":"code","b":[200],"m":"iny"},{"a":42139,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":42142,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42144,"t":"code","b":[200],"m":"iny"},{"a":42145,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":42148,"t":"code","b":[141,44,208],"m":"sta","o":"vic_sprite5_colour"},{"a":42151,"t":"code","b":[141,45,208],"m":"sta","o":"vic_sprite6_colour"},{"a":42154,"t":"code","b":[141,46,208],"m":"sta","o":"vic_sprite7_colour"},{"a":42157,"t":"code","b":[133,75],"m":"sta","oa":75,"o":"robot_colour1"},{"a":42159,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42161,"t":"code","b":[200],"m":"iny"},{"a":42162,"t":"code","b":[133,76],"m":"sta","oa":76,"o":"robot_colour2"},{"a":42164,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42166,"t":"code","b":[200],"m":"iny"},{"a":42167,"t":"code","b":[133,142],"m":"sta","oa":142,"o":"room_sprites"},{"a":42169,"t":"code","b":[152],"m":"tya"},{"a":42170,"t":"code","b":[24],"m":"clc"},{"a":42171,"t":"code","b":[101,24],"m":"adc","oa":24,"o":"ptr_data"},{"a":42173,"t":"code","b":[133,129],"m":"sta","oa":129,"o":"platform_list"},{"a":42175,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42177,"t":"code","b":[101,25],"m":"adc","oa":25,"o":"ptr_data_hi"},{"a":42179,"t":"code","b":[133,130],"m":"sta","oa":130,"o":"platform_list_hi"},{"a":42181,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42183,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":42185,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":42187,"t":"code","b":[228,141],"m":"cpx","oa":141,"o":"room_colour"},{"a":42189,"t":"code","b":[208,2],"m":"bne","oa":42193,"o":"b_A4D1"},{"a":42191,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":42193,"l":"b_A4D1","t":"code","b":[133,132],"m":"sta","oa":132,"o":"platform_colour","x":[42189]},{"a":42195,"l":"j_A4D3","t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y","x":[42224]},{"a":42197,"t":"code","b":[48,28],"m":"bmi","oa":42227,"o":"b_A4F3"},{"a":42199,"t":"code","b":[200],"m":"iny"},{"a":42200,"t":"code","b":[200],"m":"iny"},{"a":42201,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":42203,"t":"code","b":[170],"m":"tax"},{"a":42204,"t":"code","b":[136],"m":"dey"},{"a":42205,"t":"code","b":[136],"m":"dey"},{"a":42206,"t":"code","b":[32,34,172],"m":"jsr","oa":44066,"o":"cell_address"},{"a":42209,"l":"b_A4E1","t":"code","b":[32,85,172],"m":"jsr","oa":44117,"o":"draw_platform_top","x":[42216]},{"a":42212,"t":"code","b":[32,242,174],"m":"jsr","oa":44786,"o":"addr_up6"},{"a":42215,"t":"code","b":[202],"m":"dex"},{"a":42216,"t":"code","b":[16,247],"m":"bpl","oa":42209,"o":"b_A4E1"},{"a":42218,"l":"b_A4EA","t":"code","b":[200],"m":"iny","x":[42221]},{"a":42219,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":42221,"t":"code","b":[16,251],"m":"bpl","oa":42218,"o":"b_A4EA"},{"a":42223,"t":"code","b":[200],"m":"iny"},{"a":42224,"t":"code","b":[76,211,164],"m":"jmp","oa":42195,"o":"j_A4D3"},{"a":42227,"l":"b_A4F3","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[42197]},{"a":42229,"t":"code","b":[133,134],"m":"sta","oa":134,"o":"object_index"},{"a":42231,"t":"code","b":[152],"m":"tya"},{"a":42232,"t":"code","b":[56],"m":"sec"},{"a":42233,"t":"code","b":[101,129],"m":"adc","oa":129,"o":"platform_list"},{"a":42235,"t":"code","b":[133,135],"m":"sta","oa":135,"o":"object_flag_ptr"},{"a":42237,"t":"code","b":[165,130],"m":"lda","oa":130,"o":"platform_list_hi"},{"a":42239,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":42241,"t":"code","b":[133,136],"m":"sta","oa":136,"o":"object_flag_ptr_hi"},{"a":42243,"t":"code","b":[200],"m":"iny"},{"a":42244,"l":"b_A504","t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y","x":[42367,42420]},{"a":42246,"t":"code","b":[16,3],"m":"bpl","oa":42251,"o":"b_A50B"},{"a":42248,"t":"code","b":[76,183,165],"m":"jmp","oa":42423,"o":"j_A5B7"},{"a":42251,"l":"b_A50B","t":"code","b":[32,34,172],"m":"jsr","oa":44066,"o":"cell_address","x":[42246]},{"a":42254,"t":"code","b":[200],"m":"iny"},{"a":42255,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":42257,"t":"code","b":[200],"m":"iny"},{"a":42258,"t":"code","b":[133,137],"m":"sta","oa":137,"o":"furniture_type"},{"a":42260,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42261,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42262,"t":"code","b":[101,137],"m":"adc","oa":137,"o":"furniture_type"},{"a":42264,"t":"code","b":[170],"m":"tax"},{"a":42265,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":42267,"t":"code","b":[200],"m":"iny"},{"a":42268,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":42270,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":42272,"t":"code","b":[189,45,35],"m":"lda","oa":9005,"o":"f_232D,x"},{"a":42275,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"ptr_colour_b_hi"},{"a":42277,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"ptr_b_hi"},{"a":42279,"t":"code","b":[189,44,35],"m":"lda","oa":9004,"o":"tbl_furniture,x"},{"a":42282,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"ptr_colour_b"},{"a":42284,"t":"code","b":[56],"m":"sec"},{"a":42285,"t":"code","b":[125,46,35],"m":"adc","oa":9006,"o":"f_232E,x"},{"a":42288,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":42290,"t":"code","b":[144,2],"m":"bcc","oa":42294,"o":"b_A536"},{"a":42292,"t":"code","b":[230,19],"m":"inc","oa":19,"o":"ptr_b_hi"},{"a":42294,"l":"b_A536","t":"code","b":[189,48,35],"m":"lda","oa":9008,"o":"tbl_furniture_time,x","x":[42290]},{"a":42297,"t":"code","b":[72],"m":"pha"},{"a":42298,"t":"code","b":[189,46,35],"m":"lda","oa":9006,"o":"f_232E,x"},{"a":42301,"t":"code","b":[188,47,35],"m":"ldy","oa":9007,"o":"f_232F,x"},{"a":42304,"t":"code","b":[132,229],"m":"sty","oa":229,"o":"tmp2"},{"a":42306,"t":"code","b":[170],"m":"tax"},{"a":42307,"l":"b_A543","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(ptr_b),y","x":[42329,42358]},{"a":42309,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42311,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":42313,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":42315,"t":"code","b":[208,4],"m":"bne","oa":42321,"o":"b_A551"},{"a":42317,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":42319,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42321,"l":"b_A551","t":"code","b":[177,22],"m":"lda","oa":22,"o":"(ptr_colour_b),y","x":[42315]},{"a":42323,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42325,"t":"code","b":[202],"m":"dex"},{"a":42326,"t":"code","b":[48,32],"m":"bmi","oa":42360,"o":"b_A578"},{"a":42328,"t":"code","b":[136],"m":"dey"},{"a":42329,"t":"code","b":[16,232],"m":"bpl","oa":42307,"o":"b_A543"},{"a":42331,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":42334,"t":"code","b":[165,22],"m":"lda","oa":22,"o":"ptr_colour_b"},{"a":42336,"t":"code","b":[56],"m":"sec"},{"a":42337,"t":"code","b":[101,229],"m":"adc","oa":229,"o":"tmp2"},{"a":42339,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"ptr_colour_b"},{"a":42341,"t":"code","b":[144,2],"m":"bcc","oa":42345,"o":"b_A569"},{"a":42343,"t":"code","b":[230,23],"m":"inc","oa":23,"o":"ptr_colour_b_hi"},{"a":42345,"l":"b_A569","t":"code","b":[165,18],"m":"lda","oa":18,"o":"ptr_b","x":[42341]},{"a":42347,"t":"code","b":[56],"m":"sec"},{"a":42348,"t":"code","b":[101,229],"m":"adc","oa":229,"o":"tmp2"},{"a":42350,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"ptr_b"},{"a":42352,"t":"code","b":[144,2],"m":"bcc","oa":42356,"o":"b_A574"},{"a":42354,"t":"code","b":[230,19],"m":"inc","oa":19,"o":"ptr_b_hi"},{"a":42356,"l":"b_A574","t":"code","b":[164,229],"m":"ldy","oa":229,"o":"tmp2","x":[42352]},{"a":42358,"t":"code","b":[16,203],"m":"bpl","oa":42307,"o":"b_A543"},{"a":42360,"l":"b_A578","t":"code","b":[104],"m":"pla","x":[42326]},{"a":42361,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1"},{"a":42363,"t":"code","b":[166,137],"m":"ldx","oa":137,"o":"furniture_type"},{"a":42365,"t":"code","b":[224,24],"m":"cpx","o":"#$18"},{"a":42367,"l":"b_A57F","t":"code","b":[240,131],"m":"beq","oa":42244,"o":"b_A504","x":[42371]},{"a":42369,"t":"code","b":[224,25],"m":"cpx","o":"#$19"},{"a":42371,"t":"code","b":[240,250],"m":"beq","oa":42367,"o":"b_A57F"},{"a":42373,"t":"code","b":[72],"m":"pha"},{"a":42374,"t":"code","b":[166,134],"m":"ldx","oa":134,"o":"object_index"},{"a":42376,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi"},{"a":42378,"t":"code","b":[24],"m":"clc"},{"a":42379,"t":"code","b":[105,127],"m":"adc","o":"#$7F"},{"a":42381,"t":"code","b":[157,86,79],"m":"sta","oa":20310,"o":"f_4F56,x"},{"a":42384,"t":"code","b":[157,88,79],"m":"sta","oa":20312,"o":"f_4F58,x"},{"a":42387,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":42389,"t":"code","b":[157,85,79],"m":"sta","oa":20309,"o":"f_4F55,x"},{"a":42392,"t":"code","b":[24],"m":"clc"},{"a":42393,"t":"code","b":[101,229],"m":"adc","oa":229,"o":"tmp2"},{"a":42395,"t":"code","b":[157,87,79],"m":"sta","oa":20311,"o":"f_4F57,x"},{"a":42398,"t":"code","b":[144,3],"m":"bcc","oa":42403,"o":"b_A5A3"},{"a":42400,"t":"code","b":[254,88,79],"m":"inc","oa":20312,"o":"f_4F58,x"},{"a":42403,"l":"b_A5A3","t":"code","b":[104],"m":"pla","x":[42398]},{"a":42404,"t":"code","b":[157,89,79],"m":"sta","oa":20313,"o":"f_4F59,x"},{"a":42407,"t":"code","b":[136],"m":"dey"},{"a":42408,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":42410,"t":"code","b":[200],"m":"iny"},{"a":42411,"t":"code","b":[157,90,79],"m":"sta","oa":20314,"o":"f_4F5A,x"},{"a":42414,"t":"code","b":[138],"m":"txa"},{"a":42415,"t":"code","b":[24],"m":"clc"},{"a":42416,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":42418,"t":"code","b":[133,134],"m":"sta","oa":134,"o":"object_index"},{"a":42420,"t":"code","b":[76,4,165],"m":"jmp","oa":42244,"o":"b_A504"},{"a":42423,"l":"j_A5B7","t":"code","b":[166,134],"m":"ldx","oa":134,"o":"object_index","x":[42248]},{"a":42425,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42427,"t":"code","b":[157,85,79],"m":"sta","oa":20309,"o":"f_4F55,x"},{"a":42430,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":42432,"t":"code","b":[201,17],"m":"cmp","o":"#$11"},{"a":42434,"t":"code","b":[240,5],"m":"beq","oa":42441,"o":"draw_code_room"},{"a":42436,"t":"code","b":[201,27],"m":"cmp","o":"#$1B"},{"a":42438,"t":"code","b":[240,1],"m":"beq","oa":42441,"o":"draw_code_room"},{"a":42440,"t":"code","b":[96],"m":"rts"},{"a":42441,"l":"draw_code_room","c":"Extra drawing for the two code rooms ($7E = $11 or $1B): a large framed screen of 13 rows by 32 columns in the buffer (borders of glyphs 3 and 4, a top and bottom row of glyphs 1 and $10/$06, colour $0E and $0C), the 144-byte picture at $3063 copied to $5000, and sprites 4-7 set up from tbl_code_room_sprites: pointers $10 (the hand), $33, $34, $35, their colours and positions, sprite 7 multicolour, sprite 0 pointer $1E.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[42434,42438]},{"a":42443,"t":"code","b":[141,123,193],"m":"sta","oa":49531,"o":"a_C17B"},{"a":42446,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":42448,"t":"code","b":[141,156,193],"m":"sta","oa":49564,"o":"a_C19C"},{"a":42451,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":42453,"t":"code","b":[141,171,195],"m":"sta","oa":50091,"o":"a_C3AB"},{"a":42456,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":42458,"t":"code","b":[141,204,195],"m":"sta","oa":50124,"o":"a_C3CC"},{"a":42461,"t":"code","b":[162,31],"m":"ldx","o":"#$1F"},{"a":42463,"l":"b_A5DF","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[42492]},{"a":42465,"t":"code","b":[157,124,193],"m":"sta","oa":49532,"o":"f_C17C,x"},{"a":42468,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":42470,"t":"code","b":[157,132,195],"m":"sta","oa":50052,"o":"f_C384,x"},{"a":42473,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":42475,"t":"code","b":[157,172,195],"m":"sta","oa":50092,"o":"f_C3AC,x"},{"a":42478,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":42480,"t":"code","b":[157,132,218],"m":"sta","o":"$DA84,x"},{"a":42483,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":42485,"t":"code","b":[157,124,216],"m":"sta","o":"$D87C,x"},{"a":42488,"t":"code","b":[157,172,218],"m":"sta","o":"$DAAC,x"},{"a":42491,"t":"code","b":[202],"m":"dex"},{"a":42492,"t":"code","b":[16,225],"m":"bpl","oa":42463,"o":"b_A5DF"},{"a":42494,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":42496,"t":"code","b":[141,187,195],"m":"sta","oa":50107,"o":"a_C3BB"},{"a":42499,"t":"code","b":[141,188,195],"m":"sta","oa":50108,"o":"a_C3BC"},{"a":42502,"t":"code","b":[169,123],"m":"lda","o":"#$7B"},{"a":42504,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":42506,"t":"code","b":[169,193],"m":"lda","o":"#$C1"},{"a":42508,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":42510,"t":"code","b":[169,123],"m":"lda","o":"#$7B"},{"a":42512,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":42514,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":42516,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":42518,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":42520,"t":"code","b":[160,33],"m":"ldy","o":"#$21"},{"a":42522,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42524,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42526,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42528,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":42531,"t":"code","b":[162,12],"m":"ldx","o":"#$0C"},{"a":42533,"l":"b_A625","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[42557]},{"a":42535,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42537,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42539,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":42541,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42543,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":42545,"t":"code","b":[160,33],"m":"ldy","o":"#$21"},{"a":42547,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":42549,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":42551,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42553,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":42556,"t":"code","b":[202],"m":"dex"},{"a":42557,"t":"code","b":[16,230],"m":"bpl","oa":42533,"o":"b_A625"},{"a":42559,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":42561,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42563,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":42565,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":42567,"t":"code","b":[162,143],"m":"ldx","o":"#$8F"},{"a":42569,"l":"b_A649","t":"code","b":[189,99,48],"m":"lda","oa":12387,"o":"gfx_code_room_picture,x","x":[42578]},{"a":42572,"t":"code","b":[157,0,80],"m":"sta","oa":20480,"o":"f_5000,x"},{"a":42575,"t":"code","b":[202],"m":"dex"},{"a":42576,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":42578,"t":"code","b":[208,245],"m":"bne","oa":42569,"o":"b_A649"},{"a":42580,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":42582,"l":"b_A656","t":"code","b":[189,123,166],"m":"lda","oa":42619,"o":"tbl_code_room_ptrs,x","x":[42595]},{"a":42585,"t":"code","b":[157,252,67],"m":"sta","oa":17404,"o":"a_43FC,x"},{"a":42588,"t":"code","b":[189,135,166],"m":"lda","oa":42631,"o":"tbl_code_room_colours,x"},{"a":42591,"t":"code","b":[157,43,208],"m":"sta","o":"vic_sprite4_colour,x"},{"a":42594,"t":"code","b":[202],"m":"dex"},{"a":42595,"t":"code","b":[16,241],"m":"bpl","oa":42582,"o":"b_A656"},{"a":42597,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":42599,"l":"b_A667","t":"code","b":[189,127,166],"m":"lda","oa":42623,"o":"tbl_code_room_xy,x","x":[42606]},{"a":42602,"t":"code","b":[157,8,208],"m":"sta","o":"vic_sprite4_x,x"},{"a":42605,"t":"code","b":[202],"m":"dex"},{"a":42606,"t":"code","b":[16,247],"m":"bpl","oa":42599,"o":"b_A667"},{"a":42608,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":42610,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":42613,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":42615,"t":"code","b":[141,248,67],"m":"sta","oa":17400,"o":"a_43F8"},{"a":42618,"t":"code","b":[96],"m":"rts"},{"a":42619,"l":"tbl_code_room_ptrs","c":"Sprite pointers of the code room's sprites 4-7: $10 (the hand), $33, $34, $35.","t":"byte","b":[16,51,52,53],"x":[42582]},{"a":42623,"l":"tbl_code_room_xy","c":"X and Y of the code room's sprites 4-7: ($3C,$53), ($A0,$E2), ($B8,$E2), ($AC,$E2).","t":"byte","b":[60,83,160,226,184,226,172,226],"x":[42599]},{"a":42631,"l":"tbl_code_room_colours","c":"Colours of the code room's sprites 4-7: cyan (3), black, black, white.","t":"byte","b":[3,0,0,1],"x":[42588]},{"a":42635,"l":"setup_robots","c":"Sets up the room's robots from its record at ($18),y: all four robots (sprites 4-7) facing one way (pointer $C0), multicolour, unexpanded. For each robot until $FF: its script's start in the script table ($55,x), mode 1 ($56,x), no command ($57,x = $FF), Y = row \u00d7 8 + $1F, X = (column + 2) \u00d7 8 with the ninth bit, its screen address under it ($58/$59,x via $AC22) and sub-cell position 3 ($5A,x). $54 ends as the last robot's offset (6 bytes a robot), or $FF for none.","t":"code","b":[169,192],"m":"lda","o":"#$C0","x":[38575,42124]},{"a":42637,"t":"code","b":[141,252,67],"m":"sta","oa":17404,"o":"a_43FC"},{"a":42640,"t":"code","b":[141,253,67],"m":"sta","oa":17405,"o":"a_43FD"},{"a":42643,"t":"code","b":[141,254,67],"m":"sta","oa":17406,"o":"a_43FE"},{"a":42646,"t":"code","b":[141,255,67],"m":"sta","oa":17407,"o":"a_43FF"},{"a":42649,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":42651,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":42654,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42656,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":42659,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":42662,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":42664,"t":"code","b":[133,129],"m":"sta","oa":129,"o":"platform_list"},{"a":42666,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":42668,"t":"code","b":[133,130],"m":"sta","oa":130,"o":"platform_list_hi"},{"a":42670,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":42672,"t":"code","b":[134,84],"m":"stx","oa":84,"o":"last_robot"},{"a":42674,"t":"code","b":[232],"m":"inx"},{"a":42675,"t":"code","b":[134,230],"m":"stx","oa":230,"o":"tmp3"},{"a":42677,"l":"j_A6B5","t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y","x":[42769]},{"a":42679,"t":"code","b":[200],"m":"iny"},{"a":42680,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":42682,"t":"code","b":[208,1],"m":"bne","oa":42685,"o":"b_A6BD"},{"a":42684,"t":"code","b":[96],"m":"rts"},{"a":42685,"l":"b_A6BD","t":"code","b":[149,85],"m":"sta","oa":85,"o":"robot_script_ptr,x","x":[42682]},{"a":42687,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":42689,"t":"code","b":[149,86],"m":"sta","oa":86,"o":"robot_mode,x"},{"a":42691,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42693,"t":"code","b":[149,87],"m":"sta","oa":87,"o":"robot_command,x"},{"a":42695,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":42697,"t":"code","b":[200],"m":"iny"},{"a":42698,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42699,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42700,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42701,"t":"code","b":[105,31],"m":"adc","o":"#$1F"},{"a":42703,"t":"code","b":[134,84],"m":"stx","oa":84,"o":"last_robot"},{"a":42705,"t":"code","b":[166,230],"m":"ldx","oa":230,"o":"tmp3"},{"a":42707,"t":"code","b":[157,9,208],"m":"sta","o":"vic_sprite4_y,x"},{"a":42710,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":42712,"t":"code","b":[24],"m":"clc"},{"a":42713,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":42715,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42716,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42717,"t":"code","b":[10],"m":"asl","o":"a"},{"a":42718,"t":"code","b":[157,8,208],"m":"sta","o":"vic_sprite4_x,x"},{"a":42721,"t":"code","b":[144,15],"m":"bcc","oa":42738,"o":"b_A6F2"},{"a":42723,"t":"code","b":[138],"m":"txa"},{"a":42724,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":42725,"t":"code","b":[170],"m":"tax"},{"a":42726,"t":"code","b":[8],"m":"php"},{"a":42727,"t":"code","b":[120],"m":"sei"},{"a":42728,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":42731,"t":"code","b":[29,108,14],"m":"ora","oa":3692,"o":"tbl_robot_xbit,x"},{"a":42734,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":42737,"t":"code","b":[40],"m":"plp"},{"a":42738,"l":"b_A6F2","t":"code","b":[230,230],"m":"inc","oa":230,"o":"tmp3","x":[42721]},{"a":42740,"t":"code","b":[230,230],"m":"inc","oa":230,"o":"tmp3"},{"a":42742,"t":"code","b":[166,84],"m":"ldx","oa":84,"o":"last_robot"},{"a":42744,"t":"code","b":[136],"m":"dey"},{"a":42745,"t":"code","b":[32,34,172],"m":"jsr","oa":44066,"o":"cell_address"},{"a":42748,"t":"code","b":[200],"m":"iny"},{"a":42749,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":42751,"t":"code","b":[149,88],"m":"sta","oa":88,"o":"robot_screen_ptr,x"},{"a":42753,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":42755,"t":"code","b":[24],"m":"clc"},{"a":42756,"t":"code","b":[105,64],"m":"adc","o":"#$40"},{"a":42758,"t":"code","b":[149,89],"m":"sta","oa":89,"o":"robot_screen_ptr_hi,x"},{"a":42760,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":42762,"t":"code","b":[149,90],"m":"sta","oa":90,"o":"robot_subcell,x"},{"a":42764,"t":"code","b":[138],"m":"txa"},{"a":42765,"t":"code","b":[24],"m":"clc"},{"a":42766,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":42768,"t":"code","b":[170],"m":"tax"},{"a":42769,"t":"code","b":[76,181,166],"m":"jmp","oa":42677,"o":"j_A6B5"},{"a":42772,"l":"setup_ball","c":"Sets up the room's ball from its record: none if the byte is $FF ($6D = $FF); otherwise the ball's script start ($6E), its X and Y, pointer $1F, black, and $6D = 0 (active).","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[38584,42127]},{"a":42774,"t":"code","b":[200],"m":"iny"},{"a":42775,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":42777,"t":"code","b":[240,31],"m":"beq","oa":42810,"o":"b_A73A"},{"a":42779,"t":"code","b":[133,110],"m":"sta","oa":110,"o":"ball_pc"},{"a":42781,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42783,"t":"code","b":[200],"m":"iny"},{"a":42784,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":42787,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":42789,"t":"code","b":[200],"m":"iny"},{"a":42790,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":42793,"t":"code","b":[169,31],"m":"lda","o":"#$1F"},{"a":42795,"t":"code","b":[141,248,67],"m":"sta","oa":17400,"o":"a_43F8"},{"a":42798,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42800,"t":"code","b":[141,39,208],"m":"sta","o":"vic_sprite0_colour"},{"a":42803,"t":"code","b":[169,241],"m":"lda","o":"#$F1"},{"a":42805,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":42808,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":42810,"l":"b_A73A","t":"code","b":[133,109],"m":"sta","oa":109,"o":"ball_off","x":[42777]},{"a":42812,"t":"code","b":[96],"m":"rts"},{"a":42813,"l":"code_room_flicker","c":"Animates the code room's big screen every sixteen ticks: random sprite multicolours and random light colours (8-15, $A921) in four cells of the colour RAM at $DB81-$DB86.","t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick","x":[29270]},{"a":42815,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":42817,"t":"code","b":[208,29],"m":"bne","oa":42848,"o":"b_A760"},{"a":42819,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":42822,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":42824,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":42827,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":42830,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":42832,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":42835,"t":"code","b":[32,33,169],"m":"jsr","oa":43297,"o":"random_light_colour"},{"a":42838,"t":"code","b":[141,129,219],"m":"sta","o":"$DB81"},{"a":42841,"t":"code","b":[32,33,169],"m":"jsr","oa":43297,"o":"random_light_colour"},{"a":42844,"t":"code","b":[141,133,219],"m":"sta","o":"$DB85"},{"a":42847,"t":"code","b":[96],"m":"rts"},{"a":42848,"l":"b_A760","t":"code","b":[201,8],"m":"cmp","o":"#$08","x":[42817]},{"a":42850,"t":"code","b":[208,12],"m":"bne","oa":42864,"o":"r_A770"},{"a":42852,"t":"code","b":[32,33,169],"m":"jsr","oa":43297,"o":"random_light_colour"},{"a":42855,"t":"code","b":[141,130,219],"m":"sta","o":"$DB82"},{"a":42858,"t":"code","b":[32,33,169],"m":"jsr","oa":43297,"o":"random_light_colour"},{"a":42861,"t":"code","b":[141,134,219],"m":"sta","o":"$DB86"},{"a":42864,"l":"r_A770","t":"code","b":[96],"m":"rts","x":[42850]},{"a":42865,"l":"code_room_puzzle","c":"The musical puzzle of the code rooms, entered when the agent searches the room's computer (contents $FB). The sixteen tones (eight notes in two octaves) are shuffled in tbl_tones ($B229); $74 of them (the room's level: $75 for room $11, $76 for room $1B) are hidden at random among the 32 squares of the screen (tbl_square_tones at $A8BE, $FF for empty), each square drawn ($A8DE) and played once ($A950). The hand (sprite 4) then moves over the 8 \u00d7 4 squares; fire on a square plays its tone. The player must press the hidden tones in rising order: a tone lower than the last one ($78) starts the count ($77) again. When all $74 have been pressed in order, a password is earned (LIFT INITS for an even level, SNOOZES for an odd one, up to 9; both levels start at 2), the screen flashes ($AA10), and the room's level rises by one (to at most 14) for the next time. Fire below the squares leaves.","t":"code","b":[32,41,169],"m":"jsr","oa":43305,"o":"code_room_sound","x":[39192]},{"a":42868,"t":"code","b":[166,117],"m":"ldx","oa":117,"o":"code_level_11"},{"a":42870,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":42872,"t":"code","b":[201,17],"m":"cmp","o":"#$11"},{"a":42874,"t":"code","b":[240,2],"m":"beq","oa":42878,"o":"b_A77E"},{"a":42876,"t":"code","b":[166,118],"m":"ldx","oa":118,"o":"code_level_1b"},{"a":42878,"l":"b_A77E","t":"code","b":[134,116],"m":"stx","oa":116,"o":"code_level","x":[42874]},{"a":42880,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":42882,"l":"b_A782","t":"code","b":[138],"m":"txa","x":[42893]},{"a":42883,"t":"code","b":[157,41,178],"m":"sta","oa":45609,"o":"tbl_tones,x"},{"a":42886,"t":"code","b":[24],"m":"clc"},{"a":42887,"t":"code","b":[105,9],"m":"adc","o":"#$09"},{"a":42889,"t":"code","b":[157,49,178],"m":"sta","oa":45617,"o":"f_B231,x"},{"a":42892,"t":"code","b":[202],"m":"dex"},{"a":42893,"t":"code","b":[16,243],"m":"bpl","oa":42882,"o":"b_A782"},{"a":42895,"t":"code","b":[160,31],"m":"ldy","o":"#$1F"},{"a":42897,"l":"b_A791","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[42904,42922]},{"a":42900,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":42902,"t":"code","b":[201,15],"m":"cmp","o":"#$0F"},{"a":42904,"t":"code","b":[240,247],"m":"beq","oa":42897,"o":"b_A791"},{"a":42906,"t":"code","b":[170],"m":"tax"},{"a":42907,"t":"code","b":[189,41,178],"m":"lda","oa":45609,"o":"tbl_tones,x"},{"a":42910,"t":"code","b":[72],"m":"pha"},{"a":42911,"t":"code","b":[173,41,178],"m":"lda","oa":45609,"o":"tbl_tones"},{"a":42914,"t":"code","b":[157,41,178],"m":"sta","oa":45609,"o":"tbl_tones,x"},{"a":42917,"t":"code","b":[104],"m":"pla"},{"a":42918,"t":"code","b":[141,41,178],"m":"sta","oa":45609,"o":"tbl_tones"},{"a":42921,"t":"code","b":[136],"m":"dey"},{"a":42922,"t":"code","b":[16,229],"m":"bpl","oa":42897,"o":"b_A791"},{"a":42924,"t":"code","b":[162,31],"m":"ldx","o":"#$1F"},{"a":42926,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":42928,"l":"b_A7B0","t":"code","b":[157,190,168],"m":"sta","oa":43198,"o":"tbl_square_tones,x","x":[42932]},{"a":42931,"t":"code","b":[202],"m":"dex"},{"a":42932,"t":"code","b":[16,250],"m":"bpl","oa":42928,"o":"b_A7B0"},{"a":42934,"t":"code","b":[164,116],"m":"ldy","oa":116,"o":"code_level"},{"a":42936,"l":"b_A7B8","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[42945,42960]},{"a":42939,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":42941,"t":"code","b":[170],"m":"tax"},{"a":42942,"t":"code","b":[189,190,168],"m":"lda","oa":43198,"o":"tbl_square_tones,x"},{"a":42945,"t":"code","b":[16,245],"m":"bpl","oa":42936,"o":"b_A7B8"},{"a":42947,"t":"code","b":[32,222,168],"m":"jsr","oa":43230,"o":"draw_square"},{"a":42950,"t":"code","b":[185,41,178],"m":"lda","oa":45609,"o":"tbl_tones,y"},{"a":42953,"t":"code","b":[157,190,168],"m":"sta","oa":43198,"o":"tbl_square_tones,x"},{"a":42956,"t":"code","b":[32,80,169],"m":"jsr","oa":43344,"o":"play_tone"},{"a":42959,"t":"code","b":[136],"m":"dey"},{"a":42960,"t":"code","b":[16,230],"m":"bpl","oa":42936,"o":"b_A7B8"},{"a":42962,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":42964,"t":"code","b":[133,160],"m":"sta","oa":160,"o":"hand_top"},{"a":42966,"t":"code","b":[169,182],"m":"lda","o":"#$B6"},{"a":42968,"t":"code","b":[133,161],"m":"sta","oa":161,"o":"hand_bottom"},{"a":42970,"t":"code","b":[169,29],"m":"lda","o":"#$1D"},{"a":42972,"t":"code","b":[133,162],"m":"sta","oa":162,"o":"hand_left"},{"a":42974,"t":"code","b":[169,154],"m":"lda","o":"#$9A"},{"a":42976,"t":"code","b":[133,163],"m":"sta","oa":163,"o":"hand_right"},{"a":42978,"t":"code","b":[169,109],"m":"lda","o":"#$6D"},{"a":42980,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":42983,"t":"code","b":[169,158],"m":"lda","o":"#$9E"},{"a":42985,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":42988,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":42991,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":42993,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":42996,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":42999,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":43001,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":43003,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":43006,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":43008,"t":"code","b":[133,119],"m":"sta","oa":119,"o":"notes_right"},{"a":43010,"l":"b_A802","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[43027,43031,43091,43114,43195]},{"a":43013,"t":"code","b":[32,194,61],"m":"jsr","oa":15810,"o":"move_hand"},{"a":43016,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":43019,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":43021,"t":"code","b":[240,6],"m":"beq","oa":43029,"o":"b_A815"},{"a":43023,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43025,"t":"code","b":[133,222],"m":"sta","oa":222,"o":"fire_held"},{"a":43027,"t":"code","b":[16,237],"m":"bpl","oa":43010,"o":"b_A802"},{"a":43029,"l":"b_A815","t":"code","b":[165,222],"m":"lda","oa":222,"o":"fire_held","x":[43021]},{"a":43031,"t":"code","b":[208,233],"m":"bne","oa":43010,"o":"b_A802"},{"a":43033,"t":"code","b":[230,222],"m":"inc","oa":222,"o":"fire_held"},{"a":43035,"t":"code","b":[232],"m":"inx"},{"a":43036,"t":"code","b":[138],"m":"txa"},{"a":43037,"t":"code","b":[56],"m":"sec"},{"a":43038,"t":"code","b":[229,162],"m":"sbc","oa":162,"o":"hand_left"},{"a":43040,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":43041,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":43042,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":43043,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":43044,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":43046,"t":"code","b":[200],"m":"iny"},{"a":43047,"t":"code","b":[152],"m":"tya"},{"a":43048,"t":"code","b":[56],"m":"sec"},{"a":43049,"t":"code","b":[229,160],"m":"sbc","oa":160,"o":"hand_top"},{"a":43051,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":43053,"t":"code","b":[201,22],"m":"cmp","o":"#$16"},{"a":43055,"t":"code","b":[144,26],"m":"bcc","oa":43083,"o":"b_A84B"},{"a":43057,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":43059,"t":"code","b":[201,46],"m":"cmp","o":"#$2E"},{"a":43061,"t":"code","b":[144,20],"m":"bcc","oa":43083,"o":"b_A84B"},{"a":43063,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":43065,"t":"code","b":[201,70],"m":"cmp","o":"#$46"},{"a":43067,"t":"code","b":[144,14],"m":"bcc","oa":43083,"o":"b_A84B"},{"a":43069,"t":"code","b":[160,24],"m":"ldy","o":"#$18"},{"a":43071,"t":"code","b":[201,94],"m":"cmp","o":"#$5E"},{"a":43073,"t":"code","b":[144,8],"m":"bcc","oa":43083,"o":"b_A84B"},{"a":43075,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":43077,"t":"code","b":[32,16,170],"m":"jsr","oa":43536,"o":"flash_squares"},{"a":43080,"t":"code","b":[76,159,168],"m":"jmp","oa":43167,"o":"j_A89F"},{"a":43083,"l":"b_A84B","t":"code","b":[152],"m":"tya","x":[43055,43061,43067,43073]},{"a":43084,"t":"code","b":[24],"m":"clc"},{"a":43085,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":43087,"t":"code","b":[170],"m":"tax"},{"a":43088,"t":"code","b":[189,190,168],"m":"lda","oa":43198,"o":"tbl_square_tones,x"},{"a":43091,"t":"code","b":[48,173],"m":"bmi","oa":43010,"o":"b_A802"},{"a":43093,"t":"code","b":[72],"m":"pha"},{"a":43094,"t":"code","b":[32,80,169],"m":"jsr","oa":43344,"o":"play_tone"},{"a":43097,"t":"code","b":[104],"m":"pla"},{"a":43098,"t":"code","b":[230,119],"m":"inc","oa":119,"o":"notes_right"},{"a":43100,"t":"code","b":[240,6],"m":"beq","oa":43108,"o":"b_A864"},{"a":43102,"t":"code","b":[197,120],"m":"cmp","oa":120,"o":"last_note"},{"a":43104,"t":"code","b":[240,83],"m":"beq","oa":43189,"o":"b_A8B5"},{"a":43106,"t":"code","b":[144,81],"m":"bcc","oa":43189,"o":"b_A8B5"},{"a":43108,"l":"b_A864","t":"code","b":[133,120],"m":"sta","oa":120,"o":"last_note","x":[43100]},{"a":43110,"t":"code","b":[165,119],"m":"lda","oa":119,"o":"notes_right"},{"a":43112,"t":"code","b":[197,116],"m":"cmp","oa":116,"o":"code_level"},{"a":43114,"t":"code","b":[208,150],"m":"bne","oa":43010,"o":"b_A802"},{"a":43116,"t":"code","b":[165,116],"m":"lda","oa":116,"o":"code_level"},{"a":43118,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":43120,"t":"code","b":[170],"m":"tax"},{"a":43121,"t":"code","b":[188,39,162],"m":"ldy","oa":41511,"o":"tbl_counter_offsets,x"},{"a":43124,"t":"code","b":[185,57,52],"m":"lda","oa":13369,"o":"f_3439,y"},{"a":43127,"t":"code","b":[201,137],"m":"cmp","o":"#$89"},{"a":43129,"t":"code","b":[176,5],"m":"bcs","oa":43136,"o":"b_A880"},{"a":43131,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":43133,"t":"code","b":[153,57,52],"m":"sta","oa":13369,"o":"f_3439,y"},{"a":43136,"l":"b_A880","t":"code","b":[169,23],"m":"lda","o":"#$17","x":[43129]},{"a":43138,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":43140,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43142,"l":"b_A886","t":"code","b":[72],"m":"pha","x":[43156]},{"a":43143,"t":"code","b":[32,16,170],"m":"jsr","oa":43536,"o":"flash_squares"},{"a":43146,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":43148,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":43151,"t":"code","b":[104],"m":"pla"},{"a":43152,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":43154,"t":"code","b":[198,230],"m":"dec","oa":230,"o":"tmp3"},{"a":43156,"t":"code","b":[16,240],"m":"bpl","oa":43142,"o":"b_A886"},{"a":43158,"t":"code","b":[164,116],"m":"ldy","oa":116,"o":"code_level"},{"a":43160,"t":"code","b":[192,14],"m":"cpy","o":"#$0E"},{"a":43162,"t":"code","b":[176,3],"m":"bcs","oa":43167,"o":"j_A89F"},{"a":43164,"t":"code","b":[200],"m":"iny"},{"a":43165,"t":"code","b":[132,116],"m":"sty","oa":116,"o":"code_level"},{"a":43167,"l":"j_A89F","t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable","x":[43080,43162]},{"a":43170,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":43172,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":43175,"t":"code","b":[166,116],"m":"ldx","oa":116,"o":"code_level"},{"a":43177,"t":"code","b":[165,126],"m":"lda","oa":126,"o":"room_no"},{"a":43179,"t":"code","b":[201,17],"m":"cmp","o":"#$11"},{"a":43181,"t":"code","b":[240,3],"m":"beq","oa":43186,"o":"b_A8B2"},{"a":43183,"t":"code","b":[134,118],"m":"stx","oa":118,"o":"code_level_1b"},{"a":43185,"t":"code","b":[96],"m":"rts"},{"a":43186,"l":"b_A8B2","t":"code","b":[134,117],"m":"stx","oa":117,"o":"code_level_11","x":[43181]},{"a":43188,"t":"code","b":[96],"m":"rts"},{"a":43189,"l":"b_A8B5","t":"code","b":[133,120],"m":"sta","oa":120,"o":"last_note","x":[43104,43106]},{"a":43191,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43193,"t":"code","b":[133,119],"m":"sta","oa":119,"o":"notes_right"},{"a":43195,"t":"code","b":[76,2,168],"m":"jmp","oa":43010,"o":"b_A802"},{"a":43198,"l":"tbl_square_tones","c":"The code room's 32 squares (8 columns by 4 rows): the tone hidden under each, or $FF for none; filled at random by code_room_puzzle.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[42928,42942,42953,43088]},{"a":43206,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43214,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43222,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43230,"l":"draw_square","c":"Colours code-room square X (column X AND 7, row X/8) in the colour RAM from $D8A4: 4 \u00d7 3 cells of colour $0D.","t":"code","b":[169,164],"m":"lda","o":"#$A4","x":[42947]},{"a":43232,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":43234,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":43236,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":43238,"t":"code","b":[138],"m":"txa"},{"a":43239,"t":"code","b":[72],"m":"pha"},{"a":43240,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":43241,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":43242,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":43243,"t":"code","b":[170],"m":"tax"},{"a":43244,"t":"code","b":[240,12],"m":"beq","oa":43258,"o":"b_A8FA"},{"a":43246,"l":"b_A8EE","t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1","x":[43256]},{"a":43249,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":43252,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":43255,"t":"code","b":[202],"m":"dex"},{"a":43256,"t":"code","b":[208,244],"m":"bne","oa":43246,"o":"b_A8EE"},{"a":43258,"l":"b_A8FA","t":"code","b":[104],"m":"pla","x":[43244]},{"a":43259,"t":"code","b":[170],"m":"tax"},{"a":43260,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":43262,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43263,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43264,"t":"code","b":[101,16],"m":"adc","oa":16,"o":"ptr_a"},{"a":43266,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":43268,"t":"code","b":[144,2],"m":"bcc","oa":43272,"o":"b_A908"},{"a":43270,"t":"code","b":[230,17],"m":"inc","oa":17,"o":"ptr_a_hi"},{"a":43272,"l":"b_A908","t":"code","b":[152],"m":"tya","x":[43268]},{"a":43273,"t":"code","b":[72],"m":"pha"},{"a":43274,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":43276,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":43278,"l":"b_A90E","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[43292]},{"a":43280,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":43282,"l":"b_A912","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[43285]},{"a":43284,"t":"code","b":[136],"m":"dey"},{"a":43285,"t":"code","b":[16,251],"m":"bpl","oa":43282,"o":"b_A912"},{"a":43287,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":43290,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":43292,"t":"code","b":[16,240],"m":"bpl","oa":43278,"o":"b_A90E"},{"a":43294,"t":"code","b":[104],"m":"pla"},{"a":43295,"t":"code","b":[168],"m":"tay"},{"a":43296,"t":"code","b":[96],"m":"rts"},{"a":43297,"l":"random_light_colour","c":"A random colour from 8 to 15.","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[42835,42841,42852,42858]},{"a":43300,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":43302,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":43304,"t":"code","b":[96],"m":"rts"},{"a":43305,"l":"code_room_sound","c":"Sets the SID for the code room's tones: attack/decay $5A, sustain/release $58 on voice 3, pulse widths 0, volume 5.","t":"code","b":[169,90],"m":"lda","o":"#$5A","x":[42865]},{"a":43307,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":43310,"t":"code","b":[141,12,212],"m":"sta","o":"sid_v2_attack_decay"},{"a":43313,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":43315,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":43318,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43320,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":43323,"t":"code","b":[141,13,212],"m":"sta","o":"sid_v2_sustain_release"},{"a":43326,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":43329,"t":"code","b":[141,2,212],"m":"sta","o":"sid_v1_pulse_lo"},{"a":43332,"t":"code","b":[141,9,212],"m":"sta","o":"sid_v2_pulse_lo"},{"a":43335,"t":"code","b":[141,16,212],"m":"sta","o":"sid_v3_pulse_lo"},{"a":43338,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":43340,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":43343,"t":"code","b":[96],"m":"rts"},{"a":43344,"l":"play_tone","c":"Shows and plays tone A of square X: sprite 0 moves to the square, coloured by the note (tbl_tone_colours); the note (A AND 7) from tbl_tone_lo/hi, one octave lower when bit 3 is clear, goes to the three voices an octave apart; pulse waves gated on for 32 ticks with a pulse width that moves with the tick, the hand still movable ($3DC2); then sprite 0 off and the gates closed.","t":"code","b":[72],"m":"pha","x":[42956,43094]},{"a":43345,"t":"code","b":[138],"m":"txa"},{"a":43346,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":43348,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43349,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43350,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43351,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43352,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43353,"t":"code","b":[105,60],"m":"adc","o":"#$3C"},{"a":43355,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":43358,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":43361,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":43363,"t":"code","b":[144,2],"m":"bcc","oa":43367,"o":"b_A967"},{"a":43365,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":43367,"l":"b_A967","t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb","x":[43363]},{"a":43370,"t":"code","b":[138],"m":"txa"},{"a":43371,"t":"code","b":[41,24],"m":"and","o":"#$18"},{"a":43373,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":43375,"t":"code","b":[10],"m":"asl","o":"a"},{"a":43376,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":43378,"t":"code","b":[105,83],"m":"adc","o":"#$53"},{"a":43380,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":43383,"t":"code","b":[104],"m":"pla"},{"a":43384,"t":"code","b":[72],"m":"pha"},{"a":43385,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":43387,"t":"code","b":[170],"m":"tax"},{"a":43388,"t":"code","b":[189,248,169],"m":"lda","oa":43512,"o":"tbl_tone_lo,x"},{"a":43391,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":43393,"t":"code","b":[189,0,170],"m":"lda","oa":43520,"o":"tbl_tone_hi,x"},{"a":43396,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":43398,"t":"code","b":[189,8,170],"m":"lda","oa":43528,"o":"tbl_tone_colours,x"},{"a":43401,"t":"code","b":[141,39,208],"m":"sta","o":"vic_sprite0_colour"},{"a":43404,"t":"code","b":[104],"m":"pla"},{"a":43405,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":43407,"t":"code","b":[208,4],"m":"bne","oa":43413,"o":"b_A995"},{"a":43409,"t":"code","b":[70,229],"m":"lsr","oa":229,"o":"tmp2"},{"a":43411,"t":"code","b":[102,228],"m":"ror","oa":228,"o":"tmp1"},{"a":43413,"l":"b_A995","t":"code","b":[162,14],"m":"ldx","o":"#$0E","x":[43407]},{"a":43415,"l":"b_A997","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[43434]},{"a":43417,"t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x"},{"a":43420,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":43422,"t":"code","b":[157,1,212],"m":"sta","o":"sid_v1_freq_hi,x"},{"a":43425,"t":"code","b":[70,229],"m":"lsr","oa":229,"o":"tmp2"},{"a":43427,"t":"code","b":[102,228],"m":"ror","oa":228,"o":"tmp1"},{"a":43429,"t":"code","b":[138],"m":"txa"},{"a":43430,"t":"code","b":[56],"m":"sec"},{"a":43431,"t":"code","b":[233,7],"m":"sbc","o":"#$07"},{"a":43433,"t":"code","b":[170],"m":"tax"},{"a":43434,"t":"code","b":[176,235],"m":"bcs","oa":43415,"o":"b_A997"},{"a":43436,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":43439,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":43442,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":43444,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":43447,"t":"code","b":[169,67],"m":"lda","o":"#$43"},{"a":43449,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":43452,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":43455,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":43458,"t":"code","b":[152],"m":"tya"},{"a":43459,"t":"code","b":[72],"m":"pha"},{"a":43460,"t":"code","b":[162,31],"m":"ldx","o":"#$1F"},{"a":43462,"l":"b_A9C6","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[43488]},{"a":43465,"t":"code","b":[165,224],"m":"lda","oa":224,"o":"tick"},{"a":43467,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":43469,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":43471,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":43474,"t":"code","b":[141,10,212],"m":"sta","o":"sid_v2_pulse_hi"},{"a":43477,"t":"code","b":[141,17,212],"m":"sta","o":"sid_v3_pulse_hi"},{"a":43480,"t":"code","b":[138],"m":"txa"},{"a":43481,"t":"code","b":[72],"m":"pha"},{"a":43482,"t":"code","b":[32,194,61],"m":"jsr","oa":15810,"o":"move_hand"},{"a":43485,"t":"code","b":[104],"m":"pla"},{"a":43486,"t":"code","b":[170],"m":"tax"},{"a":43487,"t":"code","b":[202],"m":"dex"},{"a":43488,"t":"code","b":[16,228],"m":"bpl","oa":43462,"o":"b_A9C6"},{"a":43490,"t":"code","b":[104],"m":"pla"},{"a":43491,"t":"code","b":[168],"m":"tay"},{"a":43492,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":43495,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":43497,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":43500,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43502,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":43505,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":43508,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":43511,"t":"code","b":[96],"m":"rts"},{"a":43512,"l":"tbl_tone_lo","c":"Low bytes of the eight notes of the code room's tones (with tbl_tone_hi: $430F, $4B45, $547D, $5983, $6479, $70C7, $7E97, $861E, a rising scale).","t":"byte","b":[15,69,125,131,121,199,151,30],"x":[43388]},{"a":43520,"l":"tbl_tone_hi","c":"High bytes of the code room's eight notes.","t":"byte","b":[67,75,84,89,100,112,126,134],"x":[43393]},{"a":43528,"l":"tbl_tone_colours","c":"Colour of each of the eight notes, shown on sprite 0 over the square: red, orange, yellow, light green, light blue, blue, purple, red.","t":"byte","b":[2,8,7,13,14,6,4,2],"x":[43398]},{"a":43536,"l":"flash_squares","c":"Paints the code room's 8 \u00d7 4 squares in colour A in a chequer pattern (alternating 0 and 1 by cell), the reward flash when called repeatedly with A alternating.","t":"code","b":[160,164],"m":"ldy","o":"#$A4","x":[43077,43143]},{"a":43538,"t":"code","b":[132,16],"m":"sty","oa":16,"o":"ptr_a"},{"a":43540,"t":"code","b":[160,216],"m":"ldy","o":"#$D8"},{"a":43542,"t":"code","b":[132,17],"m":"sty","oa":17,"o":"ptr_a_hi"},{"a":43544,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":43546,"t":"code","b":[132,229],"m":"sty","oa":229,"o":"tmp2"},{"a":43548,"l":"b_AA1C","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[43581]},{"a":43550,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":43552,"l":"b_AA20","t":"code","b":[160,31],"m":"ldy","o":"#$1F","x":[43575]},{"a":43554,"l":"b_AA22","t":"code","b":[162,3],"m":"ldx","o":"#$03","x":[43566]},{"a":43556,"l":"b_AA24","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[43560]},{"a":43558,"t":"code","b":[136],"m":"dey"},{"a":43559,"t":"code","b":[202],"m":"dex"},{"a":43560,"t":"code","b":[16,250],"m":"bpl","oa":43556,"o":"b_AA24"},{"a":43562,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":43564,"t":"code","b":[192,0],"m":"cpy","o":"#$00"},{"a":43566,"t":"code","b":[16,242],"m":"bpl","oa":43554,"o":"b_AA22"},{"a":43568,"t":"code","b":[72],"m":"pha"},{"a":43569,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":43572,"t":"code","b":[104],"m":"pla"},{"a":43573,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":43575,"t":"code","b":[16,231],"m":"bpl","oa":43552,"o":"b_AA20"},{"a":43577,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":43579,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":43581,"t":"code","b":[16,221],"m":"bpl","oa":43548,"o":"b_AA1C"},{"a":43583,"t":"code","b":[96],"m":"rts"},{"a":43584,"l":"elvin_terminal","c":"The object with contents $FE, Elvin's control: with any letter of the password line ($345D-$3465) still blank, nothing happens. With all nine found, the mission is won: $DC = 1, a frame shape in sprite 7 (pointer $36) opens over the screen, a 6 \u00d7 5 block of characters and colours from $2611/$25F3 is drawn at $4301, and the frame closes again row by row. Then the end picture: video bank 3 (screen $C000, character set $D000-$D7FF in the RAM under the I/O area), the screen copied from $DC00-$DFFF to $C000-$C3FF with all RAM banked in, the colours from $F800-$FBFF to colour RAM; voice line 4 ($BED9); the mouth animation, alternating the two mouth pictures ($AB84, $AB75) for the durations in tbl_end_timing while random cells twinkle ($ABBA); and finally $BECD and the score ($B786). Live: forced by filling the password line and starting here; Elvin's face appeared, talking, then the tally.","t":"code","b":[160,8],"m":"ldy","o":"#$08","x":[39179]},{"a":43586,"l":"b_AA42","t":"code","b":[185,93,52],"m":"lda","oa":13405,"o":"f_345D,y","x":[43595]},{"a":43589,"t":"code","b":[201,83],"m":"cmp","o":"#$53"},{"a":43591,"t":"code","b":[208,1],"m":"bne","oa":43594,"o":"b_AA4A"},{"a":43593,"t":"code","b":[96],"m":"rts"},{"a":43594,"l":"b_AA4A","t":"code","b":[136],"m":"dey","x":[43591]},{"a":43595,"t":"code","b":[16,245],"m":"bpl","oa":43586,"o":"b_AA42"},{"a":43597,"t":"code","b":[230,220],"m":"inc","oa":220,"o":"won"},{"a":43599,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":43601,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43603,"l":"b_AA53","t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x","x":[43607]},{"a":43606,"t":"code","b":[202],"m":"dex"},{"a":43607,"t":"code","b":[16,250],"m":"bpl","oa":43603,"o":"b_AA53"},{"a":43609,"t":"code","b":[162,46],"m":"ldx","o":"#$2E"},{"a":43611,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":43613,"l":"b_AA5D","t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x","x":[43622]},{"a":43616,"t":"code","b":[202],"m":"dex"},{"a":43617,"t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x"},{"a":43620,"t":"code","b":[202],"m":"dex"},{"a":43621,"t":"code","b":[202],"m":"dex"},{"a":43622,"t":"code","b":[16,245],"m":"bpl","oa":43613,"o":"b_AA5D"},{"a":43624,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":43626,"t":"code","b":[141,255,67],"m":"sta","oa":17407,"o":"a_43FF"},{"a":43629,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":43631,"t":"code","b":[141,46,208],"m":"sta","o":"vic_sprite7_colour"},{"a":43634,"t":"code","b":[173,29,208],"m":"lda","o":"vic_sprite_expand_x"},{"a":43637,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":43639,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":43642,"t":"code","b":[173,23,208],"m":"lda","o":"vic_sprite_expand_y"},{"a":43645,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":43647,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":43650,"t":"code","b":[169,206],"m":"lda","o":"#$CE"},{"a":43652,"t":"code","b":[141,15,208],"m":"sta","o":"vic_sprite7_y"},{"a":43655,"t":"code","b":[169,104],"m":"lda","o":"#$68"},{"a":43657,"t":"code","b":[141,14,208],"m":"sta","o":"vic_sprite7_x"},{"a":43660,"t":"code","b":[173,28,208],"m":"lda","o":"vic_sprite_multicolour"},{"a":43663,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":43665,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":43668,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":43671,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":43674,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":43676,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":43679,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":43681,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":43683,"l":"b_AAA3","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[43713]},{"a":43685,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":43687,"l":"b_AAA7","t":"code","b":[189,243,37],"m":"lda","oa":9715,"o":"gfx_win_colours,x","x":[43703]},{"a":43690,"t":"code","b":[153,1,219],"m":"sta","o":"$DB01,y"},{"a":43693,"t":"code","b":[189,17,38],"m":"lda","oa":9745,"o":"gfx_win_chars,x"},{"a":43696,"t":"code","b":[153,1,67],"m":"sta","oa":17153,"o":"f_4301,y"},{"a":43699,"t":"code","b":[232],"m":"inx"},{"a":43700,"t":"code","b":[200],"m":"iny"},{"a":43701,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":43703,"t":"code","b":[16,238],"m":"bpl","oa":43687,"o":"b_AAA7"},{"a":43705,"t":"code","b":[152],"m":"tya"},{"a":43706,"t":"code","b":[24],"m":"clc"},{"a":43707,"t":"code","b":[105,34],"m":"adc","o":"#$22"},{"a":43709,"t":"code","b":[168],"m":"tay"},{"a":43710,"t":"code","b":[138],"m":"txa"},{"a":43711,"t":"code","b":[224,30],"m":"cpx","o":"#$1E"},{"a":43713,"t":"code","b":[144,224],"m":"bcc","oa":43683,"o":"b_AAA3"},{"a":43715,"t":"code","b":[160,47],"m":"ldy","o":"#$2F"},{"a":43717,"l":"b_AAC5","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[43732]},{"a":43720,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":43722,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43724,"l":"b_AACC","t":"code","b":[153,128,77],"m":"sta","oa":19840,"o":"f_4D80,y","x":[43729]},{"a":43727,"t":"code","b":[136],"m":"dey"},{"a":43728,"t":"code","b":[202],"m":"dex"},{"a":43729,"t":"code","b":[16,249],"m":"bpl","oa":43724,"o":"b_AACC"},{"a":43731,"t":"code","b":[152],"m":"tya"},{"a":43732,"t":"code","b":[16,239],"m":"bpl","oa":43717,"o":"b_AAC5"},{"a":43734,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":43737,"t":"code","b":[120],"m":"sei"},{"a":43738,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43740,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":43743,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":43745,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":43748,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":43750,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":43753,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":43755,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":43758,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":43761,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":43763,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":43766,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":43768,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":43771,"t":"code","b":[169,36],"m":"lda","o":"#$24"},{"a":43773,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":43775,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":43777,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":43779,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":43781,"t":"code","b":[169,220],"m":"lda","o":"#$DC"},{"a":43783,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":43785,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":43787,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":43789,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":43791,"t":"code","b":[32,251,113],"m":"jsr","oa":29179,"o":"copy_pages"},{"a":43794,"t":"code","b":[169,37],"m":"lda","o":"#$25"},{"a":43796,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":43798,"t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":43800,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":43802,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":43804,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":43806,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":43808,"t":"code","b":[32,251,113],"m":"jsr","oa":29179,"o":"copy_pages"},{"a":43811,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":43813,"t":"code","b":[32,217,190],"m":"jsr","oa":48857,"o":"say_line"},{"a":43816,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":43818,"l":"b_AB2A","t":"code","b":[190,110,171],"m":"ldx","oa":43886,"o":"tbl_end_timing_pal,y","x":[43846]},{"a":43819,"t":"note","l":"a_AB2B","c":"Operand low byte of `ldx $AB67,y` in elvin_terminal's mouth animation: $67 points at the NTSC timings, and detect_pal writes $6E on PAL to use the PAL timings instead.","note":"inside the item at $AB2A","x":[16343]},{"a":43821,"t":"code","b":[152],"m":"tya"},{"a":43822,"t":"code","b":[72],"m":"pha"},{"a":43823,"t":"code","b":[32,186,171],"m":"jsr","oa":43962,"o":"end_twinkle"},{"a":43826,"t":"code","b":[32,132,171],"m":"jsr","oa":43908,"o":"end_mouth_open"},{"a":43829,"t":"code","b":[104],"m":"pla"},{"a":43830,"t":"code","b":[168],"m":"tay"},{"a":43831,"t":"code","b":[136],"m":"dey"},{"a":43832,"t":"code","b":[190,110,171],"m":"ldx","oa":43886,"o":"tbl_end_timing_pal,y"},{"a":43833,"t":"note","l":"a_AB39","c":"The second `ldx` of the mouth animation's timings, patched like $AB2B.","note":"inside the item at $AB38","x":[16346]},{"a":43835,"t":"code","b":[152],"m":"tya"},{"a":43836,"t":"code","b":[72],"m":"pha"},{"a":43837,"t":"code","b":[32,186,171],"m":"jsr","oa":43962,"o":"end_twinkle"},{"a":43840,"t":"code","b":[32,117,171],"m":"jsr","oa":43893,"o":"end_mouth_closed"},{"a":43843,"t":"code","b":[104],"m":"pla"},{"a":43844,"t":"code","b":[168],"m":"tay"},{"a":43845,"t":"code","b":[136],"m":"dey"},{"a":43846,"t":"code","b":[208,226],"m":"bne","oa":43818,"o":"b_AB2A"},{"a":43848,"t":"code","b":[190,110,171],"m":"ldx","oa":43886,"o":"tbl_end_timing_pal,y"},{"a":43849,"t":"note","l":"a_AB49","c":"The third `ldx` of the mouth animation's timings, patched like $AB2B.","note":"inside the item at $AB48","x":[16349]},{"a":43851,"t":"code","b":[32,186,171],"m":"jsr","oa":43962,"o":"end_twinkle"},{"a":43854,"t":"code","b":[32,205,190],"m":"jsr","oa":48845,"o":"nmi_normal"},{"a":43857,"t":"code","b":[88],"m":"cli"},{"a":43858,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":43861,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":43863,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":43866,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":43869,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":43871,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":43873,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":43876,"t":"code","b":[76,134,183],"m":"jmp","oa":46982,"o":"end_of_game"},{"a":43879,"l":"tbl_end_timing_ntsc","c":"How long each step of the end picture's mouth animation lasts on an NTSC machine (60 frames a second), in calls of end_twinkle: $40, $28, $28, $20, $2C, $20, $10. Read when detect_pal leaves the operands at $67.","t":"byte","b":[64,40,40,32,44,32,16]},{"a":43886,"l":"tbl_end_timing_pal","c":"The same seven durations for PAL (50 frames a second), five sixths of the NTSC values: $35, $21, $21, $1B, $25, $1B, $0D, so that the mouth keeps time with the speech, which runs from a CPU timer at the same speed on both.","t":"byte","b":[53,33,33,27,37,27,13],"x":[43818,43832,43848]},{"a":43893,"l":"end_mouth_closed","c":"Draws the closed mouth into the end picture: 13 glyphs from tbl_mouth_closed at the screen positions $C2B6 + tbl_mouth_cells.","t":"code","b":[162,12],"m":"ldx","o":"#$0C","x":[43840]},{"a":43895,"l":"b_AB77","t":"code","b":[189,160,171],"m":"lda","oa":43936,"o":"tbl_mouth_closed,x","x":[43905]},{"a":43898,"t":"code","b":[188,173,171],"m":"ldy","oa":43949,"o":"tbl_mouth_cells,x"},{"a":43901,"t":"code","b":[153,182,194],"m":"sta","oa":49846,"o":"f_C2B6,y"},{"a":43904,"t":"code","b":[202],"m":"dex"},{"a":43905,"t":"code","b":[16,244],"m":"bpl","oa":43895,"o":"b_AB77"},{"a":43907,"t":"code","b":[96],"m":"rts"},{"a":43908,"l":"end_mouth_open","c":"Draws the open mouth: 13 glyphs from tbl_mouth_open at the same positions.","t":"code","b":[162,12],"m":"ldx","o":"#$0C","x":[43826]},{"a":43910,"l":"b_AB86","t":"code","b":[189,147,171],"m":"lda","oa":43923,"o":"tbl_mouth_open,x","x":[43920]},{"a":43913,"t":"code","b":[188,173,171],"m":"ldy","oa":43949,"o":"tbl_mouth_cells,x"},{"a":43916,"t":"code","b":[153,182,194],"m":"sta","oa":49846,"o":"f_C2B6,y"},{"a":43919,"t":"code","b":[202],"m":"dex"},{"a":43920,"t":"code","b":[16,244],"m":"bpl","oa":43910,"o":"b_AB86"},{"a":43922,"t":"code","b":[96],"m":"rts"},{"a":43923,"l":"tbl_mouth_open","c":"The 13 glyphs of the open mouth in the end picture.","t":"byte","b":[27,28,57,67,68,69,107,108],"x":[43910]},{"a":43931,"t":"byte","b":[109,110,148,149,150]},{"a":43936,"l":"tbl_mouth_closed","c":"The 13 glyphs of the closed mouth.","t":"byte","b":[122,123,124,162,163,164,202,203],"x":[43895]},{"a":43944,"t":"byte","b":[204,205,246,247,80]},{"a":43949,"l":"tbl_mouth_cells","c":"Offsets from $C2B6 of the mouth's 13 cells, over four rows of the picture ($00-$02, $28-$2A, $50-$53, $79-$7B).","t":"byte","b":[0,1,2,40,41,42,80,81],"x":[43898,43913]},{"a":43957,"t":"byte","b":[82,83,121,122,123]},{"a":43962,"l":"end_twinkle","c":"X times: for six random cells of the end picture's colour RAM (a random low byte, avoiding a band of values, written into the `sta $D800` at $ABD8) sets a random light colour (8-15 from the noise byte via $84FA), a tick apart. The twinkling lights of the end picture.","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[43823,43837,43851,43999]},{"a":43965,"t":"code","b":[160,5],"m":"ldy","o":"#$05"},{"a":43967,"l":"b_ABBF","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[43972,43980,43996]},{"a":43970,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":43972,"t":"code","b":[176,249],"m":"bcs","oa":43967,"o":"b_ABBF"},{"a":43974,"t":"code","b":[201,223],"m":"cmp","o":"#$DF"},{"a":43976,"t":"code","b":[176,4],"m":"bcs","oa":43982,"o":"b_ABCE"},{"a":43978,"t":"code","b":[201,214],"m":"cmp","o":"#$D6"},{"a":43980,"t":"code","b":[176,241],"m":"bcs","oa":43967,"o":"b_ABBF"},{"a":43982,"l":"b_ABCE","t":"code","b":[141,217,171],"m":"sta","oa":43993,"o":"a_ABD9","x":[43976]},{"a":43985,"t":"code","b":[32,250,132],"m":"jsr","oa":34042,"o":"irq_tick_extras"},{"a":43988,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":43990,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":43992,"t":"code","b":[141,0,216],"m":"sta","o":"colour_ram"},{"a":43993,"t":"note","l":"a_ABD9","c":"Operand low byte of `sta $D800` in end_twinkle: a random cell of the end picture's colour RAM.","note":"inside the item at $ABD8","x":[43982]},{"a":43995,"t":"code","b":[136],"m":"dey"},{"a":43996,"t":"code","b":[16,225],"m":"bpl","oa":43967,"o":"b_ABBF"},{"a":43998,"t":"code","b":[202],"m":"dex"},{"a":43999,"t":"code","b":[16,217],"m":"bpl","oa":43962,"o":"end_twinkle"},{"a":44001,"t":"code","b":[96],"m":"rts"},{"a":44002,"l":"place_agent","c":"Places the agent at the room's entrance from the room record at ($18),y: the left or right entry ($7F) gives X for sprites 1-3, the Y of sprite 2, with sprites 1 and 3 at +12 and +21, and the ninth X bits.","t":"code","b":[165,127],"m":"lda","oa":127,"o":"entry_side","x":[38612,42121]},{"a":44004,"t":"code","b":[240,1],"m":"beq","oa":44007,"o":"b_ABE7"},{"a":44006,"t":"code","b":[200],"m":"iny"},{"a":44007,"l":"b_ABE7","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[44004]},{"a":44009,"t":"code","b":[200],"m":"iny"},{"a":44010,"t":"code","b":[200],"m":"iny"},{"a":44011,"t":"code","b":[141,2,208],"m":"sta","o":"vic_sprite1_x"},{"a":44014,"t":"code","b":[141,4,208],"m":"sta","o":"vic_sprite2_x"},{"a":44017,"t":"code","b":[141,6,208],"m":"sta","o":"vic_sprite3_x"},{"a":44020,"t":"code","b":[133,44],"m":"sta","oa":44,"o":"agent_x"},{"a":44022,"t":"code","b":[133,46],"m":"sta","oa":46,"o":"agent_x2"},{"a":44024,"t":"code","b":[133,48],"m":"sta","oa":48,"o":"agent_x3"},{"a":44026,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":44028,"t":"code","b":[200],"m":"iny"},{"a":44029,"t":"code","b":[200],"m":"iny"},{"a":44030,"t":"code","b":[141,5,208],"m":"sta","o":"vic_sprite2_y"},{"a":44033,"t":"code","b":[133,47],"m":"sta","oa":47,"o":"agent_y2"},{"a":44035,"t":"code","b":[24],"m":"clc"},{"a":44036,"t":"code","b":[105,12],"m":"adc","o":"#$0C"},{"a":44038,"t":"code","b":[141,3,208],"m":"sta","o":"vic_sprite1_y"},{"a":44041,"t":"code","b":[133,45],"m":"sta","oa":45,"o":"agent_y"},{"a":44043,"t":"code","b":[105,9],"m":"adc","o":"#$09"},{"a":44045,"t":"code","b":[141,7,208],"m":"sta","o":"vic_sprite3_y"},{"a":44048,"t":"code","b":[133,49],"m":"sta","oa":49,"o":"agent_y3"},{"a":44050,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":44052,"t":"code","b":[200],"m":"iny"},{"a":44053,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":44056,"t":"code","b":[41,14],"m":"and","o":"#$0E"},{"a":44058,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"agent_xbits"},{"a":44060,"t":"code","b":[165,127],"m":"lda","oa":127,"o":"entry_side"},{"a":44062,"t":"code","b":[208,1],"m":"bne","oa":44065,"o":"r_AC21"},{"a":44064,"t":"code","b":[200],"m":"iny"},{"a":44065,"l":"r_AC21","t":"code","b":[96],"m":"rts","x":[44062]},{"a":44066,"l":"cell_address","c":"Address in the room buffer of the cell at row ($81),y and column ($81),y+1 of a room list: row \u00d7 40 + column + $C100 in $10/$11, and the matching colour address ($D800 + ...) in $14/$15. Y is advanced past the row.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[41224,41331,42206,42251,42745,44281,44425]},{"a":44068,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":44070,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44072,"t":"code","b":[200],"m":"iny"},{"a":44073,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44074,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44075,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44076,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":44078,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44079,"t":"code","b":[38,229],"m":"rol","oa":229,"o":"tmp2"},{"a":44081,"t":"code","b":[10],"m":"asl","o":"a"},{"a":44082,"t":"code","b":[38,229],"m":"rol","oa":229,"o":"tmp2"},{"a":44084,"t":"code","b":[24],"m":"clc"},{"a":44085,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":44087,"t":"code","b":[144,2],"m":"bcc","oa":44091,"o":"b_AC3B"},{"a":44089,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":44091,"l":"b_AC3B","t":"code","b":[24],"m":"clc","x":[44087]},{"a":44092,"t":"code","b":[113,129],"m":"adc","oa":129,"o":"(platform_list),y"},{"a":44094,"t":"code","b":[144,2],"m":"bcc","oa":44098,"o":"b_AC42"},{"a":44096,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":44098,"l":"b_AC42","t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a","x":[44094]},{"a":44100,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":44102,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":44104,"t":"code","b":[24],"m":"clc"},{"a":44105,"t":"code","b":[105,193],"m":"adc","o":"#$C1"},{"a":44107,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":44109,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":44111,"t":"code","b":[24],"m":"clc"},{"a":44112,"t":"code","b":[105,216],"m":"adc","o":"#$D8"},{"a":44114,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":44116,"t":"code","b":[96],"m":"rts"},{"a":44117,"l":"draw_platform_top","c":"Draws a lifting platform's top, three glyphs $49-$4B from $0DB4, in colour $84, at $10/$14.","t":"code","b":[152],"m":"tya","x":[41359,42209,44378,44541]},{"a":44118,"t":"code","b":[72],"m":"pha"},{"a":44119,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":44121,"l":"b_AC59","t":"code","b":[185,180,13],"m":"lda","oa":3508,"o":"gfx_platform_top,y","x":[44131]},{"a":44124,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":44126,"t":"code","b":[165,132],"m":"lda","oa":132,"o":"platform_colour"},{"a":44128,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":44130,"t":"code","b":[136],"m":"dey"},{"a":44131,"t":"code","b":[16,244],"m":"bpl","oa":44121,"o":"b_AC59"},{"a":44133,"t":"code","b":[104],"m":"pla"},{"a":44134,"t":"code","b":[168],"m":"tay"},{"a":44135,"t":"code","b":[96],"m":"rts"},{"a":44136,"l":"draw_platform_cap","c":"Draws the lifting platform's two-row cap, glyphs $4F-$51 ($0DBA) and below them $4C-$4E ($0DB7), in colour $84.","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[44348,44499]},{"a":44138,"l":"b_AC6A","t":"code","b":[185,186,13],"m":"lda","oa":3514,"o":"gfx_platform_cap_high,y","x":[44148]},{"a":44141,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":44143,"t":"code","b":[165,132],"m":"lda","oa":132,"o":"platform_colour"},{"a":44145,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":44147,"t":"code","b":[136],"m":"dey"},{"a":44148,"t":"code","b":[16,244],"m":"bpl","oa":44138,"o":"b_AC6A"},{"a":44150,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":44153,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":44155,"l":"b_AC7B","t":"code","b":[185,183,13],"m":"lda","oa":3511,"o":"gfx_platform_cap_low,y","x":[44165]},{"a":44158,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":44160,"t":"code","b":[165,132],"m":"lda","oa":132,"o":"platform_colour"},{"a":44162,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":44164,"t":"code","b":[136],"m":"dey"},{"a":44165,"t":"code","b":[16,244],"m":"bpl","oa":44155,"o":"b_AC7B"},{"a":44167,"t":"code","b":[96],"m":"rts"},{"a":44168,"l":"lift_platforms","c":"The lifting platforms: when the agent stands still (frame $0E), finds the platform under his feet in the room's platform list at ($81) (each entry: row, column, height, a movement count, a list) by his feet's row ($52) and column ($53). Up on the stick raises it ($ACF6) and down lowers it ($AD81), once per press ($83); otherwise it clears $83 and $85. A death meanwhile ($43) goes to agent_death.","t":"code","b":[164,63],"m":"ldy","oa":63,"o":"agent_frame_no","x":[29323]},{"a":44170,"t":"code","b":[192,14],"m":"cpy","o":"#$0E"},{"a":44172,"t":"code","b":[208,35],"m":"bne","oa":44209,"o":"r_ACB1"},{"a":44174,"t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom"},{"a":44177,"t":"code","b":[56],"m":"sec"},{"a":44178,"t":"code","b":[233,50],"m":"sbc","o":"#$32"},{"a":44180,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44181,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44182,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44183,"t":"code","b":[133,82],"m":"sta","oa":82,"o":"feet_row"},{"a":44185,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":44188,"t":"code","b":[106],"m":"ror","o":"a"},{"a":44189,"t":"code","b":[56],"m":"sec"},{"a":44190,"t":"code","b":[233,11],"m":"sbc","o":"#$0B"},{"a":44192,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44193,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44194,"t":"code","b":[133,83],"m":"sta","oa":83,"o":"feet_column"},{"a":44196,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":44198,"l":"j_ACA6","t":"code","b":[200],"m":"iny","x":[44243]},{"a":44199,"t":"code","b":[200],"m":"iny"},{"a":44200,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44202,"t":"code","b":[170],"m":"tax"},{"a":44203,"t":"code","b":[136],"m":"dey"},{"a":44204,"t":"code","b":[136],"m":"dey"},{"a":44205,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44207,"t":"code","b":[16,1],"m":"bpl","oa":44210,"o":"b_ACB2"},{"a":44209,"l":"r_ACB1","t":"code","b":[96],"m":"rts","x":[44172]},{"a":44210,"l":"b_ACB2","t":"code","b":[197,82],"m":"cmp","oa":82,"o":"feet_row","x":[44207,44218]},{"a":44212,"t":"code","b":[240,8],"m":"beq","oa":44222,"o":"b_ACBE"},{"a":44214,"t":"code","b":[56],"m":"sec"},{"a":44215,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":44217,"t":"code","b":[202],"m":"dex"},{"a":44218,"t":"code","b":[16,246],"m":"bpl","oa":44210,"o":"b_ACB2"},{"a":44220,"t":"code","b":[48,15],"m":"bmi","oa":44237,"o":"b_ACCD"},{"a":44222,"l":"b_ACBE","t":"code","b":[200],"m":"iny","x":[44212]},{"a":44223,"t":"code","b":[165,83],"m":"lda","oa":83,"o":"feet_column"},{"a":44225,"t":"code","b":[209,129],"m":"cmp","oa":129,"o":"(platform_list),y"},{"a":44227,"t":"code","b":[144,8],"m":"bcc","oa":44237,"o":"b_ACCD"},{"a":44229,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44231,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":44233,"t":"code","b":[197,83],"m":"cmp","oa":83,"o":"feet_column"},{"a":44235,"t":"code","b":[176,9],"m":"bcs","oa":44246,"o":"b_ACD6"},{"a":44237,"l":"b_ACCD","t":"code","b":[200],"m":"iny","x":[44220,44227,44240]},{"a":44238,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44240,"t":"code","b":[16,251],"m":"bpl","oa":44237,"o":"b_ACCD"},{"a":44242,"t":"code","b":[200],"m":"iny"},{"a":44243,"t":"code","b":[76,166,172],"m":"jmp","oa":44198,"o":"j_ACA6"},{"a":44246,"l":"b_ACD6","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[44235]},{"a":44249,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44250,"t":"code","b":[144,22],"m":"bcc","oa":44274,"o":"b_ACF2"},{"a":44252,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44253,"t":"code","b":[176,3],"m":"bcs","oa":44258,"o":"b_ACE2"},{"a":44255,"t":"code","b":[76,129,173],"m":"jmp","oa":44417,"o":"platform_down"},{"a":44258,"l":"b_ACE2","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[44253,44302]},{"a":44260,"t":"code","b":[133,131],"m":"sta","oa":131,"o":"press_held"},{"a":44262,"l":"b_ACE6","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[44276]},{"a":44264,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"platform_moving"},{"a":44266,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":44268,"t":"code","b":[240,3],"m":"beq","oa":44273,"o":"r_ACF1"},{"a":44270,"t":"code","b":[76,228,149],"m":"jmp","oa":38372,"o":"agent_death"},{"a":44273,"l":"r_ACF1","t":"code","b":[96],"m":"rts","x":[44268]},{"a":44274,"l":"b_ACF2","t":"code","b":[165,131],"m":"lda","oa":131,"o":"press_held","x":[44250]},{"a":44276,"t":"code","b":[208,240],"m":"bne","oa":44262,"o":"b_ACE6"},{"a":44278,"l":"platform_up","c":"Raises the platform under the agent one cell at a time, the agent's sprites moving up with it 4 lines a step ($AECC): redraws the cap and the column below as it rises and updates the list's height and count. If the agent is killed while it moves, $43 = 3 (the death redraws the platform).","t":"code","b":[230,131],"m":"inc","oa":131,"o":"press_held"},{"a":44280,"t":"code","b":[136],"m":"dey"},{"a":44281,"t":"code","b":[32,34,172],"m":"jsr","oa":44066,"o":"cell_address"},{"a":44284,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi"},{"a":44286,"t":"code","b":[24],"m":"clc"},{"a":44287,"t":"code","b":[105,127],"m":"adc","o":"#$7F"},{"a":44289,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":44291,"t":"code","b":[200],"m":"iny"},{"a":44292,"t":"code","b":[200],"m":"iny"},{"a":44293,"t":"code","b":[152],"m":"tya"},{"a":44294,"t":"code","b":[56],"m":"sec"},{"a":44295,"t":"code","b":[113,129],"m":"adc","oa":129,"o":"(platform_list),y"},{"a":44297,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":44299,"t":"code","b":[168],"m":"tay"},{"a":44300,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44302,"t":"code","b":[48,210],"m":"bmi","oa":44258,"o":"b_ACE2"},{"a":44304,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":44306,"t":"code","b":[170],"m":"tax"},{"a":44307,"t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1"},{"a":44309,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44311,"t":"code","b":[24],"m":"clc"},{"a":44312,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":44314,"t":"code","b":[145,129],"m":"sta","oa":129,"o":"(platform_list),y"},{"a":44316,"t":"code","b":[136],"m":"dey"},{"a":44317,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44319,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":44321,"t":"code","b":[136],"m":"dey"},{"a":44322,"t":"code","b":[136],"m":"dey"},{"a":44323,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44325,"t":"code","b":[56],"m":"sec"},{"a":44326,"t":"code","b":[229,229],"m":"sbc","oa":229,"o":"tmp2"},{"a":44328,"t":"code","b":[145,129],"m":"sta","oa":129,"o":"(platform_list),y"},{"a":44330,"l":"b_AD2A","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[44414]},{"a":44333,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":44335,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":44337,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":44339,"t":"code","b":[240,7],"m":"beq","oa":44348,"o":"b_AD3C"},{"a":44341,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":44343,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"death"},{"a":44345,"t":"code","b":[76,228,149],"m":"jmp","oa":38372,"o":"agent_death"},{"a":44348,"l":"b_AD3C","t":"code","b":[32,104,172],"m":"jsr","oa":44136,"o":"draw_platform_cap","x":[44339,44356]},{"a":44351,"t":"code","b":[32,14,175],"m":"jsr","oa":44814,"o":"addr_up5"},{"a":44354,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":44356,"t":"code","b":[16,246],"m":"bpl","oa":44348,"o":"b_AD3C"},{"a":44358,"l":"b_AD46","t":"code","b":[32,38,175],"m":"jsr","oa":44838,"o":"addr_down6","x":[44367]},{"a":44361,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":44363,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":44365,"t":"code","b":[197,230],"m":"cmp","oa":230,"o":"tmp3"},{"a":44367,"t":"code","b":[208,245],"m":"bne","oa":44358,"o":"b_AD46"},{"a":44369,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":44372,"t":"code","b":[32,204,174],"m":"jsr","oa":44748,"o":"agent_raise4"},{"a":44375,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":44378,"l":"b_AD5A","t":"code","b":[32,85,172],"m":"jsr","oa":44117,"o":"draw_platform_top","x":[44397]},{"a":44381,"t":"code","b":[160,42],"m":"ldy","o":"#$2A"},{"a":44383,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":44385,"l":"b_AD61","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[44390]},{"a":44387,"t":"code","b":[136],"m":"dey"},{"a":44388,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":44390,"t":"code","b":[176,249],"m":"bcs","oa":44385,"o":"b_AD61"},{"a":44392,"t":"code","b":[32,242,174],"m":"jsr","oa":44786,"o":"addr_up6"},{"a":44395,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":44397,"t":"code","b":[16,235],"m":"bpl","oa":44378,"o":"b_AD5A"},{"a":44399,"l":"b_AD6F","t":"code","b":[32,38,175],"m":"jsr","oa":44838,"o":"addr_down6","x":[44408]},{"a":44402,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":44404,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":44406,"t":"code","b":[197,230],"m":"cmp","oa":230,"o":"tmp3"},{"a":44408,"t":"code","b":[208,245],"m":"bne","oa":44399,"o":"b_AD6F"},{"a":44410,"t":"code","b":[32,204,174],"m":"jsr","oa":44748,"o":"agent_raise4"},{"a":44413,"t":"code","b":[202],"m":"dex"},{"a":44414,"t":"code","b":[208,170],"m":"bne","oa":44330,"o":"b_AD2A"},{"a":44416,"l":"r_AD80","t":"code","b":[96],"m":"rts","x":[44441]},{"a":44417,"l":"platform_down","c":"Lowers the platform under the agent, the mirror of platform_up, moving the agent down 4 lines a step ($AEDF), unless its count is already 0; $85 is set while it moves (no ball collision then).","t":"code","b":[165,131],"m":"lda","oa":131,"o":"press_held","x":[44255]},{"a":44419,"t":"code","b":[240,1],"m":"beq","oa":44422,"o":"b_AD86"},{"a":44421,"t":"code","b":[96],"m":"rts"},{"a":44422,"l":"b_AD86","t":"code","b":[230,131],"m":"inc","oa":131,"o":"press_held","x":[44419]},{"a":44424,"t":"code","b":[136],"m":"dey"},{"a":44425,"t":"code","b":[32,34,172],"m":"jsr","oa":44066,"o":"cell_address"},{"a":44428,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"ptr_a_hi"},{"a":44430,"t":"code","b":[24],"m":"clc"},{"a":44431,"t":"code","b":[105,127],"m":"adc","o":"#$7F"},{"a":44433,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":44435,"t":"code","b":[132,229],"m":"sty","oa":229,"o":"tmp2"},{"a":44437,"t":"code","b":[200],"m":"iny"},{"a":44438,"t":"code","b":[200],"m":"iny"},{"a":44439,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44441,"t":"code","b":[240,229],"m":"beq","oa":44416,"o":"r_AD80"},{"a":44443,"t":"code","b":[56],"m":"sec"},{"a":44444,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":44446,"t":"code","b":[145,129],"m":"sta","oa":129,"o":"(platform_list),y"},{"a":44448,"t":"code","b":[152],"m":"tya"},{"a":44449,"t":"code","b":[56],"m":"sec"},{"a":44450,"t":"code","b":[113,129],"m":"adc","oa":129,"o":"(platform_list),y"},{"a":44452,"t":"code","b":[168],"m":"tay"},{"a":44453,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44455,"t":"code","b":[170],"m":"tax"},{"a":44456,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":44458,"t":"code","b":[164,229],"m":"ldy","oa":229,"o":"tmp2"},{"a":44460,"t":"code","b":[136],"m":"dey"},{"a":44461,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44463,"t":"code","b":[24],"m":"clc"},{"a":44464,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":44466,"t":"code","b":[145,129],"m":"sta","oa":129,"o":"(platform_list),y"},{"a":44468,"t":"code","b":[200],"m":"iny"},{"a":44469,"t":"code","b":[200],"m":"iny"},{"a":44470,"t":"code","b":[177,129],"m":"lda","oa":129,"o":"(platform_list),y"},{"a":44472,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":44474,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":44476,"t":"code","b":[133,133],"m":"sta","oa":133,"o":"platform_moving"},{"a":44478,"l":"b_ADBE","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[44569]},{"a":44481,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":44483,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":44485,"t":"code","b":[165,67],"m":"lda","oa":67,"o":"death"},{"a":44487,"t":"code","b":[240,7],"m":"beq","oa":44496,"o":"b_ADD0"},{"a":44489,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":44491,"t":"code","b":[133,67],"m":"sta","oa":67,"o":"death"},{"a":44493,"t":"code","b":[76,228,149],"m":"jmp","oa":38372,"o":"agent_death"},{"a":44496,"l":"b_ADD0","t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1","x":[44487]},{"a":44499,"l":"b_ADD3","t":"code","b":[32,104,172],"m":"jsr","oa":44136,"o":"draw_platform_cap","x":[44507]},{"a":44502,"t":"code","b":[32,14,175],"m":"jsr","oa":44814,"o":"addr_up5"},{"a":44505,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":44507,"t":"code","b":[16,246],"m":"bpl","oa":44499,"o":"b_ADD3"},{"a":44509,"l":"b_ADDD","t":"code","b":[32,38,175],"m":"jsr","oa":44838,"o":"addr_down6","x":[44518]},{"a":44512,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":44514,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":44516,"t":"code","b":[197,230],"m":"cmp","oa":230,"o":"tmp3"},{"a":44518,"t":"code","b":[208,245],"m":"bne","oa":44509,"o":"b_ADDD"},{"a":44520,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":44523,"t":"code","b":[32,223,174],"m":"jsr","oa":44767,"o":"agent_lower4"},{"a":44526,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":44529,"l":"b_ADF1","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[44549]},{"a":44531,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":44533,"l":"b_ADF5","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[44536]},{"a":44535,"t":"code","b":[136],"m":"dey"},{"a":44536,"t":"code","b":[16,251],"m":"bpl","oa":44533,"o":"b_ADF5"},{"a":44538,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":44541,"t":"code","b":[32,85,172],"m":"jsr","oa":44117,"o":"draw_platform_top"},{"a":44544,"t":"code","b":[32,2,175],"m":"jsr","oa":44802,"o":"addr_up_page"},{"a":44547,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":44549,"t":"code","b":[16,234],"m":"bpl","oa":44529,"o":"b_ADF1"},{"a":44551,"l":"b_AE07","t":"code","b":[32,38,175],"m":"jsr","oa":44838,"o":"addr_down6","x":[44560]},{"a":44554,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":44556,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":44558,"t":"code","b":[197,230],"m":"cmp","oa":230,"o":"tmp3"},{"a":44560,"t":"code","b":[208,245],"m":"bne","oa":44551,"o":"b_AE07"},{"a":44562,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":44565,"t":"code","b":[32,223,174],"m":"jsr","oa":44767,"o":"agent_lower4"},{"a":44568,"t":"code","b":[202],"m":"dex"},{"a":44569,"t":"code","b":[208,163],"m":"bne","oa":44478,"o":"b_ADBE"},{"a":44571,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":44573,"t":"code","b":[32,109,127],"m":"jsr","oa":32621,"o":"wait_ticks"},{"a":44576,"t":"code","b":[134,133],"m":"stx","oa":133,"o":"platform_moving"},{"a":44578,"t":"code","b":[96],"m":"rts"},{"a":44579,"l":"clear_platform_column","c":"Blanks a platform's column, three cells wide, $E5 + 1 rows upwards from $10.","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[38515,44593]},{"a":44581,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":44583,"l":"b_AE27","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[44586]},{"a":44585,"t":"code","b":[136],"m":"dey"},{"a":44586,"t":"code","b":[16,251],"m":"bpl","oa":44583,"o":"b_AE27"},{"a":44588,"t":"code","b":[32,242,174],"m":"jsr","oa":44786,"o":"addr_up6"},{"a":44591,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":44593,"t":"code","b":[16,240],"m":"bpl","oa":44579,"o":"clear_platform_column"},{"a":44595,"t":"code","b":[96],"m":"rts"},{"a":44596,"l":"check_ground","c":"In a room, with the agent not already falling: on the walking and standing frames (0, 7, 6, $0D, $0E, $10), tests the cells under the front and back of his feet ($AEB7, offsets by frame and facing); with nothing solid under either, and not at the screen's edge, starts a fall ($41 + 1). Solid ground clears $41 and $42.","t":"code","b":[165,26],"m":"lda","oa":26,"o":"in_room","x":[29326]},{"a":44598,"t":"code","b":[240,4],"m":"beq","oa":44604,"o":"r_AE3C"},{"a":44600,"t":"code","b":[165,65],"m":"lda","oa":65,"o":"falling"},{"a":44602,"t":"code","b":[240,1],"m":"beq","oa":44605,"o":"check_ground_now"},{"a":44604,"l":"r_AE3C","t":"code","b":[96],"m":"rts","x":[44598]},{"a":44605,"l":"check_ground_now","c":"Entry of check_ground that skips the room and falling tests: used by agent_update after moving.","t":"code","b":[32,87,140],"m":"jsr","oa":35927,"o":"agent_bottom","x":[34460,44602]},{"a":44608,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":44610,"t":"code","b":[198,232],"m":"dec","oa":232,"o":"tmp5"},{"a":44612,"t":"code","b":[32,96,140],"m":"jsr","oa":35936,"o":"agent_left"},{"a":44615,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":44617,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44619,"t":"code","b":[42],"m":"rol","o":"a"},{"a":44620,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":44622,"t":"code","b":[165,63],"m":"lda","oa":63,"o":"agent_frame_no"},{"a":44624,"t":"code","b":[240,21],"m":"beq","oa":44647,"o":"b_AE67"},{"a":44626,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":44628,"t":"code","b":[240,17],"m":"beq","oa":44647,"o":"b_AE67"},{"a":44630,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":44632,"t":"code","b":[240,19],"m":"beq","oa":44653,"o":"b_AE6D"},{"a":44634,"t":"code","b":[201,13],"m":"cmp","o":"#$0D"},{"a":44636,"t":"code","b":[240,15],"m":"beq","oa":44653,"o":"b_AE6D"},{"a":44638,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":44640,"t":"code","b":[240,17],"m":"beq","oa":44659,"o":"b_AE73"},{"a":44642,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":44644,"t":"code","b":[240,28],"m":"beq","oa":44674,"o":"b_AE82"},{"a":44646,"t":"code","b":[96],"m":"rts"},{"a":44647,"l":"b_AE67","t":"code","b":[162,5],"m":"ldx","o":"#$05","x":[44624,44628]},{"a":44649,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":44651,"t":"code","b":[16,34],"m":"bpl","oa":44687,"o":"b_AE8F"},{"a":44653,"l":"b_AE6D","t":"code","b":[162,9],"m":"ldx","o":"#$09","x":[44632,44636]},{"a":44655,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":44657,"t":"code","b":[16,28],"m":"bpl","oa":44687,"o":"b_AE8F"},{"a":44659,"l":"b_AE73","t":"code","b":[162,5],"m":"ldx","o":"#$05","x":[44640]},{"a":44661,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":44663,"t":"code","b":[32,183,174],"m":"jsr","oa":44727,"o":"ground_at"},{"a":44666,"t":"code","b":[176,52],"m":"bcs","oa":44720,"o":"b_AEB0"},{"a":44668,"t":"code","b":[162,9],"m":"ldx","o":"#$09"},{"a":44670,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":44672,"t":"code","b":[16,13],"m":"bpl","oa":44687,"o":"b_AE8F"},{"a":44674,"l":"b_AE82","t":"code","b":[162,7],"m":"ldx","o":"#$07","x":[44644]},{"a":44676,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":44678,"t":"code","b":[32,183,174],"m":"jsr","oa":44727,"o":"ground_at"},{"a":44681,"t":"code","b":[176,37],"m":"bcs","oa":44720,"o":"b_AEB0"},{"a":44683,"t":"code","b":[162,13],"m":"ldx","o":"#$0D"},{"a":44685,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":44687,"l":"b_AE8F","t":"code","b":[32,183,174],"m":"jsr","oa":44727,"o":"ground_at","x":[44651,44657,44672]},{"a":44690,"t":"code","b":[176,28],"m":"bcs","oa":44720,"o":"b_AEB0"},{"a":44692,"t":"code","b":[36,80],"m":"bit","oa":80,"o":"facing"},{"a":44694,"t":"code","b":[48,11],"m":"bmi","oa":44707,"o":"b_AEA3"},{"a":44696,"t":"code","b":[32,151,140],"m":"jsr","oa":35991,"o":"agent_right"},{"a":44699,"t":"code","b":[144,16],"m":"bcc","oa":44717,"o":"b_AEAD"},{"a":44701,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":44703,"t":"code","b":[176,15],"m":"bcs","oa":44720,"o":"b_AEB0"},{"a":44705,"t":"code","b":[144,10],"m":"bcc","oa":44717,"o":"b_AEAD"},{"a":44707,"l":"b_AEA3","t":"code","b":[165,231],"m":"lda","oa":231,"o":"tmp4","x":[44694]},{"a":44709,"t":"code","b":[208,6],"m":"bne","oa":44717,"o":"b_AEAD"},{"a":44711,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":44713,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":44715,"t":"code","b":[144,3],"m":"bcc","oa":44720,"o":"b_AEB0"},{"a":44717,"l":"b_AEAD","t":"code","b":[230,65],"m":"inc","oa":65,"o":"falling","x":[44699,44705,44709]},{"a":44719,"t":"code","b":[96],"m":"rts"},{"a":44720,"l":"b_AEB0","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[44666,44681,44690,44703,44715]},{"a":44722,"t":"code","b":[133,65],"m":"sta","oa":65,"o":"falling"},{"a":44724,"t":"code","b":[133,66],"m":"sta","oa":66,"o":"landed"},{"a":44726,"t":"code","b":[96],"m":"rts"},{"a":44727,"l":"ground_at","c":"Tests the cell under one foot: X or Y (by the facing $50) added to the agent's left edge $E6/$E7, at the line $E8 below his feet ($8CC5). Carry set if solid.","t":"code","b":[138],"m":"txa","x":[44663,44678,44687]},{"a":44728,"t":"code","b":[36,80],"m":"bit","oa":80,"o":"facing"},{"a":44730,"t":"code","b":[48,1],"m":"bmi","oa":44733,"o":"b_AEBD"},{"a":44732,"t":"code","b":[152],"m":"tya"},{"a":44733,"l":"b_AEBD","t":"code","b":[24],"m":"clc","x":[44730]},{"a":44734,"t":"code","b":[101,230],"m":"adc","oa":230,"o":"tmp3"},{"a":44736,"t":"code","b":[170],"m":"tax"},{"a":44737,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44739,"t":"code","b":[101,231],"m":"adc","oa":231,"o":"tmp4"},{"a":44741,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44742,"t":"code","b":[164,232],"m":"ldy","oa":232,"o":"tmp5"},{"a":44744,"t":"code","b":[32,197,140],"m":"jsr","oa":36037,"o":"solid_at"},{"a":44747,"t":"code","b":[96],"m":"rts"},{"a":44748,"l":"agent_raise4","c":"Moves the agent's three sprites up 4 lines (registers and $2D-$31).","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[44372,44410]},{"a":44750,"l":"b_AECE","t":"code","b":[185,3,208],"m":"lda","o":"vic_sprite1_y,y","x":[44764]},{"a":44753,"t":"code","b":[56],"m":"sec"},{"a":44754,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":44756,"t":"code","b":[153,3,208],"m":"sta","o":"vic_sprite1_y,y"},{"a":44759,"t":"code","b":[153,45,0],"m":"sta","oa":45,"o":"agent_y,y"},{"a":44762,"t":"code","b":[136],"m":"dey"},{"a":44763,"t":"code","b":[136],"m":"dey"},{"a":44764,"t":"code","b":[16,240],"m":"bpl","oa":44750,"o":"b_AECE"},{"a":44766,"t":"code","b":[96],"m":"rts"},{"a":44767,"l":"agent_lower4","c":"Moves the agent's three sprites down 4 lines.","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[44523,44565]},{"a":44769,"l":"b_AEE1","t":"code","b":[185,3,208],"m":"lda","o":"vic_sprite1_y,y","x":[44783]},{"a":44772,"t":"code","b":[24],"m":"clc"},{"a":44773,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":44775,"t":"code","b":[153,3,208],"m":"sta","o":"vic_sprite1_y,y"},{"a":44778,"t":"code","b":[153,45,0],"m":"sta","oa":45,"o":"agent_y,y"},{"a":44781,"t":"code","b":[136],"m":"dey"},{"a":44782,"t":"code","b":[136],"m":"dey"},{"a":44783,"t":"code","b":[16,240],"m":"bpl","oa":44769,"o":"b_AEE1"},{"a":44785,"t":"code","b":[96],"m":"rts"},{"a":44786,"l":"addr_up6","c":"Moves the cell pointers $10/$11 and $14/$15 up six rows (subtracts $F0).","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[29534,41253,41362,42212,44392,44588]},{"a":44788,"t":"code","b":[56],"m":"sec"},{"a":44789,"t":"code","b":[233,240],"m":"sbc","o":"#$F0"},{"a":44791,"l":"j_AEF7","t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a","x":[44811,44819,44827,44835]},{"a":44793,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":44795,"t":"code","b":[176,4],"m":"bcs","oa":44801,"o":"r_AF01"},{"a":44797,"t":"code","b":[198,17],"m":"dec","oa":17,"o":"ptr_a_hi"},{"a":44799,"t":"code","b":[198,21],"m":"dec","oa":21,"o":"ptr_colour_hi"},{"a":44801,"l":"r_AF01","t":"code","b":[96],"m":"rts","x":[44795]},{"a":44802,"l":"addr_up_page","c":"Moves the cell pointers back by $118 (a page and $18).","t":"code","b":[198,17],"m":"dec","oa":17,"o":"ptr_a_hi","x":[44544]},{"a":44804,"t":"code","b":[198,21],"m":"dec","oa":21,"o":"ptr_colour_hi"},{"a":44806,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":44808,"t":"code","b":[56],"m":"sec"},{"a":44809,"t":"code","b":[233,24],"m":"sbc","o":"#$18"},{"a":44811,"t":"code","b":[76,247,174],"m":"jmp","oa":44791,"o":"j_AEF7"},{"a":44814,"l":"addr_up5","c":"Moves the cell pointers up five rows (subtracts $C8).","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[44351,44502]},{"a":44816,"t":"code","b":[56],"m":"sec"},{"a":44817,"t":"code","b":[233,200],"m":"sbc","o":"#$C8"},{"a":44819,"t":"code","b":[76,247,174],"m":"jmp","oa":44791,"o":"j_AEF7"},{"a":44822,"l":"addr_up4","c":"Moves the cell pointers up four rows (subtracts $A0).","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[29537,39216,39876,39972,48336]},{"a":44824,"t":"code","b":[56],"m":"sec"},{"a":44825,"t":"code","b":[233,160],"m":"sbc","o":"#$A0"},{"a":44827,"t":"code","b":[76,247,174],"m":"jmp","oa":44791,"o":"j_AEF7"},{"a":44830,"l":"addr_up1","c":"Moves the cell pointers up one row (subtracts $28).","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[29378,31730,32285,40896,41439,41442,41476,44150,44369,44520,47212,48339]},{"a":44832,"t":"code","b":[56],"m":"sec"},{"a":44833,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":44835,"t":"code","b":[76,247,174],"m":"jmp","oa":44791,"o":"j_AEF7"},{"a":44838,"l":"addr_down6","c":"Moves the cell pointers down six rows (adds $F0).","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[44358,44399,44509,44551,47864]},{"a":44840,"t":"code","b":[24],"m":"clc"},{"a":44841,"t":"code","b":[105,240],"m":"adc","o":"#$F0"},{"a":44843,"l":"j_AF2B","t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a","x":[44859,44867]},{"a":44845,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":44847,"t":"code","b":[144,4],"m":"bcc","oa":44853,"o":"r_AF35"},{"a":44849,"t":"code","b":[230,17],"m":"inc","oa":17,"o":"ptr_a_hi"},{"a":44851,"t":"code","b":[230,21],"m":"inc","oa":21,"o":"ptr_colour_hi"},{"a":44853,"l":"r_AF35","t":"code","b":[96],"m":"rts","x":[44847]},{"a":44854,"l":"addr_down1","c":"Moves the cell pointers down one row (adds $28).","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[29228,29617,29714,31766,39210,39869,39965,39999,40519,40782,40929,41413,41497,42069,42331,42528,42553,43246,43249,43252,43287,43569,44496,44538,44562,46783,46845,47064,47070,47087,47099,47105,47111,47123,47133,47657,47674,47722,47827,47854,48323]},{"a":44856,"t":"code","b":[24],"m":"clc"},{"a":44857,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":44859,"t":"code","b":[76,43,175],"m":"jmp","oa":44843,"o":"j_AF2B"},{"a":44862,"l":"addr_down2","c":"Moves the cell pointers down two rows (adds $50).","t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a","x":[29528,29567,47076,47093,47117,47671,47824,47851]},{"a":44864,"t":"code","b":[24],"m":"clc"},{"a":44865,"t":"code","b":[105,80],"m":"adc","o":"#$50"},{"a":44867,"t":"code","b":[76,43,175],"m":"jmp","oa":44843,"o":"j_AF2B"},{"a":44870,"l":"enter_shaft","c":"Sets up the shaft view when the agent comes out of a room: the agent's sprites in the lift, the room's sprites to show ($8E = $CF), the background colour $8D = $0C, the shaft's two colours ($21/$22) chosen by the map column ($27) from tbl_shaft_colours, screen off, character set $4800, both corridor doors closed ($1F = $20 = $FF), the map marker two lines up; draws the shaft and pocket computer ($72A2), a corridor ($7850), clears the message window, draws the map ($B699), moves the screen to the buffer and blanks it for the wipe, sets the lift car's sprites ($B750, $AFEF), and turns the screen on.","t":"code","b":[169,202],"m":"lda","o":"#$CA","x":[35899]},{"a":44872,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":44875,"t":"code","b":[169,106],"m":"lda","o":"#$6A"},{"a":44877,"t":"code","b":[141,3,208],"m":"sta","o":"vic_sprite1_y"},{"a":44880,"t":"code","b":[133,45],"m":"sta","oa":45,"o":"agent_y"},{"a":44882,"t":"code","b":[169,94],"m":"lda","o":"#$5E"},{"a":44884,"t":"code","b":[141,5,208],"m":"sta","o":"vic_sprite2_y"},{"a":44887,"t":"code","b":[133,47],"m":"sta","oa":47,"o":"agent_y2"},{"a":44889,"t":"code","b":[169,115],"m":"lda","o":"#$73"},{"a":44891,"t":"code","b":[141,7,208],"m":"sta","o":"vic_sprite3_y"},{"a":44894,"t":"code","b":[133,49],"m":"sta","oa":49,"o":"agent_y3"},{"a":44896,"t":"code","b":[169,207],"m":"lda","o":"#$CF"},{"a":44898,"t":"code","b":[133,142],"m":"sta","oa":142,"o":"room_sprites"},{"a":44900,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":44902,"t":"code","b":[133,141],"m":"sta","oa":141,"o":"room_colour"},{"a":44904,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x"},{"a":44906,"t":"code","b":[56],"m":"sec"},{"a":44907,"t":"code","b":[233,107],"m":"sbc","o":"#$6B"},{"a":44909,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44910,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44911,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44912,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":44913,"t":"code","b":[170],"m":"tax"},{"a":44914,"t":"code","b":[189,53,176],"m":"lda","oa":45109,"o":"tbl_shaft_colours,x"},{"a":44917,"t":"code","b":[133,33],"m":"sta","oa":33,"o":"colour_a"},{"a":44919,"t":"code","b":[189,61,176],"m":"lda","oa":45117,"o":"tbl_shaft_colours2,x"},{"a":44922,"t":"code","b":[133,34],"m":"sta","oa":34,"o":"colour_b"},{"a":44924,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":44927,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":44930,"t":"code","b":[41,239],"m":"and","o":"#$EF"},{"a":44932,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":44935,"t":"code","b":[173,24,208],"m":"lda","o":"vic_memory"},{"a":44938,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":44940,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":44942,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":44945,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":44947,"t":"code","b":[133,32],"m":"sta","oa":32,"o":"door_left"},{"a":44949,"t":"code","b":[133,31],"m":"sta","oa":31,"o":"door_right"},{"a":44951,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":44953,"t":"code","b":[56],"m":"sec"},{"a":44954,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":44956,"t":"code","b":[133,40],"m":"sta","oa":40,"o":"marker_y"},{"a":44958,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":44960,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"shaft_step_count"},{"a":44962,"t":"code","b":[32,162,114],"m":"jsr","oa":29346,"o":"draw_shaft_view"},{"a":44965,"t":"code","b":[32,80,120],"m":"jsr","oa":30800,"o":"draw_corridor_bottom"},{"a":44968,"t":"code","b":[32,24,114],"m":"jsr","oa":29208,"o":"clear_message"},{"a":44971,"t":"code","b":[32,153,182],"m":"jsr","oa":46745,"o":"draw_map_frame"},{"a":44974,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":44976,"t":"code","b":[162,83],"m":"ldx","o":"#$53"},{"a":44978,"l":"b_AFB2","t":"code","b":[185,0,64],"m":"lda","oa":16384,"o":"f_4000,y","x":[45019]},{"a":44981,"t":"code","b":[153,0,193],"m":"sta","oa":49408,"o":"f_C100,y"},{"a":44984,"t":"code","b":[138],"m":"txa"},{"a":44985,"t":"code","b":[153,0,64],"m":"sta","oa":16384,"o":"f_4000,y"},{"a":44988,"t":"code","b":[185,0,65],"m":"lda","oa":16640,"o":"f_4100,y"},{"a":44991,"t":"code","b":[153,0,194],"m":"sta","oa":49664,"o":"f_C200,y"},{"a":44994,"t":"code","b":[138],"m":"txa"},{"a":44995,"t":"code","b":[153,0,65],"m":"sta","oa":16640,"o":"f_4100,y"},{"a":44998,"t":"code","b":[185,0,66],"m":"lda","oa":16896,"o":"f_4200,y"},{"a":45001,"t":"code","b":[153,0,195],"m":"sta","oa":49920,"o":"f_C300,y"},{"a":45004,"t":"code","b":[138],"m":"txa"},{"a":45005,"t":"code","b":[153,0,66],"m":"sta","oa":16896,"o":"f_4200,y"},{"a":45008,"t":"code","b":[185,0,67],"m":"lda","oa":17152,"o":"f_4300,y"},{"a":45011,"t":"code","b":[153,0,196],"m":"sta","oa":50176,"o":"f_C400,y"},{"a":45014,"t":"code","b":[138],"m":"txa"},{"a":45015,"t":"code","b":[153,0,67],"m":"sta","oa":17152,"o":"f_4300,y"},{"a":45018,"t":"code","b":[200],"m":"iny"},{"a":45019,"t":"code","b":[208,213],"m":"bne","oa":44978,"o":"b_AFB2"},{"a":45021,"t":"code","b":[32,80,183],"m":"jsr","oa":46928,"o":"lift_sprite_pointer"},{"a":45024,"t":"code","b":[32,239,175],"m":"jsr","oa":45039,"o":"lift_car_sprites"},{"a":45027,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":45030,"t":"code","b":[173,17,208],"m":"lda","o":"vic_control1"},{"a":45033,"t":"code","b":[9,16],"m":"ora","o":"#$10"},{"a":45035,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":45038,"t":"code","b":[96],"m":"rts"},{"a":45039,"l":"lift_car_sprites","c":"The lift car: sprite 7 (pointer $11, white) and sprite 0 (pointer $12, Y-expanded multicolour) in the shaft's colours ($21/$22).","t":"code","b":[169,172],"m":"lda","o":"#$AC","x":[14685,45024]},{"a":45041,"t":"code","b":[141,14,208],"m":"sta","o":"vic_sprite7_x"},{"a":45044,"t":"code","b":[169,77],"m":"lda","o":"#$4D"},{"a":45046,"t":"code","b":[141,15,208],"m":"sta","o":"vic_sprite7_y"},{"a":45049,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":45051,"t":"code","b":[141,255,67],"m":"sta","oa":17407,"o":"a_43FF"},{"a":45054,"t":"code","b":[8],"m":"php"},{"a":45055,"t":"code","b":[120],"m":"sei"},{"a":45056,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":45059,"t":"code","b":[41,126],"m":"and","o":"#$7E"},{"a":45061,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":45064,"t":"code","b":[40],"m":"plp"},{"a":45065,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":45067,"t":"code","b":[141,46,208],"m":"sta","o":"vic_sprite7_colour"},{"a":45070,"t":"code","b":[165,33],"m":"lda","oa":33,"o":"colour_a"},{"a":45072,"t":"code","b":[141,39,208],"m":"sta","o":"vic_sprite0_colour"},{"a":45075,"t":"code","b":[165,34],"m":"lda","oa":34,"o":"colour_b"},{"a":45077,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":45080,"t":"code","b":[169,160],"m":"lda","o":"#$A0"},{"a":45082,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":45085,"t":"code","b":[169,94],"m":"lda","o":"#$5E"},{"a":45087,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":45090,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":45092,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":45095,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":45097,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":45100,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":45103,"t":"code","b":[169,18],"m":"lda","o":"#$12"},{"a":45105,"t":"code","b":[141,248,67],"m":"sta","oa":17400,"o":"a_43F8"},{"a":45108,"t":"code","b":[96],"m":"rts"},{"a":45109,"l":"tbl_shaft_colours","c":"The first colour of the lift shaft for each of the eight shafts (by map column): $02, $04, $0C, $0D, $05, $06, $08, $0E.","t":"byte","b":[2,4,12,13,5,6,8,14],"x":[44914]},{"a":45117,"l":"tbl_shaft_colours2","c":"The second colour of the lift shaft for each shaft: $0A, $07, $0F, $01, $0D, $03, $09, $07.","t":"byte","b":[10,7,15,1,13,3,9,7],"x":[44919]},{"a":45125,"l":"reset_room_platforms","c":"For a new game, puts back every room's lifting platforms: a list of (address, ...) pairs at $1FDA, each the start of a room's platform list in its record, receives the original bytes from the copy at $1F64 onwards (a running index, the source page self-modified at $B079), each list up to its $FF, stepping the list pointer by two between rooms ($BEB8).","t":"code","b":[169,29],"m":"lda","o":"#$1D","x":[29241]},{"a":45127,"t":"code","b":[141,121,176],"m":"sta","oa":45177,"o":"a_B079"},{"a":45130,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":45132,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":45134,"t":"code","b":[169,31],"m":"lda","o":"#$1F"},{"a":45136,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":45138,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":45140,"l":"j_B054","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[45170]},{"a":45142,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":45144,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":45146,"t":"code","b":[200],"m":"iny"},{"a":45147,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":45149,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":45151,"t":"code","b":[208,1],"m":"bne","oa":45154,"o":"b_B062"},{"a":45153,"t":"code","b":[96],"m":"rts"},{"a":45154,"l":"b_B062","t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2","x":[45151]},{"a":45156,"t":"code","b":[136],"m":"dey"},{"a":45157,"t":"code","b":[152],"m":"tya"},{"a":45158,"l":"b_B066","t":"code","b":[32,117,176],"m":"jsr","oa":45173,"o":"copy_to_ff","x":[45163]},{"a":45161,"t":"code","b":[197,230],"m":"cmp","oa":230,"o":"tmp3"},{"a":45163,"t":"code","b":[208,249],"m":"bne","oa":45158,"o":"b_B066"},{"a":45165,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":45167,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":45170,"t":"code","b":[76,84,176],"m":"jmp","oa":45140,"o":"j_B054"},{"a":45173,"l":"copy_to_ff","c":"Copies bytes from the platform originals ($1F64 + X, page in the operand at $B079) to ($E4),y up to and including an $FF.","t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3","x":[45158,45189]},{"a":45175,"t":"code","b":[189,100,31],"m":"lda","oa":8036,"o":"tbl_platform_originals_2,x"},{"a":45177,"t":"note","l":"a_B079","c":"Operand high byte of `lda $1F64,x` in copy_to_ff: the page of the platform originals, stepped when X wraps.","note":"inside the item at $B077","x":[45127,45183]},{"a":45178,"t":"code","b":[145,228],"m":"sta","oa":228,"o":"(tmp1),y"},{"a":45180,"t":"code","b":[232],"m":"inx"},{"a":45181,"t":"code","b":[208,3],"m":"bne","oa":45186,"o":"b_B082"},{"a":45183,"t":"code","b":[238,121,176],"m":"inc","oa":45177,"o":"a_B079"},{"a":45186,"l":"b_B082","t":"code","b":[200],"m":"iny","x":[45181]},{"a":45187,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":45189,"t":"code","b":[208,238],"m":"bne","oa":45173,"o":"copy_to_ff"},{"a":45191,"t":"code","b":[96],"m":"rts"},{"a":45192,"l":"randomise_robots","c":"Gives every robot in the stronghold a random behaviour for this game: for each of the 30 room records (pointers at $20D6), finds the robot list after the floor list and, for each robot (3 bytes), writes a random script number from tbl_robot_scripts ($2212): one of the first 16 entries, or of the second 16 when the room also has a ball.","t":"code","b":[162,58],"m":"ldx","o":"#$3A","x":[29238]},{"a":45194,"l":"b_B08A","t":"code","b":[189,214,32],"m":"lda","oa":8406,"o":"tbl_room_robot_ptrs,x","x":[45258]},{"a":45197,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":45199,"t":"code","b":[189,215,32],"m":"lda","oa":8407,"o":"f_20D7,x"},{"a":45202,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":45204,"t":"code","b":[138],"m":"txa"},{"a":45205,"t":"code","b":[72],"m":"pha"},{"a":45206,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":45208,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":45210,"l":"b_B09A","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[45215]},{"a":45212,"t":"code","b":[200],"m":"iny"},{"a":45213,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":45215,"t":"code","b":[208,249],"m":"bne","oa":45210,"o":"b_B09A"},{"a":45217,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":45219,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":45221,"t":"code","b":[240,4],"m":"beq","oa":45227,"o":"b_B0AB"},{"a":45223,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":45225,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":45227,"l":"b_B0AB","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[45221]},{"a":45229,"l":"j_B0AD","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[45251]},{"a":45231,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":45233,"t":"code","b":[240,19],"m":"beq","oa":45254,"o":"b_B0C6"},{"a":45235,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":45238,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":45240,"t":"code","b":[5,228],"m":"ora","oa":228,"o":"tmp1"},{"a":45242,"t":"code","b":[170],"m":"tax"},{"a":45243,"t":"code","b":[189,18,34],"m":"lda","oa":8722,"o":"tbl_robot_script_starts,x"},{"a":45246,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45248,"t":"code","b":[200],"m":"iny"},{"a":45249,"t":"code","b":[200],"m":"iny"},{"a":45250,"t":"code","b":[200],"m":"iny"},{"a":45251,"t":"code","b":[76,173,176],"m":"jmp","oa":45229,"o":"j_B0AD"},{"a":45254,"l":"b_B0C6","t":"code","b":[104],"m":"pla","x":[45233]},{"a":45255,"t":"code","b":[170],"m":"tax"},{"a":45256,"t":"code","b":[202],"m":"dex"},{"a":45257,"t":"code","b":[202],"m":"dex"},{"a":45258,"t":"code","b":[16,190],"m":"bpl","oa":45194,"o":"b_B08A"},{"a":45260,"t":"code","b":[96],"m":"rts"},{"a":45261,"l":"choose_password","c":"Chooses this game's password: one of the eight nine-letter words at $208E at random, copied to $4FB5-$4FBD; the password line of the pocket computer ($345D-$3465) is blanked.","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[29244]},{"a":45264,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":45266,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":45268,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45269,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45270,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45271,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":45273,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":45275,"t":"code","b":[168],"m":"tay"},{"a":45276,"t":"code","b":[162,8],"m":"ldx","o":"#$08"},{"a":45278,"l":"b_B0DE","t":"code","b":[185,142,32],"m":"lda","oa":8334,"o":"str_password_words,y","x":[45286]},{"a":45281,"t":"code","b":[157,181,79],"m":"sta","oa":20405,"o":"f_4FB5,x"},{"a":45284,"t":"code","b":[136],"m":"dey"},{"a":45285,"t":"code","b":[202],"m":"dex"},{"a":45286,"t":"code","b":[16,246],"m":"bpl","oa":45278,"o":"b_B0DE"},{"a":45288,"t":"code","b":[162,8],"m":"ldx","o":"#$08"},{"a":45290,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":45292,"l":"b_B0EC","t":"code","b":[157,93,52],"m":"sta","oa":13405,"o":"f_345D,x","x":[45296]},{"a":45295,"t":"code","b":[202],"m":"dex"},{"a":45296,"t":"code","b":[16,250],"m":"bpl","oa":45292,"o":"b_B0EC"},{"a":45298,"t":"code","b":[96],"m":"rts"},{"a":45299,"l":"make_puzzle_images","c":"Makes the nine puzzle images at $C9F0: 162 eight-byte blocks, each one of sixteen patterns from tbl_puzzle_patterns ($26E3) chosen at random, the pointer stepped by 8 each time ($BEB8); then gives each of the nine images its frame ($B137).","t":"code","b":[169,240],"m":"lda","o":"#$F0","x":[29247]},{"a":45301,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":45303,"t":"code","b":[169,201],"m":"lda","o":"#$C9"},{"a":45305,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":45307,"t":"code","b":[169,162],"m":"lda","o":"#$A2"},{"a":45309,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":45311,"l":"b_B0FF","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45340]},{"a":45314,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":45316,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45317,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45318,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45319,"t":"code","b":[105,7],"m":"adc","o":"#$07"},{"a":45321,"t":"code","b":[170],"m":"tax"},{"a":45322,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":45324,"l":"b_B10C","t":"code","b":[189,227,38],"m":"lda","oa":9955,"o":"tbl_puzzle_patterns,x","x":[45331]},{"a":45327,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45329,"t":"code","b":[202],"m":"dex"},{"a":45330,"t":"code","b":[136],"m":"dey"},{"a":45331,"t":"code","b":[16,247],"m":"bpl","oa":45324,"o":"b_B10C"},{"a":45333,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":45335,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":45338,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":45340,"t":"code","b":[208,225],"m":"bne","oa":45311,"o":"b_B0FF"},{"a":45342,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":45344,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":45346,"t":"code","b":[169,201],"m":"lda","o":"#$C9"},{"a":45348,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":45350,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":45352,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":45354,"l":"b_B12A","t":"code","b":[32,55,177],"m":"jsr","oa":45367,"o":"frame_image","x":[45364]},{"a":45357,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":45359,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":45362,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":45364,"t":"code","b":[16,244],"m":"bpl","oa":45354,"o":"b_B12A"},{"a":45366,"t":"code","b":[96],"m":"rts"},{"a":45367,"l":"frame_image","c":"Draws a frame round the 144-byte image at ($18): the top row of each column set solid ($FF every 8 bytes from $28 down), the left and right edges set (ORed with $C0 and $03), and the image's corner bytes cleared.","t":"code","b":[160,40],"m":"ldy","o":"#$28","x":[40067,45354]},{"a":45369,"l":"b_B139","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[45378]},{"a":45371,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45373,"t":"code","b":[152],"m":"tya"},{"a":45374,"t":"code","b":[56],"m":"sec"},{"a":45375,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":45377,"t":"code","b":[168],"m":"tay"},{"a":45378,"t":"code","b":[176,245],"m":"bcs","oa":45369,"o":"b_B139"},{"a":45380,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":45382,"l":"j_B146","t":"code","b":[160,7],"m":"ldy","o":"#$07","x":[45414]},{"a":45384,"l":"b_B148","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[45391]},{"a":45386,"t":"code","b":[9,192],"m":"ora","o":"#$C0"},{"a":45388,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45390,"t":"code","b":[136],"m":"dey"},{"a":45391,"t":"code","b":[16,247],"m":"bpl","oa":45384,"o":"b_B148"},{"a":45393,"t":"code","b":[160,47],"m":"ldy","o":"#$2F"},{"a":45395,"l":"b_B153","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[45404]},{"a":45397,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":45399,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45401,"t":"code","b":[136],"m":"dey"},{"a":45402,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":45404,"t":"code","b":[176,245],"m":"bcs","oa":45395,"o":"b_B153"},{"a":45406,"t":"code","b":[202],"m":"dex"},{"a":45407,"t":"code","b":[48,8],"m":"bmi","oa":45417,"o":"b_B169"},{"a":45409,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":45411,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":45414,"t":"code","b":[76,70,177],"m":"jmp","oa":45382,"o":"j_B146"},{"a":45417,"l":"b_B169","t":"code","b":[160,47],"m":"ldy","o":"#$2F","x":[45407]},{"a":45419,"l":"b_B16B","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[45437]},{"a":45421,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":45423,"l":"b_B16F","t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y","x":[45427]},{"a":45425,"t":"code","b":[136],"m":"dey"},{"a":45426,"t":"code","b":[202],"m":"dex"},{"a":45427,"t":"code","b":[16,250],"m":"bpl","oa":45423,"o":"b_B16F"},{"a":45429,"t":"code","b":[138],"m":"txa"},{"a":45430,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45432,"t":"code","b":[152],"m":"tya"},{"a":45433,"t":"code","b":[56],"m":"sec"},{"a":45434,"t":"code","b":[233,5],"m":"sbc","o":"#$05"},{"a":45436,"t":"code","b":[168],"m":"tay"},{"a":45437,"t":"code","b":[176,236],"m":"bcs","oa":45419,"o":"b_B16B"},{"a":45439,"t":"code","b":[96],"m":"rts"},{"a":45440,"l":"make_pieces","c":"Cuts the nine puzzles into four pieces each (36 records of 4 bytes at $BFC0-$C04F): clears a 16 \u00d7 16 table of used mask pairs at $C100, shuffles the sixteen mask numbers in tbl_tones ($B229: 64 swaps of entry 2 with a random entry 3-15), then for each puzzle gives its four pieces the puzzle number, the same first mask (the shuffled entry for that puzzle), the piece number 0-3 in the low bits of the flags with random flip bits ($0C), and two second masks chosen at random so that no pair of masks is used twice ($B239): pieces 3 and 2 share one, pieces 1 and 0 the other. build_piece uses the low two bits to invert the masks, so the four pieces are the image cut by a mask and its complement in each direction, and they overlap.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[29250]},{"a":45442,"t":"code","b":[138],"m":"txa"},{"a":45443,"l":"b_B183","t":"code","b":[157,0,193],"m":"sta","oa":49408,"o":"f_C100,x","x":[45447]},{"a":45446,"t":"code","b":[232],"m":"inx"},{"a":45447,"t":"code","b":[208,250],"m":"bne","oa":45443,"o":"b_B183"},{"a":45449,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":45451,"l":"b_B18B","t":"code","b":[138],"m":"txa","x":[45456]},{"a":45452,"t":"code","b":[157,41,178],"m":"sta","oa":45609,"o":"tbl_tones,x"},{"a":45455,"t":"code","b":[202],"m":"dex"},{"a":45456,"t":"code","b":[16,249],"m":"bpl","oa":45451,"o":"b_B18B"},{"a":45458,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":45460,"l":"b_B194","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45487]},{"a":45463,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":45465,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":45467,"t":"code","b":[176,2],"m":"bcs","oa":45471,"o":"b_B19F"},{"a":45469,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":45471,"l":"b_B19F","t":"code","b":[168],"m":"tay","x":[45467]},{"a":45472,"t":"code","b":[185,41,178],"m":"lda","oa":45609,"o":"tbl_tones,y"},{"a":45475,"t":"code","b":[72],"m":"pha"},{"a":45476,"t":"code","b":[173,43,178],"m":"lda","oa":45611,"o":"a_B22B"},{"a":45479,"t":"code","b":[153,41,178],"m":"sta","oa":45609,"o":"tbl_tones,y"},{"a":45482,"t":"code","b":[104],"m":"pla"},{"a":45483,"t":"code","b":[141,43,178],"m":"sta","oa":45611,"o":"a_B22B"},{"a":45486,"t":"code","b":[202],"m":"dex"},{"a":45487,"t":"code","b":[16,227],"m":"bpl","oa":45460,"o":"b_B194"},{"a":45489,"t":"code","b":[162,140],"m":"ldx","o":"#$8C"},{"a":45491,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":45493,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":45495,"l":"b_B1B7","t":"code","b":[164,228],"m":"ldy","oa":228,"o":"tmp1","x":[45606]},{"a":45497,"t":"code","b":[185,41,178],"m":"lda","oa":45609,"o":"tbl_tones,y"},{"a":45500,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":45502,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":45504,"l":"j_B1C0","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[45533]},{"a":45506,"t":"code","b":[157,192,191],"m":"sta","oa":49088,"o":"f_BFC0,x"},{"a":45509,"t":"code","b":[165,229],"m":"lda","oa":229,"o":"tmp2"},{"a":45511,"t":"code","b":[157,193,191],"m":"sta","oa":49089,"o":"f_BFC1,x"},{"a":45514,"t":"code","b":[132,230],"m":"sty","oa":230,"o":"tmp3"},{"a":45516,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":45519,"t":"code","b":[41,12],"m":"and","o":"#$0C"},{"a":45521,"t":"code","b":[5,230],"m":"ora","oa":230,"o":"tmp3"},{"a":45523,"t":"code","b":[157,195,191],"m":"sta","oa":49091,"o":"f_BFC3,x"},{"a":45526,"t":"code","b":[136],"m":"dey"},{"a":45527,"t":"code","b":[48,7],"m":"bmi","oa":45536,"o":"b_B1E0"},{"a":45529,"t":"code","b":[202],"m":"dex"},{"a":45530,"t":"code","b":[202],"m":"dex"},{"a":45531,"t":"code","b":[202],"m":"dex"},{"a":45532,"t":"code","b":[202],"m":"dex"},{"a":45533,"t":"code","b":[76,192,177],"m":"jmp","oa":45504,"o":"j_B1C0"},{"a":45536,"l":"b_B1E0","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45527,45546]},{"a":45539,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":45541,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":45543,"t":"code","b":[221,193,191],"m":"cmp","oa":49089,"o":"f_BFC1,x"},{"a":45546,"t":"code","b":[240,244],"m":"beq","oa":45536,"o":"b_B1E0"},{"a":45548,"l":"j_B1EC","t":"code","b":[32,57,178],"m":"jsr","oa":45625,"o":"mask_pair_free","x":[45559]},{"a":45551,"t":"code","b":[144,9],"m":"bcc","oa":45562,"o":"b_B1FA"},{"a":45553,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":45555,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":45557,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":45559,"t":"code","b":[76,236,177],"m":"jmp","oa":45548,"o":"j_B1EC"},{"a":45562,"l":"b_B1FA","t":"code","b":[157,194,191],"m":"sta","oa":49090,"o":"f_BFC2,x","x":[45551]},{"a":45565,"t":"code","b":[157,198,191],"m":"sta","oa":49094,"o":"f_BFC6,x"},{"a":45568,"l":"b_B200","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45578]},{"a":45571,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":45573,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":45575,"t":"code","b":[221,193,191],"m":"cmp","oa":49089,"o":"f_BFC1,x"},{"a":45578,"t":"code","b":[240,244],"m":"beq","oa":45568,"o":"b_B200"},{"a":45580,"l":"j_B20C","t":"code","b":[32,57,178],"m":"jsr","oa":45625,"o":"mask_pair_free","x":[45591]},{"a":45583,"t":"code","b":[144,9],"m":"bcc","oa":45594,"o":"b_B21A"},{"a":45585,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":45587,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":45589,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":45591,"t":"code","b":[76,12,178],"m":"jmp","oa":45580,"o":"j_B20C"},{"a":45594,"l":"b_B21A","t":"code","b":[157,202,191],"m":"sta","oa":49098,"o":"f_BFCA,x","x":[45583]},{"a":45597,"t":"code","b":[157,206,191],"m":"sta","oa":49102,"o":"f_BFCE,x"},{"a":45600,"t":"code","b":[202],"m":"dex"},{"a":45601,"t":"code","b":[202],"m":"dex"},{"a":45602,"t":"code","b":[202],"m":"dex"},{"a":45603,"t":"code","b":[202],"m":"dex"},{"a":45604,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":45606,"t":"code","b":[16,143],"m":"bpl","oa":45495,"o":"b_B1B7"},{"a":45608,"t":"code","b":[96],"m":"rts"},{"a":45609,"l":"tbl_tones","c":"Sixteen numbers shuffled at run time by two users: make_pieces fills it with 0-15 and shuffles it for the order of the mask shapes at the start of a game; code_room_puzzle fills it with 0-7 and 9-16 (the second octave's notes carry bit 3) and shuffles it for its tones.","t":"byte","b":[0,1],"x":[42883,42907,42911,42914,42918,42950,45452,45472,45479,45497]},{"a":45611,"l":"a_B22B","c":"Entry 2 of tbl_tones, the one make_pieces swaps with random entries while shuffling.","t":"byte","b":[12,6,10,15,2,7],"x":[45476,45483]},{"a":45617,"l":"f_B231","c":"The second half of tbl_tones: 8-15 for make_pieces, 9-16 for code_room_puzzle.","t":"byte","b":[3,13,9,5,8,14,4,11],"x":[42889]},{"a":45625,"l":"mask_pair_free","c":"Tests whether mask $E7 can pair with the piece's first mask ($BFC1,x): not the same, and neither ordering of the pair marked in the table at $C100. If free, marks both orderings ($FF) and returns carry clear; otherwise carry set.","t":"code","b":[72],"m":"pha","x":[45548,45580]},{"a":45626,"t":"code","b":[221,193,191],"m":"cmp","oa":49089,"o":"f_BFC1,x"},{"a":45629,"t":"code","b":[240,43],"m":"beq","oa":45674,"o":"b_B26A"},{"a":45631,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45632,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45633,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45634,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45635,"t":"code","b":[29,193,191],"m":"ora","oa":49089,"o":"f_BFC1,x"},{"a":45638,"t":"code","b":[168],"m":"tay"},{"a":45639,"t":"code","b":[185,0,193],"m":"lda","oa":49408,"o":"f_C100,y"},{"a":45642,"t":"code","b":[208,30],"m":"bne","oa":45674,"o":"b_B26A"},{"a":45644,"t":"code","b":[132,232],"m":"sty","oa":232,"o":"tmp5"},{"a":45646,"t":"code","b":[189,193,191],"m":"lda","oa":49089,"o":"f_BFC1,x"},{"a":45649,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45650,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45651,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45652,"t":"code","b":[10],"m":"asl","o":"a"},{"a":45653,"t":"code","b":[5,231],"m":"ora","oa":231,"o":"tmp4"},{"a":45655,"t":"code","b":[168],"m":"tay"},{"a":45656,"t":"code","b":[185,0,193],"m":"lda","oa":49408,"o":"f_C100,y"},{"a":45659,"t":"code","b":[208,13],"m":"bne","oa":45674,"o":"b_B26A"},{"a":45661,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":45663,"t":"code","b":[153,0,193],"m":"sta","oa":49408,"o":"f_C100,y"},{"a":45666,"t":"code","b":[164,232],"m":"ldy","oa":232,"o":"tmp5"},{"a":45668,"t":"code","b":[153,0,193],"m":"sta","oa":49408,"o":"f_C100,y"},{"a":45671,"t":"code","b":[104],"m":"pla"},{"a":45672,"t":"code","b":[24],"m":"clc"},{"a":45673,"t":"code","b":[96],"m":"rts"},{"a":45674,"l":"b_B26A","t":"code","b":[104],"m":"pla","x":[45629,45642,45659]},{"a":45675,"t":"code","b":[56],"m":"sec"},{"a":45676,"t":"code","b":[96],"m":"rts"},{"a":45677,"l":"hide_items","c":"Hides this game's items in the furniture: every content byte in the list of furniture slots (pointers at $30F3) is set to $FF (nothing); then the 36 puzzle pieces (0-$23) each go into a random empty slot ($B2A4), and nine snooze passwords ($FC) and nine lift-init passwords ($FD) likewise.","t":"code","b":[162,254],"m":"ldx","o":"#$FE","x":[29253]},{"a":45679,"l":"b_B26F","t":"code","b":[189,243,48],"m":"lda","oa":12531,"o":"tbl_furniture_slots,x","x":[45699]},{"a":45682,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":45684,"t":"code","b":[189,244,48],"m":"lda","oa":12532,"o":"tbl_furniture_slots_hi,x"},{"a":45687,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":45689,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":45691,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":45693,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45695,"t":"code","b":[202],"m":"dex"},{"a":45696,"t":"code","b":[202],"m":"dex"},{"a":45697,"t":"code","b":[224,254],"m":"cpx","o":"#$FE"},{"a":45699,"t":"code","b":[144,234],"m":"bcc","oa":45679,"o":"b_B26F"},{"a":45701,"t":"code","b":[162,35],"m":"ldx","o":"#$23"},{"a":45703,"l":"b_B287","t":"code","b":[32,164,178],"m":"jsr","oa":45732,"o":"random_empty_slot","x":[45710]},{"a":45706,"t":"code","b":[138],"m":"txa"},{"a":45707,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45709,"t":"code","b":[202],"m":"dex"},{"a":45710,"t":"code","b":[16,247],"m":"bpl","oa":45703,"o":"b_B287"},{"a":45712,"t":"code","b":[162,8],"m":"ldx","o":"#$08"},{"a":45714,"l":"b_B292","t":"code","b":[32,164,178],"m":"jsr","oa":45732,"o":"random_empty_slot","x":[45729]},{"a":45717,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":45719,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45721,"t":"code","b":[32,164,178],"m":"jsr","oa":45732,"o":"random_empty_slot"},{"a":45724,"t":"code","b":[169,253],"m":"lda","o":"#$FD"},{"a":45726,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":45728,"t":"code","b":[202],"m":"dex"},{"a":45729,"t":"code","b":[16,239],"m":"bpl","oa":45714,"o":"b_B292"},{"a":45731,"t":"code","b":[96],"m":"rts"},{"a":45732,"l":"random_empty_slot","c":"Picks a random furniture slot from the list at $30F3 (an even index) until it finds one still holding $FF; returns its address in $18/$19.","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45703,45714,45721,45754]},{"a":45735,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":45737,"t":"code","b":[168],"m":"tay"},{"a":45738,"t":"code","b":[185,243,48],"m":"lda","oa":12531,"o":"tbl_furniture_slots,y"},{"a":45741,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":45743,"t":"code","b":[185,244,48],"m":"lda","oa":12532,"o":"tbl_furniture_slots_hi,y"},{"a":45746,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":45748,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":45750,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":45752,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":45754,"t":"code","b":[208,232],"m":"bne","oa":45732,"o":"random_empty_slot"},{"a":45756,"t":"code","b":[96],"m":"rts"},{"a":45757,"l":"make_map","c":"Generates this game's stronghold map. The 32 room numbers at $FFCC-$FFEB (0-$1F) are shuffled within four groups of eight. The map's glyph data $FC00-$FF2F is filled with $FF (solid), the room grid $FF96-$FFCB (9 columns by 6 rows) with $FF (empty) and the map's cell table $FF30-$FF95 with $FC. Then rooms are placed on the grid ($B3FC with the room grid placement $B450) in columns 1-7 of random rows, and joined: rooms of the first group into the left columns with corridors ($B488, direction flags in $E8: $40 left, $80 right, $C0 both), the second group spread over random columns, the third and fourth paired along each column. Finally the map marker starts at ($6B, $B8), the top of the first shaft.","t":"code","b":[162,31],"m":"ldx","o":"#$1F","x":[14665]},{"a":45759,"l":"b_B2BF","t":"code","b":[138],"m":"txa","x":[45764]},{"a":45760,"t":"code","b":[157,204,255],"m":"sta","oa":65484,"o":"f_FFCC,x"},{"a":45763,"t":"code","b":[202],"m":"dex"},{"a":45764,"t":"code","b":[16,249],"m":"bpl","oa":45759,"o":"b_B2BF"},{"a":45766,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":45768,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":45770,"l":"b_B2CA","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45844]},{"a":45773,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":45775,"t":"code","b":[170],"m":"tax"},{"a":45776,"t":"code","b":[188,204,255],"m":"ldy","oa":65484,"o":"f_FFCC,x"},{"a":45779,"t":"code","b":[173,204,255],"m":"lda","oa":65484,"o":"f_FFCC"},{"a":45782,"t":"code","b":[140,204,255],"m":"sty","oa":65484,"o":"f_FFCC"},{"a":45785,"t":"code","b":[157,204,255],"m":"sta","oa":65484,"o":"f_FFCC,x"},{"a":45788,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":45791,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":45793,"t":"code","b":[170],"m":"tax"},{"a":45794,"t":"code","b":[188,212,255],"m":"ldy","oa":65492,"o":"f_FFD4,x"},{"a":45797,"t":"code","b":[173,212,255],"m":"lda","oa":65492,"o":"f_FFD4"},{"a":45800,"t":"code","b":[140,212,255],"m":"sty","oa":65492,"o":"f_FFD4"},{"a":45803,"t":"code","b":[157,212,255],"m":"sta","oa":65492,"o":"f_FFD4,x"},{"a":45806,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":45809,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":45811,"t":"code","b":[170],"m":"tax"},{"a":45812,"t":"code","b":[188,220,255],"m":"ldy","oa":65500,"o":"f_FFDC,x"},{"a":45815,"t":"code","b":[173,220,255],"m":"lda","oa":65500,"o":"f_FFDC"},{"a":45818,"t":"code","b":[140,220,255],"m":"sty","oa":65500,"o":"f_FFDC"},{"a":45821,"t":"code","b":[157,220,255],"m":"sta","oa":65500,"o":"f_FFDC,x"},{"a":45824,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":45827,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":45829,"t":"code","b":[170],"m":"tax"},{"a":45830,"t":"code","b":[188,228,255],"m":"ldy","oa":65508,"o":"f_FFE4,x"},{"a":45833,"t":"code","b":[173,228,255],"m":"lda","oa":65508,"o":"f_FFE4"},{"a":45836,"t":"code","b":[140,228,255],"m":"sty","oa":65508,"o":"f_FFE4"},{"a":45839,"t":"code","b":[157,228,255],"m":"sta","oa":65508,"o":"f_FFE4,x"},{"a":45842,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":45844,"t":"code","b":[16,180],"m":"bpl","oa":45770,"o":"b_B2CA"},{"a":45846,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":45848,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":45850,"l":"b_B31A","t":"code","b":[157,0,252],"m":"sta","oa":64512,"o":"f_FC00,x","x":[45860]},{"a":45853,"t":"code","b":[157,0,253],"m":"sta","oa":64768,"o":"f_FD00,x"},{"a":45856,"t":"code","b":[157,0,254],"m":"sta","oa":65024,"o":"f_FE00,x"},{"a":45859,"t":"code","b":[232],"m":"inx"},{"a":45860,"t":"code","b":[208,244],"m":"bne","oa":45850,"o":"b_B31A"},{"a":45862,"t":"code","b":[162,47],"m":"ldx","o":"#$2F"},{"a":45864,"l":"b_B328","t":"code","b":[157,0,255],"m":"sta","oa":65280,"o":"f_FF00,x","x":[45868]},{"a":45867,"t":"code","b":[202],"m":"dex"},{"a":45868,"t":"code","b":[16,250],"m":"bpl","oa":45864,"o":"b_B328"},{"a":45870,"t":"code","b":[162,53],"m":"ldx","o":"#$35"},{"a":45872,"l":"b_B330","t":"code","b":[157,150,255],"m":"sta","oa":65430,"o":"f_FF96,x","x":[45876]},{"a":45875,"t":"code","b":[202],"m":"dex"},{"a":45876,"t":"code","b":[16,250],"m":"bpl","oa":45872,"o":"b_B330"},{"a":45878,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":45880,"t":"code","b":[162,101],"m":"ldx","o":"#$65"},{"a":45882,"l":"b_B33A","t":"code","b":[157,48,255],"m":"sta","oa":65328,"o":"f_FF30,x","x":[45886]},{"a":45885,"t":"code","b":[202],"m":"dex"},{"a":45886,"t":"code","b":[16,250],"m":"bpl","oa":45882,"o":"b_B33A"},{"a":45888,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":45890,"l":"b_B342","t":"code","b":[32,242,179],"m":"jsr","oa":46066,"o":"random_row","x":[45914]},{"a":45893,"t":"code","b":[168],"m":"tay"},{"a":45894,"t":"code","b":[189,203,255],"m":"lda","oa":65483,"o":"f_FFCB,x"},{"a":45897,"t":"code","b":[32,252,179],"m":"jsr","oa":46076,"o":"place_room"},{"a":45900,"t":"code","b":[224,2],"m":"cpx","o":"#$02"},{"a":45902,"t":"code","b":[144,7],"m":"bcc","oa":45911,"o":"b_B357"},{"a":45904,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":45906,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":45908,"t":"code","b":[32,136,180],"m":"jsr","oa":46216,"o":"join_rooms"},{"a":45911,"l":"b_B357","t":"code","b":[232],"m":"inx","x":[45902]},{"a":45912,"t":"code","b":[224,8],"m":"cpx","o":"#$08"},{"a":45914,"t":"code","b":[144,230],"m":"bcc","oa":45890,"o":"b_B342"},{"a":45916,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":45918,"t":"code","b":[133,233],"m":"sta","oa":233,"o":"tmp6"},{"a":45920,"l":"b_B360","t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tmp6","x":[45951]},{"a":45922,"t":"code","b":[189,211,255],"m":"lda","oa":65491,"o":"f_FFD3,x"},{"a":45925,"t":"code","b":[72],"m":"pha"},{"a":45926,"t":"code","b":[32,242,179],"m":"jsr","oa":46066,"o":"random_row"},{"a":45929,"t":"code","b":[168],"m":"tay"},{"a":45930,"l":"b_B36A","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45935]},{"a":45933,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":45935,"t":"code","b":[240,249],"m":"beq","oa":45930,"o":"b_B36A"},{"a":45937,"t":"code","b":[170],"m":"tax"},{"a":45938,"t":"code","b":[104],"m":"pla"},{"a":45939,"t":"code","b":[32,252,179],"m":"jsr","oa":46076,"o":"place_room"},{"a":45942,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":45944,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":45946,"t":"code","b":[32,136,180],"m":"jsr","oa":46216,"o":"join_rooms"},{"a":45949,"t":"code","b":[198,233],"m":"dec","oa":233,"o":"tmp6"},{"a":45951,"t":"code","b":[16,223],"m":"bpl","oa":45920,"o":"b_B360"},{"a":45953,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":45955,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":45957,"t":"code","b":[173,228,255],"m":"lda","oa":65508,"o":"f_FFE4"},{"a":45960,"t":"code","b":[32,252,179],"m":"jsr","oa":46076,"o":"place_room"},{"a":45963,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":45965,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":45967,"t":"code","b":[32,136,180],"m":"jsr","oa":46216,"o":"join_rooms"},{"a":45970,"t":"code","b":[32,242,179],"m":"jsr","oa":46066,"o":"random_row"},{"a":45973,"t":"code","b":[168],"m":"tay"},{"a":45974,"t":"code","b":[162,8],"m":"ldx","o":"#$08"},{"a":45976,"t":"code","b":[173,220,255],"m":"lda","oa":65500,"o":"f_FFDC"},{"a":45979,"t":"code","b":[32,252,179],"m":"jsr","oa":46076,"o":"place_room"},{"a":45982,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":45984,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":45986,"t":"code","b":[32,136,180],"m":"jsr","oa":46216,"o":"join_rooms"},{"a":45989,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":45991,"t":"code","b":[134,233],"m":"stx","oa":233,"o":"tmp6"},{"a":45993,"l":"b_B3A9","t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tmp6","x":[46055]},{"a":45995,"t":"code","b":[189,220,255],"m":"lda","oa":65500,"o":"f_FFDC,x"},{"a":45998,"t":"code","b":[72],"m":"pha"},{"a":45999,"l":"b_B3AF","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[46004,46008]},{"a":46002,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":46004,"t":"code","b":[240,249],"m":"beq","oa":45999,"o":"b_B3AF"},{"a":46006,"t":"code","b":[201,9],"m":"cmp","o":"#$09"},{"a":46008,"t":"code","b":[176,245],"m":"bcs","oa":45999,"o":"b_B3AF"},{"a":46010,"t":"code","b":[170],"m":"tax"},{"a":46011,"t":"code","b":[32,242,179],"m":"jsr","oa":46066,"o":"random_row"},{"a":46014,"t":"code","b":[168],"m":"tay"},{"a":46015,"t":"code","b":[104],"m":"pla"},{"a":46016,"t":"code","b":[32,252,179],"m":"jsr","oa":46076,"o":"place_room"},{"a":46019,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":46021,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":46023,"t":"code","b":[32,136,180],"m":"jsr","oa":46216,"o":"join_rooms"},{"a":46026,"t":"code","b":[166,233],"m":"ldx","oa":233,"o":"tmp6"},{"a":46028,"t":"code","b":[189,228,255],"m":"lda","oa":65508,"o":"f_FFE4,x"},{"a":46031,"t":"code","b":[72],"m":"pha"},{"a":46032,"t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random"},{"a":46035,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":46037,"t":"code","b":[170],"m":"tax"},{"a":46038,"t":"code","b":[32,242,179],"m":"jsr","oa":46066,"o":"random_row"},{"a":46041,"t":"code","b":[168],"m":"tay"},{"a":46042,"t":"code","b":[104],"m":"pla"},{"a":46043,"t":"code","b":[32,252,179],"m":"jsr","oa":46076,"o":"place_room"},{"a":46046,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":46048,"t":"code","b":[133,232],"m":"sta","oa":232,"o":"tmp5"},{"a":46050,"t":"code","b":[32,136,180],"m":"jsr","oa":46216,"o":"join_rooms"},{"a":46053,"t":"code","b":[198,233],"m":"dec","oa":233,"o":"tmp6"},{"a":46055,"t":"code","b":[208,192],"m":"bne","oa":45993,"o":"b_B3A9"},{"a":46057,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":46059,"t":"code","b":[133,39],"m":"sta","oa":39,"o":"marker_x"},{"a":46061,"t":"code","b":[169,184],"m":"lda","o":"#$B8"},{"a":46063,"t":"code","b":[133,40],"m":"sta","oa":40,"o":"marker_y"},{"a":46065,"t":"code","b":[96],"m":"rts"},{"a":46066,"l":"random_row","c":"A random row of the map grid, 0-5.","t":"code","b":[32,227,130],"m":"jsr","oa":33507,"o":"random","x":[45890,45926,45970,46011,46038,46073]},{"a":46069,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":46071,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":46073,"t":"code","b":[176,247],"m":"bcs","oa":46066,"o":"random_row"},{"a":46075,"t":"code","b":[96],"m":"rts"},{"a":46076,"l":"place_room","c":"Puts room A at column X, row Y of the map: claims the first free grid square at or after it ($B450), then cuts the room's shape out of the map's glyph data ($18/$19 from $B516): rooms below $10 one of four 24-byte shapes from tbl_room_shapes chosen by bits 0 and 3 of the room number, the others ($10-$1F) 16-byte shapes from further on in the table, ANDed into the map; rooms $18 and above go one cell further on ($BEB8).","t":"code","b":[72],"m":"pha","x":[45897,45939,45960,45979,46016,46043]},{"a":46077,"t":"code","b":[32,80,180],"m":"jsr","oa":46160,"o":"claim_grid_square"},{"a":46080,"t":"code","b":[32,22,181],"m":"jsr","oa":46358,"o":"map_cell_ptr"},{"a":46083,"t":"code","b":[132,231],"m":"sty","oa":231,"o":"tmp4"},{"a":46085,"t":"code","b":[104],"m":"pla"},{"a":46086,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":46088,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":46090,"t":"code","b":[144,34],"m":"bcc","oa":46126,"o":"b_B42E"},{"a":46092,"t":"code","b":[162,96],"m":"ldx","o":"#$60"},{"a":46094,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":46096,"t":"code","b":[144,13],"m":"bcc","oa":46111,"o":"b_B41F"},{"a":46098,"t":"code","b":[72],"m":"pha"},{"a":46099,"t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1"},{"a":46101,"t":"code","b":[240,5],"m":"beq","oa":46108,"o":"b_B41C"},{"a":46103,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":46105,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":46108,"l":"b_B41C","t":"code","b":[104],"m":"pla","x":[46101]},{"a":46109,"t":"code","b":[162,128],"m":"ldx","o":"#$80"},{"a":46111,"l":"b_B41F","t":"code","b":[74],"m":"lsr","o":"a","x":[46096]},{"a":46112,"t":"code","b":[138],"m":"txa"},{"a":46113,"t":"code","b":[144,3],"m":"bcc","oa":46118,"o":"b_B426"},{"a":46115,"t":"code","b":[24],"m":"clc"},{"a":46116,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":46118,"l":"b_B426","t":"code","b":[105,15],"m":"adc","o":"#$0F","x":[46113]},{"a":46120,"t":"code","b":[170],"m":"tax"},{"a":46121,"t":"code","b":[160,15],"m":"ldy","o":"#$0F"},{"a":46123,"t":"code","b":[76,64,180],"m":"jmp","oa":46144,"o":"j_B440"},{"a":46126,"l":"b_B42E","t":"code","b":[74],"m":"lsr","o":"a","x":[46090]},{"a":46127,"t":"code","b":[162,23],"m":"ldx","o":"#$17"},{"a":46129,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":46131,"t":"code","b":[240,2],"m":"beq","oa":46135,"o":"b_B437"},{"a":46133,"t":"code","b":[162,71],"m":"ldx","o":"#$47"},{"a":46135,"l":"b_B437","t":"code","b":[144,5],"m":"bcc","oa":46142,"o":"b_B43E","x":[46131]},{"a":46137,"t":"code","b":[138],"m":"txa"},{"a":46138,"t":"code","b":[24],"m":"clc"},{"a":46139,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":46141,"t":"code","b":[170],"m":"tax"},{"a":46142,"l":"b_B43E","t":"code","b":[160,23],"m":"ldy","o":"#$17","x":[46135]},{"a":46144,"l":"j_B440","t":"code","b":[189,157,181],"m":"lda","oa":46493,"o":"tbl_room_shapes,x","x":[46123,46153]},{"a":46147,"t":"code","b":[49,24],"m":"and","oa":24,"o":"(ptr_data),y"},{"a":46149,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":46151,"t":"code","b":[202],"m":"dex"},{"a":46152,"t":"code","b":[136],"m":"dey"},{"a":46153,"t":"code","b":[16,245],"m":"bpl","oa":46144,"o":"j_B440"},{"a":46155,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":46157,"t":"code","b":[164,231],"m":"ldy","oa":231,"o":"tmp4"},{"a":46159,"t":"code","b":[96],"m":"rts"},{"a":46160,"l":"claim_grid_square","c":"Finds a free square of the room grid ($FF96 + 9 \u00d7 row + column) starting from column X, row Y, moving down a row at a time (wrapping) and then to the next column (wrapping at 8 to 1), and stores room A there.","t":"code","b":[72],"m":"pha","x":[46077]},{"a":46161,"l":"j_B451","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[46206]},{"a":46163,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":46165,"l":"b_B455","t":"code","b":[152],"m":"tya","x":[46197]},{"a":46166,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":46168,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46169,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46170,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46171,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":46173,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":46175,"t":"code","b":[138],"m":"txa"},{"a":46176,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":46178,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":46180,"t":"code","b":[170],"m":"tax"},{"a":46181,"t":"code","b":[189,150,255],"m":"lda","oa":65430,"o":"f_FF96,x"},{"a":46184,"t":"code","b":[48,23],"m":"bmi","oa":46209,"o":"b_B481"},{"a":46186,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":46188,"t":"code","b":[200],"m":"iny"},{"a":46189,"t":"code","b":[192,6],"m":"cpy","o":"#$06"},{"a":46191,"t":"code","b":[144,2],"m":"bcc","oa":46195,"o":"b_B473"},{"a":46193,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":46195,"l":"b_B473","t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2","x":[46191]},{"a":46197,"t":"code","b":[16,222],"m":"bpl","oa":46165,"o":"b_B455"},{"a":46199,"t":"code","b":[232],"m":"inx"},{"a":46200,"t":"code","b":[224,8],"m":"cpx","o":"#$08"},{"a":46202,"t":"code","b":[144,2],"m":"bcc","oa":46206,"o":"b_B47E"},{"a":46204,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":46206,"l":"b_B47E","t":"code","b":[76,81,180],"m":"jmp","oa":46161,"o":"j_B451","x":[46202]},{"a":46209,"l":"b_B481","t":"code","b":[104],"m":"pla","x":[46184]},{"a":46210,"t":"code","b":[157,150,255],"m":"sta","oa":65430,"o":"f_FF96,x"},{"a":46213,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":46215,"t":"code","b":[96],"m":"rts"},{"a":46216,"l":"join_rooms","c":"Draws the corridors that join the room at column X, row Y to its neighbours in the direction(s) given by $E8 ($40 one side, $80 the other, $C0 both): looks along the row (and up and down the column by nine squares) for the next occupied square that may be joined ($B500), and cuts corridor and shaft segments into the map's glyph data between them ($B516, $B538).","t":"code","b":[152],"m":"tya","x":[45908,45946,45967,45986,46023,46050]},{"a":46217,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":46219,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46220,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46221,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46222,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":46224,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":46226,"t":"code","b":[138],"m":"txa"},{"a":46227,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":46229,"t":"code","b":[134,228],"m":"stx","oa":228,"o":"tmp1"},{"a":46231,"t":"code","b":[170],"m":"tax"},{"a":46232,"t":"code","b":[165,232],"m":"lda","oa":232,"o":"tmp5"},{"a":46234,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":46236,"t":"code","b":[240,20],"m":"beq","oa":46258,"o":"b_B4B2"},{"a":46238,"t":"code","b":[202],"m":"dex"},{"a":46239,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":46241,"t":"code","b":[240,2],"m":"beq","oa":46245,"o":"b_B4A5"},{"a":46243,"t":"code","b":[232],"m":"inx"},{"a":46244,"t":"code","b":[232],"m":"inx"},{"a":46245,"l":"b_B4A5","t":"code","b":[189,150,255],"m":"lda","oa":65430,"o":"f_FF96,x","x":[46241]},{"a":46248,"t":"code","b":[48,8],"m":"bmi","oa":46258,"o":"b_B4B2"},{"a":46250,"t":"code","b":[32,0,181],"m":"jsr","oa":46336,"o":"may_join"},{"a":46253,"t":"code","b":[176,3],"m":"bcs","oa":46258,"o":"b_B4B2"},{"a":46255,"l":"b_B4AF","t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1","x":[46285,46306,46325]},{"a":46257,"t":"code","b":[96],"m":"rts"},{"a":46258,"l":"b_B4B2","t":"code","b":[134,230],"m":"stx","oa":230,"o":"tmp3","x":[46236,46248,46253]},{"a":46260,"t":"code","b":[132,229],"m":"sty","oa":229,"o":"tmp2"},{"a":46262,"l":"b_B4B6","t":"code","b":[138],"m":"txa","x":[46273,46278]},{"a":46263,"t":"code","b":[56],"m":"sec"},{"a":46264,"t":"code","b":[233,9],"m":"sbc","o":"#$09"},{"a":46266,"t":"code","b":[144,28],"m":"bcc","oa":46296,"o":"b_B4D8"},{"a":46268,"t":"code","b":[170],"m":"tax"},{"a":46269,"t":"code","b":[136],"m":"dey"},{"a":46270,"t":"code","b":[189,150,255],"m":"lda","oa":65430,"o":"f_FF96,x"},{"a":46273,"t":"code","b":[48,243],"m":"bmi","oa":46262,"o":"b_B4B6"},{"a":46275,"t":"code","b":[32,0,181],"m":"jsr","oa":46336,"o":"may_join"},{"a":46278,"t":"code","b":[176,238],"m":"bcs","oa":46262,"o":"b_B4B6"},{"a":46280,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":46282,"l":"j_B4CA","t":"code","b":[200],"m":"iny","x":[46293]},{"a":46283,"t":"code","b":[196,229],"m":"cpy","oa":229,"o":"tmp2"},{"a":46285,"t":"code","b":[240,224],"m":"beq","oa":46255,"o":"b_B4AF"},{"a":46287,"t":"code","b":[32,22,181],"m":"jsr","oa":46358,"o":"map_cell_ptr"},{"a":46290,"t":"code","b":[32,56,181],"m":"jsr","oa":46392,"o":"cut_corridor"},{"a":46293,"t":"code","b":[76,202,180],"m":"jmp","oa":46282,"o":"j_B4CA"},{"a":46296,"l":"b_B4D8","t":"code","b":[166,230],"m":"ldx","oa":230,"o":"tmp3","x":[46266]},{"a":46298,"t":"code","b":[164,229],"m":"ldy","oa":229,"o":"tmp2"},{"a":46300,"l":"b_B4DC","t":"code","b":[138],"m":"txa","x":[46313,46318]},{"a":46301,"t":"code","b":[24],"m":"clc"},{"a":46302,"t":"code","b":[105,9],"m":"adc","o":"#$09"},{"a":46304,"t":"code","b":[201,54],"m":"cmp","o":"#$36"},{"a":46306,"t":"code","b":[176,203],"m":"bcs","oa":46255,"o":"b_B4AF"},{"a":46308,"t":"code","b":[170],"m":"tax"},{"a":46309,"t":"code","b":[200],"m":"iny"},{"a":46310,"t":"code","b":[189,150,255],"m":"lda","oa":65430,"o":"f_FF96,x"},{"a":46313,"t":"code","b":[48,241],"m":"bmi","oa":46300,"o":"b_B4DC"},{"a":46315,"t":"code","b":[32,0,181],"m":"jsr","oa":46336,"o":"may_join"},{"a":46318,"t":"code","b":[176,236],"m":"bcs","oa":46300,"o":"b_B4DC"},{"a":46320,"t":"code","b":[166,228],"m":"ldx","oa":228,"o":"tmp1"},{"a":46322,"l":"j_B4F2","t":"code","b":[136],"m":"dey","x":[46333]},{"a":46323,"t":"code","b":[196,229],"m":"cpy","oa":229,"o":"tmp2"},{"a":46325,"t":"code","b":[240,184],"m":"beq","oa":46255,"o":"b_B4AF"},{"a":46327,"t":"code","b":[32,22,181],"m":"jsr","oa":46358,"o":"map_cell_ptr"},{"a":46330,"t":"code","b":[32,56,181],"m":"jsr","oa":46392,"o":"cut_corridor"},{"a":46333,"t":"code","b":[76,242,180],"m":"jmp","oa":46322,"o":"j_B4F2"},{"a":46336,"l":"may_join","c":"Whether a room number in A may be joined in the current direction: rooms $10-$17 are not joined from one side ($E8 bit 7 clear), and rooms $18 and above not at all from the other. Carry set: not joinable.","t":"code","b":[36,232],"m":"bit","oa":232,"o":"tmp5","x":[46250,46275,46315]},{"a":46338,"t":"code","b":[80,12],"m":"bvc","oa":46352,"o":"b_B510"},{"a":46340,"t":"code","b":[48,14],"m":"bmi","oa":46356,"o":"b_B514"},{"a":46342,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":46344,"t":"code","b":[144,10],"m":"bcc","oa":46356,"o":"b_B514"},{"a":46346,"t":"code","b":[201,24],"m":"cmp","o":"#$18"},{"a":46348,"t":"code","b":[176,6],"m":"bcs","oa":46356,"o":"b_B514"},{"a":46350,"l":"b_B50E","t":"code","b":[56],"m":"sec","x":[46354]},{"a":46351,"t":"code","b":[96],"m":"rts"},{"a":46352,"l":"b_B510","t":"code","b":[201,24],"m":"cmp","o":"#$18","x":[46338]},{"a":46354,"t":"code","b":[176,250],"m":"bcs","oa":46350,"o":"b_B50E"},{"a":46356,"l":"b_B514","t":"code","b":[24],"m":"clc","x":[46340,46344,46348]},{"a":46357,"t":"code","b":[96],"m":"rts"},{"a":46358,"l":"map_cell_ptr","c":"Address in the map's glyph data of grid square (X, Y), in $18/$19: $FB78 + $88 \u00d7 (row + 1) + 16 \u00d7 column - 8, built by repeated additions with add_to_ptr ($BEB8).","t":"code","b":[152],"m":"tya","x":[46080,46287,46327]},{"a":46359,"t":"code","b":[72],"m":"pha"},{"a":46360,"t":"code","b":[169,120],"m":"lda","o":"#$78"},{"a":46362,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":46364,"t":"code","b":[169,251],"m":"lda","o":"#$FB"},{"a":46366,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":46368,"l":"b_B520","t":"code","b":[169,136],"m":"lda","o":"#$88","x":[46374]},{"a":46370,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":46373,"t":"code","b":[136],"m":"dey"},{"a":46374,"t":"code","b":[16,248],"m":"bpl","oa":46368,"o":"b_B520"},{"a":46376,"t":"code","b":[138],"m":"txa"},{"a":46377,"t":"code","b":[240,10],"m":"beq","oa":46389,"o":"b_B535"},{"a":46379,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46380,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46381,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46382,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46383,"t":"code","b":[56],"m":"sec"},{"a":46384,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":46386,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":46389,"l":"b_B535","t":"code","b":[104],"m":"pla","x":[46377]},{"a":46390,"t":"code","b":[168],"m":"tay"},{"a":46391,"t":"code","b":[96],"m":"rts"},{"a":46392,"l":"cut_corridor","c":"Cuts a corridor into the map glyphs at $18/$19: a vertical shaft piece (8 bytes from tbl_shaft_mask $B63D) when $E8 bit 6 is set, and a horizontal corridor piece (bytes 16-23 of tbl_corridor_mask $B62D, one cell back when X is 0) when bit 7 is set.","t":"code","b":[152],"m":"tya","x":[46290,46330]},{"a":46393,"t":"code","b":[72],"m":"pha"},{"a":46394,"t":"code","b":[36,232],"m":"bit","oa":232,"o":"tmp5"},{"a":46396,"t":"code","b":[80,12],"m":"bvc","oa":46410,"o":"b_B54A"},{"a":46398,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":46400,"l":"b_B540","t":"code","b":[185,61,182],"m":"lda","oa":46653,"o":"tbl_shaft_mask,y","x":[46408]},{"a":46403,"t":"code","b":[49,24],"m":"and","oa":24,"o":"(ptr_data),y"},{"a":46405,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":46407,"t":"code","b":[136],"m":"dey"},{"a":46408,"t":"code","b":[16,246],"m":"bpl","oa":46400,"o":"b_B540"},{"a":46410,"l":"b_B54A","t":"code","b":[36,232],"m":"bit","oa":232,"o":"tmp5","x":[46396]},{"a":46412,"t":"code","b":[16,28],"m":"bpl","oa":46442,"o":"b_B56A"},{"a":46414,"t":"code","b":[160,23],"m":"ldy","o":"#$17"},{"a":46416,"t":"code","b":[138],"m":"txa"},{"a":46417,"t":"code","b":[208,11],"m":"bne","oa":46430,"o":"b_B55E"},{"a":46419,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":46421,"t":"code","b":[56],"m":"sec"},{"a":46422,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":46424,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":46426,"t":"code","b":[176,2],"m":"bcs","oa":46430,"o":"b_B55E"},{"a":46428,"t":"code","b":[198,25],"m":"dec","oa":25,"o":"ptr_data_hi"},{"a":46430,"l":"b_B55E","t":"code","b":[185,45,182],"m":"lda","oa":46637,"o":"tbl_corridor_mask,y","x":[46417,46426,46440]},{"a":46433,"t":"code","b":[49,24],"m":"and","oa":24,"o":"(ptr_data),y"},{"a":46435,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":46437,"t":"code","b":[136],"m":"dey"},{"a":46438,"t":"code","b":[192,16],"m":"cpy","o":"#$10"},{"a":46440,"t":"code","b":[176,244],"m":"bcs","oa":46430,"o":"b_B55E"},{"a":46442,"l":"b_B56A","t":"code","b":[104],"m":"pla","x":[46412]},{"a":46443,"t":"code","b":[168],"m":"tay"},{"a":46444,"t":"code","b":[96],"m":"rts"},{"a":46445,"l":"gfx_map_extra","c":"The map's frame: six glyphs (48 bytes) that show_map copies into the display's glyphs at $5F80-$5FAF, so they become glyphs $F0-$F5: the four rounded corners ($F0 top left, $F1 top right, $F2 bottom left, $F3 bottom right), the striped top and bottom edge ($F4) and the striped side ($F5) that draw_map_frame lays round the map in yellow.","t":"byte","b":[0,0,0,7,14,28,56,48],"x":[46736]},{"a":46453,"t":"byte","b":[0,0,0,60,124,248,48,32]},{"a":46461,"t":"byte","b":[4,12,28,62,60,56,0,0]},{"a":46469,"t":"byte","b":[4,12,28,56,112,224,0,0]},{"a":46477,"t":"byte","b":[0,0,0,62,124,248,0,0]},{"a":46485,"t":"byte","b":[4,12,28,60,60,56,48,32]},{"a":46493,"l":"tbl_room_shapes","c":"Masks ANDed into the map's glyph data to cut out the rooms: 24-byte and 16-byte shapes, $E7 for the walls and $00 where the room is open.","t":"byte","b":[231,231,231,231,231,224,231,231],"x":[46144]},{"a":46501,"t":"byte","b":[255,0,0,0,0,0,255,255]},{"a":46509,"t":"byte","b":[231,231,231,231,231,7,231,231]},{"a":46517,"t":"byte","b":[231,224,231,231,231,231,231,231]},{"a":46525,"t":"byte","b":[255,0,0,0,0,0,255,255]},{"a":46533,"t":"byte","b":[231,7,231,231,231,231,231,231]},{"a":46541,"t":"byte","b":[231,224,231,231,231,231,231,231]},{"a":46549,"t":"byte","b":[255,0,0,0,0,0,255,255]},{"a":46557,"t":"byte","b":[231,231,231,231,231,7,231,231]},{"a":46565,"t":"byte","b":[231,231,231,231,231,224,231,231]},{"a":46573,"t":"byte","b":[255,0,0,0,0,0,255,255]},{"a":46581,"t":"byte","b":[231,7,231,231,231,231,231,231]},{"a":46589,"t":"byte","b":[231,224,231,231,231,231,231,231]},{"a":46597,"t":"byte","b":[255,0,0,0,0,0,255,255]},{"a":46605,"t":"byte","b":[231,231,231,231,231,224,231,231]},{"a":46613,"t":"byte","b":[255,0,0,0,0,0,255,255]},{"a":46621,"t":"byte","b":[255,0,0,0,0,0,255,255]},{"a":46629,"t":"byte","b":[231,7,231,231,231,231,231,231]},{"a":46637,"l":"tbl_corridor_mask","c":"Mask bytes for a horizontal corridor on the map (bytes 16-23 used).","t":"byte","b":[255,0,0,0,0,0,255,255],"x":[46430]},{"a":46645,"t":"byte","b":[231,231,231,231,231,7,231,231]},{"a":46653,"l":"tbl_shaft_mask","c":"Mask bytes for a vertical lift shaft segment on the map.","t":"byte","b":[231,231,231,231,231,231,231,231],"x":[46400]},{"a":46661,"l":"show_map","c":"Switches the pocket computer's display to the map: waits a tick, clears the message window, saves the display's glyphs ($5C50-$5FAF) to $C690-$C9EF and copies the map's glyph data ($FC00-$FF2F) into their place, and the marker glyphs from $B56D; then draws the map's frame ($B699).","t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick","x":[14796,15775]},{"a":46664,"t":"code","b":[32,24,114],"m":"jsr","oa":29208,"o":"clear_message"},{"a":46667,"t":"code","b":[32,107,127],"m":"jsr","oa":32619,"o":"wait_tick"},{"a":46670,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":46672,"l":"b_B650","t":"code","b":[189,80,92],"m":"lda","oa":23632,"o":"f_5C50,x","x":[46709]},{"a":46675,"t":"code","b":[157,144,198],"m":"sta","oa":50832,"o":"f_C690,x"},{"a":46678,"t":"code","b":[189,0,252],"m":"lda","oa":64512,"o":"f_FC00,x"},{"a":46681,"t":"code","b":[157,80,92],"m":"sta","oa":23632,"o":"f_5C50,x"},{"a":46684,"t":"code","b":[189,80,93],"m":"lda","oa":23888,"o":"f_5D50,x"},{"a":46687,"t":"code","b":[157,144,199],"m":"sta","oa":51088,"o":"f_C790,x"},{"a":46690,"t":"code","b":[189,0,253],"m":"lda","oa":64768,"o":"f_FD00,x"},{"a":46693,"t":"code","b":[157,80,93],"m":"sta","oa":23888,"o":"f_5D50,x"},{"a":46696,"t":"code","b":[189,80,94],"m":"lda","oa":24144,"o":"f_5E50,x"},{"a":46699,"t":"code","b":[157,144,200],"m":"sta","oa":51344,"o":"f_C890,x"},{"a":46702,"t":"code","b":[189,0,254],"m":"lda","oa":65024,"o":"f_FE00,x"},{"a":46705,"t":"code","b":[157,80,94],"m":"sta","oa":24144,"o":"f_5E50,x"},{"a":46708,"t":"code","b":[232],"m":"inx"},{"a":46709,"t":"code","b":[208,217],"m":"bne","oa":46672,"o":"b_B650"},{"a":46711,"t":"code","b":[162,47],"m":"ldx","o":"#$2F"},{"a":46713,"l":"b_B679","t":"code","b":[189,80,95],"m":"lda","oa":24400,"o":"f_5F50,x","x":[46726]},{"a":46716,"t":"code","b":[157,144,201],"m":"sta","oa":51600,"o":"f_C990,x"},{"a":46719,"t":"code","b":[189,0,255],"m":"lda","oa":65280,"o":"f_FF00,x"},{"a":46722,"t":"code","b":[157,80,95],"m":"sta","oa":24400,"o":"f_5F50,x"},{"a":46725,"t":"code","b":[202],"m":"dex"},{"a":46726,"t":"code","b":[16,241],"m":"bpl","oa":46713,"o":"b_B679"},{"a":46728,"t":"code","b":[162,47],"m":"ldx","o":"#$2F"},{"a":46730,"l":"b_B68A","t":"code","b":[189,128,95],"m":"lda","oa":24448,"o":"f_5F80,x","x":[46743]},{"a":46733,"t":"code","b":[157,192,201],"m":"sta","oa":51648,"o":"f_C9C0,x"},{"a":46736,"t":"code","b":[189,109,181],"m":"lda","oa":46445,"o":"gfx_map_extra,x"},{"a":46739,"t":"code","b":[157,128,95],"m":"sta","oa":24448,"o":"f_5F80,x"},{"a":46742,"t":"code","b":[202],"m":"dex"},{"a":46743,"t":"code","b":[16,241],"m":"bpl","oa":46730,"o":"b_B68A"},{"a":46745,"l":"draw_map_frame","c":"Draws the map in the display: a frame of glyphs $F0-$F5 in yellow, the 17 \u00d7 6 cells of the map from the cell table $FF30 in green, and the map marker in sprite 6 (a small square, shape at $4D80) at ($27, $28).","t":"code","b":[169,135],"m":"lda","o":"#$87","x":[44971]},{"a":46747,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":46749,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":46751,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":46753,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":46755,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":46757,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":46759,"t":"code","b":[160,20],"m":"ldy","o":"#$14"},{"a":46761,"l":"b_B6A9","t":"code","b":[169,244],"m":"lda","o":"#$F4","x":[46770]},{"a":46763,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46765,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":46767,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":46769,"t":"code","b":[136],"m":"dey"},{"a":46770,"t":"code","b":[16,245],"m":"bpl","oa":46761,"o":"b_B6A9"},{"a":46772,"t":"code","b":[200],"m":"iny"},{"a":46773,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":46775,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46777,"t":"code","b":[160,20],"m":"ldy","o":"#$14"},{"a":46779,"t":"code","b":[169,241],"m":"lda","o":"#$F1"},{"a":46781,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46783,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":46786,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":46788,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":46790,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":46792,"l":"b_B6C8","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[46850]},{"a":46794,"t":"code","b":[169,245],"m":"lda","o":"#$F5"},{"a":46796,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46798,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":46800,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":46802,"t":"code","b":[200],"m":"iny"},{"a":46803,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":46805,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46807,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":46809,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":46811,"t":"code","b":[200],"m":"iny"},{"a":46812,"l":"b_B6DC","t":"code","b":[138],"m":"txa","x":[46826]},{"a":46813,"t":"code","b":[189,48,255],"m":"lda","oa":65328,"o":"f_FF30,x"},{"a":46816,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46818,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":46820,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":46822,"t":"code","b":[232],"m":"inx"},{"a":46823,"t":"code","b":[200],"m":"iny"},{"a":46824,"t":"code","b":[192,19],"m":"cpy","o":"#$13"},{"a":46826,"t":"code","b":[144,240],"m":"bcc","oa":46812,"o":"b_B6DC"},{"a":46828,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":46830,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46832,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":46834,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":46836,"t":"code","b":[200],"m":"iny"},{"a":46837,"t":"code","b":[169,245],"m":"lda","o":"#$F5"},{"a":46839,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46841,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":46843,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":46845,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":46848,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":46850,"t":"code","b":[16,196],"m":"bpl","oa":46792,"o":"b_B6C8"},{"a":46852,"t":"code","b":[160,20],"m":"ldy","o":"#$14"},{"a":46854,"l":"b_B706","t":"code","b":[169,244],"m":"lda","o":"#$F4","x":[46863]},{"a":46856,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46858,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":46860,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":46862,"t":"code","b":[136],"m":"dey"},{"a":46863,"t":"code","b":[16,245],"m":"bpl","oa":46854,"o":"b_B706"},{"a":46865,"t":"code","b":[200],"m":"iny"},{"a":46866,"t":"code","b":[169,242],"m":"lda","o":"#$F2"},{"a":46868,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46870,"t":"code","b":[160,20],"m":"ldy","o":"#$14"},{"a":46872,"t":"code","b":[169,243],"m":"lda","o":"#$F3"},{"a":46874,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":46876,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46878,"t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":46880,"l":"b_B720","t":"code","b":[157,128,77],"m":"sta","oa":19840,"o":"f_4D80,x","x":[46884]},{"a":46883,"t":"code","b":[202],"m":"dex"},{"a":46884,"t":"code","b":[16,250],"m":"bpl","oa":46880,"o":"b_B720"},{"a":46886,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":46888,"t":"code","b":[141,128,77],"m":"sta","oa":19840,"o":"f_4D80"},{"a":46891,"t":"code","b":[141,131,77],"m":"sta","oa":19843,"o":"a_4D83"},{"a":46894,"t":"code","b":[141,134,77],"m":"sta","oa":19846,"o":"a_4D86"},{"a":46897,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x"},{"a":46899,"t":"code","b":[141,12,208],"m":"sta","o":"vic_sprite6_x"},{"a":46902,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":46904,"t":"code","b":[141,13,208],"m":"sta","o":"vic_sprite6_y"},{"a":46907,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":46910,"t":"code","b":[41,191],"m":"and","o":"#$BF"},{"a":46912,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":46915,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46917,"t":"code","b":[141,45,208],"m":"sta","o":"vic_sprite6_colour"},{"a":46920,"t":"code","b":[173,29,208],"m":"lda","o":"vic_sprite_expand_x"},{"a":46923,"t":"code","b":[41,191],"m":"and","o":"#$BF"},{"a":46925,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":46928,"l":"lift_sprite_pointer","c":"Entry of draw_map_frame's end: sets sprite 6's pointer to $36.","t":"code","b":[169,54],"m":"lda","o":"#$36","x":[45021]},{"a":46930,"t":"code","b":[141,254,67],"m":"sta","oa":17406,"o":"a_43FE"},{"a":46933,"t":"code","b":[96],"m":"rts"},{"a":46934,"l":"reveal_room_cell","c":"Reveals on the map the room on the side the agent left the corridor by ($7F against $80 chooses the half-cell), then falls into reveal_map_cell.","t":"code","b":[165,127],"m":"lda","oa":127,"o":"entry_side","x":[35853]},{"a":46936,"t":"code","b":[197,128],"m":"cmp","oa":128,"o":"exit_side"},{"a":46938,"t":"code","b":[208,2],"m":"bne","oa":46942,"o":"b_B75E"},{"a":46940,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":46942,"l":"b_B75E","t":"code","b":[10],"m":"asl","o":"a","x":[46938]},{"a":46943,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":46945,"l":"reveal_map_cell","c":"Reveals the map cell under the marker: index = ($27 - $68)/8 + 17 \u00d7 (($28 - $B8)/8) + $E6, and the cell table entry at $FF30 + index becomes glyph $8A + index, the cell's own glyph in the display. Cells start as $FC (blank), so the map fills in as the agent explores. Returns the glyph.","t":"code","b":[165,39],"m":"lda","oa":39,"o":"marker_x","x":[29695]},{"a":46947,"t":"code","b":[56],"m":"sec"},{"a":46948,"t":"code","b":[233,104],"m":"sbc","o":"#$68"},{"a":46950,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46951,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46952,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46953,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":46955,"t":"code","b":[165,40],"m":"lda","oa":40,"o":"marker_y"},{"a":46957,"t":"code","b":[56],"m":"sec"},{"a":46958,"t":"code","b":[233,184],"m":"sbc","o":"#$B8"},{"a":46960,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":46962,"t":"code","b":[10],"m":"asl","o":"a"},{"a":46963,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":46965,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46966,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46967,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46968,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":46969,"t":"code","b":[101,229],"m":"adc","oa":229,"o":"tmp2"},{"a":46971,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":46973,"t":"code","b":[101,230],"m":"adc","oa":230,"o":"tmp3"},{"a":46975,"t":"code","b":[168],"m":"tay"},{"a":46976,"t":"code","b":[105,138],"m":"adc","o":"#$8A"},{"a":46978,"t":"code","b":[153,48,255],"m":"sta","oa":65328,"o":"f_FF30,y"},{"a":46981,"t":"code","b":[96],"m":"rts"},{"a":46982,"l":"end_of_game","c":"The end of a game, won, lost or out of time: silences the SID, hides the sprites, clears the screen and colour RAM, selects character set $4800 and turns the screen on. Draws a box ($B996, $B9CF, $B9E1) and inside it the tally's labels (pointers at tbl_tally_labels, lengths at $B988, row steps at $B98F), the fifth line MISSION COMPLETE, or MISSION TERMINATED at $B957 when time ran out ($D4 = 6). Voice line 0 unless time ran out; then the normal interrupt again ($BEC2), the score ($BA08), the high score and name entry ($BC04), the prompt from $BDBD, and waits for RESTORE or RUN/STOP ($BE2D returning $F0) before restarting at $388C.","t":"code","b":[120],"m":"sei","x":[33999,43876]},{"a":46983,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":46985,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":46988,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":46991,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":46994,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":46996,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":46999,"t":"code","b":[32,210,132],"m":"jsr","oa":34002,"o":"clear_screen"},{"a":47002,"t":"code","b":[32,230,132],"m":"jsr","oa":34022,"o":"fill_colour_ram"},{"a":47005,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":47007,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":47010,"t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top"},{"a":47013,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":47015,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":47018,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":47020,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":47023,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":47025,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":47028,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":47031,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":47034,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47036,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":47039,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":47041,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":47044,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":47046,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":47049,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47051,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":47053,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":47055,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":47057,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":47059,"l":"b_B7D3","t":"code","b":[138],"m":"txa","x":[47082]},{"a":47060,"t":"code","b":[72],"m":"pha"},{"a":47061,"t":"code","b":[32,150,185],"m":"jsr","oa":47510,"o":"draw_box_top"},{"a":47064,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47067,"t":"code","b":[32,207,185],"m":"jsr","oa":47567,"o":"draw_box_side"},{"a":47070,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47073,"t":"code","b":[32,225,185],"m":"jsr","oa":47585,"o":"draw_box_bottom"},{"a":47076,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":47079,"t":"code","b":[104],"m":"pla"},{"a":47080,"t":"code","b":[170],"m":"tax"},{"a":47081,"t":"code","b":[202],"m":"dex"},{"a":47082,"t":"code","b":[16,231],"m":"bpl","oa":47059,"o":"b_B7D3"},{"a":47084,"t":"code","b":[32,150,185],"m":"jsr","oa":47510,"o":"draw_box_top"},{"a":47087,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47090,"t":"code","b":[32,225,185],"m":"jsr","oa":47585,"o":"draw_box_bottom"},{"a":47093,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":47096,"t":"code","b":[32,150,185],"m":"jsr","oa":47510,"o":"draw_box_top"},{"a":47099,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47102,"t":"code","b":[32,207,185],"m":"jsr","oa":47567,"o":"draw_box_side"},{"a":47105,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47108,"t":"code","b":[32,207,185],"m":"jsr","oa":47567,"o":"draw_box_side"},{"a":47111,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47114,"t":"code","b":[32,225,185],"m":"jsr","oa":47585,"o":"draw_box_bottom"},{"a":47117,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":47120,"t":"code","b":[32,150,185],"m":"jsr","oa":47510,"o":"draw_box_top"},{"a":47123,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47126,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":47128,"l":"b_B818","t":"code","b":[138],"m":"txa","x":[47139]},{"a":47129,"t":"code","b":[72],"m":"pha"},{"a":47130,"t":"code","b":[32,207,185],"m":"jsr","oa":47567,"o":"draw_box_side"},{"a":47133,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47136,"t":"code","b":[104],"m":"pla"},{"a":47137,"t":"code","b":[170],"m":"tax"},{"a":47138,"t":"code","b":[202],"m":"dex"},{"a":47139,"t":"code","b":[16,243],"m":"bpl","oa":47128,"o":"b_B818"},{"a":47141,"t":"code","b":[32,225,185],"m":"jsr","oa":47585,"o":"draw_box_bottom"},{"a":47144,"t":"code","b":[169,210],"m":"lda","o":"#$D2"},{"a":47146,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":47148,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":47150,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":47152,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":47154,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":47156,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":47158,"t":"code","b":[162,6],"m":"ldx","o":"#$06"},{"a":47160,"l":"b_B838","t":"code","b":[224,4],"m":"cpx","o":"#$04","x":[47219]},{"a":47162,"t":"code","b":[208,18],"m":"bne","oa":47182,"o":"b_B84E"},{"a":47164,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours"},{"a":47166,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":47168,"t":"code","b":[208,12],"m":"bne","oa":47182,"o":"b_B84E"},{"a":47170,"t":"code","b":[169,87],"m":"lda","o":"#$57"},{"a":47172,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":47174,"t":"code","b":[169,185],"m":"lda","o":"#$B9"},{"a":47176,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":47178,"t":"code","b":[160,34],"m":"ldy","o":"#$22"},{"a":47180,"t":"code","b":[16,16],"m":"bpl","oa":47198,"o":"b_B85E"},{"a":47182,"l":"b_B84E","t":"code","b":[138],"m":"txa","x":[47162,47168]},{"a":47183,"t":"code","b":[10],"m":"asl","o":"a"},{"a":47184,"t":"code","b":[168],"m":"tay"},{"a":47185,"t":"code","b":[185,122,185],"m":"lda","oa":47482,"o":"tbl_tally_labels,y"},{"a":47188,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":47190,"t":"code","b":[185,123,185],"m":"lda","oa":47483,"o":"f_B97B,y"},{"a":47193,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":47195,"t":"code","b":[188,136,185],"m":"ldy","oa":47496,"o":"tbl_tally_lengths,x"},{"a":47198,"l":"b_B85E","t":"code","b":[169,7],"m":"lda","o":"#$07","x":[47180,47207]},{"a":47200,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":47202,"t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y"},{"a":47204,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":47206,"t":"code","b":[136],"m":"dey"},{"a":47207,"t":"code","b":[16,245],"m":"bpl","oa":47198,"o":"b_B85E"},{"a":47209,"t":"code","b":[188,143,185],"m":"ldy","oa":47503,"o":"tbl_tally_rows,x"},{"a":47212,"l":"b_B86C","t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1","x":[47216]},{"a":47215,"t":"code","b":[136],"m":"dey"},{"a":47216,"t":"code","b":[16,250],"m":"bpl","oa":47212,"o":"b_B86C"},{"a":47218,"t":"code","b":[202],"m":"dex"},{"a":47219,"t":"code","b":[16,195],"m":"bpl","oa":47160,"o":"b_B838"},{"a":47221,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours"},{"a":47223,"t":"code","b":[201,6],"m":"cmp","o":"#$06"},{"a":47225,"t":"code","b":[240,5],"m":"beq","oa":47232,"o":"b_B880"},{"a":47227,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":47229,"t":"code","b":[32,217,190],"m":"jsr","oa":48857,"o":"say_line"},{"a":47232,"l":"b_B880","t":"code","b":[32,194,190],"m":"jsr","oa":48834,"o":"irq_normal","x":[47225]},{"a":47235,"t":"code","b":[32,8,186],"m":"jsr","oa":47624,"o":"compute_score"},{"a":47238,"t":"code","b":[32,4,188],"m":"jsr","oa":48132,"o":"hall_of_fame"},{"a":47241,"t":"code","b":[160,35],"m":"ldy","o":"#$23"},{"a":47243,"l":"b_B88B","t":"code","b":[185,189,189],"m":"lda","oa":48573,"o":"str_new_game,y","x":[47256]},{"a":47246,"t":"code","b":[153,170,66],"m":"sta","oa":17066,"o":"f_42AA,y"},{"a":47249,"t":"code","b":[185,225,189],"m":"lda","oa":48609,"o":"tbl_new_game_colours,y"},{"a":47252,"t":"code","b":[153,170,218],"m":"sta","o":"$DAAA,y"},{"a":47255,"t":"code","b":[136],"m":"dey"},{"a":47256,"t":"code","b":[16,241],"m":"bpl","oa":47243,"o":"b_B88B"},{"a":47258,"l":"b_B89A","t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay","x":[47266]},{"a":47261,"t":"code","b":[32,45,190],"m":"jsr","oa":48685,"o":"read_key"},{"a":47264,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":47266,"t":"code","b":[208,246],"m":"bne","oa":47258,"o":"b_B89A"},{"a":47268,"t":"code","b":[76,140,56],"m":"jmp","oa":14476,"o":"j_388C"},{"a":47271,"l":"str_tally","c":"The end screen's text in the $4800 alphabet: PUZZLE PIECES FOUND ($B8A7), PASSWORDS FOUND ($B8BA), PUZZLES SOLVED ($B8C9), SECONDS REMAINING ($B8D7), MISSION COMPLETE ($B8E8), T O T A L   S C O R E ($B8F8), THIS SURPASSES THE PREVIOUS HIGH SCORE OF ($B90F), HALL OF FAME ($B94A) and M I S S I O N   T E R M I N A T E D ($B957).","t":"byte","b":[128,133,138,138,124,117,83,128]},{"a":47279,"t":"byte","b":[121,117,115,117,131,83,118,127]},{"a":47287,"t":"byte","b":[133,126,116,128,113,131,131,135]},{"a":47295,"t":"byte","b":[127,130,116,131,83,118,127,133]},{"a":47303,"t":"byte","b":[126,116,128,133,138,138,124,117]},{"a":47311,"t":"byte","b":[131,83,131,127,124,134,117,116]},{"a":47319,"t":"byte","b":[131,117,115,127,126,116,131,83]},{"a":47327,"t":"byte","b":[130,117,125,113,121,126,121,126]},{"a":47335,"t":"byte","b":[119,125,121,131,131,121,127,126]},{"a":47343,"t":"byte","b":[83,115,127,125,128,124,117,132]},{"a":47351,"t":"byte","b":[117,132,83,127,83,132,83,113]},{"a":47359,"t":"byte","b":[83,124,83,83,83,131,83,115]},{"a":47367,"t":"byte","b":[83,127,83,130,83,117]},{"a":47373,"l":"f_B90D","c":"Part of str_tally: THIS SURPASSES THE PREVIOUS (from $B90D) and HIGH SCORE OF (from $B92A) are copied as two 29-character lines by hall_of_fame.","t":"byte","b":[83,83,132,120,121,131,83,131],"x":[48207]},{"a":47381,"t":"byte","b":[133,130,128,113,131,131,117,131]},{"a":47389,"t":"byte","b":[83,132,120,117,83,128,130,117]},{"a":47397,"t":"byte","b":[134,121,127,133,131]},{"a":47402,"l":"str_tally_2","c":"The second line of the high-score message within str_tally, HIGH SCORE OF, then HALL OF FAME and MISSION TERMINATED.","t":"byte","b":[83,83,120,121,119,120,83,131],"x":[48213]},{"a":47410,"t":"byte","b":[115,127,130,117,83,127,118,83]},{"a":47418,"t":"byte","b":[83,83,83,83,83,254,83,83]},{"a":47426,"t":"byte","b":[83,83,83,83,83,83,83,83]},{"a":47434,"t":"byte","b":[83,120,113,124,124,83,127,118]},{"a":47442,"t":"byte","b":[83,118,113,125,117,125,83,121]},{"a":47450,"t":"byte","b":[83,131,83,131,83,121,83,127]},{"a":47458,"t":"byte","b":[83,126,83,83,83,132,83,117]},{"a":47466,"t":"byte","b":[83,130,83,125,83,121,83,126]},{"a":47474,"t":"byte","b":[83,113,83,132,83,117,83,116]},{"a":47482,"l":"tbl_tally_labels","c":"Addresses of the seven tally labels in str_tally, drawn by end_of_game from the last up.","t":"word","b":[167,184,186,184,201,184,215,184],"d":[47271,47290,47305,47319],"x":[47185]},{"a":47483,"t":"note","l":"f_B97B","c":"High bytes of the addresses in tbl_tally_labels.","note":"inside the item at $B97A","x":[47190]},{"a":47490,"t":"word","b":[232,184,248,184,64,185],"d":[47336,47352,47424]},{"a":47496,"l":"tbl_tally_lengths","c":"Length - 1 of each tally label.","t":"byte","b":[18,14,13,16,15,20,22],"x":[47195]},{"a":47503,"l":"tbl_tally_rows","c":"Rows to move up between the tally's labels.","t":"byte","b":[0,0,2,0,2,2,5],"x":[47209]},{"a":47510,"l":"draw_box_top","c":"Draws a row of the end screen's box: 37 cells of glyph $CA, then ten edge glyphs from $B9AD at the offsets in $B9B7.","t":"code","b":[160,37],"m":"ldy","o":"#$25","x":[47061,47084,47096,47120]},{"a":47512,"t":"code","b":[169,202],"m":"lda","o":"#$CA"},{"a":47514,"l":"b_B99A","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[47517]},{"a":47516,"t":"code","b":[136],"m":"dey"},{"a":47517,"t":"code","b":[208,251],"m":"bne","oa":47514,"o":"b_B99A"},{"a":47519,"t":"code","b":[162,9],"m":"ldx","o":"#$09"},{"a":47521,"l":"b_B9A1","t":"code","b":[189,173,185],"m":"lda","oa":47533,"o":"tbl_box_glyphs,x","x":[47530]},{"a":47524,"t":"code","b":[188,183,185],"m":"ldy","oa":47543,"o":"f_B9B7,x"},{"a":47527,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":47529,"t":"code","b":[202],"m":"dex"},{"a":47530,"t":"code","b":[16,245],"m":"bpl","oa":47521,"o":"b_B9A1"},{"a":47532,"t":"code","b":[96],"m":"rts"},{"a":47533,"l":"tbl_box_glyphs","c":"Glyphs and their column offsets for the box rows: corners and edges ($C8, $C9, $CB, $CC) and the colour-RAM edge marks, offsets $00, $01, $26, $27 ...","t":"byte","b":[200,201,203,204,218,218,218,218],"x":[47521]},{"a":47541,"t":"byte","b":[218,218]},{"a":47543,"l":"f_B9B7","c":"Column offsets of the box glyphs in tbl_box_glyphs.","t":"byte","b":[0,1,38,39,4,6,8,35],"x":[47524,47572]},{"a":47551,"t":"byte","b":[33,31]},{"a":47553,"l":"tbl_box_offsets2","c":"Column offsets of the box's lower edge glyphs.","t":"byte","b":[0,1,38,39,44,46,48,75],"x":[47601]},{"a":47561,"t":"byte","b":[73,71,40,41,78,79]},{"a":47567,"l":"draw_box_side","c":"Draws the box's left and right edges on one row: four glyphs from $B9DD at the offsets in $B9B7.","t":"code","b":[162,3],"m":"ldx","o":"#$03","x":[47067,47102,47108,47130]},{"a":47569,"l":"b_B9D1","t":"code","b":[189,221,185],"m":"lda","oa":47581,"o":"tbl_box_sides,x","x":[47578]},{"a":47572,"t":"code","b":[188,183,185],"m":"ldy","oa":47543,"o":"f_B9B7,x"},{"a":47575,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":47577,"t":"code","b":[202],"m":"dex"},{"a":47578,"t":"code","b":[16,245],"m":"bpl","oa":47569,"o":"b_B9D1"},{"a":47580,"t":"code","b":[96],"m":"rts"},{"a":47581,"l":"tbl_box_sides","c":"The four side glyphs of the box: $CD, $D8, $D7, $D0.","t":"byte","b":[205,216,215,208],"x":[47569]},{"a":47585,"l":"draw_box_bottom","c":"Draws the box's bottom row: glyph $D3 from column $2A to $4D and fourteen edge glyphs from $B9FA.","t":"code","b":[160,77],"m":"ldy","o":"#$4D","x":[47073,47090,47114,47141]},{"a":47587,"t":"code","b":[169,211],"m":"lda","o":"#$D3"},{"a":47589,"l":"b_B9E5","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[47594]},{"a":47591,"t":"code","b":[136],"m":"dey"},{"a":47592,"t":"code","b":[192,42],"m":"cpy","o":"#$2A"},{"a":47594,"t":"code","b":[176,249],"m":"bcs","oa":47589,"o":"b_B9E5"},{"a":47596,"t":"code","b":[162,13],"m":"ldx","o":"#$0D"},{"a":47598,"l":"b_B9EE","t":"code","b":[189,250,185],"m":"lda","oa":47610,"o":"tbl_box_bottom,x","x":[47607]},{"a":47601,"t":"code","b":[188,193,185],"m":"ldy","oa":47553,"o":"tbl_box_offsets2,x"},{"a":47604,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":47606,"t":"code","b":[202],"m":"dex"},{"a":47607,"t":"code","b":[16,245],"m":"bpl","oa":47598,"o":"b_B9EE"},{"a":47609,"t":"code","b":[96],"m":"rts"},{"a":47610,"l":"tbl_box_bottom","c":"The box's bottom edge glyphs, $CD-$D6.","t":"byte","b":[205,206,207,208,212,212,212,212],"x":[47598]},{"a":47618,"t":"byte","b":[212,212,209,210,213,214]},{"a":47624,"l":"compute_score","c":"Works out and shows the score (decimal, $D9 units, $DA hundreds, $DB ten-thousands): puzzle pieces found ($D6) and passwords found ($D7) at 100 points each, puzzles solved ($D8) at 500 each, each line shown as count \u00d7 points = total ($BB7C template). If the mission was completed with time left, the seconds remaining until six o'clock (from the clock $D2/$D3/$D4, 12 o'clock counted as 0) at one point each, and a bonus of 1,000 for the mission; when time ran out, 000. Then the total ($BB08). Live: a forced win at 12:24:47 with nothing found scored 20,113 seconds + 1,000 = 21,113.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[47235]},{"a":47626,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"score"},{"a":47628,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"score_hundreds"},{"a":47630,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"score_top"},{"a":47632,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":47634,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":47636,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":47638,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":47640,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":47642,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":47644,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":47646,"t":"code","b":[32,124,187],"m":"jsr","oa":47996,"o":"draw_tally_line"},{"a":47649,"t":"code","b":[164,214],"m":"ldy","oa":214,"o":"pieces_found"},{"a":47651,"t":"code","b":[32,166,187],"m":"jsr","oa":48038,"o":"count_hundreds"},{"a":47654,"t":"code","b":[32,218,187],"m":"jsr","oa":48090,"o":"print_tally_counts"},{"a":47657,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47660,"t":"code","b":[32,124,187],"m":"jsr","oa":47996,"o":"draw_tally_line"},{"a":47663,"t":"code","b":[164,215],"m":"ldy","oa":215,"o":"passwords_found"},{"a":47665,"t":"code","b":[32,166,187],"m":"jsr","oa":48038,"o":"count_hundreds"},{"a":47668,"t":"code","b":[32,218,187],"m":"jsr","oa":48090,"o":"print_tally_counts"},{"a":47671,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":47674,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47677,"t":"code","b":[32,124,187],"m":"jsr","oa":47996,"o":"draw_tally_line"},{"a":47680,"t":"code","b":[164,216],"m":"ldy","oa":216,"o":"puzzles_solved"},{"a":47682,"t":"code","b":[32,193,187],"m":"jsr","oa":48065,"o":"count_five_hundreds"},{"a":47685,"t":"code","b":[165,216],"m":"lda","oa":216,"o":"puzzles_solved"},{"a":47687,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":47689,"t":"code","b":[32,66,187],"m":"jsr","oa":47938,"o":"print_digit"},{"a":47692,"t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1"},{"a":47694,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":47696,"t":"code","b":[240,9],"m":"beq","oa":47707,"o":"b_BA5B"},{"a":47698,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47699,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47700,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47701,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47702,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":47704,"t":"code","b":[32,66,187],"m":"jsr","oa":47938,"o":"print_digit"},{"a":47707,"l":"b_BA5B","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[47696]},{"a":47709,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":47711,"t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":47713,"t":"code","b":[32,66,187],"m":"jsr","oa":47938,"o":"print_digit"},{"a":47716,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":47718,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":47720,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":47722,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47725,"t":"code","b":[165,212],"m":"lda","oa":212,"o":"clock_hours"},{"a":47727,"t":"code","b":[201,18],"m":"cmp","o":"#$12"},{"a":47729,"t":"code","b":[208,4],"m":"bne","oa":47735,"o":"b_BA77"},{"a":47731,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47733,"t":"code","b":[133,212],"m":"sta","oa":212,"o":"clock_hours"},{"a":47735,"l":"b_BA77","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[47729]},{"a":47737,"t":"code","b":[208,16],"m":"bne","oa":47755,"o":"b_BA8B"},{"a":47739,"t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":47741,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":47743,"l":"b_BA7F","t":"code","b":[169,139],"m":"lda","o":"#$8B","x":[47750]},{"a":47745,"t":"code","b":[32,69,187],"m":"jsr","oa":47941,"o":"print_glyph"},{"a":47748,"t":"code","b":[136],"m":"dey"},{"a":47749,"t":"code","b":[202],"m":"dex"},{"a":47750,"t":"code","b":[16,247],"m":"bpl","oa":47743,"o":"b_BA7F"},{"a":47752,"t":"code","b":[76,248,186],"m":"jmp","oa":47864,"o":"score_time_up"},{"a":47755,"l":"b_BA8B","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[47737]},{"a":47757,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":47759,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":47761,"t":"code","b":[248],"m":"sed"},{"a":47762,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":47764,"t":"code","b":[56],"m":"sec"},{"a":47765,"t":"code","b":[229,210],"m":"sbc","oa":210,"o":"clock_seconds"},{"a":47767,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":47769,"t":"code","b":[32,76,187],"m":"jsr","oa":47948,"o":"add_score"},{"a":47772,"t":"code","b":[169,89],"m":"lda","o":"#$59"},{"a":47774,"t":"code","b":[56],"m":"sec"},{"a":47775,"t":"code","b":[229,211],"m":"sbc","oa":211,"o":"clock_minutes"},{"a":47777,"t":"code","b":[240,17],"m":"beq","oa":47796,"o":"b_BAB4"},{"a":47779,"l":"b_BAA3","t":"code","b":[72],"m":"pha","x":[47794]},{"a":47780,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":47782,"t":"code","b":[32,100,187],"m":"jsr","oa":47972,"o":"add_e4"},{"a":47785,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":47787,"t":"code","b":[32,76,187],"m":"jsr","oa":47948,"o":"add_score"},{"a":47790,"t":"code","b":[104],"m":"pla"},{"a":47791,"t":"code","b":[56],"m":"sec"},{"a":47792,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":47794,"t":"code","b":[208,239],"m":"bne","oa":47779,"o":"b_BAA3"},{"a":47796,"l":"b_BAB4","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[47777]},{"a":47798,"t":"code","b":[56],"m":"sec"},{"a":47799,"t":"code","b":[229,212],"m":"sbc","oa":212,"o":"clock_hours"},{"a":47801,"t":"code","b":[240,17],"m":"beq","oa":47820,"o":"b_BACC"},{"a":47803,"l":"b_BABB","t":"code","b":[72],"m":"pha","x":[47818]},{"a":47804,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":47806,"t":"code","b":[32,109,187],"m":"jsr","oa":47981,"o":"add_e5"},{"a":47809,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":47811,"t":"code","b":[32,85,187],"m":"jsr","oa":47957,"o":"add_score_hundreds"},{"a":47814,"t":"code","b":[104],"m":"pla"},{"a":47815,"t":"code","b":[56],"m":"sec"},{"a":47816,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":47818,"t":"code","b":[208,239],"m":"bne","oa":47803,"o":"b_BABB"},{"a":47820,"l":"b_BACC","t":"code","b":[216],"m":"cld","x":[47801]},{"a":47821,"t":"code","b":[32,8,187],"m":"jsr","oa":47880,"o":"print_bcd6"},{"a":47824,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":47827,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47830,"t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":47832,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":47834,"l":"b_BADA","t":"code","b":[189,244,186],"m":"lda","oa":47860,"o":"tbl_bonus_digits,x","x":[47842]},{"a":47837,"t":"code","b":[32,66,187],"m":"jsr","oa":47938,"o":"print_digit"},{"a":47840,"t":"code","b":[136],"m":"dey"},{"a":47841,"t":"code","b":[202],"m":"dex"},{"a":47842,"t":"code","b":[16,246],"m":"bpl","oa":47834,"o":"b_BADA"},{"a":47844,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":47846,"t":"code","b":[248],"m":"sed"},{"a":47847,"t":"code","b":[32,85,187],"m":"jsr","oa":47957,"o":"add_score_hundreds"},{"a":47850,"t":"code","b":[216],"m":"cld"},{"a":47851,"t":"code","b":[32,62,175],"m":"jsr","oa":44862,"o":"addr_down2"},{"a":47854,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":47857,"t":"code","b":[76,251,186],"m":"jmp","oa":47867,"o":"j_BAFB"},{"a":47860,"l":"tbl_bonus_digits","c":"The digits of the mission bonus shown on the end screen: 1, 0, 0, 0.","t":"byte","b":[1,0,0,0],"x":[47834]},{"a":47864,"l":"score_time_up","c":"compute_score's path when time ran out: moves the pointer down six rows ($AF26), then shows the total.","t":"code","b":[32,38,175],"m":"jsr","oa":44838,"o":"addr_down6","x":[47752]},{"a":47867,"l":"j_BAFB","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[47857]},{"a":47869,"l":"b_BAFD","t":"code","b":[181,217],"m":"lda","oa":217,"o":"score,x","x":[47874]},{"a":47871,"t":"code","b":[149,228],"m":"sta","oa":228,"o":"tmp1,x"},{"a":47873,"t":"code","b":[202],"m":"dex"},{"a":47874,"t":"code","b":[16,249],"m":"bpl","oa":47869,"o":"b_BAFD"},{"a":47876,"t":"code","b":[32,8,187],"m":"jsr","oa":47880,"o":"print_bcd6"},{"a":47879,"t":"code","b":[96],"m":"rts"},{"a":47880,"l":"print_bcd6","c":"Prints the six-digit decimal number in $E4-$E6 at $10,y onwards, without leading zeros (a single 0 for zero).","t":"code","b":[160,7],"m":"ldy","o":"#$07","x":[47821,47876,48246]},{"a":47882,"l":"print_bcd6_y","c":"Entry of print_bcd6 with the column in Y already set.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[48289]},{"a":47884,"t":"code","b":[133,231],"m":"sta","oa":231,"o":"tmp4"},{"a":47886,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":47888,"l":"b_BB10","t":"code","b":[181,228],"m":"lda","oa":228,"o":"tmp1,x","x":[47925]},{"a":47890,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":47892,"t":"code","b":[208,4],"m":"bne","oa":47898,"o":"b_BB1A"},{"a":47894,"t":"code","b":[197,231],"m":"cmp","oa":231,"o":"tmp4"},{"a":47896,"t":"code","b":[240,9],"m":"beq","oa":47907,"o":"b_BB23"},{"a":47898,"l":"b_BB1A","t":"code","b":[230,231],"m":"inc","oa":231,"o":"tmp4","x":[47892]},{"a":47900,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47901,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47902,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47903,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":47904,"t":"code","b":[32,66,187],"m":"jsr","oa":47938,"o":"print_digit"},{"a":47907,"l":"b_BB23","t":"code","b":[200],"m":"iny","x":[47896]},{"a":47908,"t":"code","b":[181,228],"m":"lda","oa":228,"o":"tmp1,x"},{"a":47910,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":47912,"t":"code","b":[208,4],"m":"bne","oa":47918,"o":"b_BB2E"},{"a":47914,"t":"code","b":[197,231],"m":"cmp","oa":231,"o":"tmp4"},{"a":47916,"t":"code","b":[240,5],"m":"beq","oa":47923,"o":"b_BB33"},{"a":47918,"l":"b_BB2E","t":"code","b":[230,231],"m":"inc","oa":231,"o":"tmp4","x":[47912]},{"a":47920,"t":"code","b":[32,66,187],"m":"jsr","oa":47938,"o":"print_digit"},{"a":47923,"l":"b_BB33","t":"code","b":[200],"m":"iny","x":[47916]},{"a":47924,"t":"code","b":[202],"m":"dex"},{"a":47925,"t":"code","b":[16,217],"m":"bpl","oa":47888,"o":"b_BB10"},{"a":47927,"t":"code","b":[165,231],"m":"lda","oa":231,"o":"tmp4"},{"a":47929,"t":"code","b":[208,6],"m":"bne","oa":47937,"o":"r_BB41"},{"a":47931,"t":"code","b":[136],"m":"dey"},{"a":47932,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":47934,"t":"code","b":[32,66,187],"m":"jsr","oa":47938,"o":"print_digit"},{"a":47937,"l":"r_BB41","t":"code","b":[96],"m":"rts","x":[47929]},{"a":47938,"l":"print_digit","c":"Writes digit A (as glyph $8B + A of the $4800 alphabet) at ($10),y in white.","t":"code","b":[24],"m":"clc","x":[47689,47704,47713,47837,47904,47920,47934]},{"a":47939,"t":"code","b":[105,139],"m":"adc","o":"#$8B"},{"a":47941,"l":"print_glyph","c":"Entry of print_digit that writes the glyph in A (not a digit) at ($10),y in white.","t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y","x":[47745]},{"a":47943,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":47945,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":47947,"t":"code","b":[96],"m":"rts"},{"a":47948,"l":"add_score","c":"Adds A (decimal) to the score's units $D9, carrying into $DA and $DB; entered at $BB55 to add to the hundreds.","t":"code","b":[24],"m":"clc","x":[47769,47787]},{"a":47949,"t":"code","b":[101,217],"m":"adc","oa":217,"o":"score"},{"a":47951,"t":"code","b":[133,217],"m":"sta","oa":217,"o":"score"},{"a":47953,"t":"code","b":[144,16],"m":"bcc","oa":47971,"o":"r_BB63"},{"a":47955,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":47957,"l":"add_score_hundreds","c":"Entry of add_score that adds A to the hundreds $DA.","t":"code","b":[24],"m":"clc","x":[47811,47847,48082]},{"a":47958,"t":"code","b":[101,218],"m":"adc","oa":218,"o":"score_hundreds"},{"a":47960,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"score_hundreds"},{"a":47962,"t":"code","b":[144,7],"m":"bcc","oa":47971,"o":"r_BB63"},{"a":47964,"t":"code","b":[165,219],"m":"lda","oa":219,"o":"score_top"},{"a":47966,"t":"code","b":[24],"m":"clc"},{"a":47967,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":47969,"t":"code","b":[133,219],"m":"sta","oa":219,"o":"score_top"},{"a":47971,"l":"r_BB63","t":"code","b":[96],"m":"rts","x":[47953,47962]},{"a":47972,"l":"add_e4","c":"Adds A (decimal) to the three-byte number $E4-$E6; entered at $BB6D for the middle byte.","t":"code","b":[24],"m":"clc","x":[47782]},{"a":47973,"t":"code","b":[101,228],"m":"adc","oa":228,"o":"tmp1"},{"a":47975,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":47977,"t":"code","b":[144,16],"m":"bcc","oa":47995,"o":"r_BB7B"},{"a":47979,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":47981,"l":"add_e5","c":"Entry of add_e4 that adds A to the middle byte $E5.","t":"code","b":[24],"m":"clc","x":[47806]},{"a":47982,"t":"code","b":[101,229],"m":"adc","oa":229,"o":"tmp2"},{"a":47984,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":47986,"t":"code","b":[144,7],"m":"bcc","oa":47995,"o":"r_BB7B"},{"a":47988,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":47990,"t":"code","b":[24],"m":"clc"},{"a":47991,"t":"code","b":[101,230],"m":"adc","oa":230,"o":"tmp3"},{"a":47993,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":47995,"l":"r_BB7B","t":"code","b":[96],"m":"rts","x":[47977,47986]},{"a":47996,"l":"draw_tally_line","c":"Draws the template of one tally line, 13 cells from $BB8C in the colours from $BB99: the count, `\u00d7` and `00`, `=` and `00`.","t":"code","b":[160,12],"m":"ldy","o":"#$0C","x":[47646,47660,47677]},{"a":47998,"l":"b_BB7E","t":"code","b":[185,140,187],"m":"lda","oa":48012,"o":"tbl_tally_template,y","x":[48009]},{"a":48001,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":48003,"t":"code","b":[185,153,187],"m":"lda","oa":48025,"o":"tbl_tally_colours,y"},{"a":48006,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":48008,"t":"code","b":[136],"m":"dey"},{"a":48009,"t":"code","b":[16,243],"m":"bpl","oa":47998,"o":"b_BB7E"},{"a":48011,"t":"code","b":[96],"m":"rts"},{"a":48012,"l":"tbl_tally_template","c":"The tally line's glyphs: blanks, the multiplication sign $D9, zeros ($8B) and the equals sign ($96).","t":"byte","b":[83,83,217,83,139,139,83,150],"x":[47998]},{"a":48020,"t":"byte","b":[83,83,83,139,139]},{"a":48025,"l":"tbl_tally_colours","c":"Colours of the tally line's cells: white and yellow.","t":"byte","b":[1,1,7,7,7,7,7,7],"x":[48003]},{"a":48033,"t":"byte","b":[7,1,1,1,1]},{"a":48038,"l":"count_hundreds","c":"Counts Y into $E4 and adds 100 points per unit to the score (decimal): for pieces and passwords.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[47651,47665]},{"a":48040,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":48042,"t":"code","b":[152],"m":"tya"},{"a":48043,"t":"code","b":[240,19],"m":"beq","oa":48064,"o":"r_BBC0"},{"a":48045,"t":"code","b":[248],"m":"sed"},{"a":48046,"l":"b_BBAE","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[48061]},{"a":48048,"t":"code","b":[24],"m":"clc"},{"a":48049,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":48051,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":48053,"t":"code","b":[165,218],"m":"lda","oa":218,"o":"score_hundreds"},{"a":48055,"t":"code","b":[24],"m":"clc"},{"a":48056,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":48058,"t":"code","b":[133,218],"m":"sta","oa":218,"o":"score_hundreds"},{"a":48060,"t":"code","b":[136],"m":"dey"},{"a":48061,"t":"code","b":[208,239],"m":"bne","oa":48046,"o":"b_BBAE"},{"a":48063,"t":"code","b":[216],"m":"cld"},{"a":48064,"l":"r_BBC0","t":"code","b":[96],"m":"rts","x":[48043]},{"a":48065,"l":"count_five_hundreds","c":"Counts Y \u00d7 5 into $E4 and adds 500 points per unit: for puzzles solved.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[47682]},{"a":48067,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":48069,"t":"code","b":[152],"m":"tya"},{"a":48070,"t":"code","b":[240,17],"m":"beq","oa":48089,"o":"r_BBD9"},{"a":48072,"t":"code","b":[248],"m":"sed"},{"a":48073,"l":"b_BBC9","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[48086]},{"a":48075,"t":"code","b":[24],"m":"clc"},{"a":48076,"t":"code","b":[105,5],"m":"adc","o":"#$05"},{"a":48078,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":48080,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":48082,"t":"code","b":[32,85,187],"m":"jsr","oa":47957,"o":"add_score_hundreds"},{"a":48085,"t":"code","b":[136],"m":"dey"},{"a":48086,"t":"code","b":[208,241],"m":"bne","oa":48073,"o":"b_BBC9"},{"a":48088,"t":"code","b":[216],"m":"cld"},{"a":48089,"l":"r_BBD9","t":"code","b":[96],"m":"rts","x":[48070]},{"a":48090,"l":"print_tally_counts","c":"Prints the decimal count $E4 in the tally line twice: as the count (columns 0-1) and in the product (columns 9-10), with the glyph $8C after the count.","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[47654,47668]},{"a":48092,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":48094,"t":"code","b":[240,14],"m":"beq","oa":48110,"o":"b_BBEE"},{"a":48096,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":48097,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":48098,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":48099,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":48100,"t":"code","b":[105,139],"m":"adc","o":"#$8B"},{"a":48102,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":48104,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":48106,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":48108,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":48110,"l":"b_BBEE","t":"code","b":[165,228],"m":"lda","oa":228,"o":"tmp1","x":[48094]},{"a":48112,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":48114,"t":"code","b":[24],"m":"clc"},{"a":48115,"t":"code","b":[105,139],"m":"adc","o":"#$8B"},{"a":48117,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":48119,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":48121,"t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":48123,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":48125,"t":"code","b":[169,140],"m":"lda","o":"#$8C"},{"a":48127,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":48129,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":48131,"t":"code","b":[96],"m":"rts"},{"a":48132,"l":"hall_of_fame","c":"The high-score table, kept at $CF00-$CF77 while the machine stays on: 15 entries of 8 bytes, a three-byte decimal score and a five-character name. Finds the score's place ($BE1D compares with each entry from the bottom), moves the lower entries down one and writes the new score in. If it beats the top entry, shows THIS SURPASSES THE PREVIOUS HIGH SCORE OF and the old top score. Then lists all fifteen entries in three columns of five (score and name, in purple), and if the score made the table, asks for the player's name: ENTER YOUR I.D. CODE ON THE KEYBOARD, five characters typed with the keyboard ($BE2D), DEL to rub out, RETURN to finish; stored into the entry.","t":"code","b":[169,112],"m":"lda","o":"#$70","x":[47238]},{"a":48134,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":48136,"t":"code","b":[169,207],"m":"lda","o":"#$CF"},{"a":48138,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":48140,"t":"code","b":[162,14],"m":"ldx","o":"#$0E"},{"a":48142,"l":"b_BC0E","t":"code","b":[32,29,190],"m":"jsr","oa":48669,"o":"compare_score","x":[48195]},{"a":48145,"t":"code","b":[144,104],"m":"bcc","oa":48251,"o":"b_BC7B"},{"a":48147,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":48149,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":48151,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"ptr_data_hi"},{"a":48153,"t":"code","b":[133,229],"m":"sta","oa":229,"o":"tmp2"},{"a":48155,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":48157,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":48160,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":48162,"l":"b_BC22","t":"code","b":[177,228],"m":"lda","oa":228,"o":"(tmp1),y","x":[48171]},{"a":48164,"t":"code","b":[145,24],"m":"sta","oa":24,"o":"(ptr_data),y"},{"a":48166,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":48168,"t":"code","b":[145,228],"m":"sta","oa":228,"o":"(tmp1),y"},{"a":48170,"t":"code","b":[136],"m":"dey"},{"a":48171,"t":"code","b":[16,245],"m":"bpl","oa":48162,"o":"b_BC22"},{"a":48173,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":48175,"l":"b_BC2F","t":"code","b":[185,217,0],"m":"lda","oa":217,"o":"score,y","x":[48181]},{"a":48178,"t":"code","b":[145,228],"m":"sta","oa":228,"o":"(tmp1),y"},{"a":48180,"t":"code","b":[136],"m":"dey"},{"a":48181,"t":"code","b":[16,248],"m":"bpl","oa":48175,"o":"b_BC2F"},{"a":48183,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"ptr_data"},{"a":48185,"t":"code","b":[56],"m":"sec"},{"a":48186,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":48188,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":48190,"t":"code","b":[176,2],"m":"bcs","oa":48194,"o":"b_BC42"},{"a":48192,"t":"code","b":[198,25],"m":"dec","oa":25,"o":"ptr_data_hi"},{"a":48194,"l":"b_BC42","t":"code","b":[202],"m":"dex","x":[48190]},{"a":48195,"t":"code","b":[16,201],"m":"bpl","oa":48142,"o":"b_BC0E"},{"a":48197,"t":"code","b":[160,28],"m":"ldy","o":"#$1C"},{"a":48199,"l":"b_BC47","t":"code","b":[169,5],"m":"lda","o":"#$05","x":[48220]},{"a":48201,"t":"code","b":[153,10,218],"m":"sta","o":"$DA0A,y"},{"a":48204,"t":"code","b":[153,50,218],"m":"sta","o":"$DA32,y"},{"a":48207,"t":"code","b":[185,13,185],"m":"lda","oa":47373,"o":"f_B90D,y"},{"a":48210,"t":"code","b":[153,10,66],"m":"sta","oa":16906,"o":"f_420A,y"},{"a":48213,"t":"code","b":[185,42,185],"m":"lda","oa":47402,"o":"str_tally_2,y"},{"a":48216,"t":"code","b":[153,50,66],"m":"sta","oa":16946,"o":"f_4232,y"},{"a":48219,"t":"code","b":[136],"m":"dey"},{"a":48220,"t":"code","b":[16,233],"m":"bpl","oa":48199,"o":"b_BC47"},{"a":48222,"t":"code","b":[162,2],"m":"ldx","o":"#$02"},{"a":48224,"l":"b_BC60","t":"code","b":[189,8,207],"m":"lda","oa":53000,"o":"f_CF08,x","x":[48230]},{"a":48227,"t":"code","b":[149,228],"m":"sta","oa":228,"o":"tmp1,x"},{"a":48229,"t":"code","b":[202],"m":"dex"},{"a":48230,"t":"code","b":[16,248],"m":"bpl","oa":48224,"o":"b_BC60"},{"a":48232,"t":"code","b":[169,58],"m":"lda","o":"#$3A"},{"a":48234,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":48236,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":48238,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":48240,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":48242,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":48244,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":48246,"t":"code","b":[32,8,187],"m":"jsr","oa":47880,"o":"print_bcd6"},{"a":48249,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":48251,"l":"b_BC7B","t":"code","b":[138],"m":"txa","x":[48145]},{"a":48252,"t":"code","b":[72],"m":"pha"},{"a":48253,"t":"code","b":[169,249],"m":"lda","o":"#$F9"},{"a":48255,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":48257,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":48259,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":48261,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"ptr_a_hi"},{"a":48263,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":48265,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"ptr_colour_hi"},{"a":48267,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":48269,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":48271,"t":"code","b":[169,207],"m":"lda","o":"#$CF"},{"a":48273,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"ptr_data_hi"},{"a":48275,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":48277,"l":"b_BC95","t":"code","b":[72],"m":"pha","x":[48361]},{"a":48278,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":48280,"l":"b_BC98","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[48286]},{"a":48282,"t":"code","b":[153,228,0],"m":"sta","oa":228,"o":"tmp1,y"},{"a":48285,"t":"code","b":[136],"m":"dey"},{"a":48286,"t":"code","b":[16,248],"m":"bpl","oa":48280,"o":"b_BC98"},{"a":48288,"t":"code","b":[200],"m":"iny"},{"a":48289,"t":"code","b":[32,10,187],"m":"jsr","oa":47882,"o":"print_bcd6_y"},{"a":48292,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":48294,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":48296,"l":"b_BCA8","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(ptr_data),y","x":[48301]},{"a":48298,"t":"code","b":[72],"m":"pha"},{"a":48299,"t":"code","b":[200],"m":"iny"},{"a":48300,"t":"code","b":[202],"m":"dex"},{"a":48301,"t":"code","b":[16,249],"m":"bpl","oa":48296,"o":"b_BCA8"},{"a":48303,"t":"code","b":[160,11],"m":"ldy","o":"#$0B"},{"a":48305,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":48307,"l":"b_BCB3","t":"code","b":[104],"m":"pla","x":[48316]},{"a":48308,"t":"code","b":[145,16],"m":"sta","oa":16,"o":"(ptr_a),y"},{"a":48310,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":48312,"t":"code","b":[145,20],"m":"sta","oa":20,"o":"(ptr_colour),y"},{"a":48314,"t":"code","b":[136],"m":"dey"},{"a":48315,"t":"code","b":[202],"m":"dex"},{"a":48316,"t":"code","b":[16,245],"m":"bpl","oa":48307,"o":"b_BCB3"},{"a":48318,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":48320,"t":"code","b":[32,184,190],"m":"jsr","oa":48824,"o":"add_to_ptr"},{"a":48323,"t":"code","b":[32,54,175],"m":"jsr","oa":44854,"o":"addr_down1"},{"a":48326,"t":"code","b":[104],"m":"pla"},{"a":48327,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":48329,"t":"code","b":[240,4],"m":"beq","oa":48335,"o":"b_BCCF"},{"a":48331,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":48333,"t":"code","b":[208,23],"m":"bne","oa":48358,"o":"b_BCE6"},{"a":48335,"l":"b_BCCF","t":"code","b":[72],"m":"pha","x":[48329]},{"a":48336,"t":"code","b":[32,22,175],"m":"jsr","oa":44822,"o":"addr_up4"},{"a":48339,"t":"code","b":[32,30,175],"m":"jsr","oa":44830,"o":"addr_up1"},{"a":48342,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"ptr_a"},{"a":48344,"t":"code","b":[24],"m":"clc"},{"a":48345,"t":"code","b":[105,12],"m":"adc","o":"#$0C"},{"a":48347,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"ptr_a"},{"a":48349,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"ptr_colour"},{"a":48351,"t":"code","b":[144,4],"m":"bcc","oa":48357,"o":"b_BCE5"},{"a":48353,"t":"code","b":[230,17],"m":"inc","oa":17,"o":"ptr_a_hi"},{"a":48355,"t":"code","b":[230,21],"m":"inc","oa":21,"o":"ptr_colour_hi"},{"a":48357,"l":"b_BCE5","t":"code","b":[104],"m":"pla","x":[48351]},{"a":48358,"l":"b_BCE6","t":"code","b":[56],"m":"sec","x":[48333]},{"a":48359,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":48361,"t":"code","b":[176,170],"m":"bcs","oa":48277,"o":"b_BC95"},{"a":48363,"t":"code","b":[104],"m":"pla"},{"a":48364,"t":"code","b":[170],"m":"tax"},{"a":48365,"t":"code","b":[232],"m":"inx"},{"a":48366,"t":"code","b":[224,15],"m":"cpx","o":"#$0F"},{"a":48368,"t":"code","b":[144,1],"m":"bcc","oa":48371,"o":"b_BCF3"},{"a":48370,"t":"code","b":[96],"m":"rts"},{"a":48371,"l":"b_BCF3","t":"code","b":[138],"m":"txa","x":[48368]},{"a":48372,"t":"code","b":[72],"m":"pha"},{"a":48373,"t":"code","b":[160,35],"m":"ldy","o":"#$23"},{"a":48375,"l":"b_BCF7","t":"code","b":[185,153,189],"m":"lda","oa":48537,"o":"str_enter_id,y","x":[48387]},{"a":48378,"t":"code","b":[153,170,66],"m":"sta","oa":17066,"o":"f_42AA,y"},{"a":48381,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":48383,"t":"code","b":[153,170,218],"m":"sta","o":"$DAAA,y"},{"a":48386,"t":"code","b":[136],"m":"dey"},{"a":48387,"t":"code","b":[16,242],"m":"bpl","oa":48375,"o":"b_BCF7"},{"a":48389,"t":"code","b":[188,138,189],"m":"ldy","oa":48522,"o":"tbl_hof_rows,x"},{"a":48392,"t":"code","b":[132,229],"m":"sty","oa":229,"o":"tmp2"},{"a":48394,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":48396,"t":"code","b":[153,0,219],"m":"sta","o":"$DB00,y"},{"a":48399,"t":"code","b":[169,219],"m":"lda","o":"#$DB"},{"a":48401,"t":"code","b":[153,0,67],"m":"sta","oa":17152,"o":"f_4300,y"},{"a":48404,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":48406,"t":"code","b":[133,230],"m":"sta","oa":230,"o":"tmp3"},{"a":48408,"l":"b_BD18","t":"code","b":[32,145,151],"m":"jsr","oa":38801,"o":"delay","x":[48418,48422,48458,48519]},{"a":48411,"t":"code","b":[32,45,190],"m":"jsr","oa":48685,"o":"read_key"},{"a":48414,"t":"code","b":[240,45],"m":"beq","oa":48461,"o":"b_BD4D"},{"a":48416,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":48418,"t":"code","b":[240,244],"m":"beq","oa":48408,"o":"b_BD18"},{"a":48420,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":48422,"t":"code","b":[240,240],"m":"beq","oa":48408,"o":"b_BD18"},{"a":48424,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":48426,"t":"code","b":[240,66],"m":"beq","oa":48494,"o":"b_BD6E"},{"a":48428,"t":"code","b":[164,229],"m":"ldy","oa":229,"o":"tmp2"},{"a":48430,"t":"code","b":[153,0,67],"m":"sta","oa":17152,"o":"f_4300,y"},{"a":48433,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":48435,"t":"code","b":[153,0,219],"m":"sta","o":"$DB00,y"},{"a":48438,"t":"code","b":[230,229],"m":"inc","oa":229,"o":"tmp2"},{"a":48440,"t":"code","b":[230,230],"m":"inc","oa":230,"o":"tmp3"},{"a":48442,"t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3"},{"a":48444,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":48446,"t":"code","b":[176,20],"m":"bcs","oa":48468,"o":"b_BD54"},{"a":48448,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":48450,"t":"code","b":[153,1,219],"m":"sta","o":"$DB01,y"},{"a":48453,"t":"code","b":[169,219],"m":"lda","o":"#$DB"},{"a":48455,"t":"code","b":[153,1,67],"m":"sta","oa":17153,"o":"f_4301,y"},{"a":48458,"t":"code","b":[76,24,189],"m":"jmp","oa":48408,"o":"b_BD18"},{"a":48461,"l":"b_BD4D","t":"code","b":[164,229],"m":"ldy","oa":229,"o":"tmp2","x":[48414]},{"a":48463,"t":"code","b":[169,175],"m":"lda","o":"#$AF"},{"a":48465,"t":"code","b":[153,0,67],"m":"sta","oa":17152,"o":"f_4300,y"},{"a":48468,"l":"b_BD54","t":"code","b":[104],"m":"pla","x":[48446]},{"a":48469,"t":"code","b":[170],"m":"tax"},{"a":48470,"t":"code","b":[188,138,189],"m":"ldy","oa":48522,"o":"tbl_hof_rows,x"},{"a":48473,"t":"code","b":[10],"m":"asl","o":"a"},{"a":48474,"t":"code","b":[10],"m":"asl","o":"a"},{"a":48475,"t":"code","b":[10],"m":"asl","o":"a"},{"a":48476,"t":"code","b":[170],"m":"tax"},{"a":48477,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":48479,"t":"code","b":[133,228],"m":"sta","oa":228,"o":"tmp1"},{"a":48481,"l":"b_BD61","t":"code","b":[185,0,67],"m":"lda","oa":17152,"o":"f_4300,y","x":[48491]},{"a":48484,"t":"code","b":[157,3,207],"m":"sta","oa":52995,"o":"f_CF03,x"},{"a":48487,"t":"code","b":[200],"m":"iny"},{"a":48488,"t":"code","b":[232],"m":"inx"},{"a":48489,"t":"code","b":[198,228],"m":"dec","oa":228,"o":"tmp1"},{"a":48491,"t":"code","b":[16,244],"m":"bpl","oa":48481,"o":"b_BD61"},{"a":48493,"t":"code","b":[96],"m":"rts"},{"a":48494,"l":"b_BD6E","t":"code","b":[165,230],"m":"lda","oa":230,"o":"tmp3","x":[48426]},{"a":48496,"t":"code","b":[240,21],"m":"beq","oa":48519,"o":"b_BD87"},{"a":48498,"t":"code","b":[198,230],"m":"dec","oa":230,"o":"tmp3"},{"a":48500,"t":"code","b":[198,229],"m":"dec","oa":229,"o":"tmp2"},{"a":48502,"t":"code","b":[164,229],"m":"ldy","oa":229,"o":"tmp2"},{"a":48504,"t":"code","b":[169,175],"m":"lda","o":"#$AF"},{"a":48506,"t":"code","b":[153,1,67],"m":"sta","oa":17153,"o":"f_4301,y"},{"a":48509,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":48511,"t":"code","b":[153,0,219],"m":"sta","o":"$DB00,y"},{"a":48514,"t":"code","b":[169,219],"m":"lda","o":"#$DB"},{"a":48516,"t":"code","b":[153,0,67],"m":"sta","oa":17152,"o":"f_4300,y"},{"a":48519,"l":"b_BD87","t":"code","b":[76,24,189],"m":"jmp","oa":48408,"o":"b_BD18","x":[48496]},{"a":48522,"l":"tbl_hof_rows","c":"Screen offsets (from $4300) of the name field of each of the fifteen hall-of-fame places.","t":"byte","b":[0,40,80,120,160,12,52,92],"x":[48389,48470]},{"a":48530,"t":"byte","b":[132,172,24,64,104,144,184]},{"a":48537,"l":"str_enter_id","c":"ENTER YOUR I.D. CODE ON THE KEYBOARD, 36 characters in the $4800 alphabet.","t":"byte","b":[117,126,132,117,130,83,137,127],"x":[48375]},{"a":48545,"t":"byte","b":[133,130,83,121,254,116,254,83]},{"a":48553,"t":"byte","b":[115,127,116,117,83,127,126,83]},{"a":48561,"t":"byte","b":[132,120,117,83,123,117,137,114]},{"a":48569,"t":"byte","b":[127,113,130,116]},{"a":48573,"l":"str_new_game","c":"HIT RESTORE OR RUN/STOP FOR NEW GAME, 36 characters in the $4800 alphabet ($DD for the slash).","t":"byte","b":[120,121,132,83,130,117,131,132],"x":[47243]},{"a":48581,"t":"byte","b":[127,130,117,83,127,130,83,130]},{"a":48589,"t":"byte","b":[133,126,221,131,132,127,128,83]},{"a":48597,"t":"byte","b":[118,127,130,83,126,117,135,83]},{"a":48605,"t":"byte","b":[119,113,125,117]},{"a":48609,"l":"tbl_new_game_colours","c":"Colours of the 36 characters of str_new_game: green (5) and yellow (7) by word.","t":"byte","b":[5,5,5,5,7,7,7,7],"x":[47249]},{"a":48617,"t":"byte","b":[7,7,7,5,5,5,5,7]},{"a":48625,"t":"byte","b":[7,7,7,7,7,7,7,5]},{"a":48633,"t":"byte","b":[5,5,5,5,5,5,5,5]},{"a":48641,"t":"byte","b":[5,5,5,5]},{"a":48645,"l":"unused_be05","c":"24 bytes that read in PETSCII as fragments like \"HI2 0:HI\" and \"HI=HI2I\"; no reference to them was found (searched with opcodes.py --refs); possibly assembler leftovers.","t":"byte","b":[72,73,50,83,48,58,72,73]},{"a":48653,"t":"byte","b":[83,48,58,72,73,50,82,48]},{"a":48661,"t":"byte","b":[58,72,73,61,72,73,50,73]},{"a":48669,"l":"compare_score","c":"Compares the three-byte decimal score $D9-$DB with the hall-of-fame entry at ($18): carry set if the entry is higher or equal.","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[48142]},{"a":48671,"l":"b_BE1F","t":"code","b":[185,217,0],"m":"lda","oa":217,"o":"score,y","x":[48681]},{"a":48674,"t":"code","b":[209,24],"m":"cmp","oa":24,"o":"(ptr_data),y"},{"a":48676,"t":"code","b":[144,6],"m":"bcc","oa":48684,"o":"r_BE2C"},{"a":48678,"t":"code","b":[208,4],"m":"bne","oa":48684,"o":"r_BE2C"},{"a":48680,"t":"code","b":[136],"m":"dey"},{"a":48681,"t":"code","b":[16,244],"m":"bpl","oa":48671,"o":"b_BE1F"},{"a":48683,"t":"code","b":[24],"m":"clc"},{"a":48684,"l":"r_BE2C","t":"code","b":[96],"m":"rts","x":[48676,48678]},{"a":48685,"l":"read_key","c":"Scans the keyboard matrix itself (CIA 1 port A as output): returns $FF with no key, or the code of the key found from tbl_keys (a letter or digit in the $4800 alphabet, 0 RETURN, 1 DEL, $F0 RUN/STOP, $FD/$FE others), once per press ($DF holds it until the keys are released).","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[47261,48411]},{"a":48687,"t":"code","b":[142,3,220],"m":"stx","o":"cia1_ddr_b"},{"a":48690,"t":"code","b":[202],"m":"dex"},{"a":48691,"t":"code","b":[142,2,220],"m":"stx","o":"cia1_ddr_a"},{"a":48694,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":48696,"t":"code","b":[160,127],"m":"ldy","o":"#$7F"},{"a":48698,"l":"b_BE3A","t":"code","b":[140,0,220],"m":"sty","o":"cia1_port_a","x":[48722]},{"a":48701,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":48704,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":48706,"t":"code","b":[240,9],"m":"beq","oa":48717,"o":"b_BE4D"},{"a":48708,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":48710,"l":"b_BE46","t":"code","b":[74],"m":"lsr","o":"a","x":[48712]},{"a":48711,"t":"code","b":[200],"m":"iny"},{"a":48712,"t":"code","b":[144,252],"m":"bcc","oa":48710,"o":"b_BE46"},{"a":48714,"t":"code","b":[76,96,190],"m":"jmp","oa":48736,"o":"j_BE60"},{"a":48717,"l":"b_BE4D","t":"code","b":[152],"m":"tya","x":[48706]},{"a":48718,"t":"code","b":[56],"m":"sec"},{"a":48719,"t":"code","b":[106],"m":"ror","o":"a"},{"a":48720,"t":"code","b":[168],"m":"tay"},{"a":48721,"t":"code","b":[202],"m":"dex"},{"a":48722,"t":"code","b":[16,230],"m":"bpl","oa":48698,"o":"b_BE3A"},{"a":48724,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":48726,"t":"code","b":[133,223],"m":"sta","oa":223,"o":"key_held"},{"a":48728,"l":"b_BE58","t":"code","b":[169,127],"m":"lda","o":"#$7F","x":[48738]},{"a":48730,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":48733,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":48735,"t":"code","b":[96],"m":"rts"},{"a":48736,"l":"j_BE60","t":"code","b":[165,223],"m":"lda","oa":223,"o":"key_held","x":[48714]},{"a":48738,"t":"code","b":[208,244],"m":"bne","oa":48728,"o":"b_BE58"},{"a":48740,"t":"code","b":[230,223],"m":"inc","oa":223,"o":"key_held"},{"a":48742,"t":"code","b":[132,228],"m":"sty","oa":228,"o":"tmp1"},{"a":48744,"t":"code","b":[138],"m":"txa"},{"a":48745,"t":"code","b":[10],"m":"asl","o":"a"},{"a":48746,"t":"code","b":[10],"m":"asl","o":"a"},{"a":48747,"t":"code","b":[10],"m":"asl","o":"a"},{"a":48748,"t":"code","b":[5,228],"m":"ora","oa":228,"o":"tmp1"},{"a":48750,"t":"code","b":[170],"m":"tax"},{"a":48751,"t":"code","b":[169,127],"m":"lda","o":"#$7F"},{"a":48753,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":48756,"t":"code","b":[189,120,190],"m":"lda","oa":48760,"o":"tbl_keys,x"},{"a":48759,"t":"code","b":[96],"m":"rts"},{"a":48760,"l":"tbl_keys","c":"The 64 keys of the matrix, row by row, as codes for read_key: letters and digits in the $4800 alphabet, 0 for RETURN, 1 for DEL, $F0 for RUN/STOP, $FF for keys the name entry ignores.","t":"byte","b":[1,0,1,255,255,255,255,255],"x":[48756]},{"a":48768,"t":"byte","b":[142,135,113,143,138,131,117,255]},{"a":48776,"t":"byte","b":[144,130,116,145,115,118,132,136]},{"a":48784,"t":"byte","b":[146,137,119,147,114,120,133,134]},{"a":48792,"t":"byte","b":[148,121,122,139,125,123,127,126]},{"a":48800,"t":"byte","b":[255,128,124,150,254,152,255,255]},{"a":48808,"t":"byte","b":[255,149,255,255,255,150,255,255]},{"a":48816,"t":"byte","b":[140,1,255,141,253,255,129,240]},{"a":48824,"l":"add_to_ptr","c":"Adds A to the pointer $18/$19.","t":"code","b":[24],"m":"clc","x":[31309,31481,45167,45335,45359,45411,46105,46370,46386,48157,48320]},{"a":48825,"t":"code","b":[101,24],"m":"adc","oa":24,"o":"ptr_data"},{"a":48827,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"ptr_data"},{"a":48829,"t":"code","b":[144,2],"m":"bcc","oa":48833,"o":"r_BEC1"},{"a":48831,"t":"code","b":[230,25],"m":"inc","oa":25,"o":"ptr_data_hi"},{"a":48833,"l":"r_BEC1","t":"code","b":[96],"m":"rts","x":[48829]},{"a":48834,"l":"irq_normal","c":"Installs the game's interrupt handlers: IRQ $82F4 and, entering at $BECD, NMI $388C (the restart, reached by RESTORE).","t":"code","b":[120],"m":"sei","x":[14549,14792,38420,47232,48933]},{"a":48835,"t":"code","b":[169,244],"m":"lda","o":"#$F4"},{"a":48837,"t":"code","b":[141,254,255],"m":"sta","oa":65534,"o":"$FFFE"},{"a":48840,"t":"code","b":[169,130],"m":"lda","o":"#$82"},{"a":48842,"t":"code","b":[141,255,255],"m":"sta","oa":65535,"o":"$FFFF"},{"a":48845,"l":"nmi_normal","c":"Points the NMI vector at $388C, the game's restart: RESTORE starts a new game.","t":"code","b":[169,140],"m":"lda","o":"#$8C","x":[43854]},{"a":48847,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"$FFFA"},{"a":48850,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":48852,"t":"code","b":[141,251,255],"m":"sta","oa":65531,"o":"$FFFB"},{"a":48855,"t":"code","b":[96],"m":"rts"},{"a":48856,"l":"speech_line","c":"The number of the voice line being spoken, kept by say_line.","t":"byte","b":[3],"x":[48884,48890,48910]},{"a":48857,"l":"say_line","c":"Speaks voice line X through the speech driver: silences the SID, swaps the IRQ for the minimal $8396 (which only counts the tick with the `inc $E0 / rts` kept in zero page $FC-$FE) so that the speech NMIs run undisturbed, and starts the line ($0880). Lines 4 and 5 return at once and play on while the game continues; the others wait until the driver reports the end ($FF query). After lines other than 0, 2, 3 and 7 the normal interrupt comes back ($BEC2) at the next frame top. Callers: lines 2 and 3 at the start ($39B0, $39BB), 1 on entering a room when an hour has passed ($8BCC), 7 the fall ($9611), 5 the time-up sequence ($8413), 4 the end picture ($AB25), 0 the end screen ($B87D).","t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top","x":[14768,14779,33811,35788,38417,43813,47229]},{"a":48860,"t":"code","b":[120],"m":"sei"},{"a":48861,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":48863,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":48866,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":48869,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":48872,"t":"code","b":[169,150],"m":"lda","o":"#$96"},{"a":48874,"t":"code","b":[141,254,255],"m":"sta","oa":65534,"o":"$FFFE"},{"a":48877,"t":"code","b":[169,131],"m":"lda","o":"#$83"},{"a":48879,"t":"code","b":[141,255,255],"m":"sta","oa":65535,"o":"$FFFF"},{"a":48882,"t":"code","b":[88],"m":"cli"},{"a":48883,"t":"code","b":[138],"m":"txa"},{"a":48884,"t":"code","b":[141,216,190],"m":"sta","oa":48856,"o":"speech_line"},{"a":48887,"t":"code","b":[32,128,8],"m":"jsr","oa":2176,"o":"speech_say"},{"a":48890,"t":"code","b":[173,216,190],"m":"lda","oa":48856,"o":"speech_line"},{"a":48893,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":48895,"t":"code","b":[240,4],"m":"beq","oa":48901,"o":"r_BF05"},{"a":48897,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":48899,"t":"code","b":[208,1],"m":"bne","oa":48902,"o":"b_BF06"},{"a":48901,"l":"r_BF05","t":"code","b":[96],"m":"rts","x":[48895]},{"a":48902,"l":"b_BF06","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[48899,48908]},{"a":48904,"t":"code","b":[32,128,8],"m":"jsr","oa":2176,"o":"speech_say"},{"a":48907,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":48908,"t":"code","b":[176,248],"m":"bcs","oa":48902,"o":"b_BF06"},{"a":48910,"t":"code","b":[173,216,190],"m":"lda","oa":48856,"o":"speech_line"},{"a":48913,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":48915,"t":"code","b":[240,12],"m":"beq","oa":48929,"o":"r_BF21"},{"a":48917,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":48919,"t":"code","b":[240,8],"m":"beq","oa":48929,"o":"r_BF21"},{"a":48921,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":48923,"t":"code","b":[240,4],"m":"beq","oa":48929,"o":"r_BF21"},{"a":48925,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":48927,"t":"code","b":[208,1],"m":"bne","oa":48930,"o":"b_BF22"},{"a":48929,"l":"r_BF21","t":"code","b":[96],"m":"rts","x":[48915,48919,48923]},{"a":48930,"l":"b_BF22","t":"code","b":[32,120,127],"m":"jsr","oa":32632,"o":"wait_frame_top","x":[48927]},{"a":48933,"t":"code","b":[32,194,190],"m":"jsr","oa":48834,"o":"irq_normal"},{"a":48936,"t":"code","b":[88],"m":"cli"},{"a":48937,"t":"code","b":[96],"m":"rts"},{"a":48938,"t":"gap","n":4310},{"a":53248,"l":"gfx_end_charset_1","c":"The end picture's character set, glyphs $00-$7F (RAM under the I/O area, shown through video bank 3 at $D000): multicolour glyphs of Professor Elvin Atombender's face and his control room. Moved here from $C800 by move_high_tables at the start; the CPU never reads it after that, only the video chip.","t":"byte","b":[4,16,17,69,80,64,16,16]},{"a":53256,"c":"In the start-up's copy at $396B (port $21, character ROM) the ROM's letters A-Z start here and are copied into both game character sets; the RAM beneath is part of the end picture's character set.","t":"byte","b":[169,42,96,13,13,11,42,42]},{"a":53264,"t":"byte","b":[174,174,46,14,122,122,234,234]},{"a":53272,"t":"byte","b":[166,166,166,169,169,169,185,238]},{"a":53280,"t":"byte","b":[15,128,170,170,170,170,170,106]},{"a":53288,"t":"byte","b":[252,2,170,170,170,169,169,166]},{"a":53296,"t":"byte","b":[106,106,106,106,106,170,170,170]},{"a":53304,"t":"byte","b":[170,170,170,170,170,170,171,174]},{"a":53312,"t":"byte","b":[170,170,170,170,186,234,170,170]},{"a":53320,"t":"byte","b":[146,164,164,164,164,153,153,170]},{"a":53328,"t":"byte","b":[152,152,168,162,163,162,139,143]},{"a":53336,"t":"byte","b":[222,235,92,219,119,223,127,255]},{"a":53344,"t":"byte","b":[0,128,128,128,192,192,192,224]},{"a":53352,"t":"byte","b":[64,21,124,61,124,61,124,21]},{"a":53360,"t":"byte","b":[85,84,84,80,80,65,65,69]},{"a":53368,"t":"byte","b":[85,0,21,95,95,127,127,255]},{"a":53376,"t":"byte","b":[85,0,84,245,245,253,253,255]},{"a":53384,"t":"byte","b":[0,0,0,0,0,2,10,42]},{"a":53392,"t":"byte","b":[0,0,0,2,42,170,170,170]},{"a":53400,"t":"byte","b":[0,0,42,170,170,170,170,170]},{"a":53408,"t":"byte","b":[0,170,170,170,170,170,170,170]},{"a":53416,"t":"byte","b":[0,128,168,170,170,170,170,170]},{"a":53424,"t":"byte","b":[0,0,0,128,168,170,170,170]},{"a":53432,"t":"byte","b":[0,0,0,0,0,128,160,168]},{"a":53440,"t":"byte","b":[106,90,106,106,106,106,106,95]},{"a":53448,"t":"byte","b":[170,245,170,170,170,170,170,85]},{"a":53456,"t":"byte","b":[250,85,170,86,86,86,86,85]},{"a":53464,"t":"byte","b":[186,175,168,168,168,42,42,10]},{"a":53472,"t":"byte","b":[170,170,10,2,2,2,2,138]},{"a":53480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53488,"t":"byte","b":[119,221,117,212,116,212,116,212]},{"a":53496,"t":"byte","b":[117,214,118,214,118,214,117,221]},{"a":53504,"t":"byte","b":[87,165,167,165,167,165,87,221]},{"a":53512,"t":"byte","b":[85,0,255,0,40,0,195,0]},{"a":53520,"t":"byte","b":[87,29,23,29,23,29,23,29]},{"a":53528,"t":"byte","b":[119,221,119,221,119,221,119,221]},{"a":53536,"t":"byte","b":[0,0,0,0,0,0,0,2]},{"a":53544,"t":"byte","b":[2,9,9,38,38,153,153,101]},{"a":53552,"t":"byte","b":[170,85,170,85,85,85,0,85]},{"a":53560,"t":"byte","b":[128,96,96,152,152,102,102,89]},{"a":53568,"t":"byte","b":[16,16,4,4,1,0,0,0]},{"a":53576,"t":"byte","b":[42,43,43,43,39,91,43,43]},{"a":53584,"t":"byte","b":[234,170,170,170,170,170,170,168]},{"a":53592,"t":"byte","b":[171,171,171,171,142,10,42,170]},{"a":53600,"t":"byte","b":[154,165,170,170,170,170,170,170]},{"a":53608,"t":"byte","b":[154,106,170,170,170,170,170,170]},{"a":53616,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":53624,"t":"byte","b":[174,174,186,186,186,186,234,234]},{"a":53632,"l":"rom_digits_view","c":"In the start-up's copy at $3980 the processor port is $21, so the CPU reads the character ROM here: $D180-$D1CF are the ROM's digits 0-9, copied into both game character sets. The RAM beneath holds glyphs $30-$7F of the end picture's character set (the rest of gfx_end_charset_1).","t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":53640,"t":"byte","b":[170,170,170,170,171,175,191,255]},{"a":53648,"t":"byte","b":[142,139,143,191,255,255,255,255]},{"a":53656,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":53664,"t":"byte","b":[224,224,224,224,224,224,224,224]},{"a":53672,"t":"byte","b":[85,0,85,255,255,255,0,0]},{"a":53680,"t":"byte","b":[69,7,87,255,255,255,0,0]},{"a":53688,"t":"byte","b":[252,252,240,240,192,192,0,0]},{"a":53696,"t":"byte","b":[0,2,10,10,42,42,170,170]},{"a":53704,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":53712,"t":"byte","b":[106,106,106,106,106,106,106,106]},{"a":53720,"t":"byte","b":[170,170,170,165,170,170,170,170]},{"a":53728,"t":"byte","b":[170,255,255,85,170,170,250,250]},{"a":53736,"t":"byte","b":[170,170,170,170,170,170,175,170]},{"a":53744,"t":"byte","b":[170,170,170,165,170,170,90,170]},{"a":53752,"t":"byte","b":[169,169,169,165,169,169,169,169]},{"a":53760,"t":"byte","b":[0,128,160,160,168,168,170,170]},{"a":53768,"t":"byte","b":[170,165,170,170,90,170,170,165]},{"a":53776,"t":"byte","b":[169,165,169,169,169,169,169,165]},{"a":53784,"t":"byte","b":[2,3,3,3,3,0,0,0]},{"a":53792,"t":"byte","b":[234,170,170,170,171,254,170,170]},{"a":53800,"t":"byte","b":[170,170,170,170,170,170,170,254]},{"a":53808,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":53816,"t":"byte","b":[191,191,191,191,191,191,191,191]},{"a":53824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53832,"t":"byte","b":[0,195,195,195,195,0,0,85]},{"a":53840,"t":"byte","b":[23,29,23,29,23,29,23,93]},{"a":53848,"t":"byte","b":[119,221,119,221,85,85,85,85]},{"a":53856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53864,"t":"byte","b":[101,149,151,93,87,93,119,221]},{"a":53872,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":53880,"t":"byte","b":[89,214,86,213,117,221,117,221]},{"a":53888,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":53896,"t":"byte","b":[43,42,42,42,10,10,10,10]},{"a":53904,"t":"byte","b":[170,250,170,234,234,186,186,186]},{"a":53912,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":53920,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":53928,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":53936,"t":"byte","b":[170,170,170,170,170,171,255,255]},{"a":53944,"t":"byte","b":[170,170,170,175,191,255,255,255]},{"a":53952,"t":"byte","b":[175,191,255,255,255,255,255,255]},{"a":53960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53984,"t":"byte","b":[224,224,224,224,224,224,192,192]},{"a":53992,"t":"byte","b":[85,21,21,5,5,65,65,81]},{"a":54000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54008,"t":"byte","b":[2,2,10,10,10,42,42,42]},{"a":54016,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54024,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54032,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54040,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54048,"t":"byte","b":[170,170,170,170,186,186,186,234]},{"a":54056,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54064,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54072,"t":"byte","b":[170,170,170,170,170,170,170,171]},{"a":54080,"t":"byte","b":[170,170,170,171,187,239,254,239]},{"a":54088,"t":"byte","b":[0,0,128,0,96,152,100,86]},{"a":54096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54104,"t":"byte","b":[0,0,2,2,2,2,2,2]},{"a":54112,"t":"byte","b":[171,174,174,186,186,186,186,186]},{"a":54120,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54128,"t":"byte","b":[170,170,170,170,170,169,165,149]},{"a":54136,"t":"byte","b":[191,191,191,255,255,255,255,255]},{"a":54144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54152,"t":"byte","b":[255,255,247,247,199,247,247,247]},{"a":54160,"t":"byte","b":[117,212,116,212,116,212,116,212]},{"a":54168,"t":"byte","b":[85,1,1,241,1,1,241,1]},{"a":54176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54184,"t":"byte","b":[85,85,112,112,76,76,67,67]},{"a":54192,"t":"byte","b":[85,85,0,0,0,0,0,0]},{"a":54200,"t":"byte","b":[85,85,13,13,49,49,193,193]},{"a":54208,"t":"byte","b":[85,85,213,213,213,213,245,245]},{"a":54216,"t":"byte","b":[2,2,0,0,0,0,0,0]},{"a":54224,"t":"byte","b":[186,175,170,170,170,43,46,14]},{"a":54232,"t":"byte","b":[175,255,255,128,128,160,170,170]},{"a":54240,"t":"byte","b":[234,250,250,2,2,2,10,170]},{"a":54248,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54256,"t":"byte","b":[255,255,191,191,191,191,191,191]},{"a":54264,"t":"byte","b":[194,249,253,255,255,255,255,255]},{"a":54272,"l":"gfx_end_charset_2","c":"The end picture's character set, glyphs $80-$FF.","t":"byte","b":[101,149,148,81,212,253,255,255]},{"a":54280,"t":"byte","b":[68,17,68,17,68,17,196,241]},{"a":54288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54304,"t":"byte","b":[192,192,192,192,128,128,128,128]},{"a":54312,"t":"byte","b":[63,63,15,15,3,3,0,0]},{"a":54320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54328,"t":"byte","b":[42,42,170,170,170,170,170,170]},{"a":54336,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54344,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54352,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54360,"t":"byte","b":[170,170,170,171,171,171,170,170]},{"a":54368,"t":"byte","b":[234,234,234,170,170,170,234,234]},{"a":54376,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54384,"t":"byte","b":[170,170,170,170,170,170,171,170]},{"a":54392,"t":"byte","b":[174,175,187,174,239,187,239,255]},{"a":54400,"t":"byte","b":[190,255,187,254,255,187,239,255]},{"a":54408,"t":"byte","b":[218,221,102,186,237,53,215,122]},{"a":54416,"t":"byte","b":[128,96,208,176,224,56,236,108]},{"a":54424,"t":"byte","b":[170,170,170,170,170,245,169,169]},{"a":54432,"t":"byte","b":[170,170,42,10,0,0,0,3]},{"a":54440,"t":"byte","b":[170,170,171,163,15,63,255,255]},{"a":54448,"t":"byte","b":[149,85,85,85,85,85,85,85]},{"a":54456,"t":"byte","b":[255,255,255,248,247,239,223,223]},{"a":54464,"t":"byte","b":[255,255,255,255,127,191,223,223]},{"a":54472,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54480,"t":"byte","b":[116,212,116,212,116,212,116,212]},{"a":54488,"t":"byte","b":[1,1,241,241,241,241,1,1]},{"a":54496,"t":"byte","b":[119,221,170,10,10,170,119,221]},{"a":54504,"t":"byte","b":[64,64,64,64,64,64,64,64]},{"a":54512,"t":"byte","b":[170,170,170,170,170,85,170,170]},{"a":54520,"t":"byte","b":[1,1,1,1,1,1,1,1]},{"a":54528,"t":"byte","b":[245,253,253,253,255,255,255,255]},{"a":54536,"t":"byte","b":[127,127,127,95,95,95,95,95]},{"a":54544,"t":"byte","b":[14,3,0,0,0,0,2,2]},{"a":54552,"t":"byte","b":[170,174,250,170,171,174,186,186]},{"a":54560,"t":"byte","b":[170,170,170,254,171,170,170,170]},{"a":54568,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54576,"t":"byte","b":[191,191,191,191,191,191,191,191]},{"a":54584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54592,"t":"byte","b":[175,95,191,127,127,255,255,255]},{"a":54600,"t":"byte","b":[252,255,255,255,255,255,255,255]},{"a":54608,"t":"byte","b":[64,74,202,202,250,250,252,252]},{"a":54616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54624,"t":"byte","b":[192,192,192,192,240,240,240,240]},{"a":54632,"t":"byte","b":[81,208,213,255,255,255,0,0]},{"a":54640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54648,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54656,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54664,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":54672,"t":"byte","b":[170,170,170,170,170,170,174,181]},{"a":54680,"t":"byte","b":[170,170,170,170,186,238,191,123]},{"a":54688,"t":"byte","b":[186,186,174,174,174,171,171,171]},{"a":54696,"t":"byte","b":[170,170,170,170,170,170,170,169]},{"a":54704,"t":"byte","b":[175,174,175,174,171,173,149,91]},{"a":54712,"t":"byte","b":[239,190,239,253,148,82,138,42]},{"a":54720,"t":"byte","b":[239,254,255,238,11,163,168,104]},{"a":54728,"t":"byte","b":[117,222,109,186,110,243,93,108]},{"a":54736,"t":"byte","b":[76,250,54,205,112,172,244,80]},{"a":54744,"t":"byte","b":[170,170,170,170,170,165,170,170]},{"a":54752,"t":"byte","b":[199,247,247,247,199,247,247,247]},{"a":54760,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54768,"t":"byte","b":[255,255,255,255,254,253,243,207]},{"a":54776,"t":"byte","b":[191,191,127,127,255,255,255,255]},{"a":54784,"t":"byte","b":[239,239,239,247,247,247,247,251]},{"a":54792,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54800,"t":"byte","b":[116,212,116,212,116,212,116,213]},{"a":54808,"t":"byte","b":[1,49,49,193,193,1,1,85]},{"a":54816,"t":"byte","b":[119,221,170,160,160,170,119,221]},{"a":54824,"t":"byte","b":[67,67,76,76,112,112,85,85]},{"a":54832,"t":"byte","b":[0,0,0,0,0,0,85,85]},{"a":54840,"t":"byte","b":[193,193,49,49,13,13,85,85]},{"a":54848,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54856,"t":"byte","b":[215,215,215,215,247,247,247,247]},{"a":54864,"t":"byte","b":[2,2,2,2,2,2,0,0]},{"a":54872,"t":"byte","b":[234,234,234,234,234,170,170,42]},{"a":54880,"t":"byte","b":[170,170,170,170,170,170,169,141]},{"a":54888,"t":"byte","b":[170,170,170,169,165,149,85,85]},{"a":54896,"t":"byte","b":[191,191,191,255,255,255,255,255]},{"a":54904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54912,"t":"byte","b":[63,63,63,63,15,15,15,95]},{"a":54920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":54928,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54936,"t":"byte","b":[20,17,20,209,212,209,212,209]},{"a":54944,"t":"byte","b":[252,252,255,255,255,255,255,255]},{"a":54952,"t":"byte","b":[0,0,0,0,192,240,252,255]},{"a":54960,"t":"byte","b":[0,0,3,3,0,0,1,4]},{"a":54968,"t":"byte","b":[170,186,238,187,254,191,91,166]},{"a":54976,"t":"byte","b":[170,170,170,186,186,234,213,90]},{"a":54984,"t":"byte","b":[171,171,173,189,183,182,86,166]},{"a":54992,"t":"byte","b":[223,126,187,234,170,170,168,129]},{"a":55000,"t":"byte","b":[159,182,169,169,170,2,4,95]},{"a":55008,"t":"byte","b":[234,185,213,90,122,106,106,106]},{"a":55016,"t":"byte","b":[149,90,170,170,170,170,170,170]},{"a":55024,"t":"byte","b":[174,171,172,168,190,186,174,186]},{"a":55032,"t":"byte","b":[38,38,166,166,154,154,154,154]},{"a":55040,"t":"byte","b":[154,154,166,166,166,166,166,154]},{"a":55048,"t":"byte","b":[46,51,59,45,116,58,92,240]},{"a":55056,"t":"byte","b":[224,96,128,192,128,64,64,128]},{"a":55064,"t":"byte","b":[170,170,170,170,170,85,106,106]},{"a":55072,"t":"byte","b":[199,247,247,240,240,255,255,255]},{"a":55080,"t":"byte","b":[254,241,15,255,0,119,255,255]},{"a":55088,"t":"byte","b":[63,255,255,255,0,119,255,255]},{"a":55096,"t":"byte","b":[255,255,255,255,0,119,255,255]},{"a":55104,"t":"byte","b":[251,253,254,255,0,119,255,255]},{"a":55112,"t":"byte","b":[255,255,127,135,7,119,255,255]},{"a":55120,"t":"byte","b":[85,64,79,79,79,74,74,64]},{"a":55128,"t":"byte","b":[87,29,23,29,23,29,23,29]},{"a":55136,"t":"byte","b":[64,79,64,79,64,79,64,64]},{"a":55144,"t":"byte","b":[23,29,23,29,23,29,23,29]},{"a":55152,"t":"byte","b":[119,221,170,80,80,170,119,221]},{"a":55160,"t":"byte","b":[119,221,170,5,5,170,119,221]},{"a":55168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":55176,"t":"byte","b":[247,247,253,253,253,253,253,253]},{"a":55184,"t":"byte","b":[255,255,255,255,255,127,127,127]},{"a":55192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":55200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":55208,"t":"byte","b":[3,3,63,255,255,255,255,255]},{"a":55216,"t":"byte","b":[0,0,0,0,0,0,0,3]},{"a":55224,"t":"byte","b":[13,15,3,3,15,63,255,255]},{"a":55232,"t":"byte","b":[79,31,71,19,87,87,87,87]},{"a":55240,"t":"byte","b":[127,127,127,127,95,95,95,95]},{"a":55248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":55256,"t":"byte","b":[244,241,244,241,252,253,252,253]},{"a":55264,"t":"byte","b":[252,253,252,253,255,255,255,255]},{"a":55272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":55280,"t":"byte","b":[4,16,17,69,80,64,16,16]},{"a":55288,"t":"byte","b":[169,42,96,13,13,11,42,42]},{"a":55296,"t":"gap","n":1024},{"a":56320,"l":"gfx_end_screen","c":"The end picture's screen: 1000 characters (25 rows of 40) and 24 unused bytes, under CIA 1 and CIA 2. Moved here from $C400 at the start and copied to the bank-3 screen at $C000 by elvin_terminal; the mouth cells at $C2B6 are then animated.","t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56328,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56336,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56344,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56352,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56360,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56368,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56376,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56384,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56392,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56400,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56408,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56416,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56424,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56432,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56440,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56448,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56456,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56464,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56472,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56480,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56488,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56496,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56504,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56512,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56520,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56528,"t":"byte","b":[13,13,13,13,13,13,14,15]},{"a":56536,"t":"byte","b":[53,53,53,53,53,16,93,13]},{"a":56544,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56552,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":56560,"t":"byte","b":[53,53,53,53,53,53,53,53]},{"a":56568,"t":"byte","b":[53,53,53,53,53,53,54,55]},{"a":56576,"t":"byte","b":[240,240,240,240,240,133,173,53]},{"a":56584,"t":"byte","b":[53,53,53,53,53,53,53,53]},{"a":56592,"t":"byte","b":[53,53,53,53,53,53,53,53]},{"a":56600,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56608,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56616,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56624,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56632,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56640,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56648,"t":"byte","b":[240,240,240,240,240,240,240,17]},{"a":56656,"t":"byte","b":[18,19,20,21,22,23,240,240]},{"a":56664,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56672,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56680,"t":"byte","b":[240,240,240,240,240,240,240,89]},{"a":56688,"t":"byte","b":[89,89,89,240,240,240,56,57]},{"a":56696,"t":"byte","b":[57,57,57,57,57,57,64,240]},{"a":56704,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56712,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56720,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56728,"t":"byte","b":[89,89,89,89,240,95,99,99]},{"a":56736,"t":"byte","b":[99,99,100,99,99,103,104,105]},{"a":56744,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56752,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56760,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56768,"t":"byte","b":[89,89,89,89,240,135,138,137]},{"a":56776,"t":"byte","b":[137,139,140,141,142,143,144,145]},{"a":56784,"t":"byte","b":[146,240,240,240,240,240,240,240]},{"a":56792,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56800,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56808,"t":"byte","b":[240,240,240,240,240,177,177,177]},{"a":56816,"t":"byte","b":[178,179,180,181,182,183,184,185]},{"a":56824,"t":"byte","b":[186,240,240,240,240,240,240,240]},{"a":56832,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56840,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56848,"t":"byte","b":[240,240,240,240,214,215,216,217]},{"a":56856,"t":"byte","b":[218,219,220,221,222,223,224,225]},{"a":56864,"t":"byte","b":[226,240,240,240,240,240,240,240]},{"a":56872,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56880,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56888,"t":"byte","b":[240,240,240,240,0,255,2,3]},{"a":56896,"t":"byte","b":[4,5,6,7,8,9,10,11]},{"a":56904,"t":"byte","b":[12,240,240,240,240,240,240,240]},{"a":56912,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56920,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56928,"t":"byte","b":[240,240,240,240,40,41,42,43]},{"a":56936,"t":"byte","b":[44,45,46,47,48,49,50,51]},{"a":56944,"t":"byte","b":[52,240,240,240,240,240,240,240]},{"a":56952,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56960,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":56968,"t":"byte","b":[240,240,240,240,240,81,82,85]},{"a":56976,"t":"byte","b":[85,85,86,87,88,51,51,51]},{"a":56984,"t":"byte","b":[92,240,240,240,240,240,240,240]},{"a":56992,"t":"byte","b":[240,240,240,240,240,240,240,240]},{"a":57000,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":57008,"t":"byte","b":[38,38,39,78,240,121,122,123]},{"a":57016,"t":"byte","b":[124,125,126,51,51,51,51,51]},{"a":57024,"t":"byte","b":[132,240,240,240,36,37,38,38]},{"a":57032,"t":"byte","b":[38,38,38,38,38,38,38,38]},{"a":57040,"t":"byte","b":[35,196,239,238,239,238,239,238]},{"a":57048,"t":"byte","b":[156,35,79,39,78,240,162,163]},{"a":57056,"t":"byte","b":[164,165,166,51,51,51,51,51]},{"a":57064,"t":"byte","b":[172,240,240,36,37,77,35,196]},{"a":57072,"t":"byte","b":[239,238,239,238,239,238,156,35]},{"a":57080,"t":"byte","b":[35,117,118,118,118,118,118,118]},{"a":57088,"t":"byte","b":[119,114,115,79,39,78,202,203]},{"a":57096,"t":"byte","b":[204,205,206,51,51,51,51,51]},{"a":57104,"t":"byte","b":[212,213,36,37,77,234,235,117]},{"a":57112,"t":"byte","b":[118,118,118,118,118,118,119,35]},{"a":57120,"t":"byte","b":[35,157,227,187,158,158,158,147]},{"a":57128,"t":"byte","b":[159,154,155,35,79,39,78,246]},{"a":57136,"t":"byte","b":[247,80,51,51,51,51,51,51]},{"a":57144,"t":"byte","b":[51,51,127,128,129,236,237,157]},{"a":57152,"t":"byte","b":[113,153,153,151,152,153,159,35]},{"a":57160,"t":"byte","b":[35,157,58,59,60,61,62,63]},{"a":57168,"t":"byte","b":[159,154,155,31,32,79,38,168]},{"a":57176,"t":"byte","b":[51,120,242,51,51,51,51,51]},{"a":57184,"t":"byte","b":[51,51,51,51,210,170,237,157]},{"a":57192,"t":"byte","b":[188,189,190,191,192,193,159,35]},{"a":57200,"t":"byte","b":[35,157,24,25,26,97,65,66]},{"a":57208,"t":"byte","b":[159,154,155,114,33,34,30,51]},{"a":57216,"t":"byte","b":[51,160,161,51,51,51,51,51]},{"a":57224,"t":"byte","b":[51,51,51,51,51,51,211,157]},{"a":57232,"t":"byte","b":[228,229,230,231,232,233,159,35]},{"a":57240,"t":"byte","b":[35,197,198,198,198,198,198,198]},{"a":57248,"t":"byte","b":[199,194,195,194,73,74,194,208]},{"a":57256,"t":"byte","b":[51,51,201,51,51,51,51,51]},{"a":57264,"t":"byte","b":[51,51,51,51,51,51,251,197]},{"a":57272,"t":"byte","b":[198,198,198,198,198,198,199,35]},{"a":57280,"t":"byte","b":[75,75,75,75,75,75,75,75]},{"a":57288,"t":"byte","b":[75,75,75,75,75,75,75,248]},{"a":57296,"t":"byte","b":[51,51,241,51,51,51,51,51]},{"a":57304,"t":"byte","b":[51,249,51,51,51,51,252,75]},{"a":57312,"t":"byte","b":[75,75,75,75,75,75,75,75]},{"a":57320,"t":"byte","b":[32,0,255,223,32,128,255,223]},{"a":57328,"t":"byte","b":[0,28,223,223,32,0,255,255]},{"a":57336,"t":"byte","b":[0,8,127,219,32,32,223,173]},{"a":57344,"l":"speech_phrase_table","c":"The speech data's phrase table, at the sample base the game gives the driver ($E000): eight entries of four bytes for voice lines 0-7, each two offsets from $E000: the line's pitch commands and its frame headers (speech_lookup). Line 6 is never asked for by the game.","t":"byte","b":[32,0,166,2,168,0,26,3]},{"a":57352,"t":"byte","b":[210,0,94,3,242,0,146,3]},{"a":57360,"t":"byte","b":[52,1,198,3,84,1,230,3]},{"a":57368,"t":"byte","b":[136,1,110,4,138,1,118,4]},{"a":57376,"l":"speech_pitch_cmds","c":"The voice lines' pitch commands, read by speech_pitch_step: for each line a list of entries giving a period length and a count with an index into the pitch step table. Line 0's list starts here, lines 1-7 at $E0A8, $E0D2, $E0F2, $E134, $E154, $E188 and $E18A.","t":"byte","b":[45,5,43,197,33,198,27,214]},{"a":57384,"t":"byte","b":[23,213,17,183,19,167,5,234]},{"a":57392,"t":"byte","b":[13,216,15,216,17,119,15,183]},{"a":57400,"t":"byte","b":[13,183,11,23,13,119,14,247]},{"a":57408,"t":"byte","b":[17,183,17,216,18,247,19,184]},{"a":57416,"t":"byte","b":[23,184,27,104,33,72,45,137]},{"a":57424,"t":"byte","b":[44,120,47,40,63,103,61,165]},{"a":57432,"t":"byte","b":[41,152,46,246,33,229,29,182]},{"a":57440,"t":"byte","b":[25,150,19,182,15,231,15,118]},{"a":57448,"t":"byte","b":[7,215,9,216,13,234,17,214]},{"a":57456,"t":"byte","b":[9,169,23,154,49,41,75,183]},{"a":57464,"t":"byte","b":[7,200,9,183,11,151,13,103]},{"a":57472,"t":"byte","b":[15,183,17,215,19,183,21,105]},{"a":57480,"t":"byte","b":[45,41,77,202,103,204,61,186]},{"a":57488,"t":"byte","b":[73,166,74,218,139,138,187,55]},{"a":57496,"t":"byte","b":[121,217,115,115,69,85,49,118]},{"a":57504,"t":"byte","b":[45,119,39,55,33,136,45,204]},{"a":57512,"t":"byte","b":[41,150,33,217,19,215,21,198]},{"a":57520,"t":"byte","b":[19,152,25,199,27,183,27,88]},{"a":57528,"t":"byte","b":[39,233,45,122,16,186,107,159]},{"a":57536,"t":"byte","b":[93,24,138,201,177,132,112,246]},{"a":57544,"t":"byte","b":[97,151,99,55,107,191,131,74]},{"a":57552,"t":"byte","b":[181,173,87,163,63,137,85,173]},{"a":57560,"t":"byte","b":[143,8,119,66,57,69,33,134]},{"a":57568,"t":"byte","b":[41,71,43,136,53,186,75,220]},{"a":57576,"t":"byte","b":[67,186,87,190,135,205,169,186]},{"a":57584,"t":"byte","b":[191,172,5,200,7,200,9,183]},{"a":57592,"t":"byte","b":[11,151,13,103,15,183,17,215]},{"a":57600,"t":"byte","b":[19,183,20,137,71,140,61,186]},{"a":57608,"t":"byte","b":[73,166,74,90,183,41,71,221]},{"a":57616,"t":"byte","b":[89,6,73,5,42,166,23,85]},{"a":57624,"t":"byte","b":[3,72,69,100,31,150,29,185]},{"a":57632,"t":"byte","b":[35,134,29,23,23,103,25,170]},{"a":57640,"t":"byte","b":[41,165,33,121,51,136,58,201]},{"a":57648,"t":"byte","b":[67,121,87,26,109,164,81,160]},{"a":57656,"t":"byte","b":[13,165,3,137,23,171,58,204]},{"a":57664,"t":"byte","b":[97,83,33,117,19,25,52,123]},{"a":57672,"t":"byte","b":[15,166,9,213,3,167,2,135]},{"a":57680,"t":"byte","b":[2,249,34,202,7,72,19,219]},{"a":57688,"t":"byte","b":[35,87,35,120,49,150,47,183]},{"a":57696,"t":"byte","b":[53,185,67,150,63,198,65,233]},{"a":57704,"t":"byte","b":[75,247,97,191,77,168,89,170]},{"a":57712,"t":"byte","b":[87,213,51,171,51,202,69,186]},{"a":57720,"t":"byte","b":[65,175,75,122,63,200,75,189]},{"a":57728,"t":"byte","b":[73,216,87,174,125,164,105,127]},{"a":57736,"t":"byte","b":[47,111,22,198,3,231,3,200]},{"a":57744,"t":"byte","b":[2,199,3,200,3,200,3,200]},{"a":57752,"t":"byte","b":[2,71,3,200,3,200,3,200]},{"a":57760,"t":"byte","b":[3,201,3,201,3,201,3,201]},{"a":57768,"t":"byte","b":[3,201,3,201,3,201,3,201]},{"a":57776,"t":"byte","b":[3,201,3,201,3,200,3,200]},{"a":57784,"t":"byte","b":[3,200,3,200,3,200,5,200]},{"a":57792,"t":"byte","b":[5,200,7,200,7,71,9,198]},{"a":57800,"t":"byte","b":[11,198,9,200,9,200,9,200]},{"a":57808,"t":"byte","b":[9,200,11,200,11,200,9,200]},{"a":57816,"t":"byte","b":[9,200,9,200,10,7,11,200]},{"a":57824,"t":"byte","b":[11,200,11,200,11,200,11,200]},{"a":57832,"t":"byte","b":[11,200,11,200,13,198,11,55]},{"a":57840,"t":"byte","b":[11,200,11,200,9,200,9,200]},{"a":57848,"t":"byte","b":[9,200,9,200,7,200,9,200]},{"a":57856,"t":"byte","b":[7,200,7,200,7,200,7,200]},{"a":57864,"t":"byte","b":[6,7,7,55,5,200,5,200]},{"a":57872,"t":"byte","b":[5,200,5,200,5,200,5,200]},{"a":57880,"t":"byte","b":[5,200,5,200,4,7,5,200]},{"a":57888,"t":"byte","b":[5,200,5,200,5,200,5,200]},{"a":57896,"t":"byte","b":[5,200,5,200,5,200,4,151]},{"a":57904,"t":"byte","b":[5,200,5,200,5,200,5,200]},{"a":57912,"t":"byte","b":[5,200,5,200,5,200,5,200]},{"a":57920,"t":"byte","b":[9,198,9,198,9,198,9,198]},{"a":57928,"t":"byte","b":[9,198,8,7,8,7,9,200]},{"a":57936,"t":"byte","b":[9,200,9,200,9,200,9,200]},{"a":57944,"t":"byte","b":[9,200,8,23,9,200,9,200]},{"a":57952,"t":"byte","b":[10,55,10,7,9,233,10,7]},{"a":57960,"t":"byte","b":[9,200,9,200,9,200,9,200]},{"a":57968,"t":"byte","b":[9,200,9,200,12,7,13,200]},{"a":57976,"t":"byte","b":[13,200,15,200,15,200,15,200]},{"a":57984,"t":"byte","b":[15,200,17,200,17,200,17,200]},{"a":57992,"t":"byte","b":[17,200,19,7,21,198,21,198]},{"a":58000,"t":"byte","b":[20,167,23,198,19,200,21,151]},{"a":58008,"t":"byte","b":[23,168,25,168,27,168,29,169]},{"a":58016,"t":"byte","b":[35,169,41,169,47,170]},{"a":58022,"l":"speech_frame_headers","c":"The voice lines' frame headers, four bytes each, read by speech_frame_header ($09B6 gives the format): how many decodes and periods each covers, the encoding (1-bit or 4-bit in these lines; the driver also has 2-bit decoders that no line uses), silent frames, the blend and last-frame flags, and the offset of the samples from $E000. Line 0's headers start here, the others at $E31A, $E35E, $E392, $E3C6, $E3E6, $E46E and $E476.","t":"byte","b":[188,226,182,69,123,218,182,68]},{"a":58030,"t":"byte","b":[119,249,34,70,111,234,222,68]},{"a":58038,"t":"byte","b":[127,204,0,64,123,234,186,70]},{"a":58046,"t":"byte","b":[127,242,102,5,127,220,0,64]},{"a":58054,"t":"byte","b":[124,241,226,70,119,218,110,69]},{"a":58062,"t":"byte","b":[127,244,0,64,123,249,126,68]},{"a":58070,"t":"byte","b":[187,226,230,69,119,249,34,70]},{"a":58078,"t":"byte","b":[127,228,0,64,126,249,166,68]},{"a":58086,"t":"byte","b":[127,92,0,64,124,249,226,70]},{"a":58094,"t":"byte","b":[123,218,42,71,127,244,0,64]},{"a":58102,"t":"byte","b":[126,249,18,71,122,218,82,71]},{"a":58110,"t":"byte","b":[127,228,0,64,127,249,34,71]},{"a":58118,"t":"byte","b":[124,249,34,70,115,218,130,71]},{"a":58126,"t":"byte","b":[119,249,34,70,184,226,234,71]},{"a":58134,"t":"byte","b":[122,249,106,198,126,249,74,72]},{"a":58142,"t":"byte","b":[126,218,162,72,119,249,106,70]},{"a":58150,"t":"byte","b":[127,220,0,64,123,249,90,72]},{"a":58158,"t":"byte","b":[119,218,178,72,249,226,78,73]},{"a":58166,"t":"byte","b":[124,249,130,72,251,234,190,73]},{"a":58174,"t":"byte","b":[185,226,250,72,241,234,14,74]},{"a":58182,"t":"byte","b":[127,244,0,64,255,250,254,74]},{"a":58190,"t":"byte","b":[252,234,14,11,255,242,78,11]},{"a":58198,"t":"byte","b":[127,220,0,64,118,249,106,198]},{"a":58206,"t":"byte","b":[251,234,18,76,249,234,98,12]},{"a":58214,"t":"byte","b":[126,241,94,75,252,234,210,76]},{"a":58222,"t":"byte","b":[187,226,166,75,124,249,98,77]},{"a":58230,"t":"byte","b":[121,226,110,75,122,249,106,70]},{"a":58238,"t":"byte","b":[189,234,226,75,191,250,6,12]},{"a":58246,"t":"byte","b":[127,236,0,64,126,241,2,71]},{"a":58254,"t":"byte","b":[251,234,18,205,120,241,106,70]},{"a":58262,"t":"byte","b":[127,212,0,64,126,249,2,71]},{"a":58270,"t":"byte","b":[113,218,82,80,243,226,202,80]},{"a":58278,"t":"byte","b":[126,68,0,64,118,241,106,70]},{"a":58286,"t":"byte","b":[127,228,0,64,126,249,2,71]},{"a":58294,"t":"byte","b":[240,218,242,78,117,249,98,77]},{"a":58302,"t":"byte","b":[166,226,186,77,250,226,242,207]},{"a":58310,"t":"byte","b":[254,226,14,83,245,226,46,19]},{"a":58318,"t":"byte","b":[125,84,0,64,177,226,154,81]},{"a":58326,"t":"byte","b":[125,92,0,64,190,210,154,81]},{"a":58334,"t":"byte","b":[181,226,78,18,187,226,210,146]},{"a":58342,"t":"byte","b":[124,241,130,72,189,218,246,83]},{"a":58350,"t":"byte","b":[126,249,222,83,127,252,0,64]},{"a":58358,"t":"byte","b":[124,241,130,72,187,226,26,84]},{"a":58366,"t":"byte","b":[125,249,222,83,127,228,0,64]},{"a":58374,"t":"byte","b":[125,241,130,72,189,226,86,84]},{"a":58382,"t":"byte","b":[126,249,222,83,127,196,0,64]},{"a":58390,"t":"byte","b":[126,249,130,72,189,226,86,84]},{"a":58398,"t":"byte","b":[127,249,222,83,127,164,0,64]},{"a":58406,"t":"byte","b":[189,226,86,84,127,148,0,64]},{"a":58414,"t":"byte","b":[189,226,86,84,127,148,0,64]},{"a":58422,"t":"byte","b":[189,250,86,84,253,242,122,84]},{"a":58430,"t":"byte","b":[127,156,0,64,253,234,122,84]},{"a":58438,"t":"byte","b":[127,148,0,64,253,242,122,84]},{"a":58446,"t":"byte","b":[127,148,0,64,253,234,122,84]},{"a":58454,"t":"byte","b":[127,156,0,64,253,234,122,84]},{"a":58462,"t":"byte","b":[127,140,0,64,253,234,122,84]},{"a":58470,"t":"byte","b":[127,132,0,64,253,218,122,212]},{"a":58478,"t":"byte","b":[251,242,194,84,125,249,170,212]},{"a":58486,"t":"byte","b":[64,154,18,85,116,154,18,151]},{"a":58494,"t":"byte","b":[99,35,27,154,201,149,76,202]},{"a":58502,"t":"byte","b":[165,90,213,36,149,172,210,112]},{"a":58510,"t":"byte","b":[173,164,37,39,173,102,87,148]},{"a":58518,"t":"byte","b":[89,99,213,38,199,209,75,202]},{"a":58526,"t":"byte","b":[181,41,103,141,165,177,158,44]},{"a":58534,"t":"byte","b":[171,180,173,182,204,165,100,137]},{"a":58542,"t":"byte","b":[173,165,181,164,181,165,105,174]},{"a":58550,"t":"byte","b":[124,103,84,102,135,184,155,217]},{"a":58558,"t":"byte","b":[108,120,85,102,119,149,172,249]},{"a":58566,"t":"byte","b":[108,137,82,106,100,135,186,251]},{"a":58574,"t":"byte","b":[92,104,84,104,117,169,170,252]},{"a":58582,"t":"byte","b":[76,119,117,119,136,169,187,218]},{"a":58590,"t":"byte","b":[108,102,134,119,103,152,169,218]},{"a":58598,"t":"byte","b":[108,102,135,120,135,167,170,219]},{"a":58606,"t":"byte","b":[108,85,135,135,136,169,186,217]},{"a":58614,"t":"byte","b":[108,118,136,119,136,153,186,203]},{"a":58622,"t":"byte","b":[108,118,119,119,152,153,186,220]},{"a":58630,"t":"byte","b":[108,118,119,119,152,153,186,220]},{"a":58638,"t":"byte","b":[108,118,135,119,152,153,185,220]},{"a":58646,"t":"byte","b":[108,118,119,135,136,153,170,220]},{"a":58654,"t":"byte","b":[92,118,136,119,136,169,186,220]},{"a":58662,"t":"byte","b":[108,119,136,119,152,136,169]},{"a":58669,"l":"speech_samples_1","c":"Compressed speech samples, first part ($E52D-$E92C): packed 1, 2 or 4 bits a sample as each frame header says, decoded into the speech buffer at $0800 by the frame decoders. The recordings were made by Electronic Speech Systems according to the published credits.","t":"byte","b":[236,108,135,136,119,136,136,169]},{"a":58677,"t":"byte","b":[252,108,135,153,119,136,136,169]},{"a":58685,"t":"byte","b":[236,124,119,152,137,119,151,186]},{"a":58693,"t":"byte","b":[220,108,136,136,135,136,136,169]},{"a":58701,"t":"byte","b":[236,108,119,135,136,152,153,169]},{"a":58709,"t":"byte","b":[203,108,118,135,152,153,153,170]},{"a":58717,"t":"byte","b":[170,124,119,119,136,136,153,169]},{"a":58725,"t":"byte","b":[170,124,119,119,136,136,153,153]},{"a":58733,"t":"byte","b":[170,124,102,134,137,104,102,167]},{"a":58741,"t":"byte","b":[236,124,102,134,170,122,52,148]},{"a":58749,"t":"byte","b":[253,140,86,133,187,106,35,148]},{"a":58757,"t":"byte","b":[253,156,86,133,186,106,19,148]},{"a":58765,"t":"byte","b":[253,140,102,134,170,105,35,165]},{"a":58773,"t":"byte","b":[253,124,119,135,153,88,84,167]},{"a":58781,"t":"byte","b":[253,108,102,119,135,136,136,169]},{"a":58789,"t":"byte","b":[219,92,102,118,152,153,153,153]},{"a":58797,"t":"byte","b":[186,108,102,118,152,153,169,170]},{"a":58805,"t":"byte","b":[170,124,119,119,102,102,102,118]},{"a":58813,"t":"byte","b":[119,135,152,169,170,140,119,103]},{"a":58821,"t":"byte","b":[102,102,102,118,119,135,152,153]},{"a":58829,"t":"byte","b":[170,124,119,119,119,102,102,102]},{"a":58837,"t":"byte","b":[118,135,153,169,170,124,119,119]},{"a":58845,"t":"byte","b":[103,102,102,102,118,136,169,170]},{"a":58853,"t":"byte","b":[186,140,136,136,119,118,102,102]},{"a":58861,"t":"byte","b":[102,135,136,152,186,140,136,136]},{"a":58869,"t":"byte","b":[120,102,102,102,101,135,136,152]},{"a":58877,"t":"byte","b":[186,124,135,135,153,120,102,118]},{"a":58885,"t":"byte","b":[70,84,134,168,220,124,135,137]},{"a":58893,"t":"byte","b":[119,136,102,102,86,85,135,152]},{"a":58901,"t":"byte","b":[235,124,135,137,120,118,104,101]},{"a":58909,"t":"byte","b":[103,118,151,169,202,213,204,54]},{"a":58917,"t":"byte","b":[147,205,76,146,78,171,50,165]},{"a":58925,"t":"byte","b":[37,181,149,170,38,55,213,180]},{"a":58933,"t":"byte","b":[181,169,100,165,72,19,87,165]},{"a":58941,"t":"byte","b":[52,37,165,77,182,85,173,172]},{"a":58949,"t":"byte","b":[182,173,166,105,179,85,165,166]},{"a":58957,"t":"byte","b":[153,101,170,102,167,173,53,165]},{"a":58965,"t":"byte","b":[172,100,170,73,86,103,70,53]},{"a":58973,"t":"byte","b":[179,89,165,38,181,73,46,205]},{"a":58981,"t":"byte","b":[141,29,103,108,225,27,117,236]},{"a":58989,"t":"byte","b":[56,93,89,43,102,85,21,235]},{"a":58997,"t":"byte","b":[13,31,85,173,106,91,181,194]},{"a":59005,"t":"byte","b":[102,113,197,13,43,7,46,213]},{"a":59013,"t":"byte","b":[154,81,231,184,130,79,53,195]},{"a":59021,"t":"byte","b":[170,26,29,42,98,221,104,213]},{"a":59029,"t":"byte","b":[98,7,175,113,101,19,87,205]},{"a":59037,"t":"byte","b":[30,85,49,110,168,85,199,142]},{"a":59045,"t":"byte","b":[185,102,77,178,82,147,122,209]},{"a":59053,"t":"byte","b":[116,212,169,114,149,241,213,121]},{"a":59061,"t":"byte","b":[138,85,165,44,125,108,169,155]},{"a":59069,"t":"byte","b":[86,101,67,150,252,124,170,122]},{"a":59077,"t":"byte","b":[100,119,51,132,253,124,203,123]},{"a":59085,"t":"byte","b":[16,132,135,152,251,108,119,103]},{"a":59093,"t":"byte","b":[82,135,101,167,253,108,102,102]},{"a":59101,"t":"byte","b":[85,118,136,152,251,227,113,28]},{"a":59109,"t":"byte","b":[199,225,56,62,124,227,227,28]},{"a":59117,"t":"byte","b":[199,227,60,30,167,199,241,32]},{"a":59125,"t":"byte","b":[135,99,60,140,195,121,220,25]},{"a":59133,"t":"byte","b":[135,227,112,28,59,147,107,230]},{"a":59141,"t":"byte","b":[140,25,103,173,169,51,99,204]},{"a":59149,"t":"byte","b":[110,85,85,202,152,241,28,14]},{"a":59157,"t":"byte","b":[199,227,112,60,124,63,60,142]},{"a":59165,"t":"byte","b":[227,227,112,56,15,211,165,165]},{"a":59173,"t":"byte","b":[181,165,165,45,99,124,87,101]},{"a":59181,"t":"byte","b":[119,134,186,153,186,124,102,119]},{"a":59189,"t":"byte","b":[136,86,151,153,218,108,118,119]},{"a":59197,"t":"byte","b":[119,119,135,153,202,108,119,119]},{"a":59205,"t":"byte","b":[119,119,135,153,186,108,102,118]},{"a":59213,"t":"byte","b":[119,119,136,153,170,108,102,85]},{"a":59221,"t":"byte","b":[117,136,153,153,186,108,119,102]},{"a":59229,"t":"byte","b":[85,117,136,151,252,140,103,136]},{"a":59237,"t":"byte","b":[70,115,121,101,251,76,181,158]},{"a":59245,"t":"byte","b":[52,85,118,118,250,108,216,143]},{"a":59253,"t":"byte","b":[18,100,151,136,217,140,101,152]},{"a":59261,"t":"byte","b":[103,68,150,120,250,124,102,119]},{"a":59269,"t":"byte","b":[135,119,168,154,185,108,85,102]},{"a":59277,"t":"byte","b":[118,135,152,153,202,108,102,102]},{"a":59285,"t":"byte","b":[118,136,136,153,186,108,102,102]},{"a":59293,"t":"byte","b":[118,136,153,153,186,108,102,101]},{"a":59301,"t":"byte","b":[102,135,152,169,203,124,102,152]},{"a":59309,"t":"byte","b":[36,117,119,151,251,156,120,169]},{"a":59317,"t":"byte","b":[20,114,151,153,250,156,41,148]},{"a":59325,"t":"byte","b":[73,84,133,154,250,140,87,133]},{"a":59333,"t":"byte","b":[103,69,148,139,249,140,118,102]},{"a":59341,"t":"byte","b":[101,86,150,153,252,140,119,86]},{"a":59349,"t":"byte","b":[85,101,151,186,252,124,103,101]},{"a":59357,"t":"byte","b":[102,118,151,186,220,140,102,86]},{"a":59365,"t":"byte","b":[117,119,168,170,202,124,119,119]},{"a":59373,"t":"byte","b":[118,119,103,118,119,119,167,169]},{"a":59381,"t":"byte","b":[218,124,151,119,102,135,87,151]},{"a":59389,"t":"byte","b":[119,100,181,169,233,124,136,120]},{"a":59397,"t":"byte","b":[102,135,103,135,103,101,134,152]},{"a":59405,"t":"byte","b":[202,124,119,119,102,102,102,135]},{"a":59413,"t":"byte","b":[119,118,135,152,202,124,119,119]},{"a":59421,"t":"byte","b":[102,102,102,119,119,119,152,153]},{"a":59429,"t":"byte","b":[186,124,119,119,102,102,118,119]},{"a":59437,"t":"byte","b":[119,135,152,153,186,124,119,119]},{"a":59445,"t":"byte","b":[103,102,118,135,119,135,152,153]},{"a":59453,"t":"byte","b":[186,124,119,103,102,102,118,135]},{"a":59461,"t":"byte","b":[135,136,152,153,186,147,182,196]},{"a":59469,"t":"byte","b":[41,165,45,141,141,103,108,78]},{"a":59477,"t":"byte","b":[205,153,164,45,45,51,30,142]},{"a":59485,"t":"byte","b":[135,199,113,60,142,141,211,113]},{"a":59493,"t":"byte","b":[102,57,171,135,51,113,206,49]},{"a":59501,"t":"byte","b":[78,42,139,231,225,189,140,57]},{"a":59509,"t":"byte","b":[206,49,153,166,60,121,139,185]},{"a":59517,"t":"byte","b":[134,99,142,71,121,59,99,206]},{"a":59525,"t":"byte","b":[152,153,217,178,141,157,57,182]},{"a":59533,"t":"byte","b":[153,57,227,204,156,99,102,198]},{"a":59541,"t":"byte","b":[152,179,49,115,134,51,51,103]},{"a":59549,"t":"byte","b":[140,49,103,158,97,92,133,88]},{"a":59557,"t":"byte","b":[116,120,185,88,232,92,135,87]},{"a":59565,"t":"byte","b":[100,120,201,89,231,108,85,118]},{"a":59573,"t":"byte","b":[135,120,86,150,236,92,101,102]},{"a":59581,"t":"byte","b":[119,119,102,151,252,108,101,119]},{"a":59589,"t":"byte","b":[119,86,102,151,252,108,102,134]},{"a":59597,"t":"byte","b":[121,85,102,134,252,124,103,101]},{"a":59605,"t":"byte","b":[119,70,132,153,250,124,120,101]},{"a":59613,"t":"byte","b":[87,84,102,152,235,124,104,100]},{"a":59621,"t":"byte","b":[103,85,101,168,252,140,70,100]},{"a":59629,"t":"byte","b":[153,71,85,133,253,156,122,51]},{"a":59637,"t":"byte","b":[167,88,101,100,252,124,119,102]},{"a":59645,"t":"byte","b":[118,119,86,101,136,120,152,153]},{"a":59653,"t":"byte","b":[186,124,119,102,119,102,102,101]},{"a":59661,"t":"byte","b":[135,136,153,136,202,124,119,119]},{"a":59669,"t":"byte","b":[102,119,86,118,136,136,136,152]},{"a":59677,"t":"byte","b":[186,124,119,119,102,102,86,118]},{"a":59685,"t":"byte","b":[136,136,136,152,170,124,135,137]},{"a":59693,"l":"speech_samples_2","c":"Compressed speech samples, second part ($E92D-$ED2C).","t":"byte","b":[136,103,85,118,136,136,103,134]},{"a":59701,"t":"byte","b":[202,124,119,119,103,102,102,118]},{"a":59709,"t":"byte","b":[136,119,136,136,202,124,119,103]},{"a":59717,"t":"byte","b":[102,102,102,135,136,119,152,153]},{"a":59725,"t":"byte","b":[169,172,120,102,102,118,137,167]},{"a":59733,"t":"byte","b":[155,135,137,52,68,99,171,85]},{"a":59741,"t":"byte","b":[251,124,102,151,121,166,140,117]},{"a":59749,"t":"byte","b":[154,119,87,100,71,97,206,69]},{"a":59757,"t":"byte","b":[250,108,152,86,184,89,199,122]},{"a":59765,"t":"byte","b":[118,137,102,85,153,50,252,24]},{"a":59773,"t":"byte","b":[246,124,135,103,185,88,167,105]},{"a":59781,"t":"byte","b":[134,120,87,99,188,35,249,26]},{"a":59789,"t":"byte","b":[244,124,137,101,186,87,183,72]},{"a":59797,"t":"byte","b":[133,120,87,116,171,35,250,42]},{"a":59805,"t":"byte","b":[245,140,136,120,168,88,150,88]},{"a":59813,"t":"byte","b":[117,120,86,100,170,52,234,74]},{"a":59821,"t":"byte","b":[246,140,136,136,136,136,103,135]},{"a":59829,"t":"byte","b":[87,117,87,100,153,118,169,138]},{"a":59837,"t":"byte","b":[184,124,120,136,135,120,136,136]},{"a":59845,"t":"byte","b":[120,118,87,85,135,85,201,106]},{"a":59853,"t":"byte","b":[231,124,135,136,119,152,136,119]},{"a":59861,"t":"byte","b":[119,119,103,101,136,68,217,74]},{"a":59869,"t":"byte","b":[246,108,151,121,117,170,103,135]},{"a":59877,"t":"byte","b":[136,119,87,116,137,84,218,56]},{"a":59885,"t":"byte","b":[247,108,102,151,137,151,170,121]},{"a":59893,"t":"byte","b":[102,168,39,114,139,83,169,121]},{"a":59901,"t":"byte","b":[201,124,119,119,136,136,152,120]},{"a":59909,"t":"byte","b":[119,119,119,86,85,166,172,53]},{"a":59917,"t":"byte","b":[248,156,136,119,119,119,136,120]},{"a":59925,"t":"byte","b":[102,103,102,119,119,102,118,168]},{"a":59933,"t":"byte","b":[219,124,136,153,120,102,118,136]},{"a":59941,"t":"byte","b":[136,103,101,135,153,103,69,117]},{"a":59949,"t":"byte","b":[251,140,119,119,136,136,120,102]},{"a":59957,"t":"byte","b":[151,137,103,118,135,153,71,83]},{"a":59965,"t":"byte","b":[251,140,120,151,105,101,152,120]},{"a":59973,"t":"byte","b":[136,120,136,103,68,200,124,50]},{"a":59981,"t":"byte","b":[249,140,104,133,154,86,168,121]},{"a":59989,"t":"byte","b":[135,120,118,120,53,165,140,51]},{"a":59997,"t":"byte","b":[249,124,102,151,137,119,168,154]},{"a":60005,"t":"byte","b":[103,134,120,118,70,148,189,36]},{"a":60013,"t":"byte","b":[247,156,104,118,152,153,104,102]},{"a":60021,"t":"byte","b":[118,136,104,69,100,185,139,85]},{"a":60029,"t":"byte","b":[217,156,136,136,120,119,136,103]},{"a":60037,"t":"byte","b":[85,102,102,118,135,136,136,136]},{"a":60045,"t":"byte","b":[186,140,136,136,136,136,103,135]},{"a":60053,"t":"byte","b":[120,86,85,85,151,171,87,117]},{"a":60061,"t":"byte","b":[235,124,87,133,154,136,170,87]},{"a":60069,"t":"byte","b":[166,156,36,116,136,119,103,117]},{"a":60077,"t":"byte","b":[235,124,104,134,138,102,186,88]},{"a":60085,"t":"byte","b":[150,171,54,83,118,152,104,101]},{"a":60093,"t":"byte","b":[251,108,135,136,103,151,171,120]},{"a":60101,"t":"byte","b":[135,153,87,67,102,151,139,68]},{"a":60109,"t":"byte","b":[249,108,119,152,104,167,155,120]},{"a":60117,"t":"byte","b":[135,136,86,68,118,168,139,68]},{"a":60125,"t":"byte","b":[249,124,119,152,137,153,137,119]},{"a":60133,"t":"byte","b":[119,86,68,101,136,136,120,118]},{"a":60141,"t":"byte","b":[251,140,136,136,119,119,135,119]},{"a":60149,"t":"byte","b":[102,102,102,119,119,135,136,169]},{"a":60157,"t":"byte","b":[186,124,102,102,135,153,170,137]},{"a":60165,"t":"byte","b":[119,119,102,102,102,102,134,169]},{"a":60173,"t":"byte","b":[203,124,103,102,134,153,169,154]},{"a":60181,"t":"byte","b":[119,119,119,102,85,85,134,169]},{"a":60189,"t":"byte","b":[220,156,120,102,118,135,153,137]},{"a":60197,"t":"byte","b":[135,120,119,120,102,69,100,168]},{"a":60205,"t":"byte","b":[236,172,120,86,101,135,136,136]},{"a":60213,"t":"byte","b":[136,136,136,120,86,68,117,152]},{"a":60221,"t":"byte","b":[219,156,120,102,102,135,136,136]},{"a":60229,"t":"byte","b":[136,136,136,120,86,68,117,152]},{"a":60237,"t":"byte","b":[203,140,136,119,119,136,152,136]},{"a":60245,"t":"byte","b":[119,102,119,135,119,102,118,152]},{"a":60253,"t":"byte","b":[202,99,62,54,199,225,225,120]},{"a":60261,"t":"byte","b":[176,121,124,56,15,252,224,135]},{"a":60269,"t":"byte","b":[205,92,118,103,134,170,153,170]},{"a":60277,"t":"byte","b":[219,76,100,119,135,152,203,138]},{"a":60285,"t":"byte","b":[234,76,116,119,135,152,202,139]},{"a":60293,"t":"byte","b":[233,92,100,119,119,136,202,138]},{"a":60301,"t":"byte","b":[251,92,100,119,118,136,202,155]},{"a":60309,"t":"byte","b":[235,76,117,104,117,153,185,171]},{"a":60317,"t":"byte","b":[235,108,118,120,135,168,169,169]},{"a":60325,"t":"byte","b":[235,140,86,101,135,137,102,103]},{"a":60333,"t":"byte","b":[135,103,102,151,219,140,86,85]},{"a":60341,"t":"byte","b":[118,136,103,119,119,103,102,152]},{"a":60349,"t":"byte","b":[219,140,102,102,118,119,103,118]},{"a":60357,"t":"byte","b":[119,119,119,152,219,124,119,103]},{"a":60365,"t":"byte","b":[118,103,102,118,136,120,135,169]},{"a":60373,"t":"byte","b":[203,124,103,102,102,102,102,118]},{"a":60381,"t":"byte","b":[119,136,136,169,186,124,103,52]},{"a":60389,"t":"byte","b":[134,19,131,104,118,152,170,170]},{"a":60397,"t":"byte","b":[235,108,137,51,118,52,68,117]},{"a":60405,"t":"byte","b":[120,117,252,107,249,124,152,54]},{"a":60413,"t":"byte","b":[134,52,101,85,136,101,236,89]},{"a":60421,"t":"byte","b":[249,124,119,102,103,85,102,102]},{"a":60429,"t":"byte","b":[119,119,169,137,218,124,136,119]},{"a":60437,"t":"byte","b":[136,136,121,101,119,119,103,134]},{"a":60445,"t":"byte","b":[136,86,102,151,253,140,120,135]},{"a":60453,"t":"byte","b":[136,136,103,86,118,120,102,102]},{"a":60461,"t":"byte","b":[135,87,117,168,253,156,153,120]},{"a":60469,"t":"byte","b":[136,136,103,86,101,119,102,102]},{"a":60477,"t":"byte","b":[119,87,117,169,252,140,136,136]},{"a":60485,"t":"byte","b":[136,136,119,86,101,119,119,102]},{"a":60493,"t":"byte","b":[118,135,136,153,202,140,136,120]},{"a":60501,"t":"byte","b":[119,119,119,102,102,102,102,118]},{"a":60509,"t":"byte","b":[135,136,152,169,186,156,137,136]},{"a":60517,"t":"byte","b":[120,119,102,102,102,102,102,102]},{"a":60525,"t":"byte","b":[119,136,153,169,170,156,137,136]},{"a":60533,"t":"byte","b":[119,119,102,102,86,102,102,118]},{"a":60541,"t":"byte","b":[119,152,153,169,186,140,136,136]},{"a":60549,"t":"byte","b":[120,119,103,102,102,102,102,118]},{"a":60557,"t":"byte","b":[135,136,153,153,170,124,152,137]},{"a":60565,"t":"byte","b":[136,103,119,102,118,136,120,69]},{"a":60573,"t":"byte","b":[117,136,136,119,235,140,136,119]},{"a":60581,"t":"byte","b":[152,120,119,102,118,119,119,119]},{"a":60589,"t":"byte","b":[136,120,85,134,235,140,136,119]},{"a":60597,"t":"byte","b":[152,120,119,102,119,119,119,103]},{"a":60605,"t":"byte","b":[134,104,102,151,236,124,136,135]},{"a":60613,"t":"byte","b":[136,119,119,119,119,103,118,119]},{"a":60621,"t":"byte","b":[119,103,101,151,252,140,120,135]},{"a":60629,"t":"byte","b":[153,152,121,102,136,103,69,84]},{"a":60637,"t":"byte","b":[135,119,102,168,236,124,136,119]},{"a":60645,"t":"byte","b":[153,152,137,86,134,104,102,85]},{"a":60653,"t":"byte","b":[135,87,117,151,253,156,136,119]},{"a":60661,"t":"byte","b":[136,136,103,102,151,120,102,69]},{"a":60669,"t":"byte","b":[151,103,85,167,236,140,120,119]},{"a":60677,"t":"byte","b":[153,136,102,86,135,136,86,119]},{"a":60685,"t":"byte","b":[151,88,101,151,235,124,135,136]},{"a":60693,"t":"byte","b":[136,152,137,120,119,119,103,69]},{"a":60701,"t":"byte","b":[101,119,119,152,251,140,119,135]},{"a":60709,"t":"byte","b":[136,152,121,134,136,119,103,68]},{"a":60717,"l":"speech_samples_3","c":"Compressed speech samples, third part ($ED2D-$F12C).","t":"byte","b":[118,119,102,134,252,140,119,119]},{"a":60725,"t":"byte","b":[136,136,120,119,136,119,119,85]},{"a":60733,"t":"byte","b":[119,103,102,152,235,124,119,118]},{"a":60741,"t":"byte","b":[136,136,120,118,136,136,103,101]},{"a":60749,"t":"byte","b":[136,103,102,151,219,140,135,120]},{"a":60757,"t":"byte","b":[135,119,135,119,119,135,120,102]},{"a":60765,"t":"byte","b":[119,119,135,135,218,29,143,55]},{"a":60773,"t":"byte","b":[158,209,23,243,57,33,243,195]},{"a":60781,"t":"byte","b":[135,213,56,24,195,39,62,106]},{"a":60789,"t":"byte","b":[28,13,89,116,81,139,147,197]},{"a":60797,"t":"byte","b":[105,217,193,103,186,135,58,214]},{"a":60805,"t":"byte","b":[197,212,77,114,240,143,27,118]},{"a":60813,"t":"byte","b":[129,3,118,112,88,85,114,60]},{"a":60821,"t":"byte","b":[93,177,49,55,231,165,118,156]},{"a":60829,"t":"byte","b":[198,97,116,90,241,211,97,49]},{"a":60837,"t":"byte","b":[199,27,156,133,35,147,89,242]},{"a":60845,"t":"byte","b":[164,15,219,152,156,157,201,152]},{"a":60853,"t":"byte","b":[152,29,89,147,39,156,153,137]},{"a":60861,"t":"byte","b":[119,102,101,102,118,135,152,153]},{"a":60869,"t":"byte","b":[153,156,153,137,119,86,85,85]},{"a":60877,"t":"byte","b":[118,136,153,153,152,140,136,120]},{"a":60885,"t":"byte","b":[135,120,119,87,85,85,118,169]},{"a":60893,"t":"byte","b":[219,140,153,120,119,119,136,103]},{"a":60901,"t":"byte","b":[86,68,117,168,236,140,169,154]},{"a":60909,"t":"byte","b":[120,85,135,119,120,53,100,168]},{"a":60917,"t":"byte","b":[236,124,169,121,136,70,117,120]},{"a":60925,"t":"byte","b":[135,103,85,134,252,140,137,134]},{"a":60933,"t":"byte","b":[155,86,103,51,185,56,132,120]},{"a":60941,"t":"byte","b":[250,172,122,117,154,102,121,33]},{"a":60949,"t":"byte","b":[217,56,149,104,249,108,153,184]},{"a":60957,"t":"byte","b":[75,129,142,66,103,133,154,69]},{"a":60965,"t":"byte","b":[249,76,168,170,57,162,143,65]},{"a":60973,"t":"byte","b":[136,102,135,103,217,108,119,200]},{"a":60981,"t":"byte","b":[76,113,190,85,85,134,138,52]},{"a":60989,"t":"byte","b":[249,92,151,154,105,100,236,23]},{"a":60997,"t":"byte","b":[149,86,153,68,250,76,186,120]},{"a":61005,"t":"byte","b":[104,148,206,52,134,71,133,87]},{"a":61013,"t":"byte","b":[249,108,136,102,169,120,170,36]},{"a":61021,"t":"byte","b":[183,55,101,117,253,108,153,119]},{"a":61029,"t":"byte","b":[154,85,104,101,169,55,99,136]},{"a":61037,"t":"byte","b":[251,124,119,119,103,85,118,120]},{"a":61045,"t":"byte","b":[152,104,134,136,202,124,136,119]},{"a":61053,"t":"byte","b":[119,69,134,120,151,72,132,121]},{"a":61061,"t":"byte","b":[250,108,167,122,167,89,133,88]},{"a":61069,"t":"byte","b":[150,39,115,137,251,92,133,170]},{"a":61077,"t":"byte","b":[170,72,148,121,151,39,81,135]},{"a":61085,"t":"byte","b":[252,92,150,137,153,103,135,137]},{"a":61093,"t":"byte","b":[136,54,66,151,252,92,134,153]},{"a":61101,"t":"byte","b":[153,104,134,137,136,54,66,150]},{"a":61109,"t":"byte","b":[252,92,134,137,153,104,134,153]},{"a":61117,"t":"byte","b":[136,54,66,135,251,92,134,152]},{"a":61125,"t":"byte","b":[153,104,118,136,137,54,67,150]},{"a":61133,"t":"byte","b":[252,92,118,152,154,120,118,136]},{"a":61141,"t":"byte","b":[136,54,99,135,251,92,134,153]},{"a":61149,"t":"byte","b":[154,103,119,135,137,70,84,135]},{"a":61157,"t":"byte","b":[235,92,135,153,153,103,118,136]},{"a":61165,"t":"byte","b":[136,70,84,151,219,124,119,135]},{"a":61173,"t":"byte","b":[136,136,120,135,120,101,119,102]},{"a":61181,"t":"byte","b":[102,135,137,135,202,108,119,119]},{"a":61189,"t":"byte","b":[136,152,137,136,137,102,119,103]},{"a":61197,"t":"byte","b":[102,134,153,119,201,108,119,119]},{"a":61205,"t":"byte","b":[136,152,137,151,121,102,119,102]},{"a":61213,"t":"byte","b":[86,133,154,119,201,124,119,136]},{"a":61221,"t":"byte","b":[119,152,137,135,120,102,118,119]},{"a":61229,"t":"byte","b":[102,118,169,104,216,124,119,136]},{"a":61237,"t":"byte","b":[120,152,137,119,119,102,118,119]},{"a":61245,"t":"byte","b":[102,118,185,89,231,140,119,152]},{"a":61253,"t":"byte","b":[137,136,120,102,119,102,102,102]},{"a":61261,"t":"byte","b":[119,118,185,106,215,140,136,136]},{"a":61269,"t":"byte","b":[136,120,119,103,119,86,119,102]},{"a":61277,"t":"byte","b":[136,102,185,105,216,140,136,136]},{"a":61285,"t":"byte","b":[136,119,120,118,86,102,118,103]},{"a":61293,"t":"byte","b":[135,103,201,89,216,156,137,136]},{"a":61301,"t":"byte","b":[136,119,119,102,102,102,119,102]},{"a":61309,"t":"byte","b":[136,119,184,106,215,156,137,136]},{"a":61317,"t":"byte","b":[137,119,119,102,102,85,102,102]},{"a":61325,"t":"byte","b":[136,119,185,122,200,156,137,136]},{"a":61333,"t":"byte","b":[120,135,104,102,86,102,103,101]},{"a":61341,"t":"byte","b":[137,118,169,153,186,140,153,120]},{"a":61349,"t":"byte","b":[136,119,119,102,102,102,102,102]},{"a":61357,"t":"byte","b":[136,119,169,137,201,156,136,136]},{"a":61365,"t":"byte","b":[120,134,104,117,86,118,103,117]},{"a":61373,"t":"byte","b":[137,118,169,137,185,156,137,135]},{"a":61381,"t":"byte","b":[136,119,103,102,102,102,118,102]},{"a":61389,"t":"byte","b":[136,118,185,121,200,156,136,137]},{"a":61397,"t":"byte","b":[136,119,120,102,102,86,118,118]},{"a":61405,"t":"byte","b":[120,134,169,137,184,140,136,136]},{"a":61413,"t":"byte","b":[120,119,120,118,103,102,118,103]},{"a":61421,"t":"byte","b":[118,136,136,136,201,140,152,137]},{"a":61429,"t":"byte","b":[103,69,134,153,170,104,118,119]},{"a":61437,"t":"byte","b":[136,86,84,150,219,140,152,120]},{"a":61445,"t":"byte","b":[103,85,135,136,153,120,119,135]},{"a":61453,"t":"byte","b":[120,86,84,151,219,140,136,120]},{"a":61461,"t":"byte","b":[103,102,134,152,153,120,135,136]},{"a":61469,"t":"byte","b":[120,70,84,151,203,140,136,136]},{"a":61477,"t":"byte","b":[103,102,119,152,153,120,118,136]},{"a":61485,"t":"byte","b":[136,86,84,151,203,140,136,120]},{"a":61493,"t":"byte","b":[103,102,135,136,136,120,119,136]},{"a":61501,"t":"byte","b":[119,86,101,152,186,140,136,120]},{"a":61509,"t":"byte","b":[119,102,135,136,136,119,135,136]},{"a":61517,"t":"byte","b":[103,102,118,152,186,108,102,86]},{"a":61525,"t":"byte","b":[118,152,153,121,217,124,102,87]},{"a":61533,"t":"byte","b":[117,136,153,103,250,140,135,70]},{"a":61541,"t":"byte","b":[84,134,169,105,249,140,135,71]},{"a":61549,"t":"byte","b":[67,101,169,121,250,124,135,104]},{"a":61557,"t":"byte","b":[52,83,184,122,249,108,135,104]},{"a":61565,"t":"byte","b":[52,83,185,122,249,124,119,71]},{"a":61573,"t":"byte","b":[50,117,187,120,250,124,117,103]},{"a":61581,"t":"byte","b":[52,99,186,121,250,108,86,101]},{"a":61589,"t":"byte","b":[70,100,169,136,252,108,69,117]},{"a":61597,"t":"byte","b":[53,148,155,151,252,108,86,84]},{"a":61605,"t":"byte","b":[53,131,204,104,251,108,137,69]},{"a":61613,"t":"byte","b":[52,132,188,70,249,172,54,50]},{"a":61621,"t":"byte","b":[84,134,137,102,250,108,52,100]},{"a":61629,"t":"byte","b":[120,84,135,152,236,108,85,85]},{"a":61637,"t":"byte","b":[86,101,151,170,236,140,136,120]},{"a":61645,"t":"byte","b":[119,119,119,103,102,118,119,118]},{"a":61653,"t":"byte","b":[119,119,152,170,186,124,135,136]},{"a":61661,"t":"byte","b":[119,119,119,119,119,119,119,102]},{"a":61669,"t":"byte","b":[118,119,152,170,186,124,119,119]},{"a":61677,"t":"byte","b":[136,152,153,137,120,86,85,68]},{"a":61685,"t":"byte","b":[101,102,152,186,203,124,119,103]},{"a":61693,"t":"byte","b":[135,136,169,137,152,121,119,86]},{"a":61701,"t":"byte","b":[85,68,117,185,236,156,120,102]},{"a":61709,"t":"byte","b":[101,135,152,153,136,136,119,119]},{"a":61717,"t":"byte","b":[103,69,100,152,235,140,137,119]},{"a":61725,"t":"byte","b":[86,101,135,153,153,121,118,136]},{"a":61733,"t":"byte","b":[120,70,84,150,235,156,120,119]},{"a":61741,"l":"speech_samples_4","c":"Compressed speech samples, fourth part ($F12D-$F52C).","t":"byte","b":[119,102,118,135,170,138,102,118]},{"a":61749,"t":"byte","b":[135,119,86,117,235,156,120,119]},{"a":61757,"t":"byte","b":[102,118,120,135,153,153,120,102]},{"a":61765,"t":"byte","b":[102,119,103,101,234,156,120,103]},{"a":61773,"t":"byte","b":[119,135,103,118,169,154,103,118]},{"a":61781,"t":"byte","b":[136,119,102,117,218,140,120,119]},{"a":61789,"t":"byte","b":[119,119,135,153,137,119,119,119]},{"a":61797,"t":"byte","b":[119,86,101,151,203,124,119,135]},{"a":61805,"t":"byte","b":[136,136,136,136,136,136,119,102]},{"a":61813,"t":"byte","b":[102,102,119,152,186,124,119,135]},{"a":61821,"t":"byte","b":[136,136,136,136,136,120,119,102]},{"a":61829,"t":"byte","b":[85,102,135,153,170,108,119,135]},{"a":61837,"t":"byte","b":[136,136,136,136,120,119,103,102]},{"a":61845,"t":"byte","b":[102,118,136,153,186,124,119,102]},{"a":61853,"t":"byte","b":[102,119,103,118,136,136,153,153]},{"a":61861,"t":"byte","b":[169,124,119,102,102,118,103,118]},{"a":61869,"t":"byte","b":[136,136,153,153,169,108,119,152]},{"a":61877,"t":"byte","b":[120,103,85,134,153,104,101,119]},{"a":61885,"t":"byte","b":[250,124,135,170,120,86,84,152]},{"a":61893,"t":"byte","b":[137,87,83,135,252,124,152,137]},{"a":61901,"t":"byte","b":[119,86,85,135,136,87,100,152]},{"a":61909,"t":"byte","b":[252,108,152,137,120,69,101,136]},{"a":61917,"t":"byte","b":[136,87,84,167,253,124,152,153]},{"a":61925,"t":"byte","b":[103,85,101,135,153,71,84,150]},{"a":61933,"t":"byte","b":[253,140,153,137,87,85,85,134]},{"a":61941,"t":"byte","b":[136,86,85,167,252,156,153,137]},{"a":61949,"t":"byte","b":[86,84,101,118,103,85,118,185]},{"a":61957,"t":"byte","b":[220,140,136,120,86,85,118,119]},{"a":61965,"t":"byte","b":[119,86,118,168,220,140,119,119]},{"a":61973,"t":"byte","b":[102,102,118,119,103,102,135,169]},{"a":61981,"t":"byte","b":[203,140,119,102,85,102,102,119]},{"a":61989,"t":"byte","b":[119,135,152,153,170,140,119,102]},{"a":61997,"t":"byte","b":[102,102,118,119,119,119,152,153]},{"a":62005,"t":"byte","b":[169,124,119,102,102,118,119,119]},{"a":62013,"t":"byte","b":[119,119,136,153,169,124,119,119]},{"a":62021,"t":"byte","b":[119,119,119,119,119,119,136,153]},{"a":62029,"t":"byte","b":[169,108,119,119,103,119,102,119]},{"a":62037,"t":"byte","b":[152,136,136,136,202,108,102,151]},{"a":62045,"t":"byte","b":[153,104,68,117,185,138,86,151]},{"a":62053,"t":"byte","b":[219,108,84,134,153,120,85,134]},{"a":62061,"t":"byte","b":[169,88,67,166,253,124,102,119]},{"a":62069,"t":"byte","b":[135,121,85,118,153,104,84,167]},{"a":62077,"t":"byte","b":[253,124,102,102,152,121,101,118]},{"a":62085,"t":"byte","b":[169,105,67,151,252,108,101,134]},{"a":62093,"t":"byte","b":[170,104,69,117,185,90,67,150]},{"a":62101,"t":"byte","b":[253,92,117,169,154,87,84,134]},{"a":62109,"t":"byte","b":[153,54,66,183,255,108,152,153]},{"a":62117,"t":"byte","b":[137,70,84,135,153,70,84,167]},{"a":62125,"t":"byte","b":[253,124,135,153,120,86,101,118]},{"a":62133,"t":"byte","b":[120,102,102,168,236,124,135,136]},{"a":62141,"t":"byte","b":[120,102,102,102,119,102,118,168]},{"a":62149,"t":"byte","b":[219,156,153,136,120,102,86,101]},{"a":62157,"t":"byte","b":[102,102,135,169,203,140,136,136]},{"a":62165,"t":"byte","b":[119,102,102,135,136,102,118,152]},{"a":62173,"t":"byte","b":[202,124,136,136,119,118,135,136]},{"a":62181,"t":"byte","b":[136,103,118,136,169,140,136,136]},{"a":62189,"t":"byte","b":[119,119,119,136,136,103,118,152]},{"a":62197,"t":"byte","b":[169,140,136,119,119,119,135,136]},{"a":62205,"t":"byte","b":[136,119,119,152,170,140,120,119]},{"a":62213,"t":"byte","b":[119,119,119,119,119,119,119,152]},{"a":62221,"t":"byte","b":[170,140,136,119,119,119,103,119]},{"a":62229,"t":"byte","b":[102,118,103,118,136,136,153,153]},{"a":62237,"t":"byte","b":[170,140,136,120,119,120,102,119]},{"a":62245,"t":"byte","b":[102,119,102,118,136,136,153,153]},{"a":62253,"t":"byte","b":[170,124,136,136,119,119,119,136]},{"a":62261,"t":"byte","b":[103,102,85,118,136,136,119,152]},{"a":62269,"t":"byte","b":[202,156,136,120,101,119,151,137]},{"a":62277,"t":"byte","b":[119,103,101,135,137,71,84,151]},{"a":62285,"t":"byte","b":[252,156,136,103,117,120,151,154]},{"a":62293,"t":"byte","b":[136,70,116,137,136,54,49,167]},{"a":62301,"t":"byte","b":[253,156,120,102,118,136,168,154]},{"a":62309,"t":"byte","b":[120,53,100,152,170,38,65,151]},{"a":62317,"t":"byte","b":[253,140,120,102,135,136,153,137]},{"a":62325,"t":"byte","b":[120,69,101,136,137,70,83,167]},{"a":62333,"t":"byte","b":[253,156,120,102,118,152,154,120]},{"a":62341,"t":"byte","b":[102,85,102,135,136,86,85,167]},{"a":62349,"t":"byte","b":[220,124,119,119,135,152,153,136]},{"a":62357,"t":"byte","b":[103,102,102,119,119,102,118,168]},{"a":62365,"t":"byte","b":[203,140,120,119,135,152,153,120]},{"a":62373,"t":"byte","b":[102,85,101,119,119,119,119,152]},{"a":62381,"t":"byte","b":[186,140,136,119,135,136,136,119]},{"a":62389,"t":"byte","b":[103,118,119,119,119,119,119,152]},{"a":62397,"t":"byte","b":[186,140,136,136,136,120,119,119]},{"a":62405,"t":"byte","b":[103,119,119,119,119,119,135,152]},{"a":62413,"t":"byte","b":[186,140,136,136,136,120,119,103]},{"a":62421,"t":"byte","b":[102,119,119,119,119,119,136,153]},{"a":62429,"t":"byte","b":[169,143,7,243,209,131,241,193]},{"a":62437,"t":"byte","b":[3,227,185,193,199,195,195,199]},{"a":62445,"t":"byte","b":[195,195,195,199,225,3,31,248]},{"a":62453,"t":"byte","b":[193,140,119,135,153,120,102,118]},{"a":62461,"t":"byte","b":[152,104,84,135,218,140,103,151]},{"a":62469,"t":"byte","b":[170,121,86,101,169,89,67,134]},{"a":62477,"t":"byte","b":[251,124,103,151,170,137,86,117]},{"a":62485,"t":"byte","b":[168,88,83,102,250,156,71,133]},{"a":62493,"t":"byte","b":[153,171,87,101,168,89,83,102]},{"a":62501,"t":"byte","b":[250,156,71,133,153,186,72,100]},{"a":62509,"t":"byte","b":[168,88,83,118,251,140,53,116]},{"a":62517,"t":"byte","b":[202,205,71,67,151,89,116,103]},{"a":62525,"t":"byte","b":[249,156,21,131,203,189,87,52]},{"a":62533,"t":"byte","b":[166,106,99,103,249,140,87,133]},{"a":62541,"t":"byte","b":[169,154,70,101,153,104,68,117]},{"a":62549,"t":"byte","b":[252,124,70,133,170,187,55,99]},{"a":62557,"t":"byte","b":[153,104,101,101,234,140,53,132]},{"a":62565,"t":"byte","b":[187,188,54,83,168,105,118,86]},{"a":62573,"t":"byte","b":[249,140,53,132,186,188,54,83]},{"a":62581,"t":"byte","b":[167,106,118,86,249,140,120,119]},{"a":62589,"t":"byte","b":[119,136,103,118,168,138,103,118]},{"a":62597,"t":"byte","b":[136,120,102,118,201,156,119,135]},{"a":62605,"t":"byte","b":[120,119,103,118,169,154,103,102]},{"a":62613,"t":"byte","b":[118,136,103,117,202,140,120,119]},{"a":62621,"t":"byte","b":[135,120,118,136,152,137,103,102]},{"a":62629,"t":"byte","b":[135,121,86,118,202,131,195,131]},{"a":62637,"t":"byte","b":[215,116,194,131,99,31,158,231]},{"a":62645,"t":"byte","b":[164,13,37,97,31,227,229,97]},{"a":62653,"t":"byte","b":[201,97,27,138,195,140,137,119]},{"a":62661,"t":"byte","b":[103,118,119,135,152,154,119,119]},{"a":62669,"t":"byte","b":[119,70,83,168,235,140,120,119]},{"a":62677,"t":"byte","b":[119,119,102,135,152,154,119,136]},{"a":62685,"t":"byte","b":[119,70,83,168,218,172,87,133]},{"a":62693,"t":"byte","b":[137,118,37,182,137,188,119,137]},{"a":62701,"t":"byte","b":[86,70,32,167,253,140,120,118]},{"a":62709,"t":"byte","b":[135,136,102,135,152,153,120,102]},{"a":62717,"t":"byte","b":[118,104,68,134,251,140,136,119]},{"a":62725,"t":"byte","b":[119,135,120,119,151,153,119,102]},{"a":62733,"t":"byte","b":[135,103,101,151,186,108,186,72]},{"a":62741,"t":"byte","b":[165,104,70,117,249,108,172,102]},{"a":62749,"t":"byte","b":[134,104,70,116,251,108,202,91]},{"a":62757,"t":"byte","b":[131,89,53,132,251,92,217,108]},{"a":62765,"l":"speech_samples_5","c":"Compressed speech samples, last part ($F52D-$F771), up to the end of the file words.","t":"byte","b":[114,89,85,133,250,92,218,123]},{"a":62773,"t":"byte","b":[98,104,86,133,251,92,167,188]},{"a":62781,"t":"byte","b":[70,67,152,119,249,108,152,169]},{"a":62789,"t":"byte","b":[70,135,72,131,252,124,152,154]},{"a":62797,"t":"byte","b":[86,119,71,147,252,108,167,171]},{"a":62805,"t":"byte","b":[69,118,88,148,252,108,168,171]},{"a":62813,"t":"byte","b":[53,117,88,148,252,124,169,137]},{"a":62821,"t":"byte","b":[102,102,53,181,252,108,169,154]},{"a":62829,"t":"byte","b":[68,118,72,132,252,108,185,106]},{"a":62837,"t":"byte","b":[100,151,71,116,251,124,153,105]},{"a":62845,"t":"byte","b":[100,118,103,134,251,140,153,121]},{"a":62853,"t":"byte","b":[101,102,103,118,250,124,186,104]},{"a":62861,"t":"byte","b":[101,119,86,134,219,124,186,105]},{"a":62869,"t":"byte","b":[100,119,86,134,235,124,186,105]},{"a":62877,"t":"byte","b":[84,119,86,133,251,140,170,121]},{"a":62885,"t":"byte","b":[85,102,103,101,251,140,153,121]},{"a":62893,"t":"byte","b":[101,102,103,117,250,140,153,121]},{"a":62901,"t":"byte","b":[102,118,103,101,249,124,185,106]},{"a":62909,"t":"byte","b":[68,119,119,117,218,124,185,106]},{"a":62917,"t":"byte","b":[83,120,102,100,251,124,169,121]},{"a":62925,"t":"byte","b":[99,136,103,117,234,124,168,105]},{"a":62933,"t":"byte","b":[100,120,87,117,235,124,168,106]},{"a":62941,"t":"byte","b":[84,136,87,116,251,124,152,121]},{"a":62949,"t":"byte","b":[102,119,103,101,249,124,168,122]},{"a":62957,"t":"byte","b":[85,135,103,117,250,124,168,138]},{"a":62965,"t":"byte","b":[85,135,87,117,234,140,152,138]},{"a":62973,"t":"byte","b":[85,135,103,117,250,124,168,121]},{"a":62981,"t":"byte","b":[101,119,87,133,234,140,168,122]},{"a":62989,"t":"byte","b":[85,119,86,117,251,140,168,121]},{"a":62997,"t":"byte","b":[101,119,103,117,234,140,168,121]},{"a":63005,"t":"byte","b":[85,119,86,133,251,140,168,121]},{"a":63013,"t":"byte","b":[85,119,86,117,251,140,152,121]},{"a":63021,"t":"byte","b":[101,119,103,118,234,140,168,121]},{"a":63029,"t":"byte","b":[85,135,87,117,235,140,168,121]},{"a":63037,"t":"byte","b":[85,119,103,117,251,140,169,105]},{"a":63045,"t":"byte","b":[85,119,102,118,234,140,169,105]},{"a":63053,"t":"byte","b":[85,119,102,118,234,124,169,105]},{"a":63061,"t":"byte","b":[84,119,103,117,235,140,185,105]},{"a":63069,"t":"byte","b":[84,119,102,117,235,140,186,105]},{"a":63077,"t":"byte","b":[83,119,103,117,235,140,185,105]},{"a":63085,"t":"byte","b":[84,119,87,117,251,124,186,105]},{"a":63093,"t":"byte","b":[84,119,87,117,235,140,169,121]},{"a":63101,"t":"byte","b":[85,118,103,117,235,140,169,121]},{"a":63109,"t":"byte","b":[85,118,103,117,235,140,170,121]},{"a":63117,"t":"byte","b":[85,118,87,133,219,124,186,105]},{"a":63125,"t":"byte","b":[85,119,86,133,235,124,186,105]},{"a":63133,"t":"byte","b":[85,119,86,133,235,124,186,105]},{"a":63141,"t":"byte","b":[85,119,86,133,235,140,186,105]},{"a":63149,"t":"byte","b":[85,118,86,133,235,124,186,105]},{"a":63157,"t":"byte","b":[84,119,86,133,251,140,186,105]},{"a":63165,"t":"byte","b":[85,118,86,133,252,140,186,105]},{"a":63173,"t":"byte","b":[85,102,86,133,252,140,186,105]},{"a":63181,"t":"byte","b":[84,102,86,133,252,140,186,105]},{"a":63189,"t":"byte","b":[84,102,85,134,252,140,170,105]},{"a":63197,"t":"byte","b":[84,86,85,150,252,140,170,105]},{"a":63205,"t":"byte","b":[84,102,85,133,252,140,169,104]},{"a":63213,"t":"byte","b":[85,102,85,133,251,140,169,104]},{"a":63221,"t":"byte","b":[84,103,85,134,251,140,152,104]},{"a":63229,"t":"byte","b":[101,103,102,134,218,140,152,104]},{"a":63237,"t":"byte","b":[101,119,103,118,202,140,153,104]},{"a":63245,"t":"byte","b":[85,118,119,135,185,140,153,104]},{"a":63253,"t":"byte","b":[102,102,118,135,185,140,136,120]},{"a":63261,"t":"byte","b":[102,118,119,119,185,140,136,120]},{"a":63269,"t":"byte","b":[102,119,119,119,169,140,136,120]},{"a":63277,"t":"byte","b":[118,119,135,119,168,140,135,136]},{"a":63285,"t":"byte","b":[103,119,119,135,168,140,136,120]},{"a":63293,"t":"byte","b":[119,119,119,119,168,140,136,120]},{"a":63301,"t":"byte","b":[119,119,135,120,168,140,136,136]},{"a":63309,"t":"byte","b":[102,135,136,119,152,140,135,136]},{"a":63317,"t":"byte","b":[103,135,120,119,152,124,136,120]},{"a":63325,"t":"byte","b":[119,119,120,119,168,124,136,136]},{"a":63333,"t":"byte","b":[103,135,119,135,152,124,136,136]},{"a":63341,"t":"byte","b":[102,135,120,135,152]},{"a":63346,"l":"speech_padding","c":"The last bytes the file words loads, $FF padding after the samples.","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":63354,"t":"byte","b":[255,255,255,255,255,255]},{"a":63360,"t":"gap","n":128},{"a":63488,"l":"gfx_end_colours","c":"The end picture's colour RAM, 1000 nibbles (bit 3 set for multicolour cells) and 24 unused bytes. Moved here from $C000 at the start and copied to $D800 by elvin_terminal.","t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63496,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63504,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63512,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63520,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63528,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63536,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63544,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63552,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63560,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63568,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63576,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63584,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63592,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63600,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63608,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63616,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63624,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63632,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63640,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63648,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63656,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63664,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63672,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63680,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63688,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63696,"t":"byte","b":[24,24,24,24,24,24,14,14]},{"a":63704,"t":"byte","b":[14,14,14,14,14,14,14,24]},{"a":63712,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63720,"t":"byte","b":[24,24,24,24,24,24,24,24]},{"a":63728,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63736,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63744,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63752,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63760,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63768,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63776,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63784,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63792,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63800,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63808,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63816,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63824,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63832,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63840,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63848,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63856,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63864,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63872,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63880,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63888,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63896,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63904,"t":"byte","b":[14,14,31,14,14,25,25,17]},{"a":63912,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63920,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63928,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63936,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63944,"t":"byte","b":[14,31,31,14,25,25,25,17]},{"a":63952,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":63960,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63968,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63976,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":63984,"t":"byte","b":[25,25,31,14,25,25,25,17]},{"a":63992,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":64000,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64008,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64016,"t":"byte","b":[14,14,14,14,25,25,25,25]},{"a":64024,"t":"byte","b":[25,25,25,14,25,14,14,17]},{"a":64032,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":64040,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64048,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64056,"t":"byte","b":[14,14,14,14,14,25,31,31]},{"a":64064,"t":"byte","b":[25,25,14,31,31,31,25,17]},{"a":64072,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":64080,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64088,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64096,"t":"byte","b":[14,14,14,14,14,31,31,31]},{"a":64104,"t":"byte","b":[14,14,14,31,14,25,25,25]},{"a":64112,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":64120,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64128,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64136,"t":"byte","b":[14,14,14,14,14,31,31,14]},{"a":64144,"t":"byte","b":[14,14,25,25,25,25,25,25]},{"a":64152,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":64160,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64168,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64176,"t":"byte","b":[14,14,14,14,14,14,31,25]},{"a":64184,"t":"byte","b":[25,14,25,25,25,25,25,25]},{"a":64192,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":64200,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64208,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64216,"t":"byte","b":[14,14,14,14,14,14,31,31]},{"a":64224,"t":"byte","b":[31,14,25,25,25,25,25,25]},{"a":64232,"t":"byte","b":[17,14,14,14,14,14,14,14]},{"a":64240,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64248,"t":"byte","b":[14,25,14,14,14,14,14,14]},{"a":64256,"t":"byte","b":[25,14,31,14,14,14,14,31]},{"a":64264,"t":"byte","b":[14,14,25,25,25,25,25,25]},{"a":64272,"t":"byte","b":[25,25,14,14,14,11,14,25]},{"a":64280,"t":"byte","b":[14,14,14,14,14,14,25,14]},{"a":64288,"t":"byte","b":[14,14,14,14,14,14,14,31]},{"a":64296,"t":"byte","b":[14,14,13,14,14,14,14,25]},{"a":64304,"t":"byte","b":[25,31,25,25,25,25,25,25]},{"a":64312,"t":"byte","b":[25,25,25,25,25,15,14,14]},{"a":64320,"t":"byte","b":[21,21,21,21,21,21,14,14]},{"a":64328,"t":"byte","b":[14,14,14,14,26,31,14,14]},{"a":64336,"t":"byte","b":[14,14,15,14,14,14,14,25]},{"a":64344,"t":"byte","b":[25,25,25,25,25,25,25,25]},{"a":64352,"t":"byte","b":[25,25,25,25,25,25,14,14]},{"a":64360,"t":"byte","b":[21,21,21,21,21,29,14,14]},{"a":64368,"t":"byte","b":[14,14,31,31,10,14,14,14]},{"a":64376,"t":"byte","b":[14,14,11,14,11,14,14,25]},{"a":64384,"t":"byte","b":[25,25,25,25,25,25,25,25]},{"a":64392,"t":"byte","b":[25,25,25,25,25,25,25,14]},{"a":64400,"t":"byte","b":[21,21,21,21,21,21,14,14]},{"a":64408,"t":"byte","b":[14,25,14,14,14,14,14,14]},{"a":64416,"t":"byte","b":[25,14,9,14,15,14,14,25]},{"a":64424,"t":"byte","b":[25,25,25,25,25,25,25,25]},{"a":64432,"t":"byte","b":[25,25,25,25,25,25,25,25]},{"a":64440,"t":"byte","b":[14,14,14,14,14,14,25,14]},{"a":64448,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64456,"t":"byte","b":[14,14,14,14,14,14,14,25]},{"a":64464,"t":"byte","b":[25,25,25,25,25,25,25,25]},{"a":64472,"t":"byte","b":[25,25,25,25,25,25,25,14]},{"a":64480,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64488,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64496,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64504,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":64512,"t":"gap","n":1024,"x":[45850,46678]}]}