{"schema":1,"platform":"c64","game":"into-the-eagles-nest","title":"Into the Eagle's Nest","build":"PAL cassette, Pandora, inlay stamped 1986, analysed at the loader's hand-over","symbols_sha256":"123b2d3136f1d96db1ce58ea43662699d97ffa60696c4ed533d315b8d49622b8","snapshot":{"file":"work/entry.vsf","sha256":"c0ecdaa5272cba27756819e5a8cb50a29f0017f2a7ff7f2d9a33c947fbd18277"},"index":[{"a":0,"n":"cpu_ddr","k":"routine","len":1,"c":true},{"a":1,"n":"cpu_port","k":"routine","len":1,"c":true},{"a":2,"n":"map_addr_lo","k":"routine","len":1,"c":true},{"a":3,"n":"map_addr_hi","k":"routine","len":1,"c":true},{"a":4,"n":"build_source_lo","k":"routine","len":1,"c":true},{"a":5,"n":"build_source_hi","k":"routine","len":1,"c":true},{"a":6,"n":"grid_addr_lo","k":"routine","len":1,"c":true},{"a":7,"n":"grid_addr_hi","k":"routine","len":1,"c":true},{"a":8,"n":"figure_from_lo","k":"routine","len":1,"c":true},{"a":9,"n":"figure_from_hi","k":"routine","len":1,"c":true},{"a":10,"n":"figure_shape_lo","k":"routine","len":1,"c":true},{"a":11,"n":"figure_shape_hi","k":"routine","len":3,"c":true},{"a":145,"n":"zero_page_note","k":"table","len":52,"c":true},{"a":197,"n":"space_down","k":"table","len":37,"c":true},{"a":234,"n":"zero_page_spare_1","k":"table","len":8,"c":true},{"a":242,"n":"zero_page_spare_2","k":"table","len":8,"c":true},{"a":250,"n":"room_lo","k":"variable","len":1,"c":true},{"a":251,"n":"room_hi","k":"variable","len":1,"c":true},{"a":252,"n":"pointer_lo","k":"variable","len":1,"c":true},{"a":253,"n":"pointer_hi","k":"variable","len":1,"c":true},{"a":254,"n":"room_offset_x","k":"variable","len":1,"c":true},{"a":255,"n":"room_offset_y","k":"variable","len":1,"c":true},{"a":512,"n":"basic_input_buffer","k":"table","len":167,"c":true},{"a":679,"n":"current_floor","k":"variable","len":1,"c":true},{"a":680,"n":"block_rows_built","k":"variable","len":1,"c":true},{"a":681,"n":"message_scroll","k":"variable","len":1,"c":true},{"a":682,"n":"room_change","k":"variable","len":1,"c":true},{"a":683,"n":"fade_mask","k":"variable","len":1,"c":true},{"a":684,"n":"keys","k":"variable","len":1,"c":true},{"a":685,"n":"door_half","k":"variable","len":1,"c":true},{"a":686,"n":"door_other_half","k":"variable","len":1,"c":true},{"a":687,"n":"shots_in_air","k":"variable","len":1,"c":true},{"a":688,"n":"player_facing","k":"variable","len":1,"c":true},{"a":689,"n":"shot1_direction","k":"variable","len":1,"c":true},{"a":690,"n":"shot1_distance","k":"variable","len":1,"c":true},{"a":691,"n":"shot2_direction","k":"variable","len":1,"c":true},{"a":692,"n":"shot2_distance","k":"variable","len":1,"c":true},{"a":693,"n":"fire_held","k":"variable","len":1,"c":true},{"a":694,"n":"tile_lookup_x","k":"variable","len":1,"c":true},{"a":695,"n":"tile_lookup_y","k":"variable","len":1,"c":true},{"a":696,"n":"steel_door_tile","k":"variable","len":1,"c":true},{"a":697,"n":"wooden_door_tile","k":"variable","len":1,"c":true},{"a":698,"n":"move_tick","k":"variable","len":1,"c":true},{"a":699,"n":"digit_high","k":"variable","len":1,"c":true},{"a":700,"n":"digit_low","k":"variable","len":1,"c":true},{"a":701,"n":"ammo","k":"variable","len":1,"c":true},{"a":702,"n":"door_message_said","k":"variable","len":1,"c":true},{"a":703,"n":"idle_nag_count","k":"variable","len":1,"c":true},{"a":704,"n":"idle_fire_count","k":"variable","len":1,"c":true},{"a":705,"n":"idle_count","k":"variable","len":1,"c":true},{"a":706,"n":"score_hi","k":"variable","len":1,"c":true},{"a":707,"n":"score_mid","k":"variable","len":1,"c":true},{"a":708,"n":"score_lo","k":"variable","len":1,"c":true},{"a":709,"n":"score_to_add","k":"variable","len":1,"c":true},{"a":710,"n":"hits","k":"variable","len":1,"c":true},{"a":711,"n":"slide_steps","k":"variable","len":1,"c":true},{"a":712,"n":"lift_state","k":"variable","len":1,"c":true},{"a":713,"n":"pause_flag","k":"variable","len":1,"c":true},{"a":714,"n":"player_tile_x","k":"variable","len":1,"c":true},{"a":715,"n":"player_tile_y","k":"variable","len":1,"c":true},{"a":716,"n":"figures_phase","k":"variable","len":1,"c":true},{"a":717,"n":"figures_moved","k":"variable","len":1,"c":true},{"a":718,"n":"figure_turn","k":"variable","len":1,"c":true},{"a":719,"n":"figure_count","k":"variable","len":1,"c":true},{"a":720,"n":"block_column","k":"variable","len":1,"c":true},{"a":721,"n":"block_row","k":"variable","len":1,"c":true},{"a":722,"n":"hit_direction","k":"variable","len":1,"c":true},{"a":723,"n":"mission_phase","k":"variable","len":1,"c":true},{"a":724,"n":"explosion_rounds","k":"variable","len":1,"c":true},{"a":725,"n":"sound_effect","k":"variable","len":1,"c":true},{"a":726,"n":"sound_playing","k":"variable","len":1,"c":true},{"a":727,"n":"sound_timer","k":"variable","len":1,"c":true},{"a":728,"n":"footstep_due","k":"variable","len":1,"c":true},{"a":729,"n":"footstep_phase","k":"variable","len":1,"c":true},{"a":730,"n":"walk_count","k":"variable","len":1,"c":true},{"a":731,"n":"shot1_x","k":"variable","len":1,"c":true},{"a":732,"n":"shot1_y","k":"variable","len":1,"c":true},{"a":733,"n":"shot2_x","k":"variable","len":1,"c":true},{"a":734,"n":"shot2_y","k":"variable","len":1,"c":true},{"a":735,"n":"player_x","k":"variable","len":1,"c":true},{"a":736,"n":"player_y","k":"variable","len":1,"c":true},{"a":737,"n":"random_index","k":"variable","len":1,"c":true},{"a":738,"n":"jewel_scan","k":"variable","len":1,"c":true},{"a":739,"n":"shot_pending","k":"variable","len":1,"c":true},{"a":740,"n":"prisoner_tick","k":"variable","len":1,"c":true},{"a":741,"n":"prisoner_held","k":"variable","len":1,"c":true},{"a":742,"n":"floor_before_lift","k":"variable","len":1,"c":true},{"a":743,"n":"last_tile_under_player","k":"variable","len":1,"c":true},{"a":744,"n":"prisoner_free","k":"variable","len":1,"c":true},{"a":745,"n":"handover_wanted","k":"variable","len":1,"c":true},{"a":746,"n":"detonator_place_lo","k":"variable","len":1,"c":true},{"a":747,"n":"detonator_place_hi","k":"variable","len":2,"c":true},{"a":749,"n":"prisoner_start_lo","k":"variable","len":1,"c":true},{"a":750,"n":"prisoner_start_hi","k":"variable","len":1,"c":true},{"a":751,"n":"irq_phase","k":"variable","len":1,"c":true},{"a":752,"n":"figures_or_prisoner","k":"table","len":7,"c":true},{"a":759,"n":"figure_moved_this_pass","k":"table","len":9,"c":true},{"a":788,"n":"irq_vector","k":"variable","len":1,"c":true},{"a":789,"n":"irq_vector_hi","k":"table","len":64,"c":true},{"a":2064,"n":"go_hiscore_check","k":"routine","len":3,"c":true},{"a":2073,"n":"score_digits","k":"table","len":6,"c":true},{"a":2079,"n":"hiscore_name_entry","k":"table","len":10,"c":true},{"a":2089,"n":"hiscore_offset","k":"variable","len":1,"c":true},{"a":2090,"n":"go_you_are_dead","k":"routine","len":3,"c":true},{"a":2093,"n":"go_floor_select","k":"routine","len":3,"c":true},{"a":2096,"n":"go_mission_select","k":"routine","len":3,"c":true},{"a":2099,"n":"go_mission_briefing","k":"routine","len":3,"c":true},{"a":2102,"n":"mission_number","k":"variable","len":1,"c":true},{"a":2103,"n":"go_mission_result","k":"routine","len":3,"c":true},{"a":2106,"n":"install_attract_irq","k":"routine","len":31,"c":true},{"a":2137,"n":"attract_irq_band","k":"variable","len":1,"c":true},{"a":2138,"n":"attract_irq","k":"routine","len":75,"c":true},{"a":2177,"n":"b_0881","k":"branch","len":1,"c":false},{"a":2188,"n":"b_088C","k":"branch","len":1,"c":false},{"a":2199,"n":"b_0897","k":"branch","len":1,"c":false},{"a":2207,"n":"j_089F","k":"branch","len":1,"c":false},{"a":2213,"n":"band_picture","k":"routine","len":43,"c":true},{"a":2256,"n":"set_text_screen","k":"routine","len":44,"c":true},{"a":2300,"n":"band_text","k":"routine","len":44,"c":true},{"a":2344,"n":"strip_scroll","k":"variable","len":1,"c":true},{"a":2345,"n":"band_strip_scroll","k":"routine","len":12,"c":true},{"a":2357,"n":"band_strip_scroll_off","k":"routine","len":11,"c":true},{"a":2368,"n":"draw_name_cursor","k":"routine","len":29,"c":true},{"a":2397,"n":"name_entry_busy","k":"variable","len":1,"c":true},{"a":2398,"n":"j_095E","k":"routine","len":6,"c":true},{"a":2404,"n":"name_entry_fire","k":"routine","len":69,"c":true},{"a":2433,"n":"b_0981","k":"branch","len":1,"c":false},{"a":2466,"n":"b_09A2","k":"branch","len":1,"c":false},{"a":2472,"n":"r_09A8","k":"branch","len":1,"c":false},{"a":2473,"n":"strip_position","k":"variable","len":1,"c":true},{"a":2474,"n":"strip_character","k":"variable","len":1,"c":true},{"a":2475,"n":"draw_alphabet_strip","k":"routine","len":104,"c":true},{"a":2489,"n":"b_09B9","k":"branch","len":1,"c":false},{"a":2521,"n":"b_09D9","k":"branch","len":1,"c":false},{"a":2528,"n":"b_09E0","k":"branch","len":1,"c":false},{"a":2533,"n":"b_09E5","k":"branch","len":1,"c":false},{"a":2557,"n":"b_09FD","k":"branch","len":1,"c":false},{"a":2579,"n":"name_entry_input","k":"routine","len":36,"c":true},{"a":2589,"n":"b_0A1D","k":"branch","len":1,"c":false},{"a":2599,"n":"b_0A27","k":"branch","len":1,"c":false},{"a":2609,"n":"b_0A31","k":"branch","len":1,"c":false},{"a":2615,"n":"strip_scroll_right","k":"routine","len":35,"c":true},{"a":2629,"n":"b_0A45","k":"branch","len":1,"c":false},{"a":2644,"n":"b_0A54","k":"branch","len":1,"c":false},{"a":2650,"n":"strip_scroll_left","k":"routine","len":33,"c":true},{"a":2662,"n":"b_0A66","k":"branch","len":1,"c":false},{"a":2677,"n":"b_0A75","k":"branch","len":1,"c":false},{"a":2683,"n":"plot_code_tl","k":"variable","len":1,"c":true},{"a":2684,"n":"plot_code_tr","k":"variable","len":1,"c":true},{"a":2685,"n":"plot_code_bl","k":"variable","len":1,"c":true},{"a":2686,"n":"plot_code_br","k":"variable","len":1,"c":true},{"a":2687,"n":"plot_char","k":"variable","len":1,"c":true},{"a":2688,"n":"plot_col","k":"variable","len":1,"c":true},{"a":2689,"n":"plot_row","k":"variable","len":1,"c":true},{"a":2690,"n":"plot_colour_top","k":"variable","len":1,"c":true},{"a":2691,"n":"plot_colour_bottom","k":"variable","len":1,"c":true},{"a":2692,"n":"plot_char_2x2","k":"routine","len":137,"c":true},{"a":2729,"n":"j_0AA9","k":"branch","len":1,"c":false},{"a":2743,"n":"b_0AB7","k":"branch","len":1,"c":false},{"a":2747,"n":"b_0ABB","k":"branch","len":1,"c":false},{"a":2824,"n":"b_0B08","k":"branch","len":1,"c":false},{"a":2829,"n":"str_well_done","k":"table","len":41,"c":true},{"a":2870,"n":"str_enter_your_name","k":"table","len":18,"c":true},{"a":2888,"n":"name_alphabet","k":"table","len":48,"c":true},{"a":2936,"n":"str_name_field","k":"table","len":17,"c":true},{"a":2953,"n":"hiscore_check","k":"routine","len":56,"c":true},{"a":2968,"n":"b_0B98","k":"branch","len":1,"c":false},{"a":2970,"n":"b_0B9A","k":"branch","len":1,"c":false},{"a":2988,"n":"b_0BAC","k":"branch","len":1,"c":false},{"a":2993,"n":"b_0BB1","k":"branch","len":1,"c":false},{"a":3009,"n":"name_entry_screen","k":"routine","len":105,"c":true},{"a":3026,"n":"b_0BD2","k":"branch","len":1,"c":false},{"a":3068,"n":"b_0BFC","k":"branch","len":1,"c":false},{"a":3081,"n":"b_0C09","k":"branch","len":1,"c":false},{"a":3093,"n":"b_0C15","k":"branch","len":1,"c":false},{"a":3114,"n":"draw_name_entry_text","k":"routine","len":169,"c":true},{"a":3136,"n":"j_0C40","k":"branch","len":1,"c":false},{"a":3146,"n":"b_0C4A","k":"branch","len":1,"c":false},{"a":3165,"n":"b_0C5D","k":"branch","len":1,"c":false},{"a":3187,"n":"j_0C73","k":"branch","len":1,"c":false},{"a":3206,"n":"b_0C86","k":"branch","len":1,"c":false},{"a":3264,"n":"j_0CC0","k":"branch","len":1,"c":false},{"a":3283,"n":"name_length","k":"variable","len":1,"c":true},{"a":3284,"n":"name_entry_wait","k":"routine","len":8,"c":true},{"a":3292,"n":"wait_for_name","k":"routine","len":11,"c":true},{"a":3303,"n":"read_typed_name","k":"routine","len":17,"c":true},{"a":3320,"n":"hiscore_insert","k":"routine","len":68,"c":true},{"a":3337,"n":"b_0D09","k":"branch","len":1,"c":false},{"a":3353,"n":"b_0D19","k":"branch","len":1,"c":false},{"a":3370,"n":"b_0D2A","k":"branch","len":1,"c":false},{"a":3388,"n":"hiscore_delay","k":"routine","len":20,"c":true},{"a":3390,"n":"b_0D3E","k":"branch","len":1,"c":false},{"a":3392,"n":"b_0D40","k":"branch","len":1,"c":false},{"a":3394,"n":"b_0D42","k":"branch","len":1,"c":false},{"a":3408,"n":"hiscore_first_name","k":"variable","len":1,"c":true},{"a":3409,"n":"hiscore_table","k":"table","len":12,"c":true},{"a":3421,"n":"hiscore_first_score","k":"table","len":64,"c":true},{"a":3485,"n":"hiscore_entries_rest","k":"table","len":124,"c":true},{"a":3609,"n":"hiscore_heading_spaces","k":"table","len":19,"c":true},{"a":3628,"n":"str_todays_real_heroes","k":"table","len":20,"c":true},{"a":3648,"n":"install_title_irq","k":"routine","len":42,"c":true},{"a":3690,"n":"title_irq","k":"routine","len":143,"c":true},{"a":3759,"n":"b_0EAF","k":"branch","len":1,"c":false},{"a":3762,"n":"b_0EB2","k":"branch","len":1,"c":false},{"a":3765,"n":"b_0EB5","k":"branch","len":1,"c":false},{"a":3808,"n":"b_0EE0","k":"branch","len":1,"c":false},{"a":3814,"n":"b_0EE6","k":"branch","len":1,"c":false},{"a":3827,"n":"j_0EF3","k":"branch","len":1,"c":false},{"a":3833,"n":"paint_four_bands","k":"routine","len":84,"c":true},{"a":3835,"n":"b_0EFB","k":"branch","len":1,"c":false},{"a":3917,"n":"install_plaque_irq","k":"routine","len":71,"c":true},{"a":3935,"n":"b_0F5F","k":"branch","len":1,"c":false},{"a":3988,"n":"plaque_irq_band","k":"variable","len":1,"c":true},{"a":3989,"n":"plaque_irq","k":"routine","len":43,"c":true},{"a":4018,"n":"b_0FB2","k":"branch","len":1,"c":false},{"a":4032,"n":"set_plaque_bitmap","k":"routine","len":37,"c":true},{"a":4069,"n":"fade_table_1","k":"table","len":10,"c":true},{"a":4079,"n":"fade_table_2","k":"table","len":10,"c":true},{"a":4089,"n":"fade_table_3","k":"table","len":7,"c":true},{"a":4099,"n":"fade_table_4","k":"table","len":10,"c":true},{"a":4109,"n":"fade_colour_1","k":"variable","len":1,"c":true},{"a":4110,"n":"fade_colour_2","k":"variable","len":1,"c":true},{"a":4111,"n":"fade_colour_3","k":"variable","len":1,"c":true},{"a":4112,"n":"fade_colour_4","k":"variable","len":1,"c":true},{"a":4113,"n":"fade_step","k":"variable","len":1,"c":true},{"a":4114,"n":"fade_phase","k":"variable","len":1,"c":true},{"a":4115,"n":"fade_hold","k":"variable","len":1,"c":true},{"a":4116,"n":"build_title_screen","k":"routine","len":155,"c":true},{"a":4119,"n":"j_1017","k":"branch","len":1,"c":false},{"a":4165,"n":"b_1045","k":"branch","len":1,"c":false},{"a":4204,"n":"j_106C","k":"branch","len":1,"c":false},{"a":4223,"n":"b_107F","k":"branch","len":1,"c":false},{"a":4245,"n":"b_1095","k":"branch","len":1,"c":false},{"a":4271,"n":"wait_on_title","k":"routine","len":25,"c":true},{"a":4293,"n":"b_10C5","k":"branch","len":1,"c":false},{"a":4296,"n":"str_programming_by","k":"table","len":17,"c":true},{"a":4313,"n":"str_andrew_challis","k":"table","len":17,"c":true},{"a":4330,"n":"str_graphics_by","k":"table","len":16,"c":true},{"a":4346,"n":"str_robin_chapman","k":"table","len":17,"c":true},{"a":4363,"n":"str_valuables_heading","k":"table","len":5,"c":true},{"a":4368,"n":"valuables_text","k":"table","len":10,"c":true},{"a":4378,"n":"str_painting","k":"table","len":9,"c":true},{"a":4387,"n":"str_vase","k":"table","len":5,"c":true},{"a":4392,"n":"str_pendant","k":"table","len":8,"c":true},{"a":4400,"n":"str_gemstones","k":"table","len":10,"c":true},{"a":4410,"n":"draw_icon_frames","k":"routine","len":25,"c":true},{"a":4430,"n":"b_114E","k":"branch","len":1,"c":false},{"a":4432,"n":"b_1150","k":"branch","len":1,"c":false},{"a":4435,"n":"draw_icon_frames_screen","k":"routine","len":1,"c":true},{"a":4436,"n":"draw_icon_frames_operand","k":"routine","len":5,"c":true},{"a":4441,"n":"draw_icon_frames_colour","k":"routine","len":1,"c":true},{"a":4442,"n":"draw_icon_frames_colour_hi","k":"routine","len":29,"c":true},{"a":4466,"n":"b_1172","k":"branch","len":1,"c":false},{"a":4471,"n":"r_1177","k":"routine","len":1,"c":true},{"a":4472,"n":"str_supplies_heading","k":"table","len":11,"c":true},{"a":4483,"n":"str_cold_food","k":"table","len":10,"c":true},{"a":4493,"n":"str_door_key","k":"table","len":9,"c":true},{"a":4502,"n":"str_ammunition","k":"table","len":11,"c":true},{"a":4513,"n":"str_first_aid","k":"table","len":10,"c":true},{"a":4523,"n":"build_credits_screen","k":"routine","len":137,"c":true},{"a":4525,"n":"b_11AD","k":"branch","len":1,"c":false},{"a":4577,"n":"j_11E1","k":"branch","len":1,"c":false},{"a":4596,"n":"b_11F4","k":"branch","len":1,"c":false},{"a":4608,"n":"j_1200","k":"branch","len":1,"c":false},{"a":4627,"n":"b_1213","k":"branch","len":1,"c":false},{"a":4649,"n":"j_1229","k":"branch","len":1,"c":false},{"a":4660,"n":"false_symbol_1234","k":"routine","len":42,"c":true},{"a":4668,"n":"b_123C","k":"branch","len":1,"c":false},{"a":4680,"n":"j_1248","k":"branch","len":1,"c":false},{"a":4699,"n":"b_125B","k":"branch","len":1,"c":false},{"a":4702,"n":"wait_on_credits","k":"routine","len":24,"c":true},{"a":4704,"n":"b_1260","k":"branch","len":1,"c":false},{"a":4706,"n":"b_1262","k":"branch","len":1,"c":false},{"a":4708,"n":"b_1264","k":"branch","len":1,"c":false},{"a":4726,"n":"copy_valuable_icons","k":"routine","len":42,"c":true},{"a":4728,"n":"b_1278","k":"branch","len":1,"c":false},{"a":4739,"n":"b_1283","k":"branch","len":1,"c":false},{"a":4768,"n":"build_valuables_screen","k":"routine","len":20,"c":true},{"a":4788,"n":"place_valuable_icons","k":"routine","len":171,"c":true},{"a":4959,"n":"draw_valuables_text","k":"routine","len":130,"c":true},{"a":4976,"n":"b_1370","k":"branch","len":1,"c":false},{"a":4988,"n":"j_137C","k":"branch","len":1,"c":false},{"a":5005,"n":"b_138D","k":"branch","len":1,"c":false},{"a":5017,"n":"j_1399","k":"branch","len":1,"c":false},{"a":5032,"n":"b_13A8","k":"branch","len":1,"c":false},{"a":5044,"n":"j_13B4","k":"branch","len":1,"c":false},{"a":5059,"n":"b_13C3","k":"branch","len":1,"c":false},{"a":5071,"n":"j_13CF","k":"branch","len":1,"c":false},{"a":5086,"n":"b_13DE","k":"branch","len":1,"c":false},{"a":5089,"n":"wait_on_valuables","k":"routine","len":24,"c":true},{"a":5091,"n":"b_13E3","k":"branch","len":1,"c":false},{"a":5093,"n":"b_13E5","k":"branch","len":1,"c":false},{"a":5095,"n":"b_13E7","k":"branch","len":1,"c":false},{"a":5113,"n":"copy_supply_icons","k":"routine","len":54,"c":true},{"a":5115,"n":"b_13FB","k":"branch","len":1,"c":false},{"a":5132,"n":"b_140C","k":"branch","len":1,"c":false},{"a":5149,"n":"b_141D","k":"branch","len":1,"c":false},{"a":5167,"n":"build_supplies_screen","k":"routine","len":136,"c":true},{"a":5303,"n":"draw_supplies_text","k":"routine","len":148,"c":true},{"a":5315,"n":"j_14C3","k":"branch","len":1,"c":false},{"a":5332,"n":"b_14D4","k":"branch","len":1,"c":false},{"a":5344,"n":"j_14E0","k":"branch","len":1,"c":false},{"a":5361,"n":"b_14F1","k":"branch","len":1,"c":false},{"a":5373,"n":"j_14FD","k":"branch","len":1,"c":false},{"a":5390,"n":"b_150E","k":"branch","len":1,"c":false},{"a":5402,"n":"j_151A","k":"branch","len":1,"c":false},{"a":5419,"n":"b_152B","k":"branch","len":1,"c":false},{"a":5431,"n":"j_1537","k":"branch","len":1,"c":false},{"a":5448,"n":"b_1548","k":"branch","len":1,"c":false},{"a":5451,"n":"wait_on_supplies","k":"routine","len":27,"c":true},{"a":5453,"n":"b_154D","k":"branch","len":1,"c":false},{"a":5455,"n":"b_154F","k":"branch","len":1,"c":false},{"a":5457,"n":"b_1551","k":"branch","len":1,"c":false},{"a":5478,"n":"mission_select_setup","k":"routine","len":124,"c":true},{"a":5494,"n":"b_1576","k":"branch","len":1,"c":false},{"a":5571,"n":"b_15C3","k":"branch","len":1,"c":false},{"a":5591,"n":"b_15D7","k":"branch","len":1,"c":false},{"a":5602,"n":"music_stream_1","k":"table","len":158,"c":true},{"a":5760,"n":"music_stream_2","k":"table","len":232,"c":true},{"a":5992,"n":"music_stream_3","k":"table","len":144,"c":true},{"a":6136,"n":"note_freq_hi","k":"table","len":74,"c":true},{"a":6210,"n":"note_freq_lo","k":"table","len":74,"c":true},{"a":6284,"n":"note_length","k":"table","len":74,"c":true},{"a":6358,"n":"music_init","k":"routine","len":90,"c":true},{"a":6360,"n":"b_18D8","k":"branch","len":1,"c":false},{"a":6448,"n":"music_waveform","k":"table","len":3,"c":true},{"a":6451,"n":"music_countdown","k":"variable","len":1,"c":true},{"a":6452,"n":"music_countdown_2","k":"variable","len":1,"c":true},{"a":6453,"n":"music_countdown_3","k":"variable","len":1,"c":true},{"a":6454,"n":"music_position","k":"variable","len":1,"c":true},{"a":6455,"n":"music_position_2","k":"variable","len":1,"c":true},{"a":6456,"n":"music_position_3","k":"variable","len":1,"c":true},{"a":6457,"n":"music_freq_hi","k":"table","len":3,"c":true},{"a":6460,"n":"music_freq_lo","k":"table","len":3,"c":true},{"a":6463,"n":"music_voice","k":"variable","len":1,"c":true},{"a":6464,"n":"music_voice_offset","k":"variable","len":1,"c":true},{"a":6465,"n":"music_note","k":"variable","len":1,"c":true},{"a":6466,"n":"music_note_2","k":"variable","len":1,"c":true},{"a":6467,"n":"music_note_3","k":"variable","len":2,"c":true},{"a":6469,"n":"music_tick","k":"variable","len":2,"c":true},{"a":6471,"n":"music_driver","k":"routine","len":205,"c":true},{"a":6482,"n":"b_1952","k":"branch","len":1,"c":false},{"a":6489,"n":"j_1959","k":"branch","len":1,"c":false},{"a":6504,"n":"b_1968","k":"branch","len":1,"c":false},{"a":6513,"n":"b_1971","k":"branch","len":1,"c":false},{"a":6524,"n":"b_197C","k":"branch","len":1,"c":false},{"a":6538,"n":"b_198A","k":"branch","len":1,"c":false},{"a":6548,"n":"b_1994","k":"branch","len":1,"c":false},{"a":6558,"n":"b_199E","k":"branch","len":1,"c":false},{"a":6616,"n":"b_19D8","k":"branch","len":1,"c":false},{"a":6634,"n":"j_19EA","k":"branch","len":1,"c":false},{"a":6637,"n":"j_19ED","k":"branch","len":1,"c":false},{"a":6650,"n":"r_19FA","k":"branch","len":1,"c":false},{"a":6651,"n":"b_19FB","k":"branch","len":1,"c":false},{"a":6676,"n":"str_you_are_dead","k":"table","len":13,"c":true},{"a":6689,"n":"draw_you_are_dead","k":"routine","len":74,"c":true},{"a":6693,"n":"b_1A25","k":"branch","len":1,"c":false},{"a":6745,"n":"j_1A59","k":"branch","len":1,"c":false},{"a":6762,"n":"r_1A6A","k":"branch","len":1,"c":false},{"a":6763,"n":"str_select_floor","k":"table","len":13,"c":true},{"a":6776,"n":"floor_names","k":"table","len":14,"c":true},{"a":6790,"n":"str_ground_floor","k":"table","len":14,"c":true},{"a":6804,"n":"str_first_floor","k":"table","len":14,"c":true},{"a":6818,"n":"str_second_floor","k":"table","len":14,"c":true},{"a":6832,"n":"floor_frame_colour","k":"variable","len":1,"c":true},{"a":6833,"n":"floor_chosen","k":"variable","len":1,"c":true},{"a":6834,"n":"floor_select_screen","k":"routine","len":302,"c":true},{"a":6848,"n":"b_1AC0","k":"branch","len":1,"c":false},{"a":6905,"n":"j_1AF9","k":"branch","len":1,"c":false},{"a":6922,"n":"b_1B0A","k":"branch","len":1,"c":false},{"a":6944,"n":"j_1B20","k":"branch","len":1,"c":false},{"a":6961,"n":"b_1B31","k":"branch","len":1,"c":false},{"a":6973,"n":"j_1B3D","k":"branch","len":1,"c":false},{"a":6990,"n":"b_1B4E","k":"branch","len":1,"c":false},{"a":7002,"n":"j_1B5A","k":"branch","len":1,"c":false},{"a":7019,"n":"b_1B6B","k":"branch","len":1,"c":false},{"a":7031,"n":"j_1B77","k":"branch","len":1,"c":false},{"a":7048,"n":"b_1B88","k":"branch","len":1,"c":false},{"a":7130,"n":"b_1BDA","k":"branch","len":1,"c":false},{"a":7136,"n":"false_symbol_1BE0","k":"routine","len":114,"c":true},{"a":7172,"n":"b_1C04","k":"branch","len":1,"c":false},{"a":7208,"n":"b_1C28","k":"branch","len":1,"c":false},{"a":7250,"n":"floor_select_input","k":"routine","len":54,"c":true},{"a":7276,"n":"j_1C6C","k":"branch","len":1,"c":false},{"a":7287,"n":"b_1C77","k":"branch","len":1,"c":false},{"a":7304,"n":"floor_select_delay","k":"routine","len":140,"c":true},{"a":7306,"n":"b_1C8A","k":"branch","len":1,"c":false},{"a":7308,"n":"b_1C8C","k":"branch","len":1,"c":false},{"a":7314,"n":"b_1C92","k":"branch","len":1,"c":false},{"a":7324,"n":"b_1C9C","k":"branch","len":1,"c":false},{"a":7357,"n":"b_1CBD","k":"branch","len":1,"c":false},{"a":7383,"n":"b_1CD7","k":"branch","len":1,"c":false},{"a":7418,"n":"b_1CFA","k":"branch","len":1,"c":false},{"a":7444,"n":"str_select_mission","k":"table","len":15,"c":true},{"a":7459,"n":"mission_select_screen","k":"routine","len":118,"c":true},{"a":7480,"n":"b_1D38","k":"branch","len":1,"c":false},{"a":7527,"n":"j_1D67","k":"branch","len":1,"c":false},{"a":7544,"n":"b_1D78","k":"branch","len":1,"c":false},{"a":7577,"n":"mission_select_input","k":"routine","len":37,"c":true},{"a":7591,"n":"b_1DA7","k":"branch","len":1,"c":false},{"a":7601,"n":"b_1DB1","k":"branch","len":1,"c":false},{"a":7611,"n":"b_1DBB","k":"branch","len":1,"c":false},{"a":7614,"n":"draw_mission_digit","k":"routine","len":38,"c":true},{"a":7641,"n":"b_1DD9","k":"branch","len":1,"c":false},{"a":7643,"n":"b_1DDB","k":"branch","len":1,"c":false},{"a":7652,"n":"mission_number_up","k":"routine","len":18,"c":true},{"a":7664,"n":"b_1DF0","k":"branch","len":1,"c":false},{"a":7670,"n":"mission_number_down","k":"routine","len":16,"c":true},{"a":7680,"n":"b_1E00","k":"branch","len":1,"c":false},{"a":7686,"n":"mission_text","k":"table","len":8,"c":true},{"a":7694,"n":"str_mission_heading","k":"table","len":10,"c":true},{"a":7704,"n":"mission_rescue_text","k":"table","len":20,"c":true},{"a":7724,"n":"mission_blow_up_text","k":"table","len":19,"c":true},{"a":7743,"n":"mission_briefing","k":"routine","len":196,"c":true},{"a":7751,"n":"b_1E47","k":"branch","len":1,"c":false},{"a":7798,"n":"j_1E76","k":"branch","len":1,"c":false},{"a":7815,"n":"b_1E87","k":"branch","len":1,"c":false},{"a":7827,"n":"j_1E93","k":"branch","len":1,"c":false},{"a":7844,"n":"b_1EA4","k":"branch","len":1,"c":false},{"a":7888,"n":"j_1ED0","k":"branch","len":1,"c":false},{"a":7905,"n":"b_1EE1","k":"branch","len":1,"c":false},{"a":7917,"n":"j_1EED","k":"branch","len":1,"c":false},{"a":7934,"n":"b_1EFE","k":"branch","len":1,"c":false},{"a":7939,"n":"briefing_delay","k":"routine","len":18,"c":true},{"a":7941,"n":"b_1F05","k":"branch","len":1,"c":false},{"a":7943,"n":"b_1F07","k":"branch","len":1,"c":false},{"a":7945,"n":"b_1F09","k":"branch","len":1,"c":false},{"a":7957,"n":"well_done_text","k":"table","len":12,"c":true},{"a":7969,"n":"mission_success_text","k":"table","len":19,"c":true},{"a":7988,"n":"str_success","k":"table","len":8,"c":true},{"a":7996,"n":"mission_result_screen","k":"routine","len":191,"c":true},{"a":8032,"n":"b_1F60","k":"branch","len":1,"c":false},{"a":8074,"n":"j_1F8A","k":"branch","len":1,"c":false},{"a":8091,"n":"b_1F9B","k":"branch","len":1,"c":false},{"a":8113,"n":"j_1FB1","k":"branch","len":1,"c":false},{"a":8130,"n":"b_1FC2","k":"branch","len":1,"c":false},{"a":8152,"n":"j_1FD8","k":"branch","len":1,"c":false},{"a":8169,"n":"b_1FE9","k":"branch","len":1,"c":false},{"a":8171,"n":"b_1FEB","k":"branch","len":1,"c":false},{"a":8173,"n":"b_1FED","k":"branch","len":1,"c":false},{"a":8175,"n":"b_1FEF","k":"branch","len":1,"c":false},{"a":8192,"n":"tiles_charset","k":"table","len":128,"c":true},{"a":8320,"n":"tile_door_key","k":"table","len":16,"c":true},{"a":8336,"n":"tile_ammo","k":"table","len":16,"c":true},{"a":8352,"n":"tile_painting","k":"table","len":32,"c":true},{"a":8384,"n":"tile_vase","k":"table","len":32,"c":true},{"a":8416,"n":"tile_cold_food","k":"table","len":32,"c":true},{"a":8448,"n":"tiles_charset_1b","k":"table","len":64,"c":true},{"a":8512,"n":"tiles_charset_1c","k":"table","len":64,"c":true},{"a":8576,"n":"tiles_charset_2","k":"table","len":432,"c":true},{"a":9008,"n":"tiles_charset_1d","k":"table","len":64,"c":true},{"a":9072,"n":"tiles_charset_3","k":"table","len":144,"c":true},{"a":9216,"n":"tiles_charset_high","k":"table","len":672,"c":true},{"a":9888,"n":"prisoner_tiles","k":"table","len":64,"c":true},{"a":9952,"n":"tiles_charset_4","k":"table","len":288,"c":true},{"a":10240,"n":"big_alphabet","k":"table","len":1024,"c":true},{"a":11264,"n":"big_alphabet_high","k":"table","len":832,"c":true},{"a":12096,"n":"borrowed_icon_frames","k":"table","len":64,"c":true},{"a":12160,"n":"borrowed_icon_1","k":"table","len":32,"c":true},{"a":12192,"n":"borrowed_icon_2","k":"table","len":16,"c":true},{"a":12208,"n":"borrowed_icon_5","k":"table","len":8,"c":true},{"a":12216,"n":"borrowed_icon_6","k":"table","len":8,"c":true},{"a":12224,"n":"borrowed_icon_3","k":"table","len":16,"c":true},{"a":12240,"n":"borrowed_icon_7","k":"table","len":8,"c":true},{"a":12248,"n":"borrowed_icon_8","k":"table","len":8,"c":true},{"a":12256,"n":"borrowed_icon_4","k":"table","len":32,"c":true},{"a":12288,"n":"sprite_shapes","k":"table","len":272,"c":true},{"a":12560,"n":"sprite_shapes_1a","k":"table","len":64,"c":true},{"a":12624,"n":"sprite_shapes_1b","k":"table","len":688,"c":true},{"a":13312,"n":"sprite_shapes_2","k":"table","len":1024,"c":true},{"a":14336,"n":"sprite_shapes_3","k":"table","len":1024,"c":true},{"a":15360,"n":"sprite_shapes_4","k":"table","len":397,"c":true},{"a":16384,"n":"game_entry","k":"routine","len":3,"c":true},{"a":16393,"n":"keys_carried_over","k":"variable","len":1,"c":true},{"a":16394,"n":"ammo_carried_over","k":"variable","len":1,"c":true},{"a":16395,"n":"hits_carried_over","k":"variable","len":1,"c":true},{"a":16396,"n":"score_hi_carried_over","k":"variable","len":1,"c":true},{"a":16397,"n":"score_mid_carried_over","k":"variable","len":1,"c":true},{"a":16398,"n":"score_lo_carried_over","k":"variable","len":1,"c":true},{"a":16399,"n":"mission_chosen","k":"variable","len":1,"c":true},{"a":16400,"n":"prisoner_floor","k":"variable","len":1,"c":true},{"a":16401,"n":"new_mission_start","k":"variable","len":1,"c":true},{"a":16402,"n":"prisoner_rode_lift","k":"variable","len":1,"c":true},{"a":16403,"n":"go_print_message","k":"routine","len":3,"c":true},{"a":16406,"n":"game_cold_start","k":"routine","len":57,"c":true},{"a":16414,"n":"b_401E","k":"branch","len":1,"c":false},{"a":16452,"n":"b_4044","k":"branch","len":1,"c":false},{"a":16463,"n":"mission_start","k":"routine","len":86,"c":true},{"a":16472,"n":"b_4058","k":"branch","len":1,"c":false},{"a":16524,"n":"b_408C","k":"branch","len":1,"c":false},{"a":16533,"n":"b_4095","k":"branch","len":1,"c":false},{"a":16549,"n":"false_symbol_40A5","k":"routine","len":1,"c":true},{"a":16550,"n":"setup_play_sprites","k":"routine","len":226,"c":true},{"a":16573,"n":"b_40BD","k":"branch","len":1,"c":false},{"a":16776,"n":"clear_prisoner_start","k":"routine","len":62,"c":true},{"a":16788,"n":"b_4194","k":"branch","len":1,"c":false},{"a":16833,"n":"b_41C1","k":"branch","len":1,"c":false},{"a":16838,"n":"clear_play_screen","k":"routine","len":85,"c":true},{"a":16840,"n":"b_41C8","k":"branch","len":1,"c":false},{"a":16908,"n":"b_420C","k":"branch","len":1,"c":false},{"a":16923,"n":"build_play_screen","k":"routine","len":53,"c":true},{"a":16948,"n":"b_4234","k":"branch","len":1,"c":false},{"a":16961,"n":"b_4241","k":"branch","len":1,"c":false},{"a":16976,"n":"start_mission_play","k":"routine","len":30,"c":true},{"a":17006,"n":"mission_in_progress","k":"variable","len":1,"c":true},{"a":17007,"n":"player_and_rooms","k":"routine","len":40,"c":true},{"a":17019,"n":"b_427B","k":"branch","len":1,"c":false},{"a":17026,"n":"b_4282","k":"branch","len":1,"c":false},{"a":17033,"n":"b_4289","k":"branch","len":1,"c":false},{"a":17040,"n":"b_4290","k":"branch","len":1,"c":false},{"a":17047,"n":"player_turn","k":"routine","len":75,"c":true},{"a":17063,"n":"b_42A7","k":"branch","len":1,"c":false},{"a":17068,"n":"b_42AC","k":"branch","len":1,"c":false},{"a":17079,"n":"b_42B7","k":"branch","len":1,"c":false},{"a":17101,"n":"b_42CD","k":"branch","len":1,"c":false},{"a":17111,"n":"b_42D7","k":"branch","len":1,"c":false},{"a":17121,"n":"r_42E1","k":"branch","len":1,"c":false},{"a":17122,"n":"player_move_up","k":"routine","len":76,"c":true},{"a":17187,"n":"r_4323","k":"branch","len":1,"c":false},{"a":17188,"n":"b_4324","k":"branch","len":1,"c":false},{"a":17198,"n":"scroll_room_up","k":"routine","len":92,"c":true},{"a":17214,"n":"b_433E","k":"branch","len":1,"c":false},{"a":17227,"n":"b_434B","k":"branch","len":1,"c":false},{"a":17252,"n":"b_4364","k":"branch","len":1,"c":false},{"a":17268,"n":"b_4374","k":"branch","len":1,"c":false},{"a":17281,"n":"j_4381","k":"branch","len":1,"c":false},{"a":17289,"n":"r_4389","k":"branch","len":1,"c":false},{"a":17290,"n":"player_move_down","k":"routine","len":76,"c":true},{"a":17355,"n":"r_43CB","k":"branch","len":1,"c":false},{"a":17356,"n":"b_43CC","k":"branch","len":1,"c":false},{"a":17366,"n":"scroll_room_down","k":"routine","len":94,"c":true},{"a":17384,"n":"b_43E8","k":"branch","len":1,"c":false},{"a":17397,"n":"b_43F5","k":"branch","len":1,"c":false},{"a":17422,"n":"b_440E","k":"branch","len":1,"c":false},{"a":17438,"n":"b_441E","k":"branch","len":1,"c":false},{"a":17451,"n":"j_442B","k":"branch","len":1,"c":false},{"a":17459,"n":"r_4433","k":"branch","len":1,"c":false},{"a":17460,"n":"player_move_left","k":"routine","len":76,"c":true},{"a":17525,"n":"r_4475","k":"branch","len":1,"c":false},{"a":17526,"n":"b_4476","k":"branch","len":1,"c":false},{"a":17536,"n":"scroll_room_left","k":"routine","len":92,"c":true},{"a":17552,"n":"b_4490","k":"branch","len":1,"c":false},{"a":17565,"n":"b_449D","k":"branch","len":1,"c":false},{"a":17590,"n":"b_44B6","k":"branch","len":1,"c":false},{"a":17606,"n":"b_44C6","k":"branch","len":1,"c":false},{"a":17619,"n":"j_44D3","k":"branch","len":1,"c":false},{"a":17627,"n":"r_44DB","k":"branch","len":1,"c":false},{"a":17628,"n":"player_move_right","k":"routine","len":76,"c":true},{"a":17693,"n":"r_451D","k":"branch","len":1,"c":false},{"a":17694,"n":"b_451E","k":"branch","len":1,"c":false},{"a":17704,"n":"scroll_room_right","k":"routine","len":94,"c":true},{"a":17722,"n":"b_453A","k":"branch","len":1,"c":false},{"a":17735,"n":"b_4547","k":"branch","len":1,"c":false},{"a":17760,"n":"b_4560","k":"branch","len":1,"c":false},{"a":17776,"n":"b_4570","k":"branch","len":1,"c":false},{"a":17789,"n":"j_457D","k":"branch","len":1,"c":false},{"a":17797,"n":"r_4585","k":"branch","len":1,"c":false},{"a":17798,"n":"clear_spent_shots","k":"routine","len":55,"c":true},{"a":17827,"n":"b_45A3","k":"branch","len":1,"c":false},{"a":17853,"n":"player_shoot","k":"routine","len":130,"c":true},{"a":17869,"n":"b_45CD","k":"branch","len":1,"c":false},{"a":17875,"n":"b_45D3","k":"branch","len":1,"c":false},{"a":17901,"n":"b_45ED","k":"branch","len":1,"c":false},{"a":17906,"n":"j_45F2","k":"branch","len":1,"c":false},{"a":17925,"n":"r_4605","k":"branch","len":1,"c":false},{"a":17926,"n":"b_4606","k":"branch","len":1,"c":false},{"a":17983,"n":"fire_second_shot","k":"routine","len":83,"c":true},{"a":18001,"n":"b_4651","k":"branch","len":1,"c":false},{"a":18009,"n":"b_4659","k":"branch","len":1,"c":false},{"a":18065,"n":"r_4691","k":"branch","len":1,"c":false},{"a":18066,"n":"move_shots","k":"routine","len":7,"c":true},{"a":18073,"n":"shot_start_x","k":"table","len":4,"c":true},{"a":18077,"n":"shot_start_y","k":"table","len":4,"c":true},{"a":18081,"n":"player_shape_base","k":"table","len":4,"c":true},{"a":18085,"n":"face_player","k":"routine","len":76,"c":true},{"a":18161,"n":"shot_sprite_state","k":"variable","len":1,"c":true},{"a":18162,"n":"flash_offset_x","k":"table","len":4,"c":true},{"a":18166,"n":"flash_offset_y","k":"table","len":4,"c":true},{"a":18170,"n":"move_shot_1","k":"routine","len":123,"c":true},{"a":18178,"n":"b_4702","k":"branch","len":1,"c":false},{"a":18209,"n":"b_4721","k":"branch","len":1,"c":false},{"a":18212,"n":"b_4724","k":"branch","len":1,"c":false},{"a":18237,"n":"b_473D","k":"branch","len":1,"c":false},{"a":18240,"n":"b_4740","k":"branch","len":1,"c":false},{"a":18265,"n":"b_4759","k":"branch","len":1,"c":false},{"a":18268,"n":"b_475C","k":"branch","len":1,"c":false},{"a":18289,"n":"b_4771","k":"branch","len":1,"c":false},{"a":18292,"n":"r_4774","k":"branch","len":1,"c":false},{"a":18293,"n":"move_shot_2","k":"routine","len":123,"c":true},{"a":18304,"n":"b_4780","k":"branch","len":1,"c":false},{"a":18332,"n":"b_479C","k":"branch","len":1,"c":false},{"a":18335,"n":"b_479F","k":"branch","len":1,"c":false},{"a":18360,"n":"b_47B8","k":"branch","len":1,"c":false},{"a":18363,"n":"b_47BB","k":"branch","len":1,"c":false},{"a":18388,"n":"b_47D4","k":"branch","len":1,"c":false},{"a":18391,"n":"b_47D7","k":"branch","len":1,"c":false},{"a":18412,"n":"b_47EC","k":"branch","len":1,"c":false},{"a":18415,"n":"r_47EF","k":"branch","len":1,"c":false},{"a":18416,"n":"draw_room_rows","k":"variable","len":1,"c":true},{"a":18417,"n":"draw_room","k":"routine","len":36,"c":true},{"a":18450,"n":"b_4812","k":"branch","len":1,"c":false},{"a":18452,"n":"b_4814","k":"branch","len":1,"c":false},{"a":18453,"n":"draw_room_source","k":"routine","len":1,"c":true},{"a":18454,"n":"draw_room_source_hi","k":"routine","len":2,"c":true},{"a":18456,"n":"draw_room_screen","k":"routine","len":1,"c":true},{"a":18457,"n":"draw_room_screen_hi","k":"routine","len":5,"c":true},{"a":18462,"n":"draw_room_colour","k":"routine","len":1,"c":true},{"a":18463,"n":"draw_room_colour_hi","k":"routine","len":43,"c":true},{"a":18480,"n":"b_4830","k":"branch","len":1,"c":false},{"a":18500,"n":"b_4844","k":"branch","len":1,"c":false},{"a":18506,"n":"start_game_loop","k":"routine","len":39,"c":true},{"a":18545,"n":"game_loop","k":"routine","len":40,"c":true},{"a":18579,"n":"b_4893","k":"branch","len":1,"c":false},{"a":18582,"n":"b_4896","k":"branch","len":1,"c":false},{"a":18585,"n":"pause_game","k":"routine","len":59,"c":true},{"a":18590,"n":"b_489E","k":"branch","len":1,"c":false},{"a":18594,"n":"b_48A2","k":"branch","len":1,"c":false},{"a":18610,"n":"b_48B2","k":"branch","len":1,"c":false},{"a":18632,"n":"b_48C8","k":"branch","len":1,"c":false},{"a":18644,"n":"stepped_into_lift","k":"routine","len":28,"c":true},{"a":18653,"n":"b_48DD","k":"branch","len":1,"c":false},{"a":18672,"n":"game_over","k":"routine","len":86,"c":true},{"a":18680,"n":"b_48F8","k":"branch","len":1,"c":false},{"a":18712,"n":"b_4918","k":"branch","len":1,"c":false},{"a":18758,"n":"between_missions","k":"routine","len":166,"c":true},{"a":18796,"n":"j_496C","k":"branch","len":1,"c":false},{"a":18816,"n":"b_4980","k":"branch","len":1,"c":false},{"a":18824,"n":"b_4988","k":"branch","len":1,"c":false},{"a":18832,"n":"b_4990","k":"branch","len":1,"c":false},{"a":18840,"n":"b_4998","k":"branch","len":1,"c":false},{"a":18885,"n":"b_49C5","k":"branch","len":1,"c":false},{"a":18921,"n":"j_49E9","k":"branch","len":1,"c":false},{"a":18924,"n":"prisoner_delivered","k":"routine","len":112,"c":true},{"a":18933,"n":"b_49F5","k":"branch","len":1,"c":false},{"a":19036,"n":"castle_destroyed","k":"routine","len":74,"c":true},{"a":19047,"n":"b_4A67","k":"branch","len":1,"c":false},{"a":19063,"n":"b_4A77","k":"branch","len":1,"c":false},{"a":19110,"n":"irq_band","k":"variable","len":1,"c":true},{"a":19111,"n":"game_irq","k":"routine","len":38,"c":true},{"a":19135,"n":"b_4ABF","k":"branch","len":1,"c":false},{"a":19143,"n":"j_4AC7","k":"branch","len":1,"c":false},{"a":19149,"n":"irq_game_work","k":"routine","len":104,"c":true},{"a":19170,"n":"b_4AE2","k":"branch","len":1,"c":false},{"a":19221,"n":"b_4B15","k":"branch","len":1,"c":false},{"a":19227,"n":"b_4B1B","k":"branch","len":1,"c":false},{"a":19253,"n":"step_message_scroll","k":"routine","len":23,"c":true},{"a":19275,"n":"r_4B4B","k":"branch","len":1,"c":false},{"a":19276,"n":"irq_sprites_and_message","k":"routine","len":140,"c":true},{"a":19314,"n":"b_4B72","k":"branch","len":1,"c":false},{"a":19327,"n":"b_4B7F","k":"branch","len":1,"c":false},{"a":19337,"n":"b_4B89","k":"branch","len":1,"c":false},{"a":19415,"n":"r_4BD7","k":"branch","len":1,"c":false},{"a":19416,"n":"walk_pose_shapes","k":"table","len":4,"c":true},{"a":19420,"n":"shift_message_line","k":"routine","len":18,"c":true},{"a":19422,"n":"b_4BDE","k":"branch","len":1,"c":false},{"a":19438,"n":"wipe_line_top","k":"variable","len":1,"c":true},{"a":19439,"n":"wipe_line_bottom","k":"variable","len":1,"c":true},{"a":19440,"n":"wipe_band","k":"variable","len":1,"c":true},{"a":19441,"n":"irq_state","k":"variable","len":1,"c":true},{"a":19442,"n":"install_wipe_irq","k":"routine","len":48,"c":true},{"a":19490,"n":"wipe_irq","k":"routine","len":40,"c":true},{"a":19515,"n":"b_4C3B","k":"branch","len":1,"c":false},{"a":19530,"n":"wipe_band_closed","k":"routine","len":99,"c":true},{"a":19565,"n":"b_4C6D","k":"branch","len":1,"c":false},{"a":19591,"n":"b_4C87","k":"branch","len":1,"c":false},{"a":19597,"n":"b_4C8D","k":"branch","len":1,"c":false},{"a":19623,"n":"b_4CA7","k":"branch","len":1,"c":false},{"a":19629,"n":"wipe_band_open","k":"routine","len":30,"c":true},{"a":19659,"n":"fade_in_tiles","k":"routine","len":95,"c":true},{"a":19675,"n":"b_4CDB","k":"branch","len":1,"c":false},{"a":19693,"n":"b_4CED","k":"branch","len":1,"c":false},{"a":19704,"n":"b_4CF8","k":"branch","len":1,"c":false},{"a":19720,"n":"b_4D08","k":"branch","len":1,"c":false},{"a":19737,"n":"b_4D19","k":"branch","len":1,"c":false},{"a":19754,"n":"walked_onto_table","k":"table","len":16,"c":true},{"a":19770,"n":"walked_onto_something","k":"routine","len":139,"c":true},{"a":19772,"n":"b_4D3C","k":"branch","len":1,"c":false},{"a":19805,"n":"b_4D5D","k":"branch","len":1,"c":false},{"a":19807,"n":"b_4D5F","k":"branch","len":1,"c":false},{"a":19821,"n":"b_4D6D","k":"branch","len":1,"c":false},{"a":19828,"n":"b_4D74","k":"branch","len":1,"c":false},{"a":19835,"n":"b_4D7B","k":"branch","len":1,"c":false},{"a":19842,"n":"b_4D82","k":"branch","len":1,"c":false},{"a":19869,"n":"b_4D9D","k":"branch","len":1,"c":false},{"a":19876,"n":"b_4DA4","k":"branch","len":1,"c":false},{"a":19883,"n":"b_4DAB","k":"branch","len":1,"c":false},{"a":19909,"n":"found_door_key","k":"routine","len":178,"c":true},{"a":19959,"n":"j_4DF7","k":"branch","len":1,"c":false},{"a":19988,"n":"b_4E14","k":"branch","len":1,"c":false},{"a":20012,"n":"b_4E2C","k":"branch","len":1,"c":false},{"a":20037,"n":"b_4E45","k":"branch","len":1,"c":false},{"a":20059,"n":"b_4E5B","k":"branch","len":1,"c":false},{"a":20067,"n":"j_4E63","k":"branch","len":1,"c":false},{"a":20087,"n":"redraw_tile_grid","k":"routine","len":61,"c":true},{"a":20089,"n":"b_4E79","k":"branch","len":1,"c":false},{"a":20137,"n":"b_4EA9","k":"branch","len":1,"c":false},{"a":20148,"n":"found_painting","k":"routine","len":25,"c":true},{"a":20173,"n":"took_painting","k":"routine","len":17,"c":true},{"a":20190,"n":"found_vase","k":"routine","len":25,"c":true},{"a":20215,"n":"took_vase","k":"routine","len":17,"c":true},{"a":20232,"n":"found_food","k":"routine","len":31,"c":true},{"a":20259,"n":"b_4F23","k":"branch","len":1,"c":false},{"a":20263,"n":"took_food","k":"routine","len":17,"c":true},{"a":20280,"n":"found_pendant","k":"routine","len":25,"c":true},{"a":20305,"n":"took_pendant","k":"routine","len":17,"c":true},{"a":20322,"n":"took_ammo","k":"routine","len":8,"c":true},{"a":20330,"n":"took_ammo_operand_hi","k":"routine","len":38,"c":true},{"a":20359,"n":"b_4F87","k":"branch","len":1,"c":false},{"a":20361,"n":"b_4F89","k":"branch","len":1,"c":false},{"a":20368,"n":"found_first_aid","k":"routine","len":21,"c":true},{"a":20389,"n":"took_first_aid","k":"routine","len":93,"c":true},{"a":20399,"n":"j_4FAF","k":"branch","len":1,"c":false},{"a":20417,"n":"b_4FC1","k":"branch","len":1,"c":false},{"a":20420,"n":"b_4FC4","k":"branch","len":1,"c":false},{"a":20430,"n":"b_4FCE","k":"branch","len":1,"c":false},{"a":20441,"n":"b_4FD9","k":"branch","len":1,"c":false},{"a":20482,"n":"found_lift_pass","k":"routine","len":40,"c":true},{"a":20522,"n":"clear_object_tiles","k":"routine","len":22,"c":true},{"a":20544,"n":"step_onto_lift","k":"routine","len":397,"c":true},{"a":20558,"n":"b_504E","k":"branch","len":1,"c":false},{"a":20580,"n":"b_5064","k":"branch","len":1,"c":false},{"a":20592,"n":"b_5070","k":"branch","len":1,"c":false},{"a":20598,"n":"b_5076","k":"branch","len":1,"c":false},{"a":20604,"n":"b_507C","k":"branch","len":1,"c":false},{"a":20619,"n":"j_508B","k":"branch","len":1,"c":false},{"a":20644,"n":"b_50A4","k":"branch","len":1,"c":false},{"a":20664,"n":"b_50B8","k":"branch","len":1,"c":false},{"a":20667,"n":"j_50BB","k":"branch","len":1,"c":false},{"a":20672,"n":"j_50C0","k":"branch","len":1,"c":false},{"a":20684,"n":"b_50CC","k":"branch","len":1,"c":false},{"a":20690,"n":"b_50D2","k":"branch","len":1,"c":false},{"a":20696,"n":"b_50D8","k":"branch","len":1,"c":false},{"a":20711,"n":"b_50E7","k":"branch","len":1,"c":false},{"a":20727,"n":"j_50F7","k":"branch","len":1,"c":false},{"a":20730,"n":"j_50FA","k":"branch","len":1,"c":false},{"a":20748,"n":"b_510C","k":"branch","len":1,"c":false},{"a":20751,"n":"b_510F","k":"branch","len":1,"c":false},{"a":20757,"n":"b_5115","k":"branch","len":1,"c":false},{"a":20806,"n":"j_5146","k":"branch","len":1,"c":false},{"a":20833,"n":"b_5161","k":"branch","len":1,"c":false},{"a":20836,"n":"b_5164","k":"branch","len":1,"c":false},{"a":20854,"n":"b_5176","k":"branch","len":1,"c":false},{"a":20857,"n":"r_5179","k":"branch","len":1,"c":false},{"a":20858,"n":"j_517A","k":"branch","len":1,"c":false},{"a":20866,"n":"b_5182","k":"branch","len":1,"c":false},{"a":20882,"n":"j_5192","k":"branch","len":1,"c":false},{"a":20884,"n":"j_5194","k":"branch","len":1,"c":false},{"a":20897,"n":"b_51A1","k":"branch","len":1,"c":false},{"a":20900,"n":"b_51A4","k":"branch","len":1,"c":false},{"a":20941,"n":"map_address","k":"routine","len":69,"c":true},{"a":20991,"n":"b_51FF","k":"branch","len":1,"c":false},{"a":21002,"n":"b_520A","k":"branch","len":1,"c":false},{"a":21010,"n":"shots_hit_anything","k":"routine","len":137,"c":true},{"a":21020,"n":"b_521C","k":"branch","len":1,"c":false},{"a":21079,"n":"j_5257","k":"branch","len":1,"c":false},{"a":21087,"n":"b_525F","k":"branch","len":1,"c":false},{"a":21146,"n":"r_529A","k":"branch","len":1,"c":false},{"a":21147,"n":"shot_hit_tile","k":"routine","len":217,"c":true},{"a":21161,"n":"b_52A9","k":"branch","len":1,"c":false},{"a":21174,"n":"b_52B6","k":"branch","len":1,"c":false},{"a":21185,"n":"b_52C1","k":"branch","len":1,"c":false},{"a":21196,"n":"b_52CC","k":"branch","len":1,"c":false},{"a":21207,"n":"b_52D7","k":"branch","len":1,"c":false},{"a":21218,"n":"b_52E2","k":"branch","len":1,"c":false},{"a":21225,"n":"b_52E9","k":"branch","len":1,"c":false},{"a":21232,"n":"b_52F0","k":"branch","len":1,"c":false},{"a":21239,"n":"b_52F7","k":"branch","len":1,"c":false},{"a":21246,"n":"b_52FE","k":"branch","len":1,"c":false},{"a":21266,"n":"b_5312","k":"branch","len":1,"c":false},{"a":21272,"n":"j_5318","k":"branch","len":1,"c":false},{"a":21283,"n":"b_5323","k":"branch","len":1,"c":false},{"a":21288,"n":"b_5328","k":"branch","len":1,"c":false},{"a":21302,"n":"b_5336","k":"branch","len":1,"c":false},{"a":21309,"n":"b_533D","k":"branch","len":1,"c":false},{"a":21316,"n":"b_5344","k":"branch","len":1,"c":false},{"a":21323,"n":"b_534B","k":"branch","len":1,"c":false},{"a":21330,"n":"b_5352","k":"branch","len":1,"c":false},{"a":21337,"n":"b_5359","k":"branch","len":1,"c":false},{"a":21344,"n":"b_5360","k":"branch","len":1,"c":false},{"a":21351,"n":"b_5367","k":"branch","len":1,"c":false},{"a":21358,"n":"b_536E","k":"branch","len":1,"c":false},{"a":21364,"n":"shot_neighbours","k":"table","len":18,"c":true},{"a":21382,"n":"shoot_detonator","k":"routine","len":30,"c":true},{"a":21412,"n":"shoot_door_key","k":"routine","len":27,"c":true},{"a":21431,"n":"b_53B7","k":"branch","len":1,"c":false},{"a":21439,"n":"shoot_ammo_box","k":"routine","len":17,"c":true},{"a":21456,"n":"shot_hit_painting","k":"routine","len":19,"c":true},{"a":21475,"n":"shot_hit_food","k":"routine","len":19,"c":true},{"a":21494,"n":"shot_hit_pendant","k":"routine","len":19,"c":true},{"a":21513,"n":"shot_hit_vase","k":"routine","len":19,"c":true},{"a":21532,"n":"shot_hit_first_aid","k":"routine","len":19,"c":true},{"a":21551,"n":"shoot_furniture","k":"routine","len":114,"c":true},{"a":21565,"n":"b_543D","k":"branch","len":1,"c":false},{"a":21574,"n":"b_5446","k":"branch","len":1,"c":false},{"a":21583,"n":"b_544F","k":"branch","len":1,"c":false},{"a":21592,"n":"b_5458","k":"branch","len":1,"c":false},{"a":21601,"n":"b_5461","k":"branch","len":1,"c":false},{"a":21610,"n":"b_546A","k":"branch","len":1,"c":false},{"a":21619,"n":"b_5473","k":"branch","len":1,"c":false},{"a":21628,"n":"r_547C","k":"branch","len":1,"c":false},{"a":21629,"n":"j_547D","k":"branch","len":1,"c":false},{"a":21659,"n":"j_549B","k":"branch","len":1,"c":false},{"a":21665,"n":"shoot_lift_pass","k":"routine","len":20,"c":true},{"a":21674,"n":"b_54AA","k":"branch","len":1,"c":false},{"a":21685,"n":"shoot_steel_door_left","k":"routine","len":31,"c":true},{"a":21716,"n":"shoot_steel_door_right","k":"routine","len":31,"c":true},{"a":21747,"n":"shoot_wooden_door_upper","k":"routine","len":21,"c":true},{"a":21768,"n":"shoot_wooden_door_lower","k":"routine","len":32,"c":true},{"a":21792,"n":"b_5520","k":"branch","len":1,"c":false},{"a":21800,"n":"shoot_chest","k":"routine","len":112,"c":true},{"a":21849,"n":"b_5559","k":"branch","len":1,"c":false},{"a":21860,"n":"b_5564","k":"branch","len":1,"c":false},{"a":21863,"n":"b_5567","k":"branch","len":1,"c":false},{"a":21874,"n":"b_5572","k":"branch","len":1,"c":false},{"a":21877,"n":"b_5575","k":"branch","len":1,"c":false},{"a":21888,"n":"b_5580","k":"branch","len":1,"c":false},{"a":21901,"n":"b_558D","k":"branch","len":1,"c":false},{"a":21912,"n":"open_closed_chest","k":"routine","len":35,"c":true},{"a":21931,"n":"b_55AB","k":"branch","len":1,"c":false},{"a":21936,"n":"b_55B0","k":"branch","len":1,"c":false},{"a":21947,"n":"open_the_chest","k":"routine","len":26,"c":true},{"a":21949,"n":"j_55BD","k":"branch","len":1,"c":false},{"a":21973,"n":"chest_explodes","k":"routine","len":27,"c":true},{"a":22000,"n":"chest_holds_jewels","k":"routine","len":25,"c":true},{"a":22025,"n":"messages","k":"table","len":802,"c":true},{"a":22827,"n":"message_read","k":"variable","len":1,"c":true},{"a":22828,"n":"message_write","k":"variable","len":1,"c":true},{"a":22829,"n":"message_half","k":"variable","len":1,"c":true},{"a":22830,"n":"print_message","k":"routine","len":35,"c":true},{"a":22837,"n":"j_5935","k":"branch","len":1,"c":false},{"a":22853,"n":"b_5945","k":"branch","len":1,"c":false},{"a":22865,"n":"scroll_message_in","k":"routine","len":68,"c":true},{"a":22882,"n":"b_5962","k":"branch","len":1,"c":false},{"a":22912,"n":"b_5980","k":"branch","len":1,"c":false},{"a":22933,"n":"draw_panel_numbers","k":"routine","len":139,"c":true},{"a":23072,"n":"byte_to_digits","k":"routine","len":19,"c":true},{"a":23091,"n":"idle_nags","k":"routine","len":109,"c":true},{"a":23102,"n":"b_5A3E","k":"branch","len":1,"c":false},{"a":23125,"n":"b_5A55","k":"branch","len":1,"c":false},{"a":23138,"n":"b_5A62","k":"branch","len":1,"c":false},{"a":23149,"n":"b_5A6D","k":"branch","len":1,"c":false},{"a":23154,"n":"j_5A72","k":"branch","len":1,"c":false},{"a":23172,"n":"b_5A84","k":"branch","len":1,"c":false},{"a":23183,"n":"b_5A8F","k":"branch","len":1,"c":false},{"a":23194,"n":"b_5A9A","k":"branch","len":1,"c":false},{"a":23200,"n":"score_ticker","k":"routine","len":29,"c":true},{"a":23206,"n":"b_5AA6","k":"branch","len":1,"c":false},{"a":23229,"n":"announce_floor","k":"routine","len":78,"c":true},{"a":23259,"n":"b_5ADB","k":"branch","len":1,"c":false},{"a":23275,"n":"b_5AEB","k":"branch","len":1,"c":false},{"a":23291,"n":"b_5AFB","k":"branch","len":1,"c":false},{"a":23306,"n":"r_5B0A","k":"branch","len":1,"c":false},{"a":23307,"n":"player_tiles_1","k":"table","len":4,"c":true},{"a":23311,"n":"player_tiles_2","k":"table","len":4,"c":true},{"a":23315,"n":"player_tiles_3","k":"table","len":4,"c":true},{"a":23319,"n":"player_tiles_4","k":"table","len":4,"c":true},{"a":23323,"n":"stamp_player_in_map","k":"routine","len":159,"c":true},{"a":23340,"n":"b_5B2C","k":"branch","len":1,"c":false},{"a":23419,"n":"b_5B7B","k":"branch","len":1,"c":false},{"a":23422,"n":"j_5B7E","k":"branch","len":1,"c":false},{"a":23430,"n":"b_5B86","k":"branch","len":1,"c":false},{"a":23481,"n":"r_5BB9","k":"branch","len":1,"c":false},{"a":23482,"n":"mission_state","k":"routine","len":87,"c":true},{"a":23510,"n":"r_5BD6","k":"branch","len":1,"c":false},{"a":23511,"n":"b_5BD7","k":"branch","len":1,"c":false},{"a":23517,"n":"b_5BDD","k":"branch","len":1,"c":false},{"a":23538,"n":"b_5BF2","k":"branch","len":1,"c":false},{"a":23554,"n":"b_5C02","k":"branch","len":1,"c":false},{"a":23560,"n":"b_5C08","k":"branch","len":1,"c":false},{"a":23569,"n":"explosion_colours","k":"table","len":17,"c":true},{"a":23586,"n":"tile_grid","k":"variable","len":1,"c":true},{"a":23587,"n":"tile_above_player_1","k":"variable","len":1,"c":true},{"a":23588,"n":"tile_above_player_2","k":"variable","len":1,"c":true},{"a":23589,"n":"tile_above_player_3","k":"variable","len":1,"c":true},{"a":23590,"n":"tile_above_player_4","k":"variable","len":1,"c":true},{"a":23591,"n":"tile_grid_row1_end","k":"variable","len":1,"c":true},{"a":23592,"n":"tile_grid_row2","k":"table","len":5,"c":true},{"a":23597,"n":"tile_grid_row2_right","k":"variable","len":1,"c":true},{"a":23598,"n":"tile_grid_row3","k":"table","len":5,"c":true},{"a":23603,"n":"tile_grid_row3_right","k":"variable","len":1,"c":true},{"a":23604,"n":"tile_grid_row4","k":"table","len":5,"c":true},{"a":23609,"n":"tile_grid_row4_right","k":"variable","len":1,"c":true},{"a":23610,"n":"tile_grid_row5","k":"table","len":5,"c":true},{"a":23615,"n":"tile_grid_row5_right","k":"variable","len":1,"c":true},{"a":23616,"n":"tile_grid_row6","k":"variable","len":1,"c":true},{"a":23617,"n":"tile_grid_row6_b","k":"variable","len":1,"c":true},{"a":23618,"n":"tile_grid_row6_c","k":"variable","len":1,"c":true},{"a":23619,"n":"tile_grid_row6_d","k":"variable","len":1,"c":true},{"a":23620,"n":"tile_grid_last","k":"variable","len":2,"c":true},{"a":23622,"n":"tiles_round_player","k":"routine","len":15,"c":true},{"a":23637,"n":"read_tile_grid","k":"routine","len":84,"c":true},{"a":23652,"n":"b_5C64","k":"branch","len":1,"c":false},{"a":23662,"n":"b_5C6E","k":"branch","len":1,"c":false},{"a":23721,"n":"jewel_places","k":"table","len":16,"c":true},{"a":23737,"n":"jewels_pickup","k":"routine","len":271,"c":true},{"a":23767,"n":"b_5CD7","k":"branch","len":1,"c":false},{"a":23797,"n":"b_5CF5","k":"branch","len":1,"c":false},{"a":23827,"n":"b_5D13","k":"branch","len":1,"c":false},{"a":23856,"n":"r_5D30","k":"branch","len":1,"c":false},{"a":23857,"n":"b_5D31","k":"branch","len":1,"c":false},{"a":23870,"n":"b_5D3E","k":"branch","len":1,"c":false},{"a":23899,"n":"b_5D5B","k":"branch","len":1,"c":false},{"a":23910,"n":"b_5D66","k":"branch","len":1,"c":false},{"a":23913,"n":"b_5D69","k":"branch","len":1,"c":false},{"a":23924,"n":"b_5D74","k":"branch","len":1,"c":false},{"a":23927,"n":"b_5D77","k":"branch","len":1,"c":false},{"a":23938,"n":"b_5D82","k":"branch","len":1,"c":false},{"a":23941,"n":"b_5D85","k":"branch","len":1,"c":false},{"a":23961,"n":"b_5D99","k":"branch","len":1,"c":false},{"a":23964,"n":"b_5D9C","k":"branch","len":1,"c":false},{"a":23974,"n":"b_5DA6","k":"branch","len":1,"c":false},{"a":24008,"n":"draw_panel","k":"routine","len":30,"c":true},{"a":24028,"n":"b_5DDC","k":"branch","len":1,"c":false},{"a":24037,"n":"b_5DE5","k":"branch","len":1,"c":false},{"a":24038,"n":"draw_panel_screen_lo","k":"routine","len":1,"c":true},{"a":24039,"n":"draw_panel_screen_hi","k":"routine","len":2,"c":true},{"a":24041,"n":"draw_panel_colour","k":"routine","len":2,"c":true},{"a":24043,"n":"draw_panel_colour_lo","k":"routine","len":1,"c":true},{"a":24044,"n":"draw_panel_colour_hi","k":"routine","len":246,"c":true},{"a":24077,"n":"b_5E0D","k":"branch","len":1,"c":false},{"a":24101,"n":"b_5E25","k":"branch","len":1,"c":false},{"a":24120,"n":"b_5E38","k":"branch","len":1,"c":false},{"a":24186,"n":"b_5E7A","k":"branch","len":1,"c":false},{"a":24290,"n":"place_player_at_start","k":"routine","len":69,"c":true},{"a":24327,"n":"b_5F07","k":"branch","len":1,"c":false},{"a":24359,"n":"mission_done_check","k":"routine","len":115,"c":true},{"a":24370,"n":"b_5F32","k":"branch","len":1,"c":false},{"a":24378,"n":"b_5F3A","k":"branch","len":1,"c":false},{"a":24395,"n":"b_5F4B","k":"branch","len":1,"c":false},{"a":24414,"n":"r_5F5E","k":"branch","len":1,"c":false},{"a":24415,"n":"b_5F5F","k":"branch","len":1,"c":false},{"a":24437,"n":"b_5F75","k":"branch","len":1,"c":false},{"a":24474,"n":"floor_detonators","k":"variable","len":1,"c":true},{"a":24475,"n":"detonator_ground","k":"variable","len":1,"c":true},{"a":24476,"n":"detonator_first","k":"variable","len":1,"c":true},{"a":24477,"n":"detonator_second","k":"variable","len":1,"c":true},{"a":24478,"n":"place_detonator","k":"routine","len":45,"c":true},{"a":24494,"n":"b_5FAE","k":"branch","len":1,"c":false},{"a":24523,"n":"scan_space","k":"routine","len":15,"c":true},{"a":24538,"n":"short_delay","k":"routine","len":18,"c":true},{"a":24540,"n":"b_5FDC","k":"branch","len":1,"c":false},{"a":24542,"n":"b_5FDE","k":"branch","len":1,"c":false},{"a":24544,"n":"b_5FE0","k":"branch","len":1,"c":false},{"a":24556,"n":"unreached_after_delay","k":"table","len":20,"c":true},{"a":24576,"n":"go_figures_turn","k":"routine","len":3,"c":true},{"a":24585,"n":"go_sound_init","k":"routine","len":3,"c":true},{"a":24588,"n":"go_sound_tick","k":"routine","len":3,"c":true},{"a":24591,"n":"go_build_random_table","k":"routine","len":3,"c":true},{"a":24594,"n":"go_next_random","k":"routine","len":6,"c":true},{"a":24597,"n":"j_6015","k":"branch","len":1,"c":false},{"a":24600,"n":"go_slide_room_apart","k":"routine","len":3,"c":true},{"a":24603,"n":"go_build_floor","k":"routine","len":3,"c":true},{"a":24606,"n":"go_prisoner_turn","k":"routine","len":6,"c":true},{"a":24609,"n":"j_6021","k":"branch","len":1,"c":false},{"a":24612,"n":"go_draw_prisoner","k":"routine","len":3,"c":true},{"a":24615,"n":"prisoner_tile_x","k":"variable","len":1,"c":true},{"a":24616,"n":"prisoner_tile_y","k":"variable","len":1,"c":true},{"a":24617,"n":"prisoner_place_lo","k":"variable","len":1,"c":true},{"a":24618,"n":"prisoner_place_hi","k":"variable","len":1,"c":true},{"a":24619,"n":"prisoner_state","k":"variable","len":1,"c":true},{"a":24620,"n":"prisoner_last_lo","k":"variable","len":1,"c":true},{"a":24621,"n":"prisoner_last_hi","k":"variable","len":1,"c":true},{"a":24622,"n":"prisoner_frame","k":"variable","len":1,"c":true},{"a":24623,"n":"prisoner_tile_row1","k":"table","len":4,"c":true},{"a":24627,"n":"prisoner_tile_row2","k":"table","len":4,"c":true},{"a":24631,"n":"prisoner_tile_row3","k":"table","len":4,"c":true},{"a":24635,"n":"prisoner_tile_row4","k":"table","len":4,"c":true},{"a":24639,"n":"cheat_on","k":"variable","len":1,"c":true},{"a":24640,"n":"go_shot_hit_figure","k":"routine","len":3,"c":true},{"a":24643,"n":"prisoner_announced","k":"variable","len":1,"c":true},{"a":24644,"n":"figures_turn","k":"routine","len":230,"c":true},{"a":24660,"n":"b_6054","k":"branch","len":1,"c":false},{"a":24668,"n":"b_605C","k":"branch","len":1,"c":false},{"a":24676,"n":"b_6064","k":"branch","len":1,"c":false},{"a":24709,"n":"j_6085","k":"branch","len":1,"c":false},{"a":24717,"n":"b_608D","k":"branch","len":1,"c":false},{"a":24733,"n":"r_609D","k":"branch","len":1,"c":false},{"a":24734,"n":"b_609E","k":"branch","len":1,"c":false},{"a":24761,"n":"b_60B9","k":"branch","len":1,"c":false},{"a":24771,"n":"b_60C3","k":"branch","len":1,"c":false},{"a":24779,"n":"b_60CB","k":"branch","len":1,"c":false},{"a":24797,"n":"b_60DD","k":"branch","len":1,"c":false},{"a":24808,"n":"b_60E8","k":"branch","len":1,"c":false},{"a":24826,"n":"b_60FA","k":"branch","len":1,"c":false},{"a":24828,"n":"b_60FC","k":"branch","len":1,"c":false},{"a":24839,"n":"b_6107","k":"branch","len":1,"c":false},{"a":24871,"n":"b_6127","k":"branch","len":1,"c":false},{"a":24874,"n":"move_figure","k":"routine","len":346,"c":true},{"a":24882,"n":"b_6132","k":"branch","len":1,"c":false},{"a":24910,"n":"b_614E","k":"branch","len":1,"c":false},{"a":24917,"n":"b_6155","k":"branch","len":1,"c":false},{"a":24924,"n":"b_615C","k":"branch","len":1,"c":false},{"a":24927,"n":"j_615F","k":"branch","len":1,"c":false},{"a":24931,"n":"b_6163","k":"branch","len":1,"c":false},{"a":24953,"n":"b_6179","k":"branch","len":1,"c":false},{"a":24979,"n":"b_6193","k":"branch","len":1,"c":false},{"a":24986,"n":"b_619A","k":"branch","len":1,"c":false},{"a":24995,"n":"j_61A3","k":"branch","len":1,"c":false},{"a":25001,"n":"b_61A9","k":"branch","len":1,"c":false},{"a":25026,"n":"b_61C2","k":"branch","len":1,"c":false},{"a":25052,"n":"b_61DC","k":"branch","len":1,"c":false},{"a":25059,"n":"b_61E3","k":"branch","len":1,"c":false},{"a":25068,"n":"j_61EC","k":"branch","len":1,"c":false},{"a":25074,"n":"b_61F2","k":"branch","len":1,"c":false},{"a":25128,"n":"b_6228","k":"branch","len":1,"c":false},{"a":25135,"n":"b_622F","k":"branch","len":1,"c":false},{"a":25144,"n":"j_6238","k":"branch","len":1,"c":false},{"a":25191,"n":"b_6267","k":"branch","len":1,"c":false},{"a":25204,"n":"b_6274","k":"branch","len":1,"c":false},{"a":25211,"n":"b_627B","k":"branch","len":1,"c":false},{"a":25220,"n":"redraw_figure","k":"routine","len":95,"c":true},{"a":25242,"n":"b_629A","k":"branch","len":1,"c":false},{"a":25244,"n":"b_629C","k":"branch","len":1,"c":false},{"a":25314,"n":"b_62E2","k":"branch","len":1,"c":false},{"a":25315,"n":"redraw_figure_op1","k":"routine","len":1,"c":true},{"a":25316,"n":"redraw_figure_op1_hi","k":"routine","len":6,"c":true},{"a":25322,"n":"redraw_figure_op2","k":"routine","len":1,"c":true},{"a":25323,"n":"redraw_figure_op2_hi","k":"routine","len":8,"c":true},{"a":25331,"n":"redraw_figure_op3","k":"routine","len":1,"c":true},{"a":25332,"n":"redraw_figure_op3_hi","k":"routine","len":6,"c":true},{"a":25338,"n":"redraw_figure_op4","k":"routine","len":1,"c":true},{"a":25339,"n":"redraw_figure_op4_hi","k":"routine","len":16,"c":true},{"a":25355,"n":"figure_turn_to_player","k":"routine","len":95,"c":true},{"a":25362,"n":"j_6312","k":"branch","len":1,"c":false},{"a":25384,"n":"b_6328","k":"branch","len":1,"c":false},{"a":25395,"n":"b_6333","k":"branch","len":1,"c":false},{"a":25417,"n":"b_6349","k":"branch","len":1,"c":false},{"a":25428,"n":"b_6354","k":"branch","len":1,"c":false},{"a":25439,"n":"b_635F","k":"branch","len":1,"c":false},{"a":25450,"n":"figure_drawing","k":"routine","len":53,"c":true},{"a":25476,"n":"b_6384","k":"branch","len":1,"c":false},{"a":25485,"n":"b_638D","k":"branch","len":1,"c":false},{"a":25494,"n":"b_6396","k":"branch","len":1,"c":false},{"a":25503,"n":"hit_the_player","k":"routine","len":24,"c":true},{"a":25526,"n":"r_63B6","k":"branch","len":1,"c":false},{"a":25527,"n":"sound_init","k":"routine","len":47,"c":true},{"a":25540,"n":"b_63C4","k":"branch","len":1,"c":false},{"a":25574,"n":"sound_tick","k":"routine","len":30,"c":true},{"a":25587,"n":"b_63F3","k":"branch","len":1,"c":false},{"a":25595,"n":"b_63FB","k":"branch","len":1,"c":false},{"a":25603,"n":"r_6403","k":"branch","len":1,"c":false},{"a":25604,"n":"start_sound_effect","k":"routine","len":72,"c":true},{"a":25617,"n":"b_6411","k":"branch","len":1,"c":false},{"a":25624,"n":"b_6418","k":"branch","len":1,"c":false},{"a":25631,"n":"b_641F","k":"branch","len":1,"c":false},{"a":25638,"n":"b_6426","k":"branch","len":1,"c":false},{"a":25645,"n":"b_642D","k":"branch","len":1,"c":false},{"a":25652,"n":"b_6434","k":"branch","len":1,"c":false},{"a":25659,"n":"b_643B","k":"branch","len":1,"c":false},{"a":25666,"n":"b_6442","k":"branch","len":1,"c":false},{"a":25673,"n":"b_6449","k":"branch","len":1,"c":false},{"a":25676,"n":"sound_found","k":"routine","len":42,"c":true},{"a":25718,"n":"sound_wasted","k":"routine","len":415,"c":true},{"a":25770,"n":"j_64AA","k":"branch","len":1,"c":false},{"a":25820,"n":"j_64DC","k":"branch","len":1,"c":false},{"a":25872,"n":"j_6510","k":"branch","len":1,"c":false},{"a":25932,"n":"j_654C","k":"branch","len":1,"c":false},{"a":25982,"n":"j_657E","k":"branch","len":1,"c":false},{"a":26035,"n":"j_65B3","k":"branch","len":1,"c":false},{"a":26083,"n":"j_65E3","k":"branch","len":1,"c":false},{"a":26133,"n":"continue_sound_effect","k":"routine","len":69,"c":true},{"a":26143,"n":"b_661F","k":"branch","len":1,"c":false},{"a":26150,"n":"b_6626","k":"branch","len":1,"c":false},{"a":26157,"n":"b_662D","k":"branch","len":1,"c":false},{"a":26164,"n":"b_6634","k":"branch","len":1,"c":false},{"a":26171,"n":"b_663B","k":"branch","len":1,"c":false},{"a":26178,"n":"b_6642","k":"branch","len":1,"c":false},{"a":26185,"n":"b_6649","k":"branch","len":1,"c":false},{"a":26192,"n":"b_6650","k":"branch","len":1,"c":false},{"a":26199,"n":"b_6657","k":"branch","len":1,"c":false},{"a":26202,"n":"sound_tail_1","k":"routine","len":22,"c":true},{"a":26213,"n":"b_6665","k":"branch","len":1,"c":false},{"a":26224,"n":"sound_tail_2","k":"routine","len":22,"c":true},{"a":26235,"n":"b_667B","k":"branch","len":1,"c":false},{"a":26246,"n":"sound_tail_3","k":"routine","len":99,"c":true},{"a":26261,"n":"b_6695","k":"branch","len":1,"c":false},{"a":26269,"n":"b_669D","k":"branch","len":1,"c":false},{"a":26280,"n":"j_66A8","k":"branch","len":1,"c":false},{"a":26291,"n":"b_66B3","k":"branch","len":1,"c":false},{"a":26302,"n":"j_66BE","k":"branch","len":1,"c":false},{"a":26328,"n":"b_66D8","k":"branch","len":1,"c":false},{"a":26331,"n":"b_66DB","k":"branch","len":1,"c":false},{"a":26345,"n":"shot_sound_pitches","k":"table","len":6,"c":true},{"a":26351,"n":"sound_sweep","k":"routine","len":51,"c":true},{"a":26375,"n":"b_6707","k":"branch","len":1,"c":false},{"a":26378,"n":"b_670A","k":"branch","len":1,"c":false},{"a":26391,"n":"b_6717","k":"branch","len":1,"c":false},{"a":26402,"n":"sound_sweep_table","k":"table","len":15,"c":true},{"a":26417,"n":"sound_tail_7","k":"routine","len":95,"c":true},{"a":26443,"n":"b_674B","k":"branch","len":1,"c":false},{"a":26451,"n":"b_6753","k":"branch","len":1,"c":false},{"a":26462,"n":"j_675E","k":"branch","len":1,"c":false},{"a":26479,"n":"b_676F","k":"branch","len":1,"c":false},{"a":26490,"n":"j_677A","k":"branch","len":1,"c":false},{"a":26501,"n":"b_6785","k":"branch","len":1,"c":false},{"a":26512,"n":"footstep","k":"routine","len":58,"c":true},{"a":26554,"n":"b_67BA","k":"branch","len":1,"c":false},{"a":26570,"n":"build_random_table","k":"routine","len":41,"c":true},{"a":26596,"n":"b_67E4","k":"branch","len":1,"c":false},{"a":26611,"n":"next_random","k":"routine","len":288,"c":true},{"a":26621,"n":"j_67FD","k":"branch","len":1,"c":false},{"a":26648,"n":"b_6818","k":"branch","len":1,"c":false},{"a":26671,"n":"b_682F","k":"branch","len":1,"c":false},{"a":26682,"n":"b_683A","k":"branch","len":1,"c":false},{"a":26685,"n":"b_683D","k":"branch","len":1,"c":false},{"a":26696,"n":"b_6848","k":"branch","len":1,"c":false},{"a":26699,"n":"b_684B","k":"branch","len":1,"c":false},{"a":26710,"n":"b_6856","k":"branch","len":1,"c":false},{"a":26761,"n":"j_6889","k":"branch","len":1,"c":false},{"a":26774,"n":"b_6896","k":"branch","len":1,"c":false},{"a":26785,"n":"j_68A1","k":"branch","len":1,"c":false},{"a":26806,"n":"b_68B6","k":"branch","len":1,"c":false},{"a":26817,"n":"b_68C1","k":"branch","len":1,"c":false},{"a":26820,"n":"b_68C4","k":"branch","len":1,"c":false},{"a":26831,"n":"b_68CF","k":"branch","len":1,"c":false},{"a":26834,"n":"b_68D2","k":"branch","len":1,"c":false},{"a":26845,"n":"b_68DD","k":"branch","len":1,"c":false},{"a":26848,"n":"b_68E0","k":"branch","len":1,"c":false},{"a":26899,"n":"slide_room_apart","k":"routine","len":41,"c":true},{"a":26909,"n":"b_691D","k":"branch","len":1,"c":false},{"a":26925,"n":"b_692D","k":"branch","len":1,"c":false},{"a":26940,"n":"slide_screen_up","k":"routine","len":131,"c":true},{"a":26944,"n":"b_6940","k":"branch","len":1,"c":false},{"a":27071,"n":"slide_screen_down","k":"routine","len":129,"c":true},{"a":27075,"n":"b_69C3","k":"branch","len":1,"c":false},{"a":27200,"n":"slide_pause","k":"routine","len":11,"c":true},{"a":27202,"n":"b_6A42","k":"branch","len":1,"c":false},{"a":27204,"n":"b_6A44","k":"branch","len":1,"c":false},{"a":27211,"n":"build_floor","k":"routine","len":496,"c":true},{"a":27257,"n":"j_6A79","k":"branch","len":1,"c":false},{"a":27262,"n":"j_6A7E","k":"branch","len":1,"c":false},{"a":27321,"n":"b_6AB9","k":"branch","len":1,"c":false},{"a":27334,"n":"b_6AC6","k":"branch","len":1,"c":false},{"a":27347,"n":"b_6AD3","k":"branch","len":1,"c":false},{"a":27352,"n":"b_6AD8","k":"branch","len":1,"c":false},{"a":27357,"n":"b_6ADD","k":"branch","len":1,"c":false},{"a":27362,"n":"b_6AE2","k":"branch","len":1,"c":false},{"a":27364,"n":"j_6AE4","k":"branch","len":1,"c":false},{"a":27395,"n":"j_6B03","k":"branch","len":1,"c":false},{"a":27426,"n":"b_6B22","k":"branch","len":1,"c":false},{"a":27446,"n":"b_6B36","k":"branch","len":1,"c":false},{"a":27455,"n":"b_6B3F","k":"branch","len":1,"c":false},{"a":27475,"n":"b_6B53","k":"branch","len":1,"c":false},{"a":27484,"n":"b_6B5C","k":"branch","len":1,"c":false},{"a":27504,"n":"b_6B70","k":"branch","len":1,"c":false},{"a":27513,"n":"b_6B79","k":"branch","len":1,"c":false},{"a":27539,"n":"b_6B93","k":"branch","len":1,"c":false},{"a":27556,"n":"b_6BA4","k":"branch","len":1,"c":false},{"a":27569,"n":"b_6BB1","k":"branch","len":1,"c":false},{"a":27580,"n":"b_6BBC","k":"branch","len":1,"c":false},{"a":27602,"n":"b_6BD2","k":"branch","len":1,"c":false},{"a":27608,"n":"j_6BD8","k":"branch","len":1,"c":false},{"a":27623,"n":"b_6BE7","k":"branch","len":1,"c":false},{"a":27664,"n":"b_6C10","k":"branch","len":1,"c":false},{"a":27701,"n":"b_6C35","k":"branch","len":1,"c":false},{"a":27707,"n":"prisoner_turn","k":"routine","len":93,"c":true},{"a":27713,"n":"b_6C41","k":"branch","len":1,"c":false},{"a":27724,"n":"b_6C4C","k":"branch","len":1,"c":false},{"a":27800,"n":"prisoner_close_text","k":"table","len":28,"c":true},{"a":27828,"n":"prisoner_is_close","k":"routine","len":31,"c":true},{"a":27849,"n":"r_6CC9","k":"branch","len":1,"c":false},{"a":27850,"n":"b_6CCA","k":"branch","len":1,"c":false},{"a":27853,"n":"b_6CCD","k":"branch","len":1,"c":false},{"a":27856,"n":"b_6CD0","k":"branch","len":1,"c":false},{"a":27859,"n":"prisoner_step_up","k":"routine","len":55,"c":true},{"a":27863,"n":"b_6CD7","k":"branch","len":1,"c":false},{"a":27901,"n":"b_6CFD","k":"branch","len":1,"c":false},{"a":27905,"n":"b_6D01","k":"branch","len":1,"c":false},{"a":27914,"n":"prisoner_step_down","k":"routine","len":55,"c":true},{"a":27920,"n":"b_6D10","k":"branch","len":1,"c":false},{"a":27956,"n":"b_6D34","k":"branch","len":1,"c":false},{"a":27960,"n":"b_6D38","k":"branch","len":1,"c":false},{"a":27969,"n":"prisoner_step_left","k":"routine","len":57,"c":true},{"a":28017,"n":"b_6D71","k":"branch","len":1,"c":false},{"a":28026,"n":"prisoner_step_right","k":"routine","len":55,"c":true},{"a":28072,"n":"b_6DA8","k":"branch","len":1,"c":false},{"a":28081,"n":"prisoner_choose_way","k":"routine","len":112,"c":true},{"a":28098,"n":"b_6DC2","k":"branch","len":1,"c":false},{"a":28105,"n":"j_6DC9","k":"branch","len":1,"c":false},{"a":28127,"n":"b_6DDF","k":"branch","len":1,"c":false},{"a":28138,"n":"b_6DEA","k":"branch","len":1,"c":false},{"a":28160,"n":"b_6E00","k":"branch","len":1,"c":false},{"a":28171,"n":"b_6E0B","k":"branch","len":1,"c":false},{"a":28182,"n":"b_6E16","k":"branch","len":1,"c":false},{"a":28193,"n":"shot_hit_prisoner","k":"routine","len":56,"c":true},{"a":28218,"n":"b_6E3A","k":"branch","len":1,"c":false},{"a":28228,"n":"b_6E44","k":"branch","len":1,"c":false},{"a":28236,"n":"b_6E4C","k":"branch","len":1,"c":false},{"a":28243,"n":"j_6E53","k":"branch","len":1,"c":false},{"a":28249,"n":"prisoner_frame_half","k":"variable","len":1,"c":true},{"a":28250,"n":"animate_prisoner","k":"routine","len":52,"c":true},{"a":28265,"n":"b_6E69","k":"branch","len":1,"c":false},{"a":28267,"n":"j_6E6B","k":"branch","len":1,"c":false},{"a":28301,"n":"b_6E8D","k":"branch","len":1,"c":false},{"a":28302,"n":"animate_prisoner_source","k":"routine","len":1,"c":true},{"a":28303,"n":"animate_prisoner_operand","k":"routine","len":11,"c":true},{"a":28314,"n":"prisoner_frame_lo","k":"table","len":8,"c":true},{"a":28322,"n":"prisoner_frame_hi","k":"table","len":8,"c":true},{"a":28330,"n":"shot_hit_figure","k":"routine","len":135,"c":true},{"a":28348,"n":"b_6EBC","k":"branch","len":1,"c":false},{"a":28357,"n":"b_6EC5","k":"branch","len":1,"c":false},{"a":28402,"n":"b_6EF2","k":"branch","len":1,"c":false},{"a":28429,"n":"b_6F0D","k":"branch","len":1,"c":false},{"a":28458,"n":"b_6F2A","k":"branch","len":1,"c":false},{"a":28465,"n":"cheat_word","k":"table","len":10,"c":true},{"a":28475,"n":"check_cheat_word","k":"routine","len":27,"c":true},{"a":28477,"n":"b_6F3D","k":"branch","len":1,"c":false},{"a":28496,"n":"b_6F50","k":"branch","len":1,"c":false},{"a":28502,"n":"unreached_after_cheat","k":"table","len":170,"c":true},{"a":28672,"n":"tile_blocks","k":"table","len":768,"c":true},{"a":29440,"n":"figure_drawings","k":"table","len":64,"c":true},{"a":29504,"n":"tile_blocks_1b","k":"table","len":192,"c":true},{"a":29696,"n":"tile_blocks_2","k":"table","len":704,"c":true},{"a":32768,"n":"autostart_header","k":"table","len":4,"c":true},{"a":32772,"n":"cbm80_signature","k":"table","len":12,"c":true},{"a":32784,"n":"cold_start","k":"routine","len":33,"c":true},{"a":32802,"n":"j_8022","k":"branch","len":1,"c":false},{"a":32804,"n":"b_8024","k":"branch","len":1,"c":false},{"a":32817,"n":"warm_start","k":"routine","len":21,"c":true},{"a":32838,"n":"unreached_after_warm_start","k":"table","len":58,"c":true},{"a":32896,"n":"autostart_filler","k":"table","len":64,"c":true},{"a":32960,"n":"unreached_autostart_tail","k":"table","len":64,"c":true},{"a":34304,"n":"tile_colours","k":"table","len":16,"c":true},{"a":34320,"n":"tile_colours_key","k":"variable","len":2,"c":true},{"a":34322,"n":"tile_colours_ammo","k":"variable","len":2,"c":true},{"a":34324,"n":"tile_colours_painting","k":"table","len":4,"c":true},{"a":34328,"n":"tile_colours_vase_a","k":"variable","len":1,"c":true},{"a":34329,"n":"tile_colours_vase_b","k":"variable","len":1,"c":true},{"a":34330,"n":"tile_colours_vase_c","k":"variable","len":1,"c":true},{"a":34331,"n":"tile_colours_vase_d","k":"variable","len":1,"c":true},{"a":34332,"n":"tile_colours_food","k":"table","len":4,"c":true},{"a":34336,"n":"tile_colours_first_aid","k":"table","len":8,"c":true},{"a":34344,"n":"tile_colours_icon_byte","k":"table","len":62,"c":true},{"a":34406,"n":"tile_colours_more","k":"table","len":64,"c":true},{"a":34470,"n":"tile_colours_rest","k":"table","len":90,"c":true},{"a":35840,"n":"title_colours","k":"table","len":1000,"c":true},{"a":40960,"n":"title_picture","k":"table","len":1024,"c":true},{"a":41984,"n":"title_picture_2","k":"table","len":1024,"c":true},{"a":43008,"n":"title_picture_3","k":"table","len":1024,"c":true},{"a":44032,"n":"title_picture_4","k":"table","len":1024,"c":true},{"a":45056,"n":"title_picture_5","k":"table","len":1024,"c":true},{"a":46080,"n":"title_picture_6","k":"table","len":1024,"c":true},{"a":47104,"n":"title_picture_7","k":"table","len":1024,"c":true},{"a":48128,"n":"title_picture_8","k":"table","len":832,"c":true},{"a":53248,"n":"floor_1_basement","k":"table","len":1024,"c":true},{"a":54272,"n":"floor_2_ground","k":"table","len":1024,"c":true},{"a":55296,"n":"floor_3_first","k":"table","len":40,"c":true},{"a":55336,"n":"f_D828","k":"table","len":29,"c":true},{"a":55365,"n":"f_D845","k":"table","len":11,"c":true},{"a":55376,"n":"f_D850","k":"table","len":40,"c":true},{"a":55416,"n":"f_D878","k":"table","len":36,"c":true},{"a":55452,"n":"a_D89C","k":"variable","len":1,"c":true},{"a":55453,"n":"a_D89D","k":"variable","len":1,"c":true},{"a":55454,"n":"a_D89E","k":"variable","len":2,"c":true},{"a":55456,"n":"f_D8A0","k":"table","len":38,"c":true},{"a":55494,"n":"a_D8C6","k":"variable","len":2,"c":true},{"a":55496,"n":"f_D8C8","k":"table","len":36,"c":true},{"a":55532,"n":"a_D8EC","k":"variable","len":1,"c":true},{"a":55533,"n":"a_D8ED","k":"variable","len":1,"c":true},{"a":55534,"n":"a_D8EE","k":"variable","len":2,"c":true},{"a":55536,"n":"f_D8F0","k":"table","len":16,"c":true},{"a":55552,"n":"f_D900","k":"table","len":22,"c":true},{"a":55574,"n":"a_D916","k":"variable","len":2,"c":true},{"a":55576,"n":"f_D918","k":"table","len":5,"c":true},{"a":55581,"n":"a_D91D","k":"variable","len":1,"c":true},{"a":55582,"n":"f_D91E","k":"table","len":28,"c":true},{"a":55610,"n":"a_D93A","k":"variable","len":2,"c":true},{"a":55612,"n":"a_D93C","k":"variable","len":1,"c":true},{"a":55613,"n":"a_D93D","k":"variable","len":1,"c":true},{"a":55614,"n":"a_D93E","k":"variable","len":2,"c":true},{"a":55616,"n":"f_D940","k":"table","len":38,"c":true},{"a":55654,"n":"a_D966","k":"variable","len":2,"c":true},{"a":55656,"n":"f_D968","k":"table","len":38,"c":true},{"a":55694,"n":"a_D98E","k":"variable","len":2,"c":true},{"a":55696,"n":"f_D990","k":"table","len":31,"c":true},{"a":55727,"n":"f_D9AF","k":"table","len":9,"c":true},{"a":55736,"n":"f_D9B8","k":"table","len":37,"c":true},{"a":55773,"n":"a_D9DD","k":"table","len":3,"c":true},{"a":55776,"n":"f_D9E0","k":"table","len":6,"c":true},{"a":55782,"n":"f_D9E6","k":"table","len":26,"c":true},{"a":55808,"n":"f_DA00","k":"table","len":8,"c":true},{"a":55816,"n":"f_DA08","k":"table","len":8,"c":true},{"a":55824,"n":"a_DA10","k":"variable","len":1,"c":true},{"a":55825,"n":"a_DA11","k":"table","len":31,"c":true},{"a":55856,"n":"f_DA30","k":"table","len":8,"c":true},{"a":55864,"n":"a_DA38","k":"variable","len":1,"c":true},{"a":55865,"n":"a_DA39","k":"table","len":31,"c":true},{"a":55896,"n":"f_DA58","k":"table","len":40,"c":true},{"a":55936,"n":"f_DA80","k":"table","len":5,"c":true},{"a":55941,"n":"a_DA85","k":"variable","len":1,"c":true},{"a":55942,"n":"f_DA86","k":"variable","len":2,"c":true},{"a":55944,"n":"a_DA88","k":"variable","len":1,"c":true},{"a":55945,"n":"a_DA89","k":"table","len":25,"c":true},{"a":55970,"n":"a_DAA2","k":"table","len":6,"c":true},{"a":55976,"n":"f_DAA8","k":"table","len":8,"c":true},{"a":55984,"n":"a_DAB0","k":"variable","len":1,"c":true},{"a":55985,"n":"a_DAB1","k":"table","len":31,"c":true},{"a":56016,"n":"f_DAD0","k":"table","len":40,"c":true},{"a":56056,"n":"f_DAF8","k":"table","len":8,"c":true},{"a":56064,"n":"a_DB00","k":"variable","len":1,"c":true},{"a":56065,"n":"a_DB01","k":"table","len":31,"c":true},{"a":56096,"n":"f_DB20","k":"table","len":8,"c":true},{"a":56104,"n":"a_DB28","k":"variable","len":1,"c":true},{"a":56105,"n":"a_DB29","k":"table","len":31,"c":true},{"a":56136,"n":"f_DB48","k":"table","len":29,"c":true},{"a":56165,"n":"a_DB65","k":"variable","len":1,"c":true},{"a":56166,"n":"f_DB66","k":"table","len":10,"c":true},{"a":56176,"n":"f_DB70","k":"table","len":8,"c":true},{"a":56184,"n":"a_DB78","k":"variable","len":1,"c":true},{"a":56185,"n":"a_DB79","k":"table","len":31,"c":true},{"a":56216,"n":"f_DB98","k":"table","len":8,"c":true},{"a":56224,"n":"a_DBA0","k":"variable","len":1,"c":true},{"a":56225,"n":"a_DBA1","k":"table","len":31,"c":true},{"a":56256,"n":"floor_3_first_end","k":"table","len":64,"c":true},{"a":56320,"n":"floor_4_second","k":"table","len":1024,"c":true},{"a":57344,"n":"plaque_bitmap","k":"table","len":1024,"c":true},{"a":58368,"n":"plaque_bitmap_2","k":"table","len":1024,"c":true},{"a":59392,"n":"plaque_bitmap_3","k":"table","len":1024,"c":true},{"a":59953,"n":"j_EA31","k":"variable","len":1,"c":false},{"a":60416,"n":"plaque_colours","k":"table","len":512,"c":true},{"a":60928,"n":"plaque_colour_ram","k":"table","len":64,"c":true},{"a":60992,"n":"plaque_colours_2","k":"table","len":192,"c":true},{"a":61184,"n":"plaque_colour_ram_2","k":"table","len":64,"c":true},{"a":61248,"n":"plaque_colours_3","k":"table","len":192,"c":true},{"a":61440,"n":"prisoner_frames","k":"table","len":1024,"c":true},{"a":64789,"n":"kernal_restor","k":"routine","len":27,"c":true},{"a":64816,"n":"kernal_vectors_shadow","k":"table","len":32,"c":true}],"records":[{"a":0,"l":"cpu_ddr","c":"the processor port's direction register, which the KERNAL sets to $2F and the game leaves alone","t":"code","b":[0],"m":"brk"},{"a":1,"l":"cpu_port","c":"the processor port. The game uses $36 in play; $26, the same banking, when it leaves play for the lift, a delivered prisoner or a destroyed castle ($48D4, $49EC, $4A5C); $37 when it wants every ROM; $35, the KERNAL out and the I/O in, while it copies the plaque's colours from $EE00 and $EF00 ($0BCA, $0F57); $30 when the map builder reads the floor descriptions under the I/O area; and $00, all RAM, for a moment at $6E89.","t":"code","b":[0],"m":"brk","x":[2961,3018,3022,3044,3048,3920,3927,3931,3950,3954,5567,18542,18646,18753,18926,19038,27217,27604,28292,28297,28311]},{"a":2,"l":"map_addr_lo","c":"the low byte of the map address being read or written. $51CD works it out for a tile lookup from $02B6 and $02B7 and the room's place in $FA and $FB; the map builder sets it at $6A6B and steps it through the castle map as it writes, and the tile fade at $4CCB points it into the character set at $2000 instead.","t":"code","b":[0],"m":"brk","x":[19661,19675,19681,19683,19706,19725,19727,20016,20943,20953,20956,20960,20964,20968,20983,20985,20991,20996,21037,21104,21147,21161,21700,21731,21752,21773,21849,21854,21863,21868,21877,21882,21888,21952,21958,21964,21970,23340,23347,23351,23358,23364,23369,23373,23378,23397,23426,23433,23440,23455,23460,23641,23859,23899,23904,23913,23918,23927,23932,23950,23955,23966,23968,26621,27243,27268,27321,27334,27370,27428,27435,27440,27457,27464,27469,27486,27493,27498,27515,27526,27528,27533,27558,27563,28339,28348,28418,28430,28434,28441,28445]},{"a":3,"l":"map_addr_hi","c":"the high byte of that place","t":"code","b":[170],"m":"tax","x":[19667,19689,19693,19712,19733,19737,20020,20945,20958,20962,20966,20970,20989,21000,21002,21007,21704,21735,21756,21777,21858,21872,21886,23349,23371,23400,23423,23435,23457,23637,23863,23908,23922,23936,23959,23972,26625,27247,27271,27326,27339,27375,27444,27473,27502,27523,27537,27556,27567,28330,28423,28432,28443]},{"a":4,"l":"build_source_lo","c":"the low byte of the map builder's source, the block it is copying from; the tile fade at $4CCB uses the same pair as its pointer into the copy of the character set it keeps at $8000","t":"code","b":[177,145],"m":"lda","oa":145,"o":"(zero_page_note),y","x":[19663,19677,19685,19708,19720,19729,27264,27399,27401,27405,27409,27413,27426,27446,27451,27455,27475,27480,27484,27504,27509,27513]},{"a":5,"t":"note","l":"build_source_hi","c":"the high byte of that pointer: the map builder's source block, or the tile fade's place in its copy at $8000","note":"inside the item at $0004","x":[19671,19691,19716,19735,27266,27403,27407,27411,27415,27417,27422]},{"a":6,"l":"grid_addr_lo","c":"the low byte of the place the tile grid is read from","t":"byte","b":[179],"note":"not a legal opcode","x":[16542,19787,19800,20094,20100,20106,20112,20118,20124,20126,20131,20391,20730,20737,20742,20751,20762,20765,20774,20777,20782,20785,20792,20795,20800,20803,20822,20827,20843,20848,20884,20891,20904,20907,20910,20913,20918,20924,20927,20930,20933,20938,21702,21733,21754,21775,21781,21786,23646,23652,23662,23669,23676,23685,23692,23699,23718,23857]},{"a":7,"l":"grid_addr_hi","c":"the high byte of the place the six-by-six tile grid is read from, which $5C55 steps up twice and back down twice to reach the six rows (0, 2 and 4, then 5, 3 and 1); the door openers ($50F7) and the grid write-back ($4E77) use the same pointer","t":"byte","b":[34],"note":"not a legal opcode","x":[16563,19790,19797,20135,20395,20746,20755,20769,20787,20818,20820,20831,20852,20895,21706,21737,21758,21779,21790,23639,23650,23655,23667,23674,23690,23697,23715,23861]},{"a":8,"l":"figure_from_lo","c":"the low byte of the place a figure has just left","t":"code","b":[0],"m":"brk","x":[24859,24959,25032,25105,25178,25246,25250,25258,25262]},{"a":9,"l":"figure_from_hi","c":"the high byte of the place a figure has just left","t":"code","b":[0],"m":"brk","x":[24866,24964,25037,25110,25183,25248,25260]},{"a":10,"l":"figure_shape_lo","c":"the low byte of the sixteen tiles, four by four, a figure is drawn from","t":"code","b":[0],"m":"brk","x":[25235,25240,25288,25469,25478,25487,25496]},{"a":11,"l":"figure_shape_hi","c":"the high byte of the sixteen tiles, four by four, a figure is drawn from, always $73, set beside $0A by $636A; $62B9 copies it into the operands of the redraw at $62E2, which reads the tiles from $7300 onwards","t":"code","b":[76,0,255],"m":"jmp","oa":65280,"o":"j_FF00","x":[25273,25473,25482,25491,25500]},{"a":14,"t":"gap","n":131},{"a":145,"l":"zero_page_note","c":"a note on the zero page; $0091 itself is not used by the game. The zero page the game works in: $02 and $03 the map address being read or written, which the tile fade at $4CCB also points into the character set at $2000; $04 and $05 the map builder's source, and the tile fade's pointer into its copy at $8000; $06 and $07 the tile grid's place in the map, which the door openers also walk; $08 and $09 the place a figure has just left; $0A and $0B the sixteen tiles a figure is drawn from; $C5 the game's flag for the SPACE key; $FA and $FB the room's own place in the map; $FC and $FD the all-purpose pointer; and $FE and $FF the room's offset in tiles, which the floor-select screen also uses as a second pointer into colour memory ($1BFC).","t":"byte","b":[255,0,0,0,0,0,0,0],"x":[4]},{"a":153,"t":"byte","b":[0,3,0,0,0,0,0,0]},{"a":161,"t":"byte","b":[3,5,8,0,0,0,0,0]},{"a":169,"t":"byte","b":[255,128,1,4,0,254,1,254]},{"a":177,"t":"byte","b":[64,60,3,129,0,0,0,0]},{"a":185,"t":"byte","b":[0,1,5,38,111,0,111,55]},{"a":193,"t":"byte","b":[0,1,159,2]},{"a":197,"l":"space_down","c":"the game's own flag for the SPACE key, $10 while it is held and 0 when it is not, kept in the byte the KERNAL uses for the last key it saw. $5FCB writes it and the main loop reads it.","t":"byte","b":[64,0,0,4,0,4,64,1],"x":[18570,18590,18603,18632,24535]},{"a":205,"t":"byte","b":[2,32,0,0,0,4,0,0]},{"a":213,"t":"byte","b":[39,0,1,0,132,132,132,132]},{"a":221,"t":"byte","b":[132,132,132,133,133,133,133,133]},{"a":229,"t":"byte","b":[133,134,134,134,134]},{"a":234,"l":"zero_page_spare_1","c":"zero page the game does not use, left as the KERNAL's tape and screen work space","t":"byte","b":[134,134,134,135,135,135,135,135]},{"a":242,"l":"zero_page_spare_2","c":"more zero page the game does not use","t":"byte","b":[135,0,216,0,0,0,0,0]},{"a":250,"l":"room_lo","c":"the low byte of where the room shown on screen begins in the castle map","t":"byte","b":[0],"x":[17216,17221,17386,17391,17554,17559,17724,17729,18435,20994,24302,24329]},{"a":251,"l":"room_hi","c":"the high byte of where the room shown on screen begins","t":"byte","b":[0],"x":[17225,17395,17563,17733,18440,21005,24306,24333]},{"a":252,"l":"pointer_lo","c":"the low byte of the all-purpose pointer: the message being printed, the block being copied, the sprite shapes being cleared","t":"byte","b":[0],"x":[2720,2732,2737,2752,2758,2765,2771,2785,2788,2795,2798,7156,7176,7182,7193,7198,16755,16762,16779,16790,16794,16802,16806,16939,17916,18620,19927,19938,20018,20026,20031,20037,20043,20150,20178,20192,20220,20234,20268,20282,20310,20350,20370,20393,20406,20411,20422,20424,20430,20435,20452,20456,20462,20465,20468,20472,20484,20505,20570,20609,20701,21384,21422,21458,21477,21496,21515,21534,21676,21938,21975,22002,22013,22837,23140,23185,23231,23249,23265,23281,23297,23985,23996,24405,24422,24459,24497,24508,24511,24517,24520,24788,24797,24808,24815,24820,24828,24839,24857,24891,24931,24942,24947,24966,25001,25015,25020,25039,25068,25076,25082,25090,25096,25115,25146,25152,25160,25166,25185,25191,25317,25324,25333,25340,26623,26637,26642,26650,26671,26676,26685,26690,26699,26704,26714,26719,26724,26729,26735,26738,26741,26744,26774,26779,26787,26806,26811,26820,26825,26834,26839,26852,26855,26858,26861,26867,26872,26877,26882,27221,27276,27397,27569,27574,27614,27625,27629,27637,27641,27653,27667,27674,27683,27690,27773,27835,27863,27920,27969,27973,27979,27985,27991,28028,28034,28040,28046]},{"a":253,"l":"pointer_hi","c":"the high byte of that pointer","t":"byte","b":[0],"x":[2724,2741,2773,2778,7160,7204,16750,16764,16766,16784,16792,16804,16943,17920,18624,19931,19942,20022,20035,20154,20182,20196,20224,20238,20272,20286,20314,20354,20374,20397,20415,20428,20439,20458,20476,20488,20509,20574,20613,20705,21388,21426,21462,21481,21500,21519,21538,21680,21942,21979,22006,22017,23144,23189,23235,23253,23269,23285,23301,23989,24000,24409,24426,24463,24502,24513,24793,24804,24824,24835,24864,24896,24927,24940,24951,24971,24995,24997,25013,25024,25044,25072,25080,25086,25094,25100,25120,25150,25156,25164,25170,25189,25196,25319,25335,26627,26646,26680,26694,26708,26769,26783,26815,26829,26843,27223,27232,27234,27239,27578,27619,27627,27639,27658,27669,27685,27778,27839,27859,27914,27916,27983,28038]},{"a":254,"l":"room_offset_x","c":"how far across the floor, in tiles, the room on screen begins; the panel's reading of where the player is adds it","t":"byte","b":[254],"x":[7164,7187,7191,7200,17536,17552,17704,17722,22961,24310,24337,24683,27736]},{"a":255,"l":"room_offset_y","c":"how far down the floor, in tiles, the room on screen begins; the panel's reading of where the player is adds it, and the vertical scrolls step it","t":"byte","b":[32],"x":[7168,7206,17198,17214,17366,17384,22976,24314,24341,24698,27751]},{"a":256,"t":"gap","n":256},{"a":512,"l":"basic_input_buffer","c":"the start of page 2. At the hand-over $0200 holds $93, $00, $41 and zeros, and $02A7 to $02FF hold the loader's own code (SEI, LDA #$31, STA $0314 ...). The game overwrites that with its own variables from $02A7 onwards, and $404F clears $02A8 to $02FF at the start of every mission.","t":"byte","b":[147,0,65,0,0,0,0,0],"x":[16472]},{"a":520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":640,"t":"byte","b":[0,0,8,0,160,0,1,14]},{"a":648,"t":"byte","b":[4,10,0,4,10,0,0,72]},{"a":656,"t":"byte","b":[235,0,0,0,0,0,0,0]},{"a":664,"t":"byte","b":[0,0,0,0,0,0,0,49]},{"a":672,"t":"byte","b":[0,0,17,144,17,0,1]},{"a":679,"l":"current_floor","c":"which floor the player is on, 0 the basement to 3 the second floor","t":"byte","b":[120],"x":[7250,16408,16822,18840,18849,18879,21393,23240,24390,24485,27225]},{"a":680,"l":"block_rows_built","c":"how many rows of blocks of the floor the builder has built so far: $6A73 starts it at 0, $6BBC adds one after each row, and at $20, thirty-two rows, the floor is done","t":"byte","b":[169],"x":[27251,27580,27583]},{"a":681,"l":"message_scroll","c":"the message line's fine horizontal scroll, stepped down by 4 each frame; when it wraps the text is shifted a character along","t":"byte","b":[49],"x":[19253,19259,19266,19283]},{"a":682,"l":"room_change","c":"which way the player is crossing into the next room, and how far the scroll has got: the low three bits hold the direction, 1 to 4, and the top four count the scroll's steps ($4329 sets them, $4377 counts them down). The interrupt's player step at $426F, called from $4B86, reads it to run the scroll, and the four scroll routines step it. Bit 3 is kept through every change ($4327, $4384), and while it is set the interrupt skips $426F ($4B7F).","t":"byte","b":[141],"x":[17007,17188,17195,17268,17274,17281,17286,17356,17363,17438,17444,17451,17456,17526,17533,17606,17612,17619,17624,17694,17701,17776,17782,17789,17794,19178,19327]},{"a":683,"l":"fade_mask","c":"the mask the tiles are faded in through, shifted left and a bit added each pass until every bit is set","t":"byte","b":[20],"x":[19701,19722,19743,19748]},{"a":684,"l":"keys","c":"how many door keys the player is carrying, in binary-coded decimal; the panel prints it","t":"byte","b":[3],"x":[16491,18885,19910,19916,20667,20712,20718,20858,20867,20873,22933,23507]},{"a":685,"l":"door_half","c":"where the door being opened lies, as an offset from the map address in $06 that the opener at $50F7 uses: 1 when a shot struck the left half of a steel door, tile $49 ($54B5), and 0 when it struck the right half, tile $4A ($54D4), so the opener finds the right half, $4A, either way; and 6 or 0 when the player opens a door with a key ($5097, $50AB)","t":"byte","b":[169],"x":[20633,20653,20727,20771,20789,21687,21718]},{"a":686,"l":"door_other_half","c":"how far away the door's other half is in the map, from the same place: $80 or $81 for a steel door that was shot ($54D9, $54BA), and $86 or $80 for a door opened with a key ($509C, $50B0)","t":"byte","b":[234],"x":[20638,20658,20757,20779,20797,21692,21723]},{"a":687,"l":"shots_in_air","c":"which of the player's two shots are in the air: bit 0 the first, bit 4 the second. Bit 1 is flipped when the first shot passes the edge of the room and bit 5 likewise for the second, and $4586 then takes that shot out of the air.","t":"byte","b":[141],"x":[17236,17252,17406,17422,17574,17590,17744,17760,17798,17805,17810,17827,17834,17839,17878,17885,17969,17974,17983,18052,18057,18170,18201,18206,18229,18234,18257,18262,18281,18286,18296,18324,18329,18352,18357,18380,18385,18404,18409,21010,21051,21056,21079,21118,21123]},{"a":688,"l":"player_facing","c":"the way the player is facing, which is the way a shot goes: 1 up, 2 down, 3 left, 4 right","t":"byte","b":[21],"x":[16903,17124,17292,17462,17630,17937,18020,18085,18113,19384]},{"a":689,"l":"shot1_direction","c":"the way the first shot is travelling, 1 up, 2 down, 3 left, 4 right, taken from the player's facing when it was fired","t":"byte","b":[3],"x":[17940,18181,21070]},{"a":690,"l":"shot1_distance","c":"how many steps the first shot has taken, one a move, each step a tile of 8 pixels; the second shot cannot be fired until this has reached 8 ($4646)","t":"byte","b":[169],"x":[17821,17979,17990,18178,21067]},{"a":691,"l":"shot2_direction","c":"the way the second shot is travelling","t":"byte","b":[127],"x":[18023,18304,21137]},{"a":692,"l":"shot2_distance","c":"how far the second shot has travelled","t":"byte","b":[141],"x":[17850,17892,18062,18293,21134]},{"a":693,"l":"fire_held","c":"set while fire is still held, so one press fires one shot","t":"byte","b":[13],"x":[17865,17869,17875]},{"a":694,"l":"tile_lookup_x","c":"the position across the room a tile lookup is about, in pixels","t":"byte","b":[220],"x":[20972,21023,21090,23326,23625,28352,28364]},{"a":695,"l":"tile_lookup_y","c":"the position down the room a tile lookup is about, in pixels","t":"byte","b":[141],"x":[20947,21029,21096,23332,23631,28336,28345,28375]},{"a":696,"l":"steel_door_tile","c":"the tile code the door opener at $50F7 looks for: $4A when a shot opens a steel door ($54BF, $54DE), and $44 when the player opens a door with a key ($508B)","t":"byte","b":[13],"x":[20621,20732,21697,21728]},{"a":697,"l":"wooden_door_tile","c":"the tile code the wooden door opener at $5192 looks for: $47 when a shot opens a wooden door ($54F3, $5508), and $45 when it is set at $5146","t":"byte","b":[221],"x":[20808,20886,21749,21770]},{"a":698,"l":"move_tick","c":"counts frames 0 to 3; the player may move on the frame it reaches 3, so one step takes four frames","t":"byte","b":[169],"x":[17068,17075,17081,20598,20690]},{"a":699,"l":"digit_high","c":"the screen code of the upper digit $5A20 has just made","t":"byte","b":[0],"x":[22939,22987,23005,23023,23041,23059,23087]},{"a":700,"l":"digit_low","c":"the screen code of the lower digit $5A20 has just made","t":"byte","b":[141],"x":[22945,22993,23011,23029,23047,23065,23075]},{"a":701,"l":"ammo","c":"how many rounds the player has, kept in binary-coded decimal so the panel can print it a digit at a time. A mission starts with $99, that is 99.","t":"byte","b":[14],"x":[16480,16497,17901,17930,18001,18013,18891,20332,20361,22981,23478]},{"a":702,"l":"door_message_said","c":"set when \"YOU NEED A LIFT PASS !\" ($507C) or \"THIS DOOR IS LOCKED !\" ($50D8) has been printed, so it is not printed again while the player stays where he is. When another message is still on the line, $506C and $50C8 store the message queue's read position $592B here instead, which, unless that is 0, skips the warning rather than keeping it for later. Every step he takes clears it ($4315, $43BD, $4467, $450F). The idle nag at $5A33 does not read it.","t":"byte","b":[220],"x":[17173,17341,17511,17679,20588,20592,20604,20680,20684,20696]},{"a":703,"l":"idle_nag_count","c":"how many times $02C1 has filled with the player standing still; at fourteen the game says so","t":"byte","b":[141],"x":[23125,23128,23151]},{"a":704,"l":"idle_fire_count","c":"how many turns of $02C1 have passed with fire not held; at seven the game asks for some destruction","t":"byte","b":[14],"x":[23172,23175,23196]},{"a":705,"l":"idle_count","c":"counted on each time $5A33 runs, which is in one pass of the interrupt's three-step rota ($4B24), so at most every third frame. It runs round all 256 values, and each time it reaches $80 the nag counters are looked at: $02BF is stepped if the stick is not pushed and no message is showing, and cleared otherwise, and $02C0 likewise with the fire button.","t":"byte","b":[221],"x":[23091,23094,23102]},{"a":706,"l":"score_hi","c":"the top two digits of the score, in binary-coded decimal","t":"byte","b":[169],"x":[16509,18903,18962,22999,23219,23224]},{"a":707,"l":"score_mid","c":"the middle two digits of the score","t":"byte","b":[37],"x":[16515,18909,18968,23017,23210,23216]},{"a":708,"l":"score_lo","c":"the bottom two digits of the score. Nothing ever adds to them, so they stay at zero.","t":"byte","b":[141],"x":[16521,18915,18974,23035]},{"a":709,"l":"score_to_add","c":"points waiting to be added to the score, a plain binary count: the finds add 25, 15 or 40 at a time with binary ADC ($4EC4, $4EEE, $4F48, $5DA6), shooting a figure adds 25 ($687A, $6904), and $6F26 adds 1. The ticker at $5AA0 takes one a frame with DEC and adds 1 to the middle score digits, so each is worth a hundred.","t":"byte","b":[4],"x":[20164,20170,20206,20212,20296,20302,23200,23206,23974,23980,26746,26752,26884,26890,28454]},{"a":710,"l":"hits","c":"how many hits the player has taken, in binary-coded decimal. Cold food takes $10 off it, first aid clears it, and the panel prints it.","t":"byte","b":[220],"x":[16503,18897,20249,20259,20386,23053,23493,25503,25516,25522]},{"a":711,"l":"slide_steps","c":"how many of the end-of-mission slides are left: $6913 makes one slide, then sets this to 10 and makes ten more","t":"byte","b":[169],"x":[26922,26934]},{"a":712,"l":"lift_state","c":"what the lift pass has got to: 1 once the player is carrying one, 2 once he has stepped onto the lift with it, which the main loop takes him off the floor for","t":"byte","b":[64],"x":[18552,20516,20558,20565]},{"a":713,"l":"pause_flag","c":"set while the game is paused, and also once play has stopped: by the game over ($48F2), the lift ($48DA), a delivered prisoner ($49F2), a destroyed castle ($4A62) and the explosives ($55E5). While it is set the interrupt skips the rota of play work ($4AE5) and the sprites ($4B5F); the score ticker, the sound, the mission state and the message line still run.","t":"byte","b":[141],"x":[18587,18638,18650,18674,18930,19042,19173,19295,21989]},{"a":714,"l":"player_tile_x","c":"where the player is in the castle, across, counted in tiles: the position in the room plus the room's own offset","t":"byte","b":[5],"x":[22963,25366,28109]},{"a":715,"l":"player_tile_y","c":"where the player is in the castle, down, counted in tiles","t":"byte","b":[220],"x":[22978,25399,28142]},{"a":716,"l":"figures_phase","c":"how far through its four-call rota the figures' turn has got, 0 to 3: the call that finds it at 3 puts it back to 0 and starts the list again from the first figure ($6044)","t":"byte","b":[169],"x":[24644,24651,24665]},{"a":717,"l":"figures_moved","c":"counts the figures that have moved","t":"byte","b":[17],"x":[24670,24709,24782,24882]},{"a":718,"l":"figure_turn","c":"which figure of the list the figures' turn has reached: each call of $6044 carries on from here, moving up to seven figures, and the list starts again from the first when it reaches $02CF or when $02CC comes round to 3","t":"byte","b":[141],"x":[24654,24662,24673,24717,24727,24754]},{"a":719,"l":"figure_count","c":"how many figures the floor's description put on this floor","t":"byte","b":[14],"x":[24720,24747,27364,27392,28459]},{"a":720,"l":"block_column","c":"the tile column, 0 to $7C in steps of 4, of the block the builder is filling in; $6AF4 stores it as a figure's place across","t":"byte","b":[220],"x":[27259,27380,27539,27545]},{"a":721,"l":"block_row","c":"the tile row, 0 to $7C in steps of 4, of the row of blocks the builder is filling in; $6AFA stores it as a figure's place down","t":"byte","b":[169],"x":[27254,27386,27590,27596]},{"a":722,"l":"hit_direction","c":"the direction the shot that just hit something was travelling, kept so the thing hit knows which way the bullet came","t":"byte","b":[129],"x":[19961,21073,21140]},{"a":723,"l":"mission_phase","c":"0 while the mission is being played, $FF once the player is dead, and 1 to $12 while the explosives from a chest are going off","t":"byte","b":[141],"x":[18545,21986,23482,23513,23517,23534,23550,23556]},{"a":724,"l":"explosion_rounds","c":"how many times the explosion's run of colours has been round; the fifth ends the game","t":"byte","b":[13],"x":[23538,23541]},{"a":725,"l":"sound_effect","c":"which sound to start, read once a frame by $63F3: 1 to 9, and 0 for none. Firing sets 5, a find 1, as does a shot at a detonator ($539B), a shot at a door key 2 ($53B9), a shot at a locked door ($43 to $46, $5312) 3, healing 4, a door opened with a key 6, the explosives 7, a figure shot 8, and 9 a shot that opens a door or destroys a pickup or a box of ammunition ($53CA to $5522).","t":"byte","b":[220],"x":[17946,18029,19922,20161,20203,20245,20293,20381,20495,20724,20879,21268,21403,21433,21450,21469,21488,21507,21526,21545,21710,21741,21762,21794,21994,25529,25587,25604,25678,25720,25772,25822,25874,25934,25984,26037,26085,26757,26895,28404]},{"a":726,"l":"sound_playing","c":"which sound effect is in progress, so the tick at $6615 can carry it on","t":"byte","b":[88],"x":[25532,25595,25607,26133,26215,26237,26274,26293,26333,26396,26453,26481,26503]},{"a":727,"l":"sound_timer","c":"how many frames the sound in progress has left","t":"byte","b":[169],"x":[25535,25712,25764,25814,25866,25926,25976,26029,26077,26127,26202,26207,26224,26229,26246,26251,26280,26285,26302,26307,26351,26356,26417,26422,26462,26467,26490,26495]},{"a":728,"l":"footstep_due","c":"the lowest bit of the player's step count. Only the sound reads it, which is why a footstep is heard on every other step.","t":"byte","b":[0],"x":[17184,17352,17522,17690,25574,25581]},{"a":729,"l":"footstep_phase","c":"stepped on with each footstep ($67A0), which is every other step of the player; its lowest bit picks one of two pitches, so the footsteps alternate between them","t":"byte","b":[133],"x":[26528,26531]},{"a":730,"l":"walk_count","c":"counts the player's steps. After each step its lowest bit is copied to $02D8, which sets off a footstep, and bit 1 picks the walking pose of the player's sprites ($4BBC).","t":"byte","b":[198],"x":[17176,17179,17344,17347,17514,17517,17682,17685,19388]},{"a":731,"l":"shot1_x","c":"the first shot's position across the room, in pixels","t":"byte","b":[169],"x":[17581,17587,17751,17757,17815,17956,18244,18250,18268,18274,21020,21061]},{"a":732,"l":"shot1_y","c":"the first shot's position down the room, in pixels","t":"byte","b":[234],"x":[17243,17249,17413,17419,17818,17966,18188,18194,18216,18222,21026,21064]},{"a":733,"l":"shot2_x","c":"the second shot's position across the room, in pixels","t":"byte","b":[141],"x":[17597,17603,17767,17773,17844,18039,18367,18373,18391,18397,21087,21128]},{"a":734,"l":"shot2_y","c":"the second shot's position down the room, in pixels","t":"byte","b":[40],"x":[17259,17265,17429,17435,17847,18049,18311,18317,18339,18345,21093,21131]},{"a":735,"l":"player_x","c":"the player's position across the room, in pixels, which the four player sprites are placed from","t":"byte","b":[3],"x":[16648,17493,17500,17506,17540,17546,17565,17571,17661,17668,17674,17710,17716,17735,17741,17949,18032,18124,19337,22951,23323,23622,24318,24345]},{"a":736,"l":"player_y","c":"the player's position down the room, in pixels","t":"byte","b":[76],"x":[16669,17155,17162,17168,17202,17208,17227,17233,17323,17330,17336,17372,17378,17397,17403,17959,18042,18137,19358,22966,23329,23628,24323,24350]},{"a":737,"l":"random_index","c":"how far through the table of random numbers the game has got; it runs round and round the 256 bytes","t":"byte","b":[16],"x":[26611,26614]},{"a":738,"l":"jewel_scan","c":"set to 0 at $5D3B before the search of the sixteen places at $5CA9; nothing reads it, as the search counts in X","t":"byte","b":[8],"x":[23867]},{"a":739,"l":"shot_pending","c":"set by $46A5 each time a shot is fired and cleared at $42A9 once fire is let go; while it is set the player does not move ($429A) and his walking frames are left alone ($4BB3)","t":"byte","b":[234],"x":[17050,17065,18110,19379]},{"a":740,"l":"prisoner_tick","c":"counts to 1 and back, so the prisoner moves on every other call of $6C3B; that runs only in the third pass of the interrupt's three-step rota ($4B04, $5B72), so he moves at most once every six frames","t":"byte","b":[234],"x":[27713,27720,27726]},{"a":741,"l":"prisoner_held","c":"set to 1 at $41C3 when the floor being entered does not have the prisoner on it, either because the mission has none ($4010 = $FF) or because he is on another floor; while it is set $6C3B returns at once and he does not move. Only the clear of page 2 by $404F, at the start of a mission and after each lift ride, puts it back to 0.","t":"byte","b":[234],"x":[16835,27707]},{"a":742,"l":"floor_before_lift","c":"the floor the player was on before the lift, kept so the game can tell whether the prisoner was left behind","t":"byte","b":[234],"x":[18843,18859]},{"a":743,"l":"last_tile_under_player","c":"the tile under the player ($5C42) when the end-of-mission check at $5F27 last looked, so that standing on tile $E4 sets the check off once rather than on every pass","t":"byte","b":[234],"x":[24366,24370,24380]},{"a":744,"l":"prisoner_free","c":"set to 1 when the prisoner's place lies outside the window round the room on screen and cleared when it lies inside, at each of his turns ($6C35, $6C6F); read after a lift ride ($49B5) and by $5F27 to decide whether he was left behind","t":"byte","b":[76],"x":[18869,24415,27703,27761]},{"a":745,"l":"handover_wanted","c":"what the game's own code wants the main loop to do next: 1 when a prisoner has been brought home, 2 when the castle has been destroyed","t":"byte","b":[232],"x":[18559,24433,24470]},{"a":746,"l":"detonator_place_lo","c":"where in the castle map this floor's dynamite charge is, low byte, taken from the byte $62 in the floor's description","t":"byte","b":[2],"x":[24494,27323]},{"a":747,"l":"detonator_place_hi","c":"where this floor's dynamite charge is, high byte","t":"byte","b":[169,55],"x":[24499,27328]},{"a":749,"l":"prisoner_start_lo","c":"where in the castle map the floor's description put the prisoner, low byte; the mission's own copy of his place is in $6029","t":"byte","b":[133],"x":[16726,16752,16776,27336]},{"a":750,"l":"prisoner_start_hi","c":"where the floor's description put the prisoner, high byte","t":"byte","b":[1],"x":[16735,16744,16781,27341]},{"a":751,"l":"irq_phase","c":"which of the three phases of the interrupt's rota ran last, 1 or 2, or 0 after the third: $4AF1 steps it before choosing, so the heavy work is spread over three frames. While the room scrolls, $4AEF skips the rota and draws the room every frame, and $4278 holds it at 0.","t":"byte","b":[133],"x":[17016,19162,19185,19188,19201]},{"a":752,"l":"figures_or_prisoner","c":"which of the two the stamped-in player is for: 1 runs only the figures, anything else runs the prisoner as well","t":"byte","b":[192,169,0,141,32,208,173],"x":[19206,19241,23403]},{"a":759,"l":"figure_moved_this_pass","c":"set once a figure outside the window round the room on screen has moved ($60CB), so only one such figure moves on each pass through the list; cleared when the turn comes round to the end of the list ($609A, $60B5)","t":"byte","b":[13,220,76,167,2,26,26,26],"x":[24730,24757,24771,24779]},{"a":767,"t":"byte","b":[26]},{"a":768,"t":"gap","n":20},{"a":788,"l":"irq_vector","c":"the low byte of the interrupt vector, which each of the game's five interrupt handlers is written into in turn","t":"byte","b":[49],"x":[2119,3667,3968,5557,18509,18761,18994,19085,19480]},{"a":789,"l":"irq_vector_hi","c":"the high byte of the interrupt vector at $0314. The game writes the high byte of each of its five interrupt handlers here, and $EA when it puts the KERNAL's handler back ($15BA, $494E, $4A37, $4A92).","t":"byte","b":[234,102,254,71,254,74,243,145],"x":[2124,3672,3973,5562,18514,18766,18999,19090,19485]},{"a":797,"t":"byte","b":[242,14,242,80,242,51,243,87]},{"a":805,"t":"byte","b":[241,202,241,234,246,62,241,47]},{"a":813,"t":"byte","b":[243,102,254,165,244,237,245,0]},{"a":821,"t":"byte","b":[0,0,0,0,0,0,0,87]},{"a":829,"t":"byte","b":[73,76,68,32,83,65,86,69]},{"a":837,"t":"byte","b":[32,40,67,41,32,73,78,84]},{"a":845,"t":"byte","b":[69,82,67,69,80,84,79,82]},{"a":853,"t":"gap","n":1211},{"a":2064,"l":"go_hiscore_check","c":"jump stub into the high score check at $0B89, called from the game's own code at $4943 and $4AA3 when a game ends, and from $802E after the reset code has set the score to zeros","t":"code","b":[76,137,11],"m":"jmp","oa":2953,"o":"hiscore_check","x":[18755,19107,32814]},{"a":2067,"t":"gap","n":6},{"a":2073,"l":"score_digits","c":"the player's score as six ASCII digits, \"000000\" at the hand-over. $4918 and $4A67 copy it off the panel's digits at $05D7 when a game ends, $4042 and $8024 set it to zeros, and only the high score check ($0BA3) and the table insert ($0D2A) read it.","t":"byte","b":[48,48,48,48,48,48],"x":[2979,3370,16452,18720,19055,32806]},{"a":2079,"l":"hiscore_name_entry","c":"the name typed on the name-entry screen, ten characters as the big alphabet's six-bit codes (A is 1, the digit 0 is $30), all \".\" at the hand-over. $0CE7 fills it from the screen, $0D19 copies it into the high score table, and the cheat check at $6F3B compares it.","t":"byte","b":[46,46,46,46,46,46,46,46],"x":[3308,3353,28480]},{"a":2087,"t":"byte","b":[46,46]},{"a":2089,"l":"hiscore_offset","c":"the offset into the high score table at $0D50 of the entry being looked at: $0B89 starts it at $0D, the first entry's score, and steps it by 20 until $C8; $0BC1 takes $0D off to point at the start of the entry the score beat, which $0CF8 then uses to shift the table down and write the new entry","t":"byte","b":[213],"x":[2965,2972,2993,2999,3009,3015,3327,3332,3348,3365]},{"a":2090,"l":"go_you_are_dead","c":"jump stub into the death screen at $1A21, called from the game at $4931","t":"code","b":[76,33,26],"m":"jmp","oa":6689,"o":"draw_you_are_dead","x":[18737]},{"a":2093,"l":"go_floor_select","c":"jump stub into the floor-select screen at $1AB2, called from the game at $499E when the player rides the lift","t":"code","b":[76,178,26],"m":"jmp","oa":6834,"o":"floor_select_screen","x":[18846]},{"a":2096,"l":"go_mission_select","c":"jump stub into the mission-select screen at $1D23, called from the game at $4966","t":"code","b":[76,35,29],"m":"jmp","oa":7459,"o":"mission_select_screen","x":[18790]},{"a":2099,"l":"go_mission_briefing","c":"jump stub into the mission briefing at $1E3F, called from the game at $4A4E","t":"code","b":[76,63,30],"m":"jmp","oa":7743,"o":"mission_briefing","x":[19022]},{"a":2102,"l":"mission_number","c":"which mission the player chose, 1 to 4, set by the mission-select screen ($1D32, stepped by $1DE4 and $1DF6) and, before the next briefing, copied in at $4A4B from the game's own mission count $400F, which $4A45 has just stepped on; read by the mission select and the briefing ($1EB1, $1EBD)","t":"byte","b":[0],"x":[7474,7587,7627,7652,7655,7664,7670,7673,7680,7857,7869,19019]},{"a":2103,"l":"go_mission_result","c":"jump stub into the end-of-mission screen at $1F3C, called from the game at $4AA0","t":"code","b":[76,60,31],"m":"jmp","oa":7996,"o":"mission_result_screen","x":[19104]},{"a":2106,"l":"install_attract_irq","c":"stops CIA 1's timer A, turns the video chip's raster interrupt on, points the interrupt vector $0314 at the handler at $085A, asks for the first interrupt on line 0 and clears the band counter at $0859. Called once, from $0CD9.","t":"code","b":[120],"m":"sei","x":[3289]},{"a":2107,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2109,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":2112,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":2114,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":2117,"t":"code","b":[169,90],"m":"lda","o":"#$5A"},{"a":2119,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":2122,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":2124,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":2127,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2129,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":2132,"t":"code","b":[141,89,8],"m":"sta","oa":2137,"o":"attract_irq_band"},{"a":2135,"t":"code","b":[88],"m":"cli"},{"a":2136,"t":"code","b":[96],"m":"rts"},{"a":2137,"l":"attract_irq_band","c":"which band of the attract screen's raster split the last interrupt served, 0 (the picture) to 3; the handler at $085A steps it before choosing, so the next interrupt serves the band after it, and the picture band puts it back to 0","t":"byte","b":[0],"x":[2132,2143,2146,2171]},{"a":2138,"l":"attract_irq","c":"the attract screens' raster interrupt, a chain of four bands counted by $0859. Band 0 sets the picture at the top ($08A5) and asks for line $78, band 1 the text below it ($08FC) and line $C6, band 2 the scrolling strip's fine position ($0929) and line $DA, band 3 puts the fine position back ($0935) and line 0. Band 0 ends by jumping into the KERNAL's own interrupt handler at $EA31, so the jiffy clock and the keyboard still run; the other three return with RTI.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":2140,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":2143,"t":"code","b":[238,89,8],"m":"inc","oa":2137,"o":"attract_irq_band"},{"a":2146,"t":"code","b":[173,89,8],"m":"lda","oa":2137,"o":"attract_irq_band"},{"a":2149,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":2151,"t":"code","b":[240,24],"m":"beq","oa":2177,"o":"b_0881"},{"a":2153,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":2155,"t":"code","b":[240,31],"m":"beq","oa":2188,"o":"b_088C"},{"a":2157,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":2159,"t":"code","b":[240,38],"m":"beq","oa":2199,"o":"b_0897"},{"a":2161,"t":"code","b":[32,165,8],"m":"jsr","oa":2213,"o":"band_picture"},{"a":2164,"t":"code","b":[169,120],"m":"lda","o":"#$78"},{"a":2166,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":2169,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2171,"t":"code","b":[141,89,8],"m":"sta","oa":2137,"o":"attract_irq_band"},{"a":2174,"t":"code","b":[76,49,234],"m":"jmp","oa":59953,"o":"j_EA31"},{"a":2177,"l":"b_0881","t":"code","b":[32,252,8],"m":"jsr","oa":2300,"o":"band_text","x":[2151]},{"a":2180,"t":"code","b":[169,198],"m":"lda","o":"#$C6"},{"a":2182,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":2185,"t":"code","b":[76,159,8],"m":"jmp","oa":2207,"o":"j_089F"},{"a":2188,"l":"b_088C","t":"code","b":[32,41,9],"m":"jsr","oa":2345,"o":"band_strip_scroll","x":[2155]},{"a":2191,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":2193,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":2196,"t":"code","b":[76,159,8],"m":"jmp","oa":2207,"o":"j_089F"},{"a":2199,"l":"b_0897","t":"code","b":[32,53,9],"m":"jsr","oa":2357,"o":"band_strip_scroll_off","x":[2159]},{"a":2202,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2204,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":2207,"l":"j_089F","t":"code","b":[104],"m":"pla","x":[2185,2196]},{"a":2208,"t":"code","b":[168],"m":"tay"},{"a":2209,"t":"code","b":[104],"m":"pla"},{"a":2210,"t":"code","b":[170],"m":"tax"},{"a":2211,"t":"code","b":[104],"m":"pla"},{"a":2212,"t":"code","b":[64],"m":"rti"},{"a":2213,"l":"band_picture","c":"band 0: multicolour bitmap mode ($D011 = $3B, $D016 = $D8) with video bank 3, so the plaque's bitmap at $E000 and its colours at $EC00 are what the top of the screen shows. Then reads the joystick ($0A13) and redraws the name-entry cursor ($0940).","t":"code","b":[169,59],"m":"lda","o":"#$3B","x":[2161]},{"a":2215,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":2218,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":2220,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":2223,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":2225,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":2228,"t":"code","b":[169,184],"m":"lda","o":"#$B8"},{"a":2230,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":2233,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":2236,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":2238,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":2241,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":2244,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":2246,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":2249,"t":"code","b":[32,19,10],"m":"jsr","oa":2579,"o":"name_entry_input"},{"a":2252,"t":"code","b":[32,64,9],"m":"jsr","oa":2368,"o":"draw_name_cursor"},{"a":2255,"t":"code","b":[96],"m":"rts"},{"a":2256,"l":"set_text_screen","c":"switches to multicolour text with the screen at $0400 and the character set at $2800, video bank 0, blanking the display for the change ($D011 = $7B, then $1B). Called from $0FB2.","t":"code","b":[169,123],"m":"lda","o":"#$7B","x":[4018]},{"a":2258,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":2261,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2263,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":2266,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":2268,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":2271,"t":"code","b":[169,26],"m":"lda","o":"#$1A"},{"a":2273,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":2276,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":2279,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":2281,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":2284,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":2287,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":2289,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":2291,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":2294,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":2296,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":2299,"t":"code","b":[96],"m":"rts"},{"a":2300,"l":"band_text","c":"band 1: single-colour text with the screen at $0400 and the character set at $2800, video bank 0, so the words below the picture are drawn from the two-cell-wide alphabet. Blanks the display across the change, as $08D0 does.","t":"code","b":[169,123],"m":"lda","o":"#$7B","x":[2177]},{"a":2302,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":2305,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2307,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":2310,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":2312,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":2315,"t":"code","b":[169,26],"m":"lda","o":"#$1A"},{"a":2317,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":2320,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":2323,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":2325,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":2328,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":2331,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":2333,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":2335,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":2338,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":2340,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":2343,"t":"code","b":[96],"m":"rts"},{"a":2344,"l":"strip_scroll","c":"the fine horizontal position of the name-entry screen's scrolling alphabet, 0 or 4 in the video chip's own units; band 2 puts it into $D016 and the joystick routines step it by 4","t":"byte","b":[0],"x":[2350,2615,2621,2631,2650,2656,2664,3052]},{"a":2345,"l":"band_strip_scroll","c":"band 2: puts $0928 into the low four bits of $D016, which scrolls the alphabet strip at the bottom of the name-entry screen sideways without redrawing it","t":"code","b":[173,22,208],"m":"lda","o":"vic_control2","x":[2188]},{"a":2348,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":2350,"t":"code","b":[13,40,9],"m":"ora","oa":2344,"o":"strip_scroll"},{"a":2353,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":2356,"t":"code","b":[96],"m":"rts"},{"a":2357,"l":"band_strip_scroll_off","c":"band 3: puts the fine horizontal position back to 0 and 40 columns ($D016 low nibble = 8), so only the strip's own band is scrolled","t":"code","b":[173,22,208],"m":"lda","o":"vic_control2","x":[2199]},{"a":2360,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":2362,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":2364,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":2367,"t":"code","b":[96],"m":"rts"},{"a":2368,"l":"draw_name_cursor","c":"draws the character the name-entry strip has under its pointer at the cursor, row 23, column 10 plus twice the number of characters typed so far ($0CD3). It reads the character from the screen cell $070B, row 19 column 19, the strip's cell under the pointer, and turns the cell's code back into the character by adding 1 and shifting right twice.","t":"code","b":[173,211,12],"m":"lda","oa":3283,"o":"name_length","x":[2252]},{"a":2371,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2372,"t":"code","b":[105,10],"m":"adc","o":"#$0A"},{"a":2374,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":2377,"t":"code","b":[169,23],"m":"lda","o":"#$17"},{"a":2379,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":2382,"t":"code","b":[173,11,7],"m":"lda","oa":1803,"o":"a_070B"},{"a":2385,"t":"code","b":[24],"m":"clc"},{"a":2386,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":2388,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2389,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2390,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":2393,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":2396,"t":"code","b":[96],"m":"rts"},{"a":2397,"l":"name_entry_busy","c":"set when fire has acted on the name-entry screen ($097D, $09A4) and cleared at $0A31 when none of left, right and fire is held, so one press of fire takes one character","t":"byte","b":[0],"x":[2398,2429,2468,2611]},{"a":2398,"l":"j_095E","c":"what fire does on the name-entry screen: returns at once while $095D is set, so a held button acts once, and otherwise runs on into $0964","t":"code","b":[173,93,9],"m":"lda","oa":2397,"o":"name_entry_busy","x":[2606]},{"a":2401,"t":"code","b":[240,1],"m":"beq","oa":2404,"o":"name_entry_fire"},{"a":2403,"t":"code","b":[96],"m":"rts"},{"a":2404,"l":"name_entry_fire","c":"takes the character the strip shows under its pointer, at $070B. Unless it is the alphabet's last character, \"_\" (code $1F), it steps the cursor on, up to ten characters; \"_\" instead draws a full stop at the cursor and steps the cursor back one, not below 0. Reached from $095E, which the joystick reader at $0A13 jumps to.","t":"code","b":[173,11,7],"m":"lda","oa":1803,"o":"a_070B","x":[2401]},{"a":2407,"t":"code","b":[24],"m":"clc"},{"a":2408,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":2410,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2411,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2412,"t":"code","b":[201,31],"m":"cmp","o":"#$1F"},{"a":2414,"t":"code","b":[240,17],"m":"beq","oa":2433,"o":"b_0981"},{"a":2416,"t":"code","b":[174,211,12],"m":"ldx","oa":3283,"o":"name_length"},{"a":2419,"t":"code","b":[224,10],"m":"cpx","o":"#$0A"},{"a":2421,"t":"code","b":[240,49],"m":"beq","oa":2472,"o":"r_09A8"},{"a":2423,"t":"code","b":[232],"m":"inx"},{"a":2424,"t":"code","b":[142,211,12],"m":"stx","oa":3283,"o":"name_length"},{"a":2427,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":2429,"t":"code","b":[141,93,9],"m":"sta","oa":2397,"o":"name_entry_busy"},{"a":2432,"t":"code","b":[96],"m":"rts"},{"a":2433,"l":"b_0981","t":"code","b":[173,211,12],"m":"lda","oa":3283,"o":"name_length","x":[2414]},{"a":2436,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2437,"t":"code","b":[105,10],"m":"adc","o":"#$0A"},{"a":2439,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":2442,"t":"code","b":[169,23],"m":"lda","o":"#$17"},{"a":2444,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":2447,"t":"code","b":[169,46],"m":"lda","o":"#$2E"},{"a":2449,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":2452,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":2455,"t":"code","b":[173,211,12],"m":"lda","oa":3283,"o":"name_length"},{"a":2458,"t":"code","b":[56],"m":"sec"},{"a":2459,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":2461,"t":"code","b":[144,3],"m":"bcc","oa":2466,"o":"b_09A2"},{"a":2463,"t":"code","b":[141,211,12],"m":"sta","oa":3283,"o":"name_length"},{"a":2466,"l":"b_09A2","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[2461]},{"a":2468,"t":"code","b":[141,93,9],"m":"sta","oa":2397,"o":"name_entry_busy"},{"a":2471,"t":"code","b":[96],"m":"rts"},{"a":2472,"l":"r_09A8","t":"code","b":[96],"m":"rts","x":[2421]},{"a":2473,"l":"strip_position","c":"how far the name-entry alphabet strip has scrolled, in half-characters, 0 to $5F; $09AB redraws the strip from it and the joystick steps it","t":"byte","b":[0],"x":[2475,2634,2644,2667,2677,3063]},{"a":2474,"l":"strip_character","c":"the strip position in whole characters, $09A9 shifted right; $09AB indexes the alphabet at $0B48 with it","t":"byte","b":[0],"x":[2479,2484,2528]},{"a":2475,"l":"draw_alphabet_strip","c":"redraws the name-entry screen's alphabet strip into rows 19 and 20 ($06F8 and $0720) from the alphabet at $0B48, starting at the character $09A9 names and wrapping at the 48th. On an even half-step it writes each character's four cells in place; on an odd one it writes the right-hand half of one character beside the left-hand half of the next, which is how the strip moves half a character at a time.","t":"code","b":[173,169,9],"m":"lda","oa":2473,"o":"strip_position","x":[2647,2680,3111]},{"a":2478,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":2479,"t":"code","b":[141,170,9],"m":"sta","oa":2474,"o":"strip_character"},{"a":2482,"t":"code","b":[176,44],"m":"bcs","oa":2528,"o":"b_09E0"},{"a":2484,"t":"code","b":[174,170,9],"m":"ldx","oa":2474,"o":"strip_character"},{"a":2487,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":2489,"l":"b_09B9","t":"code","b":[189,72,11],"m":"lda","oa":2888,"o":"name_alphabet,x","x":[2525]},{"a":2492,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":2494,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2495,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2496,"t":"code","b":[153,248,6],"m":"sta","oa":1784,"o":"f_06F8,y"},{"a":2499,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":2501,"t":"code","b":[153,32,7],"m":"sta","oa":1824,"o":"f_0720,y"},{"a":2504,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":2506,"t":"code","b":[153,249,6],"m":"sta","oa":1785,"o":"f_06F9,y"},{"a":2509,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":2511,"t":"code","b":[153,33,7],"m":"sta","oa":1825,"o":"f_0721,y"},{"a":2514,"t":"code","b":[232],"m":"inx"},{"a":2515,"t":"code","b":[224,48],"m":"cpx","o":"#$30"},{"a":2517,"t":"code","b":[208,2],"m":"bne","oa":2521,"o":"b_09D9"},{"a":2519,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":2521,"l":"b_09D9","t":"code","b":[200],"m":"iny","x":[2517]},{"a":2522,"t":"code","b":[200],"m":"iny"},{"a":2523,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":2525,"t":"code","b":[208,218],"m":"bne","oa":2489,"o":"b_09B9"},{"a":2527,"t":"code","b":[96],"m":"rts"},{"a":2528,"l":"b_09E0","t":"code","b":[174,170,9],"m":"ldx","oa":2474,"o":"strip_character","x":[2482]},{"a":2531,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":2533,"l":"b_09E5","t":"code","b":[189,72,11],"m":"lda","oa":2888,"o":"name_alphabet,x","x":[2576]},{"a":2536,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":2538,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2539,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2540,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":2542,"t":"code","b":[153,248,6],"m":"sta","oa":1784,"o":"f_06F8,y"},{"a":2545,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":2547,"t":"code","b":[153,32,7],"m":"sta","oa":1824,"o":"f_0720,y"},{"a":2550,"t":"code","b":[232],"m":"inx"},{"a":2551,"t":"code","b":[224,48],"m":"cpx","o":"#$30"},{"a":2553,"t":"code","b":[208,2],"m":"bne","oa":2557,"o":"b_09FD"},{"a":2555,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":2557,"l":"b_09FD","t":"code","b":[189,72,11],"m":"lda","oa":2888,"o":"name_alphabet,x","x":[2553]},{"a":2560,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":2562,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2563,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2564,"t":"code","b":[153,249,6],"m":"sta","oa":1785,"o":"f_06F9,y"},{"a":2567,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":2569,"t":"code","b":[153,33,7],"m":"sta","oa":1825,"o":"f_0721,y"},{"a":2572,"t":"code","b":[200],"m":"iny"},{"a":2573,"t":"code","b":[200],"m":"iny"},{"a":2574,"t":"code","b":[192,40],"m":"cpy","o":"#$28"},{"a":2576,"t":"code","b":[208,211],"m":"bne","oa":2533,"o":"b_09E5"},{"a":2578,"t":"code","b":[96],"m":"rts"},{"a":2579,"l":"name_entry_input","c":"reads the joystick on control port 2 ($DC00) for the name-entry screen: left scrolls the alphabet strip one way ($0A37), right the other ($0A5A), fire takes the character under the pointer ($095E), and when none of the three is held it clears the one-press flag $095D. Called once a frame from band 0 of the attract interrupt.","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[2249]},{"a":2582,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":2584,"t":"code","b":[208,3],"m":"bne","oa":2589,"o":"b_0A1D"},{"a":2586,"t":"code","b":[76,55,10],"m":"jmp","oa":2615,"o":"strip_scroll_right"},{"a":2589,"l":"b_0A1D","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[2584]},{"a":2592,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":2594,"t":"code","b":[208,3],"m":"bne","oa":2599,"o":"b_0A27"},{"a":2596,"t":"code","b":[76,90,10],"m":"jmp","oa":2650,"o":"strip_scroll_left"},{"a":2599,"l":"b_0A27","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[2594]},{"a":2602,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":2604,"t":"code","b":[208,3],"m":"bne","oa":2609,"o":"b_0A31"},{"a":2606,"t":"code","b":[76,94,9],"m":"jmp","oa":2398,"o":"j_095E"},{"a":2609,"l":"b_0A31","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[2604]},{"a":2611,"t":"code","b":[141,93,9],"m":"sta","oa":2397,"o":"name_entry_busy"},{"a":2614,"t":"code","b":[96],"m":"rts"},{"a":2615,"l":"strip_scroll_right","c":"scrolls the name-entry alphabet strip one step right: adds 4 to the fine position, and when that reaches 8 puts it back to 0 and moves the strip back a half-character, wrapping at $5F, then redraws the strip","t":"code","b":[173,40,9],"m":"lda","oa":2344,"o":"strip_scroll","x":[2586]},{"a":2618,"t":"code","b":[24],"m":"clc"},{"a":2619,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":2621,"t":"code","b":[141,40,9],"m":"sta","oa":2344,"o":"strip_scroll"},{"a":2624,"t":"code","b":[201,8],"m":"cmp","o":"#$08"},{"a":2626,"t":"code","b":[240,1],"m":"beq","oa":2629,"o":"b_0A45"},{"a":2628,"t":"code","b":[96],"m":"rts"},{"a":2629,"l":"b_0A45","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[2626]},{"a":2631,"t":"code","b":[141,40,9],"m":"sta","oa":2344,"o":"strip_scroll"},{"a":2634,"t":"code","b":[174,169,9],"m":"ldx","oa":2473,"o":"strip_position"},{"a":2637,"t":"code","b":[202],"m":"dex"},{"a":2638,"t":"code","b":[224,255],"m":"cpx","o":"#$FF"},{"a":2640,"t":"code","b":[208,2],"m":"bne","oa":2644,"o":"b_0A54"},{"a":2642,"t":"code","b":[162,95],"m":"ldx","o":"#$5F"},{"a":2644,"l":"b_0A54","t":"code","b":[142,169,9],"m":"stx","oa":2473,"o":"strip_position","x":[2640]},{"a":2647,"t":"code","b":[76,171,9],"m":"jmp","oa":2475,"o":"draw_alphabet_strip"},{"a":2650,"l":"strip_scroll_left","c":"scrolls the name-entry alphabet strip one step left: takes 4 from the fine position, and when that underflows puts it back to 4 and moves the strip on a half-character, wrapping at $60, then redraws the strip","t":"code","b":[173,40,9],"m":"lda","oa":2344,"o":"strip_scroll","x":[2596]},{"a":2653,"t":"code","b":[56],"m":"sec"},{"a":2654,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":2656,"t":"code","b":[141,40,9],"m":"sta","oa":2344,"o":"strip_scroll"},{"a":2659,"t":"code","b":[144,1],"m":"bcc","oa":2662,"o":"b_0A66"},{"a":2661,"t":"code","b":[96],"m":"rts"},{"a":2662,"l":"b_0A66","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[2659]},{"a":2664,"t":"code","b":[141,40,9],"m":"sta","oa":2344,"o":"strip_scroll"},{"a":2667,"t":"code","b":[174,169,9],"m":"ldx","oa":2473,"o":"strip_position"},{"a":2670,"t":"code","b":[232],"m":"inx"},{"a":2671,"t":"code","b":[224,96],"m":"cpx","o":"#$60"},{"a":2673,"t":"code","b":[208,2],"m":"bne","oa":2677,"o":"b_0A75"},{"a":2675,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":2677,"l":"b_0A75","t":"code","b":[142,169,9],"m":"stx","oa":2473,"o":"strip_position","x":[2673]},{"a":2680,"t":"code","b":[76,171,9],"m":"jmp","oa":2475,"o":"draw_alphabet_strip"},{"a":2683,"l":"plot_code_tl","c":"the top-left cell's code, worked out by the plotter at $0A84","t":"byte","b":[0],"x":[2702,2749]},{"a":2684,"l":"plot_code_tr","c":"the top-right cell's code","t":"byte","b":[0],"x":[2710,2755]},{"a":2685,"l":"plot_code_bl","c":"the bottom-left cell's code","t":"byte","b":[0],"x":[2706,2762]},{"a":2686,"l":"plot_code_br","c":"the bottom-right cell's code","t":"byte","b":[0],"x":[2714,2768]},{"a":2687,"l":"plot_char","c":"the character the plotter at $0A84 is to draw, as a six-bit code (A is 1 and the digit 0 is $30). Most callers mask it with AND #$3F; the three at $139E, $13B9 and $13D4 store the ASCII letters as they are, which draws the same because the plotter's two left shifts drop bits 6 and 7.","t":"byte","b":[0],"x":[2390,2449,2696,3155,3196,3228,3273,4213,4250,4586,4617,4658,4689,4966,4995,5022,5049,5076,5322,5351,5380,5409,5438,6752,6912,6951,6980,7009,7038,7068,7086,7104,7122,7270,7341,7374,7400,7435,7534,7566,7633,7805,7834,7863,7895,7924,8081,8120,8159]},{"a":2688,"l":"plot_col","c":"the column the plotter writes at, 0 to 39, stepped on by 2 after each character","t":"byte","b":[0],"x":[2374,2439,2717,2800,2803,2806,2821,3116,3143,3167,3208,3244,4184,4225,4557,4598,4629,4670,4939,4978,5007,5034,5061,5305,5334,5363,5392,5421,6735,6885,6924,6963,6992,7021,7050,7076,7094,7112,7265,7336,7369,7395,7430,7507,7546,7616,7778,7817,7846,7878,7907,8054,8093,8132]},{"a":2689,"l":"plot_row","c":"the row the plotter writes at, stepped on by 2 when the column passes 39","t":"byte","b":[0],"x":[2379,2444,2726,2813,2816,3121,3140,3172,3213,3249,4189,4230,4562,4603,4634,4675,4944,4983,5012,5039,5066,5310,5339,5368,5397,5426,6740,6890,6929,6968,6997,7026,7055,7081,7099,7117,7260,7331,7364,7390,7425,7512,7551,7621,7783,7822,7851,7883,7912,8059,8098,8137]},{"a":2690,"l":"plot_colour_top","c":"the colour the plotter puts in both of the character's upper colour cells","t":"byte","b":[0],"x":[2782,3126,3177,3218,3254,4194,4235,4567,4639,4949,6725,6895,6934,7060,7517,7556,7788,8064,8103,8142]},{"a":2691,"l":"plot_colour_bottom","c":"the colour for both of its lower cells","t":"byte","b":[0],"x":[2792,3131,3182,3223,3259,4199,4240,4572,4644,4954,6730,6900,6939,7063,7522,7561,7793,8069,8108,8147]},{"a":2692,"l":"plot_char_2x2","c":"draws one character of the big alphabet, which is two cells wide and two high. Multiplies $0A7F by four for the four cell codes (top-left n, bottom-left n+1, top-right n+2, bottom-right n+3), builds the screen address $0400 + 40 * $0A81 + $0A80 by adding 40 a row at a time, writes the four codes, adds $D4 to the pointer's high byte to reach colour memory at $D800 and writes $0A82 to the upper pair and $0A83 to the lower, then steps the column on by two and the row by two when the column passes 39. 48 places call it.","t":"code","b":[138],"m":"txa","x":[2393,2452,3158,3199,3231,3276,4216,4253,4589,4620,4661,4692,4969,4998,5025,5052,5079,5325,5354,5383,5412,5441,6755,6915,6954,6983,7012,7041,7071,7089,7107,7125,7273,7344,7377,7403,7438,7537,7569,7636,7808,7837,7866,7898,7927,8084,8123,8162]},{"a":2693,"t":"code","b":[72],"m":"pha"},{"a":2694,"t":"code","b":[152],"m":"tya"},{"a":2695,"t":"code","b":[72],"m":"pha"},{"a":2696,"t":"code","b":[173,127,10],"m":"lda","oa":2687,"o":"plot_char"},{"a":2699,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2700,"t":"code","b":[10],"m":"asl","o":"a"},{"a":2701,"t":"code","b":[170],"m":"tax"},{"a":2702,"t":"code","b":[142,123,10],"m":"stx","oa":2683,"o":"plot_code_tl"},{"a":2705,"t":"code","b":[232],"m":"inx"},{"a":2706,"t":"code","b":[142,125,10],"m":"stx","oa":2685,"o":"plot_code_bl"},{"a":2709,"t":"code","b":[232],"m":"inx"},{"a":2710,"t":"code","b":[142,124,10],"m":"stx","oa":2684,"o":"plot_code_tr"},{"a":2713,"t":"code","b":[232],"m":"inx"},{"a":2714,"t":"code","b":[142,126,10],"m":"stx","oa":2686,"o":"plot_code_br"},{"a":2717,"t":"code","b":[173,128,10],"m":"lda","oa":2688,"o":"plot_col"},{"a":2720,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":2722,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":2724,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":2726,"t":"code","b":[172,129,10],"m":"ldy","oa":2689,"o":"plot_row"},{"a":2729,"l":"j_0AA9","t":"code","b":[152],"m":"tya","x":[2744]},{"a":2730,"t":"code","b":[240,15],"m":"beq","oa":2747,"o":"b_0ABB"},{"a":2732,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":2734,"t":"code","b":[24],"m":"clc"},{"a":2735,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":2737,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":2739,"t":"code","b":[144,2],"m":"bcc","oa":2743,"o":"b_0AB7"},{"a":2741,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":2743,"l":"b_0AB7","t":"code","b":[136],"m":"dey","x":[2739]},{"a":2744,"t":"code","b":[76,169,10],"m":"jmp","oa":2729,"o":"j_0AA9"},{"a":2747,"l":"b_0ABB","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[2730]},{"a":2749,"t":"code","b":[173,123,10],"m":"lda","oa":2683,"o":"plot_code_tl"},{"a":2752,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2754,"t":"code","b":[200],"m":"iny"},{"a":2755,"t":"code","b":[173,124,10],"m":"lda","oa":2684,"o":"plot_code_tr"},{"a":2758,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2760,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":2762,"t":"code","b":[173,125,10],"m":"lda","oa":2685,"o":"plot_code_bl"},{"a":2765,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2767,"t":"code","b":[200],"m":"iny"},{"a":2768,"t":"code","b":[173,126,10],"m":"lda","oa":2686,"o":"plot_code_br"},{"a":2771,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2773,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"pointer_hi"},{"a":2775,"t":"code","b":[24],"m":"clc"},{"a":2776,"t":"code","b":[105,212],"m":"adc","o":"#$D4"},{"a":2778,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":2780,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":2782,"t":"code","b":[173,130,10],"m":"lda","oa":2690,"o":"plot_colour_top"},{"a":2785,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2787,"t":"code","b":[200],"m":"iny"},{"a":2788,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2790,"t":"code","b":[160,40],"m":"ldy","o":"#$28"},{"a":2792,"t":"code","b":[173,131,10],"m":"lda","oa":2691,"o":"plot_colour_bottom"},{"a":2795,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2797,"t":"code","b":[200],"m":"iny"},{"a":2798,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":2800,"t":"code","b":[238,128,10],"m":"inc","oa":2688,"o":"plot_col"},{"a":2803,"t":"code","b":[238,128,10],"m":"inc","oa":2688,"o":"plot_col"},{"a":2806,"t":"code","b":[173,128,10],"m":"lda","oa":2688,"o":"plot_col"},{"a":2809,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":2811,"t":"code","b":[144,11],"m":"bcc","oa":2824,"o":"b_0B08"},{"a":2813,"t":"code","b":[238,129,10],"m":"inc","oa":2689,"o":"plot_row"},{"a":2816,"t":"code","b":[238,129,10],"m":"inc","oa":2689,"o":"plot_row"},{"a":2819,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":2821,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":2824,"l":"b_0B08","t":"code","b":[104],"m":"pla","x":[2811]},{"a":2825,"t":"code","b":[168],"m":"tay"},{"a":2826,"t":"code","b":[104],"m":"pla"},{"a":2827,"t":"code","b":[170],"m":"tax"},{"a":2828,"t":"code","b":[96],"m":"rts"},{"a":2829,"l":"str_well_done","c":"\"     WELL DONE      YOU ARE A REAL HERO \", ASCII ending $FF; drawn as two rows of twenty characters by $0C2A","t":"byte","b":[32,32,32,32,32,87,69,76],"x":[3146]},{"a":2837,"t":"byte","b":[76,32,68,79,78,69,32,32]},{"a":2845,"t":"byte","b":[32,32,32,32,89,79,85,32]},{"a":2853,"t":"byte","b":[65,82,69,32,65,32,82,69]},{"a":2861,"t":"byte","b":[65,76,32,72,69,82,79,32]},{"a":2869,"t":"byte","b":[255]},{"a":2870,"l":"str_enter_your_name","c":"\"  ENTER YOUR NAME\", ASCII ending $FF","t":"byte","b":[32,32,69,78,84,69,82,32],"x":[3187]},{"a":2878,"t":"byte","b":[89,79,85,82,32,78,65,77]},{"a":2886,"t":"byte","b":[69,255]},{"a":2888,"l":"name_alphabet","c":"the 48 characters the name-entry strip offers, ASCII: \"@ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789!\\\"#$%&'()_\". No end byte follows them: $09AB counts to 48 and wraps, so the strip is endless. The last, \"_\", is the rubout $0964 tests for.","t":"byte","b":[64,65,66,67,68,69,70,71],"x":[2489,2533,2557]},{"a":2896,"t":"byte","b":[72,73,74,75,76,77,78,79]},{"a":2904,"t":"byte","b":[80,81,82,83,84,85,86,87]},{"a":2912,"t":"byte","b":[88,89,90,32,48,49,50,51]},{"a":2920,"t":"byte","b":[52,53,54,55,56,57,33,34]},{"a":2928,"t":"byte","b":[35,36,37,38,39,40,41,95]},{"a":2936,"l":"str_name_field","c":"the name field drawn at row 23 by $0CBE: four spaces, \")\", ten full stops where the typed letters go, and \"(\", ASCII ending $FF","t":"byte","b":[32,32,32,32,41,46,46,46],"x":[3264]},{"a":2944,"t":"byte","b":[46,46,46,46,46,46,46,40]},{"a":2952,"t":"byte","b":[255]},{"a":2953,"l":"hiscore_check","c":"compares the score at $0819, digit by digit as ASCII, with each of the ten entries in the table at $0D51, twenty bytes apart. On the first entry the score beats, it goes to the name entry at $0BC1; on an equal digit it compares the next, and a score equal to an entry's does not beat it; otherwise it steps $0829 on by 20 and tries the next, and when that passes $C8 the score made no entry and it returns to the attract loop at $1014. Blanks the display and banks every ROM in on the way in.","t":"code","b":[120],"m":"sei","x":[2064]},{"a":2954,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":2956,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":2959,"t":"code","b":[169,55],"m":"lda","o":"#$37"},{"a":2961,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":2963,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":2965,"t":"code","b":[141,41,8],"m":"sta","oa":2089,"o":"hiscore_offset"},{"a":2968,"l":"b_0B98","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[3004]},{"a":2970,"l":"b_0B9A","t":"code","b":[152],"m":"tya","x":[2991]},{"a":2971,"t":"code","b":[24],"m":"clc"},{"a":2972,"t":"code","b":[109,41,8],"m":"adc","oa":2089,"o":"hiscore_offset"},{"a":2975,"t":"code","b":[170],"m":"tax"},{"a":2976,"t":"code","b":[189,80,13],"m":"lda","oa":3408,"o":"hiscore_first_name,x"},{"a":2979,"t":"code","b":[217,25,8],"m":"cmp","oa":2073,"o":"score_digits,y"},{"a":2982,"t":"code","b":[240,4],"m":"beq","oa":2988,"o":"b_0BAC"},{"a":2984,"t":"code","b":[16,7],"m":"bpl","oa":2993,"o":"b_0BB1"},{"a":2986,"t":"code","b":[48,21],"m":"bmi","oa":3009,"o":"name_entry_screen"},{"a":2988,"l":"b_0BAC","t":"code","b":[200],"m":"iny","x":[2982]},{"a":2989,"t":"code","b":[192,6],"m":"cpy","o":"#$06"},{"a":2991,"t":"code","b":[208,233],"m":"bne","oa":2970,"o":"b_0B9A"},{"a":2993,"l":"b_0BB1","t":"code","b":[173,41,8],"m":"lda","oa":2089,"o":"hiscore_offset","x":[2984]},{"a":2996,"t":"code","b":[24],"m":"clc"},{"a":2997,"t":"code","b":[105,20],"m":"adc","o":"#$14"},{"a":2999,"t":"code","b":[141,41,8],"m":"sta","oa":2089,"o":"hiscore_offset"},{"a":3002,"t":"code","b":[201,200],"m":"cmp","o":"#$C8"},{"a":3004,"t":"code","b":[144,218],"m":"bcc","oa":2968,"o":"b_0B98"},{"a":3006,"t":"code","b":[76,20,16],"m":"jmp","oa":4116,"o":"build_title_screen"},{"a":3009,"l":"name_entry_screen","c":"builds the name-entry screen. Takes $0D off $0829 to point at the entry the score beat, copies the colour memory of the plaque at the top from the tables at $EE00 and $EF00 with the KERNAL banked out, clears rows 9 to 24 with the big alphabet's space, sets the strip's position to $4F half-characters, which puts \"A\" under the pointer, colours rows 8, 19 and 20, and draws the strip and the text. The JSR at $0CD9 then installs the attract interrupt, and it waits for ten characters.","t":"code","b":[173,41,8],"m":"lda","oa":2089,"o":"hiscore_offset","x":[2986]},{"a":3012,"t":"code","b":[56],"m":"sec"},{"a":3013,"t":"code","b":[233,13],"m":"sbc","o":"#$0D"},{"a":3015,"t":"code","b":[141,41,8],"m":"sta","oa":2089,"o":"hiscore_offset"},{"a":3018,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":3020,"t":"code","b":[41,253],"m":"and","o":"#$FD"},{"a":3022,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":3024,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3026,"l":"b_0BD2","t":"code","b":[189,0,238],"m":"lda","oa":60928,"o":"plaque_colour_ram,x","x":[3042]},{"a":3029,"t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x"},{"a":3032,"t":"code","b":[189,0,239],"m":"lda","oa":61184,"o":"plaque_colour_ram_2,x"},{"a":3035,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":3038,"t":"code","b":[157,0,239],"m":"sta","oa":61184,"o":"plaque_colour_ram_2,x"},{"a":3041,"t":"code","b":[202],"m":"dex"},{"a":3042,"t":"code","b":[208,238],"m":"bne","oa":3026,"o":"b_0BD2"},{"a":3044,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":3046,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":3048,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":3050,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3052,"t":"code","b":[141,40,9],"m":"sta","oa":2344,"o":"strip_scroll"},{"a":3055,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":3058,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":3061,"t":"code","b":[169,79],"m":"lda","o":"#$4F"},{"a":3063,"t":"code","b":[141,169,9],"m":"sta","oa":2473,"o":"strip_position"},{"a":3066,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3068,"l":"b_0BFC","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[3077]},{"a":3070,"t":"code","b":[157,104,5],"m":"sta","oa":1384,"o":"f_0568,x"},{"a":3073,"t":"code","b":[157,104,6],"m":"sta","oa":1640,"o":"f_0668,x"},{"a":3076,"t":"code","b":[202],"m":"dex"},{"a":3077,"t":"code","b":[208,245],"m":"bne","oa":3068,"o":"b_0BFC"},{"a":3079,"t":"code","b":[162,104],"m":"ldx","o":"#$68"},{"a":3081,"l":"b_0C09","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[3089]},{"a":3083,"t":"code","b":[157,0,7],"m":"sta","oa":1792,"o":"f_0700,x"},{"a":3086,"t":"code","b":[232],"m":"inx"},{"a":3087,"t":"code","b":[224,232],"m":"cpx","o":"#$E8"},{"a":3089,"t":"code","b":[208,246],"m":"bne","oa":3081,"o":"b_0C09"},{"a":3091,"t":"code","b":[162,39],"m":"ldx","o":"#$27"},{"a":3093,"l":"b_0C15","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[3109]},{"a":3095,"t":"code","b":[157,64,217],"m":"sta","o":"$D940,x"},{"a":3098,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":3100,"t":"code","b":[157,248,218],"m":"sta","o":"$DAF8,x"},{"a":3103,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":3105,"t":"code","b":[157,32,219],"m":"sta","o":"$DB20,x"},{"a":3108,"t":"code","b":[202],"m":"dex"},{"a":3109,"t":"code","b":[16,238],"m":"bpl","oa":3093,"o":"b_0C15"},{"a":3111,"t":"code","b":[32,171,9],"m":"jsr","oa":2475,"o":"draw_alphabet_strip"},{"a":3114,"l":"draw_name_entry_text","c":"draws the text of the name-entry screen through the plotter at $0A84, run on into from the strip draw at $0C27 rather than called: \"WELL DONE / YOU ARE A REAL HERO\" from $0B0D at row 9, adding a row and a column after its first twenty characters so the second half starts at row 12, column 1; \"ENTER YOUR NAME\" from $0B36 at row 16; the pointer, character $1E, at row 21 column 19, whose lower half $0CA2 rubs out; and the name field from $0B78 at row 23. Each has its own pair of colours.","t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3116,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":3119,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":3121,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":3124,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":3126,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":3129,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":3131,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":3134,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3136,"l":"j_0C40","t":"code","b":[224,20],"m":"cpx","o":"#$14","x":[3162]},{"a":3138,"t":"code","b":[208,6],"m":"bne","oa":3146,"o":"b_0C4A"},{"a":3140,"t":"code","b":[238,129,10],"m":"inc","oa":2689,"o":"plot_row"},{"a":3143,"t":"code","b":[238,128,10],"m":"inc","oa":2688,"o":"plot_col"},{"a":3146,"l":"b_0C4A","t":"code","b":[189,13,11],"m":"lda","oa":2829,"o":"str_well_done,x","x":[3138]},{"a":3149,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":3151,"t":"code","b":[240,12],"m":"beq","oa":3165,"o":"b_0C5D"},{"a":3153,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":3155,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":3158,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":3161,"t":"code","b":[232],"m":"inx"},{"a":3162,"t":"code","b":[76,64,12],"m":"jmp","oa":3136,"o":"j_0C40"},{"a":3165,"l":"b_0C5D","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[3151]},{"a":3167,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":3170,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":3172,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":3175,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":3177,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":3180,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":3182,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":3185,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3187,"l":"j_0C73","t":"code","b":[189,54,11],"m":"lda","oa":2870,"o":"str_enter_your_name,x","x":[3203]},{"a":3190,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":3192,"t":"code","b":[240,12],"m":"beq","oa":3206,"o":"b_0C86"},{"a":3194,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":3196,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":3199,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":3202,"t":"code","b":[232],"m":"inx"},{"a":3203,"t":"code","b":[76,115,12],"m":"jmp","oa":3187,"o":"j_0C73"},{"a":3206,"l":"b_0C86","t":"code","b":[169,19],"m":"lda","o":"#$13","x":[3192]},{"a":3208,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":3211,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":3213,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":3216,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":3218,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":3221,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":3223,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":3226,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":3228,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":3231,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":3234,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":3236,"t":"code","b":[141,132,7],"m":"sta","oa":1924,"o":"a_0784"},{"a":3239,"t":"code","b":[141,131,7],"m":"sta","oa":1923,"o":"a_0783"},{"a":3242,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3244,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":3247,"t":"code","b":[169,23],"m":"lda","o":"#$17"},{"a":3249,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":3252,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":3254,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":3257,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":3259,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":3262,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3264,"l":"j_0CC0","t":"code","b":[189,120,11],"m":"lda","oa":2936,"o":"str_name_field,x","x":[3280]},{"a":3267,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":3269,"t":"code","b":[240,13],"m":"beq","oa":3284,"o":"name_entry_wait"},{"a":3271,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":3273,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":3276,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":3279,"t":"code","b":[232],"m":"inx"},{"a":3280,"t":"code","b":[76,192,12],"m":"jmp","oa":3264,"o":"j_0CC0"},{"a":3283,"l":"name_length","c":"how many characters of the name have been typed, 0 to 10; the name-entry screen waits for it to reach 10, and fire steps it","t":"byte","b":[0],"x":[2368,2416,2424,2433,2455,2463,3286,3292]},{"a":3284,"l":"name_entry_wait","c":"clears the count of characters typed and installs the attract interrupt, then waits for the name to be finished","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[3269]},{"a":3286,"t":"code","b":[141,211,12],"m":"sta","oa":3283,"o":"name_length"},{"a":3289,"t":"code","b":[32,58,8],"m":"jsr","oa":2106,"o":"install_attract_irq"},{"a":3292,"l":"wait_for_name","c":"spins until ten characters have been typed, with the attract interrupt doing the work: the strip, the cursor and the joystick are all handled by band 0","t":"code","b":[173,211,12],"m":"lda","oa":3283,"o":"name_length","x":[3297]},{"a":3295,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":3297,"t":"code","b":[208,249],"m":"bne","oa":3292,"o":"wait_for_name"},{"a":3299,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3301,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":3303,"l":"read_typed_name","c":"reads the ten typed characters back off the screen itself, from row 23 at $07A3 taking every other cell, shifts each right twice to undo the plotter's multiply by four, and leaves them in $081F","t":"code","b":[189,163,7],"m":"lda","oa":1955,"o":"f_07A3,x","x":[3316]},{"a":3306,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":3307,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":3308,"t":"code","b":[153,31,8],"m":"sta","oa":2079,"o":"hiscore_name_entry,y"},{"a":3311,"t":"code","b":[232],"m":"inx"},{"a":3312,"t":"code","b":[232],"m":"inx"},{"a":3313,"t":"code","b":[200],"m":"iny"},{"a":3314,"t":"code","b":[192,10],"m":"cpy","o":"#$0A"},{"a":3316,"t":"code","b":[208,241],"m":"bne","oa":3303,"o":"read_typed_name"},{"a":3318,"t":"code","b":[162,199],"m":"ldx","o":"#$C7"},{"a":3320,"l":"hiscore_insert","c":"makes room for the new entry by copying the table down twenty bytes, from the end back to the place the score beat, then fills the entry with spaces, the name from $081F and the score from $0819. The source address $0D3C is simply $0D50 less twenty; the bytes there are a delay loop, not a table.","t":"code","b":[189,60,13],"m":"lda","oa":3388,"o":"hiscore_delay,x","x":[3330]},{"a":3323,"t":"code","b":[157,80,13],"m":"sta","oa":3408,"o":"hiscore_first_name,x"},{"a":3326,"t":"code","b":[202],"m":"dex"},{"a":3327,"t":"code","b":[236,41,8],"m":"cpx","oa":2089,"o":"hiscore_offset"},{"a":3330,"t":"code","b":[208,244],"m":"bne","oa":3320,"o":"hiscore_insert"},{"a":3332,"t":"code","b":[174,41,8],"m":"ldx","oa":2089,"o":"hiscore_offset"},{"a":3335,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":3337,"l":"b_0D09","t":"code","b":[169,32],"m":"lda","o":"#$20","x":[3346]},{"a":3339,"t":"code","b":[157,80,13],"m":"sta","oa":3408,"o":"hiscore_first_name,x"},{"a":3342,"t":"code","b":[232],"m":"inx"},{"a":3343,"t":"code","b":[200],"m":"iny"},{"a":3344,"t":"code","b":[192,20],"m":"cpy","o":"#$14"},{"a":3346,"t":"code","b":[208,245],"m":"bne","oa":3337,"o":"b_0D09"},{"a":3348,"t":"code","b":[174,41,8],"m":"ldx","oa":2089,"o":"hiscore_offset"},{"a":3351,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":3353,"l":"b_0D19","t":"code","b":[185,31,8],"m":"lda","oa":2079,"o":"hiscore_name_entry,y","x":[3363]},{"a":3356,"t":"code","b":[157,81,13],"m":"sta","oa":3409,"o":"hiscore_table,x"},{"a":3359,"t":"code","b":[232],"m":"inx"},{"a":3360,"t":"code","b":[200],"m":"iny"},{"a":3361,"t":"code","b":[192,10],"m":"cpy","o":"#$0A"},{"a":3363,"t":"code","b":[208,244],"m":"bne","oa":3353,"o":"b_0D19"},{"a":3365,"t":"code","b":[174,41,8],"m":"ldx","oa":2089,"o":"hiscore_offset"},{"a":3368,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":3370,"l":"b_0D2A","t":"code","b":[185,25,8],"m":"lda","oa":2073,"o":"score_digits,y","x":[3380]},{"a":3373,"t":"code","b":[157,93,13],"m":"sta","oa":3421,"o":"hiscore_first_score,x"},{"a":3376,"t":"code","b":[232],"m":"inx"},{"a":3377,"t":"code","b":[200],"m":"iny"},{"a":3378,"t":"code","b":[192,6],"m":"cpy","o":"#$06"},{"a":3380,"t":"code","b":[208,244],"m":"bne","oa":3370,"o":"b_0D2A"},{"a":3382,"t":"code","b":[120],"m":"sei"},{"a":3383,"t":"code","b":[169,123],"m":"lda","o":"#$7B"},{"a":3385,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":3388,"l":"hiscore_delay","c":"a counted delay of 846,856 cycles, about 0.86 seconds, that holds a blank screen ($D011 = $7B, set just before) once the new entry is in the table, with the interrupts off since the SEI at $0D36, so no music plays; then the attract loop starts again at $1014. Three loops deep: X and Y count 255 each, and the innermost counts A down from 1, so it runs once a turn. The shift at $0CF8 reads these same bytes as its source, which is only how it addresses the table twenty bytes lower.","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[3320]},{"a":3390,"l":"b_0D3E","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[3403]},{"a":3392,"l":"b_0D40","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[3400]},{"a":3394,"l":"b_0D42","t":"code","b":[56],"m":"sec","x":[3397]},{"a":3395,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":3397,"t":"code","b":[208,251],"m":"bne","oa":3394,"o":"b_0D42"},{"a":3399,"t":"code","b":[136],"m":"dey"},{"a":3400,"t":"code","b":[208,246],"m":"bne","oa":3392,"o":"b_0D40"},{"a":3402,"t":"code","b":[202],"m":"dex"},{"a":3403,"t":"code","b":[208,241],"m":"bne","oa":3390,"o":"b_0D3E"},{"a":3405,"t":"code","b":[76,20,16],"m":"jmp","oa":4116,"o":"build_title_screen"},{"a":3408,"l":"hiscore_first_name","c":"the space before the first high score entry's name; the ten entries run from here, twenty bytes apart","t":"byte","b":[32],"x":[2976,3323,3339,4245]},{"a":3409,"l":"hiscore_table","c":"the high score table: ten entries of 20 bytes from $0D50, each a space, a ten-character name, two spaces, a six-digit score and a space. The shipped names are PANDORA and three spaces and the scores ASCII; a name typed in goes in as six-bit codes.","t":"byte","b":[80,65,78,68,79,82,65,32],"x":[3356]},{"a":3417,"t":"byte","b":[32,32,32,32]},{"a":3421,"l":"hiscore_first_score","c":"the first entry's score, six ASCII digits; every entry is twenty bytes, so the scores are twenty bytes apart","t":"byte","b":[48,49,48,48,48,48,32,32],"x":[3373]},{"a":3429,"t":"byte","b":[80,65,78,68,79,82,65,32]},{"a":3437,"t":"byte","b":[32,32,32,32,48,48,57,48]},{"a":3445,"t":"byte","b":[48,48,32,32,80,65,78,68]},{"a":3453,"t":"byte","b":[79,82,65,32,32,32,32,32]},{"a":3461,"t":"byte","b":[48,48,56,48,48,48,32,32]},{"a":3469,"t":"byte","b":[80,65,78,68,79,82,65,32]},{"a":3477,"t":"byte","b":[32,32,32,32,48,48,55,48]},{"a":3485,"l":"hiscore_entries_rest","c":"the rest of the ten high score entries, from inside the fourth entry's score; each entry is a space, a ten-character name, two spaces, a six-digit score and a space","t":"byte","b":[48,48,32,32,80,65,78,68]},{"a":3493,"t":"byte","b":[79,82,65,32,32,32,32,32]},{"a":3501,"t":"byte","b":[48,48,54,48,48,48,32,32]},{"a":3509,"t":"byte","b":[80,65,78,68,79,82,65,32]},{"a":3517,"t":"byte","b":[32,32,32,32,48,48,53,48]},{"a":3525,"t":"byte","b":[48,48,32,32,80,65,78,68]},{"a":3533,"t":"byte","b":[79,82,65,32,32,32,32,32]},{"a":3541,"t":"byte","b":[48,48,52,48,48,48,32,32]},{"a":3549,"t":"byte","b":[80,65,78,68,79,82,65,32]},{"a":3557,"t":"byte","b":[32,32,32,32,48,48,51,48]},{"a":3565,"t":"byte","b":[48,48,32,32,80,65,78,68]},{"a":3573,"t":"byte","b":[79,82,65,32,32,32,32,32]},{"a":3581,"t":"byte","b":[48,48,50,48,48,48,32,32]},{"a":3589,"t":"byte","b":[80,65,78,68,79,82,65,32]},{"a":3597,"t":"byte","b":[32,32,32,32,48,48,49,48]},{"a":3605,"t":"byte","b":[48,48,32,32]},{"a":3609,"l":"hiscore_heading_spaces","c":"nineteen spaces before the high score table's heading. No instruction reads them: the heading itself starts at $0E2C.","t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":3617,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":3625,"t":"byte","b":[32,32,32]},{"a":3628,"l":"str_todays_real_heroes","c":"the high score table's heading, \" TODAYS REAL HEROES\" with a space before it, ASCII ending $FF at $0E3F. $106C reads it from here.","t":"byte","b":[32,84,79,68,65,89,83,32],"x":[4204]},{"a":3636,"t":"byte","b":[82,69,65,76,32,72,69,82]},{"a":3644,"t":"byte","b":[79,69,83,255]},{"a":3648,"l":"install_title_irq","c":"installs the title screen's fade interrupt: blanks the display, black border and background, stops CIA 1's timer A, points $0314 at $0E6A, asks for line 0 and turns the raster interrupt on. Called from the title screen builder at $1024.","t":"code","b":[120],"m":"sei","x":[4132]},{"a":3649,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":3651,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":3654,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3656,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":3659,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":3662,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":3665,"t":"code","b":[169,106],"m":"lda","o":"#$6A"},{"a":3667,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":3670,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":3672,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":3675,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3677,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":3680,"t":"code","b":[173,26,208],"m":"lda","o":"vic_irq_enable"},{"a":3683,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":3685,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":3688,"t":"code","b":[88],"m":"cli"},{"a":3689,"t":"code","b":[96],"m":"rts"},{"a":3690,"l":"title_irq","c":"the title screen's raster interrupt: a fade worked by rewriting colour memory. $1012 says which phase it is in (0 fade in, 2 fade out, 3 hold, 1 and 4 idle), $1011 the step inside it, 0 to 9. Each step takes four colours from the tables at $0FE5, $0FEF, $0FF9 and $1003, puts them in $100D to $1010 and calls $0EF9 to paint the four bands of the screen with them. The fade in counts up to 10 and goes to the hold, the hold counts $1013 to 256 and starts the fade out, the fade out counts down to 0 and stops. It then calls the music at $1947 and ends through the KERNAL's handler at $EA31.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":3692,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":3695,"t":"code","b":[173,18,16],"m":"lda","oa":4114,"o":"fade_phase"},{"a":3698,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":3700,"t":"code","b":[240,60],"m":"beq","oa":3762,"o":"b_0EB2"},{"a":3702,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":3704,"t":"code","b":[240,59],"m":"beq","oa":3765,"o":"b_0EB5"},{"a":3706,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":3708,"t":"code","b":[240,104],"m":"beq","oa":3814,"o":"b_0EE6"},{"a":3710,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":3712,"t":"code","b":[240,48],"m":"beq","oa":3762,"o":"b_0EB2"},{"a":3714,"t":"code","b":[172,17,16],"m":"ldy","oa":4113,"o":"fade_step"},{"a":3717,"t":"code","b":[185,229,15],"m":"lda","oa":4069,"o":"fade_table_1,y"},{"a":3720,"t":"code","b":[141,13,16],"m":"sta","oa":4109,"o":"fade_colour_1"},{"a":3723,"t":"code","b":[185,239,15],"m":"lda","oa":4079,"o":"fade_table_2,y"},{"a":3726,"t":"code","b":[141,14,16],"m":"sta","oa":4110,"o":"fade_colour_2"},{"a":3729,"t":"code","b":[185,249,15],"m":"lda","oa":4089,"o":"fade_table_3,y"},{"a":3732,"t":"code","b":[141,15,16],"m":"sta","oa":4111,"o":"fade_colour_3"},{"a":3735,"t":"code","b":[185,3,16],"m":"lda","oa":4099,"o":"fade_table_4,y"},{"a":3738,"t":"code","b":[141,16,16],"m":"sta","oa":4112,"o":"fade_colour_4"},{"a":3741,"t":"code","b":[32,249,14],"m":"jsr","oa":3833,"o":"paint_four_bands"},{"a":3744,"t":"code","b":[174,17,16],"m":"ldx","oa":4113,"o":"fade_step"},{"a":3747,"t":"code","b":[232],"m":"inx"},{"a":3748,"t":"code","b":[224,10],"m":"cpx","o":"#$0A"},{"a":3750,"t":"code","b":[208,7],"m":"bne","oa":3759,"o":"b_0EAF"},{"a":3752,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":3754,"t":"code","b":[141,18,16],"m":"sta","oa":4114,"o":"fade_phase"},{"a":3757,"t":"code","b":[162,9],"m":"ldx","o":"#$09"},{"a":3759,"l":"b_0EAF","t":"code","b":[142,17,16],"m":"stx","oa":4113,"o":"fade_step","x":[3750]},{"a":3762,"l":"b_0EB2","t":"code","b":[76,243,14],"m":"jmp","oa":3827,"o":"j_0EF3","x":[3700,3712]},{"a":3765,"l":"b_0EB5","t":"code","b":[172,17,16],"m":"ldy","oa":4113,"o":"fade_step","x":[3704]},{"a":3768,"t":"code","b":[185,229,15],"m":"lda","oa":4069,"o":"fade_table_1,y"},{"a":3771,"t":"code","b":[141,13,16],"m":"sta","oa":4109,"o":"fade_colour_1"},{"a":3774,"t":"code","b":[185,239,15],"m":"lda","oa":4079,"o":"fade_table_2,y"},{"a":3777,"t":"code","b":[141,14,16],"m":"sta","oa":4110,"o":"fade_colour_2"},{"a":3780,"t":"code","b":[185,249,15],"m":"lda","oa":4089,"o":"fade_table_3,y"},{"a":3783,"t":"code","b":[141,15,16],"m":"sta","oa":4111,"o":"fade_colour_3"},{"a":3786,"t":"code","b":[185,3,16],"m":"lda","oa":4099,"o":"fade_table_4,y"},{"a":3789,"t":"code","b":[141,16,16],"m":"sta","oa":4112,"o":"fade_colour_4"},{"a":3792,"t":"code","b":[32,249,14],"m":"jsr","oa":3833,"o":"paint_four_bands"},{"a":3795,"t":"code","b":[174,17,16],"m":"ldx","oa":4113,"o":"fade_step"},{"a":3798,"t":"code","b":[202],"m":"dex"},{"a":3799,"t":"code","b":[16,7],"m":"bpl","oa":3808,"o":"b_0EE0"},{"a":3801,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3803,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":3805,"t":"code","b":[141,18,16],"m":"sta","oa":4114,"o":"fade_phase"},{"a":3808,"l":"b_0EE0","t":"code","b":[142,17,16],"m":"stx","oa":4113,"o":"fade_step","x":[3799]},{"a":3811,"t":"code","b":[76,243,14],"m":"jmp","oa":3827,"o":"j_0EF3"},{"a":3814,"l":"b_0EE6","t":"code","b":[238,19,16],"m":"inc","oa":4115,"o":"fade_hold","x":[3708]},{"a":3817,"t":"code","b":[173,19,16],"m":"lda","oa":4115,"o":"fade_hold"},{"a":3820,"t":"code","b":[208,5],"m":"bne","oa":3827,"o":"j_0EF3"},{"a":3822,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":3824,"t":"code","b":[141,18,16],"m":"sta","oa":4114,"o":"fade_phase"},{"a":3827,"l":"j_0EF3","t":"code","b":[32,71,25],"m":"jsr","oa":6471,"o":"music_driver","x":[3762,3811,3820]},{"a":3830,"t":"code","b":[76,49,234],"m":"jmp","oa":59953,"o":"j_EA31"},{"a":3833,"l":"paint_four_bands","c":"paints the four bands of the title screen with the four colours in $100D to $1010. The first two bands are one row each, rows 0 and 1 of colour memory, under the heading; the third is the ten odd rows 3 to 21 from $D878 and the fourth the ten even rows 4 to 22 from $D8A0, the upper and lower halves of the high score table's letters. Rows 2, 23 and 24 are never written. Called by both halves of the fade.","t":"code","b":[162,39],"m":"ldx","o":"#$27","x":[3741,3792]},{"a":3835,"l":"b_0EFB","t":"code","b":[173,13,16],"m":"lda","oa":4109,"o":"fade_colour_1","x":[3914]},{"a":3838,"t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x"},{"a":3841,"t":"code","b":[173,14,16],"m":"lda","oa":4110,"o":"fade_colour_2"},{"a":3844,"t":"code","b":[157,40,216],"m":"sta","o":"$D828,x"},{"a":3847,"t":"code","b":[173,15,16],"m":"lda","oa":4111,"o":"fade_colour_3"},{"a":3850,"t":"code","b":[157,120,216],"m":"sta","o":"$D878,x"},{"a":3853,"t":"code","b":[157,200,216],"m":"sta","o":"$D8C8,x"},{"a":3856,"t":"code","b":[157,24,217],"m":"sta","o":"$D918,x"},{"a":3859,"t":"code","b":[157,104,217],"m":"sta","o":"$D968,x"},{"a":3862,"t":"code","b":[157,184,217],"m":"sta","o":"$D9B8,x"},{"a":3865,"t":"code","b":[157,8,218],"m":"sta","o":"$DA08,x"},{"a":3868,"t":"code","b":[157,88,218],"m":"sta","o":"$DA58,x"},{"a":3871,"t":"code","b":[157,168,218],"m":"sta","o":"$DAA8,x"},{"a":3874,"t":"code","b":[157,248,218],"m":"sta","o":"$DAF8,x"},{"a":3877,"t":"code","b":[157,72,219],"m":"sta","o":"$DB48,x"},{"a":3880,"t":"code","b":[173,16,16],"m":"lda","oa":4112,"o":"fade_colour_4"},{"a":3883,"t":"code","b":[157,160,216],"m":"sta","o":"$D8A0,x"},{"a":3886,"t":"code","b":[157,240,216],"m":"sta","o":"$D8F0,x"},{"a":3889,"t":"code","b":[157,64,217],"m":"sta","o":"$D940,x"},{"a":3892,"t":"code","b":[157,144,217],"m":"sta","o":"$D990,x"},{"a":3895,"t":"code","b":[157,224,217],"m":"sta","o":"$D9E0,x"},{"a":3898,"t":"code","b":[157,48,218],"m":"sta","o":"$DA30,x"},{"a":3901,"t":"code","b":[157,128,218],"m":"sta","o":"$DA80,x"},{"a":3904,"t":"code","b":[157,208,218],"m":"sta","o":"$DAD0,x"},{"a":3907,"t":"code","b":[157,32,219],"m":"sta","o":"$DB20,x"},{"a":3910,"t":"code","b":[157,112,219],"m":"sta","o":"$DB70,x"},{"a":3913,"t":"code","b":[202],"m":"dex"},{"a":3914,"t":"code","b":[16,175],"m":"bpl","oa":3835,"o":"b_0EFB"},{"a":3916,"t":"code","b":[96],"m":"rts"},{"a":3917,"l":"install_plaque_irq","c":"installs the interrupt the credits, supplies and valuables screens run on. Banks every ROM in, blanks the display, copies the plaque's colour memory from $EE00 and $EF00 with the KERNAL banked out, stops CIA 1's timer A, clears the band flag $0F94, points $0314 at $0F95 and asks for line 0. Called from $11C8.","t":"code","b":[120],"m":"sei","x":[4552]},{"a":3918,"t":"code","b":[169,55],"m":"lda","o":"#$37"},{"a":3920,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":3922,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":3924,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":3927,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":3929,"t":"code","b":[41,253],"m":"and","o":"#$FD"},{"a":3931,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":3933,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":3935,"l":"b_0F5F","t":"code","b":[189,0,238],"m":"lda","oa":60928,"o":"plaque_colour_ram,x","x":[3948]},{"a":3938,"t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x"},{"a":3941,"t":"code","b":[189,0,239],"m":"lda","oa":61184,"o":"plaque_colour_ram_2,x"},{"a":3944,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":3947,"t":"code","b":[202],"m":"dex"},{"a":3948,"t":"code","b":[208,241],"m":"bne","oa":3935,"o":"b_0F5F"},{"a":3950,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":3952,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":3954,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":3956,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3958,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":3961,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":3963,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":3966,"t":"code","b":[169,149],"m":"lda","o":"#$95"},{"a":3968,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":3971,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":3973,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":3976,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3978,"t":"code","b":[141,148,15],"m":"sta","oa":3988,"o":"plaque_irq_band"},{"a":3981,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":3983,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":3986,"t":"code","b":[88],"m":"cli"},{"a":3987,"t":"code","b":[96],"m":"rts"},{"a":3988,"l":"plaque_irq_band","c":"which band the plaque screens' interrupt served last, flipped at the start of each one: after the flip 0 draws the picture at the top and 1 the text below it","t":"byte","b":[0],"x":[3978,3994,3999]},{"a":3989,"l":"plaque_irq","c":"the interrupt the credits, supplies and valuables screens run on, two bands flipped by $0F94. On the picture band it switches to the bitmap ($0FC0), asks for line $78 and plays the music at $1947, ending through the KERNAL's handler at $EA31; on the text band it switches back to text ($08D0), asks for line 0 and returns with RTI.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":3991,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":3994,"t":"code","b":[173,148,15],"m":"lda","oa":3988,"o":"plaque_irq_band"},{"a":3997,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":3999,"t":"code","b":[141,148,15],"m":"sta","oa":3988,"o":"plaque_irq_band"},{"a":4002,"t":"code","b":[208,14],"m":"bne","oa":4018,"o":"b_0FB2"},{"a":4004,"t":"code","b":[32,192,15],"m":"jsr","oa":4032,"o":"set_plaque_bitmap"},{"a":4007,"t":"code","b":[169,120],"m":"lda","o":"#$78"},{"a":4009,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":4012,"t":"code","b":[32,71,25],"m":"jsr","oa":6471,"o":"music_driver"},{"a":4015,"t":"code","b":[76,49,234],"m":"jmp","oa":59953,"o":"j_EA31"},{"a":4018,"l":"b_0FB2","t":"code","b":[32,208,8],"m":"jsr","oa":2256,"o":"set_text_screen","x":[4002]},{"a":4021,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4023,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":4026,"t":"code","b":[104],"m":"pla"},{"a":4027,"t":"code","b":[168],"m":"tay"},{"a":4028,"t":"code","b":[104],"m":"pla"},{"a":4029,"t":"code","b":[170],"m":"tax"},{"a":4030,"t":"code","b":[104],"m":"pla"},{"a":4031,"t":"code","b":[64],"m":"rti"},{"a":4032,"l":"set_plaque_bitmap","c":"switches the top of the screen to the multicolour bitmap of the stone plaque: bitmap mode, white background 0, video bank 3 and $D018 = $B8, so the bitmap is at $E000 and its colours at $EC00","t":"code","b":[169,59],"m":"lda","o":"#$3B","x":[4004]},{"a":4034,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":4037,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":4039,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":4042,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":4044,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":4047,"t":"code","b":[169,184],"m":"lda","o":"#$B8"},{"a":4049,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":4052,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":4055,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":4057,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":4060,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":4063,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":4065,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":4068,"t":"code","b":[96],"m":"rts"},{"a":4069,"l":"fade_table_1","c":"the first band's colour for each of the ten fade steps","t":"byte","b":[0,0,11,11,11,11,2,2],"x":[3717,3768]},{"a":4077,"t":"byte","b":[2,2]},{"a":4079,"l":"fade_table_2","c":"the second band's colour for each step","t":"byte","b":[0,0,11,11,11,11,12,12],"x":[3723,3774]},{"a":4087,"t":"byte","b":[10,10]},{"a":4089,"l":"fade_table_3","c":"the third band's colour for each step","t":"byte","b":[0,0,11,11,11,11,11,11],"x":[3729,3780]},{"a":4097,"t":"byte","b":[12,12]},{"a":4099,"l":"fade_table_4","c":"the fourth band's colour for each step","t":"byte","b":[0,0,11,11,12,12,15,15],"x":[3735,3786]},{"a":4107,"t":"byte","b":[1,1]},{"a":4109,"l":"fade_colour_1","c":"the colour the fade's current step gives the first band of the title screen","t":"byte","b":[0],"x":[3720,3771,3835]},{"a":4110,"l":"fade_colour_2","c":"the second band's colour for this step","t":"byte","b":[0],"x":[3726,3777,3841]},{"a":4111,"l":"fade_colour_3","c":"the third band's colour for this step","t":"byte","b":[0],"x":[3732,3783,3847]},{"a":4112,"l":"fade_colour_4","c":"the fourth band's colour for this step","t":"byte","b":[0],"x":[3738,3789,3880]},{"a":4113,"l":"fade_step","c":"which of the ten steps of the title screen's fade is showing, an index into the four colour tables at $0FE5","t":"byte","b":[0],"x":[3714,3744,3759,3765,3795,3808,4126]},{"a":4114,"l":"fade_phase","c":"which phase the title screen's fade is in: 0 fades in, 2 fades out, 3 holds the picture, 1 and 4 leave it alone","t":"byte","b":[0],"x":[3695,3754,3805,3824,4121,4268,4278]},{"a":4115,"l":"fade_hold","c":"counts the frames the finished title picture is held, from 0 round to 0 again, which is 256 frames, about five seconds on a PAL machine","t":"byte","b":[0],"x":[3814,3817,4129]},{"a":4116,"l":"build_title_screen","c":"builds the title screen. Starts the music at $18D6, holds the fade in an idle phase ($1012 = 1) while it builds, installs the fade interrupt at $0E40, selects video bank 0 with the screen at $0400 and the character set at $2800 in single-colour text, fills all four pages of the screen with the big alphabet's space, then draws the heading at $0E2C and the whole high score table at $0D50, two hundred characters, through the plotter at $0A84. Then it turns the display on and starts the fade in ($1012 = 0), and ends in the wait at $10AF.","t":"code","b":[32,214,24],"m":"jsr","oa":6358,"o":"music_init","x":[3006,3405]},{"a":4119,"l":"j_1017","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[5475]},{"a":4121,"t":"code","b":[141,18,16],"m":"sta","oa":4114,"o":"fade_phase"},{"a":4124,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4126,"t":"code","b":[141,17,16],"m":"sta","oa":4113,"o":"fade_step"},{"a":4129,"t":"code","b":[141,19,16],"m":"sta","oa":4115,"o":"fade_hold"},{"a":4132,"t":"code","b":[32,64,14],"m":"jsr","oa":3648,"o":"install_title_irq"},{"a":4135,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":4138,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":4140,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":4143,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":4146,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":4148,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":4150,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":4153,"t":"code","b":[169,26],"m":"lda","o":"#$1A"},{"a":4155,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":4158,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":4160,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":4163,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4165,"l":"b_1045","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[4180]},{"a":4167,"t":"code","b":[157,0,4],"m":"sta","oa":1024,"o":"f_0400,x"},{"a":4170,"t":"code","b":[157,0,5],"m":"sta","oa":1280,"o":"f_0500,x"},{"a":4173,"t":"code","b":[157,0,6],"m":"sta","oa":1536,"o":"f_0600,x"},{"a":4176,"t":"code","b":[157,0,7],"m":"sta","oa":1792,"o":"f_0700,x"},{"a":4179,"t":"code","b":[202],"m":"dex"},{"a":4180,"t":"code","b":[208,239],"m":"bne","oa":4165,"o":"b_1045"},{"a":4182,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4184,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4187,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4189,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4192,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4194,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":4197,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4199,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":4202,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4204,"l":"j_106C","t":"code","b":[189,44,14],"m":"lda","oa":3628,"o":"str_todays_real_heroes,x","x":[4220]},{"a":4207,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":4209,"t":"code","b":[240,12],"m":"beq","oa":4223,"o":"b_107F"},{"a":4211,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4213,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4216,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":4219,"t":"code","b":[232],"m":"inx"},{"a":4220,"t":"code","b":[76,108,16],"m":"jmp","oa":4204,"o":"j_106C"},{"a":4223,"l":"b_107F","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[4209]},{"a":4225,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4228,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":4230,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4233,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4235,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":4238,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4240,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":4243,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4245,"l":"b_1095","t":"code","b":[189,80,13],"m":"lda","oa":3408,"o":"hiscore_first_name,x","x":[4259]},{"a":4248,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4250,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4253,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":4256,"t":"code","b":[232],"m":"inx"},{"a":4257,"t":"code","b":[224,200],"m":"cpx","o":"#$C8"},{"a":4259,"t":"code","b":[208,240],"m":"bne","oa":4245,"o":"b_1095"},{"a":4261,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":4263,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":4266,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4268,"t":"code","b":[141,18,16],"m":"sta","oa":4114,"o":"fade_phase"},{"a":4271,"l":"wait_on_title","c":"waits on the title screen: fire on control port 2 leaves the attract screens for the game at $1566, which then shows the mission select, and when the fade reaches its last phase ($1012 = 4) the attract loop moves on to the credits screen at $11AB","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[4283]},{"a":4274,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":4276,"t":"code","b":[240,15],"m":"beq","oa":4293,"o":"b_10C5"},{"a":4278,"t":"code","b":[173,18,16],"m":"lda","oa":4114,"o":"fade_phase"},{"a":4281,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":4283,"t":"code","b":[208,242],"m":"bne","oa":4271,"o":"wait_on_title"},{"a":4285,"t":"code","b":[169,123],"m":"lda","o":"#$7B"},{"a":4287,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":4290,"t":"code","b":[76,171,17],"m":"jmp","oa":4523,"o":"build_credits_screen"},{"a":4293,"l":"b_10C5","t":"code","b":[76,102,21],"m":"jmp","oa":5478,"o":"mission_select_setup","x":[4276]},{"a":4296,"l":"str_programming_by","c":"\"  PROGRAMMING BY\", ASCII ending $FF","t":"byte","b":[32,32,80,82,79,71,82,65],"x":[4577]},{"a":4304,"t":"byte","b":[77,77,73,78,71,32,66,89]},{"a":4312,"t":"byte","b":[255]},{"a":4313,"l":"str_andrew_challis","c":"\"  ANDREW CHALLIS\", ASCII ending $FF","t":"byte","b":[32,32,65,78,68,82,69,87],"x":[4608]},{"a":4321,"t":"byte","b":[32,67,72,65,76,76,73,83]},{"a":4329,"t":"byte","b":[255]},{"a":4330,"l":"str_graphics_by","c":"\"    GRAPHICS BY\", ASCII ending $FF","t":"byte","b":[32,32,32,32,71,82,65,80],"x":[4649]},{"a":4338,"t":"byte","b":[72,73,67,83,32,66,89,255]},{"a":4346,"l":"str_robin_chapman","c":"\"   ROBIN CHAPMAN\", ASCII ending $FF","t":"byte","b":[32,32,32,82,79,66,73,78],"x":[4680]},{"a":4354,"t":"byte","b":[32,67,72,65,80,77,65,78]},{"a":4362,"t":"byte","b":[255]},{"a":4363,"l":"str_valuables_heading","c":"five spaces, drawn before \"VALUABLES\" so the heading sits centred","t":"byte","b":[32,32,32,32,32],"x":[4959]},{"a":4368,"l":"valuables_text","c":"the valuables screen's heading and its four items, ASCII, each ending $00","t":"byte","b":[86,65,76,85,65,66,76,69]},{"a":4376,"t":"byte","b":[83,0]},{"a":4378,"l":"str_painting","c":"\"PAINTING\", ASCII ending $00","t":"byte","b":[80,65,73,78,84,73,78,71],"x":[4988]},{"a":4386,"t":"byte","b":[0]},{"a":4387,"l":"str_vase","c":"\"VASE\", ASCII ending $00","t":"byte","b":[86,65,83,69,0],"x":[5017]},{"a":4392,"l":"str_pendant","c":"\"PENDANT\", ASCII ending $00","t":"byte","b":[80,69,78,68,65,78,84,0],"x":[5044]},{"a":4400,"l":"str_gemstones","c":"\"GEMSTONES\", ASCII ending $00","t":"byte","b":[71,69,77,83,84,79,78,69],"x":[5071]},{"a":4408,"t":"byte","b":[83,0]},{"a":4410,"l":"draw_icon_frames","c":"draws the four-cell-wide, thirteen-row block of character $E8 down the left of the supplies and valuables screens, which is the frame the four item pictures sit in, taking its colour from the byte at $8600. Walks the screen and colour memory together, adding 40 a row.","t":"code","b":[169,231],"m":"lda","o":"#$E7","x":[4785,5167]},{"a":4412,"t":"code","b":[141,83,17],"m":"sta","oa":4435,"o":"draw_icon_frames_screen"},{"a":4415,"t":"code","b":[141,89,17],"m":"sta","oa":4441,"o":"draw_icon_frames_colour"},{"a":4418,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":4420,"t":"code","b":[141,84,17],"m":"sta","oa":4436,"o":"draw_icon_frames_operand"},{"a":4423,"t":"code","b":[169,217],"m":"lda","o":"#$D9"},{"a":4425,"t":"code","b":[141,90,17],"m":"sta","oa":4442,"o":"draw_icon_frames_colour_hi"},{"a":4428,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4430,"l":"b_114E","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[4469]},{"a":4432,"l":"b_1150","t":"code","b":[169,232],"m":"lda","o":"#$E8","x":[4444]},{"a":4434,"t":"code","b":[153,230,5],"m":"sta","oa":1510,"o":"f_05E6,y"},{"a":4435,"t":"note","l":"draw_icon_frames_screen","c":"the low byte of the screen address the icon frame drawing writes, which $113A rewrites a row at a time","note":"inside the item at $1152","x":[4412,4446,4452]},{"a":4436,"t":"note","l":"draw_icon_frames_operand","c":"the high byte of the screen address the icon frame drawing writes, which $113A rewrites as it goes down the rows","note":"inside the item at $1152","x":[4420,4460]},{"a":4437,"t":"code","b":[173,0,134],"m":"lda","oa":34304,"o":"tile_colours"},{"a":4440,"t":"code","b":[153,230,217],"m":"sta","o":"$D9E6,y"},{"a":4441,"t":"note","l":"draw_icon_frames_colour","c":"the low byte of the colour address the icon frame drawing writes","note":"inside the item at $1158","x":[4415,4455]},{"a":4442,"t":"note","l":"draw_icon_frames_colour_hi","c":"the high byte of the colour-memory address the icon frame drawing writes. $113A stores $D9 here at $1149 and steps it on at $116F when the row's low byte carries.","note":"inside the item at $1158","x":[4425,4463]},{"a":4443,"t":"code","b":[136],"m":"dey"},{"a":4444,"t":"code","b":[16,242],"m":"bpl","oa":4432,"o":"b_1150"},{"a":4446,"t":"code","b":[173,83,17],"m":"lda","oa":4435,"o":"draw_icon_frames_screen"},{"a":4449,"t":"code","b":[24],"m":"clc"},{"a":4450,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":4452,"t":"code","b":[141,83,17],"m":"sta","oa":4435,"o":"draw_icon_frames_screen"},{"a":4455,"t":"code","b":[141,89,17],"m":"sta","oa":4441,"o":"draw_icon_frames_colour"},{"a":4458,"t":"code","b":[144,6],"m":"bcc","oa":4466,"o":"b_1172"},{"a":4460,"t":"code","b":[238,84,17],"m":"inc","oa":4436,"o":"draw_icon_frames_operand"},{"a":4463,"t":"code","b":[238,90,17],"m":"inc","oa":4442,"o":"draw_icon_frames_colour_hi"},{"a":4466,"l":"b_1172","t":"code","b":[232],"m":"inx","x":[4458]},{"a":4467,"t":"code","b":[224,13],"m":"cpx","o":"#$0D"},{"a":4469,"t":"code","b":[208,215],"m":"bne","oa":4430,"o":"b_114E"},{"a":4471,"l":"r_1177","c":"the RTS that ends the icon frame drawing at $113A. The supplies screen's heading and its four items, ASCII, each ending $00, begin at the next byte, $1178.","t":"code","b":[96],"m":"rts"},{"a":4472,"l":"str_supplies_heading","c":"\" SUPPLIES \", ASCII ending $00","t":"byte","b":[32,83,85,80,80,76,73,69],"x":[5315]},{"a":4480,"t":"byte","b":[83,32,0]},{"a":4483,"l":"str_cold_food","c":"\"COLD FOOD\", ASCII ending $00","t":"byte","b":[67,79,76,68,32,70,79,79],"x":[5344]},{"a":4491,"t":"byte","b":[68,0]},{"a":4493,"l":"str_door_key","c":"\"DOOR KEY\", ASCII ending $00","t":"byte","b":[68,79,79,82,32,75,69,89],"x":[5373]},{"a":4501,"t":"byte","b":[0]},{"a":4502,"l":"str_ammunition","c":"\"AMMUNITION\", ASCII ending $00","t":"byte","b":[65,77,77,85,78,73,84,73],"x":[5402]},{"a":4510,"t":"byte","b":[79,78,0]},{"a":4513,"l":"str_first_aid","c":"\"FIRST AID\", ASCII ending $00","t":"byte","b":[70,73,82,83,84,32,65,73],"x":[5431]},{"a":4521,"t":"byte","b":[68,0]},{"a":4523,"l":"build_credits_screen","c":"builds the credits screen: fills the screen with the big alphabet's space, sets $D022 and $D023 to $0B and $0C, the two extra colours of the multicolour text the interrupt shows below the plaque, installs the plaque interrupt at $0F4D, and draws the four credit lines from $10C8, $10D9, $10EA and $10FA.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[4290]},{"a":4525,"l":"b_11AD","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[4540]},{"a":4527,"t":"code","b":[157,0,4],"m":"sta","oa":1024,"o":"f_0400,x"},{"a":4530,"t":"code","b":[157,0,5],"m":"sta","oa":1280,"o":"f_0500,x"},{"a":4533,"t":"code","b":[157,0,6],"m":"sta","oa":1536,"o":"f_0600,x"},{"a":4536,"t":"code","b":[157,0,7],"m":"sta","oa":1792,"o":"f_0700,x"},{"a":4539,"t":"code","b":[202],"m":"dex"},{"a":4540,"t":"code","b":[208,239],"m":"bne","oa":4525,"o":"b_11AD"},{"a":4542,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":4544,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":4547,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":4549,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":4552,"t":"code","b":[32,77,15],"m":"jsr","oa":3917,"o":"install_plaque_irq"},{"a":4555,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":4557,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4560,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":4562,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4565,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":4567,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":4570,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":4572,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":4575,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4577,"l":"j_11E1","t":"code","b":[189,200,16],"m":"lda","oa":4296,"o":"str_programming_by,x","x":[4593]},{"a":4580,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":4582,"t":"code","b":[240,12],"m":"beq","oa":4596,"o":"b_11F4"},{"a":4584,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4586,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4589,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":4592,"t":"code","b":[232],"m":"inx"},{"a":4593,"t":"code","b":[76,225,17],"m":"jmp","oa":4577,"o":"j_11E1"},{"a":4596,"l":"b_11F4","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[4582]},{"a":4598,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4601,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":4603,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4606,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4608,"l":"j_1200","t":"code","b":[189,217,16],"m":"lda","oa":4313,"o":"str_andrew_challis,x","x":[4624]},{"a":4611,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":4613,"t":"code","b":[240,12],"m":"beq","oa":4627,"o":"b_1213"},{"a":4615,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4617,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4620,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":4623,"t":"code","b":[232],"m":"inx"},{"a":4624,"t":"code","b":[76,0,18],"m":"jmp","oa":4608,"o":"j_1200"},{"a":4627,"l":"b_1213","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[4613]},{"a":4629,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4632,"t":"code","b":[169,18],"m":"lda","o":"#$12"},{"a":4634,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4637,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":4639,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":4642,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":4644,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":4647,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4649,"l":"j_1229","t":"code","b":[189,234,16],"m":"lda","oa":4330,"o":"str_graphics_by,x","x":[4665]},{"a":4652,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":4654,"t":"code","b":[240,12],"m":"beq","oa":4668,"o":"b_123C"},{"a":4656,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4658,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4660,"t":"note","l":"false_symbol_1234","c":"not a symbol at all. The room drawer at $47F1 rewrites its own operands, and the bytes it was assembled with point here, so the disassembler made a symbol out of an address the code never means. These bytes are part of the credits screen's drawing.","note":"inside the item at $1232","x":[18452,18455,18461]},{"a":4661,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":4664,"t":"code","b":[232],"m":"inx"},{"a":4665,"t":"code","b":[76,41,18],"m":"jmp","oa":4649,"o":"j_1229"},{"a":4668,"l":"b_123C","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[4654]},{"a":4670,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4673,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":4675,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4678,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4680,"l":"j_1248","t":"code","b":[189,250,16],"m":"lda","oa":4346,"o":"str_robin_chapman,x","x":[4696]},{"a":4683,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":4685,"t":"code","b":[240,15],"m":"beq","oa":4702,"o":"wait_on_credits"},{"a":4687,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4689,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4692,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":4695,"t":"code","b":[232],"m":"inx"},{"a":4696,"t":"code","b":[76,72,18],"m":"jmp","oa":4680,"o":"j_1248"},{"a":4699,"l":"b_125B","t":"code","b":[76,102,21],"m":"jmp","oa":5478,"o":"mission_select_setup","x":[4718]},{"a":4702,"l":"wait_on_credits","c":"holds the credits screen for about three seconds, polling fire on control port 2 all the way through so a press leaves the attract screens for the game at $1566, which then shows the mission select. When nothing is pressed it builds the valuables screen.","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[4685]},{"a":4704,"l":"b_1260","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[4724]},{"a":4706,"l":"b_1262","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[4721]},{"a":4708,"l":"b_1264","t":"code","b":[56],"m":"sec","x":[4711]},{"a":4709,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":4711,"t":"code","b":[208,251],"m":"bne","oa":4708,"o":"b_1264"},{"a":4713,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":4716,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":4718,"t":"code","b":[240,235],"m":"beq","oa":4699,"o":"b_125B"},{"a":4720,"t":"code","b":[136],"m":"dey"},{"a":4721,"t":"code","b":[208,239],"m":"bne","oa":4706,"o":"b_1262"},{"a":4723,"t":"code","b":[202],"m":"dex"},{"a":4724,"t":"code","b":[208,234],"m":"bne","oa":4704,"o":"b_1260"},{"a":4726,"l":"copy_valuable_icons","c":"copies the frame cells and the pictures of the four valuables out of the play screen's character set at $2000 into the top twenty-four codes of the attract screen's set: eight cells from $2000 to $2F40 (codes $E8 to $EF, the frame), then four cells each from $20A0, $20C0, $2140 and $2330 to $2F80, $2FA0, $2FC0 and $2FE0 (codes $F0 to $FF). So the icons beside PAINTING, VASE and PENDANT are the very tiles the player picks up in the castle ($14, $18 and $28), and the one beside GEMSTONES is the chest holding jewels, tiles $66 to $69. Nothing jumps here: the credits wait at $125E runs on into it.","t":"code","b":[162,63],"m":"ldx","o":"#$3F"},{"a":4728,"l":"b_1278","t":"code","b":[189,0,32],"m":"lda","oa":8192,"o":"tiles_charset,x","x":[4735]},{"a":4731,"t":"code","b":[157,64,47],"m":"sta","oa":12096,"o":"borrowed_icon_frames,x"},{"a":4734,"t":"code","b":[202],"m":"dex"},{"a":4735,"t":"code","b":[16,247],"m":"bpl","oa":4728,"o":"b_1278"},{"a":4737,"t":"code","b":[162,31],"m":"ldx","o":"#$1F"},{"a":4739,"l":"b_1283","t":"code","b":[189,160,32],"m":"lda","oa":8352,"o":"tile_painting,x","x":[4764]},{"a":4742,"t":"code","b":[157,128,47],"m":"sta","oa":12160,"o":"borrowed_icon_1,x"},{"a":4745,"t":"code","b":[189,192,32],"m":"lda","oa":8384,"o":"tile_vase,x"},{"a":4748,"t":"code","b":[157,160,47],"m":"sta","oa":12192,"o":"borrowed_icon_2,x"},{"a":4751,"t":"code","b":[189,64,33],"m":"lda","oa":8512,"o":"tiles_charset_1c,x"},{"a":4754,"t":"code","b":[157,192,47],"m":"sta","oa":12224,"o":"borrowed_icon_3,x"},{"a":4757,"t":"code","b":[189,48,35],"m":"lda","oa":9008,"o":"tiles_charset_1d,x"},{"a":4760,"t":"code","b":[157,224,47],"m":"sta","oa":12256,"o":"borrowed_icon_4,x"},{"a":4763,"t":"code","b":[202],"m":"dex"},{"a":4764,"t":"code","b":[16,229],"m":"bpl","oa":4739,"o":"b_1283"},{"a":4766,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4768,"l":"build_valuables_screen","c":"builds the valuables screen: clears it to the big alphabet's space, draws the icon frames at $113A, puts the four icons' cell codes in place, and then draws the heading and the four names through the plotter","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[4783]},{"a":4770,"t":"code","b":[157,0,4],"m":"sta","oa":1024,"o":"f_0400,x"},{"a":4773,"t":"code","b":[157,0,5],"m":"sta","oa":1280,"o":"f_0500,x"},{"a":4776,"t":"code","b":[157,0,6],"m":"sta","oa":1536,"o":"f_0600,x"},{"a":4779,"t":"code","b":[157,0,7],"m":"sta","oa":1792,"o":"f_0700,x"},{"a":4782,"t":"code","b":[202],"m":"dex"},{"a":4783,"t":"code","b":[208,239],"m":"bne","oa":4768,"o":"build_valuables_screen"},{"a":4785,"t":"code","b":[32,58,17],"m":"jsr","oa":4410,"o":"draw_icon_frames"},{"a":4788,"l":"place_valuable_icons","c":"puts the cell codes of the four valuables' pictures on the valuables screen, two by two, and takes each one's colour from the tile colour table at $8600, the same table the castle's rooms are coloured from. Nothing jumps here: the routine runs on into it from the JSR $113A at $12B1.","t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":4790,"t":"code","b":[141,16,6],"m":"sta","oa":1552,"o":"a_0610"},{"a":4793,"t":"code","b":[169,241],"m":"lda","o":"#$F1"},{"a":4795,"t":"code","b":[141,17,6],"m":"sta","oa":1553,"o":"a_0611"},{"a":4798,"t":"code","b":[169,242],"m":"lda","o":"#$F2"},{"a":4800,"t":"code","b":[141,56,6],"m":"sta","oa":1592,"o":"a_0638"},{"a":4803,"t":"code","b":[169,243],"m":"lda","o":"#$F3"},{"a":4805,"t":"code","b":[141,57,6],"m":"sta","oa":1593,"o":"a_0639"},{"a":4808,"t":"code","b":[173,20,134],"m":"lda","oa":34324,"o":"tile_colours_painting"},{"a":4811,"t":"code","b":[141,16,218],"m":"sta","o":"$DA10"},{"a":4814,"t":"code","b":[141,17,218],"m":"sta","o":"$DA11"},{"a":4817,"t":"code","b":[141,56,218],"m":"sta","o":"$DA38"},{"a":4820,"t":"code","b":[141,57,218],"m":"sta","o":"$DA39"},{"a":4823,"t":"code","b":[169,244],"m":"lda","o":"#$F4"},{"a":4825,"t":"code","b":[141,136,6],"m":"sta","oa":1672,"o":"a_0688"},{"a":4828,"t":"code","b":[169,247],"m":"lda","o":"#$F7"},{"a":4830,"t":"code","b":[141,137,6],"m":"sta","oa":1673,"o":"a_0689"},{"a":4833,"t":"code","b":[169,245],"m":"lda","o":"#$F5"},{"a":4835,"t":"code","b":[141,176,6],"m":"sta","oa":1712,"o":"a_06B0"},{"a":4838,"t":"code","b":[169,246],"m":"lda","o":"#$F6"},{"a":4840,"t":"code","b":[141,177,6],"m":"sta","oa":1713,"o":"a_06B1"},{"a":4843,"t":"code","b":[173,24,134],"m":"lda","oa":34328,"o":"tile_colours_vase_a"},{"a":4846,"t":"code","b":[141,136,218],"m":"sta","o":"$DA88"},{"a":4849,"t":"code","b":[173,27,134],"m":"lda","oa":34331,"o":"tile_colours_vase_d"},{"a":4852,"t":"code","b":[141,137,218],"m":"sta","o":"$DA89"},{"a":4855,"t":"code","b":[173,25,134],"m":"lda","oa":34329,"o":"tile_colours_vase_b"},{"a":4858,"t":"code","b":[141,176,218],"m":"sta","o":"$DAB0"},{"a":4861,"t":"code","b":[173,26,134],"m":"lda","oa":34330,"o":"tile_colours_vase_c"},{"a":4864,"t":"code","b":[141,177,218],"m":"sta","o":"$DAB1"},{"a":4867,"t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":4869,"t":"code","b":[141,0,7],"m":"sta","oa":1792,"o":"f_0700"},{"a":4872,"t":"code","b":[169,249],"m":"lda","o":"#$F9"},{"a":4874,"t":"code","b":[141,1,7],"m":"sta","oa":1793,"o":"a_0701"},{"a":4877,"t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":4879,"t":"code","b":[141,40,7],"m":"sta","oa":1832,"o":"a_0728"},{"a":4882,"t":"code","b":[169,251],"m":"lda","o":"#$FB"},{"a":4884,"t":"code","b":[141,41,7],"m":"sta","oa":1833,"o":"a_0729"},{"a":4887,"t":"code","b":[173,40,134],"m":"lda","oa":34344,"o":"tile_colours_icon_byte"},{"a":4890,"t":"code","b":[141,0,219],"m":"sta","o":"$DB00"},{"a":4893,"t":"code","b":[141,1,219],"m":"sta","o":"$DB01"},{"a":4896,"t":"code","b":[141,40,219],"m":"sta","o":"$DB28"},{"a":4899,"t":"code","b":[141,41,219],"m":"sta","o":"$DB29"},{"a":4902,"t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":4904,"t":"code","b":[141,120,7],"m":"sta","oa":1912,"o":"a_0778"},{"a":4907,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":4909,"t":"code","b":[141,121,7],"m":"sta","oa":1913,"o":"a_0779"},{"a":4912,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":4914,"t":"code","b":[141,160,7],"m":"sta","oa":1952,"o":"a_07A0"},{"a":4917,"t":"code","b":[169,253],"m":"lda","o":"#$FD"},{"a":4919,"t":"code","b":[141,161,7],"m":"sta","oa":1953,"o":"a_07A1"},{"a":4922,"t":"code","b":[173,102,134],"m":"lda","oa":34406,"o":"tile_colours_more"},{"a":4925,"t":"code","b":[141,120,219],"m":"sta","o":"$DB78"},{"a":4928,"t":"code","b":[141,121,219],"m":"sta","o":"$DB79"},{"a":4931,"t":"code","b":[141,160,219],"m":"sta","o":"$DBA0"},{"a":4934,"t":"code","b":[141,161,219],"m":"sta","o":"$DBA1"},{"a":4937,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":4939,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4942,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":4944,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4947,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":4949,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":4952,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":4954,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":4957,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4959,"l":"draw_valuables_text","c":"draws the valuables screen's heading and the four names, PAINTING, VASE, PENDANT and GEMSTONES, each from its own string and at its own row, through the plotter at $0A84","t":"code","b":[189,11,17],"m":"lda","oa":4363,"o":"str_valuables_heading,x","x":[4973]},{"a":4962,"t":"code","b":[240,12],"m":"beq","oa":4976,"o":"b_1370"},{"a":4964,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4966,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4969,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":4972,"t":"code","b":[232],"m":"inx"},{"a":4973,"t":"code","b":[76,95,19],"m":"jmp","oa":4959,"o":"draw_valuables_text"},{"a":4976,"l":"b_1370","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[4962]},{"a":4978,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":4981,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":4983,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":4986,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":4988,"l":"j_137C","t":"code","b":[189,26,17],"m":"lda","oa":4378,"o":"str_painting,x","x":[5002]},{"a":4991,"t":"code","b":[240,12],"m":"beq","oa":5005,"o":"b_138D"},{"a":4993,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":4995,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":4998,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5001,"t":"code","b":[232],"m":"inx"},{"a":5002,"t":"code","b":[76,124,19],"m":"jmp","oa":4988,"o":"j_137C"},{"a":5005,"l":"b_138D","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[4991]},{"a":5007,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5010,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":5012,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5015,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5017,"l":"j_1399","t":"code","b":[189,35,17],"m":"lda","oa":4387,"o":"str_vase,x","x":[5029]},{"a":5020,"t":"code","b":[240,10],"m":"beq","oa":5032,"o":"b_13A8"},{"a":5022,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5025,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5028,"t":"code","b":[232],"m":"inx"},{"a":5029,"t":"code","b":[76,153,19],"m":"jmp","oa":5017,"o":"j_1399"},{"a":5032,"l":"b_13A8","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[5020]},{"a":5034,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5037,"t":"code","b":[169,19],"m":"lda","o":"#$13"},{"a":5039,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5042,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5044,"l":"j_13B4","t":"code","b":[189,40,17],"m":"lda","oa":4392,"o":"str_pendant,x","x":[5056]},{"a":5047,"t":"code","b":[240,10],"m":"beq","oa":5059,"o":"b_13C3"},{"a":5049,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5052,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5055,"t":"code","b":[232],"m":"inx"},{"a":5056,"t":"code","b":[76,180,19],"m":"jmp","oa":5044,"o":"j_13B4"},{"a":5059,"l":"b_13C3","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[5047]},{"a":5061,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5064,"t":"code","b":[169,22],"m":"lda","o":"#$16"},{"a":5066,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5069,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5071,"l":"j_13CF","t":"code","b":[189,48,17],"m":"lda","oa":4400,"o":"str_gemstones,x","x":[5083]},{"a":5074,"t":"code","b":[240,13],"m":"beq","oa":5089,"o":"wait_on_valuables"},{"a":5076,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5079,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5082,"t":"code","b":[232],"m":"inx"},{"a":5083,"t":"code","b":[76,207,19],"m":"jmp","oa":5071,"o":"j_13CF"},{"a":5086,"l":"b_13DE","t":"code","b":[76,102,21],"m":"jmp","oa":5478,"o":"mission_select_setup","x":[5105]},{"a":5089,"l":"wait_on_valuables","c":"holds the valuables screen for about three seconds, polling fire all the way through so a press leaves the attract screens for the game at $1566, which then shows the mission select, then builds the supplies screen. The GEMSTONES loop branches here ($13D2) when its string ends.","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[5074]},{"a":5091,"l":"b_13E3","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[5111]},{"a":5093,"l":"b_13E5","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[5108]},{"a":5095,"l":"b_13E7","t":"code","b":[56],"m":"sec","x":[5098]},{"a":5096,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":5098,"t":"code","b":[208,251],"m":"bne","oa":5095,"o":"b_13E7"},{"a":5100,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":5103,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":5105,"t":"code","b":[240,235],"m":"beq","oa":5086,"o":"b_13DE"},{"a":5107,"t":"code","b":[136],"m":"dey"},{"a":5108,"t":"code","b":[208,239],"m":"bne","oa":5093,"o":"b_13E5"},{"a":5110,"t":"code","b":[202],"m":"dex"},{"a":5111,"t":"code","b":[208,234],"m":"bne","oa":5091,"o":"b_13E3"},{"a":5113,"l":"copy_supply_icons","c":"copies the pictures of the four supplies out of the play screen's character set at $2000 into the top codes of the attract screen's set: cold food, tiles $1C to $1F, from $20E0 to codes $F0 to $F3; the door key, $10 and $11, from $2080 to $F4 and $F5; the ammunition, $12 and $13, from $2090 to $F8 and $F9; first aid, $20 to $23, from $2100 to $FC to $FF. So the icons beside COLD FOOD, DOOR KEY, AMMUNITION and FIRST AID are the tiles the player picks up. It also copies tile $00 from $2000 into codes $F6, $F7, $FA and $FB, which the supplies screen does not place. Nothing jumps here: the valuables wait runs on into it.","t":"code","b":[162,31],"m":"ldx","o":"#$1F"},{"a":5115,"l":"b_13FB","t":"code","b":[189,224,32],"m":"lda","oa":8416,"o":"tile_cold_food,x","x":[5128]},{"a":5118,"t":"code","b":[157,128,47],"m":"sta","oa":12160,"o":"borrowed_icon_1,x"},{"a":5121,"t":"code","b":[189,0,33],"m":"lda","oa":8448,"o":"tiles_charset_1b,x"},{"a":5124,"t":"code","b":[157,224,47],"m":"sta","oa":12256,"o":"borrowed_icon_4,x"},{"a":5127,"t":"code","b":[202],"m":"dex"},{"a":5128,"t":"code","b":[16,241],"m":"bpl","oa":5115,"o":"b_13FB"},{"a":5130,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":5132,"l":"b_140C","t":"code","b":[189,128,32],"m":"lda","oa":8320,"o":"tile_door_key,x","x":[5145]},{"a":5135,"t":"code","b":[157,160,47],"m":"sta","oa":12192,"o":"borrowed_icon_2,x"},{"a":5138,"t":"code","b":[189,144,32],"m":"lda","oa":8336,"o":"tile_ammo,x"},{"a":5141,"t":"code","b":[157,192,47],"m":"sta","oa":12224,"o":"borrowed_icon_3,x"},{"a":5144,"t":"code","b":[202],"m":"dex"},{"a":5145,"t":"code","b":[16,241],"m":"bpl","oa":5132,"o":"b_140C"},{"a":5147,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":5149,"l":"b_141D","t":"code","b":[189,0,32],"m":"lda","oa":8192,"o":"tiles_charset,x","x":[5165]},{"a":5152,"t":"code","b":[157,176,47],"m":"sta","oa":12208,"o":"borrowed_icon_5,x"},{"a":5155,"t":"code","b":[157,184,47],"m":"sta","oa":12216,"o":"borrowed_icon_6,x"},{"a":5158,"t":"code","b":[157,208,47],"m":"sta","oa":12240,"o":"borrowed_icon_7,x"},{"a":5161,"t":"code","b":[157,216,47],"m":"sta","oa":12248,"o":"borrowed_icon_8,x"},{"a":5164,"t":"code","b":[202],"m":"dex"},{"a":5165,"t":"code","b":[16,238],"m":"bpl","oa":5149,"o":"b_141D"},{"a":5167,"l":"build_supplies_screen","c":"builds the supplies screen: draws the icon frames at $113A, places the four icons' cell codes with their colours from the tile colour table at $8600, puts five of the frame cells, $EA, $EB, $EC, $ED and $EF, round the first-aid picture ($149E to $14B4), and draws the heading and the four names. Nothing jumps here: the icon copy at $13F9 runs on into it.","t":"code","b":[32,58,17],"m":"jsr","oa":4410,"o":"draw_icon_frames"},{"a":5170,"t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":5172,"t":"code","b":[141,16,6],"m":"sta","oa":1552,"o":"a_0610"},{"a":5175,"t":"code","b":[169,241],"m":"lda","o":"#$F1"},{"a":5177,"t":"code","b":[141,17,6],"m":"sta","oa":1553,"o":"a_0611"},{"a":5180,"t":"code","b":[169,242],"m":"lda","o":"#$F2"},{"a":5182,"t":"code","b":[141,56,6],"m":"sta","oa":1592,"o":"a_0638"},{"a":5185,"t":"code","b":[169,243],"m":"lda","o":"#$F3"},{"a":5187,"t":"code","b":[141,57,6],"m":"sta","oa":1593,"o":"a_0639"},{"a":5190,"t":"code","b":[173,28,134],"m":"lda","oa":34332,"o":"tile_colours_food"},{"a":5193,"t":"code","b":[141,16,218],"m":"sta","o":"$DA10"},{"a":5196,"t":"code","b":[141,17,218],"m":"sta","o":"$DA11"},{"a":5199,"t":"code","b":[141,56,218],"m":"sta","o":"$DA38"},{"a":5202,"t":"code","b":[141,57,218],"m":"sta","o":"$DA39"},{"a":5205,"t":"code","b":[169,244],"m":"lda","o":"#$F4"},{"a":5207,"t":"code","b":[141,136,6],"m":"sta","oa":1672,"o":"a_0688"},{"a":5210,"t":"code","b":[169,245],"m":"lda","o":"#$F5"},{"a":5212,"t":"code","b":[141,137,6],"m":"sta","oa":1673,"o":"a_0689"},{"a":5215,"t":"code","b":[173,16,134],"m":"lda","oa":34320,"o":"tile_colours_key"},{"a":5218,"t":"code","b":[141,136,218],"m":"sta","o":"$DA88"},{"a":5221,"t":"code","b":[141,137,218],"m":"sta","o":"$DA89"},{"a":5224,"t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":5226,"t":"code","b":[141,0,7],"m":"sta","oa":1792,"o":"f_0700"},{"a":5229,"t":"code","b":[169,249],"m":"lda","o":"#$F9"},{"a":5231,"t":"code","b":[141,1,7],"m":"sta","oa":1793,"o":"a_0701"},{"a":5234,"t":"code","b":[173,18,134],"m":"lda","oa":34322,"o":"tile_colours_ammo"},{"a":5237,"t":"code","b":[141,0,219],"m":"sta","o":"$DB00"},{"a":5240,"t":"code","b":[141,1,219],"m":"sta","o":"$DB01"},{"a":5243,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":5245,"t":"code","b":[141,120,7],"m":"sta","oa":1912,"o":"a_0778"},{"a":5248,"t":"code","b":[169,253],"m":"lda","o":"#$FD"},{"a":5250,"t":"code","b":[141,121,7],"m":"sta","oa":1913,"o":"a_0779"},{"a":5253,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":5255,"t":"code","b":[141,160,7],"m":"sta","oa":1952,"o":"a_07A0"},{"a":5258,"t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":5260,"t":"code","b":[141,161,7],"m":"sta","oa":1953,"o":"a_07A1"},{"a":5263,"t":"code","b":[173,32,134],"m":"lda","oa":34336,"o":"tile_colours_first_aid"},{"a":5266,"t":"code","b":[141,120,219],"m":"sta","o":"$DB78"},{"a":5269,"t":"code","b":[141,121,219],"m":"sta","o":"$DB79"},{"a":5272,"t":"code","b":[141,160,219],"m":"sta","o":"$DBA0"},{"a":5275,"t":"code","b":[141,161,219],"m":"sta","o":"$DBA1"},{"a":5278,"t":"code","b":[169,235],"m":"lda","o":"#$EB"},{"a":5280,"t":"code","b":[141,119,7],"m":"sta","oa":1911,"o":"a_0777"},{"a":5283,"t":"code","b":[169,236],"m":"lda","o":"#$EC"},{"a":5285,"t":"code","b":[141,159,7],"m":"sta","oa":1951,"o":"a_079F"},{"a":5288,"t":"code","b":[169,239],"m":"lda","o":"#$EF"},{"a":5290,"t":"code","b":[141,199,7],"m":"sta","oa":1991,"o":"a_07C7"},{"a":5293,"t":"code","b":[169,237],"m":"lda","o":"#$ED"},{"a":5295,"t":"code","b":[141,200,7],"m":"sta","oa":1992,"o":"a_07C8"},{"a":5298,"t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":5300,"t":"code","b":[141,201,7],"m":"sta","oa":1993,"o":"a_07C9"},{"a":5303,"l":"draw_supplies_text","c":"draws the supplies screen's heading \" SUPPLIES \" and the four names, COLD FOOD, DOOR KEY, AMMUNITION and FIRST AID, each at its own row, through the plotter at $0A84. Nothing jumps here: the cell placement before it runs on into it.","t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":5305,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5308,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":5310,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5313,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5315,"l":"j_14C3","t":"code","b":[189,120,17],"m":"lda","oa":4472,"o":"str_supplies_heading,x","x":[5329]},{"a":5318,"t":"code","b":[240,12],"m":"beq","oa":5332,"o":"b_14D4"},{"a":5320,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":5322,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5325,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5328,"t":"code","b":[232],"m":"inx"},{"a":5329,"t":"code","b":[76,195,20],"m":"jmp","oa":5315,"o":"j_14C3"},{"a":5332,"l":"b_14D4","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[5318]},{"a":5334,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5337,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":5339,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5342,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5344,"l":"j_14E0","t":"code","b":[189,131,17],"m":"lda","oa":4483,"o":"str_cold_food,x","x":[5358]},{"a":5347,"t":"code","b":[240,12],"m":"beq","oa":5361,"o":"b_14F1"},{"a":5349,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":5351,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5354,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5357,"t":"code","b":[232],"m":"inx"},{"a":5358,"t":"code","b":[76,224,20],"m":"jmp","oa":5344,"o":"j_14E0"},{"a":5361,"l":"b_14F1","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[5347]},{"a":5363,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5366,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":5368,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5371,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5373,"l":"j_14FD","t":"code","b":[189,141,17],"m":"lda","oa":4493,"o":"str_door_key,x","x":[5387]},{"a":5376,"t":"code","b":[240,12],"m":"beq","oa":5390,"o":"b_150E"},{"a":5378,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":5380,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5383,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5386,"t":"code","b":[232],"m":"inx"},{"a":5387,"t":"code","b":[76,253,20],"m":"jmp","oa":5373,"o":"j_14FD"},{"a":5390,"l":"b_150E","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[5376]},{"a":5392,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5395,"t":"code","b":[169,19],"m":"lda","o":"#$13"},{"a":5397,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5400,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5402,"l":"j_151A","t":"code","b":[189,150,17],"m":"lda","oa":4502,"o":"str_ammunition,x","x":[5416]},{"a":5405,"t":"code","b":[240,12],"m":"beq","oa":5419,"o":"b_152B"},{"a":5407,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":5409,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5412,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5415,"t":"code","b":[232],"m":"inx"},{"a":5416,"t":"code","b":[76,26,21],"m":"jmp","oa":5402,"o":"j_151A"},{"a":5419,"l":"b_152B","t":"code","b":[169,14],"m":"lda","o":"#$0E","x":[5405]},{"a":5421,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":5424,"t":"code","b":[169,22],"m":"lda","o":"#$16"},{"a":5426,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":5429,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5431,"l":"j_1537","t":"code","b":[189,161,17],"m":"lda","oa":4513,"o":"str_first_aid,x","x":[5445]},{"a":5434,"t":"code","b":[240,15],"m":"beq","oa":5451,"o":"wait_on_supplies"},{"a":5436,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":5438,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":5441,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":5444,"t":"code","b":[232],"m":"inx"},{"a":5445,"t":"code","b":[76,55,21],"m":"jmp","oa":5431,"o":"j_1537"},{"a":5448,"l":"b_1548","t":"code","b":[76,102,21],"m":"jmp","oa":5478,"o":"mission_select_setup","x":[5467]},{"a":5451,"l":"wait_on_supplies","c":"holds the supplies screen for about three seconds, polling fire all the way through so a press leaves the attract screens for the game at $1566, which then shows the mission select. With nothing pressed the attract loop starts again at $1017, which rebuilds the title screen without restarting the music.","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[5434]},{"a":5453,"l":"b_154D","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[5473]},{"a":5455,"l":"b_154F","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[5470]},{"a":5457,"l":"b_1551","t":"code","b":[56],"m":"sec","x":[5460]},{"a":5458,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":5460,"t":"code","b":[208,251],"m":"bne","oa":5457,"o":"b_1551"},{"a":5462,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":5465,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":5467,"t":"code","b":[240,235],"m":"beq","oa":5448,"o":"b_1548"},{"a":5469,"t":"code","b":[136],"m":"dey"},{"a":5470,"t":"code","b":[208,239],"m":"bne","oa":5455,"o":"b_154F"},{"a":5472,"t":"code","b":[202],"m":"dex"},{"a":5473,"t":"code","b":[208,234],"m":"bne","oa":5453,"o":"b_154D"},{"a":5475,"t":"code","b":[76,23,16],"m":"jmp","oa":4119,"o":"j_1017"},{"a":5478,"l":"mission_select_setup","c":"leaves the attract loop for the game. Blanks the screen, clears all four pages of colour memory, keeps video bank 0 but points $D018 at $15, so the screen stays at $0400 and the characters come from the character ROM's image at $1000 while it waits; the mission select at $1D23 points $D018 back at the big alphabet before it draws. Turns the raster interrupt off, starts CIA 1's timer A and puts the KERNAL's own handler back in $0314, banks every ROM in, silences all 25 sound registers, turns the display on, waits for fire to be let go, and jumps into the game at $4000.","t":"code","b":[120],"m":"sei","x":[4293,4699,5086,5448]},{"a":5479,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":5481,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":5484,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":5487,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":5489,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":5492,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5494,"l":"b_1576","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[5509]},{"a":5496,"t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x"},{"a":5499,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":5502,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":5505,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":5508,"t":"code","b":[202],"m":"dex"},{"a":5509,"t":"code","b":[208,239],"m":"bne","oa":5494,"o":"b_1576"},{"a":5511,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":5514,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":5516,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":5519,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":5522,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":5524,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":5526,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":5529,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":5531,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":5534,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":5536,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":5539,"t":"code","b":[173,26,208],"m":"lda","o":"vic_irq_enable"},{"a":5542,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":5544,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":5547,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":5549,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":5552,"t":"code","b":[173,13,220],"m":"lda","o":"cia1_interrupt"},{"a":5555,"t":"code","b":[169,49],"m":"lda","o":"#$31"},{"a":5557,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":5560,"t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":5562,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":5565,"t":"code","b":[169,55],"m":"lda","o":"#$37"},{"a":5567,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":5569,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":5571,"l":"b_15C3","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[5584]},{"a":5573,"t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x"},{"a":5576,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":5578,"t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x"},{"a":5581,"t":"code","b":[232],"m":"inx"},{"a":5582,"t":"code","b":[224,25],"m":"cpx","o":"#$19"},{"a":5584,"t":"code","b":[208,241],"m":"bne","oa":5571,"o":"b_15C3"},{"a":5586,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":5588,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":5591,"l":"b_15D7","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[5596]},{"a":5594,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":5596,"t":"code","b":[240,249],"m":"beq","oa":5591,"o":"b_15D7"},{"a":5598,"t":"code","b":[88],"m":"cli"},{"a":5599,"t":"code","b":[76,0,64],"m":"jmp","oa":16384,"o":"game_entry"},{"a":5602,"l":"music_stream_1","c":"voice 1's tune, one note number a step, read by the driver at $1947; $FF ends it and starts all three voices again","t":"byte","b":[3,3,3,4,5,6,7,8],"x":[6532]},{"a":5610,"t":"byte","b":[9,10,9,8,11,3,3,3]},{"a":5618,"t":"byte","b":[4,5,6,12,12,13,14,11]},{"a":5626,"t":"byte","b":[3,3,3,4,5,6,7,4]},{"a":5634,"t":"byte","b":[4,5,6,7,4,4,5,6]},{"a":5642,"t":"byte","b":[7,4,4,14,8,24,24,24]},{"a":5650,"t":"byte","b":[25,26,11,34,34,34,3,35]},{"a":5658,"t":"byte","b":[4,36,5,37,38,37,5,11]},{"a":5666,"t":"byte","b":[34,34,34,3,35,4,39,39]},{"a":5674,"t":"byte","b":[40,53,11,34,34,34,3,35]},{"a":5682,"t":"byte","b":[4,36,3,3,35,4,36,3]},{"a":5690,"t":"byte","b":[3,35,4,36,3,3,53,5]},{"a":5698,"t":"byte","b":[12,12,12,13,14,11,40,13]},{"a":5706,"t":"byte","b":[6,26,6,9,6,26,6,54]},{"a":5714,"t":"byte","b":[14,6,26,6,54,14,40,13]},{"a":5722,"t":"byte","b":[6,26,6,54,14,24,24,55]},{"a":5730,"t":"byte","b":[62,53,5,53,63,53,5,53]},{"a":5738,"t":"byte","b":[64,35,53,5,53,64,35,63]},{"a":5746,"t":"byte","b":[65,62,53,4,5,66,66,66]},{"a":5754,"t":"byte","b":[64,4,4,4,4,255]},{"a":5760,"l":"music_stream_2","c":"voice 2's tune, one note number a step","t":"byte","b":[16,11,16,11,17,16,16,16],"x":[6542]},{"a":5768,"t":"byte","b":[16,16,16,16,16,16,16,17]},{"a":5776,"t":"byte","b":[16,16,16,16,16,11,16,11]},{"a":5784,"t":"byte","b":[18,3,3,3,3,3,3,3]},{"a":5792,"t":"byte","b":[3,3,3,18,3,3,3,3]},{"a":5800,"t":"byte","b":[16,11,16,11,18,16,16,11]},{"a":5808,"t":"byte","b":[18,16,16,11,18,16,16,11]},{"a":5816,"t":"byte","b":[16,16,16,16,16,16,7,16]},{"a":5824,"t":"byte","b":[16,16,16,16,16,16,16,16]},{"a":5832,"t":"byte","b":[16,7,16,16,16,16,41,11]},{"a":5840,"t":"byte","b":[41,11,42,41,41,41,41,41]},{"a":5848,"t":"byte","b":[41,41,41,41,41,42,41,41]},{"a":5856,"t":"byte","b":[41,41,41,11,41,11,43,34]},{"a":5864,"t":"byte","b":[34,34,34,34,34,34,34,34]},{"a":5872,"t":"byte","b":[34,43,34,34,34,34,41,11]},{"a":5880,"t":"byte","b":[41,11,43,41,41,11,43,41]},{"a":5888,"t":"byte","b":[41,11,43,41,41,11,41,41]},{"a":5896,"t":"byte","b":[41,41,41,41,42,41,41,41]},{"a":5904,"t":"byte","b":[41,41,41,41,41,41,41,42]},{"a":5912,"t":"byte","b":[41,41,41,41,55,56,41,11]},{"a":5920,"t":"byte","b":[41,41,41,41,11,41,41,41]},{"a":5928,"t":"byte","b":[41,11,41,41,41,55,56,41]},{"a":5936,"t":"byte","b":[11,41,41,57,58,58,58,58]},{"a":5944,"t":"byte","b":[58,58,42,41,41,41,41,67]},{"a":5952,"t":"byte","b":[67,16,11,16,16,16,16,11]},{"a":5960,"t":"byte","b":[16,16,16,16,11,16,16,58]},{"a":5968,"t":"byte","b":[55,55,68,68,67,16,16,16]},{"a":5976,"t":"byte","b":[67,16,16,16,16,16,16,16]},{"a":5984,"t":"byte","b":[16,16,42,41,41,41,41,255]},{"a":5992,"l":"music_stream_3","c":"voice 3's tune, one note number a step","t":"byte","b":[19,20,21,22,22,23,19,20],"x":[6552]},{"a":6000,"t":"byte","b":[21,22,22,23,19,20,21,22]},{"a":6008,"t":"byte","b":[22,23,19,20,21,22,22,23]},{"a":6016,"t":"byte","b":[19,20,21,22,22,21,21,22]},{"a":6024,"t":"byte","b":[22,21,21,22,22,21,30,29]},{"a":6032,"t":"byte","b":[31,32,32,33,30,29,31,32]},{"a":6040,"t":"byte","b":[32,31,20,44,23,45,45,46]},{"a":6048,"t":"byte","b":[20,44,23,45,45,46,20,44]},{"a":6056,"t":"byte","b":[23,45,45,46,20,44,23,45]},{"a":6064,"t":"byte","b":[45,46,20,44,23,45,45,23]},{"a":6072,"t":"byte","b":[23,45,45,23,23,45,45,23]},{"a":6080,"t":"byte","b":[48,49,50,51,51,52,48,49]},{"a":6088,"t":"byte","b":[50,51,51,50,20,48,59,11]},{"a":6096,"t":"byte","b":[48,59,11,48,59,11,48,20]},{"a":6104,"t":"byte","b":[48,59,11,48,60,46,61,61]},{"a":6112,"t":"byte","b":[46,69,70,51,11,30,51,11]},{"a":6120,"t":"byte","b":[30,51,11,30,20,20,20,20]},{"a":6128,"t":"byte","b":[71,72,73,23,45,45,23,255]},{"a":6136,"l":"note_freq_hi","c":"the frequency high byte of each note the tune uses, indexed by note number","t":"byte","b":[255,34,34,13,17,19,23,21],"x":[6569]},{"a":6144,"t":"byte","b":[26,26,26,255,21,21,21,10]},{"a":6152,"t":"byte","b":[10,10,13,4,3,4,4,3]},{"a":6160,"t":"byte","b":[29,29,29,0,0,5,3,3]},{"a":6168,"t":"byte","b":[3,5,9,14,16,19,19,16]},{"a":6176,"t":"byte","b":[16,8,8,9,2,3,2,4]},{"a":6184,"t":"byte","b":[2,4,2,2,4,16,26,10]},{"a":6192,"t":"byte","b":[8,6,8,4,2,2,14,17]},{"a":6200,"t":"byte","b":[17,13,17,8,9,4,11,4]},{"a":6208,"t":"byte","b":[4,3]},{"a":6210,"l":"note_freq_lo","c":"the frequency low byte of each note, indexed by note number","t":"byte","b":[0,200,200,6,100,135,58,237],"x":[6575]},{"a":6218,"t":"byte","b":[13,13,13,0,237,237,237,240]},{"a":6226,"t":"byte","b":[246,246,6,89,65,89,89,65]},{"a":6234,"t":"byte","b":[70,70,70,0,0,123,168,168]},{"a":6242,"t":"byte","b":[168,123,195,163,110,135,135,110]},{"a":6250,"t":"byte","b":[110,35,25,195,112,65,112,225]},{"a":6258,"t":"byte","b":[189,27,189,189,27,110,13,246]},{"a":6266,"t":"byte","b":[55,131,178,27,189,112,163,100]},{"a":6274,"t":"byte","b":[100,6,100,178,195,225,157,89]},{"a":6282,"t":"byte","b":[27,168]},{"a":6284,"l":"note_length","c":"how many driver ticks each note lasts, indexed by note number","t":"byte","b":[16,2,4,2,2,2,2,4],"x":[6581]},{"a":6292,"t":"byte","b":[2,6,12,4,12,6,2,12]},{"a":6300,"t":"byte","b":[2,4,4,6,6,4,2,4]},{"a":6308,"t":"byte","b":[12,6,2,0,0,6,6,4]},{"a":6316,"t":"byte","b":[2,4,2,2,4,6,12,12]},{"a":6324,"t":"byte","b":[6,2,4,4,6,2,4,2]},{"a":6332,"t":"byte","b":[6,6,4,2,4,2,4,6]},{"a":6340,"t":"byte","b":[6,2,2,2,12,2,6,6]},{"a":6348,"t":"byte","b":[4,6,12,6,6,6,6,12]},{"a":6356,"t":"byte","b":[12,12]},{"a":6358,"l":"music_init","c":"starts the music: silences the SID's 25 registers, sets each voice's envelope and pulse width, sets the three voices' note counters to 1 and their stream positions to 0, so the driver's next tick takes the first note of each, sets the volume to 15, and leaves the driver at $1947 to do the rest a frame at a time.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[4116]},{"a":6360,"l":"b_18D8","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[6373]},{"a":6362,"t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x"},{"a":6365,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6367,"t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x"},{"a":6370,"t":"code","b":[232],"m":"inx"},{"a":6371,"t":"code","b":[224,25],"m":"cpx","o":"#$19"},{"a":6373,"t":"code","b":[208,241],"m":"bne","oa":6360,"o":"b_18D8"},{"a":6375,"t":"code","b":[169,112],"m":"lda","o":"#$70"},{"a":6377,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":6380,"t":"code","b":[169,117],"m":"lda","o":"#$75"},{"a":6382,"t":"code","b":[141,12,212],"m":"sta","o":"sid_v2_attack_decay"},{"a":6385,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6387,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":6390,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":6392,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":6395,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6397,"t":"code","b":[141,13,212],"m":"sta","o":"sid_v2_sustain_release"},{"a":6400,"t":"code","b":[169,96],"m":"lda","o":"#$60"},{"a":6402,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":6405,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":6407,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":6410,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":6412,"t":"code","b":[141,10,212],"m":"sta","o":"sid_v2_pulse_hi"},{"a":6415,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":6417,"t":"code","b":[141,17,212],"m":"sta","o":"sid_v3_pulse_hi"},{"a":6420,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":6422,"t":"code","b":[141,51,25],"m":"sta","oa":6451,"o":"music_countdown"},{"a":6425,"t":"code","b":[141,52,25],"m":"sta","oa":6452,"o":"music_countdown_2"},{"a":6428,"t":"code","b":[141,53,25],"m":"sta","oa":6453,"o":"music_countdown_3"},{"a":6431,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6433,"t":"code","b":[141,54,25],"m":"sta","oa":6454,"o":"music_position"},{"a":6436,"t":"code","b":[141,55,25],"m":"sta","oa":6455,"o":"music_position_2"},{"a":6439,"t":"code","b":[141,56,25],"m":"sta","oa":6456,"o":"music_position_3"},{"a":6442,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":6444,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":6447,"t":"code","b":[96],"m":"rts"},{"a":6448,"l":"music_waveform","c":"the waveform and gate each voice plays with: $41 pulse for voices 1 and 3, $21 sawtooth for voice 2. The driver clears bit 0 to let a note go and writes the byte again to start the next.","t":"byte","b":[65,33,65],"x":[6590,6628]},{"a":6451,"l":"music_countdown","c":"how many driver ticks are left of each voice's current note, one byte a voice; when it reaches zero the voice takes its next note","t":"byte","b":[0],"x":[6422,6516,6584,6653]},{"a":6452,"l":"music_countdown_2","c":"the second voice's count of ticks to its next note","t":"byte","b":[0],"x":[6425,6656]},{"a":6453,"l":"music_countdown_3","c":"the third voice's count of ticks to its next note","t":"byte","b":[0],"x":[6428,6659]},{"a":6454,"l":"music_position","c":"how far each voice has read into its own stream, one byte a voice","t":"byte","b":[0],"x":[6433,6524,6634,6664]},{"a":6455,"l":"music_position_2","c":"how far the second voice has read into its own stream","t":"byte","b":[0],"x":[6436,6667]},{"a":6456,"l":"music_position_3","c":"how far the third voice has read into its own stream","t":"byte","b":[0],"x":[6439,6670]},{"a":6457,"l":"music_freq_hi","c":"the frequency high byte each voice is playing, one byte a voice","t":"byte","b":[0,0,0],"x":[6572,6598,6622]},{"a":6460,"l":"music_freq_lo","c":"the frequency low byte each voice is playing, one byte a voice","t":"byte","b":[0,0,0],"x":[6578,6616]},{"a":6463,"l":"music_voice","c":"which of the three voices the driver is serving, 0 to 2","t":"byte","b":[0],"x":[6489,6513,6637,6640]},{"a":6464,"l":"music_voice_offset","c":"the offset of that voice's registers from $D400: 0, 7 or 14","t":"byte","b":[0],"x":[6492,6501,6510,6587]},{"a":6465,"l":"music_note","c":"the note number each voice has just taken from its stream, one byte a voice; $FF ends the tune","t":"byte","b":[0],"x":[6535,6558,6565]},{"a":6466,"l":"music_note_2","c":"the note number the second voice has just taken from its stream","t":"byte","b":[0],"x":[6545]},{"a":6467,"l":"music_note_3","c":"the note number the third voice has just taken from its stream, written at $199B. Nothing uses the byte after it, $1944.","t":"byte","b":[0,0],"x":[6555]},{"a":6469,"l":"music_tick","c":"counts frames 0, 1, 2 so the driver only acts on every third one","t":"byte","b":[0,0],"x":[6471,6478,6484]},{"a":6471,"l":"music_driver","c":"the music, one tick at a time, called once a frame from the title and plaque interrupts. It does nothing on two frames in three, so the tune runs at about 16.7 ticks a second on a PAL machine. On the third it serves each of the three voices in turn: it counts the voice's note down, and when that runs out takes the next note number from the voice's own stream ($15E2, $1680 or $1768), looks the number up in the three note tables to get the frequency high byte, the low byte and the length, writes the frequency and the waveform to that voice, and steps the stream on. When the first voice's note number is $FF the tune has ended: the driver sets all three streams back to their beginning and serves the three voices again from the first, in the same tick, so the music is endless. The test at $199E reads the first voice's note whichever voice is being served, so a $FF taken by the second or third voice is not an end: it is looked up in the note tables like any other number.","t":"code","b":[173,69,25],"m":"lda","oa":6469,"o":"music_tick","x":[3827,4012]},{"a":6474,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":6476,"t":"code","b":[240,4],"m":"beq","oa":6482,"o":"b_1952"},{"a":6478,"t":"code","b":[238,69,25],"m":"inc","oa":6469,"o":"music_tick"},{"a":6481,"t":"code","b":[96],"m":"rts"},{"a":6482,"l":"b_1952","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[6476,6673]},{"a":6484,"t":"code","b":[141,69,25],"m":"sta","oa":6469,"o":"music_tick"},{"a":6487,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6489,"l":"j_1959","t":"code","b":[141,63,25],"m":"sta","oa":6463,"o":"music_voice","x":[6647]},{"a":6492,"t":"code","b":[141,64,25],"m":"sta","oa":6464,"o":"music_voice_offset"},{"a":6495,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":6497,"t":"code","b":[208,5],"m":"bne","oa":6504,"o":"b_1968"},{"a":6499,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":6501,"t":"code","b":[141,64,25],"m":"sta","oa":6464,"o":"music_voice_offset"},{"a":6504,"l":"b_1968","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[6497]},{"a":6506,"t":"code","b":[208,5],"m":"bne","oa":6513,"o":"b_1971"},{"a":6508,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":6510,"t":"code","b":[141,64,25],"m":"sta","oa":6464,"o":"music_voice_offset"},{"a":6513,"l":"b_1971","t":"code","b":[174,63,25],"m":"ldx","oa":6463,"o":"music_voice","x":[6506]},{"a":6516,"t":"code","b":[222,51,25],"m":"dec","oa":6451,"o":"music_countdown,x"},{"a":6519,"t":"code","b":[240,3],"m":"beq","oa":6524,"o":"b_197C"},{"a":6521,"t":"code","b":[76,237,25],"m":"jmp","oa":6637,"o":"j_19ED"},{"a":6524,"l":"b_197C","t":"code","b":[189,54,25],"m":"lda","oa":6454,"o":"music_position,x","x":[6519]},{"a":6527,"t":"code","b":[168],"m":"tay"},{"a":6528,"t":"code","b":[224,0],"m":"cpx","o":"#$00"},{"a":6530,"t":"code","b":[208,6],"m":"bne","oa":6538,"o":"b_198A"},{"a":6532,"t":"code","b":[185,226,21],"m":"lda","oa":5602,"o":"music_stream_1,y"},{"a":6535,"t":"code","b":[141,65,25],"m":"sta","oa":6465,"o":"music_note"},{"a":6538,"l":"b_198A","t":"code","b":[224,1],"m":"cpx","o":"#$01","x":[6530]},{"a":6540,"t":"code","b":[208,6],"m":"bne","oa":6548,"o":"b_1994"},{"a":6542,"t":"code","b":[185,128,22],"m":"lda","oa":5760,"o":"music_stream_2,y"},{"a":6545,"t":"code","b":[141,66,25],"m":"sta","oa":6466,"o":"music_note_2"},{"a":6548,"l":"b_1994","t":"code","b":[224,2],"m":"cpx","o":"#$02","x":[6540]},{"a":6550,"t":"code","b":[208,6],"m":"bne","oa":6558,"o":"b_199E"},{"a":6552,"t":"code","b":[185,104,23],"m":"lda","oa":5992,"o":"music_stream_3,y"},{"a":6555,"t":"code","b":[141,67,25],"m":"sta","oa":6467,"o":"music_note_3"},{"a":6558,"l":"b_199E","t":"code","b":[173,65,25],"m":"lda","oa":6465,"o":"music_note","x":[6550]},{"a":6561,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":6563,"t":"code","b":[240,86],"m":"beq","oa":6651,"o":"b_19FB"},{"a":6565,"t":"code","b":[189,65,25],"m":"lda","oa":6465,"o":"music_note,x"},{"a":6568,"t":"code","b":[168],"m":"tay"},{"a":6569,"t":"code","b":[185,248,23],"m":"lda","oa":6136,"o":"note_freq_hi,y"},{"a":6572,"t":"code","b":[157,57,25],"m":"sta","oa":6457,"o":"music_freq_hi,x"},{"a":6575,"t":"code","b":[185,66,24],"m":"lda","oa":6210,"o":"note_freq_lo,y"},{"a":6578,"t":"code","b":[157,60,25],"m":"sta","oa":6460,"o":"music_freq_lo,x"},{"a":6581,"t":"code","b":[185,140,24],"m":"lda","oa":6284,"o":"note_length,y"},{"a":6584,"t":"code","b":[157,51,25],"m":"sta","oa":6451,"o":"music_countdown,x"},{"a":6587,"t":"code","b":[172,64,25],"m":"ldy","oa":6464,"o":"music_voice_offset"},{"a":6590,"t":"code","b":[189,48,25],"m":"lda","oa":6448,"o":"music_waveform,x"},{"a":6593,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":6595,"t":"code","b":[153,4,212],"m":"sta","o":"sid_v1_control,y"},{"a":6598,"t":"code","b":[189,57,25],"m":"lda","oa":6457,"o":"music_freq_hi,x"},{"a":6601,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":6603,"t":"code","b":[208,11],"m":"bne","oa":6616,"o":"b_19D8"},{"a":6605,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6607,"t":"code","b":[153,0,212],"m":"sta","o":"sid_v1_freq_lo,y"},{"a":6610,"t":"code","b":[153,1,212],"m":"sta","o":"sid_v1_freq_hi,y"},{"a":6613,"t":"code","b":[76,234,25],"m":"jmp","oa":6634,"o":"j_19EA"},{"a":6616,"l":"b_19D8","t":"code","b":[189,60,25],"m":"lda","oa":6460,"o":"music_freq_lo,x","x":[6603]},{"a":6619,"t":"code","b":[153,0,212],"m":"sta","o":"sid_v1_freq_lo,y"},{"a":6622,"t":"code","b":[189,57,25],"m":"lda","oa":6457,"o":"music_freq_hi,x"},{"a":6625,"t":"code","b":[153,1,212],"m":"sta","o":"sid_v1_freq_hi,y"},{"a":6628,"t":"code","b":[189,48,25],"m":"lda","oa":6448,"o":"music_waveform,x"},{"a":6631,"t":"code","b":[153,4,212],"m":"sta","o":"sid_v1_control,y"},{"a":6634,"l":"j_19EA","t":"code","b":[254,54,25],"m":"inc","oa":6454,"o":"music_position,x","x":[6613]},{"a":6637,"l":"j_19ED","t":"code","b":[238,63,25],"m":"inc","oa":6463,"o":"music_voice","x":[6521]},{"a":6640,"t":"code","b":[173,63,25],"m":"lda","oa":6463,"o":"music_voice"},{"a":6643,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":6645,"t":"code","b":[240,3],"m":"beq","oa":6650,"o":"r_19FA"},{"a":6647,"t":"code","b":[76,89,25],"m":"jmp","oa":6489,"o":"j_1959"},{"a":6650,"l":"r_19FA","t":"code","b":[96],"m":"rts","x":[6645]},{"a":6651,"l":"b_19FB","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[6563]},{"a":6653,"t":"code","b":[141,51,25],"m":"sta","oa":6451,"o":"music_countdown"},{"a":6656,"t":"code","b":[141,52,25],"m":"sta","oa":6452,"o":"music_countdown_2"},{"a":6659,"t":"code","b":[141,53,25],"m":"sta","oa":6453,"o":"music_countdown_3"},{"a":6662,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6664,"t":"code","b":[141,54,25],"m":"sta","oa":6454,"o":"music_position"},{"a":6667,"t":"code","b":[141,55,25],"m":"sta","oa":6455,"o":"music_position_2"},{"a":6670,"t":"code","b":[141,56,25],"m":"sta","oa":6456,"o":"music_position_3"},{"a":6673,"t":"code","b":[76,82,25],"m":"jmp","oa":6482,"o":"b_1952"},{"a":6676,"l":"str_you_are_dead","c":"\"YOU ARE DEAD\", ASCII ending $00","t":"byte","b":[89,79,85,32,65,82,69,32],"x":[6745]},{"a":6684,"t":"byte","b":[68,69,65,68,0]},{"a":6689,"l":"draw_you_are_dead","c":"clears colour memory, puts the screen back to the big alphabet's character set at $2800 in single-colour text, and draws \"YOU ARE DEAD\" at rows 8 and 9, columns 7 to 30.","t":"code","b":[120],"m":"sei","x":[2090]},{"a":6690,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":6692,"t":"code","b":[138],"m":"txa"},{"a":6693,"l":"b_1A25","t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x","x":[6706]},{"a":6696,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":6699,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":6702,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":6705,"t":"code","b":[202],"m":"dex"},{"a":6706,"t":"code","b":[208,241],"m":"bne","oa":6693,"o":"b_1A25"},{"a":6708,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":6710,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":6713,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":6715,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":6718,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":6720,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":6723,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":6725,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":6728,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":6730,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":6733,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":6735,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":6738,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":6740,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":6743,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":6745,"l":"j_1A59","t":"code","b":[189,20,26],"m":"lda","oa":6676,"o":"str_you_are_dead,x","x":[6759]},{"a":6748,"t":"code","b":[240,12],"m":"beq","oa":6762,"o":"r_1A6A"},{"a":6750,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":6752,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":6755,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":6758,"t":"code","b":[232],"m":"inx"},{"a":6759,"t":"code","b":[76,89,26],"m":"jmp","oa":6745,"o":"j_1A59"},{"a":6762,"l":"r_1A6A","t":"code","b":[96],"m":"rts","x":[6748]},{"a":6763,"l":"str_select_floor","c":"\"SELECT FLOOR\", ASCII ending $00","t":"byte","b":[83,69,76,69,67,84,32,70],"x":[6905]},{"a":6771,"t":"byte","b":[76,79,79,82,0]},{"a":6776,"l":"floor_names","c":"the four floors the lift serves, thirteen characters each and a $00: BASEMENT, GROUND FLOOR, FIRST FLOOR, SECOND FLOOR. The floor-select screen draws them as a list, and the message line names the same four at $5808.","t":"byte","b":[66,65,83,69,77,69,78,84],"x":[6944]},{"a":6784,"t":"byte","b":[32,32,32,32,32,0]},{"a":6790,"l":"str_ground_floor","c":"\"GROUND FLOOR \", thirteen characters and a $00","t":"byte","b":[71,82,79,85,78,68,32,70],"x":[6973]},{"a":6798,"t":"byte","b":[76,79,79,82,32,0]},{"a":6804,"l":"str_first_floor","c":"\"FIRST FLOOR  \", thirteen characters and a $00","t":"byte","b":[70,73,82,83,84,32,70,76],"x":[7002]},{"a":6812,"t":"byte","b":[79,79,82,32,32,0]},{"a":6818,"l":"str_second_floor","c":"\"SECOND FLOOR \", thirteen characters and a $00","t":"byte","b":[83,69,67,79,78,68,32,70],"x":[7031]},{"a":6826,"t":"byte","b":[76,79,79,82,32,0]},{"a":6832,"l":"floor_frame_colour","c":"the colour, 6 (blue), the floor-select screen gives the frame it draws round the list of floors. Every reader stores it into colour memory ($1BE4, $1C10, $1C3E). The marker against the chosen floor is the big alphabet's character $1C, drawn through the plotter.","t":"byte","b":[6],"x":[7140,7184,7230]},{"a":6833,"l":"floor_chosen","c":"which floor the lift's list has the marker against, 0 to 3, counting up from the basement","t":"byte","b":[0],"x":[7253,7283,7324,7347,7350,7357,7383,7406,7409,7418]},{"a":6834,"l":"floor_select_screen","c":"builds the screen the lift shows: blanks the display, clears colour memory, sets multicolour text from the character set at $2800 with the two extra background colours the list needs, and draws \"SELECT FLOOR\" in colours 6 and 3 and the four floor names below it, all four in colours 7 and 1.","t":"code","b":[169,107],"m":"lda","o":"#$6B","x":[2093]},{"a":6836,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":6839,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":6841,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":6844,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":6847,"t":"code","b":[170],"m":"tax"},{"a":6848,"l":"b_1AC0","t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x","x":[6861]},{"a":6851,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":6854,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":6857,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":6860,"t":"code","b":[202],"m":"dex"},{"a":6861,"t":"code","b":[208,241],"m":"bne","oa":6848,"o":"b_1AC0"},{"a":6863,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":6865,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":6868,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":6870,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":6873,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":6875,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":6878,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":6880,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":6883,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":6885,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":6888,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":6890,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":6893,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":6895,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":6898,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":6900,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":6903,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":6905,"l":"j_1AF9","t":"code","b":[189,107,26],"m":"lda","oa":6763,"o":"str_select_floor,x","x":[6919]},{"a":6908,"t":"code","b":[240,12],"m":"beq","oa":6922,"o":"b_1B0A"},{"a":6910,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":6912,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":6915,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":6918,"t":"code","b":[232],"m":"inx"},{"a":6919,"t":"code","b":[76,249,26],"m":"jmp","oa":6905,"o":"j_1AF9"},{"a":6922,"l":"b_1B0A","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[6908]},{"a":6924,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":6927,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":6929,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":6932,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":6934,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":6937,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":6939,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":6942,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":6944,"l":"j_1B20","t":"code","b":[189,120,26],"m":"lda","oa":6776,"o":"floor_names,x","x":[6958]},{"a":6947,"t":"code","b":[240,12],"m":"beq","oa":6961,"o":"b_1B31"},{"a":6949,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":6951,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":6954,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":6957,"t":"code","b":[232],"m":"inx"},{"a":6958,"t":"code","b":[76,32,27],"m":"jmp","oa":6944,"o":"j_1B20"},{"a":6961,"l":"b_1B31","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[6947]},{"a":6963,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":6966,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":6968,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":6971,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":6973,"l":"j_1B3D","t":"code","b":[189,134,26],"m":"lda","oa":6790,"o":"str_ground_floor,x","x":[6987]},{"a":6976,"t":"code","b":[240,12],"m":"beq","oa":6990,"o":"b_1B4E"},{"a":6978,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":6980,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":6983,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":6986,"t":"code","b":[232],"m":"inx"},{"a":6987,"t":"code","b":[76,61,27],"m":"jmp","oa":6973,"o":"j_1B3D"},{"a":6990,"l":"b_1B4E","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[6976]},{"a":6992,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":6995,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":6997,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7000,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7002,"l":"j_1B5A","t":"code","b":[189,148,26],"m":"lda","oa":6804,"o":"str_first_floor,x","x":[7016]},{"a":7005,"t":"code","b":[240,12],"m":"beq","oa":7019,"o":"b_1B6B"},{"a":7007,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7009,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7012,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7015,"t":"code","b":[232],"m":"inx"},{"a":7016,"t":"code","b":[76,90,27],"m":"jmp","oa":7002,"o":"j_1B5A"},{"a":7019,"l":"b_1B6B","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[7005]},{"a":7021,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7024,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":7026,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7029,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7031,"l":"j_1B77","t":"code","b":[189,162,26],"m":"lda","oa":6818,"o":"str_second_floor,x","x":[7045]},{"a":7034,"t":"code","b":[240,12],"m":"beq","oa":7048,"o":"b_1B88"},{"a":7036,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7038,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7041,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7044,"t":"code","b":[232],"m":"inx"},{"a":7045,"t":"code","b":[76,119,27],"m":"jmp","oa":7031,"o":"j_1B77"},{"a":7048,"l":"b_1B88","t":"code","b":[169,32],"m":"lda","o":"#$20","x":[7034]},{"a":7050,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7053,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":7055,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7058,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":7060,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":7063,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":7066,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7068,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7071,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7074,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7076,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7079,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":7081,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7084,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7086,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7089,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7092,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7094,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7097,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":7099,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7102,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7104,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7107,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7110,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7112,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7115,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":7117,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7120,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7122,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7125,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7128,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7130,"l":"b_1BDA","t":"code","b":[169,172],"m":"lda","o":"#$AC","x":[7152]},{"a":7132,"t":"code","b":[157,30,5],"m":"sta","oa":1310,"o":"f_051E,x"},{"a":7135,"t":"code","b":[169,174],"m":"lda","o":"#$AE"},{"a":7136,"t":"note","l":"false_symbol_1BE0","c":"not a routine: the operand byte of the LDA #$AE at $1BDF, inside the loop that draws the frame round the list of floors. Nothing in the program refers to this address. The floor-select loop begins at $1C52.","note":"inside the item at $1BDF"},{"a":7137,"t":"code","b":[157,134,6],"m":"sta","oa":1670,"o":"f_0686,x"},{"a":7140,"t":"code","b":[173,176,26],"m":"lda","oa":6832,"o":"floor_frame_colour"},{"a":7143,"t":"code","b":[157,30,217],"m":"sta","o":"$D91E,x"},{"a":7146,"t":"code","b":[157,134,218],"m":"sta","o":"$DA86,x"},{"a":7149,"t":"code","b":[232],"m":"inx"},{"a":7150,"t":"code","b":[224,28],"m":"cpx","o":"#$1C"},{"a":7152,"t":"code","b":[208,232],"m":"bne","oa":7130,"o":"b_1BDA"},{"a":7154,"t":"code","b":[169,69],"m":"lda","o":"#$45"},{"a":7156,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":7158,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":7160,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":7162,"t":"code","b":[169,69],"m":"lda","o":"#$45"},{"a":7164,"t":"code","b":[133,254],"m":"sta","oa":254,"o":"room_offset_x"},{"a":7166,"t":"code","b":[169,217],"m":"lda","o":"#$D9"},{"a":7168,"t":"code","b":[133,255],"m":"sta","oa":255,"o":"room_offset_y"},{"a":7170,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7172,"l":"b_1C04","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[7211]},{"a":7174,"t":"code","b":[169,175],"m":"lda","o":"#$AF"},{"a":7176,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":7178,"t":"code","b":[160,29],"m":"ldy","o":"#$1D"},{"a":7180,"t":"code","b":[169,173],"m":"lda","o":"#$AD"},{"a":7182,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":7184,"t":"code","b":[173,176,26],"m":"lda","oa":6832,"o":"floor_frame_colour"},{"a":7187,"t":"code","b":[145,254],"m":"sta","oa":254,"o":"(room_offset_x),y"},{"a":7189,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":7191,"t":"code","b":[145,254],"m":"sta","oa":254,"o":"(room_offset_x),y"},{"a":7193,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":7195,"t":"code","b":[24],"m":"clc"},{"a":7196,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":7198,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":7200,"t":"code","b":[133,254],"m":"sta","oa":254,"o":"room_offset_x"},{"a":7202,"t":"code","b":[144,4],"m":"bcc","oa":7208,"o":"b_1C28"},{"a":7204,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":7206,"t":"code","b":[230,255],"m":"inc","oa":255,"o":"room_offset_y"},{"a":7208,"l":"b_1C28","t":"code","b":[232],"m":"inx","x":[7202]},{"a":7209,"t":"code","b":[224,8],"m":"cpx","o":"#$08"},{"a":7211,"t":"code","b":[208,215],"m":"bne","oa":7172,"o":"b_1C04"},{"a":7213,"t":"code","b":[162,168],"m":"ldx","o":"#$A8"},{"a":7215,"t":"code","b":[142,29,5],"m":"stx","oa":1309,"o":"a_051D"},{"a":7218,"t":"code","b":[232],"m":"inx"},{"a":7219,"t":"code","b":[142,133,6],"m":"stx","oa":1669,"o":"a_0685"},{"a":7222,"t":"code","b":[232],"m":"inx"},{"a":7223,"t":"code","b":[142,58,5],"m":"stx","oa":1338,"o":"a_053A"},{"a":7226,"t":"code","b":[232],"m":"inx"},{"a":7227,"t":"code","b":[142,162,6],"m":"stx","oa":1698,"o":"a_06A2"},{"a":7230,"t":"code","b":[173,176,26],"m":"lda","oa":6832,"o":"floor_frame_colour"},{"a":7233,"t":"code","b":[141,29,217],"m":"sta","o":"$D91D"},{"a":7236,"t":"code","b":[141,133,218],"m":"sta","o":"$DA85"},{"a":7239,"t":"code","b":[141,58,217],"m":"sta","o":"$D93A"},{"a":7242,"t":"code","b":[141,162,218],"m":"sta","o":"$DAA2"},{"a":7245,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7247,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":7250,"l":"floor_select_input","c":"the floor-select screen's own loop. It marks the floor the player is on to begin with, taken from $02A7, then waits: up and down move the marker, wrapping round the four floors, and each move rubs out the old marker and draws the new one at column 32 of the floor's row. Fire returns the chosen floor in A. After each move it idles about a sixth of a second and then waits for raster line $F0 ($1C88), so the marker steps at a readable pace.","t":"code","b":[173,167,2],"m":"lda","oa":679,"o":"current_floor"},{"a":7253,"t":"code","b":[141,177,26],"m":"sta","oa":6833,"o":"floor_chosen"},{"a":7256,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7257,"t":"code","b":[24],"m":"clc"},{"a":7258,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":7260,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7263,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7265,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7268,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":7270,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7273,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7276,"l":"j_1C6C","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[7301,7321]},{"a":7279,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":7281,"t":"code","b":[208,4],"m":"bne","oa":7287,"o":"b_1C77"},{"a":7283,"t":"code","b":[173,177,26],"m":"lda","oa":6833,"o":"floor_chosen"},{"a":7286,"t":"code","b":[96],"m":"rts"},{"a":7287,"l":"b_1C77","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[7281]},{"a":7290,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":7292,"t":"code","b":[240,30],"m":"beq","oa":7324,"o":"b_1C9C"},{"a":7294,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":7297,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":7299,"t":"code","b":[240,82],"m":"beq","oa":7383,"o":"b_1CD7"},{"a":7301,"t":"code","b":[76,108,28],"m":"jmp","oa":7276,"o":"j_1C6C"},{"a":7304,"l":"floor_select_delay","c":"the pause between two steps of the floor marker: a counted loop and then a wait for raster line $F0, which is what stops one push running through all four floors","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[7380,7441]},{"a":7306,"l":"b_1C8A","t":"code","b":[160,128],"m":"ldy","o":"#$80","x":[7312]},{"a":7308,"l":"b_1C8C","t":"code","b":[136],"m":"dey","x":[7309]},{"a":7309,"t":"code","b":[208,253],"m":"bne","oa":7308,"o":"b_1C8C"},{"a":7311,"t":"code","b":[202],"m":"dex"},{"a":7312,"t":"code","b":[208,248],"m":"bne","oa":7306,"o":"b_1C8A"},{"a":7314,"l":"b_1C92","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[7319]},{"a":7317,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":7319,"t":"code","b":[208,249],"m":"bne","oa":7314,"o":"b_1C92"},{"a":7321,"t":"code","b":[76,108,28],"m":"jmp","oa":7276,"o":"j_1C6C"},{"a":7324,"l":"b_1C9C","t":"code","b":[173,177,26],"m":"lda","oa":6833,"o":"floor_chosen","x":[7292]},{"a":7327,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7328,"t":"code","b":[24],"m":"clc"},{"a":7329,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":7331,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7334,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7336,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7339,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7341,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7344,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7347,"t":"code","b":[206,177,26],"m":"dec","oa":6833,"o":"floor_chosen"},{"a":7350,"t":"code","b":[173,177,26],"m":"lda","oa":6833,"o":"floor_chosen"},{"a":7353,"t":"code","b":[16,2],"m":"bpl","oa":7357,"o":"b_1CBD"},{"a":7355,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":7357,"l":"b_1CBD","t":"code","b":[141,177,26],"m":"sta","oa":6833,"o":"floor_chosen","x":[7353]},{"a":7360,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7361,"t":"code","b":[24],"m":"clc"},{"a":7362,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":7364,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7367,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7369,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7372,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":7374,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7377,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7380,"t":"code","b":[76,136,28],"m":"jmp","oa":7304,"o":"floor_select_delay"},{"a":7383,"l":"b_1CD7","t":"code","b":[173,177,26],"m":"lda","oa":6833,"o":"floor_chosen","x":[7299]},{"a":7386,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7387,"t":"code","b":[24],"m":"clc"},{"a":7388,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":7390,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7393,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7395,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7398,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7400,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7403,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7406,"t":"code","b":[238,177,26],"m":"inc","oa":6833,"o":"floor_chosen"},{"a":7409,"t":"code","b":[173,177,26],"m":"lda","oa":6833,"o":"floor_chosen"},{"a":7412,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":7414,"t":"code","b":[208,2],"m":"bne","oa":7418,"o":"b_1CFA"},{"a":7416,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":7418,"l":"b_1CFA","t":"code","b":[141,177,26],"m":"sta","oa":6833,"o":"floor_chosen","x":[7414]},{"a":7421,"t":"code","b":[10],"m":"asl","o":"a"},{"a":7422,"t":"code","b":[24],"m":"clc"},{"a":7423,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":7425,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7428,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":7430,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7433,"t":"code","b":[169,28],"m":"lda","o":"#$1C"},{"a":7435,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7438,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7441,"t":"code","b":[76,136,28],"m":"jmp","oa":7304,"o":"floor_select_delay"},{"a":7444,"l":"str_select_mission","c":"\"SELECT MISSION\", ASCII ending $00","t":"byte","b":[83,69,76,69,67,84,32,77],"x":[7527]},{"a":7452,"t":"byte","b":[73,83,83,73,79,78,0]},{"a":7459,"l":"mission_select_screen","c":"builds the mission-select screen - clears colour memory, single-colour text from the character set at $2800 - draws \"SELECT MISSION\" and the number, and then waits in $1D99","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[2096]},{"a":7461,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":7464,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":7467,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":7469,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":7472,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":7474,"t":"code","b":[141,54,8],"m":"sta","oa":2102,"o":"mission_number"},{"a":7477,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7479,"t":"code","b":[138],"m":"txa"},{"a":7480,"l":"b_1D38","t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x","x":[7493]},{"a":7483,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":7486,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":7489,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":7492,"t":"code","b":[202],"m":"dex"},{"a":7493,"t":"code","b":[208,241],"m":"bne","oa":7480,"o":"b_1D38"},{"a":7495,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7497,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":7500,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":7502,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":7505,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":7507,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7510,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":7512,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7515,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":7517,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":7520,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":7522,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":7525,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7527,"l":"j_1D67","t":"code","b":[189,20,29],"m":"lda","oa":7444,"o":"str_select_mission,x","x":[7541]},{"a":7530,"t":"code","b":[240,12],"m":"beq","oa":7544,"o":"b_1D78"},{"a":7532,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7534,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7537,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7540,"t":"code","b":[232],"m":"inx"},{"a":7541,"t":"code","b":[76,103,29],"m":"jmp","oa":7527,"o":"j_1D67"},{"a":7544,"l":"b_1D78","t":"code","b":[169,18],"m":"lda","o":"#$12","x":[7530]},{"a":7546,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7549,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":7551,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7554,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":7556,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":7559,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":7561,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":7564,"t":"code","b":[169,52],"m":"lda","o":"#$34"},{"a":7566,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7569,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7572,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7574,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":7577,"l":"mission_select_input","c":"the mission-select screen's loop: up steps the mission number on, down steps it back, each wrapping round 1 to 4 and redrawing the digit, and fire shows the briefing at $1E3F and returns the chosen mission in A. Between steps it idles about three tenths of a second ($1DD7, in $1DBE).","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[7611]},{"a":7580,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":7582,"t":"code","b":[208,7],"m":"bne","oa":7591,"o":"b_1DA7"},{"a":7584,"t":"code","b":[32,63,30],"m":"jsr","oa":7743,"o":"mission_briefing"},{"a":7587,"t":"code","b":[173,54,8],"m":"lda","oa":2102,"o":"mission_number"},{"a":7590,"t":"code","b":[96],"m":"rts"},{"a":7591,"l":"b_1DA7","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[7582,7649]},{"a":7594,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":7596,"t":"code","b":[208,3],"m":"bne","oa":7601,"o":"b_1DB1"},{"a":7598,"t":"code","b":[76,228,29],"m":"jmp","oa":7652,"o":"mission_number_up"},{"a":7601,"l":"b_1DB1","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[7596]},{"a":7604,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":7606,"t":"code","b":[208,3],"m":"bne","oa":7611,"o":"b_1DBB"},{"a":7608,"t":"code","b":[76,246,29],"m":"jmp","oa":7670,"o":"mission_number_down"},{"a":7611,"l":"b_1DBB","t":"code","b":[76,153,29],"m":"jmp","oa":7577,"o":"mission_select_input","x":[7606]},{"a":7614,"l":"draw_mission_digit","c":"draws the mission number at row 10, column 18. The digit shown is five minus $0836, so the number on the screen counts the other way from the number the game keeps: the screen's 1 is $0836 = 4.","t":"code","b":[169,18],"m":"lda","o":"#$12","x":[7667,7683]},{"a":7616,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7619,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":7621,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7624,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":7626,"t":"code","b":[56],"m":"sec"},{"a":7627,"t":"code","b":[237,54,8],"m":"sbc","oa":2102,"o":"mission_number"},{"a":7630,"t":"code","b":[24],"m":"clc"},{"a":7631,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":7633,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7636,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7639,"t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":7641,"l":"b_1DD9","t":"code","b":[160,224],"m":"ldy","o":"#$E0","x":[7647]},{"a":7643,"l":"b_1DDB","t":"code","b":[136],"m":"dey","x":[7644]},{"a":7644,"t":"code","b":[208,253],"m":"bne","oa":7643,"o":"b_1DDB"},{"a":7646,"t":"code","b":[202],"m":"dex"},{"a":7647,"t":"code","b":[208,248],"m":"bne","oa":7641,"o":"b_1DD9"},{"a":7649,"t":"code","b":[76,167,29],"m":"jmp","oa":7591,"o":"b_1DA7"},{"a":7652,"l":"mission_number_up","c":"steps $0836 on by one, wrapping from 4 back to 1, and redraws the digit","t":"code","b":[238,54,8],"m":"inc","oa":2102,"o":"mission_number","x":[7598]},{"a":7655,"t":"code","b":[173,54,8],"m":"lda","oa":2102,"o":"mission_number"},{"a":7658,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":7660,"t":"code","b":[208,2],"m":"bne","oa":7664,"o":"b_1DF0"},{"a":7662,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":7664,"l":"b_1DF0","t":"code","b":[141,54,8],"m":"sta","oa":2102,"o":"mission_number","x":[7660]},{"a":7667,"t":"code","b":[76,190,29],"m":"jmp","oa":7614,"o":"draw_mission_digit"},{"a":7670,"l":"mission_number_down","c":"steps $0836 back by one, wrapping from 1 round to 4, and redraws the digit","t":"code","b":[206,54,8],"m":"dec","oa":2102,"o":"mission_number","x":[7608]},{"a":7673,"t":"code","b":[173,54,8],"m":"lda","oa":2102,"o":"mission_number"},{"a":7676,"t":"code","b":[208,2],"m":"bne","oa":7680,"o":"b_1E00"},{"a":7678,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":7680,"l":"b_1E00","t":"code","b":[141,54,8],"m":"sta","oa":2102,"o":"mission_number","x":[7676]},{"a":7683,"t":"code","b":[76,190,29],"m":"jmp","oa":7614,"o":"draw_mission_digit"},{"a":7686,"l":"mission_text","c":"\"MISSION\", the heading of the mission briefing","t":"byte","b":[77,73,83,83,73,79,78,0],"x":[7798]},{"a":7694,"l":"str_mission_heading","c":"the second line of the briefing's heading, ASCII ending $00","t":"byte","b":[45,45,45,45,45,45,45,45],"x":[7827]},{"a":7702,"t":"byte","b":[45,0]},{"a":7704,"l":"mission_rescue_text","c":"\"RESCUE THE PRISONER\"","t":"byte","b":[82,69,83,67,85,69,32,84],"x":[7888]},{"a":7712,"t":"byte","b":[72,69,32,80,82,73,83,79]},{"a":7720,"t":"byte","b":[78,69,82,0]},{"a":7724,"l":"mission_blow_up_text","c":"\"BLOW UP THE CASTLE\"","t":"byte","b":[66,76,79,87,32,85,80,32],"x":[7917]},{"a":7732,"t":"byte","b":[84,72,69,32,67,65,83,84]},{"a":7740,"t":"byte","b":[76,69,0]},{"a":7743,"l":"mission_briefing","c":"the mission briefing: shown when fire is pressed on the mission select ($1DA0), and through $0833 at $4A4E when a prisoner has been brought home, for the next mission. It clears colour memory, which hides what was on the screen, draws \"MISSION\", the dashes under it, the number and then one of the two orders - \"BLOW UP THE CASTLE\" when $0836 is 4, \"RESCUE THE PRISONER\" otherwise - and holds it for about two and a quarter seconds. Because the digit drawn is five minus $0836, the screen that reads MISSION 1 is the one that orders the castle blown up.","t":"code","b":[169,107],"m":"lda","o":"#$6B","x":[2099,7584]},{"a":7745,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":7748,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7750,"t":"code","b":[138],"m":"txa"},{"a":7751,"l":"b_1E47","t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x","x":[7764]},{"a":7754,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":7757,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":7760,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":7763,"t":"code","b":[202],"m":"dex"},{"a":7764,"t":"code","b":[208,241],"m":"bne","oa":7751,"o":"b_1E47"},{"a":7766,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":7768,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":7771,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":7773,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":7776,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":7778,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7781,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":7783,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7786,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":7788,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":7791,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":7793,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":7796,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7798,"l":"j_1E76","t":"code","b":[189,6,30],"m":"lda","oa":7686,"o":"mission_text,x","x":[7812]},{"a":7801,"t":"code","b":[240,12],"m":"beq","oa":7815,"o":"b_1E87"},{"a":7803,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7805,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7808,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7811,"t":"code","b":[232],"m":"inx"},{"a":7812,"t":"code","b":[76,118,30],"m":"jmp","oa":7798,"o":"j_1E76"},{"a":7815,"l":"b_1E87","t":"code","b":[169,11],"m":"lda","o":"#$0B","x":[7801]},{"a":7817,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7820,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":7822,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7825,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7827,"l":"j_1E93","t":"code","b":[189,14,30],"m":"lda","oa":7694,"o":"str_mission_heading,x","x":[7841]},{"a":7830,"t":"code","b":[240,12],"m":"beq","oa":7844,"o":"b_1EA4"},{"a":7832,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7834,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7837,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7840,"t":"code","b":[232],"m":"inx"},{"a":7841,"t":"code","b":[76,147,30],"m":"jmp","oa":7827,"o":"j_1E93"},{"a":7844,"l":"b_1EA4","t":"code","b":[169,27],"m":"lda","o":"#$1B","x":[7830]},{"a":7846,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7849,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":7851,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7854,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":7856,"t":"code","b":[56],"m":"sec"},{"a":7857,"t":"code","b":[237,54,8],"m":"sbc","oa":2102,"o":"mission_number"},{"a":7860,"t":"code","b":[24],"m":"clc"},{"a":7861,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":7863,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7866,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7869,"t":"code","b":[173,54,8],"m":"lda","oa":2102,"o":"mission_number"},{"a":7872,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":7874,"t":"code","b":[240,29],"m":"beq","oa":7905,"o":"b_1EE1"},{"a":7876,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":7878,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7881,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":7883,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7886,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7888,"l":"j_1ED0","t":"code","b":[189,24,30],"m":"lda","oa":7704,"o":"mission_rescue_text,x","x":[7902]},{"a":7891,"t":"code","b":[240,41],"m":"beq","oa":7934,"o":"b_1EFE"},{"a":7893,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7895,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7898,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7901,"t":"code","b":[232],"m":"inx"},{"a":7902,"t":"code","b":[76,208,30],"m":"jmp","oa":7888,"o":"j_1ED0"},{"a":7905,"l":"b_1EE1","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[7874]},{"a":7907,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":7910,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":7912,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":7915,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":7917,"l":"j_1EED","t":"code","b":[189,44,30],"m":"lda","oa":7724,"o":"mission_blow_up_text,x","x":[7931]},{"a":7920,"t":"code","b":[240,12],"m":"beq","oa":7934,"o":"b_1EFE"},{"a":7922,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":7924,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":7927,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":7930,"t":"code","b":[232],"m":"inx"},{"a":7931,"t":"code","b":[76,237,30],"m":"jmp","oa":7917,"o":"j_1EED"},{"a":7934,"l":"b_1EFE","t":"code","b":[169,27],"m":"lda","o":"#$1B","x":[7891,7920]},{"a":7936,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":7939,"l":"briefing_delay","c":"holds the finished briefing on screen for about two and a quarter seconds before play begins: 255 times 255 passes of a short counted loop, with no test of the joystick. Nothing jumps here: the briefing at $1E3F runs on into it.","t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":7941,"l":"b_1F05","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[7954]},{"a":7943,"l":"b_1F07","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[7951]},{"a":7945,"l":"b_1F09","t":"code","b":[56],"m":"sec","x":[7948]},{"a":7946,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":7948,"t":"code","b":[208,251],"m":"bne","oa":7945,"o":"b_1F09"},{"a":7950,"t":"code","b":[136],"m":"dey"},{"a":7951,"t":"code","b":[208,246],"m":"bne","oa":7943,"o":"b_1F07"},{"a":7953,"t":"code","b":[202],"m":"dex"},{"a":7954,"t":"code","b":[208,241],"m":"bne","oa":7941,"o":"b_1F05"},{"a":7956,"t":"code","b":[96],"m":"rts"},{"a":7957,"l":"well_done_text","c":"\"WELL DONE !\"","t":"byte","b":[87,69,76,76,32,68,79,78],"x":[8074]},{"a":7965,"t":"byte","b":[69,32,33,0]},{"a":7969,"l":"mission_success_text","c":"\"YOUR MISSION WAS A\" and, after it, \"SUCCESS\"","t":"byte","b":[89,79,85,82,32,77,73,83],"x":[8113]},{"a":7977,"t":"byte","b":[83,73,79,78,32,87,65,83]},{"a":7985,"t":"byte","b":[32,65,0]},{"a":7988,"l":"str_success","c":"\"SUCCESS\", ASCII ending $00, the last line of the end-of-mission screen","t":"byte","b":[83,85,67,67,69,83,83,0],"x":[8152]},{"a":7996,"l":"mission_result_screen","c":"the screen shown when the castle has been destroyed: its only caller is $4AA0, through $0837, after $4A5C. It blanks the display, puts the screen back on the big alphabet's character set at $2800 in single-colour text, clears colour memory and draws \"WELL DONE !\", \"YOUR MISSION WAS A\" and \"SUCCESS\", each in its own place, then holds it for about fifteen seconds ($1FE9) before returning to $4AA3, which goes to the high score check.","t":"code","b":[169,107],"m":"lda","o":"#$6B","x":[2103]},{"a":7998,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":8001,"t":"code","b":[173,2,221],"m":"lda","o":"cia2_ddr_a"},{"a":8004,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":8006,"t":"code","b":[141,2,221],"m":"sta","o":"cia2_ddr_a"},{"a":8009,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":8012,"t":"code","b":[41,252],"m":"and","o":"#$FC"},{"a":8014,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":8016,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":8019,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":8021,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":8024,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":8026,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":8029,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":8031,"t":"code","b":[138],"m":"txa"},{"a":8032,"l":"b_1F60","t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x","x":[8045]},{"a":8035,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":8038,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":8041,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":8044,"t":"code","b":[202],"m":"dex"},{"a":8045,"t":"code","b":[208,241],"m":"bne","oa":8032,"o":"b_1F60"},{"a":8047,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":8049,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":8052,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":8054,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":8057,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":8059,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":8062,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":8064,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":8067,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":8069,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":8072,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":8074,"l":"j_1F8A","t":"code","b":[189,21,31],"m":"lda","oa":7957,"o":"well_done_text,x","x":[8088]},{"a":8077,"t":"code","b":[240,12],"m":"beq","oa":8091,"o":"b_1F9B"},{"a":8079,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":8081,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":8084,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":8087,"t":"code","b":[232],"m":"inx"},{"a":8088,"t":"code","b":[76,138,31],"m":"jmp","oa":8074,"o":"j_1F8A"},{"a":8091,"l":"b_1F9B","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[8077]},{"a":8093,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":8096,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":8098,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":8101,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":8103,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":8106,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":8108,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":8111,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":8113,"l":"j_1FB1","t":"code","b":[189,33,31],"m":"lda","oa":7969,"o":"mission_success_text,x","x":[8127]},{"a":8116,"t":"code","b":[240,12],"m":"beq","oa":8130,"o":"b_1FC2"},{"a":8118,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":8120,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":8123,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":8126,"t":"code","b":[232],"m":"inx"},{"a":8127,"t":"code","b":[76,177,31],"m":"jmp","oa":8113,"o":"j_1FB1"},{"a":8130,"l":"b_1FC2","t":"code","b":[169,12],"m":"lda","o":"#$0C","x":[8116]},{"a":8132,"t":"code","b":[141,128,10],"m":"sta","oa":2688,"o":"plot_col"},{"a":8135,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":8137,"t":"code","b":[141,129,10],"m":"sta","oa":2689,"o":"plot_row"},{"a":8140,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":8142,"t":"code","b":[141,130,10],"m":"sta","oa":2690,"o":"plot_colour_top"},{"a":8145,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":8147,"t":"code","b":[141,131,10],"m":"sta","oa":2691,"o":"plot_colour_bottom"},{"a":8150,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":8152,"l":"j_1FD8","t":"code","b":[189,52,31],"m":"lda","oa":7988,"o":"str_success,x","x":[8166]},{"a":8155,"t":"code","b":[240,12],"m":"beq","oa":8169,"o":"b_1FE9"},{"a":8157,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":8159,"t":"code","b":[141,127,10],"m":"sta","oa":2687,"o":"plot_char"},{"a":8162,"t":"code","b":[32,132,10],"m":"jsr","oa":2692,"o":"plot_char_2x2"},{"a":8165,"t":"code","b":[232],"m":"inx"},{"a":8166,"t":"code","b":[76,216,31],"m":"jmp","oa":8152,"o":"j_1FD8"},{"a":8169,"l":"b_1FE9","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[8155]},{"a":8171,"l":"b_1FEB","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[8184]},{"a":8173,"l":"b_1FED","t":"code","b":[169,32],"m":"lda","o":"#$20","x":[8181]},{"a":8175,"l":"b_1FEF","t":"code","b":[56],"m":"sec","x":[8178]},{"a":8176,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":8178,"t":"code","b":[208,251],"m":"bne","oa":8175,"o":"b_1FEF"},{"a":8180,"t":"code","b":[136],"m":"dey"},{"a":8181,"t":"code","b":[208,246],"m":"bne","oa":8173,"o":"b_1FED"},{"a":8183,"t":"code","b":[202],"m":"dex"},{"a":8184,"t":"code","b":[208,241],"m":"bne","oa":8171,"o":"b_1FEB"},{"a":8186,"t":"code","b":[96],"m":"rts"},{"a":8187,"t":"gap","n":5},{"a":8192,"l":"tiles_charset","c":"the play screen's character set, 256 tiles of eight bytes. It holds the castle's walls, floors, doors, furniture, the figures, the pickups, the status panel's frame, the ten letters the panel needs and the digits at $F0 to $F9. facts.md has the letters' codes.","t":"byte","b":[23,21,21,196,113,81,81,76],"x":[4728,5149]},{"a":8200,"t":"byte","b":[131,17,17,17,1,17,17,255]},{"a":8208,"t":"byte","b":[1,5,17,69,21,81,81,68]},{"a":8216,"t":"byte","b":[21,20,80,68,80,64,80,64]},{"a":8224,"t":"byte","b":[16,0,16,64,80,64,80,64]},{"a":8232,"t":"byte","b":[0,0,0,68,17,81,81,68]},{"a":8240,"t":"byte","b":[0,0,0,64,16,64,80,64]},{"a":8248,"t":"byte","b":[16,0,16,68,81,81,81,68]},{"a":8256,"t":"byte","b":[22,0,60,60,0,1,81,88]},{"a":8264,"t":"byte","b":[127,191,127,191,127,191,127,191]},{"a":8272,"t":"byte","b":[255,255,255,255,255,255,85,170]},{"a":8280,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":8288,"t":"byte","b":[15,63,97,76,86,218,76,161]},{"a":8296,"t":"byte","b":[240,252,134,50,107,91,51,135]},{"a":8304,"t":"byte","b":[97,204,90,214,76,97,63,10]},{"a":8312,"t":"byte","b":[135,51,91,107,50,134,124,160]},{"a":8320,"l":"tile_door_key","c":"tile $10, the door key ($4D62 tests it), which the supplies screen borrows, two tiles, for the picture beside DOOR KEY","t":"byte","b":[21,0,255,170,208,209,81,4],"x":[5132]},{"a":8328,"t":"byte","b":[185,221,205,205,221,57,65,68]},{"a":8336,"l":"tile_ammo","c":"the tiles from $12, a box of ammunition ($4D82 tests $12); the supplies screen borrows two of them for the picture beside AMMUNITION","t":"byte","b":[31,63,63,63,63,63,21,0],"x":[5138]},{"a":8344,"t":"byte","b":[253,255,255,255,255,255,85,0]},{"a":8352,"l":"tile_painting","c":"the tiles from $14, a painting ($4D66 tests $14); the valuables screen borrows four of them, $14 to $17","t":"byte","b":[21,63,53,48,48,49,48,49],"x":[4739]},{"a":8360,"t":"byte","b":[21,255,87,3,115,147,99,83]},{"a":8368,"t":"byte","b":[51,50,49,48,53,63,0,64]},{"a":8376,"t":"byte","b":[147,227,83,3,87,255,0,1]},{"a":8384,"l":"tile_vase","c":"the tiles from $18, a vase ($4D6D tests $18); the valuables screen borrows four of them, $18 to $1B","t":"byte","b":[21,32,15,63,104,71,12,232],"x":[4745]},{"a":8392,"t":"byte","b":[8,76,71,0,1,0,64,80]},{"a":8400,"t":"byte","b":[32,108,204,24,113,5,1,68]},{"a":8408,"t":"byte","b":[21,5,161,248,29,205,96,44]},{"a":8416,"l":"tile_cold_food","c":"the tiles from $1C, a plate of cold food ($4D74 tests $1C); the supplies screen borrows four of them, $1C to $1F","t":"byte","b":[21,21,23,77,100,39,31,31],"x":[5115]},{"a":8424,"t":"byte","b":[21,21,245,93,5,195,254,235]},{"a":8432,"t":"byte","b":[22,20,39,33,24,6,64,64]},{"a":8440,"t":"byte","b":[128,6,54,54,89,164,1,5]},{"a":8448,"l":"tiles_charset_1b","c":"more of the play screen's character set, the tiles from $20","t":"byte","b":[85,106,85,107,107,107,107,127],"x":[5121]},{"a":8456,"t":"byte","b":[85,170,85,233,233,233,233,253]},{"a":8464,"t":"byte","b":[253,233,233,233,233,85,85,0]},{"a":8472,"t":"byte","b":[127,107,107,107,107,85,85,0]},{"a":8480,"t":"byte","b":[57,17,1,1,17,17,17,255]},{"a":8488,"t":"byte","b":[147,17,17,17,17,17,147,255]},{"a":8496,"t":"byte","b":[17,17,17,1,17,17,17,255]},{"a":8504,"t":"byte","b":[199,199,199,199,199,199,199,255]},{"a":8512,"l":"tiles_charset_1c","c":"more of the play screen's character set, the tiles from $28","t":"byte","b":[21,20,19,76,49,49,56,76],"x":[4751]},{"a":8520,"t":"byte","b":[22,21,197,48,76,72,76,8]},{"a":8528,"t":"byte","b":[8,12,7,76,76,71,80,68]},{"a":8536,"t":"byte","b":[113,197,69,196,193,65,17,68]},{"a":8544,"t":"byte","b":[1,69,199,199,199,199,199,255]},{"a":8552,"t":"byte","b":[145,9,7,131,193,33,19,255]},{"a":8560,"t":"byte","b":[17,19,23,31,23,19,17,255]},{"a":8568,"t":"byte","b":[17,29,31,19,31,29,17,255]},{"a":8576,"l":"tiles_charset_2","c":"more of the play screen's character set: the tiles from $30, among them the two halves of the doors, $43 and $44","t":"byte","b":[0,0,106,133,27,31,27,31]},{"a":8584,"t":"byte","b":[0,0,169,82,228,244,244,244]},{"a":8592,"t":"byte","b":[27,30,27,26,5,64,192,176]},{"a":8600,"t":"byte","b":[244,244,180,228,80,1,8,15]},{"a":8608,"t":"byte","b":[21,21,20,65,70,91,27,26]},{"a":8616,"t":"byte","b":[22,21,21,68,145,229,228,164]},{"a":8624,"t":"byte","b":[21,20,25,22,70,69,81,84]},{"a":8632,"t":"byte","b":[84,20,84,100,144,145,69,21]},{"a":8640,"t":"byte","b":[22,21,21,132,96,83,83,68]},{"a":8648,"t":"byte","b":[22,21,21,0,127,208,6,64]},{"a":8656,"t":"byte","b":[22,21,21,0,253,7,164,1]},{"a":8664,"t":"byte","b":[22,21,21,68,17,193,193,8]},{"a":8672,"t":"byte","b":[0,10,95,42,85,42,85,0]},{"a":8680,"t":"byte","b":[0,168,252,174,86,170,84,0]},{"a":8688,"t":"byte","b":[22,21,21,132,96,83,83,68]},{"a":8696,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":8704,"t":"byte","b":[22,21,21,0,127,208,6,64]},{"a":8712,"t":"byte","b":[0,252,254,188,110,188,212,168]},{"a":8720,"t":"byte","b":[0,63,95,47,93,46,85,42]},{"a":8728,"t":"byte","b":[16,0,16,64,80,64,80,64]},{"a":8736,"t":"byte","b":[107,107,107,107,107,107,107,107]},{"a":8744,"t":"byte","b":[149,255,170,170,170,170,85,0]},{"a":8752,"t":"byte","b":[0,0,0,68,17,81,81,68]},{"a":8760,"t":"byte","b":[85,170,255,255,255,255,255,85]},{"a":8768,"t":"byte","b":[0,0,0,68,17,81,81,68]},{"a":8776,"t":"byte","b":[16,0,16,64,80,64,80,64]},{"a":8784,"t":"byte","b":[126,126,126,126,126,126,126,126]},{"a":8792,"t":"byte","b":[0,170,255,85,255,85,255,85]},{"a":8800,"t":"byte","b":[71,24,34,77,94,189,190,191]},{"a":8808,"t":"byte","b":[226,24,5,2,50,17,129,81]},{"a":8816,"t":"byte","b":[191,191,95,95,39,24,71,32]},{"a":8824,"t":"byte","b":[233,241,234,242,229,24,226,4]},{"a":8832,"t":"byte","b":[71,27,48,80,64,160,138,148]},{"a":8840,"t":"byte","b":[228,152,28,50,6,3,5,3]},{"a":8848,"t":"byte","b":[170,149,74,85,34,24,71,160]},{"a":8856,"t":"byte","b":[7,15,6,2,12,120,224,10]},{"a":8864,"t":"byte","b":[21,4,195,60,195,0,0,170]},{"a":8872,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":8880,"t":"byte","b":[15,31,15,31,15,31,15,31]},{"a":8888,"t":"byte","b":[255,255,255,85,128,255,242,255]},{"a":8896,"t":"byte","b":[254,255,255,95,47,159,175,159]},{"a":8904,"t":"byte","b":[15,31,15,31,15,23,10,0]},{"a":8912,"t":"byte","b":[245,255,255,255,255,255,170,0]},{"a":8920,"t":"byte","b":[175,159,239,255,255,255,170,0]},{"a":8928,"t":"byte","b":[175,255,255,255,255,255,170,0]},{"a":8936,"t":"byte","b":[255,255,255,85,0,255,23,255]},{"a":8944,"t":"byte","b":[43,23,43,23,42,21,0,0]},{"a":8952,"t":"byte","b":[239,239,255,255,171,85,0,0]},{"a":8960,"t":"byte","b":[63,31,47,23,43,23,43,23]},{"a":8968,"t":"byte","b":[255,255,255,255,15,239,239,239]},{"a":8976,"t":"byte","b":[54,54,54,54,53,63,0,0]},{"a":8984,"t":"byte","b":[3,67,3,67,83,255,0,0]},{"a":8992,"t":"byte","b":[63,53,52,52,52,52,53,54]},{"a":9000,"t":"byte","b":[255,87,3,3,3,3,3,67]},{"a":9008,"l":"tiles_charset_1d","c":"more of the play screen's character set, the tiles from $66: the chest holding jewels ($66 to $69) and the chest holding explosives ($6A to $6D). The valuables screen borrows $66 to $69 for the picture beside GEMSTONES.","t":"byte","b":[48,48,49,55,49,63,0,0],"x":[4757]},{"a":9016,"t":"byte","b":[19,119,19,67,3,255,0,0]},{"a":9024,"t":"byte","b":[63,53,48,49,48,49,55,49]},{"a":9032,"t":"byte","b":[255,87,67,211,83,119,83,3]},{"a":9040,"t":"byte","b":[51,49,48,51,48,63,0,0]},{"a":9048,"t":"byte","b":[243,83,3,243,3,255,0,0]},{"a":9056,"t":"byte","b":[63,48,51,49,48,51,49,48]},{"a":9064,"t":"byte","b":[255,3,243,83,3,243,83,3]},{"a":9072,"l":"tiles_charset_3","c":"more of the play screen's character set, the tiles from $6E","t":"byte","b":[239,239,213,239,239,213,239,239]},{"a":9080,"t":"byte","b":[213,239,239,213,239,239,133,0]},{"a":9088,"t":"byte","b":[251,251,87,251,251,87,251,251]},{"a":9096,"t":"byte","b":[87,251,251,87,251,251,18,0]},{"a":9104,"t":"byte","b":[123,123,23,123,123,23,123,123]},{"a":9112,"t":"byte","b":[23,123,123,23,123,123,18,0]},{"a":9120,"t":"byte","b":[17,17,17,131,199,199,199,255]},{"a":9128,"t":"byte","b":[255,255,255,255,255,255,63,191]},{"a":9136,"t":"byte","b":[0,21,21,68,97,81,81,72]},{"a":9144,"t":"byte","b":[20,20,20,132,96,80,80,72]},{"a":9152,"t":"byte","b":[21,20,20,132,96,80,80,72]},{"a":9160,"t":"byte","b":[22,21,21,4,33,17,17,72]},{"a":9168,"t":"byte","b":[25,6,1,64,80,80,81,68]},{"a":9176,"t":"byte","b":[1,5,26,27,27,26,26,21]},{"a":9184,"t":"byte","b":[5,22,90,90,90,90,26,26]},{"a":9192,"t":"byte","b":[81,165,185,185,169,169,169,169]},{"a":9200,"t":"byte","b":[21,81,165,228,228,164,164,84]},{"a":9208,"t":"byte","b":[22,69,85,100,25,0,0,16]},{"a":9216,"l":"tiles_charset_high","c":"the upper half of the play screen's character set, tiles $80 to $FF: the figures up to $C0, the prisoner's sixteen tiles at $D4 to $E3, the empty tile $EF the play screen is cleared to, and the digits $F0 to $F9. The panel's frame is drawn from tiles below $80.","t":"byte","b":[165,84,81,10,255,0,21,86]},{"a":9224,"t":"byte","b":[20,101,228,17,251,0,64,128]},{"a":9232,"t":"byte","b":[25,6,1,64,0,65,81,65]},{"a":9240,"t":"byte","b":[22,133,85,100,25,64,85,169]},{"a":9248,"t":"byte","b":[165,84,81,10,255,0,0,0]},{"a":9256,"t":"byte","b":[20,101,228,17,251,0,0,0]},{"a":9264,"t":"byte","b":[21,21,21,64,69,27,27,26]},{"a":9272,"t":"byte","b":[21,21,21,4,65,145,148,153]},{"a":9280,"t":"byte","b":[21,16,5,26,26,26,26,26]},{"a":9288,"t":"byte","b":[86,1,80,164,233,233,169,169]},{"a":9296,"t":"byte","b":[26,26,26,22,5,16,21,27]},{"a":9304,"t":"byte","b":[169,169,165,148,80,1,69,134]},{"a":9312,"t":"byte","b":[27,26,5,0,64,81,81,68]},{"a":9320,"t":"byte","b":[153,148,81,4,17,81,81,68]},{"a":9328,"t":"byte","b":[22,21,21,196,209,209,209,84]},{"a":9336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":9344,"t":"byte","b":[192,193,213,132,17,197,65,68]},{"a":9352,"t":"byte","b":[22,21,21,132,97,81,80,65]},{"a":9360,"t":"byte","b":[22,21,21,4,81,164,229,228]},{"a":9368,"t":"byte","b":[21,21,21,128,69,22,86,150]},{"a":9376,"t":"byte","b":[69,64,5,26,106,106,106,106]},{"a":9384,"t":"byte","b":[85,4,81,148,229,228,165,164]},{"a":9392,"t":"byte","b":[165,164,149,84,81,4,85,228]},{"a":9400,"t":"byte","b":[106,106,90,21,5,64,149,102]},{"a":9408,"t":"byte","b":[229,164,81,4,17,81,81,68]},{"a":9416,"t":"byte","b":[22,6,1,0,0,64,81,68]},{"a":9424,"t":"byte","b":[2,2,2,66,80,81,81,68]},{"a":9432,"t":"byte","b":[2,2,2,2,2,66,66,66]},{"a":9440,"t":"byte","b":[82,97,98,82,82,82,18,2]},{"a":9448,"t":"byte","b":[26,27,27,26,26,5,0,64]},{"a":9456,"t":"byte","b":[90,90,26,26,22,21,5,0]},{"a":9464,"t":"byte","b":[169,169,169,169,165,85,84,0]},{"a":9472,"t":"byte","b":[165,228,229,164,165,81,1,4]},{"a":9480,"t":"byte","b":[5,0,255,1,6,26,21,21]},{"a":9488,"t":"byte","b":[84,0,255,64,145,70,26,26]},{"a":9496,"t":"byte","b":[22,0,217,22,81,164,185,185]},{"a":9504,"t":"byte","b":[22,21,21,68,145,100,21,84]},{"a":9512,"t":"byte","b":[21,0,255,1,6,26,21,21]},{"a":9520,"t":"byte","b":[21,0,255,64,145,70,26,26]},{"a":9528,"t":"byte","b":[21,1,216,22,81,164,185,185]},{"a":9536,"t":"byte","b":[145,81,17,68,129,100,21,84]},{"a":9544,"t":"byte","b":[22,21,21,132,96,69,26,22]},{"a":9552,"t":"byte","b":[22,21,21,132,33,65,145,144]},{"a":9560,"t":"byte","b":[22,21,21,132,96,81,86,69]},{"a":9568,"t":"byte","b":[22,21,21,132,1,81,165,164]},{"a":9576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":9584,"t":"byte","b":[153,154,150,213,213,213,212,192]},{"a":9592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":9600,"t":"byte","b":[22,21,21,132,97,81,80,65]},{"a":9608,"t":"byte","b":[22,21,21,196,209,209,209,152]},{"a":9616,"t":"byte","b":[150,149,149,196,225,225,225,192]},{"a":9624,"t":"byte","b":[212,217,213,149,21,213,148,80]},{"a":9632,"t":"byte","b":[22,21,21,132,97,81,81,64]},{"a":9640,"t":"byte","b":[22,21,21,132,97,81,64,17]},{"a":9648,"t":"byte","b":[18,2,2,66,80,81,81,68]},{"a":9656,"t":"byte","b":[2,18,82,146,146,82,82,82]},{"a":9664,"t":"byte","b":[2,17,2,66,2,2,2,2]},{"a":9672,"t":"byte","b":[17,16,20,68,81,81,81,68]},{"a":9680,"t":"byte","b":[105,84,0,68,81,81,81,68]},{"a":9688,"t":"byte","b":[90,21,0,68,81,81,81,68]},{"a":9696,"t":"byte","b":[70,5,21,68,97,81,81,68]},{"a":9704,"t":"byte","b":[0,16,20,68,81,81,81,68]},{"a":9712,"t":"byte","b":[1,21,21,132,97,81,81,72]},{"a":9720,"t":"byte","b":[22,21,21,4,33,17,81,72]},{"a":9728,"t":"byte","b":[27,22,27,22,90,69,80,85]},{"a":9736,"t":"byte","b":[184,184,168,164,84,81,65,8]},{"a":9744,"t":"byte","b":[30,30,26,22,21,69,81,64]},{"a":9752,"t":"byte","b":[248,248,248,248,164,81,5,85]},{"a":9760,"t":"byte","b":[0,139,7,145,229,248,248,248]},{"a":9768,"t":"byte","b":[44,114,80,134,91,31,27,31]},{"a":9776,"t":"byte","b":[0,168,81,70,70,25,20,21]},{"a":9784,"t":"byte","b":[0,42,69,69,145,96,20,84]},{"a":9792,"t":"byte","b":[0,144,42,128,255,0,17,68]},{"a":9800,"t":"byte","b":[0,1,64,2,255,0,17,68]},{"a":9808,"t":"byte","b":[22,21,213,196,17,17,81,72]},{"a":9816,"t":"byte","b":[16,16,19,71,80,80,81,68]},{"a":9824,"t":"byte","b":[63,16,16,23,22,16,42,0]},{"a":9832,"t":"byte","b":[255,0,6,255,144,0,170,0]},{"a":9840,"t":"byte","b":[255,0,255,169,0,0,170,0]},{"a":9848,"t":"byte","b":[255,2,162,2,2,2,170,0]},{"a":9856,"t":"byte","b":[47,31,31,31,31,31,21,0]},{"a":9864,"t":"byte","b":[255,255,240,252,255,255,85,0]},{"a":9872,"t":"byte","b":[255,255,195,15,63,255,85,0]},{"a":9880,"t":"byte","b":[255,255,255,255,255,255,85,0]},{"a":9888,"l":"prisoner_tiles","c":"the sixteen tiles of the play character set the prisoner is drawn with, $D4 to $E3. $6E5A copies 128 bytes over them from one of the eight frames at $F000 to $F380 each time it redraws him.","t":"byte","b":[21,21,21,64,69,31,31,31],"x":[28304]},{"a":9896,"t":"byte","b":[21,21,21,4,65,209,212,221]},{"a":9904,"t":"byte","b":[22,21,21,132,145,145,145,84]},{"a":9912,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":9920,"t":"byte","b":[21,16,5,31,31,31,31,31]},{"a":9928,"t":"byte","b":[86,1,80,244,173,173,253,253]},{"a":9936,"t":"byte","b":[157,159,151,149,149,149,148,128]},{"a":9944,"t":"byte","b":[22,21,21,4,33,17,17,72]},{"a":9952,"l":"tiles_charset_4","c":"more of the play screen's character set, the tiles from $DC","t":"byte","b":[31,31,31,23,5,16,21,31]},{"a":9960,"t":"byte","b":[253,253,245,212,80,1,69,199]},{"a":9968,"t":"byte","b":[128,129,149,132,17,197,65,68]},{"a":9976,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":9984,"t":"byte","b":[31,31,5,0,64,81,81,68]},{"a":9992,"t":"byte","b":[221,212,81,4,17,81,81,68]},{"a":10000,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":10008,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":10016,"t":"byte","b":[23,21,21,196,113,81,255,255]},{"a":10024,"t":"byte","b":[16,0,16,192,116,84,255,255]},{"a":10032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":10040,"t":"byte","b":[42,95,63,85,42,85,42,0]},{"a":10048,"t":"byte","b":[0,252,254,94,174,86,174,0]},{"a":10056,"t":"byte","b":[22,21,21,0,253,7,164,1]},{"a":10064,"t":"byte","b":[22,21,21,68,17,193,193,8]},{"a":10072,"t":"byte","b":[16,16,19,71,80,80,81,68]},{"a":10080,"t":"byte","b":[0,144,42,128,255,0,17,68]},{"a":10088,"t":"byte","b":[0,1,64,2,255,0,17,68]},{"a":10096,"t":"byte","b":[22,21,213,196,17,17,81,72]},{"a":10104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":10112,"t":"byte","b":[0,60,102,102,102,102,60,0]},{"a":10120,"t":"byte","b":[0,24,56,24,24,24,60,0]},{"a":10128,"t":"byte","b":[0,56,108,12,56,96,124,0]},{"a":10136,"t":"byte","b":[0,126,6,12,6,102,60,0]},{"a":10144,"t":"byte","b":[0,96,96,96,108,126,12,0]},{"a":10152,"t":"byte","b":[0,62,48,60,6,6,60,0]},{"a":10160,"t":"byte","b":[0,60,96,124,102,102,60,0]},{"a":10168,"t":"byte","b":[0,126,6,12,24,48,96,0]},{"a":10176,"t":"byte","b":[0,60,102,60,102,102,60,0]},{"a":10184,"t":"byte","b":[0,60,102,102,62,6,60,0]},{"a":10192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":10200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":10208,"t":"byte","b":[10,31,63,63,63,58,55,48]},{"a":10216,"t":"byte","b":[170,255,255,255,255,171,255,3]},{"a":10224,"t":"byte","b":[63,62,60,0,63,31,0,0]},{"a":10232,"t":"byte","b":[63,127,255,31,255,254,0,0]},{"a":10240,"l":"big_alphabet","c":"the character set the attract screens and the message line are written in. Each character of text is a block of two cells by two, so one letter takes four of these, and the code of its first cell is the ASCII value masked to six bits and multiplied by four.","t":"byte","b":[0,0,0,0,0,1,3,7]},{"a":10248,"t":"byte","b":[15,19,11,5,3,1,0,0]},{"a":10256,"t":"byte","b":[0,0,0,0,0,0,128,192]},{"a":10264,"t":"byte","b":[224,240,224,192,128,0,0,0]},{"a":10272,"t":"byte","b":[0,0,0,0,0,0,1,1]},{"a":10280,"t":"byte","b":[0,6,12,25,48,112,0,0]},{"a":10288,"t":"byte","b":[0,0,0,0,0,0,128,192]},{"a":10296,"t":"byte","b":[224,112,56,252,14,7,0,0]},{"a":10304,"t":"byte","b":[0,0,0,0,0,119,48,48]},{"a":10312,"t":"byte","b":[48,55,48,48,48,119,0,0]},{"a":10320,"t":"byte","b":[0,0,0,0,0,248,28,14]},{"a":10328,"t":"byte","b":[28,248,28,14,28,248,0,0]},{"a":10336,"t":"byte","b":[0,0,0,0,0,14,56,112]},{"a":10344,"t":"byte","b":[112,112,112,112,56,14,0,0]},{"a":10352,"t":"byte","b":[0,0,0,0,0,240,28,14]},{"a":10360,"t":"byte","b":[0,0,0,14,28,240,0,0]},{"a":10368,"t":"byte","b":[0,0,0,0,0,119,48,48]},{"a":10376,"t":"byte","b":[48,48,48,48,48,119,0,0]},{"a":10384,"t":"byte","b":[0,0,0,0,0,240,28,14]},{"a":10392,"t":"byte","b":[6,6,6,14,60,240,0,0]},{"a":10400,"t":"byte","b":[0,0,0,0,0,119,48,48]},{"a":10408,"t":"byte","b":[48,55,48,48,48,119,0,0]},{"a":10416,"t":"byte","b":[0,0,0,0,0,254,14,2]},{"a":10424,"t":"byte","b":[32,224,32,2,14,254,0,0]},{"a":10432,"t":"byte","b":[0,0,0,0,0,119,48,48]},{"a":10440,"t":"byte","b":[48,55,48,48,48,120,0,0]},{"a":10448,"t":"byte","b":[0,0,0,0,0,254,14,2]},{"a":10456,"t":"byte","b":[32,224,32,0,0,0,0,0]},{"a":10464,"t":"byte","b":[0,0,0,0,0,14,56,112]},{"a":10472,"t":"byte","b":[96,96,96,112,56,14,0,0]},{"a":10480,"t":"byte","b":[0,0,0,0,0,240,28,14]},{"a":10488,"t":"byte","b":[0,0,62,46,28,240,0,0]},{"a":10496,"t":"byte","b":[0,0,0,0,0,120,48,48]},{"a":10504,"t":"byte","b":[48,55,48,48,48,120,0,0]},{"a":10512,"t":"byte","b":[0,0,0,0,0,30,12,12]},{"a":10520,"t":"byte","b":[12,252,12,12,12,30,0,0]},{"a":10528,"t":"byte","b":[0,0,0,0,0,3,1,1]},{"a":10536,"t":"byte","b":[1,1,1,1,1,3,0,0]},{"a":10544,"t":"byte","b":[0,0,0,0,0,192,128,128]},{"a":10552,"t":"byte","b":[128,128,128,128,128,192,0,0]},{"a":10560,"t":"byte","b":[0,0,0,0,0,7,1,0]},{"a":10568,"t":"byte","b":[0,0,112,112,96,59,0,0]},{"a":10576,"t":"byte","b":[0,0,0,0,0,248,224,192]},{"a":10584,"t":"byte","b":[192,192,192,192,192,128,0,0]},{"a":10592,"t":"byte","b":[0,0,0,0,0,120,48,48]},{"a":10600,"t":"byte","b":[48,51,48,48,48,120,0,0]},{"a":10608,"t":"byte","b":[0,0,0,0,0,60,48,96]},{"a":10616,"t":"byte","b":[192,128,192,96,48,60,0,0]},{"a":10624,"t":"byte","b":[0,0,0,0,0,120,48,48]},{"a":10632,"t":"byte","b":[48,48,48,48,48,119,0,0]},{"a":10640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":10648,"t":"byte","b":[0,0,0,4,12,252,0,0]},{"a":10656,"t":"byte","b":[0,0,0,0,0,120,56,60]},{"a":10664,"t":"byte","b":[54,51,49,48,48,120,0,0]},{"a":10672,"t":"byte","b":[0,0,0,0,0,30,12,76]},{"a":10680,"t":"byte","b":[204,140,12,12,12,30,0,0]},{"a":10688,"t":"byte","b":[0,0,0,0,0,120,28,46]},{"a":10696,"t":"byte","b":[51,49,48,48,48,120,0,0]},{"a":10704,"t":"byte","b":[0,0,0,0,0,30,12,12]},{"a":10712,"t":"byte","b":[12,140,204,116,56,30,0,0]},{"a":10720,"t":"byte","b":[0,0,0,0,0,14,56,112]},{"a":10728,"t":"byte","b":[96,96,96,96,56,14,0,0]},{"a":10736,"t":"byte","b":[0,0,0,0,0,112,28,6]},{"a":10744,"t":"byte","b":[6,6,6,14,28,112,0,0]},{"a":10752,"t":"byte","b":[0,0,0,0,0,119,48,48]},{"a":10760,"t":"byte","b":[48,48,55,48,48,120,0,0]},{"a":10768,"t":"byte","b":[0,0,0,0,0,248,28,14]},{"a":10776,"t":"byte","b":[14,28,240,0,0,0,0,0]},{"a":10784,"t":"byte","b":[0,0,0,0,0,14,56,112]},{"a":10792,"t":"byte","b":[96,96,96,96,56,14,0,0]},{"a":10800,"t":"byte","b":[0,0,0,0,0,112,28,6]},{"a":10808,"t":"byte","b":[6,6,6,118,12,118,0,0]},{"a":10816,"t":"byte","b":[0,0,0,0,0,119,48,48]},{"a":10824,"t":"byte","b":[48,48,55,48,48,120,0,0]},{"a":10832,"t":"byte","b":[0,0,0,0,0,248,28,14]},{"a":10840,"t":"byte","b":[14,28,240,112,24,30,0,0]},{"a":10848,"t":"byte","b":[0,0,0,0,0,30,112,96]},{"a":10856,"t":"byte","b":[112,62,0,96,120,30,0,0]},{"a":10864,"t":"byte","b":[0,0,0,0,0,120,30,6]},{"a":10872,"t":"byte","b":[0,124,14,6,14,124,0,0]},{"a":10880,"t":"byte","b":[0,0,0,0,0,125,97,65]},{"a":10888,"t":"byte","b":[1,1,1,1,3,7,0,0]},{"a":10896,"t":"byte","b":[0,0,0,0,0,190,134,130]},{"a":10904,"t":"byte","b":[128,128,128,128,192,224,0,0]},{"a":10912,"t":"byte","b":[0,0,0,0,0,120,48,48]},{"a":10920,"t":"byte","b":[48,48,48,16,24,14,0,0]},{"a":10928,"t":"byte","b":[0,0,0,0,0,30,12,12]},{"a":10936,"t":"byte","b":[12,12,12,8,24,112,0,0]},{"a":10944,"t":"byte","b":[0,0,0,0,0,124,56,24]},{"a":10952,"t":"byte","b":[12,12,6,6,3,3,0,0]},{"a":10960,"t":"byte","b":[0,0,0,0,0,124,48,48]},{"a":10968,"t":"byte","b":[32,96,64,64,0,128,0,0]},{"a":10976,"t":"byte","b":[0,0,0,0,0,123,49,24]},{"a":10984,"t":"byte","b":[24,12,12,6,6,3,0,0]},{"a":10992,"t":"byte","b":[0,0,0,0,0,158,140,140]},{"a":11000,"t":"byte","b":[200,192,96,96,48,48,0,0]},{"a":11008,"t":"byte","b":[0,0,0,0,0,60,12,6]},{"a":11016,"t":"byte","b":[3,1,0,6,12,60,0,0]},{"a":11024,"t":"byte","b":[0,0,0,0,0,60,48,96]},{"a":11032,"t":"byte","b":[0,128,192,96,48,60,0,0]},{"a":11040,"t":"byte","b":[0,0,0,0,0,120,24,12]},{"a":11048,"t":"byte","b":[6,3,1,1,1,3,0,0]},{"a":11056,"t":"byte","b":[0,0,0,0,0,30,24,48]},{"a":11064,"t":"byte","b":[32,0,128,128,128,192,0,0]},{"a":11072,"t":"byte","b":[0,0,0,0,0,31,24,16]},{"a":11080,"t":"byte","b":[0,1,3,7,14,28,0,0]},{"a":11088,"t":"byte","b":[0,0,0,0,0,28,56,112]},{"a":11096,"t":"byte","b":[224,192,128,4,12,60,0,0]},{"a":11104,"t":"byte","b":[0,0,0,0,85,106,85,85]},{"a":11112,"t":"byte","b":[85,85,85,85,85,0,0,0]},{"a":11120,"t":"byte","b":[0,0,0,0,84,164,100,100]},{"a":11128,"t":"byte","b":[100,100,100,84,84,0,0,0]},{"a":11136,"t":"byte","b":[0,0,0,0,85,106,111,111]},{"a":11144,"t":"byte","b":[111,111,111,106,85,0,0,0]},{"a":11152,"t":"byte","b":[0,0,0,0,84,164,228,228]},{"a":11160,"t":"byte","b":[228,228,228,164,84,0,0,0]},{"a":11168,"t":"byte","b":[0,0,0,0,0,3,3,6]},{"a":11176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11184,"t":"byte","b":[0,0,0,0,0,48,48,96]},{"a":11192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11200,"t":"byte","b":[0,0,0,0,0,1,3,7]},{"a":11208,"t":"byte","b":[15,1,1,1,1,1,0,0]},{"a":11216,"t":"byte","b":[0,0,0,0,0,128,192,224]},{"a":11224,"t":"byte","b":[240,128,128,128,128,128,0,0]},{"a":11232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11240,"t":"byte","b":[0,4,28,127,28,4,0,0]},{"a":11248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11256,"t":"byte","b":[0,0,0,254,0,0,0,0]},{"a":11264,"l":"big_alphabet_high","c":"the upper half of the big alphabet, which holds the digits, the punctuation and the cells the attract screens borrow for the item pictures. The pictures go in the sixteen at $2F80; the eight at $2F40 hold the frame cells the icons sit in, and $4016 clears all twenty-four.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11296,"t":"byte","b":[0,0,0,0,0,1,3,3]},{"a":11304,"t":"byte","b":[3,1,1,0,0,1,1,0]},{"a":11312,"t":"byte","b":[0,0,0,0,0,128,192,192]},{"a":11320,"t":"byte","b":[192,128,128,0,0,128,128,0]},{"a":11328,"t":"byte","b":[0,0,0,7,31,56,50,48]},{"a":11336,"t":"byte","b":[57,30,15,12,4,3,0,0]},{"a":11344,"t":"byte","b":[0,0,0,240,252,142,166,134]},{"a":11352,"t":"byte","b":[78,60,248,24,16,224,0,0]},{"a":11360,"t":"byte","b":[0,0,0,0,0,7,24,35]},{"a":11368,"t":"byte","b":[64,255,128,0,255,0,255,0]},{"a":11376,"t":"byte","b":[0,0,0,0,0,128,96,25]},{"a":11384,"t":"byte","b":[6,248,0,0,255,0,255,0]},{"a":11392,"t":"byte","b":[0,0,0,0,0,0,30,63]},{"a":11400,"t":"byte","b":[47,47,23,19,9,6,1,0]},{"a":11408,"t":"byte","b":[0,0,0,0,0,0,120,188]},{"a":11416,"t":"byte","b":[252,252,248,248,240,224,128,0]},{"a":11424,"t":"byte","b":[0,0,0,0,0,6,6,3]},{"a":11432,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11440,"t":"byte","b":[0,0,0,0,0,96,96,48]},{"a":11448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11456,"t":"byte","b":[0,0,0,0,0,3,3,6]},{"a":11464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11472,"t":"byte","b":[0,0,0,0,0,48,48,96]},{"a":11480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11488,"t":"byte","b":[0,0,0,0,0,1,7,15]},{"a":11496,"t":"byte","b":[31,23,23,19,14,0,1,0]},{"a":11504,"t":"byte","b":[0,0,0,0,0,128,224,240]},{"a":11512,"t":"byte","b":[248,248,248,120,176,128,192,0]},{"a":11520,"t":"byte","b":[0,0,0,0,0,0,0,14]},{"a":11528,"t":"byte","b":[28,56,112,56,28,14,0,0]},{"a":11536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11552,"t":"byte","b":[0,0,0,0,0,0,0,7]},{"a":11560,"t":"byte","b":[3,1,0,1,3,7,0,0]},{"a":11568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11576,"t":"byte","b":[128,192,224,192,128,0,0,0]},{"a":11584,"t":"byte","b":[0,63,63,48,48,48,48,48]},{"a":11592,"t":"byte","b":[48,48,48,48,48,63,63,0]},{"a":11600,"t":"byte","b":[0,254,254,6,6,6,6,6]},{"a":11608,"t":"byte","b":[6,6,6,6,6,254,254,0]},{"a":11616,"t":"byte","b":[0,255,255,0,0,0,0,0]},{"a":11624,"t":"byte","b":[6,6,6,6,6,6,6,6]},{"a":11632,"t":"byte","b":[0,0,0,0,0,255,255,0]},{"a":11640,"t":"byte","b":[48,48,48,48,48,48,48,48]},{"a":11648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11656,"t":"byte","b":[0,0,0,1,3,3,1,7]},{"a":11664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11672,"t":"byte","b":[0,0,0,128,192,192,128,0]},{"a":11680,"t":"byte","b":[0,0,0,0,0,0,127,42]},{"a":11688,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11696,"t":"byte","b":[0,0,0,0,0,0,252,168]},{"a":11704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11720,"t":"byte","b":[0,0,0,1,3,1,0,0]},{"a":11728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11736,"t":"byte","b":[0,0,0,128,192,128,0,0]},{"a":11744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":11776,"t":"byte","b":[0,0,0,0,0,14,56,112]},{"a":11784,"t":"byte","b":[112,112,112,112,56,14,0,0]},{"a":11792,"t":"byte","b":[0,0,0,0,0,112,28,14]},{"a":11800,"t":"byte","b":[14,14,14,14,28,112,0,0]},{"a":11808,"t":"byte","b":[0,0,0,0,0,0,1,3]},{"a":11816,"t":"byte","b":[1,1,1,1,1,3,0,0]},{"a":11824,"t":"byte","b":[0,0,0,0,0,128,128,128]},{"a":11832,"t":"byte","b":[128,128,128,128,128,192,0,0]},{"a":11840,"t":"byte","b":[0,0,0,0,0,14,56,56]},{"a":11848,"t":"byte","b":[16,7,31,32,31,63,0,0]},{"a":11856,"t":"byte","b":[0,0,0,0,0,240,28,12]},{"a":11864,"t":"byte","b":[28,248,192,4,252,248,0,0]},{"a":11872,"t":"byte","b":[0,0,0,0,0,14,56,56]},{"a":11880,"t":"byte","b":[16,1,16,56,56,14,0,0]},{"a":11888,"t":"byte","b":[0,0,0,0,0,240,56,28]},{"a":11896,"t":"byte","b":[60,248,60,28,56,240,0,0]},{"a":11904,"t":"byte","b":[0,0,0,0,0,1,5,13]},{"a":11912,"t":"byte","b":[25,49,125,1,1,3,0,0]},{"a":11920,"t":"byte","b":[0,0,0,0,0,192,192,192]},{"a":11928,"t":"byte","b":[192,192,224,192,192,224,0,0]},{"a":11936,"t":"byte","b":[0,0,0,0,0,63,79,96]},{"a":11944,"t":"byte","b":[126,0,0,96,120,30,0,0]},{"a":11952,"t":"byte","b":[0,0,0,0,0,252,240,0]},{"a":11960,"t":"byte","b":[240,28,14,14,28,240,0,0]},{"a":11968,"t":"byte","b":[0,0,0,0,0,15,60,120]},{"a":11976,"t":"byte","b":[112,113,112,120,60,15,0,0]},{"a":11984,"t":"byte","b":[0,0,0,0,0,120,14,6]},{"a":11992,"t":"byte","b":[0,120,14,6,14,120,0,0]},{"a":12000,"t":"byte","b":[0,0,0,0,0,95,127,64]},{"a":12008,"t":"byte","b":[1,3,7,7,7,2,0,0]},{"a":12016,"t":"byte","b":[0,0,0,0,0,144,224,0]},{"a":12024,"t":"byte","b":[128,128,128,128,0,0,0,0]},{"a":12032,"t":"byte","b":[0,0,0,0,0,30,112,96]},{"a":12040,"t":"byte","b":[112,62,112,96,112,30,0,0]},{"a":12048,"t":"byte","b":[0,0,0,0,0,240,28,12]},{"a":12056,"t":"byte","b":[28,248,28,12,28,240,0,0]},{"a":12064,"t":"byte","b":[0,0,0,0,0,31,120,112]},{"a":12072,"t":"byte","b":[120,30,0,96,120,30,0,0]},{"a":12080,"t":"byte","b":[0,0,0,0,0,240,60,28]},{"a":12088,"t":"byte","b":[28,156,28,28,56,224,0,0]},{"a":12096,"l":"borrowed_icon_frames","c":"the twenty-four cells the game clears at start-up and the attract screens fill, the first eight of them copied from the play set at $2000 as the frame an icon sits in","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[4731,16414]},{"a":12104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12160,"l":"borrowed_icon_1","c":"the first item picture the attract screens copy into the big alphabet's spare codes","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[4742,5118]},{"a":12168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12192,"l":"borrowed_icon_2","c":"the second item picture the attract screens copy there","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[4748,5135]},{"a":12200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12208,"l":"borrowed_icon_5","c":"code $F6, which the supplies screen fills with a copy of the play set's tile $00 from $2000","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[5152]},{"a":12216,"l":"borrowed_icon_6","c":"code $F7, which the supplies screen fills with a copy of the play set's tile $00 from $2000","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[5155]},{"a":12224,"l":"borrowed_icon_3","c":"the third item picture the attract screens copy there","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[4754,5141]},{"a":12232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12240,"l":"borrowed_icon_7","c":"code $FA, which the supplies screen fills with a copy of the play set's tile $00 from $2000","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[5158]},{"a":12248,"l":"borrowed_icon_8","c":"code $FB, which the supplies screen fills with a copy of the play set's tile $00 from $2000","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[5161]},{"a":12256,"l":"borrowed_icon_4","c":"the fourth item picture the attract screens copy there","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[4760,5124]},{"a":12264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12288,"l":"sprite_shapes","c":"the sprite shapes, 64 bytes each, which the pointers at $07F8 name as a number from $C0. The player is four sprites: $C0 to $DF are his walking shapes, four for each direction and pose ($4BB8), and $E0 to $EF the four for each direction while he fires ($46A5).","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12328,"t":"byte","b":[0,0,0,170,170,0,85,170]},{"a":12336,"t":"byte","b":[0,1,85,0,6,215,0,31]},{"a":12344,"t":"byte","b":[223,0,125,127,0,127,127,0]},{"a":12352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12384,"t":"byte","b":[0,5,0,0,31,64,0,127]},{"a":12392,"t":"byte","b":[208,0,87,208,0,157,208,0]},{"a":12400,"t":"byte","b":[126,80,0,223,144,0,245,228]},{"a":12408,"t":"byte","b":[0,253,125,0,237,253,0,255]},{"a":12416,"t":"byte","b":[0,123,127,0,123,127,0,127]},{"a":12424,"t":"byte","b":[127,0,127,127,0,127,127,0]},{"a":12432,"t":"byte","b":[31,127,0,5,95,0,1,85]},{"a":12440,"t":"byte","b":[0,7,159,0,7,223,0,7]},{"a":12448,"t":"byte","b":[223,0,7,223,0,1,85,0]},{"a":12456,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12480,"t":"byte","b":[237,237,0,253,237,0,253,253]},{"a":12488,"t":"byte","b":[0,253,253,0,253,253,0,253]},{"a":12496,"t":"byte","b":[244,0,245,80,0,85,64,0]},{"a":12504,"t":"byte","b":[231,144,0,247,208,0,247,208]},{"a":12512,"t":"byte","b":[0,247,208,0,85,64,0,0]},{"a":12520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12560,"l":"sprite_shapes_1a","c":"more sprite shapes, from 16 bytes into shape $C4, which begins at $3100","t":"byte","b":[0,0,0,0,0,0,1,85],"x":[32768]},{"a":12568,"t":"byte","b":[0,7,159,0,7,223,0,7]},{"a":12576,"t":"byte","b":[223,0,7,223,0,1,85,0]},{"a":12584,"t":"byte","b":[7,223,0,31,127,0,123,127]},{"a":12592,"t":"byte","b":[0,123,127,0,127,127,0,127]},{"a":12600,"t":"byte","b":[127,0,127,127,0,117,127,0]},{"a":12608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12624,"l":"sprite_shapes_1b","c":"more sprite shapes, from 16 bytes into shape $C5, which begins at $3140","t":"byte","b":[0,0,0,0,0,85,64,0]},{"a":12632,"t":"byte","b":[231,144,0,247,208,0,247,208]},{"a":12640,"t":"byte","b":[0,247,208,0,85,64,0,247]},{"a":12648,"t":"byte","b":[208,0,173,244,0,237,237,0]},{"a":12656,"t":"byte","b":[253,237,0,253,253,0,253,253]},{"a":12664,"t":"byte","b":[0,253,253,0,253,93,0,0]},{"a":12672,"t":"byte","b":[0,127,127,0,30,223,0,7]},{"a":12680,"t":"byte","b":[183,0,5,213,0,5,126,0]},{"a":12688,"t":"byte","b":[7,103,0,7,213,0,7,253]},{"a":12696,"t":"byte","b":[0,1,244,0,0,80,0,0]},{"a":12704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12736,"t":"byte","b":[253,253,0,247,180,0,222,208]},{"a":12744,"t":"byte","b":[0,85,64,0,170,64,0,170]},{"a":12752,"t":"byte","b":[170,0,85,84,0,0,0,0]},{"a":12760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12824,"t":"byte","b":[0,0,5,0,0,31,0,0]},{"a":12832,"t":"byte","b":[127,0,1,239,0,7,191,0]},{"a":12840,"t":"byte","b":[7,223,0,6,213,0,5,87]},{"a":12848,"t":"byte","b":[0,6,95,0,6,127,0,6]},{"a":12856,"t":"byte","b":[127,0,6,127,0,22,127,255]},{"a":12864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12888,"t":"byte","b":[80,0,0,244,0,0,252,0]},{"a":12896,"t":"byte","b":[0,236,80,0,237,228,0,253]},{"a":12904,"t":"byte","b":[244,0,93,244,0,245,84,0]},{"a":12912,"t":"byte","b":[253,228,0,189,244,0,189,244]},{"a":12920,"t":"byte","b":[0,253,244,0,253,244,0,0]},{"a":12928,"t":"byte","b":[0,118,127,0,246,127,0,246]},{"a":12936,"t":"byte","b":[127,0,246,95,0,246,87,0]},{"a":12944,"t":"byte","b":[246,213,0,118,247,0,22,231]},{"a":12952,"t":"byte","b":[0,6,127,0,6,31,0,6]},{"a":12960,"t":"byte","b":[7,0,6,1,0,4,0,0]},{"a":12968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":12992,"t":"byte","b":[253,244,0,253,244,0,253,244]},{"a":13000,"t":"byte","b":[0,253,244,0,245,84,0,93]},{"a":13008,"t":"byte","b":[228,0,253,244,0,173,244,0]},{"a":13016,"t":"byte","b":[237,80,0,253,0,0,244,0]},{"a":13024,"t":"byte","b":[0,80,0,0,0,0,0,0]},{"a":13032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13040,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13048,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13080,"t":"byte","b":[0,0,5,0,0,31,0,5]},{"a":13088,"t":"byte","b":[126,0,30,126,0,31,127,0]},{"a":13096,"t":"byte","b":[31,127,0,21,117,0,30,95]},{"a":13104,"t":"byte","b":[0,31,127,0,31,127,0,31]},{"a":13112,"t":"byte","b":[127,0,31,127,0,31,127,0]},{"a":13120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13136,"t":"byte","b":[0,0,0,0,0,0,128,0]},{"a":13144,"t":"byte","b":[64,128,0,209,128,0,245,128]},{"a":13152,"t":"byte","b":[0,253,128,0,219,144,0,222]},{"a":13160,"t":"byte","b":[180,0,95,188,0,213,188,0]},{"a":13168,"t":"byte","b":[245,188,0,189,188,0,189,188]},{"a":13176,"t":"byte","b":[0,253,188,0,253,180,0,0]},{"a":13184,"t":"byte","b":[0,31,127,0,31,127,0,31]},{"a":13192,"t":"byte","b":[127,0,31,127,0,21,95,0]},{"a":13200,"t":"byte","b":[30,117,0,31,127,0,31,126]},{"a":13208,"t":"byte","b":[0,5,126,0,0,127,0,0]},{"a":13216,"t":"byte","b":[31,0,0,5,0,0,0,0]},{"a":13224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13248,"t":"byte","b":[253,144,0,253,128,0,253,128]},{"a":13256,"t":"byte","b":[0,245,128,0,213,128,0,85]},{"a":13264,"t":"byte","b":[64,0,221,128,0,219,192,0]},{"a":13272,"t":"byte","b":[255,64,0,253,0,0,244,0]},{"a":13280,"t":"byte","b":[0,80,0,0,0,0,0,0]},{"a":13288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13312,"l":"sprite_shapes_2","c":"more sprite shapes, numbers $D0 to $DF","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13344,"t":"byte","b":[0,0,0,80,0,1,244,0]},{"a":13352,"t":"byte","b":[7,253,0,170,170,0,85,170]},{"a":13360,"t":"byte","b":[0,1,85,0,6,215,0,31]},{"a":13368,"t":"byte","b":[223,0,125,127,0,127,127,0]},{"a":13376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13384,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13408,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13416,"t":"byte","b":[0,0,64,0,0,149,0,0]},{"a":13424,"t":"byte","b":[126,64,0,223,144,0,245,228]},{"a":13432,"t":"byte","b":[0,253,125,0,237,253,0,0]},{"a":13440,"t":"byte","b":[0,123,127,0,123,127,0,127]},{"a":13448,"t":"byte","b":[127,0,127,127,0,127,127,0]},{"a":13456,"t":"byte","b":[31,127,0,5,95,0,1,85]},{"a":13464,"t":"byte","b":[0,7,159,0,7,223,0,7]},{"a":13472,"t":"byte","b":[223,0,7,223,0,1,85,0]},{"a":13480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13504,"t":"byte","b":[237,237,0,253,237,0,253,253]},{"a":13512,"t":"byte","b":[0,253,253,0,253,253,0,253]},{"a":13520,"t":"byte","b":[244,0,245,80,0,85,64,0]},{"a":13528,"t":"byte","b":[231,144,0,247,208,0,247,208]},{"a":13536,"t":"byte","b":[0,247,208,0,85,64,0,0]},{"a":13544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13584,"t":"byte","b":[0,0,0,0,0,0,1,85]},{"a":13592,"t":"byte","b":[0,7,159,0,7,223,0,7]},{"a":13600,"t":"byte","b":[223,0,7,223,0,1,85,0]},{"a":13608,"t":"byte","b":[7,223,0,31,127,0,123,127]},{"a":13616,"t":"byte","b":[0,123,127,0,127,127,0,127]},{"a":13624,"t":"byte","b":[127,0,127,127,0,117,127,0]},{"a":13632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13648,"t":"byte","b":[0,0,0,0,0,85,64,0]},{"a":13656,"t":"byte","b":[231,144,0,247,208,0,247,208]},{"a":13664,"t":"byte","b":[0,247,208,0,85,64,0,247]},{"a":13672,"t":"byte","b":[208,0,173,244,0,237,237,0]},{"a":13680,"t":"byte","b":[253,237,0,253,253,0,253,253]},{"a":13688,"t":"byte","b":[0,253,253,0,253,93,0,0]},{"a":13696,"t":"byte","b":[0,127,127,0,30,223,0,7]},{"a":13704,"t":"byte","b":[183,0,1,213,0,0,126,0]},{"a":13712,"t":"byte","b":[0,23,0,0,5,0,0,1]},{"a":13720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13760,"t":"byte","b":[253,253,0,247,180,0,222,208]},{"a":13768,"t":"byte","b":[0,85,64,0,170,64,0,170]},{"a":13776,"t":"byte","b":[170,0,85,84,0,127,208,0]},{"a":13784,"t":"byte","b":[31,64,0,5,0,0,0,0]},{"a":13792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13848,"t":"byte","b":[0,0,5,0,0,31,0,0]},{"a":13856,"t":"byte","b":[127,0,1,239,0,7,191,0]},{"a":13864,"t":"byte","b":[23,223,0,118,213,0,245,87]},{"a":13872,"t":"byte","b":[0,246,95,0,246,127,0,246]},{"a":13880,"t":"byte","b":[127,0,246,127,0,118,127,255]},{"a":13888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":13912,"t":"byte","b":[80,0,0,244,0,0,252,0]},{"a":13920,"t":"byte","b":[0,236,80,0,237,228,0,253]},{"a":13928,"t":"byte","b":[244,0,93,244,0,245,84,0]},{"a":13936,"t":"byte","b":[253,228,0,189,244,0,189,244]},{"a":13944,"t":"byte","b":[0,253,244,0,253,244,0,0]},{"a":13952,"t":"byte","b":[0,22,127,0,6,127,0,6]},{"a":13960,"t":"byte","b":[127,0,6,95,0,6,87,0]},{"a":13968,"t":"byte","b":[6,213,0,6,247,0,6,231]},{"a":13976,"t":"byte","b":[0,6,127,0,6,31,0,6]},{"a":13984,"t":"byte","b":[7,0,6,1,0,4,0,0]},{"a":13992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14016,"t":"byte","b":[253,244,0,253,244,0,253,244]},{"a":14024,"t":"byte","b":[0,253,244,0,245,84,0,93]},{"a":14032,"t":"byte","b":[228,0,253,244,0,173,244,0]},{"a":14040,"t":"byte","b":[237,80,0,253,0,0,244,0]},{"a":14048,"t":"byte","b":[0,80,0,0,0,0,0,0]},{"a":14056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14104,"t":"byte","b":[0,0,5,0,0,31,0,5]},{"a":14112,"t":"byte","b":[126,0,30,126,0,31,127,0]},{"a":14120,"t":"byte","b":[31,127,0,21,117,0,30,95]},{"a":14128,"t":"byte","b":[0,31,127,0,31,127,0,31]},{"a":14136,"t":"byte","b":[127,0,31,127,0,31,127,255]},{"a":14144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14160,"t":"byte","b":[0,0,0,0,0,0,128,0]},{"a":14168,"t":"byte","b":[64,128,0,209,128,0,245,128]},{"a":14176,"t":"byte","b":[0,253,128,0,219,128,0,222]},{"a":14184,"t":"byte","b":[128,0,95,128,0,213,128,0]},{"a":14192,"t":"byte","b":[245,128,0,189,128,0,189,128]},{"a":14200,"t":"byte","b":[0,253,144,0,253,180,0,0]},{"a":14208,"t":"byte","b":[0,31,127,0,31,127,0,31]},{"a":14216,"t":"byte","b":[127,0,31,127,0,21,95,0]},{"a":14224,"t":"byte","b":[30,117,0,31,127,0,31,126]},{"a":14232,"t":"byte","b":[0,5,126,0,0,127,0,0]},{"a":14240,"t":"byte","b":[31,0,0,5,0,0,0,0]},{"a":14248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14272,"t":"byte","b":[253,188,0,253,188,0,253,188]},{"a":14280,"t":"byte","b":[0,245,188,0,213,188,0,85]},{"a":14288,"t":"byte","b":[116,0,221,144,0,219,192,0]},{"a":14296,"t":"byte","b":[255,64,0,253,0,0,244,0]},{"a":14304,"t":"byte","b":[0,80,0,0,0,0,0,0]},{"a":14312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14336,"l":"sprite_shapes_3","c":"more sprite shapes, numbers $E0 to $EF: the player firing, four shapes for each of the four directions, which $46A5 points his sprites at","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14368,"t":"byte","b":[0,0,0,0,0,0,5,0]},{"a":14376,"t":"byte","b":[0,95,0,1,247,0,7,237]},{"a":14384,"t":"byte","b":[0,7,253,0,7,247,0,7]},{"a":14392,"t":"byte","b":[223,0,23,127,0,117,127,255]},{"a":14400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14408,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14416,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14424,"t":"byte","b":[0,0,0,0,0,0,3,0]},{"a":14432,"t":"byte","b":[0,6,0,0,86,0,0,230]},{"a":14440,"t":"byte","b":[0,0,246,0,0,214,0,0]},{"a":14448,"t":"byte","b":[70,0,0,214,0,0,246,0]},{"a":14456,"t":"byte","b":[0,254,0,0,238,0,0,0]},{"a":14464,"t":"byte","b":[1,245,127,1,213,127,0,93]},{"a":14472,"t":"byte","b":[127,0,125,127,0,61,127,0]},{"a":14480,"t":"byte","b":[29,127,0,31,95,0,7,85]},{"a":14488,"t":"byte","b":[0,7,245,0,1,213,0,1]},{"a":14496,"t":"byte","b":[125,0,0,120,0,0,116,0]},{"a":14504,"t":"byte","b":[0,16,0,0,0,0,0,0]},{"a":14512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14528,"t":"byte","b":[238,0,0,254,0,0,254,0]},{"a":14536,"t":"byte","b":[0,254,64,0,255,128,0,253]},{"a":14544,"t":"byte","b":[128,0,247,64,0,95,64,0]},{"a":14552,"t":"byte","b":[251,64,0,251,64,0,255,64]},{"a":14560,"t":"byte","b":[0,127,64,0,127,64,0,29]},{"a":14568,"t":"byte","b":[0,0,4,0,0,0,0,0]},{"a":14576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14608,"t":"byte","b":[0,64,0,1,209,0,7,181]},{"a":14616,"t":"byte","b":[0,7,237,0,7,235,0,7]},{"a":14624,"t":"byte","b":[251,0,7,255,0,7,117,0]},{"a":14632,"t":"byte","b":[7,95,0,29,127,0,31,127]},{"a":14640,"t":"byte","b":[0,6,127,0,6,127,0,6]},{"a":14648,"t":"byte","b":[127,0,6,127,0,6,127,255]},{"a":14656,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14664,"t":"byte","b":[0,0,0,0,0,0,0,112]},{"a":14672,"t":"byte","b":[0,0,224,0,0,220,0,0]},{"a":14680,"t":"byte","b":[91,0,0,126,0,0,126,192]},{"a":14688,"t":"byte","b":[0,95,128,0,87,192,0,245]},{"a":14696,"t":"byte","b":[112,0,173,224,0,237,240,0]},{"a":14704,"t":"byte","b":[253,208,0,253,64,0,253,0]},{"a":14712,"t":"byte","b":[0,253,64,0,253,208,0,0]},{"a":14720,"t":"byte","b":[0,6,127,0,6,95,0,6]},{"a":14728,"t":"byte","b":[71,0,6,65,0,6,213,0]},{"a":14736,"t":"byte","b":[6,127,0,6,255,0,6,85]},{"a":14744,"t":"byte","b":[0,6,0,0,4,0,0,0]},{"a":14752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14784,"t":"byte","b":[253,144,0,247,144,0,223,208]},{"a":14792,"t":"byte","b":[0,95,208,0,95,208,0,215]},{"a":14800,"t":"byte","b":[64,0,245,0,0,80,0,0]},{"a":14808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14848,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14880,"t":"byte","b":[0,0,0,0,0,21,85,0]},{"a":14888,"t":"byte","b":[42,170,0,87,85,0,29,23]},{"a":14896,"t":"byte","b":[0,28,95,0,29,127,0,29]},{"a":14904,"t":"byte","b":[127,0,29,127,0,29,127,0]},{"a":14912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":14944,"t":"byte","b":[0,20,0,0,125,84,0,159]},{"a":14952,"t":"byte","b":[253,0,93,255,64,244,123,64]},{"a":14960,"t":"byte","b":[253,127,64,189,239,64,189,237]},{"a":14968,"t":"byte","b":[0,253,253,0,253,253,0,0]},{"a":14976,"t":"byte","b":[0,29,127,0,29,127,0,29]},{"a":14984,"t":"byte","b":[127,0,31,95,0,31,215,0]},{"a":14992,"t":"byte","b":[31,245,0,7,237,0,1,245]},{"a":15000,"t":"byte","b":[0,0,85,0,0,1,0,0]},{"a":15008,"t":"byte","b":[1,0,0,0,0,0,0,0]},{"a":15016,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15040,"t":"byte","b":[253,116,0,253,84,0,253,88]},{"a":15048,"t":"byte","b":[0,253,95,0,245,222,0,87]},{"a":15056,"t":"byte","b":[223,0,87,245,0,95,244,0]},{"a":15064,"t":"byte","b":[119,208,0,253,64,0,249,0]},{"a":15072,"t":"byte","b":[0,125,0,0,20,0,0,0]},{"a":15080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15128,"t":"byte","b":[0,0,0,0,0,5,0,0]},{"a":15136,"t":"byte","b":[31,0,0,126,0,1,255,0]},{"a":15144,"t":"byte","b":[6,127,0,31,117,0,31,223]},{"a":15152,"t":"byte","b":[0,23,127,0,5,127,0,5]},{"a":15160,"t":"byte","b":[127,0,31,127,0,127,127,255]},{"a":15168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15184,"t":"byte","b":[0,0,0,0,0,80,0,0]},{"a":15192,"t":"byte","b":[244,0,0,228,0,0,108,0]},{"a":15200,"t":"byte","b":[0,124,0,0,85,64,0,85]},{"a":15208,"t":"byte","b":[80,0,127,212,0,223,180,0]},{"a":15216,"t":"byte","b":[247,180,0,189,244,0,189,244]},{"a":15224,"t":"byte","b":[0,253,244,0,253,116,0,0]},{"a":15232,"t":"byte","b":[0,127,127,0,127,127,1,255]},{"a":15240,"t":"byte","b":[127,1,255,127,1,237,95,1]},{"a":15248,"t":"byte","b":[245,21,1,255,112,0,127,246]},{"a":15256,"t":"byte","b":[0,21,125,0,0,20,0,0]},{"a":15264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15296,"t":"byte","b":[253,116,0,253,116,0,253,116]},{"a":15304,"t":"byte","b":[0,244,116,0,208,116,0,64]},{"a":15312,"t":"byte","b":[116,0,0,244,0,170,168,0]},{"a":15320,"t":"byte","b":[85,80,0,0,0,0,0,0]},{"a":15328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15360,"l":"sprite_shapes_4","c":"the last sprite shapes, numbers $F0 to $F6: the castle on the panel and the flash at the barrel when a shot is fired, one shape for each direction","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15376,"t":"byte","b":[0,0,0,0,0,0,16,0]},{"a":15384,"t":"byte","b":[16,16,8,16,56,8,56,56]},{"a":15392,"t":"byte","b":[28,56,124,28,124,124,62,124]},{"a":15400,"t":"byte","b":[254,62,254,124,127,124,124,62]},{"a":15408,"t":"byte","b":[92,124,58,92,124,58,127,255]},{"a":15416,"t":"byte","b":[190,127,255,254,127,255,254,255]},{"a":15424,"t":"byte","b":[0,3,255,0,3,255,0,3]},{"a":15432,"t":"byte","b":[255,0,3,255,0,3,255,0]},{"a":15440,"t":"byte","b":[3,255,0,3,255,0,3,255]},{"a":15448,"t":"byte","b":[0,3,255,0,126,170,7,213]},{"a":15456,"t":"byte","b":[85,170,170,170,21,64,84,2]},{"a":15464,"t":"byte","b":[128,160,0,0,0,0,0,0]},{"a":15472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15480,"t":"byte","b":[0,0,0,0,0,0,0,255]},{"a":15488,"t":"byte","b":[255,192,0,255,192,0,255,192]},{"a":15496,"t":"byte","b":[0,255,192,0,255,192,0,255]},{"a":15504,"t":"byte","b":[192,0,255,192,0,255,192,0]},{"a":15512,"t":"byte","b":[255,192,0,170,168,0,85,85]},{"a":15520,"t":"byte","b":[0,170,170,168,0,20,20,0]},{"a":15528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15552,"t":"byte","b":[0,0,0,8,0,0,8,0]},{"a":15560,"t":"byte","b":[0,28,0,0,62,0,0,62]},{"a":15568,"t":"byte","b":[0,0,28,0,0,8,0,0]},{"a":15576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15616,"t":"byte","b":[8,0,0,28,0,0,62,0]},{"a":15624,"t":"byte","b":[0,62,0,0,28,0,0,8]},{"a":15632,"t":"byte","b":[0,0,8,0,0,0,0,0]},{"a":15640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15656,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15672,"t":"byte","b":[0,0,0,0,0,0,0,255]},{"a":15680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15688,"t":"byte","b":[0,30,0,0,127,0,0,30]},{"a":15696,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":15736,"t":"byte","b":[0,0,0,0,0,0,0,255]},{"a":15744,"t":"byte","b":[0,0,0,0,0,0,120,0]},{"a":15752,"t":"byte","b":[0,254,0,0,120]},{"a":15757,"t":"gap","n":627},{"a":16384,"l":"game_entry","c":"the three bytes $1566 jumps to when the attract screens hand over to the game, which go straight on to the game's cold start at $4016","t":"code","b":[76,22,64],"m":"jmp","oa":16406,"o":"game_cold_start","x":[5599]},{"a":16387,"t":"gap","n":6},{"a":16393,"l":"keys_carried_over","c":"where the key count waits across a ride in the lift, stored once the floor select has returned ($49C8) so that it outlasts $404F's clearing of the variables; $404F copies it back into $02AC when play resumes on the new floor. When a prisoner has been brought home $4A02 sets it to 0, so the next mission starts with no keys.","t":"byte","b":[0],"x":[16488,18888,18946]},{"a":16394,"l":"ammo_carried_over","c":"where the ammunition waits across a ride in the lift, stored once the floor select has returned ($49CE) so that it outlasts $404F's clearing of the variables. When a prisoner has been brought home $4A0A sets it to $99 for the next mission.","t":"byte","b":[0],"x":[16494,18894,18954]},{"a":16395,"l":"hits_carried_over","c":"where the hit count waits across a ride in the lift, stored once the floor select has returned ($49D4) so that it outlasts $404F's clearing of the variables. When a prisoner has been brought home $4A0F sets it to 0 for the next mission.","t":"byte","b":[0],"x":[16500,18900,18959]},{"a":16396,"l":"score_hi_carried_over","c":"where the score's top two digits wait across a ride in the lift, stored once the floor select has returned ($49DA) so that it outlasts $404F's clearing of the variables and between two missions of the same castle ($4A15); $404F copies them back","t":"byte","b":[0],"x":[16506,18906,18965]},{"a":16397,"l":"score_mid_carried_over","c":"where the score's middle two digits wait during a lift ride ($49E0) and between missions ($4A1B)","t":"byte","b":[0],"x":[16512,18912,18971]},{"a":16398,"l":"score_lo_carried_over","c":"where the score's bottom two digits wait during a lift ride ($49E6) and between missions ($4A21)","t":"byte","b":[0],"x":[16518,18918,18977]},{"a":16399,"l":"mission_chosen","c":"the mission being played, 1 to 4 as the game counts them: the one picked on the select screen ($4969), counted on by one at $4A45 when a prisoner has been brought home","t":"byte","b":[0],"x":[18793,19013,19016,19030,24478]},{"a":16400,"l":"prisoner_floor","c":"which floor the mission's prisoner is on, or $FF on the demolition mission, which has none. It moves to the new floor ($49C2) when he rides the lift with the player. The mission set-up ($41AF) and the mission-done check ($5F3F) compare it with the floor the player is on, and $49A4 with the floor he left.","t":"byte","b":[0],"x":[16815,18810,18818,18826,18834,18852,18882,24383]},{"a":16401,"l":"new_mission_start","c":"set when a prisoner has been brought home ($4A53), so the next mission starts the player in the storage room ($5EE2) although $426E says a mission is in progress. With it clear and a mission in progress, the player has come out of the lift and starts at the lift. $5EE2 clears it.","t":"byte","b":[0],"x":[16431,19027,24290,24355]},{"a":16402,"l":"prisoner_rode_lift","c":"set after a lift ride when the prisoner was on the floor the player left and $02E8 was clear ($49BC), so he came along to the new floor. $4151 then leaves him at the fixed place $C914 set at $4132 instead of where the floor's description put him ($02ED). Cleared at $4185, $4963, $49B2 and $4A05.","t":"byte","b":[0],"x":[16721,16773,18787,18866,18876,18949]},{"a":16403,"l":"go_print_message","c":"jump stub into the message printer at $592E, which the prisoner's own code calls","t":"code","b":[76,46,89],"m":"jmp","oa":22830,"o":"print_message","x":[27841]},{"a":16406,"l":"game_cold_start","c":"the game's own first code, reached from the attract screens: $1566 jumps to $4000, which jumps here. Sets the floor in $02A7 to 1, clears the twenty-four characters the attract screens borrowed at $2F40, blacks the border and background, clears $426E, $4011, the four floors' charge flags at $5F9A to $5F9D and $6043, sets the score to six ASCII zeros, and goes to $4946, the top of the game's own loop.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[16384]},{"a":16408,"t":"code","b":[141,167,2],"m":"sta","oa":679,"o":"current_floor"},{"a":16411,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":16413,"t":"code","b":[138],"m":"txa"},{"a":16414,"l":"b_401E","t":"code","b":[157,64,47],"m":"sta","oa":12096,"o":"borrowed_icon_frames,x","x":[16420]},{"a":16417,"t":"code","b":[232],"m":"inx"},{"a":16418,"t":"code","b":[224,192],"m":"cpx","o":"#$C0"},{"a":16420,"t":"code","b":[208,248],"m":"bne","oa":16414,"o":"b_401E"},{"a":16422,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":16425,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":16428,"t":"code","b":[141,110,66],"m":"sta","oa":17006,"o":"mission_in_progress"},{"a":16431,"t":"code","b":[141,17,64],"m":"sta","oa":16401,"o":"new_mission_start"},{"a":16434,"t":"code","b":[141,154,95],"m":"sta","oa":24474,"o":"floor_detonators"},{"a":16437,"t":"code","b":[141,155,95],"m":"sta","oa":24475,"o":"detonator_ground"},{"a":16440,"t":"code","b":[141,156,95],"m":"sta","oa":24476,"o":"detonator_first"},{"a":16443,"t":"code","b":[141,157,95],"m":"sta","oa":24477,"o":"detonator_second"},{"a":16446,"t":"code","b":[141,67,96],"m":"sta","oa":24643,"o":"prisoner_announced"},{"a":16449,"t":"code","b":[170],"m":"tax"},{"a":16450,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":16452,"l":"b_4044","t":"code","b":[157,25,8],"m":"sta","oa":2073,"o":"score_digits,x","x":[16458]},{"a":16455,"t":"code","b":[232],"m":"inx"},{"a":16456,"t":"code","b":[224,6],"m":"cpx","o":"#$06"},{"a":16458,"t":"code","b":[208,248],"m":"bne","oa":16452,"o":"b_4044"},{"a":16460,"t":"code","b":[76,70,73],"m":"jmp","oa":18758,"o":"between_missions"},{"a":16463,"l":"mission_start","c":"sets a mission going: points $D018 at $1B, clears the game's variables at $02A8 to $02FF, sets the ammunition to 99, and when a mission is in progress restores the keys, the ammunition, the hits and the score from $4009 to $400E. Then it builds the floor's map ($601B), decides whether the floor's charge stays on the map ($5F9E), starts the wipe interrupt ($4BF2), and waits for it to report the window shut ($4BF1 = 3) before it clears $06 and the message line's two counters at $592B and $592C and runs on into the sprite set-up at $40A6.","t":"code","b":[169,27],"m":"lda","o":"#$1B","x":[18921]},{"a":16465,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":16468,"t":"code","b":[162,168],"m":"ldx","o":"#$A8"},{"a":16470,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16472,"l":"b_4058","t":"code","b":[157,0,2],"m":"sta","oa":512,"o":"basic_input_buffer,x","x":[16476]},{"a":16475,"t":"code","b":[232],"m":"inx"},{"a":16476,"t":"code","b":[208,250],"m":"bne","oa":16472,"o":"b_4058"},{"a":16478,"t":"code","b":[169,153],"m":"lda","o":"#$99"},{"a":16480,"t":"code","b":[141,189,2],"m":"sta","oa":701,"o":"ammo"},{"a":16483,"t":"code","b":[173,110,66],"m":"lda","oa":17006,"o":"mission_in_progress"},{"a":16486,"t":"code","b":[240,36],"m":"beq","oa":16524,"o":"b_408C"},{"a":16488,"t":"code","b":[173,9,64],"m":"lda","oa":16393,"o":"keys_carried_over"},{"a":16491,"t":"code","b":[141,172,2],"m":"sta","oa":684,"o":"keys"},{"a":16494,"t":"code","b":[173,10,64],"m":"lda","oa":16394,"o":"ammo_carried_over"},{"a":16497,"t":"code","b":[141,189,2],"m":"sta","oa":701,"o":"ammo"},{"a":16500,"t":"code","b":[173,11,64],"m":"lda","oa":16395,"o":"hits_carried_over"},{"a":16503,"t":"code","b":[141,198,2],"m":"sta","oa":710,"o":"hits"},{"a":16506,"t":"code","b":[173,12,64],"m":"lda","oa":16396,"o":"score_hi_carried_over"},{"a":16509,"t":"code","b":[141,194,2],"m":"sta","oa":706,"o":"score_hi"},{"a":16512,"t":"code","b":[173,13,64],"m":"lda","oa":16397,"o":"score_mid_carried_over"},{"a":16515,"t":"code","b":[141,195,2],"m":"sta","oa":707,"o":"score_mid"},{"a":16518,"t":"code","b":[173,14,64],"m":"lda","oa":16398,"o":"score_lo_carried_over"},{"a":16521,"t":"code","b":[141,196,2],"m":"sta","oa":708,"o":"score_lo"},{"a":16524,"l":"b_408C","t":"code","b":[32,27,96],"m":"jsr","oa":24603,"o":"go_build_floor","x":[16486]},{"a":16527,"t":"code","b":[32,158,95],"m":"jsr","oa":24478,"o":"place_detonator"},{"a":16530,"t":"code","b":[32,242,75],"m":"jsr","oa":19442,"o":"install_wipe_irq"},{"a":16533,"l":"b_4095","t":"code","b":[173,241,75],"m":"lda","oa":19441,"o":"irq_state","x":[16538]},{"a":16536,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":16538,"t":"code","b":[208,249],"m":"bne","oa":16533,"o":"b_4095"},{"a":16540,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16542,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":16544,"t":"code","b":[141,43,89],"m":"sta","oa":22827,"o":"message_read"},{"a":16547,"t":"code","b":[141,44,89],"m":"sta","oa":22828,"o":"message_write"},{"a":16549,"t":"note","l":"false_symbol_40A5","c":"not a routine: the high byte of the STA $592C at $40A3. Nothing in the program refers to this address. The sprite set-up begins at $40A6.","note":"inside the item at $40A3"},{"a":16550,"l":"setup_play_sprites","c":"sets the eight sprites up for play: no expansion, multicolour for the lower four, sprite 4, the flash at the barrel, yellow, the screen at $0400 with the play character set at $2000, multicolour text with the two extra backgrounds, and the three sprites of the castle emblem parked in the panel at fixed places. It then puts the player's four sprites round the player's position in $02DF and $02E0: sprites 0 and 2 on the left, 1 and 3 24 pixels further right, 0 and 1 on the top row, 2 and 3 21 lines below. Nothing jumps here: the code runs on from $40A3, and the first store uses the A = 0 left by $409C.","t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":16553,"t":"code","b":[141,23,208],"m":"sta","o":"vic_sprite_expand_y"},{"a":16556,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":16558,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":16561,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":16563,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":16565,"t":"code","b":[169,25],"m":"lda","o":"#$19"},{"a":16567,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":16570,"t":"code","b":[162,15],"m":"ldx","o":"#$0F"},{"a":16572,"t":"code","b":[138],"m":"txa"},{"a":16573,"l":"b_40BD","t":"code","b":[157,0,208],"m":"sta","o":"vic_sprite0_x,x","x":[16577]},{"a":16576,"t":"code","b":[202],"m":"dex"},{"a":16577,"t":"code","b":[16,250],"m":"bpl","oa":16573,"o":"b_40BD"},{"a":16579,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":16581,"t":"code","b":[141,28,208],"m":"sta","o":"vic_sprite_multicolour"},{"a":16584,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":16586,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":16589,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":16591,"t":"code","b":[141,34,208],"m":"sta","o":"vic_background1"},{"a":16594,"t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":16596,"t":"code","b":[141,35,208],"m":"sta","o":"vic_background2"},{"a":16599,"t":"code","b":[169,224],"m":"lda","o":"#$E0"},{"a":16601,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":16604,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":16606,"t":"code","b":[141,10,208],"m":"sta","o":"vic_sprite5_x"},{"a":16609,"t":"code","b":[169,168],"m":"lda","o":"#$A8"},{"a":16611,"t":"code","b":[141,11,208],"m":"sta","o":"vic_sprite5_y"},{"a":16614,"t":"code","b":[169,18],"m":"lda","o":"#$12"},{"a":16616,"t":"code","b":[141,12,208],"m":"sta","o":"vic_sprite6_x"},{"a":16619,"t":"code","b":[169,189],"m":"lda","o":"#$BD"},{"a":16621,"t":"code","b":[141,13,208],"m":"sta","o":"vic_sprite6_y"},{"a":16624,"t":"code","b":[169,42],"m":"lda","o":"#$2A"},{"a":16626,"t":"code","b":[141,14,208],"m":"sta","o":"vic_sprite7_x"},{"a":16629,"t":"code","b":[169,189],"m":"lda","o":"#$BD"},{"a":16631,"t":"code","b":[141,15,208],"m":"sta","o":"vic_sprite7_y"},{"a":16634,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16636,"t":"code","b":[141,44,208],"m":"sta","o":"vic_sprite5_colour"},{"a":16639,"t":"code","b":[141,45,208],"m":"sta","o":"vic_sprite6_colour"},{"a":16642,"t":"code","b":[141,46,208],"m":"sta","o":"vic_sprite7_colour"},{"a":16645,"t":"code","b":[32,226,94],"m":"jsr","oa":24290,"o":"place_player_at_start"},{"a":16648,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":16651,"t":"code","b":[56],"m":"sec"},{"a":16652,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":16654,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":16657,"t":"code","b":[141,4,208],"m":"sta","o":"vic_sprite2_x"},{"a":16660,"t":"code","b":[24],"m":"clc"},{"a":16661,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":16663,"t":"code","b":[141,2,208],"m":"sta","o":"vic_sprite1_x"},{"a":16666,"t":"code","b":[141,6,208],"m":"sta","o":"vic_sprite3_x"},{"a":16669,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":16672,"t":"code","b":[56],"m":"sec"},{"a":16673,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":16675,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":16678,"t":"code","b":[141,3,208],"m":"sta","o":"vic_sprite1_y"},{"a":16681,"t":"code","b":[24],"m":"clc"},{"a":16682,"t":"code","b":[105,21],"m":"adc","o":"#$15"},{"a":16684,"t":"code","b":[141,5,208],"m":"sta","o":"vic_sprite2_y"},{"a":16687,"t":"code","b":[141,7,208],"m":"sta","o":"vic_sprite3_y"},{"a":16690,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":16692,"t":"code","b":[141,39,96],"m":"sta","oa":24615,"o":"prisoner_tile_x"},{"a":16695,"t":"code","b":[169,114],"m":"lda","o":"#$72"},{"a":16697,"t":"code","b":[141,40,96],"m":"sta","oa":24616,"o":"prisoner_tile_y"},{"a":16700,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":16702,"t":"code","b":[141,41,96],"m":"sta","oa":24617,"o":"prisoner_place_lo"},{"a":16705,"t":"code","b":[141,44,96],"m":"sta","oa":24620,"o":"prisoner_last_lo"},{"a":16708,"t":"code","b":[169,201],"m":"lda","o":"#$C9"},{"a":16710,"t":"code","b":[141,42,96],"m":"sta","oa":24618,"o":"prisoner_place_hi"},{"a":16713,"t":"code","b":[141,45,96],"m":"sta","oa":24621,"o":"prisoner_last_hi"},{"a":16716,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16718,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":16721,"t":"code","b":[173,18,64],"m":"lda","oa":16402,"o":"prisoner_rode_lift"},{"a":16724,"t":"code","b":[208,50],"m":"bne","oa":16776,"o":"clear_prisoner_start"},{"a":16726,"t":"code","b":[173,237,2],"m":"lda","oa":749,"o":"prisoner_start_lo"},{"a":16729,"t":"code","b":[141,41,96],"m":"sta","oa":24617,"o":"prisoner_place_lo"},{"a":16732,"t":"code","b":[141,44,96],"m":"sta","oa":24620,"o":"prisoner_last_lo"},{"a":16735,"t":"code","b":[173,238,2],"m":"lda","oa":750,"o":"prisoner_start_hi"},{"a":16738,"t":"code","b":[141,42,96],"m":"sta","oa":24618,"o":"prisoner_place_hi"},{"a":16741,"t":"code","b":[141,45,96],"m":"sta","oa":24621,"o":"prisoner_last_hi"},{"a":16744,"t":"code","b":[173,238,2],"m":"lda","oa":750,"o":"prisoner_start_hi"},{"a":16747,"t":"code","b":[56],"m":"sec"},{"a":16748,"t":"code","b":[233,144],"m":"sbc","o":"#$90"},{"a":16750,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":16752,"t":"code","b":[173,237,2],"m":"lda","oa":749,"o":"prisoner_start_lo"},{"a":16755,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":16757,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":16759,"t":"code","b":[141,39,96],"m":"sta","oa":24615,"o":"prisoner_tile_x"},{"a":16762,"t":"code","b":[6,252],"m":"asl","oa":252,"o":"pointer_lo"},{"a":16764,"t":"code","b":[38,253],"m":"rol","oa":253,"o":"pointer_hi"},{"a":16766,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"pointer_hi"},{"a":16768,"t":"code","b":[141,40,96],"m":"sta","oa":24616,"o":"prisoner_tile_y"},{"a":16771,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16773,"t":"code","b":[141,18,64],"m":"sta","oa":16402,"o":"prisoner_rode_lift"},{"a":16776,"l":"clear_prisoner_start","c":"rubs the prisoner out of the map where the floor's description put him: zero into sixteen tiles, four across and four rows down, from the map address in $02ED and $02EE, through the pointer in $FC. Then, when the mission's prisoner is on this floor ($4010 = $02A7), $6024 draws him at his current place; otherwise $02E5 is set so he does not move.","t":"code","b":[173,237,2],"m":"lda","oa":749,"o":"prisoner_start_lo","x":[16724]},{"a":16779,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":16781,"t":"code","b":[173,238,2],"m":"lda","oa":750,"o":"prisoner_start_hi"},{"a":16784,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":16786,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":16788,"l":"b_4194","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[16813]},{"a":16790,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":16792,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":16794,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":16796,"t":"code","b":[152],"m":"tya"},{"a":16797,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":16799,"t":"code","b":[168],"m":"tay"},{"a":16800,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16802,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":16804,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":16806,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":16808,"t":"code","b":[152],"m":"tya"},{"a":16809,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":16811,"t":"code","b":[168],"m":"tay"},{"a":16812,"t":"code","b":[136],"m":"dey"},{"a":16813,"t":"code","b":[16,229],"m":"bpl","oa":16788,"o":"b_4194"},{"a":16815,"t":"code","b":[173,16,64],"m":"lda","oa":16400,"o":"prisoner_floor"},{"a":16818,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":16820,"t":"code","b":[240,11],"m":"beq","oa":16833,"o":"b_41C1"},{"a":16822,"t":"code","b":[205,167,2],"m":"cmp","oa":679,"o":"current_floor"},{"a":16825,"t":"code","b":[208,6],"m":"bne","oa":16833,"o":"b_41C1"},{"a":16827,"t":"code","b":[32,36,96],"m":"jsr","oa":24612,"o":"go_draw_prisoner"},{"a":16830,"t":"code","b":[76,198,65],"m":"jmp","oa":16838,"o":"clear_play_screen"},{"a":16833,"l":"b_41C1","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[16820,16825]},{"a":16835,"t":"code","b":[141,229,2],"m":"sta","oa":741,"o":"prisoner_held"},{"a":16838,"l":"clear_play_screen","c":"fills all four pages of the screen with the solid black tile $EF and clears colour memory, then points the sprites at their shapes - $C0 to $C3 for the player's four, $F0 to $F2 for the castle emblem in the panel - and colours the message line's two rows, 23 and 24, orange on top and yellow below","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[16830]},{"a":16840,"l":"b_41C8","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[16869]},{"a":16842,"t":"code","b":[157,0,216],"m":"sta","o":"colour_ram,x"},{"a":16845,"t":"code","b":[157,0,217],"m":"sta","o":"$D900,x"},{"a":16848,"t":"code","b":[157,0,218],"m":"sta","o":"$DA00,x"},{"a":16851,"t":"code","b":[157,0,219],"m":"sta","o":"$DB00,x"},{"a":16854,"t":"code","b":[169,239],"m":"lda","o":"#$EF"},{"a":16856,"t":"code","b":[157,0,4],"m":"sta","oa":1024,"o":"f_0400,x"},{"a":16859,"t":"code","b":[157,0,5],"m":"sta","oa":1280,"o":"f_0500,x"},{"a":16862,"t":"code","b":[157,0,6],"m":"sta","oa":1536,"o":"f_0600,x"},{"a":16865,"t":"code","b":[157,0,7],"m":"sta","oa":1792,"o":"f_0700,x"},{"a":16868,"t":"code","b":[202],"m":"dex"},{"a":16869,"t":"code","b":[208,225],"m":"bne","oa":16840,"o":"b_41C8"},{"a":16871,"t":"code","b":[162,192],"m":"ldx","o":"#$C0"},{"a":16873,"t":"code","b":[142,248,7],"m":"stx","oa":2040,"o":"a_07F8"},{"a":16876,"t":"code","b":[232],"m":"inx"},{"a":16877,"t":"code","b":[142,249,7],"m":"stx","oa":2041,"o":"a_07F9"},{"a":16880,"t":"code","b":[232],"m":"inx"},{"a":16881,"t":"code","b":[142,250,7],"m":"stx","oa":2042,"o":"a_07FA"},{"a":16884,"t":"code","b":[232],"m":"inx"},{"a":16885,"t":"code","b":[142,251,7],"m":"stx","oa":2043,"o":"a_07FB"},{"a":16888,"t":"code","b":[162,240],"m":"ldx","o":"#$F0"},{"a":16890,"t":"code","b":[142,253,7],"m":"stx","oa":2045,"o":"a_07FD"},{"a":16893,"t":"code","b":[232],"m":"inx"},{"a":16894,"t":"code","b":[142,254,7],"m":"stx","oa":2046,"o":"a_07FE"},{"a":16897,"t":"code","b":[232],"m":"inx"},{"a":16898,"t":"code","b":[142,255,7],"m":"stx","oa":2047,"o":"a_07FF"},{"a":16901,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":16903,"t":"code","b":[141,176,2],"m":"sta","oa":688,"o":"player_facing"},{"a":16906,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":16908,"l":"b_420C","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[16921]},{"a":16910,"t":"code","b":[157,152,219],"m":"sta","o":"$DB98,x"},{"a":16913,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":16915,"t":"code","b":[157,192,219],"m":"sta","o":"$DBC0,x"},{"a":16918,"t":"code","b":[232],"m":"inx"},{"a":16919,"t":"code","b":[224,40],"m":"cpx","o":"#$28"},{"a":16921,"t":"code","b":[208,241],"m":"bne","oa":16908,"o":"b_420C"},{"a":16923,"l":"build_play_screen","c":"finishes setting the mission up: draws the status panel ($5DC8) and its numbers ($5995), and on the first mission of a castle starts the sound ($6009) and shows the greeting \"WELCOME TO THE EAGLES NEST.\" from $5694. It then draws the room ($47F1), tells the interrupt to start ($4BF1 = 1), turns all eight sprites on and waits for the interrupt to report back. Nothing jumps here: the screen clearing at $41C6 runs on into it.","t":"code","b":[32,200,93],"m":"jsr","oa":24008,"o":"draw_panel"},{"a":16926,"t":"code","b":[32,149,89],"m":"jsr","oa":22933,"o":"draw_panel_numbers"},{"a":16929,"t":"code","b":[173,110,66],"m":"lda","oa":17006,"o":"mission_in_progress"},{"a":16932,"t":"code","b":[208,14],"m":"bne","oa":16948,"o":"b_4234"},{"a":16934,"t":"code","b":[32,9,96],"m":"jsr","oa":24585,"o":"go_sound_init"},{"a":16937,"t":"code","b":[169,148],"m":"lda","o":"#$94"},{"a":16939,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":16941,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":16943,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":16945,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":16948,"l":"b_4234","t":"code","b":[32,241,71],"m":"jsr","oa":18417,"o":"draw_room","x":[16932]},{"a":16951,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":16953,"t":"code","b":[141,241,75],"m":"sta","oa":19441,"o":"irq_state"},{"a":16956,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":16958,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":16961,"l":"b_4241","t":"code","b":[173,241,75],"m":"lda","oa":19441,"o":"irq_state","x":[16966]},{"a":16964,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":16966,"t":"code","b":[208,249],"m":"bne","oa":16961,"o":"b_4241"},{"a":16968,"t":"code","b":[32,70,92],"m":"jsr","oa":23622,"o":"tiles_round_player"},{"a":16971,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":16973,"t":"code","b":[141,39,208],"m":"sta","o":"vic_sprite0_colour"},{"a":16976,"l":"start_mission_play","c":"the last of the setup, part way through colouring the player's sprites: $424D has coloured sprite 0, and this colours 1 to 3, marks the mission as under way, sets the two shared sprite colours, says which floor the player is on ($5ABD) and drops into $484A, which hands the machine over to the game and runs on into the main loop at $4871. Nothing jumps here.","t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":16979,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":16982,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":16985,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":16987,"t":"code","b":[141,110,66],"m":"sta","oa":17006,"o":"mission_in_progress"},{"a":16990,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16992,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":16995,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":16997,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":17000,"t":"code","b":[32,189,90],"m":"jsr","oa":23229,"o":"announce_floor"},{"a":17003,"t":"code","b":[76,74,72],"m":"jmp","oa":18506,"o":"start_game_loop"},{"a":17006,"l":"mission_in_progress","c":"set once a mission has started ($425B) and cleared only by the cold start at $4016. While it is set, $4946 shows the lift's floor select instead of the mission select, $404F restores the keys, ammunition, hits and score from $4009 to $400E, $421B skips the greeting, and $5EE2 starts the player at the lift.","t":"byte","b":[0],"x":[16428,16483,16929,16987,18780,24295]},{"a":17007,"l":"player_and_rooms","c":"the player's part of each frame. The low three bits of $02AA say what is going on: 1, 2, 3 or 4 means a room change is in progress and the matching scroll runs a step of it ($432E up, $43D6 down, $4480 left, $4528 right); with none of them set the player takes an ordinary turn at $4297.","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[19334]},{"a":17010,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":17012,"t":"code","b":[240,5],"m":"beq","oa":17019,"o":"b_427B"},{"a":17014,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":17016,"t":"code","b":[142,239,2],"m":"stx","oa":751,"o":"irq_phase"},{"a":17019,"l":"b_427B","t":"code","b":[201,1],"m":"cmp","o":"#$01","x":[17012]},{"a":17021,"t":"code","b":[208,3],"m":"bne","oa":17026,"o":"b_4282"},{"a":17023,"t":"code","b":[76,46,67],"m":"jmp","oa":17198,"o":"scroll_room_up"},{"a":17026,"l":"b_4282","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[17021]},{"a":17028,"t":"code","b":[208,3],"m":"bne","oa":17033,"o":"b_4289"},{"a":17030,"t":"code","b":[76,214,67],"m":"jmp","oa":17366,"o":"scroll_room_down"},{"a":17033,"l":"b_4289","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[17028]},{"a":17035,"t":"code","b":[208,3],"m":"bne","oa":17040,"o":"b_4290"},{"a":17037,"t":"code","b":[76,128,68],"m":"jmp","oa":17536,"o":"scroll_room_left"},{"a":17040,"l":"b_4290","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[17035]},{"a":17042,"t":"code","b":[208,3],"m":"bne","oa":17047,"o":"player_turn"},{"a":17044,"t":"code","b":[76,40,69],"m":"jmp","oa":17704,"o":"scroll_room_right"},{"a":17047,"l":"player_turn","c":"the player's turn, once a frame. It works out which tiles are round the player ($5C46), holds everything until fire is let go when $02E3 says a shot is pending, and then counts $02BA up to 3 and acts only on the fourth frame, which is why the player steps one tile every four frames. On that frame it reads control port 2 and goes to the routine for the direction pushed: up $42E2, down $438A, left $4434, right $44DC.","t":"code","b":[32,70,92],"m":"jsr","oa":23622,"o":"tiles_round_player","x":[17042]},{"a":17050,"t":"code","b":[173,227,2],"m":"lda","oa":739,"o":"shot_pending"},{"a":17053,"t":"code","b":[240,13],"m":"beq","oa":17068,"o":"b_42AC"},{"a":17055,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":17058,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":17060,"t":"code","b":[208,1],"m":"bne","oa":17063,"o":"b_42A7"},{"a":17062,"t":"code","b":[96],"m":"rts"},{"a":17063,"l":"b_42A7","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[17060]},{"a":17065,"t":"code","b":[141,227,2],"m":"sta","oa":739,"o":"shot_pending"},{"a":17068,"l":"b_42AC","t":"code","b":[173,186,2],"m":"lda","oa":698,"o":"move_tick","x":[17053]},{"a":17071,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":17073,"t":"code","b":[240,4],"m":"beq","oa":17079,"o":"b_42B7"},{"a":17075,"t":"code","b":[238,186,2],"m":"inc","oa":698,"o":"move_tick"},{"a":17078,"t":"code","b":[96],"m":"rts"},{"a":17079,"l":"b_42B7","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[17073]},{"a":17081,"t":"code","b":[141,186,2],"m":"sta","oa":698,"o":"move_tick"},{"a":17084,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":17087,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17089,"t":"code","b":[240,31],"m":"beq","oa":17122,"o":"player_move_up"},{"a":17091,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":17094,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":17096,"t":"code","b":[208,3],"m":"bne","oa":17101,"o":"b_42CD"},{"a":17098,"t":"code","b":[76,138,67],"m":"jmp","oa":17290,"o":"player_move_down"},{"a":17101,"l":"b_42CD","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[17096]},{"a":17104,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":17106,"t":"code","b":[208,3],"m":"bne","oa":17111,"o":"b_42D7"},{"a":17108,"t":"code","b":[76,52,68],"m":"jmp","oa":17460,"o":"player_move_left"},{"a":17111,"l":"b_42D7","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[17106]},{"a":17114,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17116,"t":"code","b":[208,3],"m":"bne","oa":17121,"o":"r_42E1"},{"a":17118,"t":"code","b":[76,220,68],"m":"jmp","oa":17628,"o":"player_move_right"},{"a":17121,"l":"r_42E1","t":"code","b":[96],"m":"rts","x":[17116]},{"a":17122,"l":"player_move_up","c":"moves the player up a tile when nothing solid is in the way. The four tiles round the player, which $5C46 left in $5C23 to $5C26, must all be below $2D: a tile code of $2D or more is a wall, a door or furniture and stops the move. Otherwise it takes 8 from the player's y, clears $02BE, so a \"THIS DOOR IS LOCKED !\" or \"YOU NEED A LIFT PASS !\" warning can be printed again, counts the step in $02DA, whose bit 1 picks the walking pose, and copies its lowest bit to $02D8 for the footstep. At y = $62 the player is at the top edge of the room, so instead it asks for the room above by setting bits in $02AA.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[17089]},{"a":17124,"t":"code","b":[141,176,2],"m":"sta","oa":688,"o":"player_facing"},{"a":17127,"t":"code","b":[173,35,92],"m":"lda","oa":23587,"o":"tile_above_player_1"},{"a":17130,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17132,"t":"code","b":[176,53],"m":"bcs","oa":17187,"o":"r_4323"},{"a":17134,"t":"code","b":[173,36,92],"m":"lda","oa":23588,"o":"tile_above_player_2"},{"a":17137,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17139,"t":"code","b":[176,46],"m":"bcs","oa":17187,"o":"r_4323"},{"a":17141,"t":"code","b":[173,37,92],"m":"lda","oa":23589,"o":"tile_above_player_3"},{"a":17144,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17146,"t":"code","b":[176,39],"m":"bcs","oa":17187,"o":"r_4323"},{"a":17148,"t":"code","b":[173,38,92],"m":"lda","oa":23590,"o":"tile_above_player_4"},{"a":17151,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17153,"t":"code","b":[176,32],"m":"bcs","oa":17187,"o":"r_4323"},{"a":17155,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":17158,"t":"code","b":[201,98],"m":"cmp","o":"#$62"},{"a":17160,"t":"code","b":[240,26],"m":"beq","oa":17188,"o":"b_4324"},{"a":17162,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":17165,"t":"code","b":[56],"m":"sec"},{"a":17166,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17168,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":17171,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17173,"t":"code","b":[141,190,2],"m":"sta","oa":702,"o":"door_message_said"},{"a":17176,"t":"code","b":[238,218,2],"m":"inc","oa":730,"o":"walk_count"},{"a":17179,"t":"code","b":[173,218,2],"m":"lda","oa":730,"o":"walk_count"},{"a":17182,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17184,"t":"code","b":[141,216,2],"m":"sta","oa":728,"o":"footstep_due"},{"a":17187,"l":"r_4323","t":"code","b":[96],"m":"rts","x":[17132,17139,17146,17153]},{"a":17188,"l":"b_4324","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17160]},{"a":17191,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17193,"t":"code","b":[9,161],"m":"ora","o":"#$A1"},{"a":17195,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17198,"l":"scroll_room_up","c":"moves the picture one row at a time while the player crosses into the room above, ten steps counted the same way as $43D6 counts the downward crossing","t":"code","b":[165,255],"m":"lda","oa":255,"o":"room_offset_y","x":[17023]},{"a":17200,"t":"code","b":[208,12],"m":"bne","oa":17214,"o":"b_433E"},{"a":17202,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":17205,"t":"code","b":[56],"m":"sec"},{"a":17206,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17208,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":17211,"t":"code","b":[76,129,67],"m":"jmp","oa":17281,"o":"j_4381"},{"a":17214,"l":"b_433E","t":"code","b":[198,255],"m":"dec","oa":255,"o":"room_offset_y","x":[17200]},{"a":17216,"t":"code","b":[165,250],"m":"lda","oa":250,"o":"room_lo"},{"a":17218,"t":"code","b":[56],"m":"sec"},{"a":17219,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":17221,"t":"code","b":[133,250],"m":"sta","oa":250,"o":"room_lo"},{"a":17223,"t":"code","b":[176,2],"m":"bcs","oa":17227,"o":"b_434B"},{"a":17225,"t":"code","b":[198,251],"m":"dec","oa":251,"o":"room_hi"},{"a":17227,"l":"b_434B","t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y","x":[17223]},{"a":17230,"t":"code","b":[24],"m":"clc"},{"a":17231,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17233,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":17236,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17239,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17241,"t":"code","b":[240,9],"m":"beq","oa":17252,"o":"b_4364"},{"a":17243,"t":"code","b":[173,220,2],"m":"lda","oa":732,"o":"shot1_y"},{"a":17246,"t":"code","b":[24],"m":"clc"},{"a":17247,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17249,"t":"code","b":[141,220,2],"m":"sta","oa":732,"o":"shot1_y"},{"a":17252,"l":"b_4364","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[17241]},{"a":17255,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":17257,"t":"code","b":[240,9],"m":"beq","oa":17268,"o":"b_4374"},{"a":17259,"t":"code","b":[173,222,2],"m":"lda","oa":734,"o":"shot2_y"},{"a":17262,"t":"code","b":[24],"m":"clc"},{"a":17263,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17265,"t":"code","b":[141,222,2],"m":"sta","oa":734,"o":"shot2_y"},{"a":17268,"l":"b_4374","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17257]},{"a":17271,"t":"code","b":[56],"m":"sec"},{"a":17272,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":17274,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17277,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":17279,"t":"code","b":[208,8],"m":"bne","oa":17289,"o":"r_4389"},{"a":17281,"l":"j_4381","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17211]},{"a":17284,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17286,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17289,"l":"r_4389","t":"code","b":[96],"m":"rts","x":[17279]},{"a":17290,"l":"player_move_down","c":"moves the player down a tile when the four tiles at $5C41 to $5C44 are all below $2D. At y = $B2 the player is at the bottom edge, so it asks for the room below instead by setting bits in $02AA.","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[17098]},{"a":17292,"t":"code","b":[141,176,2],"m":"sta","oa":688,"o":"player_facing"},{"a":17295,"t":"code","b":[173,65,92],"m":"lda","oa":23617,"o":"tile_grid_row6_b"},{"a":17298,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17300,"t":"code","b":[176,53],"m":"bcs","oa":17355,"o":"r_43CB"},{"a":17302,"t":"code","b":[173,66,92],"m":"lda","oa":23618,"o":"tile_grid_row6_c"},{"a":17305,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17307,"t":"code","b":[176,46],"m":"bcs","oa":17355,"o":"r_43CB"},{"a":17309,"t":"code","b":[173,67,92],"m":"lda","oa":23619,"o":"tile_grid_row6_d"},{"a":17312,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17314,"t":"code","b":[176,39],"m":"bcs","oa":17355,"o":"r_43CB"},{"a":17316,"t":"code","b":[173,68,92],"m":"lda","oa":23620,"o":"tile_grid_last"},{"a":17319,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17321,"t":"code","b":[176,32],"m":"bcs","oa":17355,"o":"r_43CB"},{"a":17323,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":17326,"t":"code","b":[201,178],"m":"cmp","o":"#$B2"},{"a":17328,"t":"code","b":[240,26],"m":"beq","oa":17356,"o":"b_43CC"},{"a":17330,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":17333,"t":"code","b":[24],"m":"clc"},{"a":17334,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17336,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":17339,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17341,"t":"code","b":[141,190,2],"m":"sta","oa":702,"o":"door_message_said"},{"a":17344,"t":"code","b":[238,218,2],"m":"inc","oa":730,"o":"walk_count"},{"a":17347,"t":"code","b":[173,218,2],"m":"lda","oa":730,"o":"walk_count"},{"a":17350,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17352,"t":"code","b":[141,216,2],"m":"sta","oa":728,"o":"footstep_due"},{"a":17355,"l":"r_43CB","t":"code","b":[96],"m":"rts","x":[17300,17307,17314,17321]},{"a":17356,"l":"b_43CC","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17328]},{"a":17359,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17361,"t":"code","b":[9,162],"m":"ora","o":"#$A2"},{"a":17363,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17366,"l":"scroll_room_down","c":"moves the picture one row at a time while the player crosses into the room below, ten steps counted in the top nibble of $02AA, which the edge set to $A. Each step moves the room pointer in $FA on by 128 bytes, takes 8 off the player's y, and brings each shot in the air with it, so a bullet keeps its place in the room rather than on the screen. The last step keeps only bit 3 of $02AA, which nothing sets, so $02AA ends at 0; $4B82 tests that bit and skips the player's part while it is set.","t":"code","b":[165,255],"m":"lda","oa":255,"o":"room_offset_y","x":[17030]},{"a":17368,"t":"code","b":[201,107],"m":"cmp","o":"#$6B"},{"a":17370,"t":"code","b":[208,12],"m":"bne","oa":17384,"o":"b_43E8"},{"a":17372,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":17375,"t":"code","b":[24],"m":"clc"},{"a":17376,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17378,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":17381,"t":"code","b":[76,43,68],"m":"jmp","oa":17451,"o":"j_442B"},{"a":17384,"l":"b_43E8","t":"code","b":[230,255],"m":"inc","oa":255,"o":"room_offset_y","x":[17370]},{"a":17386,"t":"code","b":[165,250],"m":"lda","oa":250,"o":"room_lo"},{"a":17388,"t":"code","b":[24],"m":"clc"},{"a":17389,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":17391,"t":"code","b":[133,250],"m":"sta","oa":250,"o":"room_lo"},{"a":17393,"t":"code","b":[144,2],"m":"bcc","oa":17397,"o":"b_43F5"},{"a":17395,"t":"code","b":[230,251],"m":"inc","oa":251,"o":"room_hi"},{"a":17397,"l":"b_43F5","t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y","x":[17393]},{"a":17400,"t":"code","b":[56],"m":"sec"},{"a":17401,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17403,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":17406,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17409,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17411,"t":"code","b":[240,9],"m":"beq","oa":17422,"o":"b_440E"},{"a":17413,"t":"code","b":[173,220,2],"m":"lda","oa":732,"o":"shot1_y"},{"a":17416,"t":"code","b":[56],"m":"sec"},{"a":17417,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17419,"t":"code","b":[141,220,2],"m":"sta","oa":732,"o":"shot1_y"},{"a":17422,"l":"b_440E","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[17411]},{"a":17425,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":17427,"t":"code","b":[240,9],"m":"beq","oa":17438,"o":"b_441E"},{"a":17429,"t":"code","b":[173,222,2],"m":"lda","oa":734,"o":"shot2_y"},{"a":17432,"t":"code","b":[56],"m":"sec"},{"a":17433,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17435,"t":"code","b":[141,222,2],"m":"sta","oa":734,"o":"shot2_y"},{"a":17438,"l":"b_441E","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17427]},{"a":17441,"t":"code","b":[56],"m":"sec"},{"a":17442,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":17444,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17447,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":17449,"t":"code","b":[208,8],"m":"bne","oa":17459,"o":"r_4433"},{"a":17451,"l":"j_442B","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17381]},{"a":17454,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17456,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17459,"l":"r_4433","t":"code","b":[96],"m":"rts","x":[17449]},{"a":17460,"l":"player_move_left","c":"moves the player left a tile when the four tiles at $5C28, $5C2E, $5C34 and $5C3A are all below $2D, and sets the facing to 3. At x = $48 the player is at the left edge, so it asks for the room to the left instead.","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[17108]},{"a":17462,"t":"code","b":[141,176,2],"m":"sta","oa":688,"o":"player_facing"},{"a":17465,"t":"code","b":[173,40,92],"m":"lda","oa":23592,"o":"tile_grid_row2"},{"a":17468,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17470,"t":"code","b":[176,53],"m":"bcs","oa":17525,"o":"r_4475"},{"a":17472,"t":"code","b":[173,46,92],"m":"lda","oa":23598,"o":"tile_grid_row3"},{"a":17475,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17477,"t":"code","b":[176,46],"m":"bcs","oa":17525,"o":"r_4475"},{"a":17479,"t":"code","b":[173,52,92],"m":"lda","oa":23604,"o":"tile_grid_row4"},{"a":17482,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17484,"t":"code","b":[176,39],"m":"bcs","oa":17525,"o":"r_4475"},{"a":17486,"t":"code","b":[173,58,92],"m":"lda","oa":23610,"o":"tile_grid_row5"},{"a":17489,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17491,"t":"code","b":[176,32],"m":"bcs","oa":17525,"o":"r_4475"},{"a":17493,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":17496,"t":"code","b":[201,72],"m":"cmp","o":"#$48"},{"a":17498,"t":"code","b":[240,26],"m":"beq","oa":17526,"o":"b_4476"},{"a":17500,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":17503,"t":"code","b":[56],"m":"sec"},{"a":17504,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17506,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":17509,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17511,"t":"code","b":[141,190,2],"m":"sta","oa":702,"o":"door_message_said"},{"a":17514,"t":"code","b":[238,218,2],"m":"inc","oa":730,"o":"walk_count"},{"a":17517,"t":"code","b":[173,218,2],"m":"lda","oa":730,"o":"walk_count"},{"a":17520,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17522,"t":"code","b":[141,216,2],"m":"sta","oa":728,"o":"footstep_due"},{"a":17525,"l":"r_4475","t":"code","b":[96],"m":"rts","x":[17470,17477,17484,17491]},{"a":17526,"l":"b_4476","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17498]},{"a":17529,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17531,"t":"code","b":[9,211],"m":"ora","o":"#$D3"},{"a":17533,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17536,"l":"scroll_room_left","c":"moves the picture one column at a time while the player crosses into the room on the left, thirteen steps counted in the top nibble of $02AA, which the edge set to $D. Each step decrements the room's column offset in $FE, moves the room pointer in $FA back a byte, adds 8 to the player's x, and brings each shot in the air with it; when $FE is already 0 the step only moves the player and ends the crossing.","t":"code","b":[165,254],"m":"lda","oa":254,"o":"room_offset_x","x":[17037]},{"a":17538,"t":"code","b":[208,12],"m":"bne","oa":17552,"o":"b_4490"},{"a":17540,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":17543,"t":"code","b":[56],"m":"sec"},{"a":17544,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17546,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":17549,"t":"code","b":[76,211,68],"m":"jmp","oa":17619,"o":"j_44D3"},{"a":17552,"l":"b_4490","t":"code","b":[198,254],"m":"dec","oa":254,"o":"room_offset_x","x":[17538]},{"a":17554,"t":"code","b":[165,250],"m":"lda","oa":250,"o":"room_lo"},{"a":17556,"t":"code","b":[56],"m":"sec"},{"a":17557,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":17559,"t":"code","b":[133,250],"m":"sta","oa":250,"o":"room_lo"},{"a":17561,"t":"code","b":[176,2],"m":"bcs","oa":17565,"o":"b_449D"},{"a":17563,"t":"code","b":[198,251],"m":"dec","oa":251,"o":"room_hi"},{"a":17565,"l":"b_449D","t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x","x":[17561]},{"a":17568,"t":"code","b":[24],"m":"clc"},{"a":17569,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17571,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":17574,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17577,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17579,"t":"code","b":[240,9],"m":"beq","oa":17590,"o":"b_44B6"},{"a":17581,"t":"code","b":[173,219,2],"m":"lda","oa":731,"o":"shot1_x"},{"a":17584,"t":"code","b":[24],"m":"clc"},{"a":17585,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17587,"t":"code","b":[141,219,2],"m":"sta","oa":731,"o":"shot1_x"},{"a":17590,"l":"b_44B6","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[17579]},{"a":17593,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":17595,"t":"code","b":[240,9],"m":"beq","oa":17606,"o":"b_44C6"},{"a":17597,"t":"code","b":[173,221,2],"m":"lda","oa":733,"o":"shot2_x"},{"a":17600,"t":"code","b":[24],"m":"clc"},{"a":17601,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17603,"t":"code","b":[141,221,2],"m":"sta","oa":733,"o":"shot2_x"},{"a":17606,"l":"b_44C6","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17595]},{"a":17609,"t":"code","b":[56],"m":"sec"},{"a":17610,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":17612,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17615,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":17617,"t":"code","b":[208,8],"m":"bne","oa":17627,"o":"r_44DB"},{"a":17619,"l":"j_44D3","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17549]},{"a":17622,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17624,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17627,"l":"r_44DB","t":"code","b":[96],"m":"rts","x":[17617]},{"a":17628,"l":"player_move_right","c":"moves the player right a tile when the four tiles at $5C2D, $5C33, $5C39 and $5C3F are all below $2D, and sets the facing to 4. At x = $B0 the player is at the right edge, so it asks for the room to the right instead.","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[17118]},{"a":17630,"t":"code","b":[141,176,2],"m":"sta","oa":688,"o":"player_facing"},{"a":17633,"t":"code","b":[173,45,92],"m":"lda","oa":23597,"o":"tile_grid_row2_right"},{"a":17636,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17638,"t":"code","b":[176,53],"m":"bcs","oa":17693,"o":"r_451D"},{"a":17640,"t":"code","b":[173,51,92],"m":"lda","oa":23603,"o":"tile_grid_row3_right"},{"a":17643,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17645,"t":"code","b":[176,46],"m":"bcs","oa":17693,"o":"r_451D"},{"a":17647,"t":"code","b":[173,57,92],"m":"lda","oa":23609,"o":"tile_grid_row4_right"},{"a":17650,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17652,"t":"code","b":[176,39],"m":"bcs","oa":17693,"o":"r_451D"},{"a":17654,"t":"code","b":[173,63,92],"m":"lda","oa":23615,"o":"tile_grid_row5_right"},{"a":17657,"t":"code","b":[201,45],"m":"cmp","o":"#$2D"},{"a":17659,"t":"code","b":[176,32],"m":"bcs","oa":17693,"o":"r_451D"},{"a":17661,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":17664,"t":"code","b":[201,176],"m":"cmp","o":"#$B0"},{"a":17666,"t":"code","b":[240,26],"m":"beq","oa":17694,"o":"b_451E"},{"a":17668,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":17671,"t":"code","b":[24],"m":"clc"},{"a":17672,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17674,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":17677,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17679,"t":"code","b":[141,190,2],"m":"sta","oa":702,"o":"door_message_said"},{"a":17682,"t":"code","b":[238,218,2],"m":"inc","oa":730,"o":"walk_count"},{"a":17685,"t":"code","b":[173,218,2],"m":"lda","oa":730,"o":"walk_count"},{"a":17688,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17690,"t":"code","b":[141,216,2],"m":"sta","oa":728,"o":"footstep_due"},{"a":17693,"l":"r_451D","t":"code","b":[96],"m":"rts","x":[17638,17645,17652,17659]},{"a":17694,"l":"b_451E","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17666]},{"a":17697,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17699,"t":"code","b":[9,212],"m":"ora","o":"#$D4"},{"a":17701,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17704,"l":"scroll_room_right","c":"moves the picture one column at a time while the player crosses into the room on the right, thirteen steps counted in the top nibble of $02AA, which the edge set to $D. The mirror of $4480: $FE counts up and ends the crossing at $64, the room pointer goes on a byte, the player's x comes back 8, and the shots in the air come with it.","t":"code","b":[165,254],"m":"lda","oa":254,"o":"room_offset_x","x":[17044]},{"a":17706,"t":"code","b":[201,100],"m":"cmp","o":"#$64"},{"a":17708,"t":"code","b":[208,12],"m":"bne","oa":17722,"o":"b_453A"},{"a":17710,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":17713,"t":"code","b":[24],"m":"clc"},{"a":17714,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":17716,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":17719,"t":"code","b":[76,125,69],"m":"jmp","oa":17789,"o":"j_457D"},{"a":17722,"l":"b_453A","t":"code","b":[230,254],"m":"inc","oa":254,"o":"room_offset_x","x":[17708]},{"a":17724,"t":"code","b":[165,250],"m":"lda","oa":250,"o":"room_lo"},{"a":17726,"t":"code","b":[24],"m":"clc"},{"a":17727,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":17729,"t":"code","b":[133,250],"m":"sta","oa":250,"o":"room_lo"},{"a":17731,"t":"code","b":[144,2],"m":"bcc","oa":17735,"o":"b_4547"},{"a":17733,"t":"code","b":[230,251],"m":"inc","oa":251,"o":"room_hi"},{"a":17735,"l":"b_4547","t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x","x":[17731]},{"a":17738,"t":"code","b":[56],"m":"sec"},{"a":17739,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17741,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":17744,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17747,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":17749,"t":"code","b":[240,9],"m":"beq","oa":17760,"o":"b_4560"},{"a":17751,"t":"code","b":[173,219,2],"m":"lda","oa":731,"o":"shot1_x"},{"a":17754,"t":"code","b":[56],"m":"sec"},{"a":17755,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17757,"t":"code","b":[141,219,2],"m":"sta","oa":731,"o":"shot1_x"},{"a":17760,"l":"b_4560","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[17749]},{"a":17763,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":17765,"t":"code","b":[240,9],"m":"beq","oa":17776,"o":"b_4570"},{"a":17767,"t":"code","b":[173,221,2],"m":"lda","oa":733,"o":"shot2_x"},{"a":17770,"t":"code","b":[56],"m":"sec"},{"a":17771,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17773,"t":"code","b":[141,221,2],"m":"sta","oa":733,"o":"shot2_x"},{"a":17776,"l":"b_4570","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17765]},{"a":17779,"t":"code","b":[56],"m":"sec"},{"a":17780,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":17782,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17785,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":17787,"t":"code","b":[208,8],"m":"bne","oa":17797,"o":"r_4585"},{"a":17789,"l":"j_457D","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[17719]},{"a":17792,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":17794,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"room_change"},{"a":17797,"l":"r_4585","t":"code","b":[96],"m":"rts","x":[17787]},{"a":17798,"l":"clear_spent_shots","c":"takes a shot out of the air once it has passed a room's edge, which is what bits 1 and 5 of $02AF mark, one shot a call, and then goes on to the fire routine at $45BD, which runs whatever is still flying ($4692)","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[19212,19233]},{"a":17801,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":17803,"t":"code","b":[240,22],"m":"beq","oa":17827,"o":"b_45A3"},{"a":17805,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17808,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":17810,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":17813,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17815,"t":"code","b":[141,219,2],"m":"sta","oa":731,"o":"shot1_x"},{"a":17818,"t":"code","b":[141,220,2],"m":"sta","oa":732,"o":"shot1_y"},{"a":17821,"t":"code","b":[141,178,2],"m":"sta","oa":690,"o":"shot1_distance"},{"a":17824,"t":"code","b":[76,189,69],"m":"jmp","oa":17853,"o":"player_shoot"},{"a":17827,"l":"b_45A3","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[17803]},{"a":17830,"t":"code","b":[41,32],"m":"and","o":"#$20"},{"a":17832,"t":"code","b":[240,19],"m":"beq","oa":17853,"o":"player_shoot"},{"a":17834,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17837,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":17839,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":17842,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17844,"t":"code","b":[141,221,2],"m":"sta","oa":733,"o":"shot2_x"},{"a":17847,"t":"code","b":[141,222,2],"m":"sta","oa":734,"o":"shot2_y"},{"a":17850,"t":"code","b":[141,180,2],"m":"sta","oa":692,"o":"shot2_distance"},{"a":17853,"l":"player_shoot","c":"fire. It moves the shots already in the air ($4692) and then, if fire is held and this is a fresh press, fires one. The player can have two shots in the air at once: a new one is fired when neither is, or once the one in the air has taken 8 steps of 8 pixels. With no rounds left it says \"OUT OF AMMO!\"; otherwise it takes one off the ammunition in decimal mode, points the player's sprites the right way ($46A5), asks for sound effect 5, and starts the shot from the player's own position offset by the tables at $4699 and $469D.","t":"code","b":[32,146,70],"m":"jsr","oa":18066,"o":"move_shots","x":[17824,17832]},{"a":17856,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":17859,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":17861,"t":"code","b":[240,6],"m":"beq","oa":17869,"o":"b_45CD"},{"a":17863,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17865,"t":"code","b":[141,181,2],"m":"sta","oa":693,"o":"fire_held"},{"a":17868,"t":"code","b":[96],"m":"rts"},{"a":17869,"l":"b_45CD","t":"code","b":[173,181,2],"m":"lda","oa":693,"o":"fire_held","x":[17861]},{"a":17872,"t":"code","b":[240,1],"m":"beq","oa":17875,"o":"b_45D3"},{"a":17874,"t":"code","b":[96],"m":"rts"},{"a":17875,"l":"b_45D3","t":"code","b":[238,181,2],"m":"inc","oa":693,"o":"fire_held","x":[17872]},{"a":17878,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17881,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":17883,"t":"code","b":[208,98],"m":"bne","oa":17983,"o":"fire_second_shot"},{"a":17885,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17888,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":17890,"t":"code","b":[240,9],"m":"beq","oa":17901,"o":"b_45ED"},{"a":17892,"t":"code","b":[173,180,2],"m":"lda","oa":692,"o":"shot2_distance"},{"a":17895,"t":"code","b":[56],"m":"sec"},{"a":17896,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17898,"t":"code","b":[176,1],"m":"bcs","oa":17901,"o":"b_45ED"},{"a":17900,"t":"code","b":[96],"m":"rts"},{"a":17901,"l":"b_45ED","t":"code","b":[173,189,2],"m":"lda","oa":701,"o":"ammo","x":[17890,17898]},{"a":17904,"t":"code","b":[208,20],"m":"bne","oa":17926,"o":"b_4606"},{"a":17906,"l":"j_45F2","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[18006]},{"a":17909,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":17912,"t":"code","b":[208,11],"m":"bne","oa":17925,"o":"r_4605"},{"a":17914,"t":"code","b":[169,218],"m":"lda","o":"#$DA"},{"a":17916,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":17918,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":17920,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":17922,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":17925,"l":"r_4605","t":"code","b":[96],"m":"rts","x":[17912]},{"a":17926,"l":"b_4606","t":"code","b":[248],"m":"sed","x":[17904]},{"a":17927,"t":"code","b":[56],"m":"sec"},{"a":17928,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":17930,"t":"code","b":[141,189,2],"m":"sta","oa":701,"o":"ammo"},{"a":17933,"t":"code","b":[216],"m":"cld"},{"a":17934,"t":"code","b":[32,165,70],"m":"jsr","oa":18085,"o":"face_player"},{"a":17937,"t":"code","b":[174,176,2],"m":"ldx","oa":688,"o":"player_facing"},{"a":17940,"t":"code","b":[142,177,2],"m":"stx","oa":689,"o":"shot1_direction"},{"a":17943,"t":"code","b":[202],"m":"dex"},{"a":17944,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":17946,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":17949,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":17952,"t":"code","b":[24],"m":"clc"},{"a":17953,"t":"code","b":[125,153,70],"m":"adc","oa":18073,"o":"shot_start_x,x"},{"a":17956,"t":"code","b":[141,219,2],"m":"sta","oa":731,"o":"shot1_x"},{"a":17959,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":17962,"t":"code","b":[24],"m":"clc"},{"a":17963,"t":"code","b":[125,157,70],"m":"adc","oa":18077,"o":"shot_start_y,x"},{"a":17966,"t":"code","b":[141,220,2],"m":"sta","oa":732,"o":"shot1_y"},{"a":17969,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":17972,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":17974,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":17977,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17979,"t":"code","b":[141,178,2],"m":"sta","oa":690,"o":"shot1_distance"},{"a":17982,"t":"code","b":[96],"m":"rts"},{"a":17983,"l":"fire_second_shot","c":"fires the player's second shot, once the first has taken at least 8 steps of 8 pixels and no second one is already in the air. It spends a round, points the sprites, asks for sound effect 5, and starts the shot at the player.","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[17883]},{"a":17986,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":17988,"t":"code","b":[208,75],"m":"bne","oa":18065,"o":"r_4691"},{"a":17990,"t":"code","b":[173,178,2],"m":"lda","oa":690,"o":"shot1_distance"},{"a":17993,"t":"code","b":[56],"m":"sec"},{"a":17994,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":17996,"t":"code","b":[176,3],"m":"bcs","oa":18001,"o":"b_4651"},{"a":17998,"t":"code","b":[76,145,70],"m":"jmp","oa":18065,"o":"r_4691"},{"a":18001,"l":"b_4651","t":"code","b":[173,189,2],"m":"lda","oa":701,"o":"ammo","x":[17996]},{"a":18004,"t":"code","b":[208,3],"m":"bne","oa":18009,"o":"b_4659"},{"a":18006,"t":"code","b":[76,242,69],"m":"jmp","oa":17906,"o":"j_45F2"},{"a":18009,"l":"b_4659","t":"code","b":[248],"m":"sed","x":[18004]},{"a":18010,"t":"code","b":[56],"m":"sec"},{"a":18011,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":18013,"t":"code","b":[141,189,2],"m":"sta","oa":701,"o":"ammo"},{"a":18016,"t":"code","b":[216],"m":"cld"},{"a":18017,"t":"code","b":[32,165,70],"m":"jsr","oa":18085,"o":"face_player"},{"a":18020,"t":"code","b":[174,176,2],"m":"ldx","oa":688,"o":"player_facing"},{"a":18023,"t":"code","b":[142,179,2],"m":"stx","oa":691,"o":"shot2_direction"},{"a":18026,"t":"code","b":[202],"m":"dex"},{"a":18027,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":18029,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":18032,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":18035,"t":"code","b":[24],"m":"clc"},{"a":18036,"t":"code","b":[125,153,70],"m":"adc","oa":18073,"o":"shot_start_x,x"},{"a":18039,"t":"code","b":[141,221,2],"m":"sta","oa":733,"o":"shot2_x"},{"a":18042,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":18045,"t":"code","b":[24],"m":"clc"},{"a":18046,"t":"code","b":[125,157,70],"m":"adc","oa":18077,"o":"shot_start_y,x"},{"a":18049,"t":"code","b":[141,222,2],"m":"sta","oa":734,"o":"shot2_y"},{"a":18052,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18055,"t":"code","b":[73,16],"m":"eor","o":"#$10"},{"a":18057,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18060,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18062,"t":"code","b":[141,180,2],"m":"sta","oa":692,"o":"shot2_distance"},{"a":18065,"l":"r_4691","t":"code","b":[96],"m":"rts","x":[17988,17998]},{"a":18066,"l":"move_shots","c":"moves each of the player's two shots along one step; the interrupt reaches it through $4586 on two frames in three, and not during a pause or a room change","t":"code","b":[32,250,70],"m":"jsr","oa":18170,"o":"move_shot_1","x":[17853]},{"a":18069,"t":"code","b":[32,117,71],"m":"jsr","oa":18293,"o":"move_shot_2"},{"a":18072,"t":"code","b":[96],"m":"rts"},{"a":18073,"l":"shot_start_x","c":"how far across the player the shot starts, one byte for each of the four directions","t":"byte","b":[16,8,0,24],"x":[17953,18036]},{"a":18077,"l":"shot_start_y","c":"how far down the player the shot starts, one byte for each of the four directions","t":"byte","b":[0,24,8,16],"x":[17963,18046]},{"a":18081,"l":"player_shape_base","c":"the first of the player's four sprite shapes for each direction faced: $E0 up, $E4 down, $E8 left, $EC right","t":"byte","b":[224,228,232,236],"x":[18089]},{"a":18085,"l":"face_player","c":"points the player's four sprites at the shapes for the way the player is facing, from the table at $46A1, marks a shot as pending, and gives sprite 4, the flash at the barrel, the shape for that direction, $F3 plus the direction less one","t":"code","b":[174,176,2],"m":"ldx","oa":688,"o":"player_facing","x":[17934,18017]},{"a":18088,"t":"code","b":[202],"m":"dex"},{"a":18089,"t":"code","b":[189,161,70],"m":"lda","oa":18081,"o":"player_shape_base,x"},{"a":18092,"t":"code","b":[170],"m":"tax"},{"a":18093,"t":"code","b":[142,248,7],"m":"stx","oa":2040,"o":"a_07F8"},{"a":18096,"t":"code","b":[232],"m":"inx"},{"a":18097,"t":"code","b":[142,249,7],"m":"stx","oa":2041,"o":"a_07F9"},{"a":18100,"t":"code","b":[232],"m":"inx"},{"a":18101,"t":"code","b":[142,250,7],"m":"stx","oa":2042,"o":"a_07FA"},{"a":18104,"t":"code","b":[232],"m":"inx"},{"a":18105,"t":"code","b":[142,251,7],"m":"stx","oa":2043,"o":"a_07FB"},{"a":18108,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18110,"t":"code","b":[141,227,2],"m":"sta","oa":739,"o":"shot_pending"},{"a":18113,"t":"code","b":[174,176,2],"m":"ldx","oa":688,"o":"player_facing"},{"a":18116,"t":"code","b":[202],"m":"dex"},{"a":18117,"t":"code","b":[138],"m":"txa"},{"a":18118,"t":"code","b":[24],"m":"clc"},{"a":18119,"t":"code","b":[105,243],"m":"adc","o":"#$F3"},{"a":18121,"t":"code","b":[141,252,7],"m":"sta","oa":2044,"o":"a_07FC"},{"a":18124,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":18127,"t":"code","b":[56],"m":"sec"},{"a":18128,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":18130,"t":"code","b":[24],"m":"clc"},{"a":18131,"t":"code","b":[125,242,70],"m":"adc","oa":18162,"o":"flash_offset_x,x"},{"a":18134,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":18137,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":18140,"t":"code","b":[56],"m":"sec"},{"a":18141,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":18143,"t":"code","b":[24],"m":"clc"},{"a":18144,"t":"code","b":[125,246,70],"m":"adc","oa":18166,"o":"flash_offset_y,x"},{"a":18147,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":18150,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":18152,"t":"code","b":[141,241,70],"m":"sta","oa":18161,"o":"shot_sprite_state"},{"a":18155,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":18157,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":18160,"t":"code","b":[96],"m":"rts"},{"a":18161,"l":"shot_sprite_state","c":"how many frames the flash at the barrel has left: 4 when a shot is fired, yellow from 2, parked at 0; the interrupt reads it when it places sprite 4","t":"byte","b":[0],"x":[18152,19300,19314]},{"a":18162,"l":"flash_offset_x","c":"where the flash at the barrel sits beside the player for each direction","t":"byte","b":[27,10,0,40],"x":[18131]},{"a":18166,"l":"flash_offset_y","c":"where the flash at the barrel sits below the player for each direction","t":"byte","b":[4,37,13,29],"x":[18144]},{"a":18170,"l":"move_shot_1","c":"moves the player's first shot 8 pixels in its direction, if one is in the air, and counts the step in $02B2. When the new position is past the edge of the room (below $3A at the top, $E2 or more at the bottom, below $20 at the left, $F2 or more at the right) it flips bit 1 of $02AF, which $4586 reads to take the shot out. Any direction other than 1 to 3 moves it right.","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[18066]},{"a":18173,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":18175,"t":"code","b":[208,1],"m":"bne","oa":18178,"o":"b_4702"},{"a":18177,"t":"code","b":[96],"m":"rts"},{"a":18178,"l":"b_4702","t":"code","b":[238,178,2],"m":"inc","oa":690,"o":"shot1_distance","x":[18175]},{"a":18181,"t":"code","b":[173,177,2],"m":"lda","oa":689,"o":"shot1_direction"},{"a":18184,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":18186,"t":"code","b":[208,24],"m":"bne","oa":18212,"o":"b_4724"},{"a":18188,"t":"code","b":[173,220,2],"m":"lda","oa":732,"o":"shot1_y"},{"a":18191,"t":"code","b":[56],"m":"sec"},{"a":18192,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":18194,"t":"code","b":[141,220,2],"m":"sta","oa":732,"o":"shot1_y"},{"a":18197,"t":"code","b":[201,58],"m":"cmp","o":"#$3A"},{"a":18199,"t":"code","b":[176,8],"m":"bcs","oa":18209,"o":"b_4721"},{"a":18201,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18204,"t":"code","b":[73,2],"m":"eor","o":"#$02"},{"a":18206,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18209,"l":"b_4721","t":"code","b":[76,116,71],"m":"jmp","oa":18292,"o":"r_4774","x":[18199]},{"a":18212,"l":"b_4724","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[18186]},{"a":18214,"t":"code","b":[208,24],"m":"bne","oa":18240,"o":"b_4740"},{"a":18216,"t":"code","b":[173,220,2],"m":"lda","oa":732,"o":"shot1_y"},{"a":18219,"t":"code","b":[24],"m":"clc"},{"a":18220,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":18222,"t":"code","b":[141,220,2],"m":"sta","oa":732,"o":"shot1_y"},{"a":18225,"t":"code","b":[201,226],"m":"cmp","o":"#$E2"},{"a":18227,"t":"code","b":[144,8],"m":"bcc","oa":18237,"o":"b_473D"},{"a":18229,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18232,"t":"code","b":[73,2],"m":"eor","o":"#$02"},{"a":18234,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18237,"l":"b_473D","t":"code","b":[76,116,71],"m":"jmp","oa":18292,"o":"r_4774","x":[18227]},{"a":18240,"l":"b_4740","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[18214]},{"a":18242,"t":"code","b":[208,24],"m":"bne","oa":18268,"o":"b_475C"},{"a":18244,"t":"code","b":[173,219,2],"m":"lda","oa":731,"o":"shot1_x"},{"a":18247,"t":"code","b":[56],"m":"sec"},{"a":18248,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":18250,"t":"code","b":[141,219,2],"m":"sta","oa":731,"o":"shot1_x"},{"a":18253,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":18255,"t":"code","b":[176,8],"m":"bcs","oa":18265,"o":"b_4759"},{"a":18257,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18260,"t":"code","b":[73,2],"m":"eor","o":"#$02"},{"a":18262,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18265,"l":"b_4759","t":"code","b":[76,116,71],"m":"jmp","oa":18292,"o":"r_4774","x":[18255]},{"a":18268,"l":"b_475C","t":"code","b":[173,219,2],"m":"lda","oa":731,"o":"shot1_x","x":[18242]},{"a":18271,"t":"code","b":[24],"m":"clc"},{"a":18272,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":18274,"t":"code","b":[141,219,2],"m":"sta","oa":731,"o":"shot1_x"},{"a":18277,"t":"code","b":[201,242],"m":"cmp","o":"#$F2"},{"a":18279,"t":"code","b":[144,8],"m":"bcc","oa":18289,"o":"b_4771"},{"a":18281,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18284,"t":"code","b":[73,2],"m":"eor","o":"#$02"},{"a":18286,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18289,"l":"b_4771","t":"code","b":[76,116,71],"m":"jmp","oa":18292,"o":"r_4774","x":[18279]},{"a":18292,"l":"r_4774","t":"code","b":[96],"m":"rts","x":[18209,18237,18265,18289]},{"a":18293,"l":"move_shot_2","c":"moves the player's second shot one tile in its direction, the same way as $46FA does the first, except that it flips bit 5 of $02AF rather than bit 1 and its right edge is $F0. It counts $02B4 up on every call, before it tests whether a second shot is in the air.","t":"code","b":[238,180,2],"m":"inc","oa":692,"o":"shot2_distance","x":[18069]},{"a":18296,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18299,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":18301,"t":"code","b":[208,1],"m":"bne","oa":18304,"o":"b_4780"},{"a":18303,"t":"code","b":[96],"m":"rts"},{"a":18304,"l":"b_4780","t":"code","b":[173,179,2],"m":"lda","oa":691,"o":"shot2_direction","x":[18301]},{"a":18307,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":18309,"t":"code","b":[208,24],"m":"bne","oa":18335,"o":"b_479F"},{"a":18311,"t":"code","b":[173,222,2],"m":"lda","oa":734,"o":"shot2_y"},{"a":18314,"t":"code","b":[56],"m":"sec"},{"a":18315,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":18317,"t":"code","b":[141,222,2],"m":"sta","oa":734,"o":"shot2_y"},{"a":18320,"t":"code","b":[201,58],"m":"cmp","o":"#$3A"},{"a":18322,"t":"code","b":[176,8],"m":"bcs","oa":18332,"o":"b_479C"},{"a":18324,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18327,"t":"code","b":[73,32],"m":"eor","o":"#$20"},{"a":18329,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18332,"l":"b_479C","t":"code","b":[76,239,71],"m":"jmp","oa":18415,"o":"r_47EF","x":[18322]},{"a":18335,"l":"b_479F","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[18309]},{"a":18337,"t":"code","b":[208,24],"m":"bne","oa":18363,"o":"b_47BB"},{"a":18339,"t":"code","b":[173,222,2],"m":"lda","oa":734,"o":"shot2_y"},{"a":18342,"t":"code","b":[24],"m":"clc"},{"a":18343,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":18345,"t":"code","b":[141,222,2],"m":"sta","oa":734,"o":"shot2_y"},{"a":18348,"t":"code","b":[201,226],"m":"cmp","o":"#$E2"},{"a":18350,"t":"code","b":[144,8],"m":"bcc","oa":18360,"o":"b_47B8"},{"a":18352,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18355,"t":"code","b":[73,32],"m":"eor","o":"#$20"},{"a":18357,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18360,"l":"b_47B8","t":"code","b":[76,239,71],"m":"jmp","oa":18415,"o":"r_47EF","x":[18350]},{"a":18363,"l":"b_47BB","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[18337]},{"a":18365,"t":"code","b":[208,24],"m":"bne","oa":18391,"o":"b_47D7"},{"a":18367,"t":"code","b":[173,221,2],"m":"lda","oa":733,"o":"shot2_x"},{"a":18370,"t":"code","b":[56],"m":"sec"},{"a":18371,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":18373,"t":"code","b":[141,221,2],"m":"sta","oa":733,"o":"shot2_x"},{"a":18376,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":18378,"t":"code","b":[176,8],"m":"bcs","oa":18388,"o":"b_47D4"},{"a":18380,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18383,"t":"code","b":[73,32],"m":"eor","o":"#$20"},{"a":18385,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18388,"l":"b_47D4","t":"code","b":[76,239,71],"m":"jmp","oa":18415,"o":"r_47EF","x":[18378]},{"a":18391,"l":"b_47D7","t":"code","b":[173,221,2],"m":"lda","oa":733,"o":"shot2_x","x":[18365]},{"a":18394,"t":"code","b":[24],"m":"clc"},{"a":18395,"t":"code","b":[105,8],"m":"adc","o":"#$08"},{"a":18397,"t":"code","b":[141,221,2],"m":"sta","oa":733,"o":"shot2_x"},{"a":18400,"t":"code","b":[201,240],"m":"cmp","o":"#$F0"},{"a":18402,"t":"code","b":[144,8],"m":"bcc","oa":18412,"o":"b_47EC"},{"a":18404,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":18407,"t":"code","b":[73,32],"m":"eor","o":"#$20"},{"a":18409,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":18412,"l":"b_47EC","t":"code","b":[76,239,71],"m":"jmp","oa":18415,"o":"r_47EF","x":[18402]},{"a":18415,"l":"r_47EF","t":"code","b":[96],"m":"rts","x":[18332,18360,18388,18412]},{"a":18416,"l":"draw_room_rows","c":"the rows of the room left to draw, less one: set to 20 and counted down past 0, so 21 rows are drawn","t":"byte","b":[0],"x":[18447,18500]},{"a":18417,"l":"draw_room","c":"draws the whole room, 28 tiles across and 21 rows down, from the castle map the pointer in $FA names. It is written as a self-modifying loop: the bytes at $4815, $4818 and $481E are the operands of the three instructions in the inner loop, holding the map address, the screen address and the colour address, and the routine rewrites them as it goes. Each tile code goes to the screen and the colour the tile colour table at $8600 gives it goes to colour memory. A row of the map is 128 bytes, so each row adds $80 to the source and 40 to the two destinations.","t":"code","b":[169,41],"m":"lda","o":"#$29","x":[16948,19221]},{"a":18419,"t":"code","b":[141,24,72],"m":"sta","oa":18456,"o":"draw_room_screen"},{"a":18422,"t":"code","b":[141,30,72],"m":"sta","oa":18462,"o":"draw_room_colour"},{"a":18425,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":18427,"t":"code","b":[141,25,72],"m":"sta","oa":18457,"o":"draw_room_screen_hi"},{"a":18430,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":18432,"t":"code","b":[141,31,72],"m":"sta","oa":18463,"o":"draw_room_colour_hi"},{"a":18435,"t":"code","b":[165,250],"m":"lda","oa":250,"o":"room_lo"},{"a":18437,"t":"code","b":[141,21,72],"m":"sta","oa":18453,"o":"draw_room_source"},{"a":18440,"t":"code","b":[165,251],"m":"lda","oa":251,"o":"room_hi"},{"a":18442,"t":"code","b":[141,22,72],"m":"sta","oa":18454,"o":"draw_room_source_hi"},{"a":18445,"t":"code","b":[169,20],"m":"lda","o":"#$14"},{"a":18447,"t":"code","b":[141,240,71],"m":"sta","oa":18416,"o":"draw_room_rows"},{"a":18450,"l":"b_4812","t":"code","b":[160,27],"m":"ldy","o":"#$1B","x":[18503]},{"a":18452,"l":"b_4814","t":"code","b":[191,52,18],"m":"lax","oa":4660,"o":"false_symbol_1234,y","x":[18465]},{"a":18453,"t":"note","l":"draw_room_source","c":"the operand of the instruction that reads the map: the address of the row being drawn","note":"inside the item at $4814","x":[18437,18467,18472]},{"a":18454,"t":"note","l":"draw_room_source_hi","c":"the high byte of the map address the room drawer reads, which it steps on every second row, when adding $80 to the low byte wraps it to $00","note":"inside the item at $4814","x":[18442,18477]},{"a":18455,"t":"code","b":[153,52,18],"m":"sta","oa":4660,"o":"false_symbol_1234,y"},{"a":18456,"t":"note","l":"draw_room_screen","c":"the operand of the instruction that writes the screen","note":"inside the item at $4817","x":[18419,18480,18486]},{"a":18457,"t":"note","l":"draw_room_screen_hi","c":"the high byte of the screen address the room drawer writes, which it steps on when adding 40 to the low byte carries","note":"inside the item at $4817","x":[18427,18494]},{"a":18458,"t":"code","b":[189,0,134],"m":"lda","oa":34304,"o":"tile_colours,x"},{"a":18461,"t":"code","b":[153,52,18],"m":"sta","oa":4660,"o":"false_symbol_1234,y"},{"a":18462,"t":"note","l":"draw_room_colour","c":"the operand of the instruction that writes colour memory","note":"inside the item at $481D","x":[18422,18489]},{"a":18463,"t":"note","l":"draw_room_colour_hi","c":"the high byte of the colour-memory address the room drawer writes, the second byte of the operand of the STA at $481D. $47F1 sets it to $D8 at $4800 and $4841 steps it on when the row's low byte carries.","note":"inside the item at $481D","x":[18432,18497]},{"a":18464,"t":"code","b":[136],"m":"dey"},{"a":18465,"t":"code","b":[16,241],"m":"bpl","oa":18452,"o":"b_4814"},{"a":18467,"t":"code","b":[173,21,72],"m":"lda","oa":18453,"o":"draw_room_source"},{"a":18470,"t":"code","b":[73,128],"m":"eor","o":"#$80"},{"a":18472,"t":"code","b":[141,21,72],"m":"sta","oa":18453,"o":"draw_room_source"},{"a":18475,"t":"code","b":[48,3],"m":"bmi","oa":18480,"o":"b_4830"},{"a":18477,"t":"code","b":[238,22,72],"m":"inc","oa":18454,"o":"draw_room_source_hi"},{"a":18480,"l":"b_4830","t":"code","b":[173,24,72],"m":"lda","oa":18456,"o":"draw_room_screen","x":[18475]},{"a":18483,"t":"code","b":[24],"m":"clc"},{"a":18484,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":18486,"t":"code","b":[141,24,72],"m":"sta","oa":18456,"o":"draw_room_screen"},{"a":18489,"t":"code","b":[141,30,72],"m":"sta","oa":18462,"o":"draw_room_colour"},{"a":18492,"t":"code","b":[144,6],"m":"bcc","oa":18500,"o":"b_4844"},{"a":18494,"t":"code","b":[238,25,72],"m":"inc","oa":18457,"o":"draw_room_screen_hi"},{"a":18497,"t":"code","b":[238,31,72],"m":"inc","oa":18463,"o":"draw_room_colour_hi"},{"a":18500,"l":"b_4844","t":"code","b":[206,240,71],"m":"dec","oa":18416,"o":"draw_room_rows","x":[18492]},{"a":18503,"t":"code","b":[16,201],"m":"bpl","oa":18450,"o":"b_4812"},{"a":18505,"t":"code","b":[96],"m":"rts"},{"a":18506,"l":"start_game_loop","c":"hands the machine over to the game: points $0314 at the game's own interrupt at $4AA7, stops CIA 1's timer A, asks for a raster interrupt on line $E9, banks BASIC out and leaves the KERNAL and the I/O in ($01 = $36), and drops into the loop at $4871","t":"code","b":[120],"m":"sei","x":[17003]},{"a":18507,"t":"code","b":[169,167],"m":"lda","o":"#$A7"},{"a":18509,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":18512,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":18514,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":18517,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18519,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":18522,"t":"code","b":[141,166,74],"m":"sta","oa":19110,"o":"irq_band"},{"a":18525,"t":"code","b":[169,233],"m":"lda","o":"#$E9"},{"a":18527,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":18530,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18532,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":18535,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":18537,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":18540,"t":"code","b":[169,54],"m":"lda","o":"#$36"},{"a":18542,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":18544,"t":"code","b":[88],"m":"cli"},{"a":18545,"l":"game_loop","c":"the game's main loop, which does nothing itself but watch four things and hand over when one of them happens. $02D3 = $FF means the player is dead or the explosives in a chest have been shot ($48F0), $02C8 = 2 that he has stepped onto the lift ($48D4), $02E9 = 1 that a prisoner has been brought home ($49EC) and 2 that the castle has been destroyed ($4A5C), and $C5 = $10 that SPACE is down, which pauses. Everything else - the player, the guards, the shots, the panel - is done by the interrupt.","t":"code","b":[173,211,2],"m":"lda","oa":723,"o":"mission_phase","x":[18576,18641]},{"a":18548,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":18550,"t":"code","b":[240,120],"m":"beq","oa":18672,"o":"game_over"},{"a":18552,"t":"code","b":[173,200,2],"m":"lda","oa":712,"o":"lift_state"},{"a":18555,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":18557,"t":"code","b":[240,85],"m":"beq","oa":18644,"o":"stepped_into_lift"},{"a":18559,"t":"code","b":[173,233,2],"m":"lda","oa":745,"o":"handover_wanted"},{"a":18562,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":18564,"t":"code","b":[240,13],"m":"beq","oa":18579,"o":"b_4893"},{"a":18566,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":18568,"t":"code","b":[240,12],"m":"beq","oa":18582,"o":"b_4896"},{"a":18570,"t":"code","b":[165,197],"m":"lda","oa":197,"o":"space_down"},{"a":18572,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":18574,"t":"code","b":[240,9],"m":"beq","oa":18585,"o":"pause_game"},{"a":18576,"t":"code","b":[76,113,72],"m":"jmp","oa":18545,"o":"game_loop"},{"a":18579,"l":"b_4893","t":"code","b":[76,236,73],"m":"jmp","oa":18924,"o":"prisoner_delivered","x":[18564]},{"a":18582,"l":"b_4896","t":"code","b":[76,92,74],"m":"jmp","oa":19036,"o":"castle_destroyed","x":[18568]},{"a":18585,"l":"pause_game","c":"SPACE pauses. It sets the pause flag, waits for SPACE to be let go, and then holds the game: with nothing on the joystick and the message line idle it prints \"...PAUSING...\", and it keeps printing it until SPACE or the stick is touched, when it clears the flag and the loop goes on.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[18574]},{"a":18587,"t":"code","b":[141,201,2],"m":"sta","oa":713,"o":"pause_flag"},{"a":18590,"l":"b_489E","t":"code","b":[165,197],"m":"lda","oa":197,"o":"space_down","x":[18592]},{"a":18592,"t":"code","b":[208,252],"m":"bne","oa":18590,"o":"b_489E"},{"a":18594,"l":"b_48A2","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[18616,18629]},{"a":18597,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":18599,"t":"code","b":[73,31],"m":"eor","o":"#$1F"},{"a":18601,"t":"code","b":[208,29],"m":"bne","oa":18632,"o":"b_48C8"},{"a":18603,"t":"code","b":[165,197],"m":"lda","oa":197,"o":"space_down"},{"a":18605,"t":"code","b":[240,3],"m":"beq","oa":18610,"o":"b_48B2"},{"a":18607,"t":"code","b":[76,200,72],"m":"jmp","oa":18632,"o":"b_48C8"},{"a":18610,"l":"b_48B2","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[18605]},{"a":18613,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":18616,"t":"code","b":[208,232],"m":"bne","oa":18594,"o":"b_48A2"},{"a":18618,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18620,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":18622,"t":"code","b":[169,89],"m":"lda","o":"#$59"},{"a":18624,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":18626,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":18629,"t":"code","b":[76,162,72],"m":"jmp","oa":18594,"o":"b_48A2"},{"a":18632,"l":"b_48C8","t":"code","b":[165,197],"m":"lda","oa":197,"o":"space_down","x":[18601,18607,18634]},{"a":18634,"t":"code","b":[208,252],"m":"bne","oa":18632,"o":"b_48C8"},{"a":18636,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18638,"t":"code","b":[141,201,2],"m":"sta","oa":713,"o":"pause_flag"},{"a":18641,"t":"code","b":[76,113,72],"m":"jmp","oa":18545,"o":"game_loop"},{"a":18644,"l":"stepped_into_lift","c":"the player has stepped onto the lift carrying a pass. It writes $26 to $01 (the same banking as play: BASIC out, KERNAL and I/O in), sets the pause flag, holds the game while the message line empties, turns every sprite off, slides the room away ($6018) and goes to $4946, which asks which floor to ride to.","t":"code","b":[169,38],"m":"lda","o":"#$26","x":[18557]},{"a":18646,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":18648,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18650,"t":"code","b":[141,201,2],"m":"sta","oa":713,"o":"pause_flag"},{"a":18653,"l":"b_48DD","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[18659]},{"a":18656,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":18659,"t":"code","b":[208,248],"m":"bne","oa":18653,"o":"b_48DD"},{"a":18661,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18663,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":18666,"t":"code","b":[32,24,96],"m":"jsr","oa":24600,"o":"go_slide_room_apart"},{"a":18669,"t":"code","b":[76,70,73],"m":"jmp","oa":18758,"o":"between_missions"},{"a":18672,"l":"game_over","c":"the player is dead, or the explosives in a chest have been shot. It sets the pause flag, redraws the panel's numbers ($5995), waits for the message line to empty, waits ($5FDA), silences all three voices and the volume, turns the sprites off, copies the six score digits off the panel at $05D7 into $0819 as ASCII for the high score check, slides the room away ($6018), blanks the screen ($D011 = $6B), shows \"YOU ARE DEAD\" ($082A, which goes to $1A21), banks BASIC back in ($01 = $37) and goes to the high score check at $0810.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[18550]},{"a":18674,"t":"code","b":[141,201,2],"m":"sta","oa":713,"o":"pause_flag"},{"a":18677,"t":"code","b":[32,149,89],"m":"jsr","oa":22933,"o":"draw_panel_numbers"},{"a":18680,"l":"b_48F8","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[18686]},{"a":18683,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":18686,"t":"code","b":[208,248],"m":"bne","oa":18680,"o":"b_48F8"},{"a":18688,"t":"code","b":[32,218,95],"m":"jsr","oa":24538,"o":"short_delay"},{"a":18691,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18693,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":18696,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":18699,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":18702,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":18705,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18707,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":18710,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":18712,"l":"b_4918","t":"code","b":[189,215,5],"m":"lda","oa":1495,"o":"f_05D7,x","x":[18726]},{"a":18715,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":18717,"t":"code","b":[24],"m":"clc"},{"a":18718,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":18720,"t":"code","b":[157,25,8],"m":"sta","oa":2073,"o":"score_digits,x"},{"a":18723,"t":"code","b":[232],"m":"inx"},{"a":18724,"t":"code","b":[224,6],"m":"cpx","o":"#$06"},{"a":18726,"t":"code","b":[208,240],"m":"bne","oa":18712,"o":"b_4918"},{"a":18728,"t":"code","b":[32,24,96],"m":"jsr","oa":24600,"o":"go_slide_room_apart"},{"a":18731,"t":"code","b":[120],"m":"sei"},{"a":18732,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":18734,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":18737,"t":"code","b":[32,42,8],"m":"jsr","oa":2090,"o":"go_you_are_dead"},{"a":18740,"t":"code","b":[32,218,95],"m":"jsr","oa":24538,"o":"short_delay"},{"a":18743,"t":"code","b":[32,218,95],"m":"jsr","oa":24538,"o":"short_delay"},{"a":18746,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":18748,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":18751,"t":"code","b":[169,55],"m":"lda","o":"#$37"},{"a":18753,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":18755,"t":"code","b":[76,16,8],"m":"jmp","oa":2064,"o":"go_hiscore_check"},{"a":18758,"l":"between_missions","c":"what happens between missions. Points $0314 at $EA34 in the KERNAL's interrupt handler, turns the raster interrupt off and starts CIA 1's timer A again, so the mission screens have a working keyboard. With no mission in progress it clears $4012 (the prisoner rode the lift) and asks for a mission ($1D23): mission 1 puts the prisoner in the basement, 2 on the first floor, 3 on the second, and 4, the demolition, has no prisoner, which is $FF in $4010. With a mission already in progress it asks which floor the lift should go to ($1AB2) instead, takes the prisoner along when he was on the floor left behind and $02E8 is clear, and keeps the keys, the ammunition, the hits and the three bytes of the score in $4009 to $400E while the screens are up.","t":"code","b":[120],"m":"sei","x":[16460,18669]},{"a":18759,"t":"code","b":[169,52],"m":"lda","o":"#$34"},{"a":18761,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":18764,"t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":18766,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":18769,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18771,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":18774,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18776,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":18779,"t":"code","b":[88],"m":"cli"},{"a":18780,"t":"code","b":[173,110,66],"m":"lda","oa":17006,"o":"mission_in_progress"},{"a":18783,"t":"code","b":[208,55],"m":"bne","oa":18840,"o":"b_4998"},{"a":18785,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18787,"t":"code","b":[141,18,64],"m":"sta","oa":16402,"o":"prisoner_rode_lift"},{"a":18790,"t":"code","b":[32,48,8],"m":"jsr","oa":2096,"o":"go_mission_select"},{"a":18793,"t":"code","b":[141,15,64],"m":"sta","oa":16399,"o":"mission_chosen"},{"a":18796,"l":"j_496C","t":"code","b":[201,1],"m":"cmp","o":"#$01","x":[19033]},{"a":18798,"t":"code","b":[240,16],"m":"beq","oa":18816,"o":"b_4980"},{"a":18800,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":18802,"t":"code","b":[240,20],"m":"beq","oa":18824,"o":"b_4988"},{"a":18804,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":18806,"t":"code","b":[240,24],"m":"beq","oa":18832,"o":"b_4990"},{"a":18808,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":18810,"t":"code","b":[141,16,64],"m":"sta","oa":16400,"o":"prisoner_floor"},{"a":18813,"t":"code","b":[76,233,73],"m":"jmp","oa":18921,"o":"j_49E9"},{"a":18816,"l":"b_4980","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[18798]},{"a":18818,"t":"code","b":[141,16,64],"m":"sta","oa":16400,"o":"prisoner_floor"},{"a":18821,"t":"code","b":[76,233,73],"m":"jmp","oa":18921,"o":"j_49E9"},{"a":18824,"l":"b_4988","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[18802]},{"a":18826,"t":"code","b":[141,16,64],"m":"sta","oa":16400,"o":"prisoner_floor"},{"a":18829,"t":"code","b":[76,233,73],"m":"jmp","oa":18921,"o":"j_49E9"},{"a":18832,"l":"b_4990","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[18806]},{"a":18834,"t":"code","b":[141,16,64],"m":"sta","oa":16400,"o":"prisoner_floor"},{"a":18837,"t":"code","b":[76,233,73],"m":"jmp","oa":18921,"o":"j_49E9"},{"a":18840,"l":"b_4998","t":"code","b":[173,167,2],"m":"lda","oa":679,"o":"current_floor","x":[18783]},{"a":18843,"t":"code","b":[141,230,2],"m":"sta","oa":742,"o":"floor_before_lift"},{"a":18846,"t":"code","b":[32,45,8],"m":"jsr","oa":2093,"o":"go_floor_select"},{"a":18849,"t":"code","b":[141,167,2],"m":"sta","oa":679,"o":"current_floor"},{"a":18852,"t":"code","b":[173,16,64],"m":"lda","oa":16400,"o":"prisoner_floor"},{"a":18855,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":18857,"t":"code","b":[240,26],"m":"beq","oa":18885,"o":"b_49C5"},{"a":18859,"t":"code","b":[205,230,2],"m":"cmp","oa":742,"o":"floor_before_lift"},{"a":18862,"t":"code","b":[208,21],"m":"bne","oa":18885,"o":"b_49C5"},{"a":18864,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18866,"t":"code","b":[141,18,64],"m":"sta","oa":16402,"o":"prisoner_rode_lift"},{"a":18869,"t":"code","b":[173,232,2],"m":"lda","oa":744,"o":"prisoner_free"},{"a":18872,"t":"code","b":[208,11],"m":"bne","oa":18885,"o":"b_49C5"},{"a":18874,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18876,"t":"code","b":[141,18,64],"m":"sta","oa":16402,"o":"prisoner_rode_lift"},{"a":18879,"t":"code","b":[173,167,2],"m":"lda","oa":679,"o":"current_floor"},{"a":18882,"t":"code","b":[141,16,64],"m":"sta","oa":16400,"o":"prisoner_floor"},{"a":18885,"l":"b_49C5","t":"code","b":[173,172,2],"m":"lda","oa":684,"o":"keys","x":[18857,18862,18872]},{"a":18888,"t":"code","b":[141,9,64],"m":"sta","oa":16393,"o":"keys_carried_over"},{"a":18891,"t":"code","b":[173,189,2],"m":"lda","oa":701,"o":"ammo"},{"a":18894,"t":"code","b":[141,10,64],"m":"sta","oa":16394,"o":"ammo_carried_over"},{"a":18897,"t":"code","b":[173,198,2],"m":"lda","oa":710,"o":"hits"},{"a":18900,"t":"code","b":[141,11,64],"m":"sta","oa":16395,"o":"hits_carried_over"},{"a":18903,"t":"code","b":[173,194,2],"m":"lda","oa":706,"o":"score_hi"},{"a":18906,"t":"code","b":[141,12,64],"m":"sta","oa":16396,"o":"score_hi_carried_over"},{"a":18909,"t":"code","b":[173,195,2],"m":"lda","oa":707,"o":"score_mid"},{"a":18912,"t":"code","b":[141,13,64],"m":"sta","oa":16397,"o":"score_mid_carried_over"},{"a":18915,"t":"code","b":[173,196,2],"m":"lda","oa":708,"o":"score_lo"},{"a":18918,"t":"code","b":[141,14,64],"m":"sta","oa":16398,"o":"score_lo_carried_over"},{"a":18921,"l":"j_49E9","t":"code","b":[76,79,64],"m":"jmp","oa":16463,"o":"mission_start","x":[18813,18821,18829,18837]},{"a":18924,"l":"prisoner_delivered","c":"a prisoner has been brought home. It waits for the message line to empty, then sets up the next mission's start: no keys, the ammunition back to 99 and the hits to none, and the score kept ($4009 to $400E). It clears $6043 and $4012, slides the room away ($6018), puts the KERNAL's interrupt back ($EA34), counts the mission on in $400F and copies it to $0836, shows the next mission's briefing ($0833), sets $4011 so that $5EE2 starts the player as for a new mission, and goes back to $496C to start it.","t":"code","b":[169,38],"m":"lda","o":"#$26","x":[18579]},{"a":18926,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":18928,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":18930,"t":"code","b":[141,201,2],"m":"sta","oa":713,"o":"pause_flag"},{"a":18933,"l":"b_49F5","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[18939]},{"a":18936,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":18939,"t":"code","b":[208,248],"m":"bne","oa":18933,"o":"b_49F5"},{"a":18941,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18943,"t":"code","b":[141,67,96],"m":"sta","oa":24643,"o":"prisoner_announced"},{"a":18946,"t":"code","b":[141,9,64],"m":"sta","oa":16393,"o":"keys_carried_over"},{"a":18949,"t":"code","b":[141,18,64],"m":"sta","oa":16402,"o":"prisoner_rode_lift"},{"a":18952,"t":"code","b":[169,153],"m":"lda","o":"#$99"},{"a":18954,"t":"code","b":[141,10,64],"m":"sta","oa":16394,"o":"ammo_carried_over"},{"a":18957,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18959,"t":"code","b":[141,11,64],"m":"sta","oa":16395,"o":"hits_carried_over"},{"a":18962,"t":"code","b":[173,194,2],"m":"lda","oa":706,"o":"score_hi"},{"a":18965,"t":"code","b":[141,12,64],"m":"sta","oa":16396,"o":"score_hi_carried_over"},{"a":18968,"t":"code","b":[173,195,2],"m":"lda","oa":707,"o":"score_mid"},{"a":18971,"t":"code","b":[141,13,64],"m":"sta","oa":16397,"o":"score_mid_carried_over"},{"a":18974,"t":"code","b":[173,196,2],"m":"lda","oa":708,"o":"score_lo"},{"a":18977,"t":"code","b":[141,14,64],"m":"sta","oa":16398,"o":"score_lo_carried_over"},{"a":18980,"t":"code","b":[32,218,95],"m":"jsr","oa":24538,"o":"short_delay"},{"a":18983,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18985,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":18988,"t":"code","b":[32,24,96],"m":"jsr","oa":24600,"o":"go_slide_room_apart"},{"a":18991,"t":"code","b":[120],"m":"sei"},{"a":18992,"t":"code","b":[169,52],"m":"lda","o":"#$34"},{"a":18994,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":18997,"t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":18999,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":19002,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19004,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":19007,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19009,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":19012,"t":"code","b":[88],"m":"cli"},{"a":19013,"t":"code","b":[238,15,64],"m":"inc","oa":16399,"o":"mission_chosen"},{"a":19016,"t":"code","b":[173,15,64],"m":"lda","oa":16399,"o":"mission_chosen"},{"a":19019,"t":"code","b":[141,54,8],"m":"sta","oa":2102,"o":"mission_number"},{"a":19022,"t":"code","b":[32,51,8],"m":"jsr","oa":2099,"o":"go_mission_briefing"},{"a":19025,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19027,"t":"code","b":[141,17,64],"m":"sta","oa":16401,"o":"new_mission_start"},{"a":19030,"t":"code","b":[173,15,64],"m":"lda","oa":16399,"o":"mission_chosen"},{"a":19033,"t":"code","b":[76,108,73],"m":"jmp","oa":18796,"o":"j_496C"},{"a":19036,"l":"castle_destroyed","c":"the castle has been destroyed. It copies the six score digits off the panel into $0819, waits for the message line to empty, slides the room away, puts the KERNAL's interrupt back and shows the end-of-mission screen ($0837), then goes to the high score check at $0810.","t":"code","b":[169,38],"m":"lda","o":"#$26","x":[18582]},{"a":19038,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":19040,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19042,"t":"code","b":[141,201,2],"m":"sta","oa":713,"o":"pause_flag"},{"a":19045,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":19047,"l":"b_4A67","t":"code","b":[189,215,5],"m":"lda","oa":1495,"o":"f_05D7,x","x":[19061]},{"a":19050,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":19052,"t":"code","b":[24],"m":"clc"},{"a":19053,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":19055,"t":"code","b":[157,25,8],"m":"sta","oa":2073,"o":"score_digits,x"},{"a":19058,"t":"code","b":[232],"m":"inx"},{"a":19059,"t":"code","b":[224,6],"m":"cpx","o":"#$06"},{"a":19061,"t":"code","b":[208,240],"m":"bne","oa":19047,"o":"b_4A67"},{"a":19063,"l":"b_4A77","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[19069]},{"a":19066,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":19069,"t":"code","b":[208,248],"m":"bne","oa":19063,"o":"b_4A77"},{"a":19071,"t":"code","b":[32,218,95],"m":"jsr","oa":24538,"o":"short_delay"},{"a":19074,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19076,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":19079,"t":"code","b":[32,24,96],"m":"jsr","oa":24600,"o":"go_slide_room_apart"},{"a":19082,"t":"code","b":[120],"m":"sei"},{"a":19083,"t":"code","b":[169,52],"m":"lda","o":"#$34"},{"a":19085,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":19088,"t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":19090,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":19093,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19095,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":19098,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19100,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":19103,"t":"code","b":[88],"m":"cli"},{"a":19104,"t":"code","b":[32,55,8],"m":"jsr","oa":2103,"o":"go_mission_result"},{"a":19107,"t":"code","b":[76,16,8],"m":"jmp","oa":2064,"o":"go_hiscore_check"},{"a":19110,"l":"irq_band","c":"which of the game's two interrupt bands comes next, flipped between 1 and 0 each time","t":"byte","b":[0],"x":[18522,19116,19119]},{"a":19111,"l":"game_irq","c":"the game's own interrupt, and where nearly everything in play happens. It serves two bands, flipped by $4AA6: one sets the screen to the play character set at $2000 and does the game's work ($4ACD), then asks for line $E3; the other sets the message line's character set at $2800 with its fine scroll and draws the sprites ($4B4C), then asks for line $FC. It never chains to the KERNAL's handler, so the jiffy clock and the KERNAL's keyboard scan do not run while the game is playing, which is why the game scans SPACE itself.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19113,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":19116,"t":"code","b":[77,166,74],"m":"eor","oa":19110,"o":"irq_band"},{"a":19119,"t":"code","b":[141,166,74],"m":"sta","oa":19110,"o":"irq_band"},{"a":19122,"t":"code","b":[240,11],"m":"beq","oa":19135,"o":"b_4ABF"},{"a":19124,"t":"code","b":[32,205,74],"m":"jsr","oa":19149,"o":"irq_game_work"},{"a":19127,"t":"code","b":[169,227],"m":"lda","o":"#$E3"},{"a":19129,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":19132,"t":"code","b":[76,199,74],"m":"jmp","oa":19143,"o":"j_4AC7"},{"a":19135,"l":"b_4ABF","t":"code","b":[32,76,75],"m":"jsr","oa":19276,"o":"irq_sprites_and_message","x":[19122]},{"a":19138,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":19140,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":19143,"l":"j_4AC7","t":"code","b":[104],"m":"pla","x":[19132]},{"a":19144,"t":"code","b":[168],"m":"tay"},{"a":19145,"t":"code","b":[104],"m":"pla"},{"a":19146,"t":"code","b":[170],"m":"tax"},{"a":19147,"t":"code","b":[104],"m":"pla"},{"a":19148,"t":"code","b":[64],"m":"rti"},{"a":19149,"l":"irq_game_work","c":"the interrupt's first band. Puts the screen on the play character set at $2000 in multicolour with 38 columns, adds a waiting point to the score ($5AA0), redraws the panel's numbers ($5995) unless $02EF is 0, and scans SPACE ($5FCB). Unless the game is paused it then does one of two things. While a room change is under way (the low three bits of $02AA) it redraws the room ($47F1). Otherwise it steps a three-phase rota counted in $02EF: phase 1 redraws the room ($47F1); phase 2 runs the walked-onto test ($4D3A), the shots ($5212, $4586), the prodding ($5A33), the player's stamp with only the figures ($5B1B with $02F0 = 1), the jewels ($5CB9) and the end-of-mission check ($5F27); phase 3 puts $02EF back to 0 and runs the shots ($5212, $4586) and the stamp with the prisoner as well ($02F0 = 3). Every path ends by stepping the message line's scroll ($4B35).","t":"code","b":[169,24],"m":"lda","o":"#$18","x":[19124]},{"a":19151,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":19154,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":19156,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":19159,"t":"code","b":[32,160,90],"m":"jsr","oa":23200,"o":"score_ticker"},{"a":19162,"t":"code","b":[173,239,2],"m":"lda","oa":751,"o":"irq_phase"},{"a":19165,"t":"code","b":[240,3],"m":"beq","oa":19170,"o":"b_4AE2"},{"a":19167,"t":"code","b":[32,149,89],"m":"jsr","oa":22933,"o":"draw_panel_numbers"},{"a":19170,"l":"b_4AE2","t":"code","b":[32,203,95],"m":"jsr","oa":24523,"o":"scan_space","x":[19165]},{"a":19173,"t":"code","b":[173,201,2],"m":"lda","oa":713,"o":"pause_flag"},{"a":19176,"t":"code","b":[208,75],"m":"bne","oa":19253,"o":"step_message_scroll"},{"a":19178,"t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change"},{"a":19181,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":19183,"t":"code","b":[208,36],"m":"bne","oa":19221,"o":"b_4B15"},{"a":19185,"t":"code","b":[238,239,2],"m":"inc","oa":751,"o":"irq_phase"},{"a":19188,"t":"code","b":[173,239,2],"m":"lda","oa":751,"o":"irq_phase"},{"a":19191,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":19193,"t":"code","b":[240,26],"m":"beq","oa":19221,"o":"b_4B15"},{"a":19195,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":19197,"t":"code","b":[240,28],"m":"beq","oa":19227,"o":"b_4B1B"},{"a":19199,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19201,"t":"code","b":[141,239,2],"m":"sta","oa":751,"o":"irq_phase"},{"a":19204,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":19206,"t":"code","b":[141,240,2],"m":"sta","oa":752,"o":"figures_or_prisoner"},{"a":19209,"t":"code","b":[32,18,82],"m":"jsr","oa":21010,"o":"shots_hit_anything"},{"a":19212,"t":"code","b":[32,134,69],"m":"jsr","oa":17798,"o":"clear_spent_shots"},{"a":19215,"t":"code","b":[32,27,91],"m":"jsr","oa":23323,"o":"stamp_player_in_map"},{"a":19218,"t":"code","b":[76,53,75],"m":"jmp","oa":19253,"o":"step_message_scroll"},{"a":19221,"l":"b_4B15","t":"code","b":[32,241,71],"m":"jsr","oa":18417,"o":"draw_room","x":[19183,19193]},{"a":19224,"t":"code","b":[76,53,75],"m":"jmp","oa":19253,"o":"step_message_scroll"},{"a":19227,"l":"b_4B1B","t":"code","b":[32,58,77],"m":"jsr","oa":19770,"o":"walked_onto_something","x":[19197]},{"a":19230,"t":"code","b":[32,18,82],"m":"jsr","oa":21010,"o":"shots_hit_anything"},{"a":19233,"t":"code","b":[32,134,69],"m":"jsr","oa":17798,"o":"clear_spent_shots"},{"a":19236,"t":"code","b":[32,51,90],"m":"jsr","oa":23091,"o":"idle_nags"},{"a":19239,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19241,"t":"code","b":[141,240,2],"m":"sta","oa":752,"o":"figures_or_prisoner"},{"a":19244,"t":"code","b":[32,27,91],"m":"jsr","oa":23323,"o":"stamp_player_in_map"},{"a":19247,"t":"code","b":[32,185,92],"m":"jsr","oa":23737,"o":"jewels_pickup"},{"a":19250,"t":"code","b":[32,39,95],"m":"jsr","oa":24359,"o":"mission_done_check"},{"a":19253,"l":"step_message_scroll","c":"steps the message line four pixels left, and when two steps have used up a whole cell shifts the line's text one cell along ($4BDC) and brings the next cell in ($5951). A character of the big alphabet is two cells wide, so it takes four steps.","t":"code","b":[173,169,2],"m":"lda","oa":681,"o":"message_scroll","x":[19176,19218,19224]},{"a":19256,"t":"code","b":[56],"m":"sec"},{"a":19257,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":19259,"t":"code","b":[141,169,2],"m":"sta","oa":681,"o":"message_scroll"},{"a":19262,"t":"code","b":[176,11],"m":"bcs","oa":19275,"o":"r_4B4B"},{"a":19264,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":19266,"t":"code","b":[141,169,2],"m":"sta","oa":681,"o":"message_scroll"},{"a":19269,"t":"code","b":[32,220,75],"m":"jsr","oa":19420,"o":"shift_message_line"},{"a":19272,"t":"code","b":[32,81,89],"m":"jsr","oa":22865,"o":"scroll_message_in"},{"a":19275,"l":"r_4B4B","t":"code","b":[96],"m":"rts","x":[19262]},{"a":19276,"l":"irq_sprites_and_message","c":"the interrupt's second band. Puts the screen on the big alphabet at $2800 with the message line's fine scroll in $D016, runs the sound's frame ($600C, which goes to $63E6) and checks the hits and steps the explosion ($5BBA). Unless the game is paused it counts the flash at the barrel down after a shot is fired, turning sprite 4 yellow at 2 and parking it at (0,0) at 0, and runs the player and the room changes ($426F) unless bit 3 of $02AA is set, which nothing in the code sets: the mission start clears it ($4058) and the room changes only keep it. It then places the player's four sprites round the position in $02DF and $02E0 and, unless a shot is pending ($02E3), sets their shape pointers at $07F8 to $07FB from the direction ($02B0), the table at $4BD8 and bit 1 of the step count $02DA.","t":"code","b":[169,26],"m":"lda","o":"#$1A","x":[19135]},{"a":19278,"t":"code","b":[141,24,208],"m":"sta","o":"vic_memory"},{"a":19281,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":19283,"t":"code","b":[13,169,2],"m":"ora","oa":681,"o":"message_scroll"},{"a":19286,"t":"code","b":[141,22,208],"m":"sta","o":"vic_control2"},{"a":19289,"t":"code","b":[32,12,96],"m":"jsr","oa":24588,"o":"go_sound_tick"},{"a":19292,"t":"code","b":[32,186,91],"m":"jsr","oa":23482,"o":"mission_state"},{"a":19295,"t":"code","b":[173,201,2],"m":"lda","oa":713,"o":"pause_flag"},{"a":19298,"t":"code","b":[208,37],"m":"bne","oa":19337,"o":"b_4B89"},{"a":19300,"t":"code","b":[173,241,70],"m":"lda","oa":18161,"o":"shot_sprite_state"},{"a":19303,"t":"code","b":[240,22],"m":"beq","oa":19327,"o":"b_4B7F"},{"a":19305,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":19307,"t":"code","b":[208,5],"m":"bne","oa":19314,"o":"b_4B72"},{"a":19309,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":19311,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":19314,"l":"b_4B72","t":"code","b":[206,241,70],"m":"dec","oa":18161,"o":"shot_sprite_state","x":[19307]},{"a":19317,"t":"code","b":[208,8],"m":"bne","oa":19327,"o":"b_4B7F"},{"a":19319,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19321,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":19324,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":19327,"l":"b_4B7F","t":"code","b":[173,170,2],"m":"lda","oa":682,"o":"room_change","x":[19303,19317]},{"a":19330,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":19332,"t":"code","b":[208,3],"m":"bne","oa":19337,"o":"b_4B89"},{"a":19334,"t":"code","b":[32,111,66],"m":"jsr","oa":17007,"o":"player_and_rooms"},{"a":19337,"l":"b_4B89","t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x","x":[19298,19332]},{"a":19340,"t":"code","b":[56],"m":"sec"},{"a":19341,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":19343,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":19346,"t":"code","b":[141,4,208],"m":"sta","o":"vic_sprite2_x"},{"a":19349,"t":"code","b":[24],"m":"clc"},{"a":19350,"t":"code","b":[105,24],"m":"adc","o":"#$18"},{"a":19352,"t":"code","b":[141,2,208],"m":"sta","o":"vic_sprite1_x"},{"a":19355,"t":"code","b":[141,6,208],"m":"sta","o":"vic_sprite3_x"},{"a":19358,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":19361,"t":"code","b":[56],"m":"sec"},{"a":19362,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":19364,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":19367,"t":"code","b":[141,3,208],"m":"sta","o":"vic_sprite1_y"},{"a":19370,"t":"code","b":[24],"m":"clc"},{"a":19371,"t":"code","b":[105,21],"m":"adc","o":"#$15"},{"a":19373,"t":"code","b":[141,5,208],"m":"sta","o":"vic_sprite2_y"},{"a":19376,"t":"code","b":[141,7,208],"m":"sta","o":"vic_sprite3_y"},{"a":19379,"t":"code","b":[173,227,2],"m":"lda","oa":739,"o":"shot_pending"},{"a":19382,"t":"code","b":[208,31],"m":"bne","oa":19415,"o":"r_4BD7"},{"a":19384,"t":"code","b":[174,176,2],"m":"ldx","oa":688,"o":"player_facing"},{"a":19387,"t":"code","b":[202],"m":"dex"},{"a":19388,"t":"code","b":[173,218,2],"m":"lda","oa":730,"o":"walk_count"},{"a":19391,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":19393,"t":"code","b":[10],"m":"asl","o":"a"},{"a":19394,"t":"code","b":[10],"m":"asl","o":"a"},{"a":19395,"t":"code","b":[10],"m":"asl","o":"a"},{"a":19396,"t":"code","b":[125,216,75],"m":"adc","oa":19416,"o":"walk_pose_shapes,x"},{"a":19399,"t":"code","b":[170],"m":"tax"},{"a":19400,"t":"code","b":[142,248,7],"m":"stx","oa":2040,"o":"a_07F8"},{"a":19403,"t":"code","b":[232],"m":"inx"},{"a":19404,"t":"code","b":[142,249,7],"m":"stx","oa":2041,"o":"a_07F9"},{"a":19407,"t":"code","b":[232],"m":"inx"},{"a":19408,"t":"code","b":[142,250,7],"m":"stx","oa":2042,"o":"a_07FA"},{"a":19411,"t":"code","b":[232],"m":"inx"},{"a":19412,"t":"code","b":[142,251,7],"m":"stx","oa":2043,"o":"a_07FB"},{"a":19415,"l":"r_4BD7","t":"code","b":[96],"m":"rts","x":[19382]},{"a":19416,"l":"walk_pose_shapes","c":"the first sprite shape of the player's walking pose for each direction: $C0 up, $C4 down, $C8 left, $CC right. $4BC4 reads it with the direction less one and adds $10 while bit 1 of the step count $02DA is set, so the pose changes after every two steps.","t":"byte","b":[192,196,200,204],"x":[19396]},{"a":19420,"l":"shift_message_line","c":"shifts the message line's two rows one cell to the left, so the text moves on after the fine scroll has used up a whole cell","t":"code","b":[162,216],"m":"ldx","o":"#$D8","x":[19269]},{"a":19422,"l":"b_4BDE","t":"code","b":[189,193,6],"m":"lda","oa":1729,"o":"f_06C1,x","x":[19435]},{"a":19425,"t":"code","b":[157,192,6],"m":"sta","oa":1728,"o":"f_06C0,x"},{"a":19428,"t":"code","b":[189,233,6],"m":"lda","oa":1769,"o":"f_06E9,x"},{"a":19431,"t":"code","b":[157,232,6],"m":"sta","oa":1768,"o":"f_06E8,x"},{"a":19434,"t":"code","b":[232],"m":"inx"},{"a":19435,"t":"code","b":[208,241],"m":"bne","oa":19422,"o":"b_4BDE"},{"a":19437,"t":"code","b":[96],"m":"rts"},{"a":19438,"l":"wipe_line_top","c":"the raster line the wipe's open band starts at","t":"byte","b":[0],"x":[19460,19506,19565,19572,19578,19597,19604,19610]},{"a":19439,"l":"wipe_line_bottom","c":"the raster line the wipe's open band ends at","t":"byte","b":[0],"x":[19465,19518,19581,19587,19613,19619]},{"a":19440,"l":"wipe_band","c":"which of the wipe interrupt's two bands comes next, flipped each time","t":"byte","b":[0],"x":[19470,19495,19498]},{"a":19441,"l":"irq_state","c":"how far the wipe at the start of play has got. $4BF2 leaves it at 0, which closes the window, and the interrupt answers 3 when it has closed ($4095 waits for that). The main code then sets 1 to open it again ($4239), and the interrupt answers 2 when it is open ($4241 waits for that).","t":"byte","b":[0],"x":[16533,16953,16961,19475,19555,19593,19625]},{"a":19442,"l":"install_wipe_irq","c":"installs the interrupt that wipes the screen shut and open again when play starts on a floor ($4092): stops CIA 1's timer A, turns the raster interrupt on, sets the band to lines $32 to $FA, sets $4BF1 to 0 and points $0314 at $4C22","t":"code","b":[120],"m":"sei","x":[16530]},{"a":19443,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19445,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":19448,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":19450,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":19453,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19455,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":19458,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":19460,"t":"code","b":[141,238,75],"m":"sta","oa":19438,"o":"wipe_line_top"},{"a":19463,"t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":19465,"t":"code","b":[141,239,75],"m":"sta","oa":19439,"o":"wipe_line_bottom"},{"a":19468,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19470,"t":"code","b":[141,240,75],"m":"sta","oa":19440,"o":"wipe_band"},{"a":19473,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19475,"t":"code","b":[141,241,75],"m":"sta","oa":19441,"o":"irq_state"},{"a":19478,"t":"code","b":[169,34],"m":"lda","o":"#$22"},{"a":19480,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"irq_vector"},{"a":19483,"t":"code","b":[169,76],"m":"lda","o":"#$4C"},{"a":19485,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_vector_hi"},{"a":19488,"t":"code","b":[88],"m":"cli"},{"a":19489,"t":"code","b":[96],"m":"rts"},{"a":19490,"l":"wipe_irq","c":"the interrupt that opens and shuts the screen. Its two bands set the display on inside the band and an invalid, black mode outside it, so what shows is a window that closes to the middle of the screen and opens again four lines at a time. It reports where it has got to in $4BF1.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19492,"t":"code","b":[141,25,208],"m":"sta","o":"vic_irq_status"},{"a":19495,"t":"code","b":[77,240,75],"m":"eor","oa":19440,"o":"wipe_band"},{"a":19498,"t":"code","b":[141,240,75],"m":"sta","oa":19440,"o":"wipe_band"},{"a":19501,"t":"code","b":[240,12],"m":"beq","oa":19515,"o":"b_4C3B"},{"a":19503,"t":"code","b":[32,74,76],"m":"jsr","oa":19530,"o":"wipe_band_closed"},{"a":19506,"t":"code","b":[173,238,75],"m":"lda","oa":19438,"o":"wipe_line_top"},{"a":19509,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":19512,"t":"code","b":[76,49,234],"m":"jmp","oa":59953,"o":"j_EA31"},{"a":19515,"l":"b_4C3B","t":"code","b":[32,173,76],"m":"jsr","oa":19629,"o":"wipe_band_open","x":[19501]},{"a":19518,"t":"code","b":[173,239,75],"m":"lda","oa":19439,"o":"wipe_line_bottom"},{"a":19521,"t":"code","b":[141,18,208],"m":"sta","o":"vic_raster"},{"a":19524,"t":"code","b":[104],"m":"pla"},{"a":19525,"t":"code","b":[168],"m":"tay"},{"a":19526,"t":"code","b":[104],"m":"pla"},{"a":19527,"t":"code","b":[170],"m":"tax"},{"a":19528,"t":"code","b":[104],"m":"pla"},{"a":19529,"t":"code","b":[64],"m":"rti"},{"a":19530,"l":"wipe_band_closed","c":"the band outside the window: an invalid video mode, which the chip draws as black, and the player's sprites turned black with it. It is also where the window's two lines are moved, four at a time, towards the middle of the screen and back out again.","t":"code","b":[169,123],"m":"lda","o":"#$7B","x":[19503]},{"a":19532,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":19535,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19537,"t":"code","b":[141,39,208],"m":"sta","o":"vic_sprite0_colour"},{"a":19540,"t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":19543,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":19546,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":19549,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":19552,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":19555,"t":"code","b":[173,241,75],"m":"lda","oa":19441,"o":"irq_state"},{"a":19558,"t":"code","b":[240,5],"m":"beq","oa":19565,"o":"b_4C6D"},{"a":19560,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":19562,"t":"code","b":[240,33],"m":"beq","oa":19597,"o":"b_4C8D"},{"a":19564,"t":"code","b":[96],"m":"rts"},{"a":19565,"l":"b_4C6D","t":"code","b":[173,238,75],"m":"lda","oa":19438,"o":"wipe_line_top","x":[19558]},{"a":19568,"t":"code","b":[201,146],"m":"cmp","o":"#$92"},{"a":19570,"t":"code","b":[240,19],"m":"beq","oa":19591,"o":"b_4C87"},{"a":19572,"t":"code","b":[173,238,75],"m":"lda","oa":19438,"o":"wipe_line_top"},{"a":19575,"t":"code","b":[24],"m":"clc"},{"a":19576,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":19578,"t":"code","b":[141,238,75],"m":"sta","oa":19438,"o":"wipe_line_top"},{"a":19581,"t":"code","b":[173,239,75],"m":"lda","oa":19439,"o":"wipe_line_bottom"},{"a":19584,"t":"code","b":[56],"m":"sec"},{"a":19585,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":19587,"t":"code","b":[141,239,75],"m":"sta","oa":19439,"o":"wipe_line_bottom"},{"a":19590,"t":"code","b":[96],"m":"rts"},{"a":19591,"l":"b_4C87","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[19570]},{"a":19593,"t":"code","b":[141,241,75],"m":"sta","oa":19441,"o":"irq_state"},{"a":19596,"t":"code","b":[96],"m":"rts"},{"a":19597,"l":"b_4C8D","t":"code","b":[173,238,75],"m":"lda","oa":19438,"o":"wipe_line_top","x":[19562]},{"a":19600,"t":"code","b":[201,50],"m":"cmp","o":"#$32"},{"a":19602,"t":"code","b":[240,19],"m":"beq","oa":19623,"o":"b_4CA7"},{"a":19604,"t":"code","b":[173,238,75],"m":"lda","oa":19438,"o":"wipe_line_top"},{"a":19607,"t":"code","b":[56],"m":"sec"},{"a":19608,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":19610,"t":"code","b":[141,238,75],"m":"sta","oa":19438,"o":"wipe_line_top"},{"a":19613,"t":"code","b":[173,239,75],"m":"lda","oa":19439,"o":"wipe_line_bottom"},{"a":19616,"t":"code","b":[24],"m":"clc"},{"a":19617,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":19619,"t":"code","b":[141,239,75],"m":"sta","oa":19439,"o":"wipe_line_bottom"},{"a":19622,"t":"code","b":[96],"m":"rts"},{"a":19623,"l":"b_4CA7","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[19602]},{"a":19625,"t":"code","b":[141,241,75],"m":"sta","oa":19441,"o":"irq_state"},{"a":19628,"t":"code","b":[96],"m":"rts"},{"a":19629,"l":"wipe_band_open","c":"the band inside the window: text with the display on ($D011 = $1B), and the player's sprites in their own colours, yellow with black and green shared","t":"code","b":[169,27],"m":"lda","o":"#$1B","x":[19515]},{"a":19631,"t":"code","b":[141,17,208],"m":"sta","o":"vic_control1"},{"a":19634,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":19636,"t":"code","b":[141,39,208],"m":"sta","o":"vic_sprite0_colour"},{"a":19639,"t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":19642,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":19645,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":19648,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19650,"t":"code","b":[141,37,208],"m":"sta","o":"vic_sprite_mc0"},{"a":19653,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":19655,"t":"code","b":[141,38,208],"m":"sta","o":"vic_sprite_mc1"},{"a":19658,"t":"code","b":[96],"m":"rts"},{"a":19659,"l":"fade_in_tiles","c":"would fade the room in, but nothing calls it. It copies the whole play character set out to $8000 and clears it, so every tile is blank, then copies it back eight times through a mask that grows a bit at a time from bit 0 - 1, 3, 7 and so on to $FF - so each character fills in from its right-hand edge one bit column at a time. $02AB is the mask.","t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19661,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":19663,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"build_source_lo"},{"a":19665,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":19667,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":19669,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":19671,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"build_source_hi"},{"a":19673,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":19675,"l":"b_4CDB","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y","x":[19697]},{"a":19677,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(build_source_lo),y"},{"a":19679,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19681,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":19683,"t":"code","b":[230,2],"m":"inc","oa":2,"o":"map_addr_lo"},{"a":19685,"t":"code","b":[230,4],"m":"inc","oa":4,"o":"build_source_lo"},{"a":19687,"t":"code","b":[208,4],"m":"bne","oa":19693,"o":"b_4CED"},{"a":19689,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":19691,"t":"code","b":[230,5],"m":"inc","oa":5,"o":"build_source_hi"},{"a":19693,"l":"b_4CED","t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi","x":[19687]},{"a":19695,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":19697,"t":"code","b":[208,232],"m":"bne","oa":19675,"o":"b_4CDB"},{"a":19699,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19701,"t":"code","b":[141,171,2],"m":"sta","oa":683,"o":"fade_mask"},{"a":19704,"l":"b_4CF8","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[19751]},{"a":19706,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":19708,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"build_source_lo"},{"a":19710,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":19712,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":19714,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":19716,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"build_source_hi"},{"a":19718,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":19720,"l":"b_4D08","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(build_source_lo),y","x":[19741]},{"a":19722,"t":"code","b":[45,171,2],"m":"and","oa":683,"o":"fade_mask"},{"a":19725,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":19727,"t":"code","b":[230,2],"m":"inc","oa":2,"o":"map_addr_lo"},{"a":19729,"t":"code","b":[230,4],"m":"inc","oa":4,"o":"build_source_lo"},{"a":19731,"t":"code","b":[208,4],"m":"bne","oa":19737,"o":"b_4D19"},{"a":19733,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":19735,"t":"code","b":[230,5],"m":"inc","oa":5,"o":"build_source_hi"},{"a":19737,"l":"b_4D19","t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi","x":[19731]},{"a":19739,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":19741,"t":"code","b":[208,233],"m":"bne","oa":19720,"o":"b_4D08"},{"a":19743,"t":"code","b":[173,171,2],"m":"lda","oa":683,"o":"fade_mask"},{"a":19746,"t":"code","b":[56],"m":"sec"},{"a":19747,"t":"code","b":[42],"m":"rol","o":"a"},{"a":19748,"t":"code","b":[141,171,2],"m":"sta","oa":683,"o":"fade_mask"},{"a":19751,"t":"code","b":[144,207],"m":"bcc","oa":19704,"o":"b_4CF8"},{"a":19753,"t":"code","b":[96],"m":"rts"},{"a":19754,"l":"walked_onto_table","c":"the sixteen places in the tile grid that the player's own square covers, rows 1 to 4 and columns 1 to 4, which $4D3A tests first for a tile with any bit of $38 set","t":"byte","b":[7,8,9,10,13,14,15,16],"x":[19772]},{"a":19762,"t":"byte","b":[19,20,21,22,25,26,27,28]},{"a":19770,"l":"walked_onto_something","c":"looks through the tile grid for anything the player has walked onto. It first tests the sixteen places his own square covers ($4D2A) for a tile with any bit of $38 set; with none it writes the grid back and goes on to the lift and door checks at $5040. Otherwise it scans the grid's first five rows and columns for the first tile of an object: a door key ($10) is counted and named, a painting ($14), a vase ($18), cold food ($1C), a pendant ($28), first aid ($20) and a lift pass ($08) are each picked up by their own routine, and a box of ammunition ($12) anywhere but the grid's top row gives ammunition ($4F62).","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[19227]},{"a":19772,"l":"b_4D3C","t":"code","b":[190,42,77],"m":"ldx","oa":19754,"o":"walked_onto_table,y","x":[19785]},{"a":19775,"t":"code","b":[189,34,92],"m":"lda","oa":23586,"o":"tile_grid,x"},{"a":19778,"t":"code","b":[41,56],"m":"and","o":"#$38"},{"a":19780,"t":"code","b":[208,23],"m":"bne","oa":19805,"o":"b_4D5D"},{"a":19782,"t":"code","b":[200],"m":"iny"},{"a":19783,"t":"code","b":[192,16],"m":"cpy","o":"#$10"},{"a":19785,"t":"code","b":[208,241],"m":"bne","oa":19772,"o":"b_4D3C"},{"a":19787,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo"},{"a":19789,"t":"code","b":[72],"m":"pha"},{"a":19790,"t":"code","b":[165,7],"m":"lda","oa":7,"o":"grid_addr_hi"},{"a":19792,"t":"code","b":[72],"m":"pha"},{"a":19793,"t":"code","b":[32,119,78],"m":"jsr","oa":20087,"o":"redraw_tile_grid"},{"a":19796,"t":"code","b":[104],"m":"pla"},{"a":19797,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":19799,"t":"code","b":[104],"m":"pla"},{"a":19800,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":19802,"t":"code","b":[76,64,80],"m":"jmp","oa":20544,"o":"step_onto_lift"},{"a":19805,"l":"b_4D5D","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[19780]},{"a":19807,"l":"b_4D5F","t":"code","b":[185,34,92],"m":"lda","oa":23586,"o":"tile_grid,y","x":[19906]},{"a":19810,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":19812,"t":"code","b":[240,95],"m":"beq","oa":19909,"o":"found_door_key"},{"a":19814,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":19816,"t":"code","b":[208,3],"m":"bne","oa":19821,"o":"b_4D6D"},{"a":19818,"t":"code","b":[76,180,78],"m":"jmp","oa":20148,"o":"found_painting"},{"a":19821,"l":"b_4D6D","t":"code","b":[201,24],"m":"cmp","o":"#$18","x":[19816]},{"a":19823,"t":"code","b":[208,3],"m":"bne","oa":19828,"o":"b_4D74"},{"a":19825,"t":"code","b":[76,222,78],"m":"jmp","oa":20190,"o":"found_vase"},{"a":19828,"l":"b_4D74","t":"code","b":[201,28],"m":"cmp","o":"#$1C","x":[19823]},{"a":19830,"t":"code","b":[208,3],"m":"bne","oa":19835,"o":"b_4D7B"},{"a":19832,"t":"code","b":[76,8,79],"m":"jmp","oa":20232,"o":"found_food"},{"a":19835,"l":"b_4D7B","t":"code","b":[201,40],"m":"cmp","o":"#$28","x":[19830]},{"a":19837,"t":"code","b":[208,3],"m":"bne","oa":19842,"o":"b_4D82"},{"a":19839,"t":"code","b":[76,56,79],"m":"jmp","oa":20280,"o":"found_pendant"},{"a":19842,"l":"b_4D82","t":"code","b":[201,18],"m":"cmp","o":"#$12","x":[19837]},{"a":19844,"t":"code","b":[208,23],"m":"bne","oa":19869,"o":"b_4D9D"},{"a":19846,"t":"code","b":[192,0],"m":"cpy","o":"#$00"},{"a":19848,"t":"code","b":[240,19],"m":"beq","oa":19869,"o":"b_4D9D"},{"a":19850,"t":"code","b":[192,1],"m":"cpy","o":"#$01"},{"a":19852,"t":"code","b":[240,15],"m":"beq","oa":19869,"o":"b_4D9D"},{"a":19854,"t":"code","b":[192,2],"m":"cpy","o":"#$02"},{"a":19856,"t":"code","b":[240,11],"m":"beq","oa":19869,"o":"b_4D9D"},{"a":19858,"t":"code","b":[192,3],"m":"cpy","o":"#$03"},{"a":19860,"t":"code","b":[240,7],"m":"beq","oa":19869,"o":"b_4D9D"},{"a":19862,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":19864,"t":"code","b":[240,3],"m":"beq","oa":19869,"o":"b_4D9D"},{"a":19866,"t":"code","b":[76,98,79],"m":"jmp","oa":20322,"o":"took_ammo"},{"a":19869,"l":"b_4D9D","t":"code","b":[201,32],"m":"cmp","o":"#$20","x":[19844,19848,19852,19856,19860,19864]},{"a":19871,"t":"code","b":[208,3],"m":"bne","oa":19876,"o":"b_4DA4"},{"a":19873,"t":"code","b":[76,144,79],"m":"jmp","oa":20368,"o":"found_first_aid"},{"a":19876,"l":"b_4DA4","t":"code","b":[201,8],"m":"cmp","o":"#$08","x":[19871]},{"a":19878,"t":"code","b":[208,3],"m":"bne","oa":19883,"o":"b_4DAB"},{"a":19880,"t":"code","b":[76,2,80],"m":"jmp","oa":20482,"o":"found_lift_pass"},{"a":19883,"l":"b_4DAB","t":"code","b":[200],"m":"iny","x":[19878,19886,19890,19894,19898,19902]},{"a":19884,"t":"code","b":[192,5],"m":"cpy","o":"#$05"},{"a":19886,"t":"code","b":[240,251],"m":"beq","oa":19883,"o":"b_4DAB"},{"a":19888,"t":"code","b":[192,11],"m":"cpy","o":"#$0B"},{"a":19890,"t":"code","b":[240,247],"m":"beq","oa":19883,"o":"b_4DAB"},{"a":19892,"t":"code","b":[192,17],"m":"cpy","o":"#$11"},{"a":19894,"t":"code","b":[240,243],"m":"beq","oa":19883,"o":"b_4DAB"},{"a":19896,"t":"code","b":[192,23],"m":"cpy","o":"#$17"},{"a":19898,"t":"code","b":[240,239],"m":"beq","oa":19883,"o":"b_4DAB"},{"a":19900,"t":"code","b":[192,29],"m":"cpy","o":"#$1D"},{"a":19902,"t":"code","b":[240,235],"m":"beq","oa":19883,"o":"b_4DAB"},{"a":19904,"t":"code","b":[192,30],"m":"cpy","o":"#$1E"},{"a":19906,"t":"code","b":[208,155],"m":"bne","oa":19807,"o":"b_4D5F"},{"a":19908,"t":"code","b":[96],"m":"rts"},{"a":19909,"l":"found_door_key","c":"the player walked onto a door key: counts it in decimal mode, says \"YOU HAVE FOUND\" and \"A DOOR KEY.\", and clears its two tiles","t":"code","b":[248],"m":"sed","x":[19812]},{"a":19910,"t":"code","b":[173,172,2],"m":"lda","oa":684,"o":"keys"},{"a":19913,"t":"code","b":[24],"m":"clc"},{"a":19914,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":19916,"t":"code","b":[141,172,2],"m":"sta","oa":684,"o":"keys"},{"a":19919,"t":"code","b":[216],"m":"cld"},{"a":19920,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":19922,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":19925,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":19927,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":19929,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":19931,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":19933,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":19936,"t":"code","b":[169,101],"m":"lda","o":"#$65"},{"a":19938,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":19940,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":19942,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":19944,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":19947,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":19949,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":19952,"t":"code","b":[200],"m":"iny"},{"a":19953,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":19956,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":19959,"l":"j_4DF7","t":"code","b":[152],"m":"tya","x":[21436]},{"a":19960,"t":"code","b":[170],"m":"tax"},{"a":19961,"t":"code","b":[173,210,2],"m":"lda","oa":722,"o":"hit_direction"},{"a":19964,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":19966,"t":"code","b":[208,20],"m":"bne","oa":19988,"o":"b_4E14"},{"a":19968,"t":"code","b":[138],"m":"txa"},{"a":19969,"t":"code","b":[56],"m":"sec"},{"a":19970,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":19972,"t":"code","b":[170],"m":"tax"},{"a":19973,"t":"code","b":[189,34,92],"m":"lda","oa":23586,"o":"tile_grid,x"},{"a":19976,"t":"code","b":[208,109],"m":"bne","oa":20087,"o":"redraw_tile_grid"},{"a":19978,"t":"code","b":[232],"m":"inx"},{"a":19979,"t":"code","b":[189,34,92],"m":"lda","oa":23586,"o":"tile_grid,x"},{"a":19982,"t":"code","b":[208,103],"m":"bne","oa":20087,"o":"redraw_tile_grid"},{"a":19984,"t":"code","b":[202],"m":"dex"},{"a":19985,"t":"code","b":[76,99,78],"m":"jmp","oa":20067,"o":"j_4E63"},{"a":19988,"l":"b_4E14","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[19966]},{"a":19990,"t":"code","b":[208,20],"m":"bne","oa":20012,"o":"b_4E2C"},{"a":19992,"t":"code","b":[138],"m":"txa"},{"a":19993,"t":"code","b":[24],"m":"clc"},{"a":19994,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":19996,"t":"code","b":[170],"m":"tax"},{"a":19997,"t":"code","b":[189,34,92],"m":"lda","oa":23586,"o":"tile_grid,x"},{"a":20000,"t":"code","b":[208,85],"m":"bne","oa":20087,"o":"redraw_tile_grid"},{"a":20002,"t":"code","b":[232],"m":"inx"},{"a":20003,"t":"code","b":[189,34,92],"m":"lda","oa":23586,"o":"tile_grid,x"},{"a":20006,"t":"code","b":[208,79],"m":"bne","oa":20087,"o":"redraw_tile_grid"},{"a":20008,"t":"code","b":[202],"m":"dex"},{"a":20009,"t":"code","b":[76,99,78],"m":"jmp","oa":20067,"o":"j_4E63"},{"a":20012,"l":"b_4E2C","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[19990]},{"a":20014,"t":"code","b":[208,43],"m":"bne","oa":20059,"o":"b_4E5B"},{"a":20016,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":20018,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20020,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":20022,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20024,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":20026,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":20028,"t":"code","b":[56],"m":"sec"},{"a":20029,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":20031,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20033,"t":"code","b":[176,2],"m":"bcs","oa":20037,"o":"b_4E45"},{"a":20035,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":20037,"l":"b_4E45","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[20033]},{"a":20039,"t":"code","b":[208,46],"m":"bne","oa":20087,"o":"redraw_tile_grid"},{"a":20041,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":20043,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":20045,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":20047,"t":"code","b":[157,34,92],"m":"sta","oa":23586,"o":"tile_grid,x"},{"a":20050,"t":"code","b":[232],"m":"inx"},{"a":20051,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20053,"t":"code","b":[157,34,92],"m":"sta","oa":23586,"o":"tile_grid,x"},{"a":20056,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":20059,"l":"b_4E5B","t":"code","b":[232],"m":"inx","x":[20014]},{"a":20060,"t":"code","b":[232],"m":"inx"},{"a":20061,"t":"code","b":[189,34,92],"m":"lda","oa":23586,"o":"tile_grid,x"},{"a":20064,"t":"code","b":[208,21],"m":"bne","oa":20087,"o":"redraw_tile_grid"},{"a":20066,"t":"code","b":[202],"m":"dex"},{"a":20067,"l":"j_4E63","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[19985,20009]},{"a":20069,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20072,"t":"code","b":[200],"m":"iny"},{"a":20073,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20076,"t":"code","b":[169,16],"m":"lda","o":"#$10"},{"a":20078,"t":"code","b":[157,34,92],"m":"sta","oa":23586,"o":"tile_grid,x"},{"a":20081,"t":"code","b":[232],"m":"inx"},{"a":20082,"t":"code","b":[169,17],"m":"lda","o":"#$11"},{"a":20084,"t":"code","b":[157,34,92],"m":"sta","oa":23586,"o":"tile_grid,x"},{"a":20087,"l":"redraw_tile_grid","c":"writes the six-by-six grid of tiles back into the castle map, so that whatever a pickup or a shot changed in the grid reaches the map and then the screen","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[19793,19956,19976,19982,20000,20006,20039,20056,20064,20187,20229,20277,20319,20365,20446,20519,21409,21453,21656,21662]},{"a":20089,"l":"b_4E79","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[20145]},{"a":20091,"t":"code","b":[189,34,92],"m":"lda","oa":23586,"o":"tile_grid,x"},{"a":20094,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20096,"t":"code","b":[200],"m":"iny"},{"a":20097,"t":"code","b":[189,35,92],"m":"lda","oa":23587,"o":"tile_above_player_1,x"},{"a":20100,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20102,"t":"code","b":[200],"m":"iny"},{"a":20103,"t":"code","b":[189,36,92],"m":"lda","oa":23588,"o":"tile_above_player_2,x"},{"a":20106,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20108,"t":"code","b":[200],"m":"iny"},{"a":20109,"t":"code","b":[189,37,92],"m":"lda","oa":23589,"o":"tile_above_player_3,x"},{"a":20112,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20114,"t":"code","b":[200],"m":"iny"},{"a":20115,"t":"code","b":[189,38,92],"m":"lda","oa":23590,"o":"tile_above_player_4,x"},{"a":20118,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20120,"t":"code","b":[200],"m":"iny"},{"a":20121,"t":"code","b":[189,39,92],"m":"lda","oa":23591,"o":"tile_grid_row1_end,x"},{"a":20124,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20126,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo"},{"a":20128,"t":"code","b":[24],"m":"clc"},{"a":20129,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":20131,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":20133,"t":"code","b":[144,2],"m":"bcc","oa":20137,"o":"b_4EA9"},{"a":20135,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":20137,"l":"b_4EA9","t":"code","b":[232],"m":"inx","x":[20133]},{"a":20138,"t":"code","b":[232],"m":"inx"},{"a":20139,"t":"code","b":[232],"m":"inx"},{"a":20140,"t":"code","b":[232],"m":"inx"},{"a":20141,"t":"code","b":[232],"m":"inx"},{"a":20142,"t":"code","b":[232],"m":"inx"},{"a":20143,"t":"code","b":[224,36],"m":"cpx","o":"#$24"},{"a":20145,"t":"code","b":[208,198],"m":"bne","oa":20089,"o":"b_4E79"},{"a":20147,"t":"code","b":[96],"m":"rts"},{"a":20148,"l":"found_painting","c":"the player walked onto a painting: says \"YOU HAVE FOUND\", puts 25 points in the queue, which the ticker turns into 2500, and falls into the shared tail that names it","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[19818]},{"a":20150,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20152,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20154,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20156,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20159,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":20161,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20164,"t":"code","b":[173,197,2],"m":"lda","oa":709,"o":"score_to_add"},{"a":20167,"t":"code","b":[24],"m":"clc"},{"a":20168,"t":"code","b":[105,25],"m":"adc","o":"#$19"},{"a":20170,"t":"code","b":[141,197,2],"m":"sta","oa":709,"o":"score_to_add"},{"a":20173,"l":"took_painting","c":"clears the painting from the map, says \"A PAINTING.\" and redraws the room's tiles","t":"code","b":[32,42,80],"m":"jsr","oa":20522,"o":"clear_object_tiles","x":[21472]},{"a":20176,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":20178,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20180,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20182,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20184,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20187,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":20190,"l":"found_vase","c":"the player walked onto a vase: \"YOU HAVE FOUND\" and 15 waiting points, which is 1500","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[19825]},{"a":20192,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20194,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20196,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20198,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20201,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":20203,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20206,"t":"code","b":[173,197,2],"m":"lda","oa":709,"o":"score_to_add"},{"a":20209,"t":"code","b":[24],"m":"clc"},{"a":20210,"t":"code","b":[105,15],"m":"adc","o":"#$0F"},{"a":20212,"t":"code","b":[141,197,2],"m":"sta","oa":709,"o":"score_to_add"},{"a":20215,"l":"took_vase","c":"clears the vase from the map, says \"A VASE.\" and redraws","t":"code","b":[32,42,80],"m":"jsr","oa":20522,"o":"clear_object_tiles","x":[21529]},{"a":20218,"t":"code","b":[169,42],"m":"lda","o":"#$2A"},{"a":20220,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20222,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20224,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20226,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20229,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":20232,"l":"found_food","c":"the player walked onto cold food: \"YOU HAVE FOUND\", and takes $10 off the hits in decimal mode, stopping at none","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[19832]},{"a":20234,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20236,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20238,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20240,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20243,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":20245,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20248,"t":"code","b":[248],"m":"sed"},{"a":20249,"t":"code","b":[173,198,2],"m":"lda","oa":710,"o":"hits"},{"a":20252,"t":"code","b":[56],"m":"sec"},{"a":20253,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":20255,"t":"code","b":[176,2],"m":"bcs","oa":20259,"o":"b_4F23"},{"a":20257,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20259,"l":"b_4F23","t":"code","b":[141,198,2],"m":"sta","oa":710,"o":"hits","x":[20255]},{"a":20262,"t":"code","b":[216],"m":"cld"},{"a":20263,"l":"took_food","c":"clears the food from the map, says \"SOME COLD FOOD.\" and redraws","t":"code","b":[32,42,80],"m":"jsr","oa":20522,"o":"clear_object_tiles","x":[21491]},{"a":20266,"t":"code","b":[169,50],"m":"lda","o":"#$32"},{"a":20268,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20270,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20272,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20274,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20277,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":20280,"l":"found_pendant","c":"the player walked onto a pendant: \"YOU HAVE FOUND\" and 40 waiting points, which is 4000","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[19839]},{"a":20282,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20284,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20286,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20288,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20291,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":20293,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20296,"t":"code","b":[173,197,2],"m":"lda","oa":709,"o":"score_to_add"},{"a":20299,"t":"code","b":[24],"m":"clc"},{"a":20300,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":20302,"t":"code","b":[141,197,2],"m":"sta","oa":709,"o":"score_to_add"},{"a":20305,"l":"took_pendant","c":"clears the pendant from the map, says \"A PENDANT.\" and redraws","t":"code","b":[32,42,80],"m":"jsr","oa":20522,"o":"clear_object_tiles","x":[21510]},{"a":20308,"t":"code","b":[169,77],"m":"lda","o":"#$4D"},{"a":20310,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20312,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20314,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20316,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20319,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":20322,"l":"took_ammo","c":"the player walked onto a box of ammunition, tile $12. It clears the box's two tiles from the grid and adds $10 to the ammunition in decimal mode, which is ten rounds; if that would carry past 99, which it does from 90 up, it sets 99 instead and, when the message line is idle, says \"ANY MORE AMMO WOULD BE WASTED !\". A pickup that fits says nothing and asks for no sound.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[19866]},{"a":20324,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20327,"t":"code","b":[200],"m":"iny"},{"a":20328,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20330,"t":"note","l":"took_ammo_operand_hi","c":"the high byte of the operand of the STA $5C22,Y at $4F68, which clears the box's second tile. Nothing refers to this byte; the part of the pickup that runs when the count would carry past 99 starts at $4F74.","note":"inside the item at $4F68"},{"a":20331,"t":"code","b":[248],"m":"sed"},{"a":20332,"t":"code","b":[173,189,2],"m":"lda","oa":701,"o":"ammo"},{"a":20335,"t":"code","b":[24],"m":"clc"},{"a":20336,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":20338,"t":"code","b":[144,21],"m":"bcc","oa":20361,"o":"b_4F89"},{"a":20340,"t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read"},{"a":20343,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":20346,"t":"code","b":[208,11],"m":"bne","oa":20359,"o":"b_4F87"},{"a":20348,"t":"code","b":[169,186],"m":"lda","o":"#$BA"},{"a":20350,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20352,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20354,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20356,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20359,"l":"b_4F87","t":"code","b":[169,153],"m":"lda","o":"#$99","x":[20346]},{"a":20361,"l":"b_4F89","t":"code","b":[141,189,2],"m":"sta","oa":701,"o":"ammo","x":[20338]},{"a":20364,"t":"code","b":[216],"m":"cld"},{"a":20365,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":20368,"l":"found_first_aid","c":"the player walked onto first aid: \"YOU HAVE FOUND\", and clears the hits altogether","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[19873]},{"a":20370,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20372,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20374,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20376,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20379,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":20381,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20384,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20386,"t":"code","b":[141,198,2],"m":"sta","oa":710,"o":"hits"},{"a":20389,"l":"took_first_aid","c":"works out the map address one tile left of the place the first aid was found at in the tile grid (the grid's corner plus a row of 128 for each six places and the column, less one; when the column's addition carries, $4FCC decrements the high byte where it should increment it). It clears the object's two-by-two square in the grid ($502A), writes the grid back, then clears five more map tiles from that address: the one left of each of the square's two rows and three on the row below. Then it says \"FIRST AID.\". Nothing is scored.","t":"code","b":[152],"m":"tya","x":[21548]},{"a":20390,"t":"code","b":[72],"m":"pha"},{"a":20391,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo"},{"a":20393,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20395,"t":"code","b":[165,7],"m":"lda","oa":7,"o":"grid_addr_hi"},{"a":20397,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20399,"l":"j_4FAF","t":"code","b":[152],"m":"tya","x":[20417]},{"a":20400,"t":"code","b":[56],"m":"sec"},{"a":20401,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":20403,"t":"code","b":[144,15],"m":"bcc","oa":20420,"o":"b_4FC4"},{"a":20405,"t":"code","b":[168],"m":"tay"},{"a":20406,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":20408,"t":"code","b":[24],"m":"clc"},{"a":20409,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":20411,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20413,"t":"code","b":[144,2],"m":"bcc","oa":20417,"o":"b_4FC1"},{"a":20415,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":20417,"l":"b_4FC1","t":"code","b":[76,175,79],"m":"jmp","oa":20399,"o":"j_4FAF","x":[20413]},{"a":20420,"l":"b_4FC4","t":"code","b":[152],"m":"tya","x":[20403]},{"a":20421,"t":"code","b":[24],"m":"clc"},{"a":20422,"t":"code","b":[101,252],"m":"adc","oa":252,"o":"pointer_lo"},{"a":20424,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20426,"t":"code","b":[144,2],"m":"bcc","oa":20430,"o":"b_4FCE"},{"a":20428,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":20430,"l":"b_4FCE","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[20426]},{"a":20432,"t":"code","b":[56],"m":"sec"},{"a":20433,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":20435,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20437,"t":"code","b":[176,2],"m":"bcs","oa":20441,"o":"b_4FD9"},{"a":20439,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":20441,"l":"b_4FD9","t":"code","b":[104],"m":"pla","x":[20437]},{"a":20442,"t":"code","b":[168],"m":"tay"},{"a":20443,"t":"code","b":[32,42,80],"m":"jsr","oa":20522,"o":"clear_object_tiles"},{"a":20446,"t":"code","b":[32,119,78],"m":"jsr","oa":20087,"o":"redraw_tile_grid"},{"a":20449,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":20451,"t":"code","b":[152],"m":"tya"},{"a":20452,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":20454,"t":"code","b":[160,128],"m":"ldy","o":"#$80"},{"a":20456,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":20458,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":20460,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":20462,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":20464,"t":"code","b":[200],"m":"iny"},{"a":20465,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":20467,"t":"code","b":[200],"m":"iny"},{"a":20468,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":20470,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":20472,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20474,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20476,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20478,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20481,"t":"code","b":[96],"m":"rts"},{"a":20482,"l":"found_lift_pass","c":"the player walked onto a lift pass: \"YOU HAVE FOUND\", clears the one grid place the scan found it at (only that tile, where the other pickups clear two or four), says \"A LIFT PASS.\" and marks the pass as carried in $02C8","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[19880]},{"a":20484,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20486,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20488,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20490,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20493,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":20495,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20498,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20500,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20503,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":20505,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20507,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":20509,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20511,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20514,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":20516,"t":"code","b":[141,200,2],"m":"sta","oa":712,"o":"lift_state"},{"a":20519,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":20522,"l":"clear_object_tiles","c":"rubs an object out of the tile grid, which the redraw then takes to the screen","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[20173,20215,20263,20305,20443,21406,21659]},{"a":20524,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20527,"t":"code","b":[200],"m":"iny"},{"a":20528,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20531,"t":"code","b":[200],"m":"iny"},{"a":20532,"t":"code","b":[200],"m":"iny"},{"a":20533,"t":"code","b":[200],"m":"iny"},{"a":20534,"t":"code","b":[200],"m":"iny"},{"a":20535,"t":"code","b":[200],"m":"iny"},{"a":20536,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20539,"t":"code","b":[200],"m":"iny"},{"a":20540,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":20543,"t":"code","b":[96],"m":"rts"},{"a":20544,"l":"step_onto_lift","c":"reached from $4D3A when the player has walked onto nothing. If the tile just below his square in the grid's third column ($5C42) is $54 or $55, the lift: with a pass ($02C8 not zero) it sets $02C8 to 2, which the main loop takes him off the floor for, and says \"YOU ARE ENTERING THE LIFT.\"; without one it says \"YOU NEED A LIFT PASS !\" when the message line is idle, the frame counter $02BA (0 to 3) is not 0 and $02BE is clear, and sets $02BE. Otherwise it goes on at $508B to the doors a key opens: $43 to his right ($5C33) or $44 to his left ($5C2E), which $50F7 opens, and $45 below him ($5C42) or $46 above ($5C24), which $5192 opens. With a key in hand it takes one off in decimal mode and asks for sound 6; without one it says \"THIS DOOR IS LOCKED !\" on the same conditions as the lift message.","t":"code","b":[173,66,92],"m":"lda","oa":23618,"o":"tile_grid_row6_c","x":[19802]},{"a":20547,"t":"code","b":[201,84],"m":"cmp","o":"#$54"},{"a":20549,"t":"code","b":[240,7],"m":"beq","oa":20558,"o":"b_504E"},{"a":20551,"t":"code","b":[201,85],"m":"cmp","o":"#$55"},{"a":20553,"t":"code","b":[240,3],"m":"beq","oa":20558,"o":"b_504E"},{"a":20555,"t":"code","b":[76,139,80],"m":"jmp","oa":20619,"o":"j_508B"},{"a":20558,"l":"b_504E","t":"code","b":[173,200,2],"m":"lda","oa":712,"o":"lift_state","x":[20549,20553]},{"a":20561,"t":"code","b":[240,17],"m":"beq","oa":20580,"o":"b_5064"},{"a":20563,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":20565,"t":"code","b":[141,200,2],"m":"sta","oa":712,"o":"lift_state"},{"a":20568,"t":"code","b":[169,197],"m":"lda","o":"#$C5"},{"a":20570,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20572,"t":"code","b":[169,87],"m":"lda","o":"#$57"},{"a":20574,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20576,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20579,"t":"code","b":[96],"m":"rts"},{"a":20580,"l":"b_5064","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[20561]},{"a":20583,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":20586,"t":"code","b":[240,4],"m":"beq","oa":20592,"o":"b_5070"},{"a":20588,"t":"code","b":[141,190,2],"m":"sta","oa":702,"o":"door_message_said"},{"a":20591,"t":"code","b":[96],"m":"rts"},{"a":20592,"l":"b_5070","t":"code","b":[173,190,2],"m":"lda","oa":702,"o":"door_message_said","x":[20586]},{"a":20595,"t":"code","b":[240,1],"m":"beq","oa":20598,"o":"b_5076"},{"a":20597,"t":"code","b":[96],"m":"rts"},{"a":20598,"l":"b_5076","t":"code","b":[173,186,2],"m":"lda","oa":698,"o":"move_tick","x":[20595]},{"a":20601,"t":"code","b":[208,1],"m":"bne","oa":20604,"o":"b_507C"},{"a":20603,"t":"code","b":[96],"m":"rts"},{"a":20604,"l":"b_507C","t":"code","b":[238,190,2],"m":"inc","oa":702,"o":"door_message_said","x":[20601]},{"a":20607,"t":"code","b":[169,156],"m":"lda","o":"#$9C"},{"a":20609,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20611,"t":"code","b":[169,87],"m":"lda","o":"#$57"},{"a":20613,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20615,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20618,"t":"code","b":[96],"m":"rts"},{"a":20619,"l":"j_508B","t":"code","b":[169,68],"m":"lda","o":"#$44","x":[20555]},{"a":20621,"t":"code","b":[141,184,2],"m":"sta","oa":696,"o":"steel_door_tile"},{"a":20624,"t":"code","b":[173,51,92],"m":"lda","oa":23603,"o":"tile_grid_row3_right"},{"a":20627,"t":"code","b":[201,67],"m":"cmp","o":"#$43"},{"a":20629,"t":"code","b":[208,13],"m":"bne","oa":20644,"o":"b_50A4"},{"a":20631,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":20633,"t":"code","b":[141,173,2],"m":"sta","oa":685,"o":"door_half"},{"a":20636,"t":"code","b":[169,134],"m":"lda","o":"#$86"},{"a":20638,"t":"code","b":[141,174,2],"m":"sta","oa":686,"o":"door_other_half"},{"a":20641,"t":"code","b":[76,187,80],"m":"jmp","oa":20667,"o":"j_50BB"},{"a":20644,"l":"b_50A4","t":"code","b":[173,46,92],"m":"lda","oa":23598,"o":"tile_grid_row3","x":[20629]},{"a":20647,"t":"code","b":[201,68],"m":"cmp","o":"#$44"},{"a":20649,"t":"code","b":[208,13],"m":"bne","oa":20664,"o":"b_50B8"},{"a":20651,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20653,"t":"code","b":[141,173,2],"m":"sta","oa":685,"o":"door_half"},{"a":20656,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":20658,"t":"code","b":[141,174,2],"m":"sta","oa":686,"o":"door_other_half"},{"a":20661,"t":"code","b":[76,187,80],"m":"jmp","oa":20667,"o":"j_50BB"},{"a":20664,"l":"b_50B8","t":"code","b":[76,70,81],"m":"jmp","oa":20806,"o":"j_5146","x":[20649]},{"a":20667,"l":"j_50BB","t":"code","b":[173,172,2],"m":"lda","oa":684,"o":"keys","x":[20641,20661]},{"a":20670,"t":"code","b":[208,39],"m":"bne","oa":20711,"o":"b_50E7"},{"a":20672,"l":"j_50C0","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[20863]},{"a":20675,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":20678,"t":"code","b":[240,4],"m":"beq","oa":20684,"o":"b_50CC"},{"a":20680,"t":"code","b":[141,190,2],"m":"sta","oa":702,"o":"door_message_said"},{"a":20683,"t":"code","b":[96],"m":"rts"},{"a":20684,"l":"b_50CC","t":"code","b":[173,190,2],"m":"lda","oa":702,"o":"door_message_said","x":[20678]},{"a":20687,"t":"code","b":[240,1],"m":"beq","oa":20690,"o":"b_50D2"},{"a":20689,"t":"code","b":[96],"m":"rts"},{"a":20690,"l":"b_50D2","t":"code","b":[173,186,2],"m":"lda","oa":698,"o":"move_tick","x":[20687]},{"a":20693,"t":"code","b":[208,1],"m":"bne","oa":20696,"o":"b_50D8"},{"a":20695,"t":"code","b":[96],"m":"rts"},{"a":20696,"l":"b_50D8","t":"code","b":[238,190,2],"m":"inc","oa":702,"o":"door_message_said","x":[20693]},{"a":20699,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":20701,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":20703,"t":"code","b":[169,87],"m":"lda","o":"#$57"},{"a":20705,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":20707,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":20710,"t":"code","b":[96],"m":"rts"},{"a":20711,"l":"b_50E7","t":"code","b":[248],"m":"sed","x":[20670]},{"a":20712,"t":"code","b":[173,172,2],"m":"lda","oa":684,"o":"keys"},{"a":20715,"t":"code","b":[56],"m":"sec"},{"a":20716,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":20718,"t":"code","b":[141,172,2],"m":"sta","oa":684,"o":"keys"},{"a":20721,"t":"code","b":[216],"m":"cld"},{"a":20722,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":20724,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20727,"l":"j_50F7","t":"code","b":[172,173,2],"m":"ldy","oa":685,"o":"door_half","x":[21713,21744]},{"a":20730,"l":"j_50FA","t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y","x":[20748]},{"a":20732,"t":"code","b":[205,184,2],"m":"cmp","oa":696,"o":"steel_door_tile"},{"a":20735,"t":"code","b":[208,14],"m":"bne","oa":20751,"o":"b_510F"},{"a":20737,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo"},{"a":20739,"t":"code","b":[56],"m":"sec"},{"a":20740,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":20742,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":20744,"t":"code","b":[176,2],"m":"bcs","oa":20748,"o":"b_510C"},{"a":20746,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":20748,"l":"b_510C","t":"code","b":[76,250,80],"m":"jmp","oa":20730,"o":"j_50FA","x":[20744]},{"a":20751,"l":"b_510F","t":"code","b":[198,6],"m":"dec","oa":6,"o":"grid_addr_lo","x":[20735]},{"a":20753,"t":"code","b":[208,2],"m":"bne","oa":20757,"o":"b_5115"},{"a":20755,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":20757,"l":"b_5115","t":"code","b":[172,174,2],"m":"ldy","oa":686,"o":"door_other_half","x":[20753]},{"a":20760,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":20762,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20764,"t":"code","b":[200],"m":"iny"},{"a":20765,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20767,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20769,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":20771,"t":"code","b":[172,173,2],"m":"ldy","oa":685,"o":"door_half"},{"a":20774,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20776,"t":"code","b":[200],"m":"iny"},{"a":20777,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20779,"t":"code","b":[172,174,2],"m":"ldy","oa":686,"o":"door_other_half"},{"a":20782,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20784,"t":"code","b":[200],"m":"iny"},{"a":20785,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20787,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":20789,"t":"code","b":[172,173,2],"m":"ldy","oa":685,"o":"door_half"},{"a":20792,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20794,"t":"code","b":[200],"m":"iny"},{"a":20795,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20797,"t":"code","b":[172,174,2],"m":"ldy","oa":686,"o":"door_other_half"},{"a":20800,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20802,"t":"code","b":[200],"m":"iny"},{"a":20803,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20805,"t":"code","b":[96],"m":"rts"},{"a":20806,"l":"j_5146","t":"code","b":[169,69],"m":"lda","o":"#$45","x":[20664]},{"a":20808,"t":"code","b":[141,185,2],"m":"sta","oa":697,"o":"wooden_door_tile"},{"a":20811,"t":"code","b":[173,66,92],"m":"lda","oa":23618,"o":"tile_grid_row6_c"},{"a":20814,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":20816,"t":"code","b":[208,18],"m":"bne","oa":20836,"o":"b_5164"},{"a":20818,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":20820,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":20822,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo"},{"a":20824,"t":"code","b":[24],"m":"clc"},{"a":20825,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":20827,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":20829,"t":"code","b":[144,2],"m":"bcc","oa":20833,"o":"b_5161"},{"a":20831,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":20833,"l":"b_5161","t":"code","b":[76,122,81],"m":"jmp","oa":20858,"o":"j_517A","x":[20829]},{"a":20836,"l":"b_5164","t":"code","b":[173,36,92],"m":"lda","oa":23588,"o":"tile_above_player_2","x":[20816]},{"a":20839,"t":"code","b":[201,70],"m":"cmp","o":"#$46"},{"a":20841,"t":"code","b":[208,14],"m":"bne","oa":20857,"o":"r_5179"},{"a":20843,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo"},{"a":20845,"t":"code","b":[56],"m":"sec"},{"a":20846,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":20848,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":20850,"t":"code","b":[176,2],"m":"bcs","oa":20854,"o":"b_5176"},{"a":20852,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":20854,"l":"b_5176","t":"code","b":[76,122,81],"m":"jmp","oa":20858,"o":"j_517A","x":[20850]},{"a":20857,"l":"r_5179","t":"code","b":[96],"m":"rts","x":[20841]},{"a":20858,"l":"j_517A","t":"code","b":[173,172,2],"m":"lda","oa":684,"o":"keys","x":[20833,20854]},{"a":20861,"t":"code","b":[208,3],"m":"bne","oa":20866,"o":"b_5182"},{"a":20863,"t":"code","b":[76,192,80],"m":"jmp","oa":20672,"o":"j_50C0"},{"a":20866,"l":"b_5182","t":"code","b":[248],"m":"sed","x":[20861]},{"a":20867,"t":"code","b":[173,172,2],"m":"lda","oa":684,"o":"keys"},{"a":20870,"t":"code","b":[56],"m":"sec"},{"a":20871,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":20873,"t":"code","b":[141,172,2],"m":"sta","oa":684,"o":"keys"},{"a":20876,"t":"code","b":[216],"m":"cld"},{"a":20877,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":20879,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":20882,"l":"j_5192","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[21765,21797]},{"a":20884,"l":"j_5194","t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y","x":[20897]},{"a":20886,"t":"code","b":[205,185,2],"m":"cmp","oa":697,"o":"wooden_door_tile"},{"a":20889,"t":"code","b":[208,9],"m":"bne","oa":20900,"o":"b_51A4"},{"a":20891,"t":"code","b":[198,6],"m":"dec","oa":6,"o":"grid_addr_lo"},{"a":20893,"t":"code","b":[208,2],"m":"bne","oa":20897,"o":"b_51A1"},{"a":20895,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":20897,"l":"b_51A1","t":"code","b":[76,148,81],"m":"jmp","oa":20884,"o":"j_5194","x":[20893]},{"a":20900,"l":"b_51A4","t":"code","b":[160,1],"m":"ldy","o":"#$01","x":[20889]},{"a":20902,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20904,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20906,"t":"code","b":[200],"m":"iny"},{"a":20907,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20909,"t":"code","b":[200],"m":"iny"},{"a":20910,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20912,"t":"code","b":[200],"m":"iny"},{"a":20913,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20915,"t":"code","b":[200],"m":"iny"},{"a":20916,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":20918,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20920,"t":"code","b":[160,129],"m":"ldy","o":"#$81"},{"a":20922,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":20924,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20926,"t":"code","b":[200],"m":"iny"},{"a":20927,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20929,"t":"code","b":[200],"m":"iny"},{"a":20930,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20932,"t":"code","b":[200],"m":"iny"},{"a":20933,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20935,"t":"code","b":[200],"m":"iny"},{"a":20936,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":20938,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(grid_addr_lo),y"},{"a":20940,"t":"code","b":[96],"m":"rts"},{"a":20941,"l":"map_address","c":"works out where in the castle map a place on the screen is. The room's top left corner is x = $20, y = $3A, a tile is eight pixels square and a row of the map is 128 bytes, so the address is the room pointer in $FA plus 16 times the pixels down plus an eighth of the pixels across. It leaves the address in $02 and $03.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[21032,21099,23335,23634]},{"a":20943,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":20945,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":20947,"t":"code","b":[173,183,2],"m":"lda","oa":695,"o":"tile_lookup_y"},{"a":20950,"t":"code","b":[56],"m":"sec"},{"a":20951,"t":"code","b":[233,58],"m":"sbc","o":"#$3A"},{"a":20953,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":20955,"t":"code","b":[24],"m":"clc"},{"a":20956,"t":"code","b":[6,2],"m":"asl","oa":2,"o":"map_addr_lo"},{"a":20958,"t":"code","b":[38,3],"m":"rol","oa":3,"o":"map_addr_hi"},{"a":20960,"t":"code","b":[6,2],"m":"asl","oa":2,"o":"map_addr_lo"},{"a":20962,"t":"code","b":[38,3],"m":"rol","oa":3,"o":"map_addr_hi"},{"a":20964,"t":"code","b":[6,2],"m":"asl","oa":2,"o":"map_addr_lo"},{"a":20966,"t":"code","b":[38,3],"m":"rol","oa":3,"o":"map_addr_hi"},{"a":20968,"t":"code","b":[6,2],"m":"asl","oa":2,"o":"map_addr_lo"},{"a":20970,"t":"code","b":[38,3],"m":"rol","oa":3,"o":"map_addr_hi"},{"a":20972,"t":"code","b":[173,182,2],"m":"lda","oa":694,"o":"tile_lookup_x"},{"a":20975,"t":"code","b":[56],"m":"sec"},{"a":20976,"t":"code","b":[233,32],"m":"sbc","o":"#$20"},{"a":20978,"t":"code","b":[24],"m":"clc"},{"a":20979,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":20980,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":20981,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":20982,"t":"code","b":[24],"m":"clc"},{"a":20983,"t":"code","b":[101,2],"m":"adc","oa":2,"o":"map_addr_lo"},{"a":20985,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":20987,"t":"code","b":[144,2],"m":"bcc","oa":20991,"o":"b_51FF"},{"a":20989,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":20991,"l":"b_51FF","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[20987]},{"a":20993,"t":"code","b":[24],"m":"clc"},{"a":20994,"t":"code","b":[101,250],"m":"adc","oa":250,"o":"room_lo"},{"a":20996,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":20998,"t":"code","b":[144,2],"m":"bcc","oa":21002,"o":"b_520A"},{"a":21000,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":21002,"l":"b_520A","t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi","x":[20998]},{"a":21004,"t":"code","b":[24],"m":"clc"},{"a":21005,"t":"code","b":[101,251],"m":"adc","oa":251,"o":"room_hi"},{"a":21007,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":21009,"t":"code","b":[96],"m":"rts"},{"a":21010,"l":"shots_hit_anything","c":"looks up the map tile each shot in the air has reached. Tiles $3E and $3F and the codes below $08 are air, so the shot flies on; anything else stops it. On a hit the shot is taken out of the air, its direction is kept in $02D2 and $529B decides what was hit.","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[19209,19230]},{"a":21013,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":21015,"t":"code","b":[208,3],"m":"bne","oa":21020,"o":"b_521C"},{"a":21017,"t":"code","b":[76,87,82],"m":"jmp","oa":21079,"o":"j_5257"},{"a":21020,"l":"b_521C","t":"code","b":[173,219,2],"m":"lda","oa":731,"o":"shot1_x","x":[21015]},{"a":21023,"t":"code","b":[141,182,2],"m":"sta","oa":694,"o":"tile_lookup_x"},{"a":21026,"t":"code","b":[173,220,2],"m":"lda","oa":732,"o":"shot1_y"},{"a":21029,"t":"code","b":[141,183,2],"m":"sta","oa":695,"o":"tile_lookup_y"},{"a":21032,"t":"code","b":[32,205,81],"m":"jsr","oa":20941,"o":"map_address"},{"a":21035,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":21037,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y"},{"a":21039,"t":"code","b":[201,62],"m":"cmp","o":"#$3E"},{"a":21041,"t":"code","b":[240,36],"m":"beq","oa":21079,"o":"j_5257"},{"a":21043,"t":"code","b":[201,63],"m":"cmp","o":"#$3F"},{"a":21045,"t":"code","b":[240,32],"m":"beq","oa":21079,"o":"j_5257"},{"a":21047,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":21049,"t":"code","b":[240,28],"m":"beq","oa":21079,"o":"j_5257"},{"a":21051,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":21054,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":21056,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":21059,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":21061,"t":"code","b":[141,219,2],"m":"sta","oa":731,"o":"shot1_x"},{"a":21064,"t":"code","b":[141,220,2],"m":"sta","oa":732,"o":"shot1_y"},{"a":21067,"t":"code","b":[141,178,2],"m":"sta","oa":690,"o":"shot1_distance"},{"a":21070,"t":"code","b":[173,177,2],"m":"lda","oa":689,"o":"shot1_direction"},{"a":21073,"t":"code","b":[141,210,2],"m":"sta","oa":722,"o":"hit_direction"},{"a":21076,"t":"code","b":[32,155,82],"m":"jsr","oa":21147,"o":"shot_hit_tile"},{"a":21079,"l":"j_5257","t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air","x":[21017,21041,21045,21049]},{"a":21082,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":21084,"t":"code","b":[208,1],"m":"bne","oa":21087,"o":"b_525F"},{"a":21086,"t":"code","b":[96],"m":"rts"},{"a":21087,"l":"b_525F","t":"code","b":[173,221,2],"m":"lda","oa":733,"o":"shot2_x","x":[21084]},{"a":21090,"t":"code","b":[141,182,2],"m":"sta","oa":694,"o":"tile_lookup_x"},{"a":21093,"t":"code","b":[173,222,2],"m":"lda","oa":734,"o":"shot2_y"},{"a":21096,"t":"code","b":[141,183,2],"m":"sta","oa":695,"o":"tile_lookup_y"},{"a":21099,"t":"code","b":[32,205,81],"m":"jsr","oa":20941,"o":"map_address"},{"a":21102,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":21104,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y"},{"a":21106,"t":"code","b":[201,62],"m":"cmp","o":"#$3E"},{"a":21108,"t":"code","b":[240,36],"m":"beq","oa":21146,"o":"r_529A"},{"a":21110,"t":"code","b":[201,63],"m":"cmp","o":"#$3F"},{"a":21112,"t":"code","b":[240,32],"m":"beq","oa":21146,"o":"r_529A"},{"a":21114,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":21116,"t":"code","b":[240,28],"m":"beq","oa":21146,"o":"r_529A"},{"a":21118,"t":"code","b":[173,175,2],"m":"lda","oa":687,"o":"shots_in_air"},{"a":21121,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":21123,"t":"code","b":[141,175,2],"m":"sta","oa":687,"o":"shots_in_air"},{"a":21126,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":21128,"t":"code","b":[141,221,2],"m":"sta","oa":733,"o":"shot2_x"},{"a":21131,"t":"code","b":[141,222,2],"m":"sta","oa":734,"o":"shot2_y"},{"a":21134,"t":"code","b":[141,180,2],"m":"sta","oa":692,"o":"shot2_distance"},{"a":21137,"t":"code","b":[173,179,2],"m":"lda","oa":691,"o":"shot2_direction"},{"a":21140,"t":"code","b":[141,210,2],"m":"sta","oa":722,"o":"hit_direction"},{"a":21143,"t":"code","b":[32,155,82],"m":"jsr","oa":21147,"o":"shot_hit_tile"},{"a":21146,"l":"r_529A","t":"code","b":[96],"m":"rts","x":[21108,21112,21116]},{"a":21147,"l":"shot_hit_tile","c":"decides what a shot hit, by the tile code. $76 to $C0 are the figures ($6040), $D4 to $E3 the prisoner ($6021), and $30 to $3E, $C1 to $CB and $E7 to $EE go to $6015 (the routine at $67FD), which turns some of them into other tiles for 25 points and sound 8 and leaves the rest alone. $5E to $6D are a chest, $49 and $4A the two halves of a steel door, $47 and $48 a wooden door, and $43 to $46, the doors a key opens, only ask for sound 3. Anything else from $40 to $FB goes to the furniture at $542F. The rest is looked for in the six-by-six grid round the shot, where the nine places listed at $5374 are checked for the code of a pickup or of a detonator ($FC).","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y","x":[21076,21143]},{"a":21149,"t":"code","b":[56],"m":"sec"},{"a":21150,"t":"code","b":[233,118],"m":"sbc","o":"#$76"},{"a":21152,"t":"code","b":[144,7],"m":"bcc","oa":21161,"o":"b_52A9"},{"a":21154,"t":"code","b":[233,75],"m":"sbc","o":"#$4B"},{"a":21156,"t":"code","b":[176,3],"m":"bcs","oa":21161,"o":"b_52A9"},{"a":21158,"t":"code","b":[76,64,96],"m":"jmp","oa":24640,"o":"go_shot_hit_figure"},{"a":21161,"l":"b_52A9","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y","x":[21152,21156]},{"a":21163,"t":"code","b":[201,212],"m":"cmp","o":"#$D4"},{"a":21165,"t":"code","b":[144,7],"m":"bcc","oa":21174,"o":"b_52B6"},{"a":21167,"t":"code","b":[201,228],"m":"cmp","o":"#$E4"},{"a":21169,"t":"code","b":[176,3],"m":"bcs","oa":21174,"o":"b_52B6"},{"a":21171,"t":"code","b":[76,33,96],"m":"jmp","oa":24609,"o":"j_6021"},{"a":21174,"l":"b_52B6","t":"code","b":[201,48],"m":"cmp","o":"#$30","x":[21165,21169]},{"a":21176,"t":"code","b":[144,7],"m":"bcc","oa":21185,"o":"b_52C1"},{"a":21178,"t":"code","b":[201,63],"m":"cmp","o":"#$3F"},{"a":21180,"t":"code","b":[176,3],"m":"bcs","oa":21185,"o":"b_52C1"},{"a":21182,"t":"code","b":[76,21,96],"m":"jmp","oa":24597,"o":"j_6015"},{"a":21185,"l":"b_52C1","t":"code","b":[201,192],"m":"cmp","o":"#$C0","x":[21176,21180]},{"a":21187,"t":"code","b":[144,7],"m":"bcc","oa":21196,"o":"b_52CC"},{"a":21189,"t":"code","b":[201,204],"m":"cmp","o":"#$CC"},{"a":21191,"t":"code","b":[176,3],"m":"bcs","oa":21196,"o":"b_52CC"},{"a":21193,"t":"code","b":[76,21,96],"m":"jmp","oa":24597,"o":"j_6015"},{"a":21196,"l":"b_52CC","t":"code","b":[201,231],"m":"cmp","o":"#$E7","x":[21187,21191]},{"a":21198,"t":"code","b":[144,7],"m":"bcc","oa":21207,"o":"b_52D7"},{"a":21200,"t":"code","b":[201,239],"m":"cmp","o":"#$EF"},{"a":21202,"t":"code","b":[176,3],"m":"bcs","oa":21207,"o":"b_52D7"},{"a":21204,"t":"code","b":[76,21,96],"m":"jmp","oa":24597,"o":"j_6015"},{"a":21207,"l":"b_52D7","t":"code","b":[201,94],"m":"cmp","o":"#$5E","x":[21198,21202]},{"a":21209,"t":"code","b":[144,7],"m":"bcc","oa":21218,"o":"b_52E2"},{"a":21211,"t":"code","b":[201,110],"m":"cmp","o":"#$6E"},{"a":21213,"t":"code","b":[176,3],"m":"bcs","oa":21218,"o":"b_52E2"},{"a":21215,"t":"code","b":[76,40,85],"m":"jmp","oa":21800,"o":"shoot_chest"},{"a":21218,"l":"b_52E2","t":"code","b":[201,73],"m":"cmp","o":"#$49","x":[21209,21213]},{"a":21220,"t":"code","b":[208,3],"m":"bne","oa":21225,"o":"b_52E9"},{"a":21222,"t":"code","b":[76,181,84],"m":"jmp","oa":21685,"o":"shoot_steel_door_left"},{"a":21225,"l":"b_52E9","t":"code","b":[201,74],"m":"cmp","o":"#$4A","x":[21220]},{"a":21227,"t":"code","b":[208,3],"m":"bne","oa":21232,"o":"b_52F0"},{"a":21229,"t":"code","b":[76,212,84],"m":"jmp","oa":21716,"o":"shoot_steel_door_right"},{"a":21232,"l":"b_52F0","t":"code","b":[201,71],"m":"cmp","o":"#$47","x":[21227]},{"a":21234,"t":"code","b":[208,3],"m":"bne","oa":21239,"o":"b_52F7"},{"a":21236,"t":"code","b":[76,243,84],"m":"jmp","oa":21747,"o":"shoot_wooden_door_upper"},{"a":21239,"l":"b_52F7","t":"code","b":[201,72],"m":"cmp","o":"#$48","x":[21234]},{"a":21241,"t":"code","b":[208,3],"m":"bne","oa":21246,"o":"b_52FE"},{"a":21243,"t":"code","b":[76,8,85],"m":"jmp","oa":21768,"o":"shoot_wooden_door_lower"},{"a":21246,"l":"b_52FE","t":"code","b":[234],"m":"nop","x":[21241]},{"a":21247,"t":"code","b":[201,67],"m":"cmp","o":"#$43"},{"a":21249,"t":"code","b":[240,15],"m":"beq","oa":21266,"o":"b_5312"},{"a":21251,"t":"code","b":[201,68],"m":"cmp","o":"#$44"},{"a":21253,"t":"code","b":[240,11],"m":"beq","oa":21266,"o":"b_5312"},{"a":21255,"t":"code","b":[201,69],"m":"cmp","o":"#$45"},{"a":21257,"t":"code","b":[240,7],"m":"beq","oa":21266,"o":"b_5312"},{"a":21259,"t":"code","b":[201,70],"m":"cmp","o":"#$46"},{"a":21261,"t":"code","b":[240,3],"m":"beq","oa":21266,"o":"b_5312"},{"a":21263,"t":"code","b":[76,24,83],"m":"jmp","oa":21272,"o":"j_5318"},{"a":21266,"l":"b_5312","t":"code","b":[162,3],"m":"ldx","o":"#$03","x":[21249,21253,21257,21261]},{"a":21268,"t":"code","b":[142,213,2],"m":"stx","oa":725,"o":"sound_effect"},{"a":21271,"t":"code","b":[96],"m":"rts"},{"a":21272,"l":"j_5318","t":"code","b":[201,64],"m":"cmp","o":"#$40","x":[21263]},{"a":21274,"t":"code","b":[144,7],"m":"bcc","oa":21283,"o":"b_5323"},{"a":21276,"t":"code","b":[201,252],"m":"cmp","o":"#$FC"},{"a":21278,"t":"code","b":[176,3],"m":"bcs","oa":21283,"o":"b_5323"},{"a":21280,"t":"code","b":[76,47,84],"m":"jmp","oa":21551,"o":"shoot_furniture"},{"a":21283,"l":"b_5323","t":"code","b":[32,85,92],"m":"jsr","oa":23637,"o":"read_tile_grid","x":[21274,21278]},{"a":21286,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":21288,"l":"b_5328","t":"code","b":[189,116,83],"m":"lda","oa":21364,"o":"shot_neighbours,x","x":[21361]},{"a":21291,"t":"code","b":[168],"m":"tay"},{"a":21292,"t":"code","b":[185,34,92],"m":"lda","oa":23586,"o":"tile_grid,y"},{"a":21295,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":21297,"t":"code","b":[208,3],"m":"bne","oa":21302,"o":"b_5336"},{"a":21299,"t":"code","b":[76,164,83],"m":"jmp","oa":21412,"o":"shoot_door_key"},{"a":21302,"l":"b_5336","t":"code","b":[201,18],"m":"cmp","o":"#$12","x":[21297]},{"a":21304,"t":"code","b":[208,3],"m":"bne","oa":21309,"o":"b_533D"},{"a":21306,"t":"code","b":[76,191,83],"m":"jmp","oa":21439,"o":"shoot_ammo_box"},{"a":21309,"l":"b_533D","t":"code","b":[201,20],"m":"cmp","o":"#$14","x":[21304]},{"a":21311,"t":"code","b":[208,3],"m":"bne","oa":21316,"o":"b_5344"},{"a":21313,"t":"code","b":[76,208,83],"m":"jmp","oa":21456,"o":"shot_hit_painting"},{"a":21316,"l":"b_5344","t":"code","b":[201,24],"m":"cmp","o":"#$18","x":[21311]},{"a":21318,"t":"code","b":[208,3],"m":"bne","oa":21323,"o":"b_534B"},{"a":21320,"t":"code","b":[76,9,84],"m":"jmp","oa":21513,"o":"shot_hit_vase"},{"a":21323,"l":"b_534B","t":"code","b":[201,28],"m":"cmp","o":"#$1C","x":[21318]},{"a":21325,"t":"code","b":[208,3],"m":"bne","oa":21330,"o":"b_5352"},{"a":21327,"t":"code","b":[76,227,83],"m":"jmp","oa":21475,"o":"shot_hit_food"},{"a":21330,"l":"b_5352","t":"code","b":[201,40],"m":"cmp","o":"#$28","x":[21325]},{"a":21332,"t":"code","b":[208,3],"m":"bne","oa":21337,"o":"b_5359"},{"a":21334,"t":"code","b":[76,246,83],"m":"jmp","oa":21494,"o":"shot_hit_pendant"},{"a":21337,"l":"b_5359","t":"code","b":[201,32],"m":"cmp","o":"#$20","x":[21332]},{"a":21339,"t":"code","b":[208,3],"m":"bne","oa":21344,"o":"b_5360"},{"a":21341,"t":"code","b":[76,28,84],"m":"jmp","oa":21532,"o":"shot_hit_first_aid"},{"a":21344,"l":"b_5360","t":"code","b":[201,8],"m":"cmp","o":"#$08","x":[21339]},{"a":21346,"t":"code","b":[208,3],"m":"bne","oa":21351,"o":"b_5367"},{"a":21348,"t":"code","b":[76,161,84],"m":"jmp","oa":21665,"o":"shoot_lift_pass"},{"a":21351,"l":"b_5367","t":"code","b":[201,252],"m":"cmp","o":"#$FC","x":[21346]},{"a":21353,"t":"code","b":[208,3],"m":"bne","oa":21358,"o":"b_536E"},{"a":21355,"t":"code","b":[76,134,83],"m":"jmp","oa":21382,"o":"shoot_detonator"},{"a":21358,"l":"b_536E","t":"code","b":[232],"m":"inx","x":[21353]},{"a":21359,"t":"code","b":[224,9],"m":"cpx","o":"#$09"},{"a":21361,"t":"code","b":[208,181],"m":"bne","oa":21288,"o":"b_5328"},{"a":21363,"t":"code","b":[96],"m":"rts"},{"a":21364,"l":"shot_neighbours","c":"the nine places in the six-by-six tile grid a shot looks at to find what it hit, since an object is drawn from several tiles and only its first one names it","t":"byte","b":[7,6,8,0,1,2,12,13],"x":[21288]},{"a":21372,"t":"byte","b":[14,7,6,8,12,13,14,0]},{"a":21380,"t":"byte","b":[1,2]},{"a":21382,"l":"shoot_detonator","c":"a shot has set a detonator off: says \"DETONATOR ACTIVATED.\", marks this floor's charge as armed in $5F9A plus the floor, asks for sound 1, clears the detonator's two-by-two square from the grid and writes the grid back. Nothing is scored.","t":"code","b":[169,113],"m":"lda","o":"#$71","x":[21355]},{"a":21384,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21386,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":21388,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21390,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21393,"t":"code","b":[174,167,2],"m":"ldx","oa":679,"o":"current_floor"},{"a":21396,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":21398,"t":"code","b":[157,154,95],"m":"sta","oa":24474,"o":"floor_detonators,x"},{"a":21401,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":21403,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21406,"t":"code","b":[32,42,80],"m":"jsr","oa":20522,"o":"clear_object_tiles"},{"a":21409,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":21412,"l":"shoot_door_key","c":"the shot hit a door key, tile $10. When the message line is idle it says \"YOU ARE WAISTING AMMO.\" (the game's own spelling); it asks for sound 2 and goes to $4DF7, which pushes the key the way the shot was going ($02D2) and writes the grid back. Up or down (1, 2) it moves the key's two tiles a grid row, when both places there are empty; right (4, or any other value) it moves them one tile on, when the place beyond the key is empty. Left (3) is not a move: when the map tile two left of the shot's own place ($02, $03), which is outside the grid, is empty, it writes $10 there in the map and, in the grid, $11 over the key's first tile and 0 over its second, so the key is left broken in two.","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[21299]},{"a":21415,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":21418,"t":"code","b":[208,11],"m":"bne","oa":21431,"o":"b_53B7"},{"a":21420,"t":"code","b":[169,95],"m":"lda","o":"#$5F"},{"a":21422,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21424,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":21426,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21428,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21431,"l":"b_53B7","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[21418]},{"a":21433,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21436,"t":"code","b":[76,247,77],"m":"jmp","oa":19959,"o":"j_4DF7"},{"a":21439,"l":"shoot_ammo_box","c":"a shot hit a box of ammunition, tile $12. It clears the box's two tiles from the grid, asks for sound 9 and writes the grid back to the map at $4E77: the rounds are lost and nothing is scored.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[21306]},{"a":21441,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":21444,"t":"code","b":[200],"m":"iny"},{"a":21445,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":21448,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21450,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21453,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":21456,"l":"shot_hit_painting","c":"the shot hit a painting: says \"YOU HAVE SHOT\", asks for sound 9 and goes to $4ECD, which clears it and says \"A PAINTING.\". No points are queued: the 25 are added only at $4EB4, when it is walked onto.","t":"code","b":[169,134],"m":"lda","o":"#$86","x":[21313]},{"a":21458,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21460,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":21462,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21464,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21467,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21469,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21472,"t":"code","b":[76,205,78],"m":"jmp","oa":20173,"o":"took_painting"},{"a":21475,"l":"shot_hit_food","c":"the shot hit cold food; $4F27 names it and clears it","t":"code","b":[169,134],"m":"lda","o":"#$86","x":[21327]},{"a":21477,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21479,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":21481,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21483,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21486,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21488,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21491,"t":"code","b":[76,39,79],"m":"jmp","oa":20263,"o":"took_food"},{"a":21494,"l":"shot_hit_pendant","c":"the shot hit a pendant; $4F51 names it and clears it","t":"code","b":[169,134],"m":"lda","o":"#$86","x":[21334]},{"a":21496,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21498,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":21500,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21502,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21505,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21507,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21510,"t":"code","b":[76,81,79],"m":"jmp","oa":20305,"o":"took_pendant"},{"a":21513,"l":"shot_hit_vase","c":"the shot hit a vase; $4EF7 names it and clears it","t":"code","b":[169,134],"m":"lda","o":"#$86","x":[21320]},{"a":21515,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21517,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":21519,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21521,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21524,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21526,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21529,"t":"code","b":[76,247,78],"m":"jmp","oa":20215,"o":"took_vase"},{"a":21532,"l":"shot_hit_first_aid","c":"the shot hit first aid; $4FA5 names it and clears it","t":"code","b":[169,134],"m":"lda","o":"#$86","x":[21341]},{"a":21534,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21536,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":21538,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21540,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21543,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21545,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21548,"t":"code","b":[76,165,79],"m":"jmp","oa":20389,"o":"took_first_aid"},{"a":21551,"l":"shoot_furniture","c":"the shot hit furniture. $4C to $4F are the four tiles of a piece, top left, top right, bottom left and bottom right; whichever was hit, the piece is turned into the broken shape $50 to $53, two tiles on the top row and two on the row below. A shot at the broken shape clears it from the grid. Any other code reaching here is left alone.","t":"code","b":[72],"m":"pha","x":[21280]},{"a":21552,"t":"code","b":[32,85,92],"m":"jsr","oa":23637,"o":"read_tile_grid"},{"a":21555,"t":"code","b":[104],"m":"pla"},{"a":21556,"t":"code","b":[201,76],"m":"cmp","o":"#$4C"},{"a":21558,"t":"code","b":[208,5],"m":"bne","oa":21565,"o":"b_543D"},{"a":21560,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":21562,"t":"code","b":[76,125,84],"m":"jmp","oa":21629,"o":"j_547D"},{"a":21565,"l":"b_543D","t":"code","b":[201,77],"m":"cmp","o":"#$4D","x":[21558]},{"a":21567,"t":"code","b":[208,5],"m":"bne","oa":21574,"o":"b_5446"},{"a":21569,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":21571,"t":"code","b":[76,125,84],"m":"jmp","oa":21629,"o":"j_547D"},{"a":21574,"l":"b_5446","t":"code","b":[201,78],"m":"cmp","o":"#$4E","x":[21567]},{"a":21576,"t":"code","b":[208,5],"m":"bne","oa":21583,"o":"b_544F"},{"a":21578,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":21580,"t":"code","b":[76,125,84],"m":"jmp","oa":21629,"o":"j_547D"},{"a":21583,"l":"b_544F","t":"code","b":[201,79],"m":"cmp","o":"#$4F","x":[21576]},{"a":21585,"t":"code","b":[208,5],"m":"bne","oa":21592,"o":"b_5458"},{"a":21587,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":21589,"t":"code","b":[76,125,84],"m":"jmp","oa":21629,"o":"j_547D"},{"a":21592,"l":"b_5458","t":"code","b":[201,80],"m":"cmp","o":"#$50","x":[21585]},{"a":21594,"t":"code","b":[208,5],"m":"bne","oa":21601,"o":"b_5461"},{"a":21596,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":21598,"t":"code","b":[76,155,84],"m":"jmp","oa":21659,"o":"j_549B"},{"a":21601,"l":"b_5461","t":"code","b":[201,81],"m":"cmp","o":"#$51","x":[21594]},{"a":21603,"t":"code","b":[208,5],"m":"bne","oa":21610,"o":"b_546A"},{"a":21605,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":21607,"t":"code","b":[76,155,84],"m":"jmp","oa":21659,"o":"j_549B"},{"a":21610,"l":"b_546A","t":"code","b":[201,82],"m":"cmp","o":"#$52","x":[21603]},{"a":21612,"t":"code","b":[208,5],"m":"bne","oa":21619,"o":"b_5473"},{"a":21614,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":21616,"t":"code","b":[76,155,84],"m":"jmp","oa":21659,"o":"j_549B"},{"a":21619,"l":"b_5473","t":"code","b":[201,83],"m":"cmp","o":"#$53","x":[21612]},{"a":21621,"t":"code","b":[208,5],"m":"bne","oa":21628,"o":"r_547C"},{"a":21623,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":21625,"t":"code","b":[76,155,84],"m":"jmp","oa":21659,"o":"j_549B"},{"a":21628,"l":"r_547C","t":"code","b":[96],"m":"rts","x":[21621]},{"a":21629,"l":"j_547D","t":"code","b":[169,80],"m":"lda","o":"#$50","x":[21562,21571,21580,21589]},{"a":21631,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":21634,"t":"code","b":[200],"m":"iny"},{"a":21635,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":21637,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":21640,"t":"code","b":[200],"m":"iny"},{"a":21641,"t":"code","b":[200],"m":"iny"},{"a":21642,"t":"code","b":[200],"m":"iny"},{"a":21643,"t":"code","b":[200],"m":"iny"},{"a":21644,"t":"code","b":[200],"m":"iny"},{"a":21645,"t":"code","b":[169,82],"m":"lda","o":"#$52"},{"a":21647,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":21650,"t":"code","b":[200],"m":"iny"},{"a":21651,"t":"code","b":[169,83],"m":"lda","o":"#$53"},{"a":21653,"t":"code","b":[153,34,92],"m":"sta","oa":23586,"o":"tile_grid,y"},{"a":21656,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":21659,"l":"j_549B","t":"code","b":[32,42,80],"m":"jsr","oa":20522,"o":"clear_object_tiles","x":[21598,21607,21616,21625]},{"a":21662,"t":"code","b":[76,119,78],"m":"jmp","oa":20087,"o":"redraw_tile_grid"},{"a":21665,"l":"shoot_lift_pass","c":"the shot hit a lift pass, which is no use at all: \"SHOOTING A LIFT PASS IS A BIT SILLY !\"","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[21348]},{"a":21668,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":21671,"t":"code","b":[240,1],"m":"beq","oa":21674,"o":"b_54AA"},{"a":21673,"t":"code","b":[96],"m":"rts"},{"a":21674,"l":"b_54AA","t":"code","b":[169,118],"m":"lda","o":"#$76","x":[21671]},{"a":21676,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21678,"t":"code","b":[169,87],"m":"lda","o":"#$57"},{"a":21680,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21682,"t":"code","b":[76,46,89],"m":"jmp","oa":22830,"o":"print_message"},{"a":21685,"l":"shoot_steel_door_left","c":"a shot hit the left half of a steel door, code $49. It sets the column offsets $02AD and $02AE to $01 and $81 and the tile to look for to $4A, the right half, takes the shot's map address, asks for sound 9 and opens the door at $50F7, which climbs the right-hand column to the door's top and rewrites the door's tiles.","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[21222]},{"a":21687,"t":"code","b":[141,173,2],"m":"sta","oa":685,"o":"door_half"},{"a":21690,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":21692,"t":"code","b":[141,174,2],"m":"sta","oa":686,"o":"door_other_half"},{"a":21695,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":21697,"t":"code","b":[141,184,2],"m":"sta","oa":696,"o":"steel_door_tile"},{"a":21700,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":21702,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":21704,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":21706,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":21708,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21710,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21713,"t":"code","b":[76,247,80],"m":"jmp","oa":20727,"o":"j_50F7"},{"a":21716,"l":"shoot_steel_door_right","c":"a shot hit the right half of a steel door, code $4A, and opens it the same way, from the hit tile itself","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[21229]},{"a":21718,"t":"code","b":[141,173,2],"m":"sta","oa":685,"o":"door_half"},{"a":21721,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":21723,"t":"code","b":[141,174,2],"m":"sta","oa":686,"o":"door_other_half"},{"a":21726,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":21728,"t":"code","b":[141,184,2],"m":"sta","oa":696,"o":"steel_door_tile"},{"a":21731,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":21733,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":21735,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":21737,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":21739,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21741,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21744,"t":"code","b":[76,247,80],"m":"jmp","oa":20727,"o":"j_50F7"},{"a":21747,"l":"shoot_wooden_door_upper","c":"a shot hit the upper half of a wooden door, code $47, which can be shot open: $5192 does it, clearing the door's two rows","t":"code","b":[169,71],"m":"lda","o":"#$47","x":[21236]},{"a":21749,"t":"code","b":[141,185,2],"m":"sta","oa":697,"o":"wooden_door_tile"},{"a":21752,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":21754,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":21756,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":21758,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":21760,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":21762,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21765,"t":"code","b":[76,146,81],"m":"jmp","oa":20882,"o":"j_5192"},{"a":21768,"l":"shoot_wooden_door_lower","c":"a shot hit the lower half of a wooden door, code $48; the same as $54F3 with the map address moved up a row onto the $47 above","t":"code","b":[169,71],"m":"lda","o":"#$47","x":[21243]},{"a":21770,"t":"code","b":[141,185,2],"m":"sta","oa":697,"o":"wooden_door_tile"},{"a":21773,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":21775,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":21777,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":21779,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":21781,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo"},{"a":21783,"t":"code","b":[56],"m":"sec"},{"a":21784,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":21786,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":21788,"t":"code","b":[176,2],"m":"bcs","oa":21792,"o":"b_5520"},{"a":21790,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":21792,"l":"b_5520","t":"code","b":[169,9],"m":"lda","o":"#$09","x":[21788]},{"a":21794,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21797,"t":"code","b":[76,146,81],"m":"jmp","oa":20882,"o":"j_5192"},{"a":21800,"l":"shoot_chest","c":"a shot hit a chest, codes $5E to $6D. The code names which of the chest's four tiles was hit, and the routine works back to the chest's own corner and reads its state there: a closed chest ($5E to $61) is opened at $5598, jewels showing ($66 to $69) are wasted at $55F0, and explosives showing ($6A to $6D) go off at $55D5.","t":"code","b":[201,94],"m":"cmp","o":"#$5E","x":[21215]},{"a":21802,"t":"code","b":[240,59],"m":"beq","oa":21863,"o":"b_5567"},{"a":21804,"t":"code","b":[201,95],"m":"cmp","o":"#$5F"},{"a":21806,"t":"code","b":[240,69],"m":"beq","oa":21877,"o":"b_5575"},{"a":21808,"t":"code","b":[201,96],"m":"cmp","o":"#$60"},{"a":21810,"t":"code","b":[240,76],"m":"beq","oa":21888,"o":"b_5580"},{"a":21812,"t":"code","b":[201,97],"m":"cmp","o":"#$61"},{"a":21814,"t":"code","b":[240,33],"m":"beq","oa":21849,"o":"b_5559"},{"a":21816,"t":"code","b":[201,102],"m":"cmp","o":"#$66"},{"a":21818,"t":"code","b":[240,43],"m":"beq","oa":21863,"o":"b_5567"},{"a":21820,"t":"code","b":[201,103],"m":"cmp","o":"#$67"},{"a":21822,"t":"code","b":[240,53],"m":"beq","oa":21877,"o":"b_5575"},{"a":21824,"t":"code","b":[201,104],"m":"cmp","o":"#$68"},{"a":21826,"t":"code","b":[240,60],"m":"beq","oa":21888,"o":"b_5580"},{"a":21828,"t":"code","b":[201,105],"m":"cmp","o":"#$69"},{"a":21830,"t":"code","b":[240,17],"m":"beq","oa":21849,"o":"b_5559"},{"a":21832,"t":"code","b":[201,106],"m":"cmp","o":"#$6A"},{"a":21834,"t":"code","b":[240,27],"m":"beq","oa":21863,"o":"b_5567"},{"a":21836,"t":"code","b":[201,107],"m":"cmp","o":"#$6B"},{"a":21838,"t":"code","b":[240,37],"m":"beq","oa":21877,"o":"b_5575"},{"a":21840,"t":"code","b":[201,108],"m":"cmp","o":"#$6C"},{"a":21842,"t":"code","b":[240,44],"m":"beq","oa":21888,"o":"b_5580"},{"a":21844,"t":"code","b":[201,109],"m":"cmp","o":"#$6D"},{"a":21846,"t":"code","b":[240,1],"m":"beq","oa":21849,"o":"b_5559"},{"a":21848,"t":"code","b":[96],"m":"rts"},{"a":21849,"l":"b_5559","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[21814,21830,21846]},{"a":21851,"t":"code","b":[56],"m":"sec"},{"a":21852,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":21854,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":21856,"t":"code","b":[176,2],"m":"bcs","oa":21860,"o":"b_5564"},{"a":21858,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":21860,"l":"b_5564","t":"code","b":[76,128,85],"m":"jmp","oa":21888,"o":"b_5580","x":[21856]},{"a":21863,"l":"b_5567","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[21802,21818,21834]},{"a":21865,"t":"code","b":[56],"m":"sec"},{"a":21866,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":21868,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":21870,"t":"code","b":[176,2],"m":"bcs","oa":21874,"o":"b_5572"},{"a":21872,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":21874,"l":"b_5572","t":"code","b":[76,128,85],"m":"jmp","oa":21888,"o":"b_5580","x":[21870]},{"a":21877,"l":"b_5575","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[21806,21822,21838]},{"a":21879,"t":"code","b":[56],"m":"sec"},{"a":21880,"t":"code","b":[233,129],"m":"sbc","o":"#$81"},{"a":21882,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":21884,"t":"code","b":[176,2],"m":"bcs","oa":21888,"o":"b_5580"},{"a":21886,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":21888,"l":"b_5580","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y","x":[21810,21826,21842,21860,21874,21884]},{"a":21890,"t":"code","b":[201,102],"m":"cmp","o":"#$66"},{"a":21892,"t":"code","b":[144,7],"m":"bcc","oa":21901,"o":"b_558D"},{"a":21894,"t":"code","b":[201,106],"m":"cmp","o":"#$6A"},{"a":21896,"t":"code","b":[176,3],"m":"bcs","oa":21901,"o":"b_558D"},{"a":21898,"t":"code","b":[76,240,85],"m":"jmp","oa":22000,"o":"chest_holds_jewels"},{"a":21901,"l":"b_558D","t":"code","b":[201,106],"m":"cmp","o":"#$6A","x":[21892,21896]},{"a":21903,"t":"code","b":[144,7],"m":"bcc","oa":21912,"o":"open_closed_chest"},{"a":21905,"t":"code","b":[201,110],"m":"cmp","o":"#$6E"},{"a":21907,"t":"code","b":[176,3],"m":"bcs","oa":21912,"o":"open_closed_chest"},{"a":21909,"t":"code","b":[76,213,85],"m":"jmp","oa":21973,"o":"chest_explodes"},{"a":21912,"l":"open_closed_chest","c":"opens a closed chest that has been shot. It takes a random number, and only one in four is $C0 or more; on that it takes the next one and opens the chest on jewels ($66) when it is $80 or more and on explosives ($6A) otherwise. The two are neighbouring bytes of the table, which the noise makes alike ($67CA), so the second is $80 or more more often than not: on a C64 with its sound chip running, about one shot in seven shows jewels and one in ten explosives. The other three times in four it says \"EMPTY!\" and leaves the chest open and empty at $55BB. Nothing else happens on this shot: jewels are taken by walking into them ($5CB9), and explosives go off only when they are shot.","t":"code","b":[32,18,96],"m":"jsr","oa":24594,"o":"go_next_random","x":[21903,21907]},{"a":21915,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":21917,"t":"code","b":[144,17],"m":"bcc","oa":21936,"o":"b_55B0"},{"a":21919,"t":"code","b":[32,18,96],"m":"jsr","oa":24594,"o":"go_next_random"},{"a":21922,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":21924,"t":"code","b":[144,5],"m":"bcc","oa":21931,"o":"b_55AB"},{"a":21926,"t":"code","b":[162,102],"m":"ldx","o":"#$66"},{"a":21928,"t":"code","b":[76,189,85],"m":"jmp","oa":21949,"o":"j_55BD"},{"a":21931,"l":"b_55AB","t":"code","b":[162,106],"m":"ldx","o":"#$6A","x":[21924]},{"a":21933,"t":"code","b":[76,189,85],"m":"jmp","oa":21949,"o":"j_55BD"},{"a":21936,"l":"b_55B0","t":"code","b":[169,137],"m":"lda","o":"#$89","x":[21917]},{"a":21938,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21940,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":21942,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21944,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21947,"l":"open_the_chest","c":"writes the four tiles of an opened chest, $62 to $65, over the chest's own square","t":"code","b":[162,98],"m":"ldx","o":"#$62","x":[21997,22022,24005]},{"a":21949,"l":"j_55BD","t":"code","b":[160,128],"m":"ldy","o":"#$80","x":[21928,21933]},{"a":21951,"t":"code","b":[138],"m":"txa"},{"a":21952,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":21954,"t":"code","b":[160,129],"m":"ldy","o":"#$81"},{"a":21956,"t":"code","b":[232],"m":"inx"},{"a":21957,"t":"code","b":[138],"m":"txa"},{"a":21958,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":21960,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":21962,"t":"code","b":[232],"m":"inx"},{"a":21963,"t":"code","b":[138],"m":"txa"},{"a":21964,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":21966,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":21968,"t":"code","b":[232],"m":"inx"},{"a":21969,"t":"code","b":[138],"m":"txa"},{"a":21970,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":21972,"t":"code","b":[96],"m":"rts"},{"a":21973,"l":"chest_explodes","c":"a shot hit the explosives in an open chest. It says \"FOOL!....EXPLOSIVES.\", sets $02D3 to 1, which starts the explosion that ends the game, sets $02C9 and asks for sound 7, which nothing else asks for. Walking into the explosives does nothing.","t":"code","b":[169,144],"m":"lda","o":"#$90","x":[21909]},{"a":21975,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":21977,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":21979,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":21981,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":21984,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":21986,"t":"code","b":[141,211,2],"m":"sta","oa":723,"o":"mission_phase"},{"a":21989,"t":"code","b":[141,201,2],"m":"sta","oa":713,"o":"pause_flag"},{"a":21992,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":21994,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":21997,"t":"code","b":[76,187,85],"m":"jmp","oa":21947,"o":"open_the_chest"},{"a":22000,"l":"chest_holds_jewels","c":"a shot hit the jewels in an open chest. It says \"YOU HAVE SHOT\" and \"SOME JEWELS.\" and leaves the chest empty, with no points: the jewels are worth something only walked into ($5CB9).","t":"code","b":[169,134],"m":"lda","o":"#$86","x":[21898]},{"a":22002,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":22004,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":22006,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":22008,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":22011,"t":"code","b":[169,165],"m":"lda","o":"#$A5"},{"a":22013,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":22015,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":22017,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":22019,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":22022,"t":"code","b":[76,187,85],"m":"jmp","oa":21947,"o":"open_the_chest"},{"a":22025,"l":"messages","c":"the game's 33 messages for the line at the bottom of the screen, ASCII, each ending \"@\" ($40); facts.md lists them","t":"byte","b":[89,79,85,32,72,65,86,69]},{"a":22033,"t":"byte","b":[32,70,79,85,78,68,64,65]},{"a":22041,"t":"byte","b":[77,77,79,46,64,65,32,80]},{"a":22049,"t":"byte","b":[65,73,78,84,73,78,71,46]},{"a":22057,"t":"byte","b":[64,65,32,86,65,83,69,46]},{"a":22065,"t":"byte","b":[64,83,79,77,69,32,67,79]},{"a":22073,"t":"byte","b":[76,68,32,70,79,79,68,46]},{"a":22081,"t":"byte","b":[64,70,73,82,83,84,32,65]},{"a":22089,"t":"byte","b":[73,68,46,64,65,32,80,69]},{"a":22097,"t":"byte","b":[78,68,65,78,84,46,64,65]},{"a":22105,"t":"byte","b":[32,76,73,70,84,32,80,65]},{"a":22113,"t":"byte","b":[83,83,46,64,65,32,68,79]},{"a":22121,"t":"byte","b":[79,82,32,75,69,89,46,64]},{"a":22129,"t":"byte","b":[68,69,84,79,78,65,84,79]},{"a":22137,"t":"byte","b":[82,32,65,67,84,73,86,65]},{"a":22145,"t":"byte","b":[84,69,68,46,64,89,79,85]},{"a":22153,"t":"byte","b":[32,72,65,86,69,32,83,72]},{"a":22161,"t":"byte","b":[79,84,64,32,32,32,32,32]},{"a":22169,"t":"byte","b":[32,32,32,32,32,87,69,76]},{"a":22177,"t":"byte","b":[67,79,77,69,32,84,79,32]},{"a":22185,"t":"byte","b":[84,72,69,32,69,65,71,76]},{"a":22193,"t":"byte","b":[69,83,32,78,69,83,84,46]},{"a":22201,"t":"byte","b":[64,65,78,89,32,77,79,82]},{"a":22209,"t":"byte","b":[69,32,65,77,77,79,32,87]},{"a":22217,"t":"byte","b":[79,85,76,68,32,66,69,32]},{"a":22225,"t":"byte","b":[87,65,83,84,69,68,32,33]},{"a":22233,"t":"byte","b":[64,79,85,84,32,79,70,32]},{"a":22241,"t":"byte","b":[65,77,77,79,33,32,32,32]},{"a":22249,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22257,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22265,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22273,"t":"byte","b":[32,64,84,72,73,83,32,68]},{"a":22281,"t":"byte","b":[79,79,82,32,73,83,32,76]},{"a":22289,"t":"byte","b":[79,67,75,69,68,32,33,32]},{"a":22297,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22305,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22313,"t":"byte","b":[32,32,64,67,79,77,69,32]},{"a":22321,"t":"byte","b":[79,78,32,33,32,71,69,84]},{"a":22329,"t":"byte","b":[32,79,78,32,87,73,84,72]},{"a":22337,"t":"byte","b":[32,73,84,46,46,46,46,46]},{"a":22345,"t":"byte","b":[64,76,69,84,83,32,71,69]},{"a":22353,"t":"byte","b":[84,32,68,79,87,78,32,84]},{"a":22361,"t":"byte","b":[79,32,83,79,77,69,32,83]},{"a":22369,"t":"byte","b":[69,82,73,79,85,83,32,68]},{"a":22377,"t":"byte","b":[69,83,84,82,85,67,84,73]},{"a":22385,"t":"byte","b":[79,78,32,33,64,83,72,79]},{"a":22393,"t":"byte","b":[79,84,73,78,71,32,65,32]},{"a":22401,"t":"byte","b":[76,73,70,84,32,80,65,83]},{"a":22409,"t":"byte","b":[83,32,73,83,32,65,32,66]},{"a":22417,"t":"byte","b":[73,84,32,83,73,76,76,89]},{"a":22425,"t":"byte","b":[32,33,64,89,79,85,32,78]},{"a":22433,"t":"byte","b":[69,69,68,32,65,32,76,73]},{"a":22441,"t":"byte","b":[70,84,32,80,65,83,83,32]},{"a":22449,"t":"byte","b":[33,32,32,32,32,32,32,32]},{"a":22457,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22465,"t":"byte","b":[32,32,32,64,89,79,85,32]},{"a":22473,"t":"byte","b":[65,82,69,32,69,78,84,69]},{"a":22481,"t":"byte","b":[82,73,78,71,32,84,72,69]},{"a":22489,"t":"byte","b":[32,76,73,70,84,46,32,32]},{"a":22497,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22505,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22513,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22521,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22529,"t":"byte","b":[32,32,32,32,32,32,64,73]},{"a":22537,"t":"byte","b":[78,32,84,72,69,32,66,65]},{"a":22545,"t":"byte","b":[83,69,77,69,78,84,46,64]},{"a":22553,"t":"byte","b":[79,78,32,84,72,69,32,71]},{"a":22561,"t":"byte","b":[82,79,85,78,68,32,70,76]},{"a":22569,"t":"byte","b":[79,79,82,46,64,79,78,32]},{"a":22577,"t":"byte","b":[84,72,69,32,70,73,82,83]},{"a":22585,"t":"byte","b":[84,32,70,76,79,79,82,46]},{"a":22593,"t":"byte","b":[64,79,78,32,84,72,69,32]},{"a":22601,"t":"byte","b":[83,69,67,79,78,68,32,70]},{"a":22609,"t":"byte","b":[76,79,79,82,46,64,89,79]},{"a":22617,"t":"byte","b":[85,32,65,82,69,64,89,79]},{"a":22625,"t":"byte","b":[85,32,65,82,69,32,87,65]},{"a":22633,"t":"byte","b":[73,83,84,73,78,71,32,65]},{"a":22641,"t":"byte","b":[77,77,79,46,32,32,32,32]},{"a":22649,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":22657,"t":"byte","b":[32,32,32,32,32,32,32,64]},{"a":22665,"t":"byte","b":[69,77,80,84,89,33,64,70]},{"a":22673,"t":"byte","b":[79,79,76,33,46,46,46,46]},{"a":22681,"t":"byte","b":[69,88,80,76,79,83,73,86]},{"a":22689,"t":"byte","b":[69,83,46,64,83,79,77,69]},{"a":22697,"t":"byte","b":[32,74,69,87,69,76,83,46]},{"a":22705,"t":"byte","b":[64,89,79,85,82,32,77,73]},{"a":22713,"t":"byte","b":[83,83,73,79,78,32,73,83]},{"a":22721,"t":"byte","b":[32,78,79,84,32,89,69,84]},{"a":22729,"t":"byte","b":[32,67,79,77,80,76,69,84]},{"a":22737,"t":"byte","b":[69,32,33,64,87,69,76,76]},{"a":22745,"t":"byte","b":[32,68,79,78,69,46,46,46]},{"a":22753,"t":"byte","b":[46,46,89,79,85,32,72,65]},{"a":22761,"t":"byte","b":[86,69,32,82,69,83,67,85]},{"a":22769,"t":"byte","b":[69,68,32,65,32,80,82,73]},{"a":22777,"t":"byte","b":[83,79,78,69,82,46,64,46]},{"a":22785,"t":"byte","b":[46,46,80,65,85,83,73,78]},{"a":22793,"t":"byte","b":[71,46,46,46,64,84,72,69]},{"a":22801,"t":"byte","b":[32,67,65,83,84,76,69,32]},{"a":22809,"t":"byte","b":[73,83,32,78,79,87,32,68]},{"a":22817,"t":"byte","b":[69,83,84,82,79,89,69,68]},{"a":22825,"t":"byte","b":[46,64]},{"a":22827,"l":"message_read","c":"how far the message line's scroll has read into the buffer at $8800","t":"byte","b":[0],"x":[16544,17906,18610,18653,18680,18933,19063,20340,20580,20672,21412,21665,22865,22882,22929,23114,23161,24395]},{"a":22828,"l":"message_write","c":"how far the printer has filled the buffer; the line is idle when the two are equal","t":"byte","b":[0],"x":[16547,17909,18613,18656,18683,18936,19066,20343,20583,20675,21415,21668,22832,22859,22868,23117,23164,24398]},{"a":22829,"l":"message_half","c":"which half of the character now entering the line is showing, because a character of the big alphabet is two cells wide and the line brings one cell in at a time","t":"byte","b":[0],"x":[22891,22908,22926]},{"a":22830,"l":"print_message","c":"puts a message in the queue for the line at the bottom of the screen. $FC and $FD point at the text, which is ASCII ending \"@\". It copies the characters into the buffer at $8800, masking each to six bits as the big alphabet needs, adds a space after the last, and leaves the write position in $592C. During play the line is emptied only by the scroll ($5991), so a routine that wants to wait for the message to finish watches $592B against $592C; the mission start sets both to 0 ($40A0).","t":"code","b":[152],"m":"tya","x":[16403,16945,17922,18626,19933,19944,20156,20184,20198,20226,20240,20274,20288,20316,20356,20376,20478,20490,20511,20576,20615,20707,21390,21428,21464,21483,21502,21521,21540,21682,21944,21981,22008,22019,23146,23191,23237,23255,23271,23287,23303,23991,24002,24411,24428,24465]},{"a":22831,"t":"code","b":[72],"m":"pha"},{"a":22832,"t":"code","b":[174,44,89],"m":"ldx","oa":22828,"o":"message_write"},{"a":22835,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":22837,"l":"j_5935","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[22850]},{"a":22839,"t":"code","b":[201,64],"m":"cmp","o":"#$40"},{"a":22841,"t":"code","b":[240,10],"m":"beq","oa":22853,"o":"b_5945"},{"a":22843,"t":"code","b":[41,63],"m":"and","o":"#$3F"},{"a":22845,"t":"code","b":[157,0,136],"m":"sta","oa":34816,"o":"f_8800,x"},{"a":22848,"t":"code","b":[232],"m":"inx"},{"a":22849,"t":"code","b":[200],"m":"iny"},{"a":22850,"t":"code","b":[76,53,89],"m":"jmp","oa":22837,"o":"j_5935"},{"a":22853,"l":"b_5945","t":"code","b":[169,32],"m":"lda","o":"#$20","x":[22841]},{"a":22855,"t":"code","b":[157,0,136],"m":"sta","oa":34816,"o":"f_8800,x"},{"a":22858,"t":"code","b":[232],"m":"inx"},{"a":22859,"t":"code","b":[142,44,89],"m":"stx","oa":22828,"o":"message_write"},{"a":22862,"t":"code","b":[104],"m":"pla"},{"a":22863,"t":"code","b":[168],"m":"tay"},{"a":22864,"t":"code","b":[96],"m":"rts"},{"a":22865,"l":"scroll_message_in","c":"brings the next cell of the message into the right-hand end of the line, at $07BF and $07E7. A character takes two turns, its left half and then its right, after which the read position moves on. With nothing left to show it puts a space there instead.","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[19272]},{"a":22868,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":22871,"t":"code","b":[208,9],"m":"bne","oa":22882,"o":"b_5962"},{"a":22873,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":22875,"t":"code","b":[141,191,7],"m":"sta","oa":1983,"o":"a_07BF"},{"a":22878,"t":"code","b":[141,231,7],"m":"sta","oa":2023,"o":"a_07E7"},{"a":22881,"t":"code","b":[96],"m":"rts"},{"a":22882,"l":"b_5962","t":"code","b":[174,43,89],"m":"ldx","oa":22827,"o":"message_read","x":[22871]},{"a":22885,"t":"code","b":[189,0,136],"m":"lda","oa":34816,"o":"f_8800,x"},{"a":22888,"t":"code","b":[10],"m":"asl","o":"a"},{"a":22889,"t":"code","b":[10],"m":"asl","o":"a"},{"a":22890,"t":"code","b":[170],"m":"tax"},{"a":22891,"t":"code","b":[173,45,89],"m":"lda","oa":22829,"o":"message_half"},{"a":22894,"t":"code","b":[208,16],"m":"bne","oa":22912,"o":"b_5980"},{"a":22896,"t":"code","b":[138],"m":"txa"},{"a":22897,"t":"code","b":[141,191,7],"m":"sta","oa":1983,"o":"a_07BF"},{"a":22900,"t":"code","b":[24],"m":"clc"},{"a":22901,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":22903,"t":"code","b":[141,231,7],"m":"sta","oa":2023,"o":"a_07E7"},{"a":22906,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":22908,"t":"code","b":[141,45,89],"m":"sta","oa":22829,"o":"message_half"},{"a":22911,"t":"code","b":[96],"m":"rts"},{"a":22912,"l":"b_5980","t":"code","b":[232],"m":"inx","x":[22894]},{"a":22913,"t":"code","b":[232],"m":"inx"},{"a":22914,"t":"code","b":[138],"m":"txa"},{"a":22915,"t":"code","b":[141,191,7],"m":"sta","oa":1983,"o":"a_07BF"},{"a":22918,"t":"code","b":[24],"m":"clc"},{"a":22919,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":22921,"t":"code","b":[141,231,7],"m":"sta","oa":2023,"o":"a_07E7"},{"a":22924,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":22926,"t":"code","b":[141,45,89],"m":"sta","oa":22829,"o":"message_half"},{"a":22929,"t":"code","b":[238,43,89],"m":"inc","oa":22827,"o":"message_read"},{"a":22932,"t":"code","b":[96],"m":"rts"},{"a":22933,"l":"draw_panel_numbers","c":"writes every number on the status panel: the keys at row 4, the ammunition at row 6, the hits at row 8 and the six digits of the score at row 11, each as two screen codes from $5A20. On the way it also works out where the player is in the castle, in tiles, and leaves it in $02CA and $02CB.","t":"code","b":[173,172,2],"m":"lda","oa":684,"o":"keys","x":[16926,18677,19167]},{"a":22936,"t":"code","b":[32,32,90],"m":"jsr","oa":23072,"o":"byte_to_digits"},{"a":22939,"t":"code","b":[173,187,2],"m":"lda","oa":699,"o":"digit_high"},{"a":22942,"t":"code","b":[141,196,4],"m":"sta","oa":1220,"o":"a_04C4"},{"a":22945,"t":"code","b":[173,188,2],"m":"lda","oa":700,"o":"digit_low"},{"a":22948,"t":"code","b":[141,197,4],"m":"sta","oa":1221,"o":"a_04C5"},{"a":22951,"t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x"},{"a":22954,"t":"code","b":[56],"m":"sec"},{"a":22955,"t":"code","b":[233,32],"m":"sbc","o":"#$20"},{"a":22957,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":22958,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":22959,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":22960,"t":"code","b":[24],"m":"clc"},{"a":22961,"t":"code","b":[101,254],"m":"adc","oa":254,"o":"room_offset_x"},{"a":22963,"t":"code","b":[141,202,2],"m":"sta","oa":714,"o":"player_tile_x"},{"a":22966,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":22969,"t":"code","b":[56],"m":"sec"},{"a":22970,"t":"code","b":[233,58],"m":"sbc","o":"#$3A"},{"a":22972,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":22973,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":22974,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":22975,"t":"code","b":[24],"m":"clc"},{"a":22976,"t":"code","b":[101,255],"m":"adc","oa":255,"o":"room_offset_y"},{"a":22978,"t":"code","b":[141,203,2],"m":"sta","oa":715,"o":"player_tile_y"},{"a":22981,"t":"code","b":[173,189,2],"m":"lda","oa":701,"o":"ammo"},{"a":22984,"t":"code","b":[32,32,90],"m":"jsr","oa":23072,"o":"byte_to_digits"},{"a":22987,"t":"code","b":[173,187,2],"m":"lda","oa":699,"o":"digit_high"},{"a":22990,"t":"code","b":[141,20,5],"m":"sta","oa":1300,"o":"a_0514"},{"a":22993,"t":"code","b":[173,188,2],"m":"lda","oa":700,"o":"digit_low"},{"a":22996,"t":"code","b":[141,21,5],"m":"sta","oa":1301,"o":"a_0515"},{"a":22999,"t":"code","b":[173,194,2],"m":"lda","oa":706,"o":"score_hi"},{"a":23002,"t":"code","b":[32,32,90],"m":"jsr","oa":23072,"o":"byte_to_digits"},{"a":23005,"t":"code","b":[173,187,2],"m":"lda","oa":699,"o":"digit_high"},{"a":23008,"t":"code","b":[141,215,5],"m":"sta","oa":1495,"o":"f_05D7"},{"a":23011,"t":"code","b":[173,188,2],"m":"lda","oa":700,"o":"digit_low"},{"a":23014,"t":"code","b":[141,216,5],"m":"sta","oa":1496,"o":"a_05D8"},{"a":23017,"t":"code","b":[173,195,2],"m":"lda","oa":707,"o":"score_mid"},{"a":23020,"t":"code","b":[32,32,90],"m":"jsr","oa":23072,"o":"byte_to_digits"},{"a":23023,"t":"code","b":[173,187,2],"m":"lda","oa":699,"o":"digit_high"},{"a":23026,"t":"code","b":[141,217,5],"m":"sta","oa":1497,"o":"a_05D9"},{"a":23029,"t":"code","b":[173,188,2],"m":"lda","oa":700,"o":"digit_low"},{"a":23032,"t":"code","b":[141,218,5],"m":"sta","oa":1498,"o":"a_05DA"},{"a":23035,"t":"code","b":[173,196,2],"m":"lda","oa":708,"o":"score_lo"},{"a":23038,"t":"code","b":[32,32,90],"m":"jsr","oa":23072,"o":"byte_to_digits"},{"a":23041,"t":"code","b":[173,187,2],"m":"lda","oa":699,"o":"digit_high"},{"a":23044,"t":"code","b":[141,219,5],"m":"sta","oa":1499,"o":"a_05DB"},{"a":23047,"t":"code","b":[173,188,2],"m":"lda","oa":700,"o":"digit_low"},{"a":23050,"t":"code","b":[141,220,5],"m":"sta","oa":1500,"o":"a_05DC"},{"a":23053,"t":"code","b":[173,198,2],"m":"lda","oa":710,"o":"hits"},{"a":23056,"t":"code","b":[32,32,90],"m":"jsr","oa":23072,"o":"byte_to_digits"},{"a":23059,"t":"code","b":[173,187,2],"m":"lda","oa":699,"o":"digit_high"},{"a":23062,"t":"code","b":[141,100,5],"m":"sta","oa":1380,"o":"a_0564"},{"a":23065,"t":"code","b":[173,188,2],"m":"lda","oa":700,"o":"digit_low"},{"a":23068,"t":"code","b":[141,101,5],"m":"sta","oa":1381,"o":"a_0565"},{"a":23071,"t":"code","b":[96],"m":"rts"},{"a":23072,"l":"byte_to_digits","c":"turns one binary-coded-decimal byte into the two screen codes that print it. The play character set keeps its digits at $F0 to $F9, so each nibble only has to be ORed with $F0; the upper one is shifted down first. Every number on the panel goes through here.","t":"code","b":[168],"m":"tay","x":[22936,22984,23002,23020,23038,23056]},{"a":23073,"t":"code","b":[9,240],"m":"ora","o":"#$F0"},{"a":23075,"t":"code","b":[141,188,2],"m":"sta","oa":700,"o":"digit_low"},{"a":23078,"t":"code","b":[152],"m":"tya"},{"a":23079,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":23081,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":23082,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":23083,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":23084,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":23085,"t":"code","b":[9,240],"m":"ora","o":"#$F0"},{"a":23087,"t":"code","b":[141,187,2],"m":"sta","oa":699,"o":"digit_high"},{"a":23090,"t":"code","b":[96],"m":"rts"},{"a":23091,"l":"idle_nags","c":"the game's prodding, run on phase 2 of the rota at $4ACD, one frame in three. $02C1 is stepped on each call, and the counters below act when it reaches $80, which after the first time is once every 256 calls, because $5A3E stores the $80 back rather than clearing it. On such a turn, with no direction pushed and the message line idle, $02BF counts up, and at fourteen the game says \"COME ON ! GET ON WITH IT.....\"; then, with fire not pressed and the line idle, $02C0 counts up, and at seven it says \"LETS GET DOWN TO SOME SERIOUS DESTRUCTION !\". Each counter is cleared when its message is said, and on such a turn by a busy message line; $02BF also by a push on the stick, and $02C0 by a press of fire.","t":"code","b":[238,193,2],"m":"inc","oa":705,"o":"idle_count","x":[19236]},{"a":23094,"t":"code","b":[173,193,2],"m":"lda","oa":705,"o":"idle_count"},{"a":23097,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":23099,"t":"code","b":[240,1],"m":"beq","oa":23102,"o":"b_5A3E"},{"a":23101,"t":"code","b":[96],"m":"rts"},{"a":23102,"l":"b_5A3E","t":"code","b":[141,193,2],"m":"sta","oa":705,"o":"idle_count","x":[23099]},{"a":23105,"t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a"},{"a":23108,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":23110,"t":"code","b":[201,15],"m":"cmp","o":"#$0F"},{"a":23112,"t":"code","b":[208,35],"m":"bne","oa":23149,"o":"b_5A6D"},{"a":23114,"t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read"},{"a":23117,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":23120,"t":"code","b":[240,3],"m":"beq","oa":23125,"o":"b_5A55"},{"a":23122,"t":"code","b":[76,109,90],"m":"jmp","oa":23149,"o":"b_5A6D"},{"a":23125,"l":"b_5A55","t":"code","b":[238,191,2],"m":"inc","oa":703,"o":"idle_nag_count","x":[23120]},{"a":23128,"t":"code","b":[173,191,2],"m":"lda","oa":703,"o":"idle_nag_count"},{"a":23131,"t":"code","b":[201,14],"m":"cmp","o":"#$0E"},{"a":23133,"t":"code","b":[240,3],"m":"beq","oa":23138,"o":"b_5A62"},{"a":23135,"t":"code","b":[76,114,90],"m":"jmp","oa":23154,"o":"j_5A72"},{"a":23138,"l":"b_5A62","t":"code","b":[169,44],"m":"lda","o":"#$2C","x":[23133]},{"a":23140,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23142,"t":"code","b":[169,87],"m":"lda","o":"#$57"},{"a":23144,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23146,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23149,"l":"b_5A6D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[23112,23122]},{"a":23151,"t":"code","b":[141,191,2],"m":"sta","oa":703,"o":"idle_nag_count"},{"a":23154,"l":"j_5A72","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[23135]},{"a":23157,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":23159,"t":"code","b":[240,33],"m":"beq","oa":23194,"o":"b_5A9A"},{"a":23161,"t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read"},{"a":23164,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":23167,"t":"code","b":[240,3],"m":"beq","oa":23172,"o":"b_5A84"},{"a":23169,"t":"code","b":[76,154,90],"m":"jmp","oa":23194,"o":"b_5A9A"},{"a":23172,"l":"b_5A84","t":"code","b":[238,192,2],"m":"inc","oa":704,"o":"idle_fire_count","x":[23167]},{"a":23175,"t":"code","b":[173,192,2],"m":"lda","oa":704,"o":"idle_fire_count"},{"a":23178,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":23180,"t":"code","b":[240,1],"m":"beq","oa":23183,"o":"b_5A8F"},{"a":23182,"t":"code","b":[96],"m":"rts"},{"a":23183,"l":"b_5A8F","t":"code","b":[169,74],"m":"lda","o":"#$4A","x":[23180]},{"a":23185,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23187,"t":"code","b":[169,87],"m":"lda","o":"#$57"},{"a":23189,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23191,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23194,"l":"b_5A9A","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[23159,23169]},{"a":23196,"t":"code","b":[141,192,2],"m":"sta","oa":704,"o":"idle_fire_count"},{"a":23199,"t":"code","b":[96],"m":"rts"},{"a":23200,"l":"score_ticker","c":"adds the points waiting in $02C5 to the score, one a frame, so the number on the panel climbs rather than jumps. Each one adds 1 to the score's middle pair of digits in decimal mode, carrying into the top pair, so one waiting point is a hundred on the panel. Nothing adds to the bottom pair: it is only cleared at the mission start ($4058) and copied back from its own saved copy ($4089), which is why every score in this game ends in two zeros.","t":"code","b":[173,197,2],"m":"lda","oa":709,"o":"score_to_add","x":[19159]},{"a":23203,"t":"code","b":[208,1],"m":"bne","oa":23206,"o":"b_5AA6"},{"a":23205,"t":"code","b":[96],"m":"rts"},{"a":23206,"l":"b_5AA6","t":"code","b":[206,197,2],"m":"dec","oa":709,"o":"score_to_add","x":[23203]},{"a":23209,"t":"code","b":[248],"m":"sed"},{"a":23210,"t":"code","b":[173,195,2],"m":"lda","oa":707,"o":"score_mid"},{"a":23213,"t":"code","b":[24],"m":"clc"},{"a":23214,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":23216,"t":"code","b":[141,195,2],"m":"sta","oa":707,"o":"score_mid"},{"a":23219,"t":"code","b":[173,194,2],"m":"lda","oa":706,"o":"score_hi"},{"a":23222,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":23224,"t":"code","b":[141,194,2],"m":"sta","oa":706,"o":"score_hi"},{"a":23227,"t":"code","b":[216],"m":"cld"},{"a":23228,"t":"code","b":[96],"m":"rts"},{"a":23229,"l":"announce_floor","c":"says which floor the player is on when play starts on a floor, at the start of a mission and after each lift ride ($4268): \"YOU ARE\" and then one of \"IN THE BASEMENT.\", \"ON THE GROUND FLOOR.\", \"ON THE FIRST FLOOR.\" or \"ON THE SECOND FLOOR.\"","t":"code","b":[169,87],"m":"lda","o":"#$57","x":[17000]},{"a":23231,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23233,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":23235,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23237,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23240,"t":"code","b":[173,167,2],"m":"lda","oa":679,"o":"current_floor"},{"a":23243,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":23245,"t":"code","b":[208,12],"m":"bne","oa":23259,"o":"b_5ADB"},{"a":23247,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":23249,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23251,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":23253,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23255,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23258,"t":"code","b":[96],"m":"rts"},{"a":23259,"l":"b_5ADB","t":"code","b":[201,1],"m":"cmp","o":"#$01","x":[23245]},{"a":23261,"t":"code","b":[208,12],"m":"bne","oa":23275,"o":"b_5AEB"},{"a":23263,"t":"code","b":[169,25],"m":"lda","o":"#$19"},{"a":23265,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23267,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":23269,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23271,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23274,"t":"code","b":[96],"m":"rts"},{"a":23275,"l":"b_5AEB","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[23261]},{"a":23277,"t":"code","b":[208,12],"m":"bne","oa":23291,"o":"b_5AFB"},{"a":23279,"t":"code","b":[169,46],"m":"lda","o":"#$2E"},{"a":23281,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23283,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":23285,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23287,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23290,"t":"code","b":[96],"m":"rts"},{"a":23291,"l":"b_5AFB","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[23277]},{"a":23293,"t":"code","b":[208,11],"m":"bne","oa":23306,"o":"r_5B0A"},{"a":23295,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":23297,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23299,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":23301,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23303,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23306,"l":"r_5B0A","t":"code","b":[96],"m":"rts","x":[23293]},{"a":23307,"l":"player_tiles_1","c":"the first four of the sixteen tiles the player's square is covering, kept while tile $55 stands in for him","t":"byte","b":[0,0,0,0],"x":[23342,23430]},{"a":23311,"l":"player_tiles_2","c":"the second four of them","t":"byte","b":[0,0,0,0],"x":[23385,23442]},{"a":23315,"l":"player_tiles_3","c":"the third four of them","t":"byte","b":[0,0,0,0],"x":[23353,23437]},{"a":23319,"l":"player_tiles_4","c":"the last four of them","t":"byte","b":[0,0,0,0],"x":[23389,23446]},{"a":23323,"l":"stamp_player_in_map","c":"writes the player into the castle map so that the figures can see him. It stamps tile $55 over the sixteen tiles the player's square covers, keeping what was there in the four buffers at $5B0B, $5B0F, $5B13 and $5B17, then runs the figures ($6000) and, unless $02F0 is 1, the prisoner before them ($601E), and puts the sixteen tiles back. With the cheat on ($603F) it then fills the ammunition back to 99. A figure that finds the tile ahead taken compares it with $55 ($6193, $61DC, $6228, $6274) and hits the player on a match, so this is how walking into the player is noticed at all.","t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x","x":[19215,19244]},{"a":23326,"t":"code","b":[141,182,2],"m":"sta","oa":694,"o":"tile_lookup_x"},{"a":23329,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":23332,"t":"code","b":[141,183,2],"m":"sta","oa":695,"o":"tile_lookup_y"},{"a":23335,"t":"code","b":[32,205,81],"m":"jsr","oa":20941,"o":"map_address"},{"a":23338,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":23340,"l":"b_5B2C","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y","x":[23395]},{"a":23342,"t":"code","b":[153,11,91],"m":"sta","oa":23307,"o":"player_tiles_1,y"},{"a":23345,"t":"code","b":[169,85],"m":"lda","o":"#$55"},{"a":23347,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23349,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":23351,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y"},{"a":23353,"t":"code","b":[153,19,91],"m":"sta","oa":23315,"o":"player_tiles_3,y"},{"a":23356,"t":"code","b":[169,85],"m":"lda","o":"#$55"},{"a":23358,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23360,"t":"code","b":[152],"m":"tya"},{"a":23361,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":23363,"t":"code","b":[168],"m":"tay"},{"a":23364,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y"},{"a":23366,"t":"code","b":[72],"m":"pha"},{"a":23367,"t":"code","b":[169,85],"m":"lda","o":"#$55"},{"a":23369,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23371,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":23373,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(map_addr_lo),y"},{"a":23375,"t":"code","b":[72],"m":"pha"},{"a":23376,"t":"code","b":[169,85],"m":"lda","o":"#$55"},{"a":23378,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23380,"t":"code","b":[152],"m":"tya"},{"a":23381,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":23383,"t":"code","b":[168],"m":"tay"},{"a":23384,"t":"code","b":[104],"m":"pla"},{"a":23385,"t":"code","b":[153,15,91],"m":"sta","oa":23311,"o":"player_tiles_2,y"},{"a":23388,"t":"code","b":[104],"m":"pla"},{"a":23389,"t":"code","b":[153,23,91],"m":"sta","oa":23319,"o":"player_tiles_4,y"},{"a":23392,"t":"code","b":[200],"m":"iny"},{"a":23393,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":23395,"t":"code","b":[208,199],"m":"bne","oa":23340,"o":"b_5B2C"},{"a":23397,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":23399,"t":"code","b":[72],"m":"pha"},{"a":23400,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":23402,"t":"code","b":[72],"m":"pha"},{"a":23403,"t":"code","b":[173,240,2],"m":"lda","oa":752,"o":"figures_or_prisoner"},{"a":23406,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":23408,"t":"code","b":[240,9],"m":"beq","oa":23419,"o":"b_5B7B"},{"a":23410,"t":"code","b":[32,30,96],"m":"jsr","oa":24606,"o":"go_prisoner_turn"},{"a":23413,"t":"code","b":[32,0,96],"m":"jsr","oa":24576,"o":"go_figures_turn"},{"a":23416,"t":"code","b":[76,126,91],"m":"jmp","oa":23422,"o":"j_5B7E"},{"a":23419,"l":"b_5B7B","t":"code","b":[32,0,96],"m":"jsr","oa":24576,"o":"go_figures_turn","x":[23408]},{"a":23422,"l":"j_5B7E","t":"code","b":[104],"m":"pla","x":[23416]},{"a":23423,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":23425,"t":"code","b":[104],"m":"pla"},{"a":23426,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":23428,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":23430,"l":"b_5B86","t":"code","b":[185,11,91],"m":"lda","oa":23307,"o":"player_tiles_1,y","x":[23469]},{"a":23433,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23435,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":23437,"t":"code","b":[185,19,91],"m":"lda","oa":23315,"o":"player_tiles_3,y"},{"a":23440,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23442,"t":"code","b":[185,15,91],"m":"lda","oa":23311,"o":"player_tiles_2,y"},{"a":23445,"t":"code","b":[72],"m":"pha"},{"a":23446,"t":"code","b":[185,23,91],"m":"lda","oa":23319,"o":"player_tiles_4,y"},{"a":23449,"t":"code","b":[72],"m":"pha"},{"a":23450,"t":"code","b":[152],"m":"tya"},{"a":23451,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":23453,"t":"code","b":[168],"m":"tay"},{"a":23454,"t":"code","b":[104],"m":"pla"},{"a":23455,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23457,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":23459,"t":"code","b":[104],"m":"pla"},{"a":23460,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":23462,"t":"code","b":[152],"m":"tya"},{"a":23463,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":23465,"t":"code","b":[168],"m":"tay"},{"a":23466,"t":"code","b":[200],"m":"iny"},{"a":23467,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":23469,"t":"code","b":[208,215],"m":"bne","oa":23430,"o":"b_5B86"},{"a":23471,"t":"code","b":[173,63,96],"m":"lda","oa":24639,"o":"cheat_on"},{"a":23474,"t":"code","b":[240,5],"m":"beq","oa":23481,"o":"r_5BB9"},{"a":23476,"t":"code","b":[169,153],"m":"lda","o":"#$99"},{"a":23478,"t":"code","b":[141,189,2],"m":"sta","oa":701,"o":"ammo"},{"a":23481,"l":"r_5BB9","t":"code","b":[96],"m":"rts","x":[23474]},{"a":23482,"l":"mission_state","c":"watched each frame. While $02D3 is 0 it reads the hits: at $50 or more, that is fifty, the player is dead and $02D3 becomes $FF; below that, with the cheat on ($603F), it sets the keys to 1. $FF means the game is over and the screen goes black. Anything from 1 to $12 is a step of the explosion the explosives from a chest make, which walks the border and the background through the colours at $5C11 and goes round five times before setting $02D3 to $FF. The last step reads one byte past the table, which is the first byte of the tile grid at $5C22.","t":"code","b":[173,211,2],"m":"lda","oa":723,"o":"mission_phase","x":[19292]},{"a":23485,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":23487,"t":"code","b":[240,71],"m":"beq","oa":23560,"o":"b_5C08"},{"a":23489,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":23491,"t":"code","b":[208,24],"m":"bne","oa":23517,"o":"b_5BDD"},{"a":23493,"t":"code","b":[173,198,2],"m":"lda","oa":710,"o":"hits"},{"a":23496,"t":"code","b":[201,80],"m":"cmp","o":"#$50"},{"a":23498,"t":"code","b":[176,11],"m":"bcs","oa":23511,"o":"b_5BD7"},{"a":23500,"t":"code","b":[173,63,96],"m":"lda","oa":24639,"o":"cheat_on"},{"a":23503,"t":"code","b":[240,5],"m":"beq","oa":23510,"o":"r_5BD6"},{"a":23505,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":23507,"t":"code","b":[141,172,2],"m":"sta","oa":684,"o":"keys"},{"a":23510,"l":"r_5BD6","t":"code","b":[96],"m":"rts","x":[23503]},{"a":23511,"l":"b_5BD7","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[23498]},{"a":23513,"t":"code","b":[141,211,2],"m":"sta","oa":723,"o":"mission_phase"},{"a":23516,"t":"code","b":[96],"m":"rts"},{"a":23517,"l":"b_5BDD","t":"code","b":[174,211,2],"m":"ldx","oa":723,"o":"mission_phase","x":[23491]},{"a":23520,"t":"code","b":[202],"m":"dex"},{"a":23521,"t":"code","b":[189,17,92],"m":"lda","oa":23569,"o":"explosion_colours,x"},{"a":23524,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":23527,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":23530,"t":"code","b":[224,17],"m":"cpx","o":"#$11"},{"a":23532,"t":"code","b":[240,4],"m":"beq","oa":23538,"o":"b_5BF2"},{"a":23534,"t":"code","b":[238,211,2],"m":"inc","oa":723,"o":"mission_phase"},{"a":23537,"t":"code","b":[96],"m":"rts"},{"a":23538,"l":"b_5BF2","t":"code","b":[238,212,2],"m":"inc","oa":724,"o":"explosion_rounds","x":[23532]},{"a":23541,"t":"code","b":[173,212,2],"m":"lda","oa":724,"o":"explosion_rounds"},{"a":23544,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":23546,"t":"code","b":[240,6],"m":"beq","oa":23554,"o":"b_5C02"},{"a":23548,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":23550,"t":"code","b":[141,211,2],"m":"sta","oa":723,"o":"mission_phase"},{"a":23553,"t":"code","b":[96],"m":"rts"},{"a":23554,"l":"b_5C02","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[23546]},{"a":23556,"t":"code","b":[141,211,2],"m":"sta","oa":723,"o":"mission_phase"},{"a":23559,"t":"code","b":[96],"m":"rts"},{"a":23560,"l":"b_5C08","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[23487]},{"a":23562,"t":"code","b":[141,32,208],"m":"sta","o":"vic_border"},{"a":23565,"t":"code","b":[141,33,208],"m":"sta","o":"vic_background0"},{"a":23568,"t":"code","b":[96],"m":"rts"},{"a":23569,"l":"explosion_colours","c":"the seventeen border and background colours the explosives from a chest flash through, in order. The explosion takes eighteen steps, so the last one reads the byte after the table.","t":"byte","b":[2,7,2,7,2,0,11,12],"x":[23521]},{"a":23577,"t":"byte","b":[15,1,15,12,11,11,2,2]},{"a":23585,"t":"byte","b":[0]},{"a":23586,"l":"tile_grid","c":"the six-by-six block of map tiles read by $5C55 round a place in the map: round the player ($5C46), whose square is the middle four by four, or round where a shot stopped ($5323, $5430). Each move tests the four tiles just outside the player's square on the side he moves to: $5C23 to $5C26 up, $5C41 to $5C44 down, $5C28, $5C2E, $5C34 and $5C3A left, and $5C2D, $5C33, $5C39 and $5C3F right.","t":"byte","b":[0],"x":[19775,19807,19949,19953,19973,19979,19997,20003,20047,20053,20061,20069,20073,20078,20084,20091,20324,20328,20500,20524,20528,20536,20540,21292,21441,21445,21631,21637,21647,21653,23664,23874]},{"a":23587,"l":"tile_above_player_1","c":"the second tile of the grid's first row, and the first of the four tiles just above the player's square, which the move up tests ($42E7)","t":"byte","b":[0],"x":[17127,20097]},{"a":23588,"l":"tile_above_player_2","c":"the second of the four tiles just above the player's square, which the move up, the key door test at $5164 and the jewels at $5CC0 read","t":"byte","b":[0],"x":[17134,20103,20836,23744]},{"a":23589,"l":"tile_above_player_3","c":"the third of the four tiles just above the player's square","t":"byte","b":[0],"x":[17141,20109,23755]},{"a":23590,"l":"tile_above_player_4","c":"the fourth of the four tiles just above the player's square","t":"byte","b":[0],"x":[17148,20115]},{"a":23591,"l":"tile_grid_row1_end","c":"the last tile of the grid's first row","t":"byte","b":[0],"x":[20121]},{"a":23592,"l":"tile_grid_row2","c":"the second row of the six-by-six tile grid around the player","t":"byte","b":[0,0,0,0,0],"x":[17465,23701]},{"a":23597,"l":"tile_grid_row2_right","c":"the right-hand tile of the grid's second row, which the move to the right tests","t":"byte","b":[0],"x":[17633]},{"a":23598,"l":"tile_grid_row3","c":"the third row of the grid","t":"byte","b":[0,0,0,0,0],"x":[17472,20644,23671,23804]},{"a":23603,"l":"tile_grid_row3_right","c":"the right-hand tile of the grid's third row","t":"byte","b":[0],"x":[17640,20624,23834]},{"a":23604,"l":"tile_grid_row4","c":"the fourth row of the grid","t":"byte","b":[0,0,0,0,0],"x":[17479,23694,23815]},{"a":23609,"l":"tile_grid_row4_right","c":"the right-hand tile of the grid's fourth row","t":"byte","b":[0],"x":[17647,23845]},{"a":23610,"l":"tile_grid_row5","c":"the fifth row of the grid","t":"byte","b":[0,0,0,0,0],"x":[17486,23678]},{"a":23615,"l":"tile_grid_row5_right","c":"the right-hand tile of the grid's fifth row","t":"byte","b":[0],"x":[17654]},{"a":23616,"l":"tile_grid_row6","c":"the grid's sixth row","t":"byte","b":[0],"x":[23687]},{"a":23617,"l":"tile_grid_row6_b","c":"the second tile of the grid's sixth row, which the move down tests","t":"byte","b":[0],"x":[17295]},{"a":23618,"l":"tile_grid_row6_c","c":"the third tile of the grid's sixth row","t":"byte","b":[0],"x":[17302,20544,20811,23774,24359]},{"a":23619,"l":"tile_grid_row6_d","c":"the fourth tile of the grid's sixth row","t":"byte","b":[0],"x":[17309,23785]},{"a":23620,"l":"tile_grid_last","c":"the last two tiles of the six-by-six grid around the player","t":"byte","b":[0,0],"x":[17316]},{"a":23622,"l":"tiles_round_player","c":"works out which tiles surround the player, from the position in $02DF and $02E0, by way of $51CD and $5C55, and leaves them in the grid at $5C22","t":"code","b":[173,223,2],"m":"lda","oa":735,"o":"player_x","x":[16968,17047]},{"a":23625,"t":"code","b":[141,182,2],"m":"sta","oa":694,"o":"tile_lookup_x"},{"a":23628,"t":"code","b":[173,224,2],"m":"lda","oa":736,"o":"player_y"},{"a":23631,"t":"code","b":[141,183,2],"m":"sta","oa":695,"o":"tile_lookup_y"},{"a":23634,"t":"code","b":[32,205,81],"m":"jsr","oa":20941,"o":"map_address"},{"a":23637,"l":"read_tile_grid","c":"reads the six-by-six block of map tiles round the place whose map address is in $02 and $03 into the grid at $5C22, six bytes a row. It sets $06 and $07 to that address less $81, one row up and one column left, and leaves them there, so the place itself is grid place 7. A row of the map is 128 bytes away, which the routine reaches by setting bit 7 of Y and stepping the pointer's high byte, so it never needs a second pointer.","t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi","x":[21283,21552]},{"a":23639,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":23641,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":23643,"t":"code","b":[56],"m":"sec"},{"a":23644,"t":"code","b":[233,129],"m":"sbc","o":"#$81"},{"a":23646,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":23648,"t":"code","b":[176,2],"m":"bcs","oa":23652,"o":"b_5C64"},{"a":23650,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":23652,"l":"b_5C64","t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo","x":[23648]},{"a":23654,"t":"code","b":[72],"m":"pha"},{"a":23655,"t":"code","b":[165,7],"m":"lda","oa":7,"o":"grid_addr_hi"},{"a":23657,"t":"code","b":[72],"m":"pha"},{"a":23658,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":23660,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":23662,"l":"b_5C6E","t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y","x":[23712]},{"a":23664,"t":"code","b":[157,34,92],"m":"sta","oa":23586,"o":"tile_grid,x"},{"a":23667,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":23669,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y"},{"a":23671,"t":"code","b":[157,46,92],"m":"sta","oa":23598,"o":"tile_grid_row3,x"},{"a":23674,"t":"code","b":[230,7],"m":"inc","oa":7,"o":"grid_addr_hi"},{"a":23676,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y"},{"a":23678,"t":"code","b":[157,58,92],"m":"sta","oa":23610,"o":"tile_grid_row5,x"},{"a":23681,"t":"code","b":[152],"m":"tya"},{"a":23682,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":23684,"t":"code","b":[168],"m":"tay"},{"a":23685,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y"},{"a":23687,"t":"code","b":[157,64,92],"m":"sta","oa":23616,"o":"tile_grid_row6,x"},{"a":23690,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":23692,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y"},{"a":23694,"t":"code","b":[157,52,92],"m":"sta","oa":23604,"o":"tile_grid_row4,x"},{"a":23697,"t":"code","b":[198,7],"m":"dec","oa":7,"o":"grid_addr_hi"},{"a":23699,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(grid_addr_lo),y"},{"a":23701,"t":"code","b":[157,40,92],"m":"sta","oa":23592,"o":"tile_grid_row2,x"},{"a":23704,"t":"code","b":[152],"m":"tya"},{"a":23705,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":23707,"t":"code","b":[168],"m":"tay"},{"a":23708,"t":"code","b":[200],"m":"iny"},{"a":23709,"t":"code","b":[232],"m":"inx"},{"a":23710,"t":"code","b":[224,6],"m":"cpx","o":"#$06"},{"a":23712,"t":"code","b":[208,204],"m":"bne","oa":23662,"o":"b_5C6E"},{"a":23714,"t":"code","b":[104],"m":"pla"},{"a":23715,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"grid_addr_hi"},{"a":23717,"t":"code","b":[104],"m":"pla"},{"a":23718,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"grid_addr_lo"},{"a":23720,"t":"code","b":[96],"m":"rts"},{"a":23721,"l":"jewel_places","c":"the sixteen places in the tile grid the jewels are looked for in","t":"byte","b":[1,2,3,4,11,17,23,29],"x":[23870]},{"a":23729,"t":"byte","b":[34,33,32,31,24,18,12,6]},{"a":23737,"l":"jewels_pickup","c":"the jewels in an opened chest, tiles $66 to $69, taken by walking into them. On phase 2 of the rota at $4ACD, one frame in three, it looks at the two tiles ahead of the player in the first direction the stick is pushed, tested up, down, left, right, and on jewels it works back to the chest's own corner, adds 40 points, which the ticker turns into 4000, says \"YOU HAVE FOUND\" and \"SOME JEWELS.\", and leaves the chest open and empty by writing the tiles $62 to $65 over it. Explosives ($6A to $6D) are not looked for, so walking into them does nothing.","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[19247]},{"a":23740,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":23742,"t":"code","b":[208,23],"m":"bne","oa":23767,"o":"b_5CD7"},{"a":23744,"t":"code","b":[173,36,92],"m":"lda","oa":23588,"o":"tile_above_player_2"},{"a":23747,"t":"code","b":[201,102],"m":"cmp","o":"#$66"},{"a":23749,"t":"code","b":[240,106],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23751,"t":"code","b":[201,103],"m":"cmp","o":"#$67"},{"a":23753,"t":"code","b":[240,102],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23755,"t":"code","b":[173,37,92],"m":"lda","oa":23589,"o":"tile_above_player_3"},{"a":23758,"t":"code","b":[201,102],"m":"cmp","o":"#$66"},{"a":23760,"t":"code","b":[240,95],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23762,"t":"code","b":[201,103],"m":"cmp","o":"#$67"},{"a":23764,"t":"code","b":[240,91],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23766,"t":"code","b":[96],"m":"rts"},{"a":23767,"l":"b_5CD7","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[23742]},{"a":23770,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":23772,"t":"code","b":[208,23],"m":"bne","oa":23797,"o":"b_5CF5"},{"a":23774,"t":"code","b":[173,66,92],"m":"lda","oa":23618,"o":"tile_grid_row6_c"},{"a":23777,"t":"code","b":[201,104],"m":"cmp","o":"#$68"},{"a":23779,"t":"code","b":[240,76],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23781,"t":"code","b":[201,105],"m":"cmp","o":"#$69"},{"a":23783,"t":"code","b":[240,72],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23785,"t":"code","b":[173,67,92],"m":"lda","oa":23619,"o":"tile_grid_row6_d"},{"a":23788,"t":"code","b":[201,104],"m":"cmp","o":"#$68"},{"a":23790,"t":"code","b":[240,65],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23792,"t":"code","b":[201,105],"m":"cmp","o":"#$69"},{"a":23794,"t":"code","b":[240,61],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23796,"t":"code","b":[96],"m":"rts"},{"a":23797,"l":"b_5CF5","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[23772]},{"a":23800,"t":"code","b":[41,4],"m":"and","o":"#$04"},{"a":23802,"t":"code","b":[208,23],"m":"bne","oa":23827,"o":"b_5D13"},{"a":23804,"t":"code","b":[173,46,92],"m":"lda","oa":23598,"o":"tile_grid_row3"},{"a":23807,"t":"code","b":[201,105],"m":"cmp","o":"#$69"},{"a":23809,"t":"code","b":[240,46],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23811,"t":"code","b":[201,103],"m":"cmp","o":"#$67"},{"a":23813,"t":"code","b":[240,42],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23815,"t":"code","b":[173,52,92],"m":"lda","oa":23604,"o":"tile_grid_row4"},{"a":23818,"t":"code","b":[201,105],"m":"cmp","o":"#$69"},{"a":23820,"t":"code","b":[240,35],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23822,"t":"code","b":[201,103],"m":"cmp","o":"#$67"},{"a":23824,"t":"code","b":[240,31],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23826,"t":"code","b":[96],"m":"rts"},{"a":23827,"l":"b_5D13","t":"code","b":[173,0,220],"m":"lda","o":"cia1_port_a","x":[23802]},{"a":23830,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":23832,"t":"code","b":[208,22],"m":"bne","oa":23856,"o":"r_5D30"},{"a":23834,"t":"code","b":[173,51,92],"m":"lda","oa":23603,"o":"tile_grid_row3_right"},{"a":23837,"t":"code","b":[201,104],"m":"cmp","o":"#$68"},{"a":23839,"t":"code","b":[240,16],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23841,"t":"code","b":[201,102],"m":"cmp","o":"#$66"},{"a":23843,"t":"code","b":[240,12],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23845,"t":"code","b":[173,57,92],"m":"lda","oa":23609,"o":"tile_grid_row4_right"},{"a":23848,"t":"code","b":[201,104],"m":"cmp","o":"#$68"},{"a":23850,"t":"code","b":[240,5],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23852,"t":"code","b":[201,102],"m":"cmp","o":"#$66"},{"a":23854,"t":"code","b":[240,1],"m":"beq","oa":23857,"o":"b_5D31"},{"a":23856,"l":"r_5D30","t":"code","b":[96],"m":"rts","x":[23832]},{"a":23857,"l":"b_5D31","t":"code","b":[165,6],"m":"lda","oa":6,"o":"grid_addr_lo","x":[23749,23753,23760,23764,23779,23783,23790,23794,23809,23813,23820,23824,23839,23843,23850,23854]},{"a":23859,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":23861,"t":"code","b":[165,7],"m":"lda","oa":7,"o":"grid_addr_hi"},{"a":23863,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":23865,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":23867,"t":"code","b":[142,226,2],"m":"stx","oa":738,"o":"jewel_scan"},{"a":23870,"l":"b_5D3E","t":"code","b":[189,169,92],"m":"lda","oa":23721,"o":"jewel_places,x","x":[23896]},{"a":23873,"t":"code","b":[168],"m":"tay"},{"a":23874,"t":"code","b":[185,34,92],"m":"lda","oa":23586,"o":"tile_grid,y"},{"a":23877,"t":"code","b":[201,104],"m":"cmp","o":"#$68"},{"a":23879,"t":"code","b":[240,60],"m":"beq","oa":23941,"o":"b_5D85"},{"a":23881,"t":"code","b":[201,105],"m":"cmp","o":"#$69"},{"a":23883,"t":"code","b":[240,14],"m":"beq","oa":23899,"o":"b_5D5B"},{"a":23885,"t":"code","b":[201,102],"m":"cmp","o":"#$66"},{"a":23887,"t":"code","b":[240,24],"m":"beq","oa":23913,"o":"b_5D69"},{"a":23889,"t":"code","b":[201,103],"m":"cmp","o":"#$67"},{"a":23891,"t":"code","b":[240,34],"m":"beq","oa":23927,"o":"b_5D77"},{"a":23893,"t":"code","b":[232],"m":"inx"},{"a":23894,"t":"code","b":[224,16],"m":"cpx","o":"#$10"},{"a":23896,"t":"code","b":[208,228],"m":"bne","oa":23870,"o":"b_5D3E"},{"a":23898,"t":"code","b":[96],"m":"rts"},{"a":23899,"l":"b_5D5B","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[23883]},{"a":23901,"t":"code","b":[56],"m":"sec"},{"a":23902,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":23904,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":23906,"t":"code","b":[176,2],"m":"bcs","oa":23910,"o":"b_5D66"},{"a":23908,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":23910,"l":"b_5D66","t":"code","b":[76,133,93],"m":"jmp","oa":23941,"o":"b_5D85","x":[23906]},{"a":23913,"l":"b_5D69","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[23887]},{"a":23915,"t":"code","b":[56],"m":"sec"},{"a":23916,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":23918,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":23920,"t":"code","b":[176,2],"m":"bcs","oa":23924,"o":"b_5D74"},{"a":23922,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":23924,"l":"b_5D74","t":"code","b":[76,133,93],"m":"jmp","oa":23941,"o":"b_5D85","x":[23920]},{"a":23927,"l":"b_5D77","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[23891]},{"a":23929,"t":"code","b":[56],"m":"sec"},{"a":23930,"t":"code","b":[233,129],"m":"sbc","o":"#$81"},{"a":23932,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":23934,"t":"code","b":[176,2],"m":"bcs","oa":23938,"o":"b_5D82"},{"a":23936,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":23938,"l":"b_5D82","t":"code","b":[76,133,93],"m":"jmp","oa":23941,"o":"b_5D85","x":[23934]},{"a":23941,"l":"b_5D85","t":"code","b":[152],"m":"tya","x":[23879,23910,23924,23938,23961]},{"a":23942,"t":"code","b":[240,20],"m":"beq","oa":23964,"o":"b_5D9C"},{"a":23944,"t":"code","b":[56],"m":"sec"},{"a":23945,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":23947,"t":"code","b":[144,15],"m":"bcc","oa":23964,"o":"b_5D9C"},{"a":23949,"t":"code","b":[168],"m":"tay"},{"a":23950,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":23952,"t":"code","b":[24],"m":"clc"},{"a":23953,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":23955,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":23957,"t":"code","b":[144,2],"m":"bcc","oa":23961,"o":"b_5D99"},{"a":23959,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":23961,"l":"b_5D99","t":"code","b":[76,133,93],"m":"jmp","oa":23941,"o":"b_5D85","x":[23957]},{"a":23964,"l":"b_5D9C","t":"code","b":[152],"m":"tya","x":[23942,23947]},{"a":23965,"t":"code","b":[24],"m":"clc"},{"a":23966,"t":"code","b":[101,2],"m":"adc","oa":2,"o":"map_addr_lo"},{"a":23968,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":23970,"t":"code","b":[144,2],"m":"bcc","oa":23974,"o":"b_5DA6"},{"a":23972,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":23974,"l":"b_5DA6","t":"code","b":[173,197,2],"m":"lda","oa":709,"o":"score_to_add","x":[23970]},{"a":23977,"t":"code","b":[24],"m":"clc"},{"a":23978,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":23980,"t":"code","b":[141,197,2],"m":"sta","oa":709,"o":"score_to_add"},{"a":23983,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":23985,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23987,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":23989,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":23991,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":23994,"t":"code","b":[169,165],"m":"lda","o":"#$A5"},{"a":23996,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":23998,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":24000,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24002,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":24005,"t":"code","b":[76,187,85],"m":"jmp","oa":21947,"o":"open_the_chest"},{"a":24008,"l":"draw_panel","c":"draws the status panel: its frame down the right of the screen, the three labels KEYS, AMMO and HITS placed cell by cell from the ten letters the play character set holds, the box round each number, and the colours of every part. It is written with self-modifying operands, as the room drawer is: the screen address at $5DE6 and $5DE7, the colour value at $5DE9 and the colour address at $5DEB and $5DEC.","t":"code","b":[169,69],"m":"lda","o":"#$45","x":[16923]},{"a":24010,"t":"code","b":[141,230,93],"m":"sta","oa":24038,"o":"draw_panel_screen_lo"},{"a":24013,"t":"code","b":[141,235,93],"m":"sta","oa":24043,"o":"draw_panel_colour_lo"},{"a":24016,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":24018,"t":"code","b":[141,231,93],"m":"sta","oa":24039,"o":"draw_panel_screen_hi"},{"a":24021,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":24023,"t":"code","b":[141,236,93],"m":"sta","oa":24044,"o":"draw_panel_colour_hi"},{"a":24026,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":24028,"l":"b_5DDC","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[24080]},{"a":24030,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":24032,"t":"code","b":[141,233,93],"m":"sta","oa":24041,"o":"draw_panel_colour"},{"a":24035,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":24037,"l":"b_5DE5","t":"code","b":[157,69,4],"m":"sta","oa":1093,"o":"f_0445,x","x":[24055]},{"a":24038,"t":"note","l":"draw_panel_screen_lo","c":"the low byte of the screen address the panel drawing writes, which $5DC8 rewrites a row at a time","note":"inside the item at $5DE5","x":[24010,24057,24063]},{"a":24039,"t":"note","l":"draw_panel_screen_hi","c":"the high byte of the screen address the panel drawing writes, which $5DC8 rewrites","note":"inside the item at $5DE5","x":[24018,24071]},{"a":24040,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":24041,"t":"note","l":"draw_panel_colour","c":"the colour the panel drawing writes to colour memory, the operand of the LDA at $5DE8: $5DE0 sets $0F for the first cell of each row and $5DEF puts $07 back for the rest","note":"inside the item at $5DE8","x":[24032,24047]},{"a":24042,"t":"code","b":[157,69,216],"m":"sta","o":"$D845,x"},{"a":24043,"t":"note","l":"draw_panel_colour_lo","c":"the low byte of the colour address the panel drawing writes, the operand of the STA at $5DEA: $5DCD sets it to $45 and $5E02 moves it on with the screen address, a row at a time","note":"inside the item at $5DEA","x":[24013,24066]},{"a":24044,"t":"note","l":"draw_panel_colour_hi","c":"the high byte of the colour address the panel drawing writes: $5DD5 sets it to $D8 and $5E0A steps it on when the row's low byte carries","note":"inside the item at $5DEA","x":[24023,24074]},{"a":24045,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":24047,"t":"code","b":[141,233,93],"m":"sta","oa":24041,"o":"draw_panel_colour"},{"a":24050,"t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":24052,"t":"code","b":[232],"m":"inx"},{"a":24053,"t":"code","b":[224,10],"m":"cpx","o":"#$0A"},{"a":24055,"t":"code","b":[208,236],"m":"bne","oa":24037,"o":"b_5DE5"},{"a":24057,"t":"code","b":[173,230,93],"m":"lda","oa":24038,"o":"draw_panel_screen_lo"},{"a":24060,"t":"code","b":[24],"m":"clc"},{"a":24061,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":24063,"t":"code","b":[141,230,93],"m":"sta","oa":24038,"o":"draw_panel_screen_lo"},{"a":24066,"t":"code","b":[141,235,93],"m":"sta","oa":24043,"o":"draw_panel_colour_lo"},{"a":24069,"t":"code","b":[144,6],"m":"bcc","oa":24077,"o":"b_5E0D"},{"a":24071,"t":"code","b":[238,231,93],"m":"inc","oa":24039,"o":"draw_panel_screen_hi"},{"a":24074,"t":"code","b":[238,236,93],"m":"inc","oa":24044,"o":"draw_panel_colour_hi"},{"a":24077,"l":"b_5E0D","t":"code","b":[200],"m":"iny","x":[24069]},{"a":24078,"t":"code","b":[192,21],"m":"cpy","o":"#$15"},{"a":24080,"t":"code","b":[208,202],"m":"bne","oa":24028,"o":"b_5DDC"},{"a":24082,"t":"code","b":[162,12],"m":"ldx","o":"#$0C"},{"a":24084,"t":"code","b":[142,69,4],"m":"stx","oa":1093,"o":"f_0445"},{"a":24087,"t":"code","b":[232],"m":"inx"},{"a":24088,"t":"code","b":[142,78,4],"m":"stx","oa":1102,"o":"a_044E"},{"a":24091,"t":"code","b":[232],"m":"inx"},{"a":24092,"t":"code","b":[142,101,7],"m":"stx","oa":1893,"o":"a_0765"},{"a":24095,"t":"code","b":[232],"m":"inx"},{"a":24096,"t":"code","b":[142,110,7],"m":"stx","oa":1902,"o":"a_076E"},{"a":24099,"t":"code","b":[162,7],"m":"ldx","o":"#$07"},{"a":24101,"l":"b_5E25","t":"code","b":[169,10],"m":"lda","o":"#$0A","x":[24107]},{"a":24103,"t":"code","b":[157,102,7],"m":"sta","oa":1894,"o":"f_0766,x"},{"a":24106,"t":"code","b":[202],"m":"dex"},{"a":24107,"t":"code","b":[16,248],"m":"bpl","oa":24101,"o":"b_5E25"},{"a":24109,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":24111,"t":"code","b":[141,69,216],"m":"sta","o":"$D845"},{"a":24114,"t":"code","b":[141,101,219],"m":"sta","o":"$DB65"},{"a":24117,"t":"code","b":[170],"m":"tax"},{"a":24118,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":24120,"l":"b_5E38","t":"code","b":[157,102,219],"m":"sta","o":"$DB66,x","x":[24124]},{"a":24123,"t":"code","b":[202],"m":"dex"},{"a":24124,"t":"code","b":[16,250],"m":"bpl","oa":24120,"o":"b_5E38"},{"a":24126,"t":"code","b":[169,46],"m":"lda","o":"#$2E"},{"a":24128,"t":"code","b":[141,190,4],"m":"sta","oa":1214,"o":"a_04BE"},{"a":24131,"t":"code","b":[169,47],"m":"lda","o":"#$2F"},{"a":24133,"t":"code","b":[141,191,4],"m":"sta","oa":1215,"o":"a_04BF"},{"a":24136,"t":"code","b":[169,116],"m":"lda","o":"#$74"},{"a":24138,"t":"code","b":[141,192,4],"m":"sta","oa":1216,"o":"a_04C0"},{"a":24141,"t":"code","b":[169,45],"m":"lda","o":"#$2D"},{"a":24143,"t":"code","b":[141,193,4],"m":"sta","oa":1217,"o":"a_04C1"},{"a":24146,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":24148,"t":"code","b":[141,14,5],"m":"sta","oa":1294,"o":"a_050E"},{"a":24151,"t":"code","b":[169,36],"m":"lda","o":"#$24"},{"a":24153,"t":"code","b":[141,15,5],"m":"sta","oa":1295,"o":"a_050F"},{"a":24156,"t":"code","b":[141,16,5],"m":"sta","oa":1296,"o":"a_0510"},{"a":24159,"t":"code","b":[169,37],"m":"lda","o":"#$25"},{"a":24161,"t":"code","b":[141,17,5],"m":"sta","oa":1297,"o":"a_0511"},{"a":24164,"t":"code","b":[169,38],"m":"lda","o":"#$26"},{"a":24166,"t":"code","b":[141,94,5],"m":"sta","oa":1374,"o":"a_055E"},{"a":24169,"t":"code","b":[169,39],"m":"lda","o":"#$27"},{"a":24171,"t":"code","b":[141,95,5],"m":"sta","oa":1375,"o":"a_055F"},{"a":24174,"t":"code","b":[169,44],"m":"lda","o":"#$2C"},{"a":24176,"t":"code","b":[141,96,5],"m":"sta","oa":1376,"o":"a_0560"},{"a":24179,"t":"code","b":[169,45],"m":"lda","o":"#$2D"},{"a":24181,"t":"code","b":[141,97,5],"m":"sta","oa":1377,"o":"a_0561"},{"a":24184,"t":"code","b":[162,5],"m":"ldx","o":"#$05"},{"a":24186,"l":"b_5E7A","t":"code","b":[169,15],"m":"lda","o":"#$0F","x":[24197]},{"a":24188,"t":"code","b":[157,175,217],"m":"sta","o":"$D9AF,x"},{"a":24191,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":24193,"t":"code","b":[157,175,5],"m":"sta","oa":1455,"o":"f_05AF,x"},{"a":24196,"t":"code","b":[202],"m":"dex"},{"a":24197,"t":"code","b":[16,243],"m":"bpl","oa":24186,"o":"b_5E7A"},{"a":24199,"t":"code","b":[141,156,4],"m":"sta","oa":1180,"o":"a_049C"},{"a":24202,"t":"code","b":[141,157,4],"m":"sta","oa":1181,"o":"a_049D"},{"a":24205,"t":"code","b":[141,236,4],"m":"sta","oa":1260,"o":"a_04EC"},{"a":24208,"t":"code","b":[141,237,4],"m":"sta","oa":1261,"o":"a_04ED"},{"a":24211,"t":"code","b":[141,60,5],"m":"sta","oa":1340,"o":"a_053C"},{"a":24214,"t":"code","b":[141,61,5],"m":"sta","oa":1341,"o":"a_053D"},{"a":24217,"t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":24219,"t":"code","b":[141,156,216],"m":"sta","o":"$D89C"},{"a":24222,"t":"code","b":[141,157,216],"m":"sta","o":"$D89D"},{"a":24225,"t":"code","b":[141,158,216],"m":"sta","o":"$D89E"},{"a":24228,"t":"code","b":[141,236,216],"m":"sta","o":"$D8EC"},{"a":24231,"t":"code","b":[141,237,216],"m":"sta","o":"$D8ED"},{"a":24234,"t":"code","b":[141,238,216],"m":"sta","o":"$D8EE"},{"a":24237,"t":"code","b":[141,60,217],"m":"sta","o":"$D93C"},{"a":24240,"t":"code","b":[141,61,217],"m":"sta","o":"$D93D"},{"a":24243,"t":"code","b":[141,62,217],"m":"sta","o":"$D93E"},{"a":24246,"t":"code","b":[141,142,217],"m":"sta","o":"$D98E"},{"a":24249,"t":"code","b":[141,198,216],"m":"sta","o":"$D8C6"},{"a":24252,"t":"code","b":[141,22,217],"m":"sta","o":"$D916"},{"a":24255,"t":"code","b":[141,102,217],"m":"sta","o":"$D966"},{"a":24258,"t":"code","b":[141,221,217],"m":"sta","o":"$D9DD"},{"a":24261,"t":"code","b":[169,117],"m":"lda","o":"#$75"},{"a":24263,"t":"code","b":[141,158,4],"m":"sta","oa":1182,"o":"a_049E"},{"a":24266,"t":"code","b":[141,238,4],"m":"sta","oa":1262,"o":"a_04EE"},{"a":24269,"t":"code","b":[141,62,5],"m":"sta","oa":1342,"o":"a_053E"},{"a":24272,"t":"code","b":[141,181,5],"m":"sta","oa":1461,"o":"a_05B5"},{"a":24275,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":24277,"t":"code","b":[141,198,4],"m":"sta","oa":1222,"o":"a_04C6"},{"a":24280,"t":"code","b":[141,22,5],"m":"sta","oa":1302,"o":"a_0516"},{"a":24283,"t":"code","b":[141,102,5],"m":"sta","oa":1382,"o":"a_0566"},{"a":24286,"t":"code","b":[141,221,5],"m":"sta","oa":1501,"o":"a_05DD"},{"a":24289,"t":"code","b":[96],"m":"rts"},{"a":24290,"l":"place_player_at_start","c":"puts the player where the mission starts. Coming out of the lift onto a new floor he is placed at the lift's own square, with the room pointer at $C580; otherwise he starts in the storage room the briefing describes, with the room pointer at $C5B8 and the room's offset in $FE and $FF.","t":"code","b":[173,17,64],"m":"lda","oa":16401,"o":"new_mission_start","x":[16645]},{"a":24293,"t":"code","b":[208,32],"m":"bne","oa":24327,"o":"b_5F07"},{"a":24295,"t":"code","b":[173,110,66],"m":"lda","oa":17006,"o":"mission_in_progress"},{"a":24298,"t":"code","b":[240,27],"m":"beq","oa":24327,"o":"b_5F07"},{"a":24300,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":24302,"t":"code","b":[133,250],"m":"sta","oa":250,"o":"room_lo"},{"a":24304,"t":"code","b":[169,197],"m":"lda","o":"#$C5"},{"a":24306,"t":"code","b":[133,251],"m":"sta","oa":251,"o":"room_hi"},{"a":24308,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":24310,"t":"code","b":[133,254],"m":"sta","oa":254,"o":"room_offset_x"},{"a":24312,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":24314,"t":"code","b":[133,255],"m":"sta","oa":255,"o":"room_offset_y"},{"a":24316,"t":"code","b":[169,160],"m":"lda","o":"#$A0"},{"a":24318,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":24321,"t":"code","b":[169,114],"m":"lda","o":"#$72"},{"a":24323,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":24326,"t":"code","b":[96],"m":"rts"},{"a":24327,"l":"b_5F07","t":"code","b":[169,184],"m":"lda","o":"#$B8","x":[24293,24298]},{"a":24329,"t":"code","b":[133,250],"m":"sta","oa":250,"o":"room_lo"},{"a":24331,"t":"code","b":[169,197],"m":"lda","o":"#$C5"},{"a":24333,"t":"code","b":[133,251],"m":"sta","oa":251,"o":"room_hi"},{"a":24335,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":24337,"t":"code","b":[133,254],"m":"sta","oa":254,"o":"room_offset_x"},{"a":24339,"t":"code","b":[169,107],"m":"lda","o":"#$6B"},{"a":24341,"t":"code","b":[133,255],"m":"sta","oa":255,"o":"room_offset_y"},{"a":24343,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":24345,"t":"code","b":[141,223,2],"m":"sta","oa":735,"o":"player_x"},{"a":24348,"t":"code","b":[169,162],"m":"lda","o":"#$A2"},{"a":24350,"t":"code","b":[141,224,2],"m":"sta","oa":736,"o":"player_y"},{"a":24353,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":24355,"t":"code","b":[141,17,64],"m":"sta","oa":16401,"o":"new_mission_start"},{"a":24358,"t":"code","b":[96],"m":"rts"},{"a":24359,"l":"mission_done_check","c":"asks whether the mission's job is done, and it is the routine that ends a mission. The test is the tile just below the player's square in the grid's third column ($5C42), which must read $E4; $02E7 keeps it so the test acts once for each arrival rather than on every pass. On the demolition mission, which is the one with no prisoner ($4010 = $FF), all four floors' charges must have been armed, and then it says \"THE CASTLE IS NOW DESTROYED.\" and asks the main loop for $4A5C. On a rescue mission the prisoner must be on this floor ($4010) and close by ($02E8 clear), and then it says \"WELL DONE.....YOU HAVE RESCUED A PRISONER.\" and asks for $49EC. With the job not done it says \"YOUR MISSION IS NOT YET COMPLETE !\" when the message line is idle, and nothing else happens. Tile $E4 is the way out: it is found only on the ground floor (floor 1), a gap of nineteen in the outer wall on the map's last row ($CFBC to $CFCE). All three outcomes were seen in the emulator with $E4 written under the player (work/t_e4_ground.py).","t":"code","b":[173,66,92],"m":"lda","oa":23618,"o":"tile_grid_row6_c","x":[19250]},{"a":24362,"t":"code","b":[201,228],"m":"cmp","o":"#$E4"},{"a":24364,"t":"code","b":[240,4],"m":"beq","oa":24370,"o":"b_5F32"},{"a":24366,"t":"code","b":[141,231,2],"m":"sta","oa":743,"o":"last_tile_under_player"},{"a":24369,"t":"code","b":[96],"m":"rts"},{"a":24370,"l":"b_5F32","t":"code","b":[173,231,2],"m":"lda","oa":743,"o":"last_tile_under_player","x":[24364]},{"a":24373,"t":"code","b":[201,228],"m":"cmp","o":"#$E4"},{"a":24375,"t":"code","b":[208,1],"m":"bne","oa":24378,"o":"b_5F3A"},{"a":24377,"t":"code","b":[96],"m":"rts"},{"a":24378,"l":"b_5F3A","t":"code","b":[169,228],"m":"lda","o":"#$E4","x":[24375]},{"a":24380,"t":"code","b":[141,231,2],"m":"sta","oa":743,"o":"last_tile_under_player"},{"a":24383,"t":"code","b":[173,16,64],"m":"lda","oa":16400,"o":"prisoner_floor"},{"a":24386,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":24388,"t":"code","b":[240,47],"m":"beq","oa":24437,"o":"b_5F75"},{"a":24390,"t":"code","b":[205,167,2],"m":"cmp","oa":679,"o":"current_floor"},{"a":24393,"t":"code","b":[240,20],"m":"beq","oa":24415,"o":"b_5F5F"},{"a":24395,"l":"b_5F4B","t":"code","b":[173,43,89],"m":"lda","oa":22827,"o":"message_read","x":[24418,24440,24445,24450,24455]},{"a":24398,"t":"code","b":[205,44,89],"m":"cmp","oa":22828,"o":"message_write"},{"a":24401,"t":"code","b":[208,11],"m":"bne","oa":24414,"o":"r_5F5E"},{"a":24403,"t":"code","b":[169,178],"m":"lda","o":"#$B2"},{"a":24405,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24407,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":24409,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24411,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":24414,"l":"r_5F5E","t":"code","b":[96],"m":"rts","x":[24401]},{"a":24415,"l":"b_5F5F","t":"code","b":[173,232,2],"m":"lda","oa":744,"o":"prisoner_free","x":[24393]},{"a":24418,"t":"code","b":[208,231],"m":"bne","oa":24395,"o":"b_5F4B"},{"a":24420,"t":"code","b":[169,213],"m":"lda","o":"#$D5"},{"a":24422,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24424,"t":"code","b":[169,88],"m":"lda","o":"#$58"},{"a":24426,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24428,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":24431,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":24433,"t":"code","b":[141,233,2],"m":"sta","oa":745,"o":"handover_wanted"},{"a":24436,"t":"code","b":[96],"m":"rts"},{"a":24437,"l":"b_5F75","t":"code","b":[173,154,95],"m":"lda","oa":24474,"o":"floor_detonators","x":[24388]},{"a":24440,"t":"code","b":[240,209],"m":"beq","oa":24395,"o":"b_5F4B"},{"a":24442,"t":"code","b":[173,155,95],"m":"lda","oa":24475,"o":"detonator_ground"},{"a":24445,"t":"code","b":[240,204],"m":"beq","oa":24395,"o":"b_5F4B"},{"a":24447,"t":"code","b":[173,156,95],"m":"lda","oa":24476,"o":"detonator_first"},{"a":24450,"t":"code","b":[240,199],"m":"beq","oa":24395,"o":"b_5F4B"},{"a":24452,"t":"code","b":[173,157,95],"m":"lda","oa":24477,"o":"detonator_second"},{"a":24455,"t":"code","b":[240,194],"m":"beq","oa":24395,"o":"b_5F4B"},{"a":24457,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":24459,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24461,"t":"code","b":[169,89],"m":"lda","o":"#$59"},{"a":24463,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24465,"t":"code","b":[32,46,89],"m":"jsr","oa":22830,"o":"print_message"},{"a":24468,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":24470,"t":"code","b":[141,233,2],"m":"sta","oa":745,"o":"handover_wanted"},{"a":24473,"t":"code","b":[96],"m":"rts"},{"a":24474,"l":"floor_detonators","c":"one byte a floor, in the order basement, ground, first, second, set to 1 once that floor's charge has been armed ($5396). The demolition mission can end only when all four are set, and then only when the player reaches tile $E4 ($5F27).","t":"byte","b":[0],"x":[16434,21398,24437,24488]},{"a":24475,"l":"detonator_ground","c":"whether the ground floor's charge has been armed","t":"byte","b":[0],"x":[16437,24442]},{"a":24476,"l":"detonator_first","c":"whether the first floor's charge has been armed","t":"byte","b":[0],"x":[16440,24447]},{"a":24477,"l":"detonator_second","c":"whether the second floor's charge has been armed, the last of the four the demolition mission needs","t":"byte","b":[0],"x":[16443,24452]},{"a":24478,"l":"place_detonator","c":"decides whether this floor's dynamite charge is on the map. On the demolition mission, while the floor's charge has not been armed, it leaves the four tiles the description marked alone, so the charge is there to be shot. On every other mission, and once the charge has been armed, it clears those four tiles, so no charge shows.","t":"code","b":[173,15,64],"m":"lda","oa":16399,"o":"mission_chosen","x":[16527]},{"a":24481,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":24483,"t":"code","b":[208,9],"m":"bne","oa":24494,"o":"b_5FAE"},{"a":24485,"t":"code","b":[174,167,2],"m":"ldx","oa":679,"o":"current_floor"},{"a":24488,"t":"code","b":[189,154,95],"m":"lda","oa":24474,"o":"floor_detonators,x"},{"a":24491,"t":"code","b":[208,1],"m":"bne","oa":24494,"o":"b_5FAE"},{"a":24493,"t":"code","b":[96],"m":"rts"},{"a":24494,"l":"b_5FAE","t":"code","b":[173,234,2],"m":"lda","oa":746,"o":"detonator_place_lo","x":[24483,24491]},{"a":24497,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24499,"t":"code","b":[173,235,2],"m":"lda","oa":747,"o":"detonator_place_hi"},{"a":24502,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24504,"t":"code","b":[160,129],"m":"ldy","o":"#$81"},{"a":24506,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":24508,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":24510,"t":"code","b":[200],"m":"iny"},{"a":24511,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":24513,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":24515,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":24517,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":24519,"t":"code","b":[200],"m":"iny"},{"a":24520,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":24522,"t":"code","b":[96],"m":"rts"},{"a":24523,"l":"scan_space","c":"the game's own one-key scan: it drives keyboard row 7 and reads column 4, which is SPACE, and leaves $10 in $C5 while the key is down and 0 when it is up. The game keeps its own flag in the byte the KERNAL uses for the key it last saw, and nothing else on the keyboard is read.","t":"code","b":[169,127],"m":"lda","o":"#$7F","x":[19170]},{"a":24525,"t":"code","b":[141,0,220],"m":"sta","o":"cia1_port_a"},{"a":24528,"t":"code","b":[173,1,220],"m":"lda","o":"cia1_port_b"},{"a":24531,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":24533,"t":"code","b":[73,16],"m":"eor","o":"#$10"},{"a":24535,"t":"code","b":[133,197],"m":"sta","oa":197,"o":"space_down"},{"a":24537,"t":"code","b":[96],"m":"rts"},{"a":24538,"l":"short_delay","c":"a counted delay of about 1.3 seconds (1,302,037 cycles, more with interrupts), used between the screens that end a mission","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[18688,18740,18743,18980,19071]},{"a":24540,"l":"b_5FDC","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[24553]},{"a":24542,"l":"b_5FDE","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[24550]},{"a":24544,"l":"b_5FE0","t":"code","b":[56],"m":"sec","x":[24547]},{"a":24545,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":24547,"t":"code","b":[208,251],"m":"bne","oa":24544,"o":"b_5FE0"},{"a":24549,"t":"code","b":[136],"m":"dey"},{"a":24550,"t":"code","b":[208,246],"m":"bne","oa":24542,"o":"b_5FDE"},{"a":24552,"t":"code","b":[202],"m":"dex"},{"a":24553,"t":"code","b":[208,241],"m":"bne","oa":24540,"o":"b_5FDC"},{"a":24555,"t":"code","b":[96],"m":"rts"},{"a":24556,"l":"unreached_after_delay","c":"the bytes after the short delay routine, which nothing reaches","t":"byte","b":[1,208,251,136,208,246,202,208]},{"a":24564,"t":"byte","b":[241,96,17,208,208,254,5,255]},{"a":24572,"t":"byte","b":[61,255,23,255]},{"a":24576,"l":"go_figures_turn","c":"jump stub into the figures' turn at $6044, which $5B1B calls while the player is stamped into the map","t":"code","b":[76,68,96],"m":"jmp","oa":24644,"o":"figures_turn","x":[23413,23419]},{"a":24579,"c":"two slots of the jump table that hold no JMP: the bytes 00 E0 FF and EF 00 60, which nothing calls or reads","t":"byte","b":[0,224,255,239,0,96]},{"a":24585,"l":"go_sound_init","c":"jump stub into the sound set-up at $63B7","t":"code","b":[76,183,99],"m":"jmp","oa":25527,"o":"sound_init","x":[16934]},{"a":24588,"l":"go_sound_tick","c":"jump stub into the sound's own frame at $63E6, called from the interrupt","t":"code","b":[76,230,99],"m":"jmp","oa":25574,"o":"sound_tick","x":[19289]},{"a":24591,"l":"go_build_random_table","c":"jump stub into the random-table builder at $67CA; nothing calls it, as the sound set-up calls $67CA directly from $63E2","t":"code","b":[76,202,103],"m":"jmp","oa":26570,"o":"build_random_table"},{"a":24594,"l":"go_next_random","c":"jump stub into $67F3, which hands back the next byte of the random table","t":"code","b":[76,243,103],"m":"jmp","oa":26611,"o":"next_random","x":[21912,21919]},{"a":24597,"l":"j_6015","t":"code","b":[76,253,103],"m":"jmp","oa":26621,"o":"j_67FD","x":[21182,21193,21204]},{"a":24600,"l":"go_slide_room_apart","c":"jump stub into $6913, which parts the room on the screen when play stops: at the lift, at the end of the game, when a prisoner has been brought home and when the castle is destroyed","t":"code","b":[76,19,105],"m":"jmp","oa":26899,"o":"slide_room_apart","x":[18666,18728,18988,19079]},{"a":24603,"l":"go_build_floor","c":"jump stub into $6A4B, which builds a floor of the castle from its description","t":"code","b":[76,75,106],"m":"jmp","oa":27211,"o":"build_floor","x":[16524]},{"a":24606,"l":"go_prisoner_turn","c":"jump stub into the prisoner's turn at $6C3B","t":"code","b":[76,59,108],"m":"jmp","oa":27707,"o":"prisoner_turn","x":[23410]},{"a":24609,"l":"j_6021","t":"code","b":[76,33,110],"m":"jmp","oa":28193,"o":"shot_hit_prisoner","x":[21171]},{"a":24612,"l":"go_draw_prisoner","c":"jump stub into $6BD8, which redraws the prisoner: it copies his next frame into the character set ($6E5A), empties the sixteen tiles where he was and puts his sixteen tiles on the map where he is now","t":"code","b":[76,216,107],"m":"jmp","oa":27608,"o":"j_6BD8","x":[16827]},{"a":24615,"l":"prisoner_tile_x","c":"where the prisoner is on the floor, across, counted in tiles","t":"byte","b":[0],"x":[16692,16759,27729,28007,28062,28105]},{"a":24616,"l":"prisoner_tile_y","c":"where the prisoner is on the floor, down, counted in tiles","t":"byte","b":[0],"x":[16697,16768,27744,27884,27939,28138]},{"a":24617,"l":"prisoner_place_lo","c":"where in the castle map the prisoner is now, low byte","t":"byte","b":[0],"x":[16702,16729,27650,27770,27872,27887,27893,27927,27942,27948,27995,28010,28050,28065]},{"a":24618,"l":"prisoner_place_hi","c":"where in the castle map the prisoner is now, high byte","t":"byte","b":[0],"x":[16710,16738,27655,27775,27878,27898,27933,27953,28001,28056]},{"a":24619,"l":"prisoner_state","c":"the prisoner's direction in its lowest two bits (0 up, 1 down, 2 left, 3 right), in bit 3 the axis $6DB1 steers him on next (clear across, set up and down), which a blocked step up or down clears and a blocked step left or right sets, and in bits 4 to 7 a count that a warning shot sets to $F and $6DB1 takes one from a call, keeping his direction until it runs out","t":"byte","b":[0],"x":[16718,27780,27905,27910,27960,27965,28017,28022,28072,28077,28081,28088,28094,28098,28116,28123,28127,28134,28149,28156,28160,28167,28171,28176,28182,28187,28193,28208,28218,28228,28236,28245,28270]},{"a":24620,"l":"prisoner_last_lo","c":"where the prisoner was before this step, low byte, so the tiles he left can be emptied","t":"byte","b":[0],"x":[16705,16732,27611,27875,27930,27998,28053]},{"a":24621,"l":"prisoner_last_hi","c":"where the prisoner was before this step, high byte","t":"byte","b":[0],"x":[16713,16741,27616,27881,27936,28004,28059]},{"a":24622,"l":"prisoner_frame","c":"counts the prisoner's redraws through $6BD8: each step he takes, and the drawing at $41BB when a floor with him on it is set up; bit 1 picks which of the two frames of the walk is drawn","t":"byte","b":[0],"x":[28250,28253]},{"a":24623,"l":"prisoner_tile_row1","c":"the first row of the four tiles by four the prisoner is drawn from, which the one loop at $6C0C writes whichever way he is facing","t":"byte","b":[212,213,214,215],"x":[27664]},{"a":24627,"l":"prisoner_tile_row2","c":"the second row of the prisoner's block of tiles","t":"byte","b":[216,217,218,219],"x":[27687]},{"a":24631,"l":"prisoner_tile_row3","c":"the third row of the prisoner's block of tiles","t":"byte","b":[220,221,222,223],"x":[27671]},{"a":24635,"l":"prisoner_tile_row4","c":"the fourth row of the prisoner's block of tiles. The direction he faces changes the shapes those tiles hold, which $6E5A copies over $26A0, and never the codes.","t":"byte","b":[224,225,226,227],"x":[27680]},{"a":24639,"l":"cheat_on","c":"set while the cheat is on. It stops the player taking hits at $63A6 and fills the ammunition back to 99 at $5BB4 each time the player's stamp ($5B1B) runs, and the mission state ($5BBA), each frame while $02D3 is 0 and the hits are under $50, keeps a door key in hand at $5BD1.","t":"byte","b":[0],"x":[23471,23500,25510,28492,28498]},{"a":24640,"l":"go_shot_hit_figure","c":"jump stub into $6EAA, which works out which figure a shot hit","t":"code","b":[76,170,110],"m":"jmp","oa":28330,"o":"shot_hit_figure","x":[21158]},{"a":24643,"l":"prisoner_announced","c":"set once \"THE PRISONER IS VERY CLOSE.\" has been said, so it is said once a mission; cleared at the castle's start ($403E) and when a prisoner is brought home ($49FF)","t":"byte","b":[0],"x":[16446,18943,27828,27846]},{"a":24644,"l":"figures_turn","c":"the figures' turn, run with the player's stamp ($5B1B) in two frames of every three. $02CC counts its calls: on three calls in four it carries on through the list the map builder left in $8100 to $8500 from the figure in $02CE, and does nothing once that is back at 0; on the fourth, when $02CC reads 3, it sets $02CC and $02CE to 0 and starts the list again from the first figure, whether or not the walk through it had finished. It gives every figure within reach of the room on screen (its corner from ten tiles left of the room to ten right of it, and from ten above to nine below) a step through $612A, until seven figures have been counted; a call also stops at figures $40 and $80, and whenever A holds $C0 at $60A7, because the CMP #$C0 there tests A (the count in $02CD, or $02F7, whichever was loaded last) rather than X; the end of the list ($02CF) puts $02CE back to 0. Out of reach, the first knocked-down figure the walk meets is tried, once each time the walk reaches the end of the list, as $02F7 is set by the try and cleared only there and at the mission start ($404F); the try counts towards the seven. The figure stands up again when the sixteen tiles $60DB to $610C read are all empty. Those are its first, third, fourth and second rows when the low byte of its place is $80 or below, but from $81 to $FF the BNE at $60F6 tests the sum rather than the carry, and the four rows read are its first, third and second and the row above it. A figure moves only into four tiles that are all empty; a tile of $55 is the player, and walking into him costs a hit.","t":"code","b":[173,204,2],"m":"lda","oa":716,"o":"figures_phase","x":[24576]},{"a":24647,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":24649,"t":"code","b":[240,9],"m":"beq","oa":24660,"o":"b_6054"},{"a":24651,"t":"code","b":[238,204,2],"m":"inc","oa":716,"o":"figures_phase"},{"a":24654,"t":"code","b":[173,206,2],"m":"lda","oa":718,"o":"figure_turn"},{"a":24657,"t":"code","b":[208,9],"m":"bne","oa":24668,"o":"b_605C"},{"a":24659,"t":"code","b":[96],"m":"rts"},{"a":24660,"l":"b_6054","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[24649]},{"a":24662,"t":"code","b":[141,206,2],"m":"sta","oa":718,"o":"figure_turn"},{"a":24665,"t":"code","b":[141,204,2],"m":"sta","oa":716,"o":"figures_phase"},{"a":24668,"l":"b_605C","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[24657]},{"a":24670,"t":"code","b":[141,205,2],"m":"sta","oa":717,"o":"figures_moved"},{"a":24673,"t":"code","b":[174,206,2],"m":"ldx","oa":718,"o":"figure_turn"},{"a":24676,"l":"b_6064","t":"code","b":[189,0,129],"m":"lda","oa":33024,"o":"figure_x,x","x":[24750]},{"a":24679,"t":"code","b":[24],"m":"clc"},{"a":24680,"t":"code","b":[105,10],"m":"adc","o":"#$0A"},{"a":24682,"t":"code","b":[56],"m":"sec"},{"a":24683,"t":"code","b":[229,254],"m":"sbc","oa":254,"o":"room_offset_x"},{"a":24685,"t":"code","b":[144,74],"m":"bcc","oa":24761,"o":"b_60B9"},{"a":24687,"t":"code","b":[233,48],"m":"sbc","o":"#$30"},{"a":24689,"t":"code","b":[176,70],"m":"bcs","oa":24761,"o":"b_60B9"},{"a":24691,"t":"code","b":[189,0,130],"m":"lda","oa":33280,"o":"figure_y,x"},{"a":24694,"t":"code","b":[24],"m":"clc"},{"a":24695,"t":"code","b":[105,10],"m":"adc","o":"#$0A"},{"a":24697,"t":"code","b":[56],"m":"sec"},{"a":24698,"t":"code","b":[229,255],"m":"sbc","oa":255,"o":"room_offset_y"},{"a":24700,"t":"code","b":[144,59],"m":"bcc","oa":24761,"o":"b_60B9"},{"a":24702,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":24704,"t":"code","b":[176,55],"m":"bcs","oa":24761,"o":"b_60B9"},{"a":24706,"t":"code","b":[32,42,97],"m":"jsr","oa":24874,"o":"move_figure"},{"a":24709,"l":"j_6085","t":"code","b":[173,205,2],"m":"lda","oa":717,"o":"figures_moved","x":[24871]},{"a":24712,"t":"code","b":[201,7],"m":"cmp","o":"#$07"},{"a":24714,"t":"code","b":[208,18],"m":"bne","oa":24734,"o":"b_609E"},{"a":24716,"t":"code","b":[232],"m":"inx"},{"a":24717,"l":"b_608D","t":"code","b":[142,206,2],"m":"stx","oa":718,"o":"figure_turn","x":[24737,24741,24745]},{"a":24720,"t":"code","b":[236,207,2],"m":"cpx","oa":719,"o":"figure_count"},{"a":24723,"t":"code","b":[208,8],"m":"bne","oa":24733,"o":"r_609D"},{"a":24725,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":24727,"t":"code","b":[141,206,2],"m":"sta","oa":718,"o":"figure_turn"},{"a":24730,"t":"code","b":[141,247,2],"m":"sta","oa":759,"o":"figure_moved_this_pass"},{"a":24733,"l":"r_609D","t":"code","b":[96],"m":"rts","x":[24723]},{"a":24734,"l":"b_609E","t":"code","b":[232],"m":"inx","x":[24714,24768,24776]},{"a":24735,"t":"code","b":[224,64],"m":"cpx","o":"#$40"},{"a":24737,"t":"code","b":[240,234],"m":"beq","oa":24717,"o":"b_608D"},{"a":24739,"t":"code","b":[224,128],"m":"cpx","o":"#$80"},{"a":24741,"t":"code","b":[240,230],"m":"beq","oa":24717,"o":"b_608D"},{"a":24743,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":24745,"t":"code","b":[240,226],"m":"beq","oa":24717,"o":"b_608D"},{"a":24747,"t":"code","b":[236,207,2],"m":"cpx","oa":719,"o":"figure_count"},{"a":24750,"t":"code","b":[208,180],"m":"bne","oa":24676,"o":"b_6064"},{"a":24752,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":24754,"t":"code","b":[141,206,2],"m":"sta","oa":718,"o":"figure_turn"},{"a":24757,"t":"code","b":[141,247,2],"m":"sta","oa":759,"o":"figure_moved_this_pass"},{"a":24760,"t":"code","b":[96],"m":"rts"},{"a":24761,"l":"b_60B9","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[24685,24689,24700,24704]},{"a":24764,"t":"code","b":[41,32],"m":"and","o":"#$20"},{"a":24766,"t":"code","b":[208,3],"m":"bne","oa":24771,"o":"b_60C3"},{"a":24768,"t":"code","b":[76,158,96],"m":"jmp","oa":24734,"o":"b_609E"},{"a":24771,"l":"b_60C3","t":"code","b":[173,247,2],"m":"lda","oa":759,"o":"figure_moved_this_pass","x":[24766]},{"a":24774,"t":"code","b":[240,3],"m":"beq","oa":24779,"o":"b_60CB"},{"a":24776,"t":"code","b":[76,158,96],"m":"jmp","oa":24734,"o":"b_609E"},{"a":24779,"l":"b_60CB","t":"code","b":[238,247,2],"m":"inc","oa":759,"o":"figure_moved_this_pass","x":[24774]},{"a":24782,"t":"code","b":[238,205,2],"m":"inc","oa":717,"o":"figures_moved"},{"a":24785,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":24788,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24790,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":24793,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24795,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":24797,"l":"b_60DD","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[24802]},{"a":24799,"t":"code","b":[208,70],"m":"bne","oa":24871,"o":"b_6127"},{"a":24801,"t":"code","b":[136],"m":"dey"},{"a":24802,"t":"code","b":[16,249],"m":"bpl","oa":24797,"o":"b_60DD"},{"a":24804,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":24806,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":24808,"l":"b_60E8","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[24813]},{"a":24810,"t":"code","b":[208,59],"m":"bne","oa":24871,"o":"b_6127"},{"a":24812,"t":"code","b":[136],"m":"dey"},{"a":24813,"t":"code","b":[16,249],"m":"bpl","oa":24808,"o":"b_60E8"},{"a":24815,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":24817,"t":"code","b":[24],"m":"clc"},{"a":24818,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":24820,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24822,"t":"code","b":[208,2],"m":"bne","oa":24826,"o":"b_60FA"},{"a":24824,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":24826,"l":"b_60FA","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[24822]},{"a":24828,"l":"b_60FC","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[24833]},{"a":24830,"t":"code","b":[208,39],"m":"bne","oa":24871,"o":"b_6127"},{"a":24832,"t":"code","b":[136],"m":"dey"},{"a":24833,"t":"code","b":[16,249],"m":"bpl","oa":24828,"o":"b_60FC"},{"a":24835,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":24837,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":24839,"l":"b_6107","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[24844]},{"a":24841,"t":"code","b":[208,28],"m":"bne","oa":24871,"o":"b_6127"},{"a":24843,"t":"code","b":[136],"m":"dey"},{"a":24844,"t":"code","b":[16,249],"m":"bpl","oa":24839,"o":"b_6107"},{"a":24846,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":24849,"t":"code","b":[41,31],"m":"and","o":"#$1F"},{"a":24851,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":24854,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":24857,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24859,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"figure_from_lo"},{"a":24861,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":24864,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24866,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"figure_from_hi"},{"a":24868,"t":"code","b":[32,132,98],"m":"jsr","oa":25220,"o":"redraw_figure"},{"a":24871,"l":"b_6127","t":"code","b":[76,133,96],"m":"jmp","oa":24709,"o":"j_6085","x":[24799,24810,24830,24841]},{"a":24874,"l":"move_figure","c":"moves one figure a tile. A knocked-down figure (bit 5 of $8500) is left alone. It first turns the figure towards the player ($630B), then steps in the direction the low three bits of its kind byte hold: 1 up, 2 down, 3 left, anything else right. It looks at the four tiles it would step into: all empty and the figure moves, its place in $8300 is written on and it is redrawn ($6284). Otherwise, when the first of them that is not empty is $55, the player, the figure hits him ($639F), and either way bit 3 of its kind byte is cleared when it was going up or down and set when it was going left or right, so that it tries the other axis next. Stepping left, the DEC at $61EC takes the high byte down when the low byte comes out 0 rather than when it wraps, so from a place whose low byte is $01 or $00 the figure looks at, and moves to, a place 256 bytes off.","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[24706]},{"a":24877,"t":"code","b":[41,32],"m":"and","o":"#$20"},{"a":24879,"t":"code","b":[240,1],"m":"beq","oa":24882,"o":"b_6132"},{"a":24881,"t":"code","b":[96],"m":"rts"},{"a":24882,"l":"b_6132","t":"code","b":[238,205,2],"m":"inc","oa":717,"o":"figures_moved","x":[24879]},{"a":24885,"t":"code","b":[32,11,99],"m":"jsr","oa":25355,"o":"figure_turn_to_player"},{"a":24888,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":24891,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24893,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":24896,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":24898,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":24901,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":24903,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":24905,"t":"code","b":[208,3],"m":"bne","oa":24910,"o":"b_614E"},{"a":24907,"t":"code","b":[76,95,97],"m":"jmp","oa":24927,"o":"j_615F"},{"a":24910,"l":"b_614E","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[24905]},{"a":24912,"t":"code","b":[208,3],"m":"bne","oa":24917,"o":"b_6155"},{"a":24914,"t":"code","b":[76,163,97],"m":"jmp","oa":24995,"o":"j_61A3"},{"a":24917,"l":"b_6155","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[24912]},{"a":24919,"t":"code","b":[208,3],"m":"bne","oa":24924,"o":"b_615C"},{"a":24921,"t":"code","b":[76,236,97],"m":"jmp","oa":25068,"o":"j_61EC"},{"a":24924,"l":"b_615C","t":"code","b":[76,56,98],"m":"jmp","oa":25144,"o":"j_6238","x":[24919]},{"a":24927,"l":"j_615F","t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi","x":[24907]},{"a":24929,"t":"code","b":[160,128],"m":"ldy","o":"#$80"},{"a":24931,"l":"b_6163","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[24938]},{"a":24933,"t":"code","b":[208,44],"m":"bne","oa":24979,"o":"b_6193"},{"a":24935,"t":"code","b":[200],"m":"iny"},{"a":24936,"t":"code","b":[192,132],"m":"cpy","o":"#$84"},{"a":24938,"t":"code","b":[208,247],"m":"bne","oa":24931,"o":"b_6163"},{"a":24940,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":24942,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":24944,"t":"code","b":[56],"m":"sec"},{"a":24945,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":24947,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":24949,"t":"code","b":[176,2],"m":"bcs","oa":24953,"o":"b_6179"},{"a":24951,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":24953,"l":"b_6179","t":"code","b":[222,0,130],"m":"dec","oa":33280,"o":"figure_y,x","x":[24949]},{"a":24956,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":24959,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"figure_from_lo"},{"a":24961,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":24964,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"figure_from_hi"},{"a":24966,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":24968,"t":"code","b":[157,0,131],"m":"sta","oa":33536,"o":"figure_place_lo,x"},{"a":24971,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"pointer_hi"},{"a":24973,"t":"code","b":[157,0,132],"m":"sta","oa":33792,"o":"figure_place_hi,x"},{"a":24976,"t":"code","b":[76,132,98],"m":"jmp","oa":25220,"o":"redraw_figure"},{"a":24979,"l":"b_6193","t":"code","b":[201,85],"m":"cmp","o":"#$55","x":[24933]},{"a":24981,"t":"code","b":[208,3],"m":"bne","oa":24986,"o":"b_619A"},{"a":24983,"t":"code","b":[32,159,99],"m":"jsr","oa":25503,"o":"hit_the_player"},{"a":24986,"l":"b_619A","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[24981]},{"a":24989,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":24991,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":24994,"t":"code","b":[96],"m":"rts"},{"a":24995,"l":"j_61A3","t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi","x":[24914]},{"a":24997,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":24999,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":25001,"l":"b_61A9","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[25008]},{"a":25003,"t":"code","b":[208,47],"m":"bne","oa":25052,"o":"b_61DC"},{"a":25005,"t":"code","b":[200],"m":"iny"},{"a":25006,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":25008,"t":"code","b":[208,247],"m":"bne","oa":25001,"o":"b_61A9"},{"a":25010,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":25013,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":25015,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":25017,"t":"code","b":[24],"m":"clc"},{"a":25018,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":25020,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":25022,"t":"code","b":[144,2],"m":"bcc","oa":25026,"o":"b_61C2"},{"a":25024,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":25026,"l":"b_61C2","t":"code","b":[254,0,130],"m":"inc","oa":33280,"o":"figure_y,x","x":[25022]},{"a":25029,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":25032,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"figure_from_lo"},{"a":25034,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":25037,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"figure_from_hi"},{"a":25039,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":25041,"t":"code","b":[157,0,131],"m":"sta","oa":33536,"o":"figure_place_lo,x"},{"a":25044,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"pointer_hi"},{"a":25046,"t":"code","b":[157,0,132],"m":"sta","oa":33792,"o":"figure_place_hi,x"},{"a":25049,"t":"code","b":[76,132,98],"m":"jmp","oa":25220,"o":"redraw_figure"},{"a":25052,"l":"b_61DC","t":"code","b":[201,85],"m":"cmp","o":"#$55","x":[25003]},{"a":25054,"t":"code","b":[208,3],"m":"bne","oa":25059,"o":"b_61E3"},{"a":25056,"t":"code","b":[32,159,99],"m":"jsr","oa":25503,"o":"hit_the_player"},{"a":25059,"l":"b_61E3","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25054]},{"a":25062,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":25064,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25067,"t":"code","b":[96],"m":"rts"},{"a":25068,"l":"j_61EC","t":"code","b":[198,252],"m":"dec","oa":252,"o":"pointer_lo","x":[24921]},{"a":25070,"t":"code","b":[208,2],"m":"bne","oa":25074,"o":"b_61F2"},{"a":25072,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":25074,"l":"b_61F2","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[25070]},{"a":25076,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25078,"t":"code","b":[208,48],"m":"bne","oa":25128,"o":"b_6228"},{"a":25080,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":25082,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25084,"t":"code","b":[208,42],"m":"bne","oa":25128,"o":"b_6228"},{"a":25086,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":25088,"t":"code","b":[160,128],"m":"ldy","o":"#$80"},{"a":25090,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25092,"t":"code","b":[208,34],"m":"bne","oa":25128,"o":"b_6228"},{"a":25094,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":25096,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25098,"t":"code","b":[208,28],"m":"bne","oa":25128,"o":"b_6228"},{"a":25100,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":25102,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":25105,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"figure_from_lo"},{"a":25107,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":25110,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"figure_from_hi"},{"a":25112,"t":"code","b":[222,0,129],"m":"dec","oa":33024,"o":"figure_x,x"},{"a":25115,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":25117,"t":"code","b":[157,0,131],"m":"sta","oa":33536,"o":"figure_place_lo,x"},{"a":25120,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"pointer_hi"},{"a":25122,"t":"code","b":[157,0,132],"m":"sta","oa":33792,"o":"figure_place_hi,x"},{"a":25125,"t":"code","b":[76,132,98],"m":"jmp","oa":25220,"o":"redraw_figure"},{"a":25128,"l":"b_6228","t":"code","b":[201,85],"m":"cmp","o":"#$55","x":[25078,25084,25092,25098]},{"a":25130,"t":"code","b":[208,3],"m":"bne","oa":25135,"o":"b_622F"},{"a":25132,"t":"code","b":[32,159,99],"m":"jsr","oa":25503,"o":"hit_the_player"},{"a":25135,"l":"b_622F","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25130]},{"a":25138,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":25140,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25143,"t":"code","b":[96],"m":"rts"},{"a":25144,"l":"j_6238","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[24924]},{"a":25146,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25148,"t":"code","b":[208,54],"m":"bne","oa":25204,"o":"b_6274"},{"a":25150,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":25152,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25154,"t":"code","b":[208,48],"m":"bne","oa":25204,"o":"b_6274"},{"a":25156,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":25158,"t":"code","b":[160,132],"m":"ldy","o":"#$84"},{"a":25160,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25162,"t":"code","b":[208,40],"m":"bne","oa":25204,"o":"b_6274"},{"a":25164,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":25166,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":25168,"t":"code","b":[208,34],"m":"bne","oa":25204,"o":"b_6274"},{"a":25170,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":25172,"t":"code","b":[254,0,129],"m":"inc","oa":33024,"o":"figure_x,x"},{"a":25175,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":25178,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"figure_from_lo"},{"a":25180,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":25183,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"figure_from_hi"},{"a":25185,"t":"code","b":[230,252],"m":"inc","oa":252,"o":"pointer_lo"},{"a":25187,"t":"code","b":[208,2],"m":"bne","oa":25191,"o":"b_6267"},{"a":25189,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":25191,"l":"b_6267","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[25187]},{"a":25193,"t":"code","b":[157,0,131],"m":"sta","oa":33536,"o":"figure_place_lo,x"},{"a":25196,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"pointer_hi"},{"a":25198,"t":"code","b":[157,0,132],"m":"sta","oa":33792,"o":"figure_place_hi,x"},{"a":25201,"t":"code","b":[76,132,98],"m":"jmp","oa":25220,"o":"redraw_figure"},{"a":25204,"l":"b_6274","t":"code","b":[201,85],"m":"cmp","o":"#$55","x":[25148,25154,25162,25168]},{"a":25206,"t":"code","b":[208,3],"m":"bne","oa":25211,"o":"b_627B"},{"a":25208,"t":"code","b":[32,159,99],"m":"jsr","oa":25503,"o":"hit_the_player"},{"a":25211,"l":"b_627B","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25206]},{"a":25214,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":25216,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25219,"t":"code","b":[96],"m":"rts"},{"a":25220,"l":"redraw_figure","c":"rubs a figure out of the sixteen tiles it has just left ($08/$09), four across and four down, and draws it into the sixteen at its place now ($FC/$FD), from the drawing $636A picks for its direction. It flips bit 4 of the kind byte each time and uses the drawing $10 further on when the bit is set, so the figure walks. $62B9 to $62D9 rewrite the operands of the drawing loop at $62E2, as the room drawer's are.","t":"code","b":[32,106,99],"m":"jsr","oa":25450,"o":"figure_drawing","x":[24868,24976,25049,25125,25201]},{"a":25223,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":25226,"t":"code","b":[73,16],"m":"eor","o":"#$10"},{"a":25228,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25231,"t":"code","b":[41,16],"m":"and","o":"#$10"},{"a":25233,"t":"code","b":[240,7],"m":"beq","oa":25242,"o":"b_629A"},{"a":25235,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"figure_shape_lo"},{"a":25237,"t":"code","b":[24],"m":"clc"},{"a":25238,"t":"code","b":[105,16],"m":"adc","o":"#$10"},{"a":25240,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"figure_shape_lo"},{"a":25242,"l":"b_629A","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[25233]},{"a":25244,"l":"b_629C","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25271]},{"a":25246,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(figure_from_lo),y"},{"a":25248,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"figure_from_hi"},{"a":25250,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(figure_from_lo),y"},{"a":25252,"t":"code","b":[152],"m":"tya"},{"a":25253,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":25255,"t":"code","b":[168],"m":"tay"},{"a":25256,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":25258,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(figure_from_lo),y"},{"a":25260,"t":"code","b":[198,9],"m":"dec","oa":9,"o":"figure_from_hi"},{"a":25262,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(figure_from_lo),y"},{"a":25264,"t":"code","b":[152],"m":"tya"},{"a":25265,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":25267,"t":"code","b":[168],"m":"tay"},{"a":25268,"t":"code","b":[200],"m":"iny"},{"a":25269,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":25271,"t":"code","b":[208,227],"m":"bne","oa":25244,"o":"b_629C"},{"a":25273,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"figure_shape_hi"},{"a":25275,"t":"code","b":[141,228,98],"m":"sta","oa":25316,"o":"redraw_figure_op1_hi"},{"a":25278,"t":"code","b":[141,251,98],"m":"sta","oa":25339,"o":"redraw_figure_op4_hi"},{"a":25281,"t":"code","b":[141,235,98],"m":"sta","oa":25323,"o":"redraw_figure_op2_hi"},{"a":25284,"t":"code","b":[141,244,98],"m":"sta","oa":25332,"o":"redraw_figure_op3_hi"},{"a":25287,"t":"code","b":[24],"m":"clc"},{"a":25288,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"figure_shape_lo"},{"a":25290,"t":"code","b":[141,227,98],"m":"sta","oa":25315,"o":"redraw_figure_op1"},{"a":25293,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":25295,"t":"code","b":[141,250,98],"m":"sta","oa":25338,"o":"redraw_figure_op4"},{"a":25298,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":25300,"t":"code","b":[141,234,98],"m":"sta","oa":25322,"o":"redraw_figure_op2"},{"a":25303,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":25305,"t":"code","b":[141,243,98],"m":"sta","oa":25331,"o":"redraw_figure_op3"},{"a":25308,"t":"code","b":[138],"m":"txa"},{"a":25309,"t":"code","b":[72],"m":"pha"},{"a":25310,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":25312,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":25314,"l":"b_62E2","t":"code","b":[189,0,115],"m":"lda","oa":29440,"o":"figure_drawings,x","x":[25350]},{"a":25315,"t":"note","l":"redraw_figure_op1","c":"the low byte of the address the first load of the drawing loop reads from, the top row of the figure's drawing; $62CA writes it from $0A","note":"inside the item at $62E2","x":[25290]},{"a":25316,"t":"note","l":"redraw_figure_op1_hi","c":"the high byte of the address the first load reads from, which $62BB writes from $0B","note":"inside the item at $62E2","x":[25275]},{"a":25317,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":25319,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":25321,"t":"code","b":[189,0,115],"m":"lda","oa":29440,"o":"figure_drawings,x"},{"a":25322,"t":"note","l":"redraw_figure_op2","c":"the low byte of the second operand $6284 rewrites","note":"inside the item at $62E9","x":[25300]},{"a":25323,"t":"note","l":"redraw_figure_op2_hi","c":"the high byte of the second load's address, written at $62C1. That load reads the drawing eight bytes on, its third row, which goes two tile rows down.","note":"inside the item at $62E9","x":[25281]},{"a":25324,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":25326,"t":"code","b":[152],"m":"tya"},{"a":25327,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":25329,"t":"code","b":[168],"m":"tay"},{"a":25330,"t":"code","b":[189,0,115],"m":"lda","oa":29440,"o":"figure_drawings,x"},{"a":25331,"t":"note","l":"redraw_figure_op3","c":"the low byte of the third operand $6284 rewrites","note":"inside the item at $62F2","x":[25305]},{"a":25332,"t":"note","l":"redraw_figure_op3_hi","c":"the high byte of the third load's address, written at $62C4. That load reads the drawing twelve bytes on, its fourth row, which goes three tile rows down.","note":"inside the item at $62F2","x":[25284]},{"a":25333,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":25335,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":25337,"t":"code","b":[189,0,115],"m":"lda","oa":29440,"o":"figure_drawings,x"},{"a":25338,"t":"note","l":"redraw_figure_op4","c":"the low byte of the fourth operand $6284 rewrites","note":"inside the item at $62F9","x":[25295]},{"a":25339,"t":"note","l":"redraw_figure_op4_hi","c":"the high byte of the fourth load's address, written at $62BE. That load reads the drawing four bytes on, its second row, which goes one tile row down.","note":"inside the item at $62F9","x":[25278]},{"a":25340,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":25342,"t":"code","b":[152],"m":"tya"},{"a":25343,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":25345,"t":"code","b":[168],"m":"tay"},{"a":25346,"t":"code","b":[232],"m":"inx"},{"a":25347,"t":"code","b":[200],"m":"iny"},{"a":25348,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":25350,"t":"code","b":[208,218],"m":"bne","oa":25314,"o":"b_62E2"},{"a":25352,"t":"code","b":[104],"m":"pla"},{"a":25353,"t":"code","b":[170],"m":"tax"},{"a":25354,"t":"code","b":[96],"m":"rts"},{"a":25355,"l":"figure_turn_to_player","c":"turns a figure towards the player. With bit 3 of its kind byte clear it compares the figure's column ($8100) with the player's ($02CA) and sets the low three bits to 4, right, or 3, left; with bit 3 set it compares rows ($8200, $02CB) and sets 2, down, or 1, up. When the two are level on that axis it tries the other and leaves bit 3 as it was: the column path clears it ($6354) and the row path sets it ($635F), where it already has that value. Were the figure level with the player on both axes, the two paths would send it to each other for good, inside the play interrupt.","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[24885]},{"a":25358,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":25360,"t":"code","b":[208,33],"m":"bne","oa":25395,"o":"b_6333"},{"a":25362,"l":"j_6312","t":"code","b":[189,0,129],"m":"lda","oa":33024,"o":"figure_x,x","x":[25447]},{"a":25365,"t":"code","b":[56],"m":"sec"},{"a":25366,"t":"code","b":[237,202,2],"m":"sbc","oa":714,"o":"player_tile_x"},{"a":25369,"t":"code","b":[240,57],"m":"beq","oa":25428,"o":"b_6354"},{"a":25371,"t":"code","b":[176,11],"m":"bcs","oa":25384,"o":"b_6328"},{"a":25373,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":25376,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":25378,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":25380,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25383,"t":"code","b":[96],"m":"rts"},{"a":25384,"l":"b_6328","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25371]},{"a":25387,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":25389,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":25391,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25394,"t":"code","b":[96],"m":"rts"},{"a":25395,"l":"b_6333","t":"code","b":[189,0,130],"m":"lda","oa":33280,"o":"figure_y,x","x":[25360,25436]},{"a":25398,"t":"code","b":[56],"m":"sec"},{"a":25399,"t":"code","b":[237,203,2],"m":"sbc","oa":715,"o":"player_tile_y"},{"a":25402,"t":"code","b":[240,35],"m":"beq","oa":25439,"o":"b_635F"},{"a":25404,"t":"code","b":[176,11],"m":"bcs","oa":25417,"o":"b_6349"},{"a":25406,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":25409,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":25411,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":25413,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25416,"t":"code","b":[96],"m":"rts"},{"a":25417,"l":"b_6349","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25404]},{"a":25420,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":25422,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":25424,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25427,"t":"code","b":[96],"m":"rts"},{"a":25428,"l":"b_6354","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25369]},{"a":25431,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":25433,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25436,"t":"code","b":[76,51,99],"m":"jmp","oa":25395,"o":"b_6333"},{"a":25439,"l":"b_635F","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25402]},{"a":25442,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":25444,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":25447,"t":"code","b":[76,18,99],"m":"jmp","oa":25362,"o":"j_6312"},{"a":25450,"l":"figure_drawing","c":"points $0A and $0B at the sixteen tile codes a figure is drawn from, by the direction in the low three bits of its kind byte: $7340 for 1 (up), $7300 for 2 (down), $7360 for 3 (left) and $7320 otherwise (right). $6284 adds $10 for the other step of the walk.","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[25220]},{"a":25453,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":25455,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":25457,"t":"code","b":[240,17],"m":"beq","oa":25476,"o":"b_6384"},{"a":25459,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":25461,"t":"code","b":[240,22],"m":"beq","oa":25485,"o":"b_638D"},{"a":25463,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":25465,"t":"code","b":[240,27],"m":"beq","oa":25494,"o":"b_6396"},{"a":25467,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":25469,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"figure_shape_lo"},{"a":25471,"t":"code","b":[169,115],"m":"lda","o":"#$73"},{"a":25473,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"figure_shape_hi"},{"a":25475,"t":"code","b":[96],"m":"rts"},{"a":25476,"l":"b_6384","t":"code","b":[169,64],"m":"lda","o":"#$40","x":[25457]},{"a":25478,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"figure_shape_lo"},{"a":25480,"t":"code","b":[169,115],"m":"lda","o":"#$73"},{"a":25482,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"figure_shape_hi"},{"a":25484,"t":"code","b":[96],"m":"rts"},{"a":25485,"l":"b_638D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25461]},{"a":25487,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"figure_shape_lo"},{"a":25489,"t":"code","b":[169,115],"m":"lda","o":"#$73"},{"a":25491,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"figure_shape_hi"},{"a":25493,"t":"code","b":[96],"m":"rts"},{"a":25494,"l":"b_6396","t":"code","b":[169,96],"m":"lda","o":"#$60","x":[25465]},{"a":25496,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"figure_shape_lo"},{"a":25498,"t":"code","b":[169,115],"m":"lda","o":"#$73"},{"a":25500,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"figure_shape_hi"},{"a":25502,"t":"code","b":[96],"m":"rts"},{"a":25503,"l":"hit_the_player","c":"the only way the player is hurt. It adds one to the hits in binary-coded decimal, unless the hits already read $99 or the cheat is on. It is called from the four places in the figures' movement where the tile a figure would step into holds the player, which is the whole of the game's damage: no figure in this game ever fires a shot.","t":"code","b":[173,198,2],"m":"lda","oa":710,"o":"hits","x":[24983,25056,25132,25208]},{"a":25506,"t":"code","b":[201,153],"m":"cmp","o":"#$99"},{"a":25508,"t":"code","b":[240,16],"m":"beq","oa":25526,"o":"r_63B6"},{"a":25510,"t":"code","b":[173,63,96],"m":"lda","oa":24639,"o":"cheat_on"},{"a":25513,"t":"code","b":[208,11],"m":"bne","oa":25526,"o":"r_63B6"},{"a":25515,"t":"code","b":[248],"m":"sed"},{"a":25516,"t":"code","b":[173,198,2],"m":"lda","oa":710,"o":"hits"},{"a":25519,"t":"code","b":[24],"m":"clc"},{"a":25520,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":25522,"t":"code","b":[141,198,2],"m":"sta","oa":710,"o":"hits"},{"a":25525,"t":"code","b":[216],"m":"cld"},{"a":25526,"l":"r_63B6","t":"code","b":[96],"m":"rts","x":[25508,25513]},{"a":25527,"l":"sound_init","c":"silences all 25 sound registers by writing 8 and then 0 to each, sets the volume to 15 with the low-pass filter on ($D418 = $1F), the cutoff to $50 and $D417 to 2, and builds the table of random numbers at $67CA","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[24585]},{"a":25529,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25532,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":25535,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":25538,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":25540,"l":"b_63C4","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[25553]},{"a":25542,"t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x"},{"a":25545,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":25547,"t":"code","b":[157,0,212],"m":"sta","o":"sid_v1_freq_lo,x"},{"a":25550,"t":"code","b":[232],"m":"inx"},{"a":25551,"t":"code","b":[224,25],"m":"cpx","o":"#$19"},{"a":25553,"t":"code","b":[208,241],"m":"bne","oa":25540,"o":"b_63C4"},{"a":25555,"t":"code","b":[169,31],"m":"lda","o":"#$1F"},{"a":25557,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":25560,"t":"code","b":[169,80],"m":"lda","o":"#$50"},{"a":25562,"t":"code","b":[141,22,212],"m":"sta","o":"sid_filter_cutoff_hi"},{"a":25565,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":25567,"t":"code","b":[141,23,212],"m":"sta","o":"sid_filter_resonance"},{"a":25570,"t":"code","b":[32,202,103],"m":"jsr","oa":26570,"o":"build_random_table"},{"a":25573,"t":"code","b":[96],"m":"rts"},{"a":25574,"l":"sound_tick","c":"the sound, once a frame. It plays a footstep on every other step the player takes, because $02D8 is the lowest bit of the step count and $63E9 skips the footstep when it is 0. It then starts the effect $02D5 asks for, or carries on the one already playing.","t":"code","b":[173,216,2],"m":"lda","oa":728,"o":"footstep_due","x":[24588]},{"a":25577,"t":"code","b":[240,8],"m":"beq","oa":25587,"o":"b_63F3"},{"a":25579,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":25581,"t":"code","b":[141,216,2],"m":"sta","oa":728,"o":"footstep_due"},{"a":25584,"t":"code","b":[32,144,103],"m":"jsr","oa":26512,"o":"footstep"},{"a":25587,"l":"b_63F3","t":"code","b":[173,213,2],"m":"lda","oa":725,"o":"sound_effect","x":[25577]},{"a":25590,"t":"code","b":[240,3],"m":"beq","oa":25595,"o":"b_63FB"},{"a":25592,"t":"code","b":[76,4,100],"m":"jmp","oa":25604,"o":"start_sound_effect"},{"a":25595,"l":"b_63FB","t":"code","b":[173,214,2],"m":"lda","oa":726,"o":"sound_playing","x":[25590]},{"a":25598,"t":"code","b":[240,3],"m":"beq","oa":25603,"o":"r_6403"},{"a":25600,"t":"code","b":[76,21,102],"m":"jmp","oa":26133,"o":"continue_sound_effect"},{"a":25603,"l":"r_6403","t":"code","b":[96],"m":"rts","x":[25598,25673,25715,25767,25817,25869,25929,25979,26032,26080,26130,26199,26210,26221,26232,26243,26258,26266,26277,26288,26299,26328,26342,26375,26388,26399,26440,26448,26459,26476,26487,26498,26509]},{"a":25604,"l":"start_sound_effect","c":"starts one of the nine effects on voice 1, several with voice 3 as well, each with its own envelope, frequency and waveform, and its own length in $02D7","t":"code","b":[173,213,2],"m":"lda","oa":725,"o":"sound_effect","x":[25592]},{"a":25607,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":25610,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":25612,"t":"code","b":[208,3],"m":"bne","oa":25617,"o":"b_6411"},{"a":25614,"t":"code","b":[76,76,100],"m":"jmp","oa":25676,"o":"sound_found"},{"a":25617,"l":"b_6411","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[25612]},{"a":25619,"t":"code","b":[208,3],"m":"bne","oa":25624,"o":"b_6418"},{"a":25621,"t":"code","b":[76,118,100],"m":"jmp","oa":25718,"o":"sound_wasted"},{"a":25624,"l":"b_6418","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[25619]},{"a":25626,"t":"code","b":[208,3],"m":"bne","oa":25631,"o":"b_641F"},{"a":25628,"t":"code","b":[76,170,100],"m":"jmp","oa":25770,"o":"j_64AA"},{"a":25631,"l":"b_641F","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[25626]},{"a":25633,"t":"code","b":[208,3],"m":"bne","oa":25638,"o":"b_6426"},{"a":25635,"t":"code","b":[76,220,100],"m":"jmp","oa":25820,"o":"j_64DC"},{"a":25638,"l":"b_6426","t":"code","b":[201,5],"m":"cmp","o":"#$05","x":[25633]},{"a":25640,"t":"code","b":[208,3],"m":"bne","oa":25645,"o":"b_642D"},{"a":25642,"t":"code","b":[76,16,101],"m":"jmp","oa":25872,"o":"j_6510"},{"a":25645,"l":"b_642D","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[25640]},{"a":25647,"t":"code","b":[208,3],"m":"bne","oa":25652,"o":"b_6434"},{"a":25649,"t":"code","b":[76,76,101],"m":"jmp","oa":25932,"o":"j_654C"},{"a":25652,"l":"b_6434","t":"code","b":[201,7],"m":"cmp","o":"#$07","x":[25647]},{"a":25654,"t":"code","b":[208,3],"m":"bne","oa":25659,"o":"b_643B"},{"a":25656,"t":"code","b":[76,126,101],"m":"jmp","oa":25982,"o":"j_657E"},{"a":25659,"l":"b_643B","t":"code","b":[201,8],"m":"cmp","o":"#$08","x":[25654]},{"a":25661,"t":"code","b":[208,3],"m":"bne","oa":25666,"o":"b_6442"},{"a":25663,"t":"code","b":[76,179,101],"m":"jmp","oa":26035,"o":"j_65B3"},{"a":25666,"l":"b_6442","t":"code","b":[201,9],"m":"cmp","o":"#$09","x":[25661]},{"a":25668,"t":"code","b":[208,3],"m":"bne","oa":25673,"o":"b_6449"},{"a":25670,"t":"code","b":[76,227,101],"m":"jmp","oa":26083,"o":"j_65E3"},{"a":25673,"l":"b_6449","t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403","x":[25668]},{"a":25676,"l":"sound_found","c":"effect 1, for something found and for a charge armed by a shot: a note at $00C8 on voice 1 with the triangle and pulse waveforms together ($51), attack and decay $5A and no sustain, with $40 in the frame count $02D7, so $665A silences it 65 frames after it starts","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25614]},{"a":25678,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25681,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25684,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":25687,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":25690,"t":"code","b":[169,90],"m":"lda","o":"#$5A"},{"a":25692,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":25695,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":25697,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":25700,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":25702,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":25705,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":25707,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25710,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":25712,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":25715,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":25718,"l":"sound_wasted","c":"effect 2, asked for only at $53B9, when a shot hits a door key and the game says \"YOU ARE WAISTING AMMO.\"","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25621]},{"a":25720,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25723,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25726,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":25729,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":25732,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":25734,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":25737,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":25739,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":25742,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":25744,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":25747,"t":"code","b":[169,70],"m":"lda","o":"#$46"},{"a":25749,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":25752,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":25754,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":25757,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":25759,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25762,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":25764,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":25767,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":25770,"l":"j_64AA","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25628]},{"a":25772,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25775,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25778,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":25781,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":25784,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":25787,"t":"code","b":[169,246],"m":"lda","o":"#$F6"},{"a":25789,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":25792,"t":"code","b":[169,86],"m":"lda","o":"#$56"},{"a":25794,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":25797,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":25799,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":25802,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":25804,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":25807,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":25809,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25812,"t":"code","b":[169,18],"m":"lda","o":"#$12"},{"a":25814,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":25817,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":25820,"l":"j_64DC","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25635]},{"a":25822,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25825,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25828,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":25831,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":25834,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":25836,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25839,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":25841,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25844,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":25846,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":25849,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":25851,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":25854,"t":"code","b":[169,152],"m":"lda","o":"#$98"},{"a":25856,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":25859,"t":"code","b":[169,81],"m":"lda","o":"#$51"},{"a":25861,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25864,"t":"code","b":[169,32],"m":"lda","o":"#$20"},{"a":25866,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":25869,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":25872,"l":"j_6510","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25642]},{"a":25874,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25877,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25880,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":25883,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":25886,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":25889,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":25892,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":25895,"t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":25897,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":25900,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":25903,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":25905,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":25908,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":25910,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":25913,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":25915,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25918,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":25921,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25924,"t":"code","b":[169,27],"m":"lda","o":"#$1B"},{"a":25926,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":25929,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":25932,"l":"j_654C","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25649]},{"a":25934,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25937,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25940,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":25943,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":25946,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":25949,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":25951,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":25954,"t":"code","b":[169,25],"m":"lda","o":"#$19"},{"a":25956,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":25959,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":25961,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":25964,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":25966,"t":"code","b":[141,3,212],"m":"sta","o":"sid_v1_pulse_hi"},{"a":25969,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":25971,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25974,"t":"code","b":[169,25],"m":"lda","o":"#$19"},{"a":25976,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":25979,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":25982,"l":"j_657E","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25656]},{"a":25984,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":25987,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":25990,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":25993,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":25996,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":25999,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":26002,"t":"code","b":[169,251],"m":"lda","o":"#$FB"},{"a":26004,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":26007,"t":"code","b":[169,30],"m":"lda","o":"#$1E"},{"a":26009,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":26012,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":26014,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":26017,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":26019,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":26022,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":26024,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26027,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":26029,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":26032,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26035,"l":"j_65B3","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25663]},{"a":26037,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":26040,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26043,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":26046,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":26049,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":26052,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":26055,"t":"code","b":[169,25],"m":"lda","o":"#$19"},{"a":26057,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":26060,"t":"code","b":[169,200],"m":"lda","o":"#$C8"},{"a":26062,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":26065,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":26067,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":26070,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":26072,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26075,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":26077,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":26080,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26083,"l":"j_65E3","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25670]},{"a":26085,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":26088,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26091,"t":"code","b":[141,6,212],"m":"sta","o":"sid_v1_sustain_release"},{"a":26094,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":26097,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":26100,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":26102,"t":"code","b":[141,5,212],"m":"sta","o":"sid_v1_attack_decay"},{"a":26105,"t":"code","b":[169,100],"m":"lda","o":"#$64"},{"a":26107,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":26110,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":26112,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":26115,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":26117,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":26120,"t":"code","b":[169,131],"m":"lda","o":"#$83"},{"a":26122,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26125,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":26127,"t":"code","b":[141,215,2],"m":"sta","oa":727,"o":"sound_timer"},{"a":26130,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26133,"l":"continue_sound_effect","c":"carries the sound in progress on, a frame at a time: each of the nine counts $02D7 down and at 0 silences voice 1 by writing 0 to its control. On the way, effects 3 and 7 clear the gate to let the note die away, 6 clears and sets it to start the note again, and 5, 6, 7 and 8 change the pitch.","t":"code","b":[173,214,2],"m":"lda","oa":726,"o":"sound_playing","x":[25600]},{"a":26136,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":26138,"t":"code","b":[208,3],"m":"bne","oa":26143,"o":"b_661F"},{"a":26140,"t":"code","b":[76,90,102],"m":"jmp","oa":26202,"o":"sound_tail_1"},{"a":26143,"l":"b_661F","t":"code","b":[201,2],"m":"cmp","o":"#$02","x":[26138]},{"a":26145,"t":"code","b":[208,3],"m":"bne","oa":26150,"o":"b_6626"},{"a":26147,"t":"code","b":[76,112,102],"m":"jmp","oa":26224,"o":"sound_tail_2"},{"a":26150,"l":"b_6626","t":"code","b":[201,3],"m":"cmp","o":"#$03","x":[26145]},{"a":26152,"t":"code","b":[208,3],"m":"bne","oa":26157,"o":"b_662D"},{"a":26154,"t":"code","b":[76,134,102],"m":"jmp","oa":26246,"o":"sound_tail_3"},{"a":26157,"l":"b_662D","t":"code","b":[201,4],"m":"cmp","o":"#$04","x":[26152]},{"a":26159,"t":"code","b":[208,3],"m":"bne","oa":26164,"o":"b_6634"},{"a":26161,"t":"code","b":[76,168,102],"m":"jmp","oa":26280,"o":"j_66A8"},{"a":26164,"l":"b_6634","t":"code","b":[201,5],"m":"cmp","o":"#$05","x":[26159]},{"a":26166,"t":"code","b":[208,3],"m":"bne","oa":26171,"o":"b_663B"},{"a":26168,"t":"code","b":[76,190,102],"m":"jmp","oa":26302,"o":"j_66BE"},{"a":26171,"l":"b_663B","t":"code","b":[201,6],"m":"cmp","o":"#$06","x":[26166]},{"a":26173,"t":"code","b":[208,3],"m":"bne","oa":26178,"o":"b_6642"},{"a":26175,"t":"code","b":[76,239,102],"m":"jmp","oa":26351,"o":"sound_sweep"},{"a":26178,"l":"b_6642","t":"code","b":[201,7],"m":"cmp","o":"#$07","x":[26173]},{"a":26180,"t":"code","b":[208,3],"m":"bne","oa":26185,"o":"b_6649"},{"a":26182,"t":"code","b":[76,49,103],"m":"jmp","oa":26417,"o":"sound_tail_7"},{"a":26185,"l":"b_6649","t":"code","b":[201,8],"m":"cmp","o":"#$08","x":[26180]},{"a":26187,"t":"code","b":[208,3],"m":"bne","oa":26192,"o":"b_6650"},{"a":26189,"t":"code","b":[76,94,103],"m":"jmp","oa":26462,"o":"j_675E"},{"a":26192,"l":"b_6650","t":"code","b":[201,9],"m":"cmp","o":"#$09","x":[26187]},{"a":26194,"t":"code","b":[208,3],"m":"bne","oa":26199,"o":"b_6657"},{"a":26196,"t":"code","b":[76,122,103],"m":"jmp","oa":26490,"o":"j_677A"},{"a":26199,"l":"b_6657","t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403","x":[26194]},{"a":26202,"l":"sound_tail_1","c":"counts the effect's frames down and silences voice 1 when they run out","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26140]},{"a":26205,"t":"code","b":[240,6],"m":"beq","oa":26213,"o":"b_6665"},{"a":26207,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26210,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26213,"l":"b_6665","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26205]},{"a":26215,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26218,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26221,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26224,"l":"sound_tail_2","c":"the same tail for another of the effects","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26147]},{"a":26227,"t":"code","b":[240,6],"m":"beq","oa":26235,"o":"b_667B"},{"a":26229,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26232,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26235,"l":"b_667B","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26227]},{"a":26237,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26240,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26243,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26246,"l":"sound_tail_3","c":"effect 3's tail: when sixteen frames are left it clears the gate ($14 for the $15 the start wrote), so the note dies away on its release, and at 0 it silences voice 1","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26154]},{"a":26249,"t":"code","b":[240,18],"m":"beq","oa":26269,"o":"b_669D"},{"a":26251,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26254,"t":"code","b":[201,16],"m":"cmp","o":"#$10"},{"a":26256,"t":"code","b":[240,3],"m":"beq","oa":26261,"o":"b_6695"},{"a":26258,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26261,"l":"b_6695","t":"code","b":[169,20],"m":"lda","o":"#$14","x":[26256]},{"a":26263,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26266,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26269,"l":"b_669D","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26249]},{"a":26271,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26274,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26277,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26280,"l":"j_66A8","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26161]},{"a":26283,"t":"code","b":[240,6],"m":"beq","oa":26291,"o":"b_66B3"},{"a":26285,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26288,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26291,"l":"b_66B3","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26283]},{"a":26293,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26296,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26299,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26302,"l":"j_66BE","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26168]},{"a":26305,"t":"code","b":[240,24],"m":"beq","oa":26331,"o":"b_66DB"},{"a":26307,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26310,"t":"code","b":[56],"m":"sec"},{"a":26311,"t":"code","b":[233,20],"m":"sbc","o":"#$14"},{"a":26313,"t":"code","b":[144,13],"m":"bcc","oa":26328,"o":"b_66D8"},{"a":26315,"t":"code","b":[170],"m":"tax"},{"a":26316,"t":"code","b":[189,233,102],"m":"lda","oa":26345,"o":"shot_sound_pitches,x"},{"a":26319,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":26322,"t":"code","b":[56],"m":"sec"},{"a":26323,"t":"code","b":[233,6],"m":"sbc","o":"#$06"},{"a":26325,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":26328,"l":"b_66D8","t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403","x":[26313]},{"a":26331,"l":"b_66DB","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26305]},{"a":26333,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26336,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26339,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":26342,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26345,"l":"shot_sound_pitches","c":"the frequency high bytes effect 5's tail at $66BE gives voice 1, and less 6 voice 3, one a frame. It reads them backwards with X from 7 down to 0, so the first two come from the code just after the table: $D7 at $66F0, then $AD at $66EF.","t":"byte","b":[18,9,10,11,12,13],"x":[26316]},{"a":26351,"l":"sound_sweep","c":"effect 6's tail: it steps voice 1's frequency high byte backwards through the table at $6722, X from 15 down to 0, so the first value comes from $6731 just past the table, and at X = 8 it clears and sets the gate to start the note again","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26175]},{"a":26354,"t":"code","b":[240,35],"m":"beq","oa":26391,"o":"b_6717"},{"a":26356,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26359,"t":"code","b":[56],"m":"sec"},{"a":26360,"t":"code","b":[233,10],"m":"sbc","o":"#$0A"},{"a":26362,"t":"code","b":[144,11],"m":"bcc","oa":26375,"o":"b_6707"},{"a":26364,"t":"code","b":[170],"m":"tax"},{"a":26365,"t":"code","b":[189,34,103],"m":"lda","oa":26402,"o":"sound_sweep_table,x"},{"a":26368,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":26371,"t":"code","b":[224,8],"m":"cpx","o":"#$08"},{"a":26373,"t":"code","b":[240,3],"m":"beq","oa":26378,"o":"b_670A"},{"a":26375,"l":"b_6707","t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403","x":[26362]},{"a":26378,"l":"b_670A","t":"code","b":[169,20],"m":"lda","o":"#$14","x":[26373]},{"a":26380,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26383,"t":"code","b":[169,21],"m":"lda","o":"#$15"},{"a":26385,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26388,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26391,"l":"b_6717","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26354]},{"a":26393,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26396,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26399,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26402,"l":"sound_sweep_table","c":"the fifteen frequency high bytes the effect at $66EF steps through, read backwards from $6730 to $6722 after a first read of $6731 just past the table","t":"byte","b":[1,0,120,21,0,20,21,20],"x":[26365]},{"a":26410,"t":"byte","b":[5,0,130,23,0,25,26]},{"a":26417,"l":"sound_tail_7","c":"effect 7's tail: on every frame but one it sets voice 1's frequency from voice 3's noise oscillator ($D41B), the low byte as read and the high byte its low three bits, a random pitch; on the frame the count reads 128 it writes $80 to the control instead, clearing the gate so the note dies away while its pitch goes on changing; at 0 it silences voice 1","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26182]},{"a":26420,"t":"code","b":[240,29],"m":"beq","oa":26451,"o":"b_6753"},{"a":26422,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26425,"t":"code","b":[201,128],"m":"cmp","o":"#$80"},{"a":26427,"t":"code","b":[240,14],"m":"beq","oa":26443,"o":"b_674B"},{"a":26429,"t":"code","b":[173,27,212],"m":"lda","o":"sid_v3_oscillator"},{"a":26432,"t":"code","b":[141,0,212],"m":"sta","o":"sid_v1_freq_lo"},{"a":26435,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":26437,"t":"code","b":[141,1,212],"m":"sta","o":"sid_v1_freq_hi"},{"a":26440,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26443,"l":"b_674B","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[26427]},{"a":26445,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26448,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26451,"l":"b_6753","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26420]},{"a":26453,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26456,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26459,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26462,"l":"j_675E","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26189]},{"a":26465,"t":"code","b":[240,12],"m":"beq","oa":26479,"o":"b_676F"},{"a":26467,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26470,"t":"code","b":[24],"m":"clc"},{"a":26471,"t":"code","b":[105,65],"m":"adc","o":"#$41"},{"a":26473,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":26476,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26479,"l":"b_676F","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26465]},{"a":26481,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26484,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26487,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26490,"l":"j_677A","t":"code","b":[173,215,2],"m":"lda","oa":727,"o":"sound_timer","x":[26196]},{"a":26493,"t":"code","b":[240,6],"m":"beq","oa":26501,"o":"b_6785"},{"a":26495,"t":"code","b":[206,215,2],"m":"dec","oa":727,"o":"sound_timer"},{"a":26498,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26501,"l":"b_6785","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26493]},{"a":26503,"t":"code","b":[141,214,2],"m":"sta","oa":726,"o":"sound_playing"},{"a":26506,"t":"code","b":[141,4,212],"m":"sta","o":"sid_v1_control"},{"a":26509,"t":"code","b":[76,3,100],"m":"jmp","oa":25603,"o":"r_6403"},{"a":26512,"l":"footstep","c":"the player's footsteps, on voice 2: a short burst of noise at $0A00 or $0500, the two taking turns by bit 0 of $02D9, which counts the footsteps","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25584]},{"a":26514,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":26517,"t":"code","b":[141,13,212],"m":"sta","o":"sid_v2_sustain_release"},{"a":26520,"t":"code","b":[141,7,212],"m":"sta","o":"sid_v2_freq_lo"},{"a":26523,"t":"code","b":[169,49],"m":"lda","o":"#$31"},{"a":26525,"t":"code","b":[141,12,212],"m":"sta","o":"sid_v2_attack_decay"},{"a":26528,"t":"code","b":[238,217,2],"m":"inc","oa":729,"o":"footstep_phase"},{"a":26531,"t":"code","b":[173,217,2],"m":"lda","oa":729,"o":"footstep_phase"},{"a":26534,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":26536,"t":"code","b":[240,16],"m":"beq","oa":26554,"o":"b_67BA"},{"a":26538,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":26540,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":26543,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":26545,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":26548,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":26550,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":26553,"t":"code","b":[96],"m":"rts"},{"a":26554,"l":"b_67BA","t":"code","b":[169,128],"m":"lda","o":"#$80","x":[26536]},{"a":26556,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":26559,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":26561,"t":"code","b":[141,8,212],"m":"sta","o":"sid_v2_freq_hi"},{"a":26564,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":26566,"t":"code","b":[141,11,212],"m":"sta","o":"sid_v2_control"},{"a":26569,"t":"code","b":[96],"m":"rts"},{"a":26570,"l":"build_random_table","c":"fills 256 bytes at $8700 with random numbers. It sets voice 3 to noise at the highest frequency and reads the oscillator's own output at $D41B 256 times, from $8700 and then down from $87FF, which is the SID's noise generator used as the game's dice, then silences the voice again. The loop takes 14 cycles and at this frequency the noise steps about once every 16, so a byte is often the next one's value shifted once, or equal to it. In an emulator with its sound off, $D41B reads a cycle counter instead and the table comes out as a ramp falling by 14 a byte. Called from the sound set-up only, which runs at the start of each game.","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[24591,25570]},{"a":26572,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":26575,"t":"code","b":[141,20,212],"m":"sta","o":"sid_v3_sustain_release"},{"a":26578,"t":"code","b":[141,19,212],"m":"sta","o":"sid_v3_attack_decay"},{"a":26581,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":26583,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":26586,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":26589,"t":"code","b":[169,129],"m":"lda","o":"#$81"},{"a":26591,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":26594,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":26596,"l":"b_67E4","t":"code","b":[173,27,212],"m":"lda","o":"sid_v3_oscillator","x":[26603]},{"a":26599,"t":"code","b":[157,0,135],"m":"sta","oa":34560,"o":"random_table,x"},{"a":26602,"t":"code","b":[202],"m":"dex"},{"a":26603,"t":"code","b":[208,247],"m":"bne","oa":26596,"o":"b_67E4"},{"a":26605,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":26607,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":26610,"t":"code","b":[96],"m":"rts"},{"a":26611,"l":"next_random","c":"steps the index on and returns the next byte of the random table in A","t":"code","b":[238,225,2],"m":"inc","oa":737,"o":"random_index","x":[24594]},{"a":26614,"t":"code","b":[172,225,2],"m":"ldy","oa":737,"o":"random_index"},{"a":26617,"t":"code","b":[185,0,135],"m":"lda","oa":34560,"o":"random_table,y"},{"a":26620,"t":"code","b":[96],"m":"rts"},{"a":26621,"l":"j_67FD","t":"code","b":[166,2],"m":"ldx","oa":2,"o":"map_addr_lo","x":[24597]},{"a":26623,"t":"code","b":[134,252],"m":"stx","oa":252,"o":"pointer_lo"},{"a":26625,"t":"code","b":[166,3],"m":"ldx","oa":3,"o":"map_addr_hi"},{"a":26627,"t":"code","b":[134,253],"m":"stx","oa":253,"o":"pointer_hi"},{"a":26629,"t":"code","b":[201,56],"m":"cmp","o":"#$38"},{"a":26631,"t":"code","b":[144,15],"m":"bcc","oa":26648,"o":"b_6818"},{"a":26633,"t":"code","b":[201,60],"m":"cmp","o":"#$3C"},{"a":26635,"t":"code","b":[176,11],"m":"bcs","oa":26648,"o":"b_6818"},{"a":26637,"t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo"},{"a":26639,"t":"code","b":[24],"m":"clc"},{"a":26640,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":26642,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26644,"t":"code","b":[144,2],"m":"bcc","oa":26648,"o":"b_6818"},{"a":26646,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":26648,"l":"b_6818","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[26631,26635,26644]},{"a":26650,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":26652,"t":"code","b":[201,52],"m":"cmp","o":"#$34"},{"a":26654,"t":"code","b":[240,54],"m":"beq","oa":26710,"o":"b_6856"},{"a":26656,"t":"code","b":[201,48],"m":"cmp","o":"#$30"},{"a":26658,"t":"code","b":[240,11],"m":"beq","oa":26671,"o":"b_682F"},{"a":26660,"t":"code","b":[201,49],"m":"cmp","o":"#$31"},{"a":26662,"t":"code","b":[240,21],"m":"beq","oa":26685,"o":"b_683D"},{"a":26664,"t":"code","b":[201,53],"m":"cmp","o":"#$35"},{"a":26666,"t":"code","b":[240,31],"m":"beq","oa":26699,"o":"b_684B"},{"a":26668,"t":"code","b":[76,137,104],"m":"jmp","oa":26761,"o":"j_6889"},{"a":26671,"l":"b_682F","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[26658]},{"a":26673,"t":"code","b":[56],"m":"sec"},{"a":26674,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":26676,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26678,"t":"code","b":[176,2],"m":"bcs","oa":26682,"o":"b_683A"},{"a":26680,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26682,"l":"b_683A","t":"code","b":[76,86,104],"m":"jmp","oa":26710,"o":"b_6856","x":[26678]},{"a":26685,"l":"b_683D","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[26662]},{"a":26687,"t":"code","b":[56],"m":"sec"},{"a":26688,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":26690,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26692,"t":"code","b":[176,2],"m":"bcs","oa":26696,"o":"b_6848"},{"a":26694,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26696,"l":"b_6848","t":"code","b":[76,86,104],"m":"jmp","oa":26710,"o":"b_6856","x":[26692]},{"a":26699,"l":"b_684B","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[26666]},{"a":26701,"t":"code","b":[56],"m":"sec"},{"a":26702,"t":"code","b":[233,3],"m":"sbc","o":"#$03"},{"a":26704,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26706,"t":"code","b":[176,2],"m":"bcs","oa":26710,"o":"b_6856"},{"a":26708,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26710,"l":"b_6856","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[26654,26682,26696,26706]},{"a":26712,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":26714,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26716,"t":"code","b":[169,231],"m":"lda","o":"#$E7"},{"a":26718,"t":"code","b":[200],"m":"iny"},{"a":26719,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26721,"t":"code","b":[169,232],"m":"lda","o":"#$E8"},{"a":26723,"t":"code","b":[200],"m":"iny"},{"a":26724,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26726,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":26728,"t":"code","b":[200],"m":"iny"},{"a":26729,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26731,"t":"code","b":[160,128],"m":"ldy","o":"#$80"},{"a":26733,"t":"code","b":[169,75],"m":"lda","o":"#$4B"},{"a":26735,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26737,"t":"code","b":[200],"m":"iny"},{"a":26738,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26740,"t":"code","b":[200],"m":"iny"},{"a":26741,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26743,"t":"code","b":[200],"m":"iny"},{"a":26744,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26746,"t":"code","b":[173,197,2],"m":"lda","oa":709,"o":"score_to_add"},{"a":26749,"t":"code","b":[24],"m":"clc"},{"a":26750,"t":"code","b":[105,25],"m":"adc","o":"#$19"},{"a":26752,"t":"code","b":[141,197,2],"m":"sta","oa":709,"o":"score_to_add"},{"a":26755,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":26757,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":26760,"t":"code","b":[96],"m":"rts"},{"a":26761,"l":"j_6889","t":"code","b":[201,200],"m":"cmp","o":"#$C8","x":[26668]},{"a":26763,"t":"code","b":[144,9],"m":"bcc","oa":26774,"o":"b_6896"},{"a":26765,"t":"code","b":[201,204],"m":"cmp","o":"#$CC"},{"a":26767,"t":"code","b":[176,5],"m":"bcs","oa":26774,"o":"b_6896"},{"a":26769,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26771,"t":"code","b":[76,161,104],"m":"jmp","oa":26785,"o":"j_68A1"},{"a":26774,"l":"b_6896","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[26763,26767]},{"a":26776,"t":"code","b":[56],"m":"sec"},{"a":26777,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":26779,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26781,"t":"code","b":[176,2],"m":"bcs","oa":26785,"o":"j_68A1"},{"a":26783,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26785,"l":"j_68A1","t":"code","b":[160,128],"m":"ldy","o":"#$80","x":[26771,26781]},{"a":26787,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":26789,"t":"code","b":[201,194],"m":"cmp","o":"#$C2"},{"a":26791,"t":"code","b":[240,55],"m":"beq","oa":26848,"o":"b_68E0"},{"a":26793,"t":"code","b":[201,192],"m":"cmp","o":"#$C0"},{"a":26795,"t":"code","b":[240,9],"m":"beq","oa":26806,"o":"b_68B6"},{"a":26797,"t":"code","b":[201,195],"m":"cmp","o":"#$C3"},{"a":26799,"t":"code","b":[240,19],"m":"beq","oa":26820,"o":"b_68C4"},{"a":26801,"t":"code","b":[201,193],"m":"cmp","o":"#$C1"},{"a":26803,"t":"code","b":[240,29],"m":"beq","oa":26834,"o":"b_68D2"},{"a":26805,"t":"code","b":[96],"m":"rts"},{"a":26806,"l":"b_68B6","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[26795]},{"a":26808,"t":"code","b":[56],"m":"sec"},{"a":26809,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":26811,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26813,"t":"code","b":[176,2],"m":"bcs","oa":26817,"o":"b_68C1"},{"a":26815,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26817,"l":"b_68C1","t":"code","b":[76,224,104],"m":"jmp","oa":26848,"o":"b_68E0","x":[26813]},{"a":26820,"l":"b_68C4","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[26799]},{"a":26822,"t":"code","b":[56],"m":"sec"},{"a":26823,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":26825,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26827,"t":"code","b":[176,2],"m":"bcs","oa":26831,"o":"b_68CF"},{"a":26829,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26831,"l":"b_68CF","t":"code","b":[76,224,104],"m":"jmp","oa":26848,"o":"b_68E0","x":[26827]},{"a":26834,"l":"b_68D2","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[26803]},{"a":26836,"t":"code","b":[56],"m":"sec"},{"a":26837,"t":"code","b":[233,3],"m":"sbc","o":"#$03"},{"a":26839,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":26841,"t":"code","b":[176,2],"m":"bcs","oa":26845,"o":"b_68DD"},{"a":26843,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":26845,"l":"b_68DD","t":"code","b":[76,224,104],"m":"jmp","oa":26848,"o":"b_68E0","x":[26841]},{"a":26848,"l":"b_68E0","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[26791,26817,26831,26845]},{"a":26850,"t":"code","b":[169,75],"m":"lda","o":"#$4B"},{"a":26852,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26854,"t":"code","b":[200],"m":"iny"},{"a":26855,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26857,"t":"code","b":[200],"m":"iny"},{"a":26858,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26860,"t":"code","b":[200],"m":"iny"},{"a":26861,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26863,"t":"code","b":[160,128],"m":"ldy","o":"#$80"},{"a":26865,"t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":26867,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26869,"t":"code","b":[200],"m":"iny"},{"a":26870,"t":"code","b":[169,60],"m":"lda","o":"#$3C"},{"a":26872,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26874,"t":"code","b":[200],"m":"iny"},{"a":26875,"t":"code","b":[169,61],"m":"lda","o":"#$3D"},{"a":26877,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26879,"t":"code","b":[200],"m":"iny"},{"a":26880,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":26882,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":26884,"t":"code","b":[173,197,2],"m":"lda","oa":709,"o":"score_to_add"},{"a":26887,"t":"code","b":[24],"m":"clc"},{"a":26888,"t":"code","b":[105,25],"m":"adc","o":"#$19"},{"a":26890,"t":"code","b":[141,197,2],"m":"sta","oa":709,"o":"score_to_add"},{"a":26893,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":26895,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":26898,"t":"code","b":[96],"m":"rts"},{"a":26899,"l":"slide_room_apart","c":"parts the room on the screen when play stops: at the lift, at the end of the game, when a prisoner is brought home and when the castle is destroyed. Each slide moves the upper half of the play area up and left a cell ($693C) and the lower half down and right ($69BF). After the first it clears the colour of row 11, where the halves part, then makes ten more, with a short pause ($6A40) after each: eleven slides in all.","t":"code","b":[32,60,105],"m":"jsr","oa":26940,"o":"slide_screen_up","x":[24600]},{"a":26902,"t":"code","b":[32,191,105],"m":"jsr","oa":27071,"o":"slide_screen_down"},{"a":26905,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":26907,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":26909,"l":"b_691D","t":"code","b":[157,184,217],"m":"sta","o":"$D9B8,x","x":[26915]},{"a":26912,"t":"code","b":[232],"m":"inx"},{"a":26913,"t":"code","b":[224,40],"m":"cpx","o":"#$28"},{"a":26915,"t":"code","b":[208,248],"m":"bne","oa":26909,"o":"b_691D"},{"a":26917,"t":"code","b":[32,64,106],"m":"jsr","oa":27200,"o":"slide_pause"},{"a":26920,"t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":26922,"t":"code","b":[141,199,2],"m":"sta","oa":711,"o":"slide_steps"},{"a":26925,"l":"b_692D","t":"code","b":[32,60,105],"m":"jsr","oa":26940,"o":"slide_screen_up","x":[26937]},{"a":26928,"t":"code","b":[32,191,105],"m":"jsr","oa":27071,"o":"slide_screen_down"},{"a":26931,"t":"code","b":[32,64,106],"m":"jsr","oa":27200,"o":"slide_pause"},{"a":26934,"t":"code","b":[206,199,2],"m":"dec","oa":711,"o":"slide_steps"},{"a":26937,"t":"code","b":[208,242],"m":"bne","oa":26925,"o":"b_692D"},{"a":26939,"t":"code","b":[96],"m":"rts"},{"a":26940,"l":"slide_screen_up","c":"moves the upper half of the play area up a row and left a column, screen and colour memory together: columns 2 to 39 of rows 2 to 11 go to columns 1 to 38 of rows 1 to 10","t":"code","b":[162,2],"m":"ldx","o":"#$02","x":[26899,26925]},{"a":26942,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":26944,"l":"b_6940","t":"code","b":[200],"m":"iny","x":[27068]},{"a":26945,"t":"code","b":[189,80,4],"m":"lda","oa":1104,"o":"f_0450,x"},{"a":26948,"t":"code","b":[153,40,4],"m":"sta","oa":1064,"o":"f_0428,y"},{"a":26951,"t":"code","b":[189,80,216],"m":"lda","o":"$D850,x"},{"a":26954,"t":"code","b":[153,40,216],"m":"sta","o":"$D828,y"},{"a":26957,"t":"code","b":[189,120,4],"m":"lda","oa":1144,"o":"f_0478,x"},{"a":26960,"t":"code","b":[153,80,4],"m":"sta","oa":1104,"o":"f_0450,y"},{"a":26963,"t":"code","b":[189,120,216],"m":"lda","o":"$D878,x"},{"a":26966,"t":"code","b":[153,80,216],"m":"sta","o":"$D850,y"},{"a":26969,"t":"code","b":[189,160,4],"m":"lda","oa":1184,"o":"f_04A0,x"},{"a":26972,"t":"code","b":[153,120,4],"m":"sta","oa":1144,"o":"f_0478,y"},{"a":26975,"t":"code","b":[189,160,216],"m":"lda","o":"$D8A0,x"},{"a":26978,"t":"code","b":[153,120,216],"m":"sta","o":"$D878,y"},{"a":26981,"t":"code","b":[189,200,4],"m":"lda","oa":1224,"o":"f_04C8,x"},{"a":26984,"t":"code","b":[153,160,4],"m":"sta","oa":1184,"o":"f_04A0,y"},{"a":26987,"t":"code","b":[189,200,216],"m":"lda","o":"$D8C8,x"},{"a":26990,"t":"code","b":[153,160,216],"m":"sta","o":"$D8A0,y"},{"a":26993,"t":"code","b":[189,240,4],"m":"lda","oa":1264,"o":"f_04F0,x"},{"a":26996,"t":"code","b":[153,200,4],"m":"sta","oa":1224,"o":"f_04C8,y"},{"a":26999,"t":"code","b":[189,240,216],"m":"lda","o":"$D8F0,x"},{"a":27002,"t":"code","b":[153,200,216],"m":"sta","o":"$D8C8,y"},{"a":27005,"t":"code","b":[189,24,5],"m":"lda","oa":1304,"o":"f_0518,x"},{"a":27008,"t":"code","b":[153,240,4],"m":"sta","oa":1264,"o":"f_04F0,y"},{"a":27011,"t":"code","b":[189,24,217],"m":"lda","o":"$D918,x"},{"a":27014,"t":"code","b":[153,240,216],"m":"sta","o":"$D8F0,y"},{"a":27017,"t":"code","b":[189,64,5],"m":"lda","oa":1344,"o":"f_0540,x"},{"a":27020,"t":"code","b":[153,24,5],"m":"sta","oa":1304,"o":"f_0518,y"},{"a":27023,"t":"code","b":[189,64,217],"m":"lda","o":"$D940,x"},{"a":27026,"t":"code","b":[153,24,217],"m":"sta","o":"$D918,y"},{"a":27029,"t":"code","b":[189,104,5],"m":"lda","oa":1384,"o":"f_0568,x"},{"a":27032,"t":"code","b":[153,64,5],"m":"sta","oa":1344,"o":"f_0540,y"},{"a":27035,"t":"code","b":[189,104,217],"m":"lda","o":"$D968,x"},{"a":27038,"t":"code","b":[153,64,217],"m":"sta","o":"$D940,y"},{"a":27041,"t":"code","b":[189,144,5],"m":"lda","oa":1424,"o":"f_0590,x"},{"a":27044,"t":"code","b":[153,104,5],"m":"sta","oa":1384,"o":"f_0568,y"},{"a":27047,"t":"code","b":[189,144,217],"m":"lda","o":"$D990,x"},{"a":27050,"t":"code","b":[153,104,217],"m":"sta","o":"$D968,y"},{"a":27053,"t":"code","b":[189,184,5],"m":"lda","oa":1464,"o":"f_05B8,x"},{"a":27056,"t":"code","b":[153,144,5],"m":"sta","oa":1424,"o":"f_0590,y"},{"a":27059,"t":"code","b":[189,184,217],"m":"lda","o":"$D9B8,x"},{"a":27062,"t":"code","b":[153,144,217],"m":"sta","o":"$D990,y"},{"a":27065,"t":"code","b":[232],"m":"inx"},{"a":27066,"t":"code","b":[224,40],"m":"cpx","o":"#$28"},{"a":27068,"t":"code","b":[208,130],"m":"bne","oa":26944,"o":"b_6940"},{"a":27070,"t":"code","b":[96],"m":"rts"},{"a":27071,"l":"slide_screen_down","c":"moves the lower half of the play area down a row and right a column, screen and colour memory together: columns 0 to 37 of rows 11 to 20 go to columns 1 to 38 of rows 12 to 21. With $693C it parts the room along row 11.","t":"code","b":[162,37],"m":"ldx","o":"#$25","x":[26902,26928]},{"a":27073,"t":"code","b":[160,39],"m":"ldy","o":"#$27"},{"a":27075,"l":"b_69C3","t":"code","b":[136],"m":"dey","x":[27197]},{"a":27076,"t":"code","b":[189,32,7],"m":"lda","oa":1824,"o":"f_0720,x"},{"a":27079,"t":"code","b":[153,72,7],"m":"sta","oa":1864,"o":"f_0748,y"},{"a":27082,"t":"code","b":[189,32,219],"m":"lda","o":"$DB20,x"},{"a":27085,"t":"code","b":[153,72,219],"m":"sta","o":"$DB48,y"},{"a":27088,"t":"code","b":[189,248,6],"m":"lda","oa":1784,"o":"f_06F8,x"},{"a":27091,"t":"code","b":[153,32,7],"m":"sta","oa":1824,"o":"f_0720,y"},{"a":27094,"t":"code","b":[189,248,218],"m":"lda","o":"$DAF8,x"},{"a":27097,"t":"code","b":[153,32,219],"m":"sta","o":"$DB20,y"},{"a":27100,"t":"code","b":[189,208,6],"m":"lda","oa":1744,"o":"f_06D0,x"},{"a":27103,"t":"code","b":[153,248,6],"m":"sta","oa":1784,"o":"f_06F8,y"},{"a":27106,"t":"code","b":[189,208,218],"m":"lda","o":"$DAD0,x"},{"a":27109,"t":"code","b":[153,248,218],"m":"sta","o":"$DAF8,y"},{"a":27112,"t":"code","b":[189,168,6],"m":"lda","oa":1704,"o":"f_06A8,x"},{"a":27115,"t":"code","b":[153,208,6],"m":"sta","oa":1744,"o":"f_06D0,y"},{"a":27118,"t":"code","b":[189,168,218],"m":"lda","o":"$DAA8,x"},{"a":27121,"t":"code","b":[153,208,218],"m":"sta","o":"$DAD0,y"},{"a":27124,"t":"code","b":[189,128,6],"m":"lda","oa":1664,"o":"f_0680,x"},{"a":27127,"t":"code","b":[153,168,6],"m":"sta","oa":1704,"o":"f_06A8,y"},{"a":27130,"t":"code","b":[189,128,218],"m":"lda","o":"$DA80,x"},{"a":27133,"t":"code","b":[153,168,218],"m":"sta","o":"$DAA8,y"},{"a":27136,"t":"code","b":[189,88,6],"m":"lda","oa":1624,"o":"f_0658,x"},{"a":27139,"t":"code","b":[153,128,6],"m":"sta","oa":1664,"o":"f_0680,y"},{"a":27142,"t":"code","b":[189,88,218],"m":"lda","o":"$DA58,x"},{"a":27145,"t":"code","b":[153,128,218],"m":"sta","o":"$DA80,y"},{"a":27148,"t":"code","b":[189,48,6],"m":"lda","oa":1584,"o":"f_0630,x"},{"a":27151,"t":"code","b":[153,88,6],"m":"sta","oa":1624,"o":"f_0658,y"},{"a":27154,"t":"code","b":[189,48,218],"m":"lda","o":"$DA30,x"},{"a":27157,"t":"code","b":[153,88,218],"m":"sta","o":"$DA58,y"},{"a":27160,"t":"code","b":[189,8,6],"m":"lda","oa":1544,"o":"f_0608,x"},{"a":27163,"t":"code","b":[153,48,6],"m":"sta","oa":1584,"o":"f_0630,y"},{"a":27166,"t":"code","b":[189,8,218],"m":"lda","o":"$DA08,x"},{"a":27169,"t":"code","b":[153,48,218],"m":"sta","o":"$DA30,y"},{"a":27172,"t":"code","b":[189,224,5],"m":"lda","oa":1504,"o":"f_05E0,x"},{"a":27175,"t":"code","b":[153,8,6],"m":"sta","oa":1544,"o":"f_0608,y"},{"a":27178,"t":"code","b":[189,224,217],"m":"lda","o":"$D9E0,x"},{"a":27181,"t":"code","b":[153,8,218],"m":"sta","o":"$DA08,y"},{"a":27184,"t":"code","b":[189,184,5],"m":"lda","oa":1464,"o":"f_05B8,x"},{"a":27187,"t":"code","b":[153,224,5],"m":"sta","oa":1504,"o":"f_05E0,y"},{"a":27190,"t":"code","b":[189,184,217],"m":"lda","o":"$D9B8,x"},{"a":27193,"t":"code","b":[153,224,217],"m":"sta","o":"$D9E0,y"},{"a":27196,"t":"code","b":[202],"m":"dex"},{"a":27197,"t":"code","b":[16,132],"m":"bpl","oa":27075,"o":"b_69C3"},{"a":27199,"t":"code","b":[96],"m":"rts"},{"a":27200,"l":"slide_pause","c":"a pause between the slides of $6913: an empty loop of 255 times 16 turns of DEY, about 22,000 cycles","t":"code","b":[162,255],"m":"ldx","o":"#$FF","x":[26917,26931]},{"a":27202,"l":"b_6A42","t":"code","b":[160,16],"m":"ldy","o":"#$10","x":[27208]},{"a":27204,"l":"b_6A44","t":"code","b":[136],"m":"dey","x":[27205]},{"a":27205,"t":"code","b":[208,253],"m":"bne","oa":27204,"o":"b_6A44"},{"a":27207,"t":"code","b":[202],"m":"dex"},{"a":27208,"t":"code","b":[208,248],"m":"bne","oa":27202,"o":"b_6A42"},{"a":27210,"t":"code","b":[96],"m":"rts"},{"a":27211,"l":"build_floor","c":"builds a whole floor of the castle. It runs the cheat check ($6F3B), banks every ROM out so the RAM beneath them can be reached ($01 = $30), takes the floor's description from $D000 plus a kilobyte for each floor, and works through it as 32 rows of 32 bytes, each byte a block of four tiles by four, copied from $7000 plus sixteen times the byte. The map it builds starts at $9000 and is 128 tiles across, so a floor fills 16 kilobytes from a kilobyte of description. On the way it picks out the figures ($30 to $37, into the list at $8100 to $8500 with a starting direction for each pair), the dynamite charge ($62, its place kept in $02EA) and the prisoner ($63, in $02ED).","t":"code","b":[120],"m":"sei","x":[24603]},{"a":27212,"t":"code","b":[32,59,111],"m":"jsr","oa":28475,"o":"check_cheat_word"},{"a":27215,"t":"code","b":[169,48],"m":"lda","o":"#$30"},{"a":27217,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":27219,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":27221,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":27223,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":27225,"t":"code","b":[173,167,2],"m":"lda","oa":679,"o":"current_floor"},{"a":27228,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":27230,"t":"code","b":[10],"m":"asl","o":"a"},{"a":27231,"t":"code","b":[10],"m":"asl","o":"a"},{"a":27232,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":27234,"t":"code","b":[165,253],"m":"lda","oa":253,"o":"pointer_hi"},{"a":27236,"t":"code","b":[24],"m":"clc"},{"a":27237,"t":"code","b":[105,208],"m":"adc","o":"#$D0"},{"a":27239,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":27241,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":27243,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":27245,"t":"code","b":[169,144],"m":"lda","o":"#$90"},{"a":27247,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":27249,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":27251,"t":"code","b":[141,168,2],"m":"sta","oa":680,"o":"block_rows_built"},{"a":27254,"t":"code","b":[141,209,2],"m":"sta","oa":721,"o":"block_row"},{"a":27257,"l":"j_6A79","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[27599]},{"a":27259,"t":"code","b":[142,208,2],"m":"stx","oa":720,"o":"block_column"},{"a":27262,"l":"j_6A7E","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[27553]},{"a":27264,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"build_source_lo"},{"a":27266,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"build_source_hi"},{"a":27268,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":27270,"t":"code","b":[72],"m":"pha"},{"a":27271,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":27273,"t":"code","b":[72],"m":"pha"},{"a":27274,"t":"code","b":[138],"m":"txa"},{"a":27275,"t":"code","b":[168],"m":"tay"},{"a":27276,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":27278,"t":"code","b":[201,48],"m":"cmp","o":"#$30"},{"a":27280,"t":"code","b":[240,65],"m":"beq","oa":27347,"o":"b_6AD3"},{"a":27282,"t":"code","b":[201,49],"m":"cmp","o":"#$31"},{"a":27284,"t":"code","b":[240,61],"m":"beq","oa":27347,"o":"b_6AD3"},{"a":27286,"t":"code","b":[201,50],"m":"cmp","o":"#$32"},{"a":27288,"t":"code","b":[240,62],"m":"beq","oa":27352,"o":"b_6AD8"},{"a":27290,"t":"code","b":[201,51],"m":"cmp","o":"#$33"},{"a":27292,"t":"code","b":[240,58],"m":"beq","oa":27352,"o":"b_6AD8"},{"a":27294,"t":"code","b":[201,52],"m":"cmp","o":"#$34"},{"a":27296,"t":"code","b":[240,59],"m":"beq","oa":27357,"o":"b_6ADD"},{"a":27298,"t":"code","b":[201,53],"m":"cmp","o":"#$35"},{"a":27300,"t":"code","b":[240,55],"m":"beq","oa":27357,"o":"b_6ADD"},{"a":27302,"t":"code","b":[201,54],"m":"cmp","o":"#$36"},{"a":27304,"t":"code","b":[240,56],"m":"beq","oa":27362,"o":"b_6AE2"},{"a":27306,"t":"code","b":[201,55],"m":"cmp","o":"#$37"},{"a":27308,"t":"code","b":[240,52],"m":"beq","oa":27362,"o":"b_6AE2"},{"a":27310,"t":"code","b":[201,98],"m":"cmp","o":"#$62"},{"a":27312,"t":"code","b":[240,7],"m":"beq","oa":27321,"o":"b_6AB9"},{"a":27314,"t":"code","b":[201,99],"m":"cmp","o":"#$63"},{"a":27316,"t":"code","b":[240,16],"m":"beq","oa":27334,"o":"b_6AC6"},{"a":27318,"t":"code","b":[76,3,107],"m":"jmp","oa":27395,"o":"j_6B03"},{"a":27321,"l":"b_6AB9","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[27312]},{"a":27323,"t":"code","b":[141,234,2],"m":"sta","oa":746,"o":"detonator_place_lo"},{"a":27326,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":27328,"t":"code","b":[141,235,2],"m":"sta","oa":747,"o":"detonator_place_hi"},{"a":27331,"t":"code","b":[76,3,107],"m":"jmp","oa":27395,"o":"j_6B03"},{"a":27334,"l":"b_6AC6","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[27316]},{"a":27336,"t":"code","b":[141,237,2],"m":"sta","oa":749,"o":"prisoner_start_lo"},{"a":27339,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":27341,"t":"code","b":[141,238,2],"m":"sta","oa":750,"o":"prisoner_start_hi"},{"a":27344,"t":"code","b":[76,3,107],"m":"jmp","oa":27395,"o":"j_6B03"},{"a":27347,"l":"b_6AD3","t":"code","b":[169,2],"m":"lda","o":"#$02","x":[27280,27284]},{"a":27349,"t":"code","b":[76,228,106],"m":"jmp","oa":27364,"o":"j_6AE4"},{"a":27352,"l":"b_6AD8","t":"code","b":[169,4],"m":"lda","o":"#$04","x":[27288,27292]},{"a":27354,"t":"code","b":[76,228,106],"m":"jmp","oa":27364,"o":"j_6AE4"},{"a":27357,"l":"b_6ADD","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[27296,27300]},{"a":27359,"t":"code","b":[76,228,106],"m":"jmp","oa":27364,"o":"j_6AE4"},{"a":27362,"l":"b_6AE2","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[27304,27308]},{"a":27364,"l":"j_6AE4","t":"code","b":[172,207,2],"m":"ldy","oa":719,"o":"figure_count","x":[27349,27354,27359]},{"a":27367,"t":"code","b":[153,0,133],"m":"sta","oa":34048,"o":"figure_state,y"},{"a":27370,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":27372,"t":"code","b":[153,0,131],"m":"sta","oa":33536,"o":"figure_place_lo,y"},{"a":27375,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi"},{"a":27377,"t":"code","b":[153,0,132],"m":"sta","oa":33792,"o":"figure_place_hi,y"},{"a":27380,"t":"code","b":[173,208,2],"m":"lda","oa":720,"o":"block_column"},{"a":27383,"t":"code","b":[153,0,129],"m":"sta","oa":33024,"o":"figure_x,y"},{"a":27386,"t":"code","b":[173,209,2],"m":"lda","oa":721,"o":"block_row"},{"a":27389,"t":"code","b":[153,0,130],"m":"sta","oa":33280,"o":"figure_y,y"},{"a":27392,"t":"code","b":[238,207,2],"m":"inc","oa":719,"o":"figure_count"},{"a":27395,"l":"j_6B03","t":"code","b":[138],"m":"txa","x":[27318,27331,27344]},{"a":27396,"t":"code","b":[168],"m":"tay"},{"a":27397,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":27399,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"build_source_lo"},{"a":27401,"t":"code","b":[6,4],"m":"asl","oa":4,"o":"build_source_lo"},{"a":27403,"t":"code","b":[38,5],"m":"rol","oa":5,"o":"build_source_hi"},{"a":27405,"t":"code","b":[6,4],"m":"asl","oa":4,"o":"build_source_lo"},{"a":27407,"t":"code","b":[38,5],"m":"rol","oa":5,"o":"build_source_hi"},{"a":27409,"t":"code","b":[6,4],"m":"asl","oa":4,"o":"build_source_lo"},{"a":27411,"t":"code","b":[38,5],"m":"rol","oa":5,"o":"build_source_hi"},{"a":27413,"t":"code","b":[6,4],"m":"asl","oa":4,"o":"build_source_lo"},{"a":27415,"t":"code","b":[38,5],"m":"rol","oa":5,"o":"build_source_hi"},{"a":27417,"t":"code","b":[165,5],"m":"lda","oa":5,"o":"build_source_hi"},{"a":27419,"t":"code","b":[24],"m":"clc"},{"a":27420,"t":"code","b":[105,112],"m":"adc","o":"#$70"},{"a":27422,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"build_source_hi"},{"a":27424,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":27426,"l":"b_6B22","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(build_source_lo),y","x":[27433]},{"a":27428,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":27430,"t":"code","b":[200],"m":"iny"},{"a":27431,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":27433,"t":"code","b":[208,247],"m":"bne","oa":27426,"o":"b_6B22"},{"a":27435,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":27437,"t":"code","b":[24],"m":"clc"},{"a":27438,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":27440,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":27442,"t":"code","b":[144,2],"m":"bcc","oa":27446,"o":"b_6B36"},{"a":27444,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":27446,"l":"b_6B36","t":"code","b":[165,4],"m":"lda","oa":4,"o":"build_source_lo","x":[27442]},{"a":27448,"t":"code","b":[24],"m":"clc"},{"a":27449,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":27451,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"build_source_lo"},{"a":27453,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":27455,"l":"b_6B3F","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(build_source_lo),y","x":[27462]},{"a":27457,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":27459,"t":"code","b":[200],"m":"iny"},{"a":27460,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":27462,"t":"code","b":[208,247],"m":"bne","oa":27455,"o":"b_6B3F"},{"a":27464,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":27466,"t":"code","b":[24],"m":"clc"},{"a":27467,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":27469,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":27471,"t":"code","b":[144,2],"m":"bcc","oa":27475,"o":"b_6B53"},{"a":27473,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":27475,"l":"b_6B53","t":"code","b":[165,4],"m":"lda","oa":4,"o":"build_source_lo","x":[27471]},{"a":27477,"t":"code","b":[24],"m":"clc"},{"a":27478,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":27480,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"build_source_lo"},{"a":27482,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":27484,"l":"b_6B5C","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(build_source_lo),y","x":[27491]},{"a":27486,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":27488,"t":"code","b":[200],"m":"iny"},{"a":27489,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":27491,"t":"code","b":[208,247],"m":"bne","oa":27484,"o":"b_6B5C"},{"a":27493,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":27495,"t":"code","b":[24],"m":"clc"},{"a":27496,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":27498,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":27500,"t":"code","b":[144,2],"m":"bcc","oa":27504,"o":"b_6B70"},{"a":27502,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":27504,"l":"b_6B70","t":"code","b":[165,4],"m":"lda","oa":4,"o":"build_source_lo","x":[27500]},{"a":27506,"t":"code","b":[24],"m":"clc"},{"a":27507,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":27509,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"build_source_lo"},{"a":27511,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":27513,"l":"b_6B79","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(build_source_lo),y","x":[27520]},{"a":27515,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":27517,"t":"code","b":[200],"m":"iny"},{"a":27518,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":27520,"t":"code","b":[208,247],"m":"bne","oa":27513,"o":"b_6B79"},{"a":27522,"t":"code","b":[104],"m":"pla"},{"a":27523,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":27525,"t":"code","b":[104],"m":"pla"},{"a":27526,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":27528,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":27530,"t":"code","b":[24],"m":"clc"},{"a":27531,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":27533,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":27535,"t":"code","b":[144,2],"m":"bcc","oa":27539,"o":"b_6B93"},{"a":27537,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":27539,"l":"b_6B93","t":"code","b":[173,208,2],"m":"lda","oa":720,"o":"block_column","x":[27535]},{"a":27542,"t":"code","b":[24],"m":"clc"},{"a":27543,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":27545,"t":"code","b":[141,208,2],"m":"sta","oa":720,"o":"block_column"},{"a":27548,"t":"code","b":[232],"m":"inx"},{"a":27549,"t":"code","b":[224,32],"m":"cpx","o":"#$20"},{"a":27551,"t":"code","b":[240,3],"m":"beq","oa":27556,"o":"b_6BA4"},{"a":27553,"t":"code","b":[76,126,106],"m":"jmp","oa":27262,"o":"j_6A7E"},{"a":27556,"l":"b_6BA4","t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi","x":[27551]},{"a":27558,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":27560,"t":"code","b":[24],"m":"clc"},{"a":27561,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":27563,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":27565,"t":"code","b":[144,2],"m":"bcc","oa":27569,"o":"b_6BB1"},{"a":27567,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":27569,"l":"b_6BB1","t":"code","b":[165,252],"m":"lda","oa":252,"o":"pointer_lo","x":[27565]},{"a":27571,"t":"code","b":[24],"m":"clc"},{"a":27572,"t":"code","b":[105,32],"m":"adc","o":"#$20"},{"a":27574,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":27576,"t":"code","b":[144,2],"m":"bcc","oa":27580,"o":"b_6BBC"},{"a":27578,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":27580,"l":"b_6BBC","t":"code","b":[238,168,2],"m":"inc","oa":680,"o":"block_rows_built","x":[27576]},{"a":27583,"t":"code","b":[173,168,2],"m":"lda","oa":680,"o":"block_rows_built"},{"a":27586,"t":"code","b":[201,32],"m":"cmp","o":"#$20"},{"a":27588,"t":"code","b":[240,12],"m":"beq","oa":27602,"o":"b_6BD2"},{"a":27590,"t":"code","b":[173,209,2],"m":"lda","oa":721,"o":"block_row"},{"a":27593,"t":"code","b":[24],"m":"clc"},{"a":27594,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":27596,"t":"code","b":[141,209,2],"m":"sta","oa":721,"o":"block_row"},{"a":27599,"t":"code","b":[76,121,106],"m":"jmp","oa":27257,"o":"j_6A79"},{"a":27602,"l":"b_6BD2","t":"code","b":[169,54],"m":"lda","o":"#$36","x":[27588]},{"a":27604,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":27606,"t":"code","b":[88],"m":"cli"},{"a":27607,"t":"code","b":[96],"m":"rts"},{"a":27608,"l":"j_6BD8","t":"code","b":[32,90,110],"m":"jsr","oa":28250,"o":"animate_prisoner","x":[24612,27901,27956,28013,28068]},{"a":27611,"t":"code","b":[173,44,96],"m":"lda","oa":24620,"o":"prisoner_last_lo"},{"a":27614,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":27616,"t":"code","b":[173,45,96],"m":"lda","oa":24621,"o":"prisoner_last_hi"},{"a":27619,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":27621,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":27623,"l":"b_6BE7","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[27648]},{"a":27625,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27627,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":27629,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27631,"t":"code","b":[152],"m":"tya"},{"a":27632,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":27634,"t":"code","b":[168],"m":"tay"},{"a":27635,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":27637,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27639,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":27641,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27643,"t":"code","b":[152],"m":"tya"},{"a":27644,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":27646,"t":"code","b":[168],"m":"tay"},{"a":27647,"t":"code","b":[136],"m":"dey"},{"a":27648,"t":"code","b":[16,229],"m":"bpl","oa":27623,"o":"b_6BE7"},{"a":27650,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":27653,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":27655,"t":"code","b":[173,42,96],"m":"lda","oa":24618,"o":"prisoner_place_hi"},{"a":27658,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":27660,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":27662,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":27664,"l":"b_6C10","t":"code","b":[189,47,96],"m":"lda","oa":24623,"o":"prisoner_tile_row1,x","x":[27698]},{"a":27667,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27669,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":27671,"t":"code","b":[189,55,96],"m":"lda","oa":24631,"o":"prisoner_tile_row3,x"},{"a":27674,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27676,"t":"code","b":[152],"m":"tya"},{"a":27677,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":27679,"t":"code","b":[168],"m":"tay"},{"a":27680,"t":"code","b":[189,59,96],"m":"lda","oa":24635,"o":"prisoner_tile_row4,x"},{"a":27683,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27685,"t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi"},{"a":27687,"t":"code","b":[189,51,96],"m":"lda","oa":24627,"o":"prisoner_tile_row2,x"},{"a":27690,"t":"code","b":[145,252],"m":"sta","oa":252,"o":"(pointer_lo),y"},{"a":27692,"t":"code","b":[152],"m":"tya"},{"a":27693,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":27695,"t":"code","b":[168],"m":"tay"},{"a":27696,"t":"code","b":[202],"m":"dex"},{"a":27697,"t":"code","b":[136],"m":"dey"},{"a":27698,"t":"code","b":[16,220],"m":"bpl","oa":27664,"o":"b_6C10"},{"a":27700,"t":"code","b":[96],"m":"rts"},{"a":27701,"l":"b_6C35","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[27738,27742,27753,27757]},{"a":27703,"t":"code","b":[141,232,2],"m":"sta","oa":744,"o":"prisoner_free"},{"a":27706,"t":"code","b":[96],"m":"rts"},{"a":27707,"l":"prisoner_turn","c":"the prisoner's turn, run with the player's stamp in one frame of every three, and going on only every other time ($02E4), so once in six frames. Nothing happens while $02E5 says he is not on this floor. When his corner lies outside a window from ten tiles left of the room on screen to ten right of it, and from ten above to nine below, it sets $02E8 to 1, which keeps him off the lift with the player; inside it clears $02E8, says once that he is close ($6CB4), works out which way to go ($6DB1) and takes a step in it.","t":"code","b":[173,229,2],"m":"lda","oa":741,"o":"prisoner_held","x":[24606]},{"a":27710,"t":"code","b":[240,1],"m":"beq","oa":27713,"o":"b_6C41"},{"a":27712,"t":"code","b":[96],"m":"rts"},{"a":27713,"l":"b_6C41","t":"code","b":[173,228,2],"m":"lda","oa":740,"o":"prisoner_tick","x":[27710]},{"a":27716,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":27718,"t":"code","b":[240,4],"m":"beq","oa":27724,"o":"b_6C4C"},{"a":27720,"t":"code","b":[238,228,2],"m":"inc","oa":740,"o":"prisoner_tick"},{"a":27723,"t":"code","b":[96],"m":"rts"},{"a":27724,"l":"b_6C4C","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[27718]},{"a":27726,"t":"code","b":[141,228,2],"m":"sta","oa":740,"o":"prisoner_tick"},{"a":27729,"t":"code","b":[173,39,96],"m":"lda","oa":24615,"o":"prisoner_tile_x"},{"a":27732,"t":"code","b":[24],"m":"clc"},{"a":27733,"t":"code","b":[105,10],"m":"adc","o":"#$0A"},{"a":27735,"t":"code","b":[56],"m":"sec"},{"a":27736,"t":"code","b":[229,254],"m":"sbc","oa":254,"o":"room_offset_x"},{"a":27738,"t":"code","b":[144,217],"m":"bcc","oa":27701,"o":"b_6C35"},{"a":27740,"t":"code","b":[233,48],"m":"sbc","o":"#$30"},{"a":27742,"t":"code","b":[176,213],"m":"bcs","oa":27701,"o":"b_6C35"},{"a":27744,"t":"code","b":[173,40,96],"m":"lda","oa":24616,"o":"prisoner_tile_y"},{"a":27747,"t":"code","b":[24],"m":"clc"},{"a":27748,"t":"code","b":[105,10],"m":"adc","o":"#$0A"},{"a":27750,"t":"code","b":[56],"m":"sec"},{"a":27751,"t":"code","b":[229,255],"m":"sbc","oa":255,"o":"room_offset_y"},{"a":27753,"t":"code","b":[144,202],"m":"bcc","oa":27701,"o":"b_6C35"},{"a":27755,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":27757,"t":"code","b":[176,198],"m":"bcs","oa":27701,"o":"b_6C35"},{"a":27759,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":27761,"t":"code","b":[141,232,2],"m":"sta","oa":744,"o":"prisoner_free"},{"a":27764,"t":"code","b":[32,180,108],"m":"jsr","oa":27828,"o":"prisoner_is_close"},{"a":27767,"t":"code","b":[32,177,109],"m":"jsr","oa":28081,"o":"prisoner_choose_way"},{"a":27770,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":27773,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":27775,"t":"code","b":[173,42,96],"m":"lda","oa":24618,"o":"prisoner_place_hi"},{"a":27778,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":27780,"t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state"},{"a":27783,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":27785,"t":"code","b":[240,72],"m":"beq","oa":27859,"o":"prisoner_step_up"},{"a":27787,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":27789,"t":"code","b":[240,59],"m":"beq","oa":27850,"o":"b_6CCA"},{"a":27791,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":27793,"t":"code","b":[240,58],"m":"beq","oa":27853,"o":"b_6CCD"},{"a":27795,"t":"code","b":[201,3],"m":"cmp","o":"#$03"},{"a":27797,"t":"code","b":[240,57],"m":"beq","oa":27856,"o":"b_6CD0"},{"a":27799,"t":"code","b":[96],"m":"rts"},{"a":27800,"l":"prisoner_close_text","c":"\"THE PRISONER IS VERY CLOSE.\", the only message kept away from the block at $5609","t":"byte","b":[84,72,69,32,80,82,73,83]},{"a":27808,"t":"byte","b":[79,78,69,82,32,73,83,32]},{"a":27816,"t":"byte","b":[86,69,82,89,32,67,76,79]},{"a":27824,"t":"byte","b":[83,69,46,64]},{"a":27828,"l":"prisoner_is_close","c":"says \"THE PRISONER IS VERY CLOSE.\" the first time the prisoner comes within reach, and remembers in $6043 that it has been said","t":"code","b":[173,67,96],"m":"lda","oa":24643,"o":"prisoner_announced","x":[27764]},{"a":27831,"t":"code","b":[208,16],"m":"bne","oa":27849,"o":"r_6CC9"},{"a":27833,"t":"code","b":[169,152],"m":"lda","o":"#$98"},{"a":27835,"t":"code","b":[133,252],"m":"sta","oa":252,"o":"pointer_lo"},{"a":27837,"t":"code","b":[169,108],"m":"lda","o":"#$6C"},{"a":27839,"t":"code","b":[133,253],"m":"sta","oa":253,"o":"pointer_hi"},{"a":27841,"t":"code","b":[32,19,64],"m":"jsr","oa":16403,"o":"go_print_message"},{"a":27844,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":27846,"t":"code","b":[141,67,96],"m":"sta","oa":24643,"o":"prisoner_announced"},{"a":27849,"l":"r_6CC9","t":"code","b":[96],"m":"rts","x":[27831]},{"a":27850,"l":"b_6CCA","t":"code","b":[76,10,109],"m":"jmp","oa":27914,"o":"prisoner_step_down","x":[27789]},{"a":27853,"l":"b_6CCD","t":"code","b":[76,65,109],"m":"jmp","oa":27969,"o":"prisoner_step_left","x":[27793]},{"a":27856,"l":"b_6CD0","t":"code","b":[76,122,109],"m":"jmp","oa":28026,"o":"prisoner_step_right","x":[27797]},{"a":27859,"l":"prisoner_step_up","c":"moves the prisoner up a tile when the four tiles above him are empty, and turns him to the other axis (bit 3 of $602B cleared) when they are not","t":"code","b":[198,253],"m":"dec","oa":253,"o":"pointer_hi","x":[27785]},{"a":27861,"t":"code","b":[160,128],"m":"ldy","o":"#$80"},{"a":27863,"l":"b_6CD7","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[27870]},{"a":27865,"t":"code","b":[208,38],"m":"bne","oa":27905,"o":"b_6D01"},{"a":27867,"t":"code","b":[200],"m":"iny"},{"a":27868,"t":"code","b":[192,132],"m":"cpy","o":"#$84"},{"a":27870,"t":"code","b":[208,247],"m":"bne","oa":27863,"o":"b_6CD7"},{"a":27872,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":27875,"t":"code","b":[141,44,96],"m":"sta","oa":24620,"o":"prisoner_last_lo"},{"a":27878,"t":"code","b":[173,42,96],"m":"lda","oa":24618,"o":"prisoner_place_hi"},{"a":27881,"t":"code","b":[141,45,96],"m":"sta","oa":24621,"o":"prisoner_last_hi"},{"a":27884,"t":"code","b":[206,40,96],"m":"dec","oa":24616,"o":"prisoner_tile_y"},{"a":27887,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":27890,"t":"code","b":[56],"m":"sec"},{"a":27891,"t":"code","b":[233,128],"m":"sbc","o":"#$80"},{"a":27893,"t":"code","b":[141,41,96],"m":"sta","oa":24617,"o":"prisoner_place_lo"},{"a":27896,"t":"code","b":[176,3],"m":"bcs","oa":27901,"o":"b_6CFD"},{"a":27898,"t":"code","b":[206,42,96],"m":"dec","oa":24618,"o":"prisoner_place_hi"},{"a":27901,"l":"b_6CFD","t":"code","b":[32,216,107],"m":"jsr","oa":27608,"o":"j_6BD8","x":[27896]},{"a":27904,"t":"code","b":[96],"m":"rts"},{"a":27905,"l":"b_6D01","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[27865]},{"a":27908,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":27910,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":27913,"t":"code","b":[96],"m":"rts"},{"a":27914,"l":"prisoner_step_down","c":"moves the prisoner down a tile when the four tiles below him are empty","t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi","x":[27850]},{"a":27916,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":27918,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":27920,"l":"b_6D10","t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y","x":[27925]},{"a":27922,"t":"code","b":[208,36],"m":"bne","oa":27960,"o":"b_6D38"},{"a":27924,"t":"code","b":[136],"m":"dey"},{"a":27925,"t":"code","b":[16,249],"m":"bpl","oa":27920,"o":"b_6D10"},{"a":27927,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":27930,"t":"code","b":[141,44,96],"m":"sta","oa":24620,"o":"prisoner_last_lo"},{"a":27933,"t":"code","b":[173,42,96],"m":"lda","oa":24618,"o":"prisoner_place_hi"},{"a":27936,"t":"code","b":[141,45,96],"m":"sta","oa":24621,"o":"prisoner_last_hi"},{"a":27939,"t":"code","b":[238,40,96],"m":"inc","oa":24616,"o":"prisoner_tile_y"},{"a":27942,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":27945,"t":"code","b":[24],"m":"clc"},{"a":27946,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":27948,"t":"code","b":[141,41,96],"m":"sta","oa":24617,"o":"prisoner_place_lo"},{"a":27951,"t":"code","b":[144,3],"m":"bcc","oa":27956,"o":"b_6D34"},{"a":27953,"t":"code","b":[238,42,96],"m":"inc","oa":24618,"o":"prisoner_place_hi"},{"a":27956,"l":"b_6D34","t":"code","b":[32,216,107],"m":"jsr","oa":27608,"o":"j_6BD8","x":[27951]},{"a":27959,"t":"code","b":[96],"m":"rts"},{"a":27960,"l":"b_6D38","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[27922]},{"a":27963,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":27965,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":27968,"t":"code","b":[96],"m":"rts"},{"a":27969,"l":"prisoner_step_left","c":"moves the prisoner left when the four tiles to the left are empty","t":"code","b":[198,252],"m":"dec","oa":252,"o":"pointer_lo","x":[27853]},{"a":27971,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":27973,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":27975,"t":"code","b":[208,40],"m":"bne","oa":28017,"o":"b_6D71"},{"a":27977,"t":"code","b":[160,128],"m":"ldy","o":"#$80"},{"a":27979,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":27981,"t":"code","b":[208,34],"m":"bne","oa":28017,"o":"b_6D71"},{"a":27983,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":27985,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":27987,"t":"code","b":[208,28],"m":"bne","oa":28017,"o":"b_6D71"},{"a":27989,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":27991,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":27993,"t":"code","b":[208,22],"m":"bne","oa":28017,"o":"b_6D71"},{"a":27995,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":27998,"t":"code","b":[141,44,96],"m":"sta","oa":24620,"o":"prisoner_last_lo"},{"a":28001,"t":"code","b":[173,42,96],"m":"lda","oa":24618,"o":"prisoner_place_hi"},{"a":28004,"t":"code","b":[141,45,96],"m":"sta","oa":24621,"o":"prisoner_last_hi"},{"a":28007,"t":"code","b":[206,39,96],"m":"dec","oa":24615,"o":"prisoner_tile_x"},{"a":28010,"t":"code","b":[206,41,96],"m":"dec","oa":24617,"o":"prisoner_place_lo"},{"a":28013,"t":"code","b":[32,216,107],"m":"jsr","oa":27608,"o":"j_6BD8"},{"a":28016,"t":"code","b":[96],"m":"rts"},{"a":28017,"l":"b_6D71","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[27975,27981,27987,27993]},{"a":28020,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":28022,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28025,"t":"code","b":[96],"m":"rts"},{"a":28026,"l":"prisoner_step_right","c":"moves the prisoner right when the four tiles to the right are empty","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[27856]},{"a":28028,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":28030,"t":"code","b":[208,40],"m":"bne","oa":28072,"o":"b_6DA8"},{"a":28032,"t":"code","b":[160,132],"m":"ldy","o":"#$84"},{"a":28034,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":28036,"t":"code","b":[208,34],"m":"bne","oa":28072,"o":"b_6DA8"},{"a":28038,"t":"code","b":[230,253],"m":"inc","oa":253,"o":"pointer_hi"},{"a":28040,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":28042,"t":"code","b":[208,28],"m":"bne","oa":28072,"o":"b_6DA8"},{"a":28044,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":28046,"t":"code","b":[177,252],"m":"lda","oa":252,"o":"(pointer_lo),y"},{"a":28048,"t":"code","b":[208,22],"m":"bne","oa":28072,"o":"b_6DA8"},{"a":28050,"t":"code","b":[173,41,96],"m":"lda","oa":24617,"o":"prisoner_place_lo"},{"a":28053,"t":"code","b":[141,44,96],"m":"sta","oa":24620,"o":"prisoner_last_lo"},{"a":28056,"t":"code","b":[173,42,96],"m":"lda","oa":24618,"o":"prisoner_place_hi"},{"a":28059,"t":"code","b":[141,45,96],"m":"sta","oa":24621,"o":"prisoner_last_hi"},{"a":28062,"t":"code","b":[238,39,96],"m":"inc","oa":24615,"o":"prisoner_tile_x"},{"a":28065,"t":"code","b":[238,41,96],"m":"inc","oa":24617,"o":"prisoner_place_lo"},{"a":28068,"t":"code","b":[32,216,107],"m":"jsr","oa":27608,"o":"j_6BD8"},{"a":28071,"t":"code","b":[96],"m":"rts"},{"a":28072,"l":"b_6DA8","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28030,28036,28042,28048]},{"a":28075,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":28077,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28080,"t":"code","b":[96],"m":"rts"},{"a":28081,"l":"prisoner_choose_way","c":"chooses which way the prisoner goes next. After a warning shot it only counts bits 4 to 7 of $602B down and keeps his direction. Otherwise it compares his column with the player's when bit 3 is clear, and his row when it is set, and turns him towards the player, switching axis when they are level, which is how he follows.","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[27767]},{"a":28084,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":28086,"t":"code","b":[240,10],"m":"beq","oa":28098,"o":"b_6DC2"},{"a":28088,"t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state"},{"a":28091,"t":"code","b":[56],"m":"sec"},{"a":28092,"t":"code","b":[233,16],"m":"sbc","o":"#$10"},{"a":28094,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28097,"t":"code","b":[96],"m":"rts"},{"a":28098,"l":"b_6DC2","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28086]},{"a":28101,"t":"code","b":[41,8],"m":"and","o":"#$08"},{"a":28103,"t":"code","b":[208,33],"m":"bne","oa":28138,"o":"b_6DEA"},{"a":28105,"l":"j_6DC9","t":"code","b":[173,39,96],"m":"lda","oa":24615,"o":"prisoner_tile_x","x":[28190]},{"a":28108,"t":"code","b":[56],"m":"sec"},{"a":28109,"t":"code","b":[237,202,2],"m":"sbc","oa":714,"o":"player_tile_x"},{"a":28112,"t":"code","b":[240,57],"m":"beq","oa":28171,"o":"b_6E0B"},{"a":28114,"t":"code","b":[176,11],"m":"bcs","oa":28127,"o":"b_6DDF"},{"a":28116,"t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state"},{"a":28119,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28121,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":28123,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28126,"t":"code","b":[96],"m":"rts"},{"a":28127,"l":"b_6DDF","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28114]},{"a":28130,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28132,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":28134,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28137,"t":"code","b":[96],"m":"rts"},{"a":28138,"l":"b_6DEA","t":"code","b":[173,40,96],"m":"lda","oa":24616,"o":"prisoner_tile_y","x":[28103,28179]},{"a":28141,"t":"code","b":[56],"m":"sec"},{"a":28142,"t":"code","b":[237,203,2],"m":"sbc","oa":715,"o":"player_tile_y"},{"a":28145,"t":"code","b":[240,35],"m":"beq","oa":28182,"o":"b_6E16"},{"a":28147,"t":"code","b":[176,11],"m":"bcs","oa":28160,"o":"b_6E00"},{"a":28149,"t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state"},{"a":28152,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28154,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":28156,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28159,"t":"code","b":[96],"m":"rts"},{"a":28160,"l":"b_6E00","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28147]},{"a":28163,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28165,"t":"code","b":[9,0],"m":"ora","o":"#$00"},{"a":28167,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28170,"t":"code","b":[96],"m":"rts"},{"a":28171,"l":"b_6E0B","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28112]},{"a":28174,"t":"code","b":[41,247],"m":"and","o":"#$F7"},{"a":28176,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28179,"t":"code","b":[76,234,109],"m":"jmp","oa":28138,"o":"b_6DEA"},{"a":28182,"l":"b_6E16","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28145]},{"a":28185,"t":"code","b":[9,8],"m":"ora","o":"#$08"},{"a":28187,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28190,"t":"code","b":[76,201,109],"m":"jmp","oa":28105,"o":"j_6DC9"},{"a":28193,"l":"shot_hit_prisoner","c":"a shot hit the prisoner, tiles $D4 to $E3. It turns him round, the opposite of the way he was going, and sets the top four bits of his state, so that he keeps walking that way for fifteen of his turns; this is the warning shot the manual tells the player to fire at a prisoner who will not move.","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[24609]},{"a":28196,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":28198,"t":"code","b":[240,18],"m":"beq","oa":28218,"o":"b_6E3A"},{"a":28200,"t":"code","b":[201,1],"m":"cmp","o":"#$01"},{"a":28202,"t":"code","b":[240,24],"m":"beq","oa":28228,"o":"b_6E44"},{"a":28204,"t":"code","b":[201,2],"m":"cmp","o":"#$02"},{"a":28206,"t":"code","b":[240,28],"m":"beq","oa":28236,"o":"b_6E4C"},{"a":28208,"t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state"},{"a":28211,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28213,"t":"code","b":[9,2],"m":"ora","o":"#$02"},{"a":28215,"t":"code","b":[76,83,110],"m":"jmp","oa":28243,"o":"j_6E53"},{"a":28218,"l":"b_6E3A","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28198]},{"a":28221,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28223,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":28225,"t":"code","b":[76,83,110],"m":"jmp","oa":28243,"o":"j_6E53"},{"a":28228,"l":"b_6E44","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28202]},{"a":28231,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28233,"t":"code","b":[76,83,110],"m":"jmp","oa":28243,"o":"j_6E53"},{"a":28236,"l":"b_6E4C","t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state","x":[28206]},{"a":28239,"t":"code","b":[41,248],"m":"and","o":"#$F8"},{"a":28241,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":28243,"l":"j_6E53","t":"code","b":[9,240],"m":"ora","o":"#$F0","x":[28215,28225,28233]},{"a":28245,"t":"code","b":[141,43,96],"m":"sta","oa":24619,"o":"prisoner_state"},{"a":28248,"t":"code","b":[96],"m":"rts"},{"a":28249,"l":"prisoner_frame_half","c":"which of the two frames of the walk this step draws, 0 or 1","t":"byte","b":[0],"x":[28267,28276]},{"a":28250,"l":"animate_prisoner","c":"redraws the prisoner. The sixteen tiles he is drawn from live in the character set at $26A0, and this copies a fresh 128 bytes over them from one of the eight frames at $F000 to $F380, chosen by his direction and by bit 1 of $602E, so he walks. It banks everything out for the copy ($01 = 0), because the frames are in the RAM under the KERNAL.","t":"code","b":[238,46,96],"m":"inc","oa":24622,"o":"prisoner_frame","x":[27608]},{"a":28253,"t":"code","b":[173,46,96],"m":"lda","oa":24622,"o":"prisoner_frame"},{"a":28256,"t":"code","b":[41,2],"m":"and","o":"#$02"},{"a":28258,"t":"code","b":[240,5],"m":"beq","oa":28265,"o":"b_6E69"},{"a":28260,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":28262,"t":"code","b":[76,107,110],"m":"jmp","oa":28267,"o":"j_6E6B"},{"a":28265,"l":"b_6E69","t":"code","b":[169,1],"m":"lda","o":"#$01","x":[28258]},{"a":28267,"l":"j_6E6B","t":"code","b":[141,89,110],"m":"sta","oa":28249,"o":"prisoner_frame_half","x":[28262]},{"a":28270,"t":"code","b":[173,43,96],"m":"lda","oa":24619,"o":"prisoner_state"},{"a":28273,"t":"code","b":[41,3],"m":"and","o":"#$03"},{"a":28275,"t":"code","b":[10],"m":"asl","o":"a"},{"a":28276,"t":"code","b":[109,89,110],"m":"adc","oa":28249,"o":"prisoner_frame_half"},{"a":28279,"t":"code","b":[170],"m":"tax"},{"a":28280,"t":"code","b":[189,154,110],"m":"lda","oa":28314,"o":"prisoner_frame_lo,x"},{"a":28283,"t":"code","b":[141,142,110],"m":"sta","oa":28302,"o":"animate_prisoner_source"},{"a":28286,"t":"code","b":[189,162,110],"m":"lda","oa":28322,"o":"prisoner_frame_hi,x"},{"a":28289,"t":"code","b":[141,143,110],"m":"sta","oa":28303,"o":"animate_prisoner_operand"},{"a":28292,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"cpu_port"},{"a":28294,"t":"code","b":[72],"m":"pha"},{"a":28295,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":28297,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":28299,"t":"code","b":[162,127],"m":"ldx","o":"#$7F"},{"a":28301,"l":"b_6E8D","t":"code","b":[189,0,240],"m":"lda","oa":61440,"o":"prisoner_frames,x","x":[28308]},{"a":28302,"t":"note","l":"animate_prisoner_source","c":"the low byte of the address $6E5A reads the prisoner's next frame from, which the routine writes before the copy","note":"inside the item at $6E8D","x":[28283]},{"a":28303,"t":"note","l":"animate_prisoner_operand","c":"the high byte of the address $6E5A reads the prisoner's next frame from, which the routine writes before the copy","note":"inside the item at $6E8D","x":[28289]},{"a":28304,"t":"code","b":[157,160,38],"m":"sta","oa":9888,"o":"prisoner_tiles,x"},{"a":28307,"t":"code","b":[202],"m":"dex"},{"a":28308,"t":"code","b":[16,247],"m":"bpl","oa":28301,"o":"b_6E8D"},{"a":28310,"t":"code","b":[104],"m":"pla"},{"a":28311,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"cpu_port"},{"a":28313,"t":"code","b":[96],"m":"rts"},{"a":28314,"l":"prisoner_frame_lo","c":"the low byte of each of the eight prisoner frames' addresses, by direction and walking frame","t":"byte","b":[0,128,0,128,0,128,0,128],"x":[28280]},{"a":28322,"l":"prisoner_frame_hi","c":"the high byte of each of the eight prisoner frames' addresses: $F000 to $F380, two frames for each of the four directions","t":"byte","b":[242,242,240,240,243,243,241,241],"x":[28286]},{"a":28330,"l":"shot_hit_figure","c":"a shot hit a figure, tiles $76 to $C0. It looks through the list of figures for the first standing one (bit 5 of its state byte at $8500 clear) whose square has its corner no more than four tiles left of and above where the bullet stopped. The first hit only sets bit 6 of that figure's state byte, so the figure stays on its feet; the second plays sound 8, sets bit 5, clears the figure's sixteen tiles and queues a point, which the ticker turns into 100. That is the two shots each the manual asks for.","t":"code","b":[165,3],"m":"lda","oa":3,"o":"map_addr_hi","x":[24640]},{"a":28332,"t":"code","b":[56],"m":"sec"},{"a":28333,"t":"code","b":[233,144],"m":"sbc","o":"#$90"},{"a":28335,"t":"code","b":[10],"m":"asl","o":"a"},{"a":28336,"t":"code","b":[141,183,2],"m":"sta","oa":695,"o":"tile_lookup_y"},{"a":28339,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo"},{"a":28341,"t":"code","b":[41,128],"m":"and","o":"#$80"},{"a":28343,"t":"code","b":[240,3],"m":"beq","oa":28348,"o":"b_6EBC"},{"a":28345,"t":"code","b":[238,183,2],"m":"inc","oa":695,"o":"tile_lookup_y"},{"a":28348,"l":"b_6EBC","t":"code","b":[165,2],"m":"lda","oa":2,"o":"map_addr_lo","x":[28343]},{"a":28350,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":28352,"t":"code","b":[141,182,2],"m":"sta","oa":694,"o":"tile_lookup_x"},{"a":28355,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":28357,"l":"b_6EC5","t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x","x":[28462]},{"a":28360,"t":"code","b":[41,32],"m":"and","o":"#$20"},{"a":28362,"t":"code","b":[208,94],"m":"bne","oa":28458,"o":"b_6F2A"},{"a":28364,"t":"code","b":[173,182,2],"m":"lda","oa":694,"o":"tile_lookup_x"},{"a":28367,"t":"code","b":[56],"m":"sec"},{"a":28368,"t":"code","b":[253,0,129],"m":"sbc","oa":33024,"o":"figure_x,x"},{"a":28371,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":28373,"t":"code","b":[176,83],"m":"bcs","oa":28458,"o":"b_6F2A"},{"a":28375,"t":"code","b":[173,183,2],"m":"lda","oa":695,"o":"tile_lookup_y"},{"a":28378,"t":"code","b":[56],"m":"sec"},{"a":28379,"t":"code","b":[253,0,130],"m":"sbc","oa":33280,"o":"figure_y,x"},{"a":28382,"t":"code","b":[201,5],"m":"cmp","o":"#$05"},{"a":28384,"t":"code","b":[176,72],"m":"bcs","oa":28458,"o":"b_6F2A"},{"a":28386,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":28389,"t":"code","b":[41,64],"m":"and","o":"#$40"},{"a":28391,"t":"code","b":[208,9],"m":"bne","oa":28402,"o":"b_6EF2"},{"a":28393,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":28396,"t":"code","b":[9,64],"m":"ora","o":"#$40"},{"a":28398,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":28401,"t":"code","b":[96],"m":"rts"},{"a":28402,"l":"b_6EF2","t":"code","b":[169,8],"m":"lda","o":"#$08","x":[28391]},{"a":28404,"t":"code","b":[141,213,2],"m":"sta","oa":725,"o":"sound_effect"},{"a":28407,"t":"code","b":[189,0,133],"m":"lda","oa":34048,"o":"figure_state,x"},{"a":28410,"t":"code","b":[9,32],"m":"ora","o":"#$20"},{"a":28412,"t":"code","b":[157,0,133],"m":"sta","oa":34048,"o":"figure_state,x"},{"a":28415,"t":"code","b":[189,0,131],"m":"lda","oa":33536,"o":"figure_place_lo,x"},{"a":28418,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"map_addr_lo"},{"a":28420,"t":"code","b":[189,0,132],"m":"lda","oa":33792,"o":"figure_place_hi,x"},{"a":28423,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"map_addr_hi"},{"a":28425,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":28427,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":28429,"l":"b_6F0D","t":"code","b":[138],"m":"txa","x":[28452]},{"a":28430,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":28432,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"map_addr_hi"},{"a":28434,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":28436,"t":"code","b":[152],"m":"tya"},{"a":28437,"t":"code","b":[9,128],"m":"ora","o":"#$80"},{"a":28439,"t":"code","b":[168],"m":"tay"},{"a":28440,"t":"code","b":[138],"m":"txa"},{"a":28441,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":28443,"t":"code","b":[198,3],"m":"dec","oa":3,"o":"map_addr_hi"},{"a":28445,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(map_addr_lo),y"},{"a":28447,"t":"code","b":[152],"m":"tya"},{"a":28448,"t":"code","b":[41,127],"m":"and","o":"#$7F"},{"a":28450,"t":"code","b":[168],"m":"tay"},{"a":28451,"t":"code","b":[136],"m":"dey"},{"a":28452,"t":"code","b":[16,231],"m":"bpl","oa":28429,"o":"b_6F0D"},{"a":28454,"t":"code","b":[238,197,2],"m":"inc","oa":709,"o":"score_to_add"},{"a":28457,"t":"code","b":[96],"m":"rts"},{"a":28458,"l":"b_6F2A","t":"code","b":[232],"m":"inx","x":[28362,28373,28384]},{"a":28459,"t":"code","b":[236,207,2],"m":"cpx","oa":719,"o":"figure_count"},{"a":28462,"t":"code","b":[208,149],"m":"bne","oa":28357,"o":"b_6EC5"},{"a":28464,"t":"code","b":[96],"m":"rts"},{"a":28465,"l":"cheat_word","c":"the ten characters that turn the cheat on, stored as each character's ASCII value masked to six bits: $25 $0D $01 $07 $07 $0F $14 $13 $21 $26, which is \"%MAGGOTS!&\". The name-entry screen leaves what was typed in the same form at $081F, so a player who gets into the high score table and types this gets the cheat on the next game.","t":"byte","b":[37,13,1,7,7,15,20,19],"x":[28477]},{"a":28473,"t":"byte","b":[33,38]},{"a":28475,"l":"check_cheat_word","c":"compares the ten characters of the name last typed on the high score screen with the word at $6F31 and sets $603F when every one matches. It runs each time a floor is built, so the cheat lasts as long as the name does.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[27212]},{"a":28477,"l":"b_6F3D","t":"code","b":[189,49,111],"m":"lda","oa":28465,"o":"cheat_word,x","x":[28488]},{"a":28480,"t":"code","b":[221,31,8],"m":"cmp","oa":2079,"o":"hiscore_name_entry,x"},{"a":28483,"t":"code","b":[208,11],"m":"bne","oa":28496,"o":"b_6F50"},{"a":28485,"t":"code","b":[232],"m":"inx"},{"a":28486,"t":"code","b":[224,10],"m":"cpx","o":"#$0A"},{"a":28488,"t":"code","b":[208,243],"m":"bne","oa":28477,"o":"b_6F3D"},{"a":28490,"t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":28492,"t":"code","b":[141,63,96],"m":"sta","oa":24639,"o":"cheat_on"},{"a":28495,"t":"code","b":[96],"m":"rts"},{"a":28496,"l":"b_6F50","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[28483]},{"a":28498,"t":"code","b":[141,63,96],"m":"sta","oa":24639,"o":"cheat_on"},{"a":28501,"t":"code","b":[96],"m":"rts"},{"a":28502,"l":"unreached_after_cheat","c":"the bytes after the cheat check, which nothing reaches: the program ends here and the blocks the floors are built from begin at $7000","t":"byte","b":[86,133,253,32,43,89,76,116]},{"a":28510,"t":"byte","b":[78,169,0,153,31,92,200,153]},{"a":28518,"t":"byte","b":[31,92,248,173,189,2,24,105]},{"a":28526,"t":"byte","b":[16,144,21,173,40,89,205,41]},{"a":28534,"t":"byte","b":[89,208,11,169,183,133,252,169]},{"a":28542,"t":"byte","b":[86,133,253,32,43,89,169,153]},{"a":28550,"t":"byte","b":[141,189,2,216,76,116,78,169]},{"a":28558,"t":"byte","b":[6,133,252,169,86,133,253,32]},{"a":28566,"t":"byte","b":[43,89,169,4,141,213,2,169]},{"a":28574,"t":"byte","b":[0,141,198,2,152,72,165,6]},{"a":28582,"t":"byte","b":[133,252,165,7,133,253,152,56]},{"a":28590,"t":"byte","b":[233,6,144,15,168,165,252,24]},{"a":28598,"t":"byte","b":[105,128,133,252,144,2,230,253]},{"a":28606,"t":"byte","b":[76,172,79,152,24,101,252,133]},{"a":28614,"t":"byte","b":[252,144,2,198,253,165,252,56]},{"a":28622,"t":"byte","b":[233,1,133,252,176,2,198,253]},{"a":28630,"t":"byte","b":[104,168,32,39,80,32,116,78]},{"a":28638,"t":"byte","b":[160,0,152,145,252,160,128,145]},{"a":28646,"t":"byte","b":[252,230,253,160,0,145,252,200]},{"a":28654,"t":"byte","b":[145,252,200,145,252,169,63,133]},{"a":28662,"t":"byte","b":[252,169,86,133,253,32,43,89]},{"a":28670,"t":"byte","b":[96,169]},{"a":28672,"l":"tile_blocks","c":"the blocks the castle's floors are built from, sixteen bytes each: four tiles across and four down. A byte of a floor's description names one, and its address is $7000 plus sixteen times the byte.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28688,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":28696,"t":"byte","b":[5,5,5,5,0,0,0,0]},{"a":28704,"t":"byte","b":[66,65,0,0,65,66,0,0]},{"a":28712,"t":"byte","b":[66,65,0,0,65,66,0,0]},{"a":28720,"t":"byte","b":[0,0,0,0,0,40,41,0]},{"a":28728,"t":"byte","b":[0,42,43,0,0,0,0,0]},{"a":28736,"t":"byte","b":[76,77,0,0,78,79,76,77]},{"a":28744,"t":"byte","b":[76,77,78,79,78,79,76,77]},{"a":28752,"t":"byte","b":[76,77,78,79,78,79,76,77]},{"a":28760,"t":"byte","b":[76,77,78,79,78,79,0,0]},{"a":28768,"t":"byte","b":[76,77,78,79,78,79,76,77]},{"a":28776,"t":"byte","b":[76,77,78,79,78,79,76,77]},{"a":28784,"t":"byte","b":[0,0,0,0,0,28,29,0]},{"a":28792,"t":"byte","b":[0,30,31,0,0,0,0,0]},{"a":28800,"t":"byte","b":[0,0,0,0,3,32,33,0]},{"a":28808,"t":"byte","b":[4,35,34,0,7,5,2,0]},{"a":28816,"t":"byte","b":[0,0,0,0,0,20,21,0]},{"a":28824,"t":"byte","b":[0,22,23,0,0,0,0,0]},{"a":28832,"t":"byte","b":[75,75,75,75,75,75,75,75]},{"a":28840,"t":"byte","b":[75,75,75,75,75,75,75,75]},{"a":28848,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":28856,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":28864,"t":"byte","b":[0,7,5,5,0,0,0,0]},{"a":28872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28880,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":28888,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":28896,"t":"byte","b":[5,5,5,5,0,0,0,0]},{"a":28904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28912,"t":"byte","b":[5,5,5,6,0,0,0,4]},{"a":28920,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":28928,"t":"byte","b":[0,0,0,7,0,0,0,0]},{"a":28936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28952,"t":"byte","b":[0,0,0,0,0,0,8,0]},{"a":28960,"t":"byte","b":[5,5,5,2,0,0,0,0]},{"a":28968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":28976,"t":"byte","b":[18,19,18,19,18,19,18,19]},{"a":28984,"t":"byte","b":[18,19,18,19,18,19,18,19]},{"a":28992,"t":"byte","b":[0,0,0,0,0,16,17,0]},{"a":29000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29008,"t":"byte","b":[0,0,0,0,69,69,69,69]},{"a":29016,"t":"byte","b":[70,70,70,70,0,0,0,0]},{"a":29024,"t":"byte","b":[5,6,68,2,0,67,68,0]},{"a":29032,"t":"byte","b":[0,67,68,0,0,67,68,0]},{"a":29040,"t":"byte","b":[0,0,0,3,0,0,0,4]},{"a":29048,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":29056,"t":"byte","b":[0,0,0,0,71,71,71,71]},{"a":29064,"t":"byte","b":[72,72,72,72,0,0,0,0]},{"a":29072,"t":"byte","b":[5,6,74,2,0,73,74,0]},{"a":29080,"t":"byte","b":[0,73,74,0,0,73,74,0]},{"a":29088,"t":"byte","b":[4,65,66,65,71,66,65,66]},{"a":29096,"t":"byte","b":[6,65,66,65,4,66,65,66]},{"a":29104,"t":"byte","b":[4,65,66,65,69,66,65,66]},{"a":29112,"t":"byte","b":[6,65,66,65,4,66,65,66]},{"a":29120,"t":"byte","b":[0,73,74,0,65,66,65,66]},{"a":29128,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29136,"t":"byte","b":[0,67,68,0,65,66,65,66]},{"a":29144,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29152,"t":"byte","b":[0,0,0,0,0,0,0,4]},{"a":29160,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":29168,"t":"byte","b":[0,0,0,0,0,0,0,3]},{"a":29176,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":29184,"t":"byte","b":[7,5,5,6,0,0,0,4]},{"a":29192,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":29200,"t":"byte","b":[4,65,66,65,4,66,65,66]},{"a":29208,"t":"byte","b":[84,65,66,65,85,66,65,66]},{"a":29216,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":29224,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":29232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29240,"t":"byte","b":[84,84,84,84,85,85,85,85]},{"a":29248,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29256,"t":"byte","b":[5,6,66,65,0,4,65,66]},{"a":29264,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29272,"t":"byte","b":[66,65,5,5,65,66,0,0]},{"a":29280,"t":"byte","b":[66,65,0,0,65,66,0,0]},{"a":29288,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29296,"t":"byte","b":[0,4,66,65,0,4,65,66]},{"a":29304,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29312,"t":"byte","b":[0,4,66,65,0,4,65,66]},{"a":29320,"t":"byte","b":[0,4,66,65,0,4,65,66]},{"a":29328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29336,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29352,"t":"byte","b":[0,3,66,65,0,4,65,66]},{"a":29360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29368,"t":"byte","b":[66,65,0,0,65,66,0,0]},{"a":29376,"t":"byte","b":[66,65,0,0,65,66,0,0]},{"a":29384,"t":"byte","b":[5,2,0,0,0,0,0,0]},{"a":29392,"t":"byte","b":[0,4,66,65,0,4,65,66]},{"a":29400,"t":"byte","b":[0,7,5,5,0,0,0,0]},{"a":29408,"t":"byte","b":[114,110,112,110,115,111,113,111]},{"a":29416,"t":"byte","b":[114,110,112,110,115,111,113,111]},{"a":29424,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29432,"t":"byte","b":[112,110,112,110,113,111,113,111]},{"a":29440,"l":"figure_drawings","c":"the figures' drawings, sixteen tile codes each, two steps of the walk for each direction: $7300 and $7310 going down, $7320 and $7330 right, $7340 and $7350 up, $7360 and $7370 left. They are blocks $30 to $37 of the floor builder too, so a description byte $30 to $37 puts a figure on the map already drawn.","t":"byte","b":[63,63,63,63,123,124,125,126],"x":[25314,25321,25330,25337]},{"a":29448,"t":"byte","b":[122,127,128,129,63,189,187,188]},{"a":29456,"t":"byte","b":[63,63,63,63,123,124,125,126]},{"a":29464,"t":"byte","b":[130,131,132,133,185,186,190,63]},{"a":29472,"t":"byte","b":[134,135,142,63,136,137,174,121]},{"a":29480,"t":"byte","b":[138,139,144,63,140,141,63,63]},{"a":29488,"t":"byte","b":[134,135,177,63,136,137,178,63]},{"a":29496,"t":"byte","b":[138,139,179,191,140,141,190,63]},{"a":29504,"l":"tile_blocks_1b","c":"more of the blocks the floors are built from, from block $34","t":"byte","b":[171,172,63,63,161,162,163,164]},{"a":29512,"t":"byte","b":[157,158,159,160,63,118,118,63]},{"a":29520,"t":"byte","b":[63,63,169,170,165,166,167,168]},{"a":29528,"t":"byte","b":[157,158,159,160,63,118,118,63]},{"a":29536,"t":"byte","b":[63,181,147,146,63,184,148,149]},{"a":29544,"t":"byte","b":[120,183,151,150,63,182,153,152]},{"a":29552,"t":"byte","b":[63,181,147,146,119,156,148,149]},{"a":29560,"t":"byte","b":[63,155,151,150,63,154,153,152]},{"a":29568,"t":"byte","b":[0,7,5,6,0,0,0,4]},{"a":29576,"t":"byte","b":[0,0,0,7,0,0,0,0]},{"a":29584,"t":"byte","b":[5,2,0,0,0,0,0,0]},{"a":29592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29600,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29608,"t":"byte","b":[66,65,5,2,65,66,0,0]},{"a":29616,"t":"byte","b":[7,5,5,5,0,0,0,0]},{"a":29624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29632,"t":"byte","b":[5,6,68,5,0,67,68,0]},{"a":29640,"t":"byte","b":[0,67,68,0,0,67,68,0]},{"a":29648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29656,"t":"byte","b":[0,0,0,3,0,0,0,4]},{"a":29664,"t":"byte","b":[86,87,93,88,89,90,92,91]},{"a":29672,"t":"byte","b":[86,87,93,88,89,90,92,91]},{"a":29680,"t":"byte","b":[0,0,0,0,3,96,97,0]},{"a":29688,"t":"byte","b":[4,94,95,0,7,5,2,0]},{"a":29696,"l":"tile_blocks_2","c":"more of the blocks the floors are built from","t":"byte","b":[0,0,0,0,3,100,101,0]},{"a":29704,"t":"byte","b":[4,98,99,0,7,5,2,0]},{"a":29712,"t":"byte","b":[0,0,0,0,3,104,105,0]},{"a":29720,"t":"byte","b":[4,102,103,0,7,5,2,0]},{"a":29728,"t":"byte","b":[0,0,0,0,3,108,109,0]},{"a":29736,"t":"byte","b":[4,106,107,0,7,5,2,0]},{"a":29744,"t":"byte","b":[0,0,0,4,3,96,97,4]},{"a":29752,"t":"byte","b":[4,94,95,4,7,5,2,4]},{"a":29760,"t":"byte","b":[194,192,195,193,203,200,201,202]},{"a":29768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29776,"t":"byte","b":[75,75,75,75,75,75,75,75]},{"a":29784,"t":"byte","b":[75,75,75,75,198,197,196,199]},{"a":29792,"t":"byte","b":[0,0,0,0,65,66,65,66]},{"a":29800,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29808,"t":"byte","b":[7,5,5,6,0,0,0,4]},{"a":29816,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":29824,"t":"byte","b":[208,209,210,211,208,209,210,211]},{"a":29832,"t":"byte","b":[208,209,210,211,208,209,210,211]},{"a":29840,"t":"byte","b":[204,205,206,207,204,205,206,207]},{"a":29848,"t":"byte","b":[204,205,206,207,204,205,206,207]},{"a":29856,"t":"byte","b":[0,4,66,65,0,4,65,66]},{"a":29864,"t":"byte","b":[0,7,5,2,0,0,0,0]},{"a":29872,"t":"byte","b":[5,5,5,6,0,0,0,4]},{"a":29880,"t":"byte","b":[0,0,0,7,0,0,0,0]},{"a":29888,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":29896,"t":"byte","b":[5,5,5,6,0,0,0,4]},{"a":29904,"t":"byte","b":[85,65,66,65,85,66,65,66]},{"a":29912,"t":"byte","b":[85,65,66,65,85,66,65,66]},{"a":29920,"t":"byte","b":[4,65,66,65,4,66,65,66]},{"a":29928,"t":"byte","b":[4,65,66,65,4,66,65,66]},{"a":29936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":29944,"t":"byte","b":[0,0,0,0,228,228,228,228]},{"a":29952,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":29960,"t":"byte","b":[0,0,0,4,228,228,228,229]},{"a":29968,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":29976,"t":"byte","b":[0,0,0,7,0,0,0,0]},{"a":29984,"t":"byte","b":[0,3,66,65,0,4,65,66]},{"a":29992,"t":"byte","b":[0,7,5,5,0,0,0,0]},{"a":30000,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":30008,"t":"byte","b":[5,5,5,2,0,0,0,0]},{"a":30016,"t":"byte","b":[5,5,5,6,0,0,0,4]},{"a":30024,"t":"byte","b":[0,3,66,65,0,4,65,66]},{"a":30032,"t":"byte","b":[0,0,0,3,0,0,0,4]},{"a":30040,"t":"byte","b":[0,3,66,65,0,4,65,66]},{"a":30048,"t":"byte","b":[66,65,5,2,65,66,0,0]},{"a":30056,"t":"byte","b":[5,2,0,0,0,0,0,0]},{"a":30064,"t":"byte","b":[0,0,0,0,0,24,27,0]},{"a":30072,"t":"byte","b":[0,25,26,0,0,0,0,0]},{"a":30080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30088,"t":"byte","b":[56,57,58,59,52,48,49,53]},{"a":30096,"t":"byte","b":[54,50,51,55,75,75,75,75]},{"a":30104,"t":"byte","b":[75,75,75,75,75,75,75,75]},{"a":30112,"t":"byte","b":[110,112,110,112,111,113,111,113]},{"a":30120,"t":"byte","b":[110,112,110,112,111,113,111,113]},{"a":30128,"t":"byte","b":[0,0,0,0,3,110,112,0]},{"a":30136,"t":"byte","b":[4,111,113,0,7,5,2,0]},{"a":30144,"t":"byte","b":[86,87,88,0,89,90,92,0]},{"a":30152,"t":"byte","b":[86,87,88,0,89,90,92,0]},{"a":30160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30168,"t":"byte","b":[56,57,58,59,3,231,232,0]},{"a":30176,"t":"byte","b":[6,60,61,5,203,200,201,202]},{"a":30184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30192,"t":"byte","b":[6,60,61,2,203,200,201,202]},{"a":30200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30208,"t":"byte","b":[0,0,0,4,0,0,0,4]},{"a":30216,"t":"byte","b":[66,65,66,65,65,66,65,66]},{"a":30224,"t":"byte","b":[5,5,5,5,0,0,0,0]},{"a":30232,"t":"byte","b":[56,57,58,59,4,231,232,0]},{"a":30240,"t":"byte","b":[0,0,0,0,0,252,253,0]},{"a":30248,"t":"byte","b":[0,254,255,0,0,0,0,0]},{"a":30256,"t":"byte","b":[212,213,214,215,216,217,218,219]},{"a":30264,"t":"byte","b":[220,221,222,223,224,225,226,227]},{"a":30272,"t":"byte","b":[108,109,108,109,106,107,106,107]},{"a":30280,"t":"byte","b":[108,109,108,109,106,107,106,107]},{"a":30288,"t":"byte","b":[3,65,66,65,4,66,65,66]},{"a":30296,"t":"byte","b":[4,65,66,65,4,66,65,66]},{"a":30304,"t":"byte","b":[0,7,5,2,0,0,0,0]},{"a":30312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30320,"t":"byte","b":[5,5,5,5,3,108,109,0]},{"a":30328,"t":"byte","b":[4,106,107,0,7,5,2,0]},{"a":30336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30352,"t":"byte","b":[44,45,46,0,36,37,38,0]},{"a":30360,"t":"byte","b":[1,39,47,0,0,0,0,0]},{"a":30368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":30384,"t":"byte","b":[12,11,11,13,9,240,240,11]},{"a":30392,"t":"byte","b":[9,11,11,11,14,10,10,15]},{"a":30400,"t":"gap","n":2368},{"a":32768,"l":"autostart_header","c":"the cartridge signature the KERNAL looks for, which makes a reset and RESTORE restart the game: the cold start address $8010, the warm start address $8031, and the five bytes \"CBM80\" at $8004","t":"byte","b":[16,128,49,128],"d":["sprite_shapes_1a","autostart_filler"],"ta":[12560,32896],"note":"split table: 2 lo/hi pointers"},{"a":32772,"l":"cbm80_signature","c":"the five bytes $C3 $C2 $CD $38 $30, \"CBM\" with bit 7 set on each letter and \"80\" in plain ASCII, and the filler after them","t":"byte","b":[195,194,205,56,48,162,234,234]},{"a":32780,"t":"byte","b":[234,234,234,234]},{"a":32784,"l":"cold_start","c":"what a reset runs. Sets the stack up, clears decimal mode, calls the KERNAL's own set-up - IOINIT, RAMTAS, RESTOR and CINT - then puts six ASCII zeros in the score at $0819 and goes to the high score check at $0810, which leads back to the title screen.","t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":32786,"t":"code","b":[120],"m":"sei"},{"a":32787,"t":"code","b":[154],"m":"txs"},{"a":32788,"t":"code","b":[216],"m":"cld"},{"a":32789,"t":"code","b":[32,163,253],"m":"jsr","oa":64931,"o":"KERNAL_IOINITj"},{"a":32792,"t":"code","b":[32,80,253],"m":"jsr","oa":64848,"o":"KERNAL_RAMTASj"},{"a":32795,"t":"code","b":[32,21,253],"m":"jsr","oa":64789,"o":"kernal_restor"},{"a":32798,"t":"code","b":[32,91,255],"m":"jsr","oa":65371,"o":"KERNAL_CINTj"},{"a":32801,"t":"code","b":[88],"m":"cli"},{"a":32802,"l":"j_8022","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[32835]},{"a":32804,"l":"b_8024","t":"code","b":[169,48],"m":"lda","o":"#$30","x":[32812]},{"a":32806,"t":"code","b":[157,25,8],"m":"sta","oa":2073,"o":"score_digits,x"},{"a":32809,"t":"code","b":[232],"m":"inx"},{"a":32810,"t":"code","b":[224,6],"m":"cpx","o":"#$06"},{"a":32812,"t":"code","b":[208,246],"m":"bne","oa":32804,"o":"b_8024"},{"a":32814,"t":"code","b":[76,16,8],"m":"jmp","oa":2064,"o":"go_hiscore_check"},{"a":32817,"l":"warm_start","c":"what RESTORE runs, through the KERNAL's NMI handler. Sets the stack up, turns the raster interrupt off, turns every sprite off and the sound down, and joins the cold start at the score reset, so RESTORE abandons the game and starts the attract loop again.","t":"code","b":[120],"m":"sei"},{"a":32818,"t":"code","b":[216],"m":"cld"},{"a":32819,"t":"code","b":[162,254],"m":"ldx","o":"#$FE"},{"a":32821,"t":"code","b":[154],"m":"txs"},{"a":32822,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32824,"t":"code","b":[141,26,208],"m":"sta","o":"vic_irq_enable"},{"a":32827,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":32829,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":32832,"t":"code","b":[141,24,212],"m":"sta","o":"sid_filter_mode_volume"},{"a":32835,"t":"code","b":[76,34,128],"m":"jmp","oa":32802,"o":"j_8022"},{"a":32838,"l":"unreached_after_warm_start","c":"the bytes after the warm start's code, which nothing reaches","t":"byte","b":[26,234,234,234,234,234,234,234]},{"a":32846,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32854,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32862,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32870,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32878,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32886,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32894,"t":"byte","b":[234,234]},{"a":32896,"l":"autostart_filler","c":"the bytes after the autostart block's code, which are not reached","t":"byte","b":[234,234,234,234,234,234,234,234],"x":[32769]},{"a":32904,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32912,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32920,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32928,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32936,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32944,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32952,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32960,"l":"unreached_autostart_tail","c":"the last of the autostart block, which nothing reaches","t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32968,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32976,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32984,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":32992,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":33000,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":33008,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":33016,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":33024,"t":"gap","n":1280,"x":[24676,25112,25172,25362,27383,28368]},{"a":33024,"t":"note","l":"figure_x","c":"where each figure on this floor is, across the floor in tiles; one byte a figure","note":"outside the tracked image","x":[24676,25112,25172,25362,27383,28368]},{"a":33280,"t":"note","l":"figure_y","c":"where each figure on this floor is, down the floor in tiles; one byte a figure","note":"outside the tracked image","x":[24691,24953,25026,25395,27389,28379]},{"a":33536,"t":"note","l":"figure_place_lo","c":"the low byte of each figure's place in the castle map","note":"outside the tracked image","x":[24785,24854,24888,24956,24968,25029,25041,25102,25117,25175,25193,27372,28415]},{"a":33792,"t":"note","l":"figure_place_hi","c":"the high byte of each figure's place in the castle map","note":"outside the tracked image","x":[24790,24861,24893,24961,24973,25010,25034,25046,25107,25122,25180,25198,27377,28420]},{"a":34048,"t":"note","l":"figure_state","c":"each figure's state. The low three bits are the way it is going, 1 up, 2 down, 3 left, 4 right; the map builder starts it at 1 for description bytes $34 and $35, 2 for $30 and $31, 3 for $36 and $37 and 4 for $32 and $33, and $630B turns it towards the player. Bit 3 is the axis it steers on next, bit 4 which step of its walk is drawn, bit 5 is set once it is knocked down and bit 6 once it has been hit once.","note":"outside the tracked image","x":[24761,24846,24851,24874,24898,24986,24991,25059,25064,25135,25140,25211,25216,25223,25228,25355,25373,25380,25384,25391,25406,25413,25417,25424,25428,25433,25439,25444,25450,27367,28357,28386,28393,28398,28407,28412]},{"a":34304,"l":"tile_colours","c":"the colour of each tile of the play screen's character set, one byte a tile. The attract screens read it for the icons they show ($8600, $8610, $8612, $8614, $8618 to $861C, $8620, $8628 and $8666), and the castle's rooms are coloured from it.","t":"byte","b":[29,7,26,187,185,8,9,89],"x":[4437,18458]},{"a":34312,"t":"byte","b":[89,119,87,23,23,23,71,71]},{"a":34320,"l":"tile_colours_key","c":"the colours of the tiles a door key is drawn from","t":"byte","b":[79,79],"x":[5215]},{"a":34322,"l":"tile_colours_ammo","c":"the colours of the tiles a box of ammunition is drawn from","t":"byte","b":[77,61],"x":[5234]},{"a":34324,"l":"tile_colours_painting","c":"the colours of the tiles a painting is drawn from","t":"byte","b":[15,15,15,15],"x":[4808]},{"a":34328,"l":"tile_colours_vase_a","c":"the colour of the first tile of the vase, tile $18","t":"byte","b":[7],"x":[4843]},{"a":34329,"l":"tile_colours_vase_b","c":"the colour of the second tile of the vase","t":"byte","b":[85],"x":[4855]},{"a":34330,"l":"tile_colours_vase_c","c":"the colour of the third tile of the vase","t":"byte","b":[159],"x":[4861]},{"a":34331,"l":"tile_colours_vase_d","c":"the colour of the fourth tile of the vase","t":"byte","b":[41],"x":[4849]},{"a":34332,"l":"tile_colours_food","c":"the colours of the tiles the cold food is drawn from, tiles $1C to $1F","t":"byte","b":[31,31,25,29],"x":[5190]},{"a":34336,"l":"tile_colours_first_aid","c":"the colours of tiles $20 to $27; $20 is the first aid's first tile, whose colour the supplies screen reads","t":"byte","b":[42,74,26,74,71,71,55,71],"x":[5263]},{"a":34344,"l":"tile_colours_icon_byte","c":"more of the colour of each tile of the play character set. The attract screens read one byte of this stretch, $8628, for one of the pictures they show; the bytes for the others are spread across the whole table.","t":"byte","b":[31,31,31,47,23,87,55,23],"x":[4887]},{"a":34352,"t":"byte","b":[15,15,15,15,27,11,13,111]},{"a":34360,"t":"byte","b":[15,31,15,15,52,116,15,157]},{"a":34368,"t":"byte","b":[31,147,195,174,41,41,254,207]},{"a":34376,"t":"byte","b":[254,174,111,154,197,117,69,133]},{"a":34384,"t":"byte","b":[101,85,69,85,13,9,37,21]},{"a":34392,"t":"byte","b":[21,37,21,37,53,21,39,39]},{"a":34400,"t":"byte","b":[39,39,15,15,15,15]},{"a":34406,"l":"tile_colours_more","c":"more of the colour of each tile of the play character set","t":"byte","b":[15,15,15,15,15,15,15,15],"x":[4922]},{"a":34414,"t":"byte","b":[63,63,31,15,15,15,49,17]},{"a":34422,"t":"byte","b":[24,24,24,40,123,91,47,143]},{"a":34430,"t":"byte","b":[155,127,107,139,59,111,107,139]},{"a":34438,"t":"byte","b":[43,27,31,47,27,31,75,27]},{"a":34446,"t":"byte","b":[91,113,91,79,43,31,31,47]},{"a":34454,"t":"byte","b":[43,15,27,31,31,15,15,43]},{"a":34462,"t":"byte","b":[15,15,59,27,43,63,27,27]},{"a":34470,"l":"tile_colours_rest","c":"the rest of the colour of each tile of the play character set, one byte a tile","t":"byte","b":[43,111,15,31,15,15,59,33]},{"a":34478,"t":"byte","b":[107,33,63,91,91,91,79,63]},{"a":34486,"t":"byte","b":[15,15,15,10,10,10,13,25]},{"a":34494,"t":"byte","b":[28,24,31,27,27,31,15,15]},{"a":34502,"t":"byte","b":[27,111,15,15,15,15,15,47]},{"a":34510,"t":"byte","b":[31,31,15,15,31,111,13,13]},{"a":34518,"t":"byte","b":[13,13,13,13,13,13,13,13]},{"a":34526,"t":"byte","b":[13,13,13,13,13,13,29,29]},{"a":34534,"t":"byte","b":[22,36,20,15,15,15,15,15]},{"a":34542,"t":"byte","b":[15,7,23,39,7,23,23,23]},{"a":34550,"t":"byte","b":[23,23,55,39,23,23,85,69]},{"a":34558,"t":"byte","b":[85,117]},{"a":34560,"t":"gap","n":1280,"x":[26599,26617]},{"a":34560,"t":"note","l":"random_table","c":"256 random bytes, built at start-up from the sound chip's noise oscillator and read a byte at a time by $67F3","note":"outside the tracked image","x":[26599,26617]},{"a":35840,"l":"title_colours","c":"the title picture's screen colours, a thousand bytes, one for each character cell: the high and low halves of each give two of the colours the multicolour bitmap at $A000 draws that cell in. The tape loads them straight after the bitmap and before the five bytes it writes into the chips ($D011 = $0B, $DD00 = $95 for the video bank at $8000, $D018 = $38 for this screen and the bitmap, $D016 = $D8, $D011 = $3B), so the video chip reads them while the rest of the tape loads, and no instruction ever does (work/tapedecode.py).","t":"byte","b":[246,207,252,255,255,252,255,255]},{"a":35848,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":35856,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":35864,"t":"byte","b":[246,255,255,255,255,255,255,255]},{"a":35872,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":35880,"t":"byte","b":[255,241,241,241,241,193,241,241]},{"a":35888,"t":"byte","b":[241,241,241,241,241,241,255,241]},{"a":35896,"t":"byte","b":[241,241,241,241,241,241,241,255]},{"a":35904,"t":"byte","b":[241,241,255,241,241,241,241,241]},{"a":35912,"t":"byte","b":[241,241,255,255,255,255,255,255]},{"a":35920,"t":"byte","b":[255,241,241,241,241,193,31,241]},{"a":35928,"t":"byte","b":[255,241,241,241,241,241,255,241]},{"a":35936,"t":"byte","b":[241,241,241,241,241,241,241,255]},{"a":35944,"t":"byte","b":[241,241,255,241,241,241,241,241]},{"a":35952,"t":"byte","b":[241,241,241,241,255,241,255,255]},{"a":35960,"t":"byte","b":[255,255,255,255,255,255,255,243]},{"a":35968,"t":"byte","b":[0,0,3,3,227,227,62,3]},{"a":35976,"t":"byte","b":[3,227,227,227,227,87,87,87]},{"a":35984,"t":"byte","b":[87,87,87,87,87,87,87,87]},{"a":35992,"t":"byte","b":[7,7,87,7,0,0,0,0]},{"a":36000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36008,"t":"byte","b":[0,0,227,227,227,227,3,3]},{"a":36016,"t":"byte","b":[3,3,227,227,227,227,7,87]},{"a":36024,"t":"byte","b":[87,87,87,87,87,87,87,87]},{"a":36032,"t":"byte","b":[87,87,87,0,0,0,0,0]},{"a":36040,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36048,"t":"byte","b":[0,0,0,0,227,3,3,3]},{"a":36056,"t":"byte","b":[3,3,227,227,227,3,7,87]},{"a":36064,"t":"byte","b":[87,87,7,87,87,7,7,7]},{"a":36072,"t":"byte","b":[7,115,7,7,0,0,0,0]},{"a":36080,"t":"byte","b":[0,227,227,227,3,3,3,227]},{"a":36088,"t":"byte","b":[3,62,227,0,0,0,0,0]},{"a":36096,"t":"byte","b":[110,255,255,255,62,54,255,255]},{"a":36104,"t":"byte","b":[255,255,62,255,255,255,227,227]},{"a":36112,"t":"byte","b":[255,255,62,255,255,255,255,255]},{"a":36120,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":36128,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":36136,"t":"byte","b":[99,62,255,255,255,62,54,62]},{"a":36144,"t":"byte","b":[255,255,227,62,255,255,255,227]},{"a":36152,"t":"byte","b":[62,62,255,255,255,255,255,255]},{"a":36160,"t":"byte","b":[245,245,245,245,255,255,255,255]},{"a":36168,"t":"byte","b":[255,255,255,255,255,255,255,247]},{"a":36176,"t":"byte","b":[255,54,126,255,255,255,99,227]},{"a":36184,"t":"byte","b":[227,255,255,254,255,255,255,255]},{"a":36192,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":36200,"t":"byte","b":[249,249,249,249,150,245,255,255]},{"a":36208,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":36216,"t":"byte","b":[255,248,248,255,255,255,118,248]},{"a":36224,"t":"byte","b":[8,0,0,6,0,0,0,0]},{"a":36232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36240,"t":"byte","b":[0,0,0,0,0,9,118,0]},{"a":36248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36256,"t":"byte","b":[0,8,8,0,0,0,7,8]},{"a":36264,"t":"byte","b":[8,0,0,6,0,0,0,0]},{"a":36272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36280,"t":"byte","b":[0,0,0,0,0,0,151,134]},{"a":36288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36304,"t":"byte","b":[0,0,0,6,0,0,0,0]},{"a":36312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36320,"t":"byte","b":[0,0,0,0,0,0,5,134]},{"a":36328,"t":"byte","b":[0,0,0,0,0,0,181,0]},{"a":36336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36344,"t":"byte","b":[0,0,0,86,117,0,0,0]},{"a":36352,"t":"byte","b":[167,255,255,255,255,255,255,255]},{"a":36360,"t":"byte","b":[255,255,255,255,255,255,255,152]},{"a":36368,"t":"byte","b":[88,255,181,181,181,182,255,255]},{"a":36376,"t":"byte","b":[255,248,255,255,255,255,255,255]},{"a":36384,"t":"byte","b":[255,251,251,251,251,182,181,181]},{"a":36392,"t":"byte","b":[245,255,255,255,255,255,255,255]},{"a":36400,"t":"byte","b":[255,255,255,255,255,255,255,245]},{"a":36408,"t":"byte","b":[214,245,255,255,255,255,255,255]},{"a":36416,"t":"byte","b":[255,248,255,255,255,255,255,255]},{"a":36424,"t":"byte","b":[251,251,155,251,251,255,251,155]},{"a":36432,"t":"byte","b":[182,181,245,255,255,255,255,255]},{"a":36440,"t":"byte","b":[255,255,255,255,255,255,245,245]},{"a":36448,"t":"byte","b":[157,255,255,255,255,255,255,255]},{"a":36456,"t":"byte","b":[255,248,255,255,255,255,255,255]},{"a":36464,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":36472,"t":"byte","b":[251,251,182,181,181,245,255,255]},{"a":36480,"t":"byte","b":[0,0,0,0,0,9,133,138]},{"a":36488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36512,"t":"byte","b":[0,11,11,11,11,182,181,181]},{"a":36520,"t":"byte","b":[0,0,5,5,9,88,88,8]},{"a":36528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36552,"t":"byte","b":[0,0,0,11,11,11,11,0]},{"a":36560,"t":"byte","b":[0,0,0,0,0,89,152,8]},{"a":36568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36576,"t":"byte","b":[0,0,0,0,0,11,59,0]},{"a":36584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36592,"t":"byte","b":[0,0,0,11,0,0,0,0]},{"a":36600,"t":"byte","b":[0,0,0,0,0,9,137,0]},{"a":36608,"t":"byte","b":[102,255,255,255,255,255,255,255]},{"a":36616,"t":"byte","b":[255,255,255,49,49,27,246,255]},{"a":36624,"t":"byte","b":[255,255,255,254,255,62,230,230]},{"a":36632,"t":"byte","b":[254,254,254,255,254,255,254,255]},{"a":36640,"t":"byte","b":[255,255,255,255,255,249,249,255]},{"a":36648,"t":"byte","b":[255,255,255,255,255,251,251,251]},{"a":36656,"t":"byte","b":[251,49,49,179,255,255,255,255]},{"a":36664,"t":"byte","b":[255,255,255,99,62,99,110,62]},{"a":36672,"t":"byte","b":[110,62,110,254,99,246,99,246]},{"a":36680,"t":"byte","b":[251,251,183,255,248,137,152,255]},{"a":36688,"t":"byte","b":[255,255,255,255,255,255,251,59]},{"a":36696,"t":"byte","b":[49,179,245,251,251,251,255,255]},{"a":36704,"t":"byte","b":[255,255,255,246,255,246,254,254]},{"a":36712,"t":"byte","b":[254,254,254,254,254,246,99,99]},{"a":36720,"t":"byte","b":[251,251,183,123,181,251,181,251]},{"a":36728,"t":"byte","b":[251,255,255,255,255,195,195,193]},{"a":36736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36744,"t":"byte","b":[62,62,99,99,62,62,62,62]},{"a":36752,"t":"byte","b":[62,62,62,62,62,62,62,0]},{"a":36760,"t":"byte","b":[0,0,0,0,11,11,185,11]},{"a":36768,"t":"byte","b":[183,11,0,60,195,195,0,0]},{"a":36776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36784,"t":"byte","b":[62,99,54,62,62,54,14,54]},{"a":36792,"t":"byte","b":[14,62,6,62,62,62,62,0]},{"a":36800,"t":"byte","b":[0,137,137,150,6,0,107,107]},{"a":36808,"t":"byte","b":[107,107,59,195,60,0,0,0]},{"a":36816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":36824,"t":"byte","b":[14,0,54,14,14,99,14,6]},{"a":36832,"t":"byte","b":[14,14,14,14,227,6,54,0]},{"a":36840,"t":"gap","n":4120},{"a":36864,"t":"note","l":"castle_map","c":"the floor the player is on, built from its description into 128 tiles across by 128 down, one byte a tile. It is 16 kilobytes, which is why it lies over the title picture at $A000 and the RAM under the I/O area is used for the descriptions.","note":"outside the tracked image"},{"a":40960,"l":"title_picture","c":"the title picture's bitmap, 8000 bytes of multicolour bitmap loaded from the tape and shown while the rest of the tape loads: the castle on its crag with \"Into The Eagle's Nest...\" and the credits above it and PANDORA below. Once the game runs, the castle map is built over it.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":40968,"t":"byte","b":[0,0,0,0,0,14,63,255]},{"a":40976,"t":"byte","b":[0,0,0,0,0,31,253,252]},{"a":40984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":40992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41000,"t":"byte","b":[0,0,0,0,0,0,0,8]},{"a":41008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41016,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41032,"t":"byte","b":[0,0,0,0,0,1,31,255]},{"a":41040,"t":"byte","b":[0,0,0,0,0,223,255,255]},{"a":41048,"t":"byte","b":[0,0,0,0,0,211,71,15]},{"a":41056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41088,"t":"byte","b":[0,0,0,0,0,1,7,31]},{"a":41096,"t":"byte","b":[0,0,0,0,0,64,208,244]},{"a":41104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41128,"t":"byte","b":[0,0,0,0,0,48,112,240]},{"a":41136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41152,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":41160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41176,"t":"byte","b":[0,0,0,0,0,0,0,12]},{"a":41184,"t":"byte","b":[0,0,0,0,0,0,0,16]},{"a":41192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41216,"t":"byte","b":[0,0,0,0,0,0,0,1]},{"a":41224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":41280,"t":"byte","b":[0,0,15,63,63,255,255,252]},{"a":41288,"t":"byte","b":[0,255,255,255,255,207,19,99]},{"a":41296,"t":"byte","b":[8,24,40,40,40,40,40,40]},{"a":41304,"t":"byte","b":[0,243,200,26,42,200,200,200]},{"a":41312,"t":"byte","b":[0,15,147,164,168,24,200,200]},{"a":41320,"t":"byte","b":[8,24,26,42,200,200,200,200]},{"a":41328,"t":"byte","b":[0,252,49,6,201,200,200,200]},{"a":41336,"t":"byte","b":[0,63,79,147,164,100,24,200]},{"a":41344,"t":"byte","b":[2,252,255,255,255,255,255,255]},{"a":41352,"t":"byte","b":[2,24,36,32,32,32,32,36]},{"a":41360,"t":"byte","b":[96,163,163,163,163,163,147,79]},{"a":41368,"t":"byte","b":[2,242,242,242,242,242,242,242]},{"a":41376,"t":"byte","b":[0,207,35,100,168,24,8,8]},{"a":41384,"t":"byte","b":[0,195,20,105,154,134,130,136]},{"a":41392,"t":"byte","b":[0,255,255,63,79,79,63,255]},{"a":41400,"t":"byte","b":[0,241,242,242,242,242,242,242]},{"a":41408,"t":"byte","b":[102,138,74,10,10,10,10,73]},{"a":41416,"t":"byte","b":[104,19,3,164,164,0,60,60]},{"a":41424,"t":"byte","b":[0,195,20,106,170,134,130,130]},{"a":41432,"t":"byte","b":[0,252,241,6,10,8,8,8]},{"a":41440,"t":"byte","b":[0,63,79,163,163,99,35,35]},{"a":41448,"t":"byte","b":[32,35,35,32,32,32,32,32]},{"a":41456,"t":"byte","b":[0,195,20,105,154,134,130,136]},{"a":41464,"t":"byte","b":[0,252,252,63,79,79,63,255]},{"a":41472,"t":"byte","b":[128,124,49,198,200,200,201,202]},{"a":41480,"t":"byte","b":[0,63,67,164,147,15,147,99]},{"a":41488,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":41496,"t":"byte","b":[32,38,24,24,201,198,198,198]},{"a":41504,"t":"byte","b":[164,170,6,194,50,6,6,6]},{"a":41512,"t":"byte","b":[0,60,49,6,9,8,8,8]},{"a":41520,"t":"byte","b":[0,63,79,144,164,100,32,140]},{"a":41528,"t":"byte","b":[0,195,20,106,137,128,153,166]},{"a":41536,"t":"byte","b":[2,194,6,74,50,242,50,50]},{"a":41544,"t":"byte","b":[0,63,143,143,63,63,63,63]},{"a":41552,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":41560,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":41568,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":41576,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":41584,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":41592,"t":"byte","b":[0,0,240,252,252,255,255,255]},{"a":41600,"t":"byte","b":[252,252,252,255,255,255,255,255]},{"a":41608,"t":"byte","b":[163,160,104,42,26,192,255,255]},{"a":41616,"t":"byte","b":[36,35,147,143,79,63,255,255]},{"a":41624,"t":"byte","b":[200,25,42,25,196,243,255,255]},{"a":41632,"t":"byte","b":[200,25,42,25,196,243,255,255]},{"a":41640,"t":"byte","b":[200,25,42,26,193,252,255,255]},{"a":41648,"t":"byte","b":[4,134,133,57,48,255,255,255]},{"a":41656,"t":"byte","b":[200,24,100,147,79,63,255,255]},{"a":41664,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41672,"t":"byte","b":[40,26,202,242,252,255,255,255]},{"a":41680,"t":"byte","b":[63,63,128,169,100,3,255,255]},{"a":41688,"t":"byte","b":[242,198,202,6,241,252,255,255]},{"a":41696,"t":"byte","b":[8,72,136,72,8,200,24,35]},{"a":41704,"t":"byte","b":[163,147,164,105,21,192,255,255]},{"a":41712,"t":"byte","b":[255,255,63,79,63,255,255,255]},{"a":41720,"t":"byte","b":[242,241,252,255,255,255,255,255]},{"a":41728,"t":"byte","b":[132,163,168,42,198,240,255,255]},{"a":41736,"t":"byte","b":[252,252,0,164,131,63,255,255]},{"a":41744,"t":"byte","b":[130,146,170,102,17,204,255,255]},{"a":41752,"t":"byte","b":[8,9,74,70,48,241,198,241]},{"a":41760,"t":"byte","b":[35,32,96,160,35,35,147,143]},{"a":41768,"t":"byte","b":[32,100,168,100,19,207,255,255]},{"a":41776,"t":"byte","b":[163,147,164,105,21,192,255,255]},{"a":41784,"t":"byte","b":[255,255,63,79,63,255,255,255]},{"a":41792,"t":"byte","b":[196,192,25,198,241,252,255,255]},{"a":41800,"t":"byte","b":[35,35,35,83,143,63,255,255]},{"a":41808,"t":"byte","b":[255,255,255,252,255,255,255,255]},{"a":41816,"t":"byte","b":[198,25,36,105,26,192,255,255]},{"a":41824,"t":"byte","b":[6,6,198,6,66,60,255,255]},{"a":41832,"t":"byte","b":[10,9,74,134,49,252,255,255]},{"a":41840,"t":"byte","b":[60,60,65,148,83,15,255,255]},{"a":41848,"t":"byte","b":[66,2,146,101,24,195,255,255]},{"a":41856,"t":"byte","b":[50,6,10,6,240,255,255,255]},{"a":41864,"t":"byte","b":[15,83,147,143,79,63,255,255]},{"a":41872,"t":"byte","b":[255,243,196,217,196,243,255,255]},{"a":41880,"t":"byte","b":[255,252,241,246,241,252,255,255]},{"a":41888,"t":"byte","b":[255,255,60,125,60,255,255,255]},{"a":41896,"t":"byte","b":[255,63,79,159,79,63,255,255]},{"a":41904,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41912,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41920,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41928,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41936,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41944,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41952,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41960,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41968,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41976,"t":"byte","b":[255,255,255,255,255,255,239,255]},{"a":41984,"l":"title_picture_2","c":"the second kilobyte of the title picture's bitmap","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":41992,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42000,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42008,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42016,"t":"byte","b":[207,255,255,191,191,187,187,102]},{"a":42024,"t":"byte","b":[255,255,255,186,187,186,187,123]},{"a":42032,"t":"byte","b":[255,255,255,183,119,183,119,119]},{"a":42040,"t":"byte","b":[255,255,255,171,239,239,239,239]},{"a":42048,"t":"byte","b":[255,255,255,171,239,239,239,239]},{"a":42056,"t":"byte","b":[255,255,255,171,191,175,191,171]},{"a":42064,"t":"byte","b":[255,255,255,167,187,187,187,187]},{"a":42072,"t":"byte","b":[252,255,255,233,238,233,238,233]},{"a":42080,"t":"byte","b":[63,255,255,238,238,217,251,251]},{"a":42088,"t":"byte","b":[255,255,255,253,254,254,254,254]},{"a":42096,"t":"byte","b":[255,255,255,158,238,238,174,238]},{"a":42104,"t":"byte","b":[255,255,255,158,238,238,238,238]},{"a":42112,"t":"byte","b":[255,255,255,158,238,238,238,158]},{"a":42120,"t":"byte","b":[255,255,255,158,238,158,238,238]},{"a":42128,"t":"byte","b":[255,255,255,174,254,190,254,173]},{"a":42136,"t":"byte","b":[255,255,255,254,254,238,238,153]},{"a":42144,"t":"byte","b":[255,255,255,253,254,254,254,253]},{"a":42152,"t":"byte","b":[255,255,255,158,238,254,238,158]},{"a":42160,"t":"byte","b":[255,255,255,237,238,174,238,238]},{"a":42168,"t":"byte","b":[255,255,255,158,238,238,174,238]},{"a":42176,"t":"byte","b":[255,255,255,254,254,254,254,174]},{"a":42184,"t":"byte","b":[255,255,255,254,254,254,254,174]},{"a":42192,"t":"byte","b":[255,255,255,218,239,217,254,233]},{"a":42200,"t":"byte","b":[255,255,255,255,255,255,255,239]},{"a":42208,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42216,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42224,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42232,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42240,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42248,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42256,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42264,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42272,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42280,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42288,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42296,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42304,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42312,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42320,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42328,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42336,"t":"byte","b":[255,255,255,255,255,246,251,251]},{"a":42344,"t":"byte","b":[255,255,255,255,255,122,187,250]},{"a":42352,"t":"byte","b":[255,255,255,255,255,254,187,251]},{"a":42360,"t":"byte","b":[255,255,255,255,255,250,187,186]},{"a":42368,"t":"byte","b":[255,255,255,255,255,251,187,250]},{"a":42376,"t":"byte","b":[255,255,255,255,255,187,187,187]},{"a":42384,"t":"byte","b":[255,255,255,255,255,103,187,191]},{"a":42392,"t":"byte","b":[255,255,255,255,255,107,191,103]},{"a":42400,"t":"byte","b":[255,255,255,255,255,233,238,233]},{"a":42408,"t":"byte","b":[255,255,255,255,255,238,238,217]},{"a":42416,"t":"byte","b":[255,255,255,255,255,254,254,254]},{"a":42424,"t":"byte","b":[255,255,255,255,255,157,238,158]},{"a":42432,"t":"byte","b":[255,255,255,255,255,158,238,238]},{"a":42440,"t":"byte","b":[255,255,255,255,255,158,238,158]},{"a":42448,"t":"byte","b":[255,255,255,255,255,233,238,238]},{"a":42456,"t":"byte","b":[255,255,255,255,255,253,254,254]},{"a":42464,"t":"byte","b":[255,255,255,255,255,158,238,254]},{"a":42472,"t":"byte","b":[255,255,255,255,255,237,238,174]},{"a":42480,"t":"byte","b":[255,255,255,255,255,158,238,238]},{"a":42488,"t":"byte","b":[255,255,255,255,255,157,238,158]},{"a":42496,"t":"byte","b":[255,255,255,255,255,153,238,238]},{"a":42504,"t":"byte","b":[255,255,255,255,255,217,238,238]},{"a":42512,"t":"byte","b":[255,255,255,255,255,233,238,238]},{"a":42520,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42528,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42536,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42544,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42552,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42560,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42568,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42576,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42584,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42592,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42600,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42608,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42616,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42624,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42632,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42640,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42648,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42656,"t":"byte","b":[251,246,255,255,255,255,255,255]},{"a":42664,"t":"byte","b":[187,187,255,255,255,255,255,255]},{"a":42672,"t":"byte","b":[186,187,255,255,255,255,255,255]},{"a":42680,"t":"byte","b":[187,187,255,255,255,255,255,255]},{"a":42688,"t":"byte","b":[251,251,255,255,255,255,255,255]},{"a":42696,"t":"byte","b":[187,187,255,255,255,255,255,255]},{"a":42704,"t":"byte","b":[187,103,255,255,255,255,255,255]},{"a":42712,"t":"byte","b":[251,167,255,255,255,255,255,255]},{"a":42720,"t":"byte","b":[238,233,255,255,255,251,249,198]},{"a":42728,"t":"byte","b":[251,251,255,255,255,255,255,255]},{"a":42736,"t":"byte","b":[254,254,255,255,255,255,255,255]},{"a":42744,"t":"byte","b":[238,237,255,255,255,255,255,255]},{"a":42752,"t":"byte","b":[238,158,255,255,255,255,255,255]},{"a":42760,"t":"byte","b":[238,158,255,255,255,255,255,255]},{"a":42768,"t":"byte","b":[238,238,255,255,255,255,255,255]},{"a":42776,"t":"byte","b":[254,253,255,255,255,255,255,255]},{"a":42784,"t":"byte","b":[238,158,255,255,255,255,255,255]},{"a":42792,"t":"byte","b":[238,238,255,255,255,255,255,255]},{"a":42800,"t":"byte","b":[174,238,255,255,255,255,255,255]},{"a":42808,"t":"byte","b":[254,254,255,255,255,255,255,255]},{"a":42816,"t":"byte","b":[238,238,255,255,255,255,255,255]},{"a":42824,"t":"byte","b":[213,221,255,255,255,254,255,255]},{"a":42832,"t":"byte","b":[238,238,255,255,255,255,255,255]},{"a":42840,"t":"byte","b":[255,239,255,255,255,255,255,255]},{"a":42848,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42856,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42864,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42872,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42880,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42888,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42896,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42904,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42912,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42920,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42928,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42936,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42944,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42952,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42960,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42968,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42976,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42984,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":42992,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43000,"t":"byte","b":[255,255,255,255,255,252,252,240]},{"a":43008,"l":"title_picture_3","c":"the third kilobyte of the title picture's bitmap","t":"byte","b":[85,85,85,213,229,181,121,109]},{"a":43016,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43024,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43032,"t":"byte","b":[255,255,255,252,252,240,240,192]},{"a":43040,"t":"byte","b":[201,13,14,14,3,3,0,0]},{"a":43048,"t":"byte","b":[234,106,122,90,222,214,183,181]},{"a":43056,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43064,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43072,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43080,"t":"byte","b":[255,255,255,255,255,252,252,240]},{"a":43088,"t":"byte","b":[255,255,255,191,111,159,219,231]},{"a":43096,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43104,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43112,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43120,"t":"byte","b":[255,255,247,241,241,240,240,192]},{"a":43128,"t":"byte","b":[255,255,255,255,207,63,63,223]},{"a":43136,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43144,"t":"byte","b":[255,255,255,255,255,252,240,192]},{"a":43152,"t":"byte","b":[255,255,251,195,15,15,63,255]},{"a":43160,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43168,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43176,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43184,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43192,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43200,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43208,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43216,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43224,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43232,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43240,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43248,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43256,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43264,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43272,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43280,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43288,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43296,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43304,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43312,"t":"byte","b":[255,255,255,255,255,252,252,240]},{"a":43320,"t":"byte","b":[240,192,192,0,0,0,0,0]},{"a":43328,"t":"byte","b":[59,126,30,31,7,23,0,0]},{"a":43336,"t":"byte","b":[255,255,191,127,111,159,235,51]},{"a":43344,"t":"byte","b":[255,255,255,252,252,255,255,255]},{"a":43352,"t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":43360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43368,"t":"byte","b":[57,57,14,62,0,0,3,3]},{"a":43376,"t":"byte","b":[235,105,121,83,178,130,192,192]},{"a":43384,"t":"byte","b":[255,255,191,127,111,159,219,231]},{"a":43392,"t":"byte","b":[255,255,255,255,255,252,252,255]},{"a":43400,"t":"byte","b":[240,192,192,0,0,0,0,0]},{"a":43408,"t":"byte","b":[57,54,6,13,1,15,0,0]},{"a":43416,"t":"byte","b":[255,255,191,127,111,159,223,63]},{"a":43424,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43432,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43440,"t":"byte","b":[252,255,255,255,255,255,252,240]},{"a":43448,"t":"byte","b":[53,15,192,240,240,192,0,3]},{"a":43456,"t":"byte","b":[255,172,240,0,0,0,47,207]},{"a":43464,"t":"byte","b":[3,15,47,15,63,63,255,255]},{"a":43472,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43480,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43488,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43496,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43504,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43512,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43520,"t":"byte","b":[255,255,255,255,255,255,255,250]},{"a":43528,"t":"byte","b":[255,255,255,255,255,255,255,170]},{"a":43536,"t":"byte","b":[255,255,255,255,255,255,255,170]},{"a":43544,"t":"byte","b":[255,255,255,255,255,255,255,171]},{"a":43552,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43560,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43568,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43576,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43584,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43592,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43600,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43608,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43616,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43624,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43632,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":43640,"t":"byte","b":[0,0,0,0,0,12,8,12]},{"a":43648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43656,"t":"byte","b":[58,186,186,186,186,186,170,45]},{"a":43664,"t":"byte","b":[255,255,255,255,255,255,230,176]},{"a":43672,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43688,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":43696,"t":"byte","b":[192,192,192,192,192,236,199,192]},{"a":43704,"t":"byte","b":[57,54,0,15,55,55,167,13]},{"a":43712,"t":"byte","b":[255,255,255,255,255,255,255,167]},{"a":43720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43728,"t":"byte","b":[0,0,3,3,3,3,3,3]},{"a":43736,"t":"byte","b":[63,255,191,191,191,191,191,191]},{"a":43744,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43752,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43760,"t":"byte","b":[0,255,255,255,255,255,255,255]},{"a":43768,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43776,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43784,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43792,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43800,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43808,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43816,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43824,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43832,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43840,"t":"byte","b":[255,251,0,0,0,0,0,0]},{"a":43848,"t":"byte","b":[255,187,0,0,0,0,0,0]},{"a":43856,"t":"byte","b":[255,255,47,0,0,0,0,0]},{"a":43864,"t":"byte","b":[255,255,255,191,2,0,0,0]},{"a":43872,"t":"byte","b":[250,254,255,255,255,127,31,7]},{"a":43880,"t":"byte","b":[255,255,255,191,175,171,170,170]},{"a":43888,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43896,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43904,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43912,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43920,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43928,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43936,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43944,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":43952,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":43960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":43976,"t":"byte","b":[0,0,0,0,0,0,48,0]},{"a":43984,"t":"byte","b":[0,0,0,0,3,195,128,0]},{"a":43992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44008,"t":"byte","b":[3,0,3,0,3,0,0,0]},{"a":44016,"t":"byte","b":[192,128,208,144,192,128,128,128]},{"a":44024,"t":"byte","b":[0,0,0,48,32,0,0,0]},{"a":44032,"l":"title_picture_4","c":"the fourth kilobyte of the title picture's bitmap","t":"byte","b":[0,0,0,32,48,0,0,0]},{"a":44040,"t":"byte","b":[0,0,0,0,48,48,0,0]},{"a":44048,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":44056,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":44064,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44072,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44080,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44088,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44096,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44104,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44112,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44120,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44128,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44136,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44144,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44152,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44192,"t":"byte","b":[3,0,0,0,0,0,0,0]},{"a":44200,"t":"byte","b":[255,255,191,63,11,47,2,11]},{"a":44208,"t":"byte","b":[234,122,122,222,222,247,247,253]},{"a":44216,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44224,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44232,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44240,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44248,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44256,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44264,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44272,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":44280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44296,"t":"byte","b":[0,0,0,48,0,0,0,0]},{"a":44304,"t":"byte","b":[0,3,195,128,0,0,3,195]},{"a":44312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44336,"t":"byte","b":[192,224,224,192,0,192,0,192]},{"a":44344,"t":"byte","b":[0,0,48,32,0,0,0,0]},{"a":44352,"t":"byte","b":[0,0,32,48,0,0,0,0]},{"a":44360,"t":"byte","b":[0,0,0,48,48,0,0,0]},{"a":44368,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":44376,"t":"byte","b":[234,234,234,234,234,234,234,234]},{"a":44384,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44392,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44400,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44408,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44416,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44424,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44432,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44440,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44448,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44456,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44464,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44472,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44520,"t":"byte","b":[0,3,0,0,0,0,0,0]},{"a":44528,"t":"byte","b":[254,254,63,127,31,127,15,31]},{"a":44536,"t":"byte","b":[234,234,234,234,234,218,250,250]},{"a":44544,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44552,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44560,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44568,"t":"byte","b":[255,255,255,255,255,255,255,243]},{"a":44576,"t":"byte","b":[255,255,255,252,255,252,252,252]},{"a":44584,"t":"byte","b":[255,255,255,255,252,255,252,252]},{"a":44592,"t":"byte","b":[252,252,252,252,252,204,252,204]},{"a":44600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44616,"t":"byte","b":[48,0,0,0,0,0,0,0]},{"a":44624,"t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":44632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44656,"t":"byte","b":[0,192,0,192,0,192,0,0]},{"a":44664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44672,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44688,"t":"byte","b":[3,3,3,3,3,3,3,3]},{"a":44696,"t":"byte","b":[234,234,234,202,234,202,232,202]},{"a":44704,"t":"byte","b":[255,255,255,255,255,255,255,243]},{"a":44712,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44720,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44728,"t":"byte","b":[255,255,255,255,255,255,255,207]},{"a":44736,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44744,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44752,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44760,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44768,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44776,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44784,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44792,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44848,"t":"byte","b":[14,58,14,10,3,14,3,14]},{"a":44856,"t":"byte","b":[250,246,254,246,254,254,254,254]},{"a":44864,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44872,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":44880,"t":"byte","b":[255,255,255,255,255,255,252,207]},{"a":44888,"t":"byte","b":[255,243,243,243,243,195,240,195]},{"a":44896,"t":"byte","b":[204,252,192,204,192,12,192,0]},{"a":44904,"t":"byte","b":[204,252,204,12,192,12,192,0]},{"a":44912,"t":"byte","b":[204,204,192,12,192,0,40,144]},{"a":44920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":44992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45008,"t":"byte","b":[3,3,3,3,3,0,0,0]},{"a":45016,"t":"byte","b":[200,200,192,200,192,128,5,21]},{"a":45024,"t":"byte","b":[255,243,243,51,195,48,128,166]},{"a":45032,"t":"byte","b":[63,243,63,51,51,3,48,3]},{"a":45040,"t":"byte","b":[255,204,63,204,60,60,12,48]},{"a":45048,"t":"byte","b":[255,207,207,207,207,207,15,195]},{"a":45056,"l":"title_picture_5","c":"the fifth kilobyte of the title picture's bitmap","t":"byte","b":[255,255,255,255,255,63,255,63]},{"a":45064,"t":"byte","b":[255,255,255,255,255,255,255,63]},{"a":45072,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45080,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45088,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45096,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45104,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45112,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45168,"t":"byte","b":[3,0,3,0,0,0,0,0]},{"a":45176,"t":"byte","b":[254,191,254,127,255,127,63,95]},{"a":45184,"t":"byte","b":[255,255,255,255,255,191,127,127]},{"a":45192,"t":"byte","b":[255,255,255,255,255,255,255,252]},{"a":45200,"t":"byte","b":[252,204,204,204,192,194,41,128]},{"a":45208,"t":"byte","b":[240,192,50,201,36,144,0,0]},{"a":45216,"t":"byte","b":[202,41,144,0,0,0,0,0]},{"a":45224,"t":"byte","b":[207,244,0,0,0,0,0,0]},{"a":45232,"t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":45240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45320,"t":"byte","b":[0,0,0,2,0,0,12,0]},{"a":45328,"t":"byte","b":[0,0,0,203,178,203,46,188]},{"a":45336,"t":"byte","b":[46,187,236,187,46,139,14,32]},{"a":45344,"t":"byte","b":[255,255,187,47,250,195,0,0]},{"a":45352,"t":"byte","b":[252,255,127,247,93,119,0,1]},{"a":45360,"t":"byte","b":[12,0,160,170,154,105,22,152]},{"a":45368,"t":"byte","b":[15,195,12,3,128,168,106,6]},{"a":45376,"t":"byte","b":[255,63,51,63,51,12,0,128]},{"a":45384,"t":"byte","b":[252,63,252,60,60,60,60,48]},{"a":45392,"t":"byte","b":[255,255,255,255,255,255,243,255]},{"a":45400,"t":"byte","b":[255,255,207,255,207,207,207,207]},{"a":45408,"t":"byte","b":[255,207,255,207,207,207,207,207]},{"a":45416,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45424,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45432,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45440,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45456,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45496,"t":"byte","b":[234,58,234,58,234,58,238,58]},{"a":45504,"t":"byte","b":[234,250,251,244,253,247,253,247]},{"a":45512,"t":"byte","b":[242,232,128,0,0,0,0,0]},{"a":45520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45632,"t":"byte","b":[0,0,3,8,0,0,0,0]},{"a":45640,"t":"byte","b":[14,0,184,32,0,0,0,0]},{"a":45648,"t":"byte","b":[248,128,0,0,0,0,0,0]},{"a":45656,"t":"byte","b":[128,0,0,0,0,0,0,0]},{"a":45664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45672,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45680,"t":"byte","b":[2,0,12,0,0,0,0,0]},{"a":45688,"t":"byte","b":[238,184,3,0,2,12,0,2]},{"a":45696,"t":"byte","b":[240,124,63,31,193,12,1,196]},{"a":45704,"t":"byte","b":[12,48,12,128,160,104,154,6]},{"a":45712,"t":"byte","b":[51,243,51,243,51,195,51,128]},{"a":45720,"t":"byte","b":[15,195,15,195,15,195,3,195]},{"a":45728,"t":"byte","b":[207,207,195,15,195,15,195,15]},{"a":45736,"t":"byte","b":[63,255,63,255,63,15,15,15]},{"a":45744,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45752,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":45760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45808,"t":"byte","b":[0,0,0,0,3,2,3,14]},{"a":45816,"t":"byte","b":[238,58,238,186,170,235,172,176]},{"a":45824,"t":"byte","b":[252,228,176,208,64,0,0,0]},{"a":45832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45848,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":45992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46000,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46008,"t":"byte","b":[0,12,0,0,0,0,0,0]},{"a":46016,"t":"byte","b":[179,8,3,0,0,0,0,0]},{"a":46024,"t":"byte","b":[14,32,171,176,0,0,0,0]},{"a":46032,"t":"byte","b":[240,127,31,119,29,7,1,7]},{"a":46040,"t":"byte","b":[0,3,160,170,154,106,170,153]},{"a":46048,"t":"byte","b":[192,3,0,3,128,160,106,6]},{"a":46056,"t":"byte","b":[15,3,15,3,15,3,12,160]},{"a":46064,"t":"byte","b":[255,63,255,51,63,51,51,51]},{"a":46072,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":46080,"l":"title_picture_6","c":"the sixth kilobyte of the title picture's bitmap","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46104,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46112,"t":"byte","b":[0,0,0,0,0,0,0,15]},{"a":46120,"t":"byte","b":[0,0,0,3,15,62,248,130]},{"a":46128,"t":"byte","b":[58,235,172,176,195,13,193,13]},{"a":46136,"t":"byte","b":[192,0,0,192,128,64,128,64]},{"a":46144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46336,"t":"byte","b":[0,0,0,0,3,0,0,0]},{"a":46344,"t":"byte","b":[0,0,46,0,224,8,0,0]},{"a":46352,"t":"byte","b":[47,186,44,192,0,0,0,0]},{"a":46360,"t":"byte","b":[176,194,12,0,0,0,0,0]},{"a":46368,"t":"byte","b":[44,194,139,0,0,0,0,0]},{"a":46376,"t":"byte","b":[124,31,71,1,4,1,7,31]},{"a":46384,"t":"byte","b":[51,3,160,170,102,153,102,153]},{"a":46392,"t":"byte","b":[255,63,51,15,163,154,100,0]},{"a":46400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46408,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46416,"t":"byte","b":[0,0,0,14,0,0,0,0]},{"a":46424,"t":"byte","b":[0,14,224,0,0,0,0,0]},{"a":46432,"t":"byte","b":[248,128,0,0,0,0,0,0]},{"a":46440,"t":"byte","b":[0,195,131,194,131,193,179,193]},{"a":46448,"t":"byte","b":[194,142,130,78,66,78,66,78]},{"a":46456,"t":"byte","b":[192,128,192,128,192,128,192,128]},{"a":46464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46520,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46656,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46672,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46680,"t":"byte","b":[0,0,0,0,11,46,0,46]},{"a":46688,"t":"byte","b":[0,2,0,187,46,248,224,8]},{"a":46696,"t":"byte","b":[187,238,187,226,8,0,128,0]},{"a":46704,"t":"byte","b":[184,227,142,224,0,0,0,0]},{"a":46712,"t":"byte","b":[0,192,0,0,0,0,0,0]},{"a":46720,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46728,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46760,"t":"byte","b":[226,177,34,33,2,1,2,1]},{"a":46768,"t":"byte","b":[194,198,194,198,193,198,193,198]},{"a":46776,"t":"byte","b":[192,128,192,192,192,192,0,192]},{"a":46784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46848,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46888,"t":"byte","b":[0,0,0,0,2,3,10,8]},{"a":46896,"t":"byte","b":[0,32,144,240,224,128,16,160]},{"a":46904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":46984,"t":"byte","b":[0,0,3,0,0,192,0,0]},{"a":46992,"t":"byte","b":[0,12,0,0,0,0,0,0]},{"a":47000,"t":"byte","b":[192,2,32,0,0,0,0,0]},{"a":47008,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47016,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47024,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47032,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47040,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47048,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47056,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47064,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47080,"t":"byte","b":[2,3,2,3,2,3,2,3]},{"a":47088,"t":"byte","b":[194,201,194,202,194,202,194,202]},{"a":47096,"t":"byte","b":[0,192,0,0,0,0,0,0]},{"a":47104,"l":"title_picture_7","c":"the seventh kilobyte of the title picture's bitmap","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47112,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47120,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47128,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47192,"t":"byte","b":[0,0,0,0,0,0,1,6]},{"a":47200,"t":"byte","b":[0,0,1,6,25,103,156,112]},{"a":47208,"t":"byte","b":[2,162,96,224,128,0,0,0]},{"a":47216,"t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":47224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47280,"t":"byte","b":[3,0,0,0,0,0,0,0]},{"a":47288,"t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":47296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47384,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47400,"t":"byte","b":[2,3,2,3,2,3,2,3]},{"a":47408,"t":"byte","b":[194,200,194,200,192,192,192,192]},{"a":47416,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47424,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47432,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47440,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47456,"t":"byte","b":[0,0,0,0,3,0,0,0]},{"a":47464,"t":"byte","b":[0,0,0,0,0,59,0,11]},{"a":47472,"t":"byte","b":[0,0,0,0,192,187,14,11]},{"a":47480,"t":"byte","b":[0,0,0,0,0,186,255,187]},{"a":47488,"t":"byte","b":[0,0,0,0,0,238,255,226]},{"a":47496,"t":"byte","b":[0,0,0,0,0,240,193,6]},{"a":47504,"t":"byte","b":[0,0,1,6,25,103,156,112]},{"a":47512,"t":"byte","b":[46,185,228,144,64,0,0,0]},{"a":47520,"t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":47528,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47544,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47552,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47568,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47576,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47592,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47600,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47608,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47616,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47624,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47648,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47656,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47672,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47680,"t":"byte","b":[0,0,0,0,0,0,11,2]},{"a":47688,"t":"byte","b":[0,0,0,0,0,0,224,255]},{"a":47696,"t":"byte","b":[0,0,0,0,0,0,0,180]},{"a":47704,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47712,"t":"byte","b":[0,0,0,0,0,0,3,2]},{"a":47720,"t":"byte","b":[2,3,2,3,2,131,2,1]},{"a":47728,"t":"byte","b":[192,64,192,64,192,64,128,0]},{"a":47736,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47744,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47792,"t":"byte","b":[46,0,0,0,0,0,0,0]},{"a":47800,"t":"byte","b":[238,0,0,0,0,0,1,5]},{"a":47808,"t":"byte","b":[0,0,1,6,25,103,156,112]},{"a":47816,"t":"byte","b":[46,185,228,144,65,0,0,0]},{"a":47824,"t":"byte","b":[195,14,59,238,187,12,0,0]},{"a":47832,"t":"byte","b":[248,255,239,184,224,0,0,0]},{"a":47840,"t":"byte","b":[0,0,187,238,0,0,0,0]},{"a":47848,"t":"byte","b":[0,0,128,184,0,0,0,0]},{"a":47856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47928,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47936,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47944,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47952,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47960,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47968,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47976,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47984,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":47992,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48000,"t":"byte","b":[11,2,0,0,0,0,0,0]},{"a":48008,"t":"byte","b":[187,238,187,0,0,0,0,0]},{"a":48016,"t":"byte","b":[254,255,71,0,0,0,0,0]},{"a":48024,"t":"byte","b":[224,222,247,189,47,58,47,0]},{"a":48032,"t":"byte","b":[12,12,76,144,144,90,164,0]},{"a":48040,"t":"byte","b":[0,0,0,0,0,255,11,0]},{"a":48048,"t":"byte","b":[192,0,0,0,0,169,170,106]},{"a":48056,"t":"byte","b":[0,0,0,0,0,0,224,255]},{"a":48064,"t":"byte","b":[0,0,0,0,0,0,0,128]},{"a":48072,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48080,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48088,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48096,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48104,"t":"byte","b":[0,0,0,0,3,14,57,231]},{"a":48112,"t":"byte","b":[3,14,57,229,151,127,255,252]},{"a":48120,"t":"byte","b":[197,179,108,119,252,192,0,0]},{"a":48128,"l":"title_picture_8","c":"the last of the title picture's bitmap, which ends at $BF3F","t":"byte","b":[192,0,0,0,0,0,0,0]},{"a":48136,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48144,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48152,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48192,"t":"byte","b":[0,0,0,15,58,57,58,15]},{"a":48200,"t":"byte","b":[0,0,0,192,176,108,155,230]},{"a":48208,"t":"byte","b":[0,0,0,1,7,30,31,29]},{"a":48216,"t":"byte","b":[0,0,0,84,173,251,94,7]},{"a":48224,"t":"byte","b":[0,0,0,0,3,206,206,206]},{"a":48232,"t":"byte","b":[0,0,0,252,155,102,185,206]},{"a":48240,"t":"byte","b":[0,0,0,0,3,195,179,176]},{"a":48248,"t":"byte","b":[0,0,0,252,171,150,169,254]},{"a":48256,"t":"byte","b":[0,0,0,0,0,192,176,108]},{"a":48264,"t":"byte","b":[0,0,0,15,58,233,234,239]},{"a":48272,"t":"byte","b":[0,0,0,240,172,107,155,235]},{"a":48280,"t":"byte","b":[0,0,0,15,58,57,58,15]},{"a":48288,"t":"byte","b":[0,0,0,240,172,107,155,235]},{"a":48296,"t":"byte","b":[0,0,0,3,14,57,58,59]},{"a":48304,"t":"byte","b":[0,0,0,252,91,166,249,14]},{"a":48312,"t":"byte","b":[0,0,0,0,0,192,192,192]},{"a":48320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48352,"t":"byte","b":[0,0,0,14,0,0,0,0]},{"a":48360,"t":"byte","b":[0,0,0,238,187,2,0,0]},{"a":48368,"t":"byte","b":[7,0,0,0,119,221,119,29]},{"a":48376,"t":"byte","b":[255,191,47,11,130,226,248,254]},{"a":48384,"t":"byte","b":[208,244,253,255,255,215,65,0]},{"a":48392,"t":"byte","b":[0,0,0,128,224,224,128,40]},{"a":48400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48408,"t":"byte","b":[0,0,0,0,3,13,54,219]},{"a":48416,"t":"byte","b":[3,14,57,231,159,127,252,240]},{"a":48424,"t":"byte","b":[159,127,255,240,192,0,0,12]},{"a":48432,"t":"byte","b":[240,192,0,0,0,0,0,0]},{"a":48440,"t":"byte","b":[0,0,0,0,48,0,0,0]},{"a":48448,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48456,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48472,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48480,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48496,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48504,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48512,"t":"byte","b":[0,15,58,57,58,59,59,59]},{"a":48520,"t":"byte","b":[59,123,237,180,208,64,0,0]},{"a":48528,"t":"byte","b":[46,46,47,45,47,46,46,46]},{"a":48536,"t":"byte","b":[14,254,170,86,170,254,14,14]},{"a":48544,"t":"byte","b":[206,206,206,206,206,206,206,206]},{"a":48552,"t":"byte","b":[130,130,130,130,130,130,130,130]},{"a":48560,"t":"byte","b":[176,176,179,179,179,179,179,179]},{"a":48568,"t":"byte","b":[2,128,224,224,224,224,224,224]},{"a":48576,"t":"byte","b":[172,236,236,236,236,236,236,236]},{"a":48584,"t":"byte","b":[236,236,236,236,236,236,236,236]},{"a":48592,"t":"byte","b":[46,46,46,46,46,46,46,46]},{"a":48600,"t":"byte","b":[0,0,0,15,58,57,14,3]},{"a":48608,"t":"byte","b":[59,59,59,235,172,176,108,155]},{"a":48616,"t":"byte","b":[59,59,58,57,58,59,59,59]},{"a":48624,"t":"byte","b":[14,254,170,86,170,254,14,14]},{"a":48632,"t":"byte","b":[192,192,192,192,192,192,192,192]},{"a":48640,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48648,"t":"byte","b":[0,0,240,44,248,12,68,0]},{"a":48656,"t":"byte","b":[0,0,56,44,76,228,184,0]},{"a":48664,"t":"byte","b":[0,0,240,28,244,28,244,0]},{"a":48672,"t":"byte","b":[0,0,0,0,0,0,192,0]},{"a":48680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48688,"t":"byte","b":[11,2,0,0,0,0,0,0]},{"a":48696,"t":"byte","b":[184,224,2,11,15,47,190,251]},{"a":48704,"t":"byte","b":[2,47,255,255,255,187,238,187]},{"a":48712,"t":"byte","b":[254,255,255,255,255,255,255,191]},{"a":48720,"t":"byte","b":[2,137,230,250,250,254,254,255]},{"a":48728,"t":"byte","b":[159,127,255,252,240,192,0,0]},{"a":48736,"t":"byte","b":[224,244,13,0,0,0,0,0]},{"a":48744,"t":"byte","b":[48,192,0,0,0,0,0,0]},{"a":48752,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48760,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48768,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48776,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48832,"t":"byte","b":[59,59,59,12,0,0,0,0]},{"a":48840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48848,"t":"byte","b":[46,46,46,8,0,0,0,0]},{"a":48856,"t":"byte","b":[14,14,14,3,0,0,0,0]},{"a":48864,"t":"byte","b":[206,206,206,3,0,0,0,0]},{"a":48872,"t":"byte","b":[65,65,65,0,0,0,0,0]},{"a":48880,"t":"byte","b":[179,179,179,192,0,0,0,0]},{"a":48888,"t":"byte","b":[224,234,255,170,0,0,0,0]},{"a":48896,"t":"byte","b":[236,236,172,240,0,0,0,0]},{"a":48904,"t":"byte","b":[236,239,234,63,0,0,0,0]},{"a":48912,"t":"byte","b":[59,251,171,252,0,0,0,0]},{"a":48920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":48928,"t":"byte","b":[219,59,55,12,0,0,0,0]},{"a":48936,"t":"byte","b":[46,46,46,8,0,0,0,0]},{"a":48944,"t":"byte","b":[11,11,11,2,0,0,0,0]},{"a":48952,"t":"byte","b":[192,192,192,0,0,0,0,0]},{"a":48960,"t":"gap","n":4288},{"a":53248,"l":"floor_1_basement","c":"the basement's description, a kilobyte: 32 rows of 32 bytes, each naming one of the blocks at $7000","t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":53256,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":53264,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":53272,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":53280,"t":"byte","b":[11,14,14,15,11,14,15,69]},{"a":53288,"t":"byte","b":[10,14,14,15,11,14,14,14]},{"a":53296,"t":"byte","b":[14,14,14,14,15,11,14,14]},{"a":53304,"t":"byte","b":[15,11,62,14,14,15,11,11]},{"a":53312,"t":"byte","b":[11,8,51,13,11,20,16,68]},{"a":53320,"t":"byte","b":[18,51,54,13,11,49,66,0]},{"a":53328,"t":"byte","b":[49,66,54,0,16,22,99,8]},{"a":53336,"t":"byte","b":[67,11,18,63,7,13,11,11]},{"a":53344,"t":"byte","b":[11,20,0,13,11,51,3,51]},{"a":53352,"t":"byte","b":[0,9,0,13,11,0,49,54]},{"a":53360,"t":"byte","b":[0,54,0,0,31,29,9,7]},{"a":53368,"t":"byte","b":[67,11,62,62,19,13,11,11]},{"a":53376,"t":"byte","b":[11,66,0,13,11,11,11,11]},{"a":53384,"t":"byte","b":[11,24,26,11,11,49,0,0]},{"a":53392,"t":"byte","b":[0,0,53,0,13,11,11,11]},{"a":53400,"t":"byte","b":[11,11,62,62,19,13,11,11]},{"a":53408,"t":"byte","b":[11,17,0,16,14,14,14,14]},{"a":53416,"t":"byte","b":[18,0,59,15,11,0,0,49]},{"a":53424,"t":"byte","b":[55,0,0,66,13,11,14,15]},{"a":53432,"t":"byte","b":[62,62,14,18,0,13,11,11]},{"a":53440,"t":"byte","b":[11,0,0,51,0,52,0,0]},{"a":53448,"t":"byte","b":[0,52,9,13,11,0,50,0]},{"a":53456,"t":"byte","b":[0,0,23,11,11,11,87,16]},{"a":53464,"t":"byte","b":[14,18,0,49,54,13,11,11]},{"a":53472,"t":"byte","b":[11,11,24,26,11,11,11,11]},{"a":53480,"t":"byte","b":[11,11,11,11,11,50,0,66]},{"a":53488,"t":"byte","b":[0,0,13,11,14,18,0,0]},{"a":53496,"t":"byte","b":[54,0,49,66,0,13,11,11]},{"a":53504,"t":"byte","b":[11,18,0,59,14,15,11,46]},{"a":53512,"t":"byte","b":[15,46,46,15,11,11,11,11]},{"a":53520,"t":"byte","b":[21,27,11,11,0,0,0,54]},{"a":53528,"t":"byte","b":[0,53,0,0,54,13,11,11]},{"a":53536,"t":"byte","b":[11,46,51,48,51,13,11,18]},{"a":53544,"t":"byte","b":[13,46,18,16,14,15,11,18]},{"a":53552,"t":"byte","b":[0,59,60,18,53,0,0,0]},{"a":53560,"t":"byte","b":[54,23,62,54,20,13,11,11]},{"a":53568,"t":"byte","b":[11,46,62,51,52,13,11,49]},{"a":53576,"t":"byte","b":[16,18,0,48,0,13,11,53]},{"a":53584,"t":"byte","b":[0,31,29,0,0,0,0,23]},{"a":53592,"t":"byte","b":[62,62,62,23,46,46,11,11]},{"a":53600,"t":"byte","b":[11,46,46,51,52,16,22,0]},{"a":53608,"t":"byte","b":[48,0,0,0,48,13,11,53]},{"a":53616,"t":"byte","b":[53,13,11,11,11,21,27,11]},{"a":53624,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":53632,"t":"byte","b":[11,19,19,51,51,31,29,0]},{"a":53640,"t":"byte","b":[0,7,0,7,0,13,11,53]},{"a":53648,"t":"byte","b":[53,13,11,14,18,0,59,14]},{"a":53656,"t":"byte","b":[14,14,14,14,14,15,11,11]},{"a":53664,"t":"byte","b":[11,11,11,11,11,11,11,21]},{"a":53672,"t":"byte","b":[27,11,11,11,11,11,11,53]},{"a":53680,"t":"byte","b":[53,13,11,63,66,91,0,53]},{"a":53688,"t":"byte","b":[0,54,66,54,7,13,11,11]},{"a":53696,"t":"byte","b":[11,11,14,15,11,14,18,0]},{"a":53704,"t":"byte","b":[32,11,14,14,14,14,18,0]},{"a":53712,"t":"byte","b":[53,13,11,63,53,66,0,0]},{"a":53720,"t":"byte","b":[53,53,50,48,50,13,11,11]},{"a":53728,"t":"byte","b":[11,11,48,13,11,0,0,53]},{"a":53736,"t":"byte","b":[13,11,53,0,0,53,53,0]},{"a":53744,"t":"byte","b":[0,13,11,63,0,0,0,98]},{"a":53752,"t":"byte","b":[50,0,48,48,48,13,11,11]},{"a":53760,"t":"byte","b":[11,11,0,16,25,0,0,66]},{"a":53768,"t":"byte","b":[13,11,53,23,11,11,11,24]},{"a":53776,"t":"byte","b":[26,11,11,11,11,66,23,100]},{"a":53784,"t":"byte","b":[66,91,91,48,48,13,11,11]},{"a":53792,"t":"byte","b":[11,11,51,31,28,0,0,63]},{"a":53800,"t":"byte","b":[13,11,48,13,11,14,18,0]},{"a":53808,"t":"byte","b":[59,14,14,15,11,66,16,18]},{"a":53816,"t":"byte","b":[0,50,0,50,0,13,11,11]},{"a":53824,"t":"byte","b":[11,11,51,13,11,11,11,11]},{"a":53832,"t":"byte","b":[11,11,0,13,11,0,52,0]},{"a":53840,"t":"byte","b":[0,0,66,13,11,46,46,63]},{"a":53848,"t":"byte","b":[63,63,63,63,63,13,11,11]},{"a":53856,"t":"byte","b":[11,11,51,13,11,14,14,14]},{"a":53864,"t":"byte","b":[14,18,0,13,11,69,10,0]},{"a":53872,"t":"byte","b":[52,52,52,13,11,11,11,11]},{"a":53880,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":53888,"t":"byte","b":[11,11,51,13,11,91,91,91]},{"a":53896,"t":"byte","b":[51,0,48,13,11,68,18,0]},{"a":53904,"t":"byte","b":[52,52,52,13,11,46,46,46]},{"a":53912,"t":"byte","b":[14,14,14,14,14,15,11,11]},{"a":53920,"t":"byte","b":[11,11,0,13,11,46,46,46]},{"a":53928,"t":"byte","b":[47,48,23,11,11,0,0,0]},{"a":53936,"t":"byte","b":[53,0,66,13,11,14,14,18]},{"a":53944,"t":"byte","b":[55,54,54,0,66,13,11,11]},{"a":53952,"t":"byte","b":[11,11,0,13,11,14,14,14]},{"a":53960,"t":"byte","b":[18,0,13,11,18,0,23,11]},{"a":53968,"t":"byte","b":[11,11,11,11,11,70,70,70]},{"a":53976,"t":"byte","b":[0,0,0,49,91,13,11,11]},{"a":53984,"t":"byte","b":[11,11,0,13,11,51,0,51]},{"a":53992,"t":"byte","b":[0,0,13,11,87,0,16,60]},{"a":54000,"t":"byte","b":[14,14,14,14,14,14,15,11]},{"a":54008,"t":"byte","b":[53,0,52,0,48,13,11,11]},{"a":54016,"t":"byte","b":[11,11,0,13,11,0,52,0]},{"a":54024,"t":"byte","b":[7,0,13,11,0,52,31,29]},{"a":54032,"t":"byte","b":[54,0,0,20,0,0,13,11]},{"a":54040,"t":"byte","b":[87,51,50,0,7,13,11,11]},{"a":54048,"t":"byte","b":[11,11,0,13,11,11,11,11]},{"a":54056,"t":"byte","b":[11,24,26,11,11,11,11,11]},{"a":54064,"t":"byte","b":[11,11,11,11,11,24,26,11]},{"a":54072,"t":"byte","b":[11,11,11,21,27,11,11,11]},{"a":54080,"t":"byte","b":[11,11,52,16,14,14,14,14]},{"a":54088,"t":"byte","b":[18,0,59,14,14,14,14,14]},{"a":54096,"t":"byte","b":[14,15,11,14,18,0,59,14]},{"a":54104,"t":"byte","b":[15,11,18,0,59,15,11,11]},{"a":54112,"t":"byte","b":[11,11,0,0,0,0,0,54]},{"a":54120,"t":"byte","b":[0,54,0,0,0,0,0,0]},{"a":54128,"t":"byte","b":[0,13,11,53,53,3,0,0]},{"a":54136,"t":"byte","b":[16,22,0,53,53,67,11,11]},{"a":54144,"t":"byte","b":[11,11,11,11,0,0,101,1]},{"a":54152,"t":"byte","b":[1,1,1,1,1,1,36,24]},{"a":54160,"t":"byte","b":[26,11,11,46,91,0,53,0]},{"a":54168,"t":"byte","b":[31,29,0,3,53,67,11,11]},{"a":54176,"t":"byte","b":[11,11,11,11,35,35,33,0]},{"a":54184,"t":"byte","b":[88,0,51,51,0,0,102,0]},{"a":54192,"t":"byte","b":[59,15,11,46,62,92,53,91]},{"a":54200,"t":"byte","b":[13,11,19,7,0,67,11,11]},{"a":54208,"t":"byte","b":[11,11,11,11,34,34,77,23]},{"a":54216,"t":"byte","b":[89,10,63,91,61,47,47,47]},{"a":54224,"t":"byte","b":[63,13,11,62,62,62,19,62]},{"a":54232,"t":"byte","b":[13,11,63,63,63,13,11,11]},{"a":54240,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54248,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54256,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54264,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54272,"l":"floor_2_ground","c":"the ground floor's description, in the same form","t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54280,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54288,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54296,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54304,"t":"byte","b":[11,14,14,15,11,97,97,14]},{"a":54312,"t":"byte","b":[14,14,14,14,14,15,11,14]},{"a":54320,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":54328,"t":"byte","b":[14,14,14,14,14,14,15,11]},{"a":54336,"t":"byte","b":[11,72,7,13,11,10,69,10]},{"a":54344,"t":"byte","b":[55,55,7,19,19,13,11,48]},{"a":54352,"t":"byte","b":[61,41,43,91,91,91,53,0]},{"a":54360,"t":"byte","b":[66,53,49,54,0,48,13,11]},{"a":54368,"t":"byte","b":[11,73,99,13,11,14,68,18]},{"a":54376,"t":"byte","b":[55,0,0,19,3,13,11,53]},{"a":54384,"t":"byte","b":[13,11,2,91,0,55,91,91]},{"a":54392,"t":"byte","b":[0,91,0,0,48,0,13,11]},{"a":54400,"t":"byte","b":[11,18,55,13,11,11,11,0]},{"a":54408,"t":"byte","b":[23,11,11,11,11,11,11,48]},{"a":54416,"t":"byte","b":[13,11,2,91,53,55,54,0]},{"a":54424,"t":"byte","b":[52,91,55,52,53,66,13,11]},{"a":54432,"t":"byte","b":[11,55,50,16,60,14,18,0]},{"a":54440,"t":"byte","b":[16,14,14,14,14,14,18,53]},{"a":54448,"t":"byte","b":[13,11,2,52,0,55,0,0]},{"a":54456,"t":"byte","b":[0,66,55,55,53,54,13,11]},{"a":54464,"t":"byte","b":[11,55,55,31,29,41,41,41]},{"a":54472,"t":"byte","b":[0,61,41,0,0,0,0,0]},{"a":54480,"t":"byte","b":[13,11,2,66,0,52,0,53]},{"a":54488,"t":"byte","b":[55,0,55,0,52,98,13,11]},{"a":54496,"t":"byte","b":[11,1,1,1,1,1,1,36]},{"a":54504,"t":"byte","b":[55,13,11,1,1,1,1,1]},{"a":54512,"t":"byte","b":[1,1,44,0,0,0,52,0]},{"a":54520,"t":"byte","b":[0,54,91,91,23,100,13,11]},{"a":54528,"t":"byte","b":[11,7,8,91,3,8,7,40]},{"a":54536,"t":"byte","b":[0,13,11,19,19,7,51,51]},{"a":54544,"t":"byte","b":[51,53,0,50,0,0,0,0]},{"a":54552,"t":"byte","b":[52,0,9,91,13,100,13,11]},{"a":54560,"t":"byte","b":[11,7,23,11,11,11,7,40]},{"a":54568,"t":"byte","b":[48,13,11,62,62,17,51,51]},{"a":54576,"t":"byte","b":[51,0,53,0,0,0,50,0]},{"a":54584,"t":"byte","b":[20,23,90,23,100,100,13,11]},{"a":54592,"t":"byte","b":[11,49,13,11,11,11,49,40]},{"a":54600,"t":"byte","b":[0,13,11,11,11,11,11,11]},{"a":54608,"t":"byte","b":[11,11,11,11,11,24,26,11]},{"a":54616,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54624,"t":"byte","b":[11,49,16,14,14,18,49,40]},{"a":54632,"t":"byte","b":[55,16,14,14,14,14,14,15]},{"a":54640,"t":"byte","b":[11,14,14,14,18,0,59,14]},{"a":54648,"t":"byte","b":[14,14,14,14,14,14,15,11]},{"a":54656,"t":"byte","b":[11,66,49,50,50,53,66,40]},{"a":54664,"t":"byte","b":[0,0,50,0,0,0,0,13]},{"a":54672,"t":"byte","b":[11,19,50,0,0,0,0,52]},{"a":54680,"t":"byte","b":[55,55,54,0,0,54,13,11]},{"a":54688,"t":"byte","b":[11,66,49,50,50,50,53,45]},{"a":54696,"t":"byte","b":[36,11,11,11,11,11,48,13]},{"a":54704,"t":"byte","b":[11,3,0,0,0,50,0,23]},{"a":54712,"t":"byte","b":[11,11,21,27,11,51,13,11]},{"a":54720,"t":"byte","b":[11,66,49,19,19,53,53,4]},{"a":54728,"t":"byte","b":[12,14,14,14,14,18,0,13]},{"a":54736,"t":"byte","b":[11,11,11,11,11,0,53,13]},{"a":54744,"t":"byte","b":[11,18,0,32,11,51,13,11]},{"a":54752,"t":"byte","b":[11,66,0,19,19,53,53,5]},{"a":54760,"t":"byte","b":[4,4,0,50,0,50,0,16]},{"a":54768,"t":"byte","b":[14,14,14,14,18,50,0,13]},{"a":54776,"t":"byte","b":[11,20,7,13,11,51,13,11]},{"a":54784,"t":"byte","b":[11,66,50,50,50,50,50,53]},{"a":54792,"t":"byte","b":[5,5,0,0,50,0,50,0]},{"a":54800,"t":"byte","b":[55,0,55,0,55,0,50,13]},{"a":54808,"t":"byte","b":[11,63,63,13,11,51,13,11]},{"a":54816,"t":"byte","b":[11,0,66,0,66,0,66,23]},{"a":54824,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54832,"t":"byte","b":[11,11,0,23,11,11,11,11]},{"a":54840,"t":"byte","b":[11,11,11,11,11,2,13,11]},{"a":54848,"t":"byte","b":[11,1,1,1,1,1,1,1]},{"a":54856,"t":"byte","b":[36,14,14,14,14,14,60,14]},{"a":54864,"t":"byte","b":[14,18,51,16,14,14,14,14]},{"a":54872,"t":"byte","b":[14,14,14,14,15,2,13,11]},{"a":54880,"t":"byte","b":[11,63,3,63,0,63,0,63]},{"a":54888,"t":"byte","b":[40,51,0,93,51,31,29,0]},{"a":54896,"t":"byte","b":[51,53,51,51,51,51,61,47]},{"a":54904,"t":"byte","b":[53,0,0,0,13,2,13,11]},{"a":54912,"t":"byte","b":[11,63,0,63,53,63,0,63]},{"a":54920,"t":"byte","b":[40,23,69,10,51,13,11,23]},{"a":54928,"t":"byte","b":[72,73,23,72,63,23,46,46]},{"a":54936,"t":"byte","b":[3,19,19,0,13,2,13,11]},{"a":54944,"t":"byte","b":[11,63,51,0,53,0,0,63]},{"a":54952,"t":"byte","b":[40,16,68,18,0,13,11,11]},{"a":54960,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":54968,"t":"byte","b":[11,11,11,11,11,2,13,11]},{"a":54976,"t":"byte","b":[11,63,51,51,51,51,0,0]},{"a":54984,"t":"byte","b":[40,8,20,51,52,13,11,14]},{"a":54992,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":55000,"t":"byte","b":[14,60,14,14,14,57,13,11]},{"a":55008,"t":"byte","b":[11,11,11,11,11,11,21,27]},{"a":55016,"t":"byte","b":[11,11,11,0,52,13,11,20]},{"a":55024,"t":"byte","b":[53,0,51,0,50,50,51,50]},{"a":55032,"t":"byte","b":[31,29,70,70,70,43,13,11]},{"a":55040,"t":"byte","b":[11,14,14,14,14,18,0,59]},{"a":55048,"t":"byte","b":[14,15,11,11,11,11,11,11]},{"a":55056,"t":"byte","b":[11,11,0,50,51,50,50,50]},{"a":55064,"t":"byte","b":[13,11,14,14,15,2,13,11]},{"a":55072,"t":"byte","b":[11,19,0,0,0,0,0,0]},{"a":55080,"t":"byte","b":[0,16,14,14,14,14,14,14]},{"a":55088,"t":"byte","b":[15,11,11,11,11,11,24,26]},{"a":55096,"t":"byte","b":[11,11,50,52,16,57,13,11]},{"a":55104,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55112,"t":"byte","b":[0,0,0,0,53,53,0,0]},{"a":55120,"t":"byte","b":[16,14,14,14,14,18,0,59]},{"a":55128,"t":"byte","b":[15,11,50,50,61,43,13,11]},{"a":55136,"t":"byte","b":[11,14,14,14,14,14,75,1]},{"a":55144,"t":"byte","b":[1,36,24,26,11,11,11,53]},{"a":55152,"t":"byte","b":[53,0,0,0,0,0,0,19]},{"a":55160,"t":"byte","b":[13,11,52,50,13,2,13,11]},{"a":55168,"t":"byte","b":[11,20,9,0,0,0,0,50]},{"a":55176,"t":"byte","b":[0,102,0,59,14,15,11,11]},{"a":55184,"t":"byte","b":[11,21,27,11,11,1,1,1]},{"a":55192,"t":"byte","b":[1,1,1,36,1,44,13,11]},{"a":55200,"t":"byte","b":[11,20,23,11,35,35,33,50]},{"a":55208,"t":"byte","b":[0,50,50,50,52,13,11,14]},{"a":55216,"t":"byte","b":[18,0,59,15,11,87,63,63]},{"a":55224,"t":"byte","b":[50,50,50,74,50,50,13,11]},{"a":55232,"t":"byte","b":[11,52,13,11,34,34,77,23]},{"a":55240,"t":"byte","b":[72,0,52,23,90,13,11,20]},{"a":55248,"t":"byte","b":[0,0,0,13,11,19,19,19]},{"a":55256,"t":"byte","b":[87,66,50,50,53,63,13,11]},{"a":55264,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55272,"t":"byte","b":[11,11,11,11,11,11,11,79]},{"a":55280,"t":"byte","b":[79,79,79,80,11,11,11,11]},{"a":55288,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55296,"l":"floor_3_first","c":"the first floor's description, in the same form","t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55304,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55312,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55320,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55328,"t":"byte","b":[11,14,14,14,14,14,14,14]},{"a":55336,"l":"f_D828","c":"colour memory for row 1, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":55344,"t":"byte","b":[14,14,84,11,14,14,15,11]},{"a":55352,"t":"byte","b":[14,14,14,14,14,14,15,11]},{"a":55360,"t":"byte","b":[11,63,63,63,19]},{"a":55365,"l":"f_D845","c":"colour memory for row 1, column 29 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[19,7,9,87,8,61,41,49]},{"a":55373,"t":"byte","b":[49,49,49]},{"a":55376,"l":"f_D850","c":"colour memory for row 2, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[49,85,11,86,48,19,13,11]},{"a":55384,"t":"byte","b":[100,100,100,100,9,8,13,11]},{"a":55392,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55400,"t":"byte","b":[11,11,11,11,49,49,49,49]},{"a":55408,"t":"byte","b":[85,11,86,48,48,48,13,11]},{"a":55416,"l":"f_D878","c":"colour memory for row 3, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14,14,14,18,0,20,13,11]},{"a":55424,"t":"byte","b":[11,14,14,14,14,14,14,14]},{"a":55432,"t":"byte","b":[14,14,14,18,54,54,49,85]},{"a":55440,"t":"byte","b":[11,86,0,50,91,91,13,11]},{"a":55448,"t":"byte","b":[51,51,51,0]},{"a":55452,"l":"a_D89C","c":"colour memory for row 3, column 36 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[66]},{"a":55453,"l":"a_D89D","c":"colour memory for row 3, column 37 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[98]},{"a":55454,"l":"a_D89E","c":"colour memory for row 3, column 38 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[13,11]},{"a":55456,"l":"f_D8A0","c":"colour memory for row 4, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,0,0,19,54,0,54,7]},{"a":55464,"t":"byte","b":[49,0,54,54,54,54,85,11]},{"a":55472,"t":"byte","b":[86,50,23,46,23,46,13,11]},{"a":55480,"t":"byte","b":[51,51,23,100,100,100,13,11]},{"a":55488,"t":"byte","b":[11,0,23,11,11,11]},{"a":55494,"l":"a_D8C6","c":"colour memory for row 4, column 38 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,11]},{"a":55496,"l":"f_D8C8","c":"colour memory for row 5, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55504,"t":"byte","b":[50,54,16,18,16,18,13,11]},{"a":55512,"t":"byte","b":[11,0,13,11,11,11,11,11]},{"a":55520,"t":"byte","b":[11,0,13,11,14,14,15,72]},{"a":55528,"t":"byte","b":[73,62,14,75]},{"a":55532,"l":"a_D8EC","c":"colour memory for row 5, column 36 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[83]},{"a":55533,"l":"a_D8ED","c":"colour memory for row 5, column 37 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14]},{"a":55534,"l":"a_D8EE","c":"colour memory for row 5, column 38 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14,18]},{"a":55536,"l":"f_D8F0","c":"colour memory for row 6, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[0,0,0,54,0,0,16,14]},{"a":55544,"t":"byte","b":[18,0,16,14,14,14,15,11]},{"a":55552,"l":"f_D900","c":"colour memory for row 6, column 16 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,49,16,25,23,72,16,15]},{"a":55560,"t":"byte","b":[72,18,50,0,0,54,54,54]},{"a":55568,"t":"byte","b":[0,0,0,0,0,0]},{"a":55574,"l":"a_D916","c":"colour memory for row 6, column 38 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[0,0]},{"a":55576,"l":"f_D918","c":"colour memory for row 7, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[0,0,54,54,54]},{"a":55581,"l":"a_D91D","c":"colour memory for row 7, column 5 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[54]},{"a":55582,"l":"f_D91E","c":"colour memory for row 7, column 6 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[13,11,11,0,31,28,16,18]},{"a":55590,"t":"byte","b":[0,16,18,51,0,23,11,11]},{"a":55598,"t":"byte","b":[11,11,11,11,24,26,11,11]},{"a":55606,"t":"byte","b":[11,11,11,11]},{"a":55610,"l":"a_D93A","c":"colour memory for row 7, column 34 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,11]},{"a":55612,"l":"a_D93C","c":"colour memory for row 7, column 36 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11]},{"a":55613,"l":"a_D93D","c":"colour memory for row 7, column 37 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11]},{"a":55614,"l":"a_D93E","c":"colour memory for row 7, column 38 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,11]},{"a":55616,"l":"f_D940","c":"colour memory for row 8, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,49,13,11,50,0,48,50]},{"a":55624,"t":"byte","b":[0,0,91,13,11,14,14,14]},{"a":55632,"t":"byte","b":[14,18,0,59,14,97,97,97]},{"a":55640,"t":"byte","b":[97,97,14,14,97,97,15,11]},{"a":55648,"t":"byte","b":[11,0,13,11,91,50]},{"a":55654,"l":"a_D966","c":"colour memory for row 8, column 38 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[20,50]},{"a":55656,"l":"f_D968","c":"colour memory for row 9, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[23,90,46,13,11,93,93,88]},{"a":55664,"t":"byte","b":[93,51,49,49,23,10,10,69]},{"a":55672,"t":"byte","b":[10,10,49,23,10,69,10,11]},{"a":55680,"t":"byte","b":[11,49,13,11,19,19,23,46]},{"a":55688,"t":"byte","b":[13,90,92,13,11,69]},{"a":55694,"l":"a_D98E","c":"colour memory for row 9, column 38 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[10,89]},{"a":55696,"l":"f_D990","c":"colour memory for row 10, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[10,7,49,49,16,94,94,68]},{"a":55704,"t":"byte","b":[94,95,49,16,94,68,15,11]},{"a":55712,"t":"byte","b":[11,0,13,11,11,11,11,11]},{"a":55720,"t":"byte","b":[11,11,11,11,11,68,94]},{"a":55727,"l":"f_D9AF","c":"colour memory for row 10, column 31 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[94,95,0,0,0,0,93,88]},{"a":55735,"t":"byte","b":[93]},{"a":55736,"l":"f_D9B8","c":"colour memory for row 11, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[88,93,0,0,88,8,13,11]},{"a":55744,"t":"byte","b":[11,0,16,14,14,14,14,14]},{"a":55752,"t":"byte","b":[14,14,15,11,18,93,88,93]},{"a":55760,"t":"byte","b":[93,49,0,0,23,10,89,10]},{"a":55768,"t":"byte","b":[89,10,53,23,89]},{"a":55773,"l":"a_D9DD","c":"colour memory for row 11, column 37 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[10,10,11]},{"a":55776,"l":"f_D9E0","c":"colour memory for row 12, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,0,0,0,0,50]},{"a":55782,"l":"f_D9E6","c":"colour memory for row 12, column 6 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[51,50,51,0,13,11,23,69]},{"a":55790,"t":"byte","b":[89,69,10,17,50,53,13,10]},{"a":55798,"t":"byte","b":[69,10,10,10,0,13,10,69]},{"a":55806,"t":"byte","b":[10,11]},{"a":55808,"l":"f_DA00","c":"colour memory for row 12, column 32 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":55816,"l":"f_DA08","c":"colour memory for row 13, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,51,13,11,16,68,94,68]},{"a":55824,"l":"a_DA10","c":"colour memory for row 13, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[95]},{"a":55825,"l":"a_DA11","c":"colour memory for row 13, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[0,50,50,16,94,68,94,94]},{"a":55833,"t":"byte","b":[95,0,16,94,68,15,11,11]},{"a":55841,"t":"byte","b":[14,14,14,14,14,14,14,18]},{"a":55849,"t":"byte","b":[51,13,11,41,41,41,41]},{"a":55856,"l":"f_DA30","c":"colour memory for row 14, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[41,41,41,41,41,41,41,41]},{"a":55864,"l":"a_DA38","c":"colour memory for row 14, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[41]},{"a":55865,"l":"a_DA39","c":"colour memory for row 14, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[41,41,41,41,41,96,11,11]},{"a":55873,"t":"byte","b":[0,0,54,54,54,66,19,51]},{"a":55881,"t":"byte","b":[54,13,11,14,14,14,14,14]},{"a":55889,"t":"byte","b":[15,11,14,14,14,14,14]},{"a":55896,"l":"f_DA58","c":"colour memory for row 15, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14,14,14,14,14,14,15,11]},{"a":55904,"t":"byte","b":[11,0,23,11,11,11,11,11]},{"a":55912,"t":"byte","b":[11,11,11,11,63,63,63,66]},{"a":55920,"t":"byte","b":[121,13,11,52,0,0,0,0]},{"a":55928,"t":"byte","b":[51,51,51,51,51,66,13,11]},{"a":55936,"l":"f_DA80","c":"colour memory for row 16, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,0,16,60,14]},{"a":55941,"l":"a_DA85","c":"colour memory for row 16, column 5 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14]},{"a":55942,"l":"f_DA86","c":"colour memory for row 16, column 6 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14,14]},{"a":55944,"l":"a_DA88","c":"colour memory for row 16, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14]},{"a":55945,"l":"a_DA89","c":"colour memory for row 16, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[14,15,11,0,0,0,0,63]},{"a":55953,"t":"byte","b":[13,11,52,0,0,0,0,0]},{"a":55961,"t":"byte","b":[0,51,51,51,66,13,11,11]},{"a":55969,"t":"byte","b":[0]},{"a":55970,"l":"a_DAA2","c":"colour memory for row 16, column 34 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[31,29,41,0,61,41]},{"a":55976,"l":"f_DAA8","c":"colour memory for row 17, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[41,43,16,25,0,0,0,0]},{"a":55984,"l":"a_DAB0","c":"colour memory for row 17, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[63]},{"a":55985,"l":"a_DAB1","c":"colour memory for row 17, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[13,11,52,23,11,11,11,19]},{"a":55993,"t":"byte","b":[0,51,51,51,66,13,11,11]},{"a":56001,"t":"byte","b":[52,13,11,18,0,16,14,15]},{"a":56009,"t":"byte","b":[2,31,28,0,63,63,63]},{"a":56016,"l":"f_DAD0","c":"colour memory for row 18, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[121,13,11,52,16,14,15,11]},{"a":56024,"t":"byte","b":[19,0,0,0,0,0,13,11]},{"a":56032,"t":"byte","b":[11,51,13,11,93,0,0,51]},{"a":56040,"t":"byte","b":[13,2,13,11,11,11,11,11]},{"a":56048,"t":"byte","b":[11,11,11,41,41,43,13,11]},{"a":56056,"l":"f_DAF8","c":"colour memory for row 19, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,11,24,26,11,11,11,11]},{"a":56064,"l":"a_DB00","c":"colour memory for row 19, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11]},{"a":56065,"l":"a_DB01","c":"colour memory for row 19, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[51,13,11,10,69,10,0,13]},{"a":56073,"t":"byte","b":[2,16,14,14,14,14,14,14]},{"a":56081,"t":"byte","b":[14,14,14,15,2,13,11,14]},{"a":56089,"t":"byte","b":[18,0,59,14,14,15,11]},{"a":56096,"l":"f_DB20","c":"colour memory for row 20, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11,0,13,11,14,68,18,0]},{"a":56104,"l":"a_DB28","c":"colour memory for row 20, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[13]},{"a":56105,"l":"a_DB29","c":"colour memory for row 20, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[37,1,1,1,76,11,1,1]},{"a":56113,"t":"byte","b":[1,36,51,16,57,16,22,0]},{"a":56121,"t":"byte","b":[51,51,20,88,51,13,11,11]},{"a":56129,"t":"byte","b":[52,13,11,91,63,63,20]},{"a":56136,"l":"f_DB48","c":"colour memory for row 21, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[13,2,9,0,9,16,18,4]},{"a":56144,"t":"byte","b":[4,0,45,36,51,0,31,29]},{"a":56152,"t":"byte","b":[0,0,23,10,89,10,13,11]},{"a":56160,"t":"byte","b":[11,0,81,1,1]},{"a":56165,"l":"a_DB65","c":"colour memory for row 21, column 29 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[1]},{"a":56166,"l":"f_DB66","c":"colour memory for row 21, column 30 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[1,1,76,2,0,8,0,31]},{"a":56174,"t":"byte","b":[70,5]},{"a":56176,"l":"f_DB70","c":"colour memory for row 22, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[5,0,0,45,83,0,13,11]},{"a":56184,"l":"a_DB78","c":"colour memory for row 22, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[51]},{"a":56185,"l":"a_DB79","c":"colour memory for row 22, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[23,11,11,11,11,11,11,11]},{"a":56193,"t":"byte","b":[0,0,0,0,0,0,0,13]},{"a":56201,"t":"byte","b":[2,20,0,7,13,11,23,62]},{"a":56209,"t":"byte","b":[19,0,0,0,0,13,11]},{"a":56216,"l":"f_DB98","c":"colour memory for row 23, column 0 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[51,16,14,14,14,14,15,11]},{"a":56224,"l":"a_DBA0","c":"colour memory for row 23, column 8 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[11]},{"a":56225,"l":"a_DBA1","c":"colour memory for row 23, column 9 of the screen to the code that writes it, which always runs with the I/O area banked in; the same byte is part of the first floor's description, which the map builder reads with the I/O area banked out","t":"byte","b":[91,23,11,35,35,33,0,81]},{"a":56233,"t":"byte","b":[1,1,1,1,1,1,1,1]},{"a":56241,"t":"byte","b":[1,1,1,44,0,13,11,47]},{"a":56249,"t":"byte","b":[61,47,51,0,99,13,11]},{"a":56256,"l":"floor_3_first_end","c":"the last of the first floor's description, which runs to $DBFF","t":"byte","b":[11,91,13,11,34,34,77,51]},{"a":56264,"t":"byte","b":[0,0,0,0,0,0,54,0]},{"a":56272,"t":"byte","b":[54,0,0,0,0,54,13,11]},{"a":56280,"t":"byte","b":[62,62,73,72,19,19,13,11]},{"a":56288,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56296,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56304,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56312,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56320,"l":"floor_4_second","c":"the second floor's description, in the same form","t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56328,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56336,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56344,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56352,"t":"byte","b":[11,62,62,62,62,11,14,14]},{"a":56360,"t":"byte","b":[14,14,14,14,14,14,14,14]},{"a":56368,"t":"byte","b":[14,15,11,14,14,14,14,14]},{"a":56376,"t":"byte","b":[15,11,15,100,100,100,100,11]},{"a":56384,"t":"byte","b":[11,15,62,15,62,11,52,52]},{"a":56392,"t":"byte","b":[61,41,41,41,41,41,41,41]},{"a":56400,"t":"byte","b":[43,13,11,66,49,55,55,55]},{"a":56408,"t":"byte","b":[16,22,16,14,14,15,100,11]},{"a":56416,"t":"byte","b":[11,16,18,16,15,11,7,52]},{"a":56424,"t":"byte","b":[13,11,14,14,14,14,14,15]},{"a":56432,"t":"byte","b":[2,13,11,66,49,23,73,55]},{"a":56440,"t":"byte","b":[31,29,0,66,87,13,100,11]},{"a":56448,"t":"byte","b":[11,17,23,11,11,11,11,0]},{"a":56456,"t":"byte","b":[13,11,52,52,52,0,63,13]},{"a":56464,"t":"byte","b":[2,13,11,66,49,16,18,55]},{"a":56472,"t":"byte","b":[13,11,0,66,0,13,100,11]},{"a":56480,"t":"byte","b":[11,0,16,14,14,14,18,20]},{"a":56488,"t":"byte","b":[13,11,0,52,0,52,63,13]},{"a":56496,"t":"byte","b":[2,16,25,0,49,49,49,49]},{"a":56504,"t":"byte","b":[13,11,0,66,98,13,100,11]},{"a":56512,"t":"byte","b":[11,0,52,0,0,52,0,52]},{"a":56520,"t":"byte","b":[13,11,21,27,11,11,11,11]},{"a":56528,"t":"byte","b":[2,31,28,0,49,49,49,49]},{"a":56536,"t":"byte","b":[13,11,72,23,72,100,100,11]},{"a":56544,"t":"byte","b":[11,0,52,0,0,52,52,0]},{"a":56552,"t":"byte","b":[16,18,0,32,11,11,11,11]},{"a":56560,"t":"byte","b":[2,13,11,11,11,11,11,11]},{"a":56568,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56576,"t":"byte","b":[11,0,0,52,0,0,52,52]},{"a":56584,"t":"byte","b":[61,41,0,16,14,15,11,14]},{"a":56592,"t":"byte","b":[57,16,14,14,14,103,14,15]},{"a":56600,"t":"byte","b":[100,11,14,14,14,14,15,11]},{"a":56608,"t":"byte","b":[11,0,23,11,11,11,11,11]},{"a":56616,"t":"byte","b":[11,11,88,0,0,13,11,69]},{"a":56624,"t":"byte","b":[10,0,0,49,0,4,3,13]},{"a":56632,"t":"byte","b":[100,11,88,93,49,7,13,11]},{"a":56640,"t":"byte","b":[11,0,16,14,14,14,14,14]},{"a":56648,"t":"byte","b":[15,11,89,10,0,13,11,68]},{"a":56656,"t":"byte","b":[18,0,0,0,0,5,7,13]},{"a":56664,"t":"byte","b":[100,11,89,10,0,8,13,11]},{"a":56672,"t":"byte","b":[11,49,0,49,49,0,0,49]},{"a":56680,"t":"byte","b":[13,11,14,18,0,13,11,11]},{"a":56688,"t":"byte","b":[11,11,11,24,26,11,11,11]},{"a":56696,"t":"byte","b":[11,11,14,18,0,54,13,11]},{"a":56704,"t":"byte","b":[11,7,0,0,0,49,49,0]},{"a":56712,"t":"byte","b":[13,11,0,0,0,16,14,14]},{"a":56720,"t":"byte","b":[14,14,18,0,59,14,14,14]},{"a":56728,"t":"byte","b":[14,25,0,0,0,54,13,11]},{"a":56736,"t":"byte","b":[11,23,72,72,19,0,0,0]},{"a":56744,"t":"byte","b":[13,11,87,63,20,0,52,52]},{"a":56752,"t":"byte","b":[52,49,0,0,49,0,49,0]},{"a":56760,"t":"byte","b":[31,28,0,53,23,90,13,11]},{"a":56768,"t":"byte","b":[11,11,11,11,11,0,0,0]},{"a":56776,"t":"byte","b":[81,1,1,1,1,1,1,1]},{"a":56784,"t":"byte","b":[52,0,0,0,49,49,0,0]},{"a":56792,"t":"byte","b":[13,11,51,51,13,90,13,11]},{"a":56800,"t":"byte","b":[11,14,14,14,18,0,0,49]},{"a":56808,"t":"byte","b":[0,0,0,0,49,49,0,0]},{"a":56816,"t":"byte","b":[0,52,52,52,52,0,49,0]},{"a":56824,"t":"byte","b":[13,11,19,66,13,90,13,11]},{"a":56832,"t":"byte","b":[11,0,52,52,52,52,23,11]},{"a":56840,"t":"byte","b":[11,11,11,11,11,11,11,0]},{"a":56848,"t":"byte","b":[23,11,11,11,11,11,49,23]},{"a":56856,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":56864,"t":"byte","b":[11,0,52,52,52,52,13,11]},{"a":56872,"t":"byte","b":[14,14,14,14,14,15,11,0]},{"a":56880,"t":"byte","b":[16,14,14,14,14,18,0,13]},{"a":56888,"t":"byte","b":[11,14,14,14,14,14,15,11]},{"a":56896,"t":"byte","b":[11,0,0,0,87,88,13,11]},{"a":56904,"t":"byte","b":[9,49,0,49,55,13,11,0]},{"a":56912,"t":"byte","b":[53,0,0,0,0,0,49,13]},{"a":56920,"t":"byte","b":[11,90,0,0,99,0,13,11]},{"a":56928,"t":"byte","b":[11,0,0,23,10,89,10,11]},{"a":56936,"t":"byte","b":[8,0,49,55,49,13,11,53]},{"a":56944,"t":"byte","b":[53,53,53,53,53,53,0,13]},{"a":56952,"t":"byte","b":[11,18,0,0,0,87,13,11]},{"a":56960,"t":"byte","b":[11,0,52,16,14,14,15,11]},{"a":56968,"t":"byte","b":[7,23,72,55,49,13,11,19]},{"a":56976,"t":"byte","b":[53,53,53,23,72,72,0,13]},{"a":56984,"t":"byte","b":[11,0,0,0,19,19,13,11]},{"a":56992,"t":"byte","b":[11,0,0,82,1,1,76,11]},{"a":57000,"t":"byte","b":[11,11,11,55,23,11,11,11]},{"a":57008,"t":"byte","b":[11,11,11,11,11,11,0,13]},{"a":57016,"t":"byte","b":[11,21,27,11,11,11,11,11]},{"a":57024,"t":"byte","b":[11,0,0,0,0,0,16,14]},{"a":57032,"t":"byte","b":[14,15,11,0,13,11,14,14]},{"a":57040,"t":"byte","b":[14,14,15,11,14,18,0,16]},{"a":57048,"t":"byte","b":[18,0,59,14,14,14,15,11]},{"a":57056,"t":"byte","b":[11,52,23,11,69,10,52,52]},{"a":57064,"t":"byte","b":[52,13,11,0,13,11,19,19]},{"a":57072,"t":"byte","b":[0,0,13,11,0,0,49,0]},{"a":57080,"t":"byte","b":[0,49,0,49,3,53,13,11]},{"a":57088,"t":"byte","b":[11,52,13,11,68,18,52,0]},{"a":57096,"t":"byte","b":[52,13,11,0,13,11,66,66]},{"a":57104,"t":"byte","b":[66,0,13,11,0,49,49,0]},{"a":57112,"t":"byte","b":[49,0,53,53,53,53,13,11]},{"a":57120,"t":"byte","b":[11,0,13,11,87,52,52,0]},{"a":57128,"t":"byte","b":[52,13,11,21,27,11,49,49]},{"a":57136,"t":"byte","b":[49,49,13,11,87,9,9,0]},{"a":57144,"t":"byte","b":[0,0,53,0,0,53,13,11]},{"a":57152,"t":"byte","b":[11,52,13,11,0,63,63,63]},{"a":57160,"t":"byte","b":[63,13,11,0,59,22,0,0]},{"a":57168,"t":"byte","b":[0,66,13,11,11,11,11,11]},{"a":57176,"t":"byte","b":[11,11,53,23,11,11,11,11]},{"a":57184,"t":"byte","b":[11,0,81,1,1,1,1,1]},{"a":57192,"t":"byte","b":[1,1,86,0,31,29,0,0]},{"a":57200,"t":"byte","b":[0,66,13,11,14,14,14,14]},{"a":57208,"t":"byte","b":[15,11,0,16,14,14,15,11]},{"a":57216,"t":"byte","b":[11,52,0,0,0,0,0,0]},{"a":57224,"t":"byte","b":[0,0,0,0,13,11,52,52]},{"a":57232,"t":"byte","b":[52,52,13,11,10,69,10,8]},{"a":57240,"t":"byte","b":[13,11,54,54,54,54,13,11]},{"a":57248,"t":"byte","b":[11,52,23,11,35,35,33,11]},{"a":57256,"t":"byte","b":[0,55,55,55,13,11,49,49]},{"a":57264,"t":"byte","b":[49,49,13,11,14,68,18,0]},{"a":57272,"t":"byte","b":[16,22,54,54,54,54,13,11]},{"a":57280,"t":"byte","b":[11,52,67,11,34,34,77,11]},{"a":57288,"t":"byte","b":[19,55,55,55,13,11,20,8]},{"a":57296,"t":"byte","b":[0,49,13,11,3,3,0,0]},{"a":57304,"t":"byte","b":[31,29,54,54,54,87,13,11]},{"a":57312,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":57320,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":57328,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":57336,"t":"byte","b":[11,11,11,11,11,11,11,11]},{"a":57344,"l":"plaque_bitmap","c":"the multicolour bitmap of the stone plaque reading \"Into The Eagle's Nest...\", which the credits, supplies and valuables screens and the name-entry screen show across the top of the screen; it fills nine rows of cells, to $EB3F. The video chip reads it from bank 3 during the top band of either screen's interrupt: the picture band of $0F95, set by $0FC0, or band 0 of $085A, set by $08A5.","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57352,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57360,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57368,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57376,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57384,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57392,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57400,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57408,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57416,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57424,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57432,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57440,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57448,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57456,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57464,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57472,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57480,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57488,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57496,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57504,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57512,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57520,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57528,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57536,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57544,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57552,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57560,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57568,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57576,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57584,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57592,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57600,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57608,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57616,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57624,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57632,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57640,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57648,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57656,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":57664,"t":"byte","b":[255,255,234,229,234,239,239,238]},{"a":57672,"t":"byte","b":[255,255,85,170,85,255,255,85]},{"a":57680,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57688,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57696,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57704,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57712,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57720,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57728,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57736,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57744,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57752,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57760,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57768,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57776,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57784,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57792,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57800,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57808,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57816,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57824,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57832,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57840,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57848,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57856,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57864,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57872,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57880,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57888,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57896,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57904,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57912,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57920,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57928,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57936,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57944,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57952,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57960,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57968,"t":"byte","b":[85,85,255,170,255,85,85,255]},{"a":57976,"t":"byte","b":[85,85,245,181,245,117,117,117]},{"a":57984,"t":"byte","b":[238,238,238,238,238,238,238,238]},{"a":57992,"t":"byte","b":[255,0,191,170,170,170,170,170]},{"a":58000,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58008,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58016,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58024,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58032,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58040,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58048,"t":"byte","b":[255,176,219,182,173,173,171,170]},{"a":58056,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58064,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58072,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58080,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58088,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58096,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58104,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58112,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58120,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58128,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58136,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58144,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58152,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58160,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58168,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58176,"t":"byte","b":[255,0,255,170,170,171,170,170]},{"a":58184,"t":"byte","b":[255,0,255,170,106,170,170,170]},{"a":58192,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58200,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58208,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58216,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58224,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58232,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58240,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58248,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58256,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58264,"t":"byte","b":[255,0,255,85,85,85,85,85]},{"a":58272,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58280,"t":"byte","b":[255,0,255,170,170,170,170,170]},{"a":58288,"t":"byte","b":[255,3,254,174,174,174,174,174]},{"a":58296,"t":"byte","b":[239,239,239,239,239,239,239,239]},{"a":58304,"t":"byte","b":[238,238,238,238,238,238,238,238]},{"a":58312,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":58320,"t":"byte","b":[170,170,170,171,173,180,208,181]},{"a":58328,"t":"byte","b":[170,170,89,247,29,0,0,255]},{"a":58336,"t":"byte","b":[170,170,86,253,7,29,54,54]},{"a":58344,"t":"byte","b":[85,85,85,85,149,85,85,154]},{"a":58352,"t":"byte","b":[170,170,170,170,170,169,171,167]},{"a":58360,"t":"byte","b":[170,170,170,170,90,246,118,54]},{"a":58368,"l":"plaque_bitmap_2","c":"the middle of the plaque's bitmap","t":"byte","b":[170,170,170,170,170,170,170,150]},{"a":58376,"t":"byte","b":[85,85,85,85,85,85,85,86]},{"a":58384,"t":"byte","b":[170,170,170,169,167,157,112,207]},{"a":58392,"t":"byte","b":[170,170,149,127,209,0,0,196]},{"a":58400,"t":"byte","b":[255,255,85,170,1,6,10,165]},{"a":58408,"t":"byte","b":[170,170,154,118,205,77,13,205]},{"a":58416,"t":"byte","b":[170,170,170,170,170,170,170,169]},{"a":58424,"t":"byte","b":[170,170,170,170,170,170,170,106]},{"a":58432,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":58440,"t":"byte","b":[170,170,170,170,169,167,157,116]},{"a":58448,"t":"byte","b":[170,170,150,125,215,65,0,68]},{"a":58456,"t":"byte","b":[255,255,255,255,127,159,103,37]},{"a":58464,"t":"byte","b":[85,85,85,85,85,85,85,149]},{"a":58472,"t":"byte","b":[85,85,85,85,85,85,85,105]},{"a":58480,"t":"byte","b":[85,85,86,91,108,184,176,108]},{"a":58488,"t":"byte","b":[170,170,170,106,234,234,234,233]},{"a":58496,"t":"byte","b":[170,170,170,170,170,170,170,106]},{"a":58504,"t":"byte","b":[85,85,85,85,89,110,179,179]},{"a":58512,"t":"byte","b":[170,170,170,170,170,170,106,86]},{"a":58520,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":58528,"t":"byte","b":[170,170,170,170,170,169,167,156]},{"a":58536,"t":"byte","b":[170,170,170,170,105,215,61,240]},{"a":58544,"t":"byte","b":[255,255,255,255,255,127,159,39]},{"a":58552,"t":"byte","b":[254,254,255,255,255,255,255,215]},{"a":58560,"t":"byte","b":[191,127,255,255,255,255,255,254]},{"a":58568,"t":"byte","b":[170,170,170,170,170,170,169,105]},{"a":58576,"t":"byte","b":[255,255,255,255,239,155,102,70]},{"a":58584,"t":"byte","b":[85,85,85,85,85,85,85,85]},{"a":58592,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":58600,"t":"byte","b":[107,219,247,255,255,255,255,255]},{"a":58608,"t":"byte","b":[251,251,251,251,251,251,251,251]},{"a":58616,"t":"byte","b":[186,186,186,186,186,186,186,186]},{"a":58624,"t":"byte","b":[238,238,238,238,238,238,238,238]},{"a":58632,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":58640,"t":"byte","b":[175,170,170,171,173,183,220,208]},{"a":58648,"t":"byte","b":[93,156,156,156,92,220,220,220]},{"a":58656,"t":"byte","b":[58,59,62,60,59,55,55,187]},{"a":58664,"t":"byte","b":[223,49,0,0,61,55,59,55]},{"a":58672,"t":"byte","b":[158,238,188,59,55,55,55,59]},{"a":58680,"t":"byte","b":[57,14,15,59,55,55,55,59]},{"a":58688,"t":"byte","b":[125,215,65,16,52,61,55,55]},{"a":58696,"t":"byte","b":[85,149,229,185,185,57,57,57]},{"a":58704,"t":"byte","b":[190,108,108,108,108,108,108,108]},{"a":58712,"t":"byte","b":[48,112,240,240,240,241,119,61]},{"a":58720,"t":"byte","b":[230,230,230,230,230,230,150,86]},{"a":58728,"t":"byte","b":[207,204,196,192,205,207,207,207]},{"a":58736,"t":"byte","b":[155,238,184,50,51,51,51,48]},{"a":58744,"t":"byte","b":[229,185,46,11,139,206,57,229]},{"a":58752,"t":"byte","b":[87,87,87,215,215,87,87,87]},{"a":58760,"t":"byte","b":[211,199,207,207,207,207,199,195]},{"a":58768,"t":"byte","b":[13,15,0,0,15,13,29,118]},{"a":58776,"t":"byte","b":[247,221,116,112,243,115,115,115]},{"a":58784,"t":"byte","b":[218,117,15,15,79,207,207,207]},{"a":58792,"t":"byte","b":[235,190,192,0,44,40,40,40]},{"a":58800,"t":"byte","b":[156,92,220,220,220,220,220,220]},{"a":58808,"t":"byte","b":[219,238,248,242,243,243,243,240]},{"a":58816,"t":"byte","b":[229,185,45,11,139,205,57,229]},{"a":58824,"t":"byte","b":[238,123,94,94,94,94,94,94]},{"a":58832,"t":"byte","b":[125,215,64,49,63,17,4,124]},{"a":58840,"t":"byte","b":[149,229,185,229,149,229,229,229]},{"a":58848,"t":"byte","b":[156,157,157,167,167,167,167,167]},{"a":58856,"t":"byte","b":[64,63,53,29,79,79,79,79]},{"a":58864,"t":"byte","b":[14,142,207,207,143,143,143,143]},{"a":58872,"t":"byte","b":[190,235,130,32,56,60,51,14]},{"a":58880,"t":"byte","b":[91,174,248,179,179,242,176,187]},{"a":58888,"t":"byte","b":[213,127,7,29,245,29,77,205]},{"a":58896,"t":"byte","b":[206,131,3,206,206,206,206,207]},{"a":58904,"t":"byte","b":[85,149,149,85,85,85,85,149]},{"a":58912,"t":"byte","b":[85,85,85,85,85,85,85,149]},{"a":58920,"t":"byte","b":[170,170,170,170,170,170,170,154]},{"a":58928,"t":"byte","b":[174,174,174,174,174,174,174,174]},{"a":58936,"t":"byte","b":[223,223,223,223,223,223,223,223]},{"a":58944,"t":"byte","b":[238,238,238,238,238,238,238,238]},{"a":58952,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":58960,"t":"byte","b":[224,236,120,123,94,87,85,85]},{"a":58968,"t":"byte","b":[252,50,3,11,254,169,85,85]},{"a":58976,"t":"byte","b":[238,220,158,91,86,85,85,85]},{"a":58984,"t":"byte","b":[59,8,59,238,183,213,85,85]},{"a":58992,"t":"byte","b":[59,8,59,238,181,213,85,85]},{"a":59000,"t":"byte","b":[58,10,10,187,237,117,85,85]},{"a":59008,"t":"byte","b":[59,12,195,174,123,93,85,85]},{"a":59016,"t":"byte","b":[57,185,229,149,85,85,85,85]},{"a":59024,"t":"byte","b":[183,173,171,170,170,170,170,170]},{"a":59032,"t":"byte","b":[14,3,192,184,111,90,85,85]},{"a":59040,"t":"byte","b":[254,174,58,239,181,213,85,85]},{"a":59048,"t":"byte","b":[206,2,206,186,238,123,88,94]},{"a":59056,"t":"byte","b":[50,48,56,62,59,58,229,149]},{"a":59064,"t":"byte","b":[126,215,13,247,94,250,170,170]},{"a":59072,"t":"byte","b":[171,170,234,170,170,170,170,170]},{"a":59080,"t":"byte","b":[224,176,108,91,86,85,85,85]},{"a":59088,"t":"byte","b":[234,63,0,131,254,169,85,85]},{"a":59096,"t":"byte","b":[227,160,236,187,222,87,85,85]},{"a":59104,"t":"byte","b":[207,11,139,238,187,103,86,85]},{"a":59112,"t":"byte","b":[56,12,192,168,184,195,178,235]},{"a":59120,"t":"byte","b":[92,80,92,119,125,123,234,170]},{"a":59128,"t":"byte","b":[227,32,236,187,222,87,85,85]},{"a":59136,"t":"byte","b":[233,190,11,174,249,165,85,85]},{"a":59144,"t":"byte","b":[173,183,237,171,170,170,170,170]},{"a":59152,"t":"byte","b":[252,44,138,227,190,105,85,85]},{"a":59160,"t":"byte","b":[229,229,229,149,85,85,85,85]},{"a":59168,"t":"byte","b":[183,180,220,183,173,171,170,170]},{"a":59176,"t":"byte","b":[58,238,58,14,171,253,85,85]},{"a":59184,"t":"byte","b":[202,206,194,139,237,117,85,85]},{"a":59192,"t":"byte","b":[59,14,195,191,234,127,85,85]},{"a":59200,"t":"byte","b":[234,179,236,187,222,87,85,85]},{"a":59208,"t":"byte","b":[207,207,175,58,229,149,85,85]},{"a":59216,"t":"byte","b":[207,3,194,174,251,93,85,85]},{"a":59224,"t":"byte","b":[230,235,174,155,86,85,85,85]},{"a":59232,"t":"byte","b":[229,186,47,186,229,149,85,85]},{"a":59240,"t":"byte","b":[237,187,206,187,237,117,85,85]},{"a":59248,"t":"byte","b":[174,174,110,174,174,174,174,174]},{"a":59256,"t":"byte","b":[239,239,239,239,239,239,239,239]},{"a":59264,"t":"byte","b":[238,238,238,238,238,238,238,238]},{"a":59272,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59280,"t":"byte","b":[170,170,154,182,174,170,170,170]},{"a":59288,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59296,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59304,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59312,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59320,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59328,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59336,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59344,"t":"byte","b":[170,186,106,170,170,170,170,170]},{"a":59352,"t":"byte","b":[170,170,170,170,170,166,186,170]},{"a":59360,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59368,"t":"byte","b":[169,170,170,170,170,170,170,170]},{"a":59376,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59384,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59392,"l":"plaque_bitmap_3","c":"the bottom of the plaque's bitmap","t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59400,"t":"byte","b":[170,170,170,170,170,170,154,182]},{"a":59408,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59416,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59424,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59432,"t":"byte","b":[150,170,170,170,170,170,170,170]},{"a":59440,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59448,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59456,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59464,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59472,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59480,"t":"byte","b":[170,170,170,170,170,170,169,166]},{"a":59488,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59496,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59504,"t":"byte","b":[169,174,170,170,170,170,170,170]},{"a":59512,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59520,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59528,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59536,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59544,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59552,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59560,"t":"byte","b":[170,170,170,170,170,170,170,170]},{"a":59568,"t":"byte","b":[174,174,174,174,174,174,174,170]},{"a":59576,"t":"byte","b":[223,223,223,223,223,223,223,223]},{"a":59584,"t":"byte","b":[238,238,239,239,234,229,234,255]},{"a":59592,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59600,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59608,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59616,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59624,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59632,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59640,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59648,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59656,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59664,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59672,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59680,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59688,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59696,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59704,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59712,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59720,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59728,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59736,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59744,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59752,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59760,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59768,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59776,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59784,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59792,"t":"byte","b":[170,170,255,255,167,87,170,255]},{"a":59800,"t":"byte","b":[186,250,255,255,234,149,170,255]},{"a":59808,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59816,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59824,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59832,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59840,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59848,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59856,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59864,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59872,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59880,"t":"byte","b":[170,170,255,255,170,85,170,255]},{"a":59888,"t":"byte","b":[169,170,255,255,170,85,170,255]},{"a":59896,"t":"byte","b":[239,239,239,239,175,111,175,255]},{"a":59904,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59912,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59920,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59928,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59936,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59944,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59952,"t":"byte","b":[255]},{"a":59953,"l":"j_EA31","t":"byte","b":[255,255,255,255,255,255,255,255],"x":[2174,3830,4015,19512]},{"a":59961,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59969,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59977,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59985,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":59993,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60001,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60009,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60017,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60025,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60033,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60041,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60049,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60057,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60065,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60073,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60081,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60089,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60097,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60105,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60113,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60121,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60129,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60137,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60145,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60153,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60161,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60169,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60177,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60185,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60193,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60201,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60209,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":60217,"t":"byte","b":[255,255,255,255,255,255,255,85]},{"a":60225,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60233,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60241,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60249,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60257,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60265,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60273,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60281,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60289,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60297,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60305,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60313,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60321,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60329,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60337,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60345,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60353,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60361,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60369,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60377,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60385,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60393,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60401,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60409,"t":"byte","b":[0,0,0,0,0,0,0]},{"a":60416,"l":"plaque_colours","c":"the plaque's screen memory: in multicolour bitmap mode the screen at $EC00 gives two of each cell's colours, and the plaque uses its first nine rows, to $ED67. The colour RAM values the plaque needs are kept further on, at $EE00 and $EF00, in rows of this screen the plaque does not show. The name-entry screen ($0BC1) and $0F4D, for the credits, supplies and valuables screens, copy them into the real colour memory.","t":"byte","b":[239,191,191,191,191,191,191,191]},{"a":60424,"t":"byte","b":[191,191,191,191,191,191,191,191]},{"a":60432,"t":"byte","b":[191,191,191,191,191,191,191,191]},{"a":60440,"t":"byte","b":[191,191,191,191,191,191,191,191]},{"a":60448,"t":"byte","b":[191,191,191,191,191,191,191,191]},{"a":60456,"t":"byte","b":[203,188,12,12,12,12,12,12]},{"a":60464,"t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":60472,"t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":60480,"t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":60488,"t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":60496,"t":"byte","b":[235,188,236,188,203,203,188,12]},{"a":60504,"t":"byte","b":[188,12,236,188,203,203,203,12]},{"a":60512,"t":"byte","b":[12,236,203,192,203,12,12,203]},{"a":60520,"t":"byte","b":[188,188,188,188,236,188,188,203]},{"a":60528,"t":"byte","b":[12,236,12,203,12,188,236,203]},{"a":60536,"t":"byte","b":[235,188,12,188,188,203,188,188]},{"a":60544,"t":"byte","b":[188,203,188,188,176,188,188,188]},{"a":60552,"t":"byte","b":[203,188,188,176,203,203,203,188]},{"a":60560,"t":"byte","b":[188,203,188,251,188,188,176,191]},{"a":60568,"t":"byte","b":[251,188,11,203,188,251,15,192]},{"a":60576,"t":"byte","b":[235,188,12,188,203,188,203,203]},{"a":60584,"t":"byte","b":[188,203,203,188,203,188,203,203]},{"a":60592,"t":"byte","b":[192,188,188,188,188,192,188,203]},{"a":60600,"t":"byte","b":[203,192,188,203,188,188,203,203]},{"a":60608,"t":"byte","b":[203,188,203,203,203,188,188,188]},{"a":60616,"t":"byte","b":[235,188,192,203,203,192,192,192]},{"a":60624,"t":"byte","b":[192,203,12,203,192,192,203,12]},{"a":60632,"t":"byte","b":[236,203,203,192,203,224,12,192]},{"a":60640,"t":"byte","b":[203,12,203,203,12,192,192,192]},{"a":60648,"t":"byte","b":[192,203,192,203,203,192,188,203]},{"a":60656,"t":"byte","b":[235,188,188,188,188,188,188,188]},{"a":60664,"t":"byte","b":[188,188,252,188,188,188,188,188]},{"a":60672,"t":"byte","b":[188,188,188,188,188,188,188,188]},{"a":60680,"t":"byte","b":[188,188,188,188,188,188,188,188]},{"a":60688,"t":"byte","b":[188,188,188,188,188,188,188,188]},{"a":60696,"t":"byte","b":[203,203,203,203,203,203,203,203]},{"a":60704,"t":"byte","b":[203,203,203,203,203,203,203,203]},{"a":60712,"t":"byte","b":[203,203,203,203,203,203,203,203]},{"a":60720,"t":"byte","b":[203,203,203,203,203,203,203,203]},{"a":60728,"t":"byte","b":[203,203,203,203,203,203,203,203]},{"a":60736,"t":"byte","b":[251,251,195,203,251,251,251,251]},{"a":60744,"t":"byte","b":[251,251,251,251,251,251,251,251]},{"a":60752,"t":"byte","b":[251,251,251,251,251,251,251,251]},{"a":60760,"t":"byte","b":[251,251,251,251,251,251,251,251]},{"a":60768,"t":"byte","b":[251,251,251,251,251,251,188,203]},{"a":60776,"t":"byte","b":[11,0,0,0,0,0,0,0]},{"a":60784,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60792,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60800,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60808,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60816,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60824,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60832,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60840,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60848,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60856,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60864,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60872,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60880,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60888,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60896,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60904,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60912,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60920,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":60928,"l":"plaque_colour_ram","c":"the first page of the plaque's colour RAM values, which the name-entry screen ($0BC1) and $0F4D, for the credits, supplies and valuables screens, copy into the real colour memory at $D800","t":"byte","b":[0,240,144,128,224,224,160,96],"x":[3026,3935]},{"a":60936,"t":"byte","b":[240,240,64,160,240,0,160,208]},{"a":60944,"t":"byte","b":[240,80,0,240,64,16,0,240]},{"a":60952,"t":"byte","b":[64,0,240,64,240,64,240,0]},{"a":60960,"t":"byte","b":[160,240,64,240,240,240,240,240]},{"a":60968,"t":"byte","b":[240,64,251,251,251,251,251,251]},{"a":60976,"t":"byte","b":[75,251,251,251,251,251,251,75]},{"a":60984,"t":"byte","b":[251,251,251,251,251,251,75,251]},{"a":60992,"l":"plaque_colours_2","c":"more of the plaque's colour memory","t":"byte","b":[251,251,251,251,251,75,251,251]},{"a":61000,"t":"byte","b":[251,251,251,251,75,251,251,251]},{"a":61008,"t":"byte","b":[240,255,255,255,255,255,79,255]},{"a":61016,"t":"byte","b":[255,255,255,255,255,79,255,255]},{"a":61024,"t":"byte","b":[255,255,255,255,79,255,255,255]},{"a":61032,"t":"byte","b":[255,255,255,79,255,255,255,255]},{"a":61040,"t":"byte","b":[255,255,79,255,255,255,255,240]},{"a":61048,"t":"byte","b":[240,64,251,240,240,240,240,128]},{"a":61056,"t":"byte","b":[64,240,240,240,252,240,96,64]},{"a":61064,"t":"byte","b":[240,240,240,252,240,0,64,240]},{"a":61072,"t":"byte","b":[240,240,240,252,128,64,252,252]},{"a":61080,"t":"byte","b":[252,240,252,240,64,252,252,251]},{"a":61088,"t":"byte","b":[160,0,251,224,144,128,240,240]},{"a":61096,"t":"byte","b":[64,208,240,240,160,144,240,80]},{"a":61104,"t":"byte","b":[139,96,240,0,160,251,64,32]},{"a":61112,"t":"byte","b":[0,251,16,0,240,32,0,240]},{"a":61120,"t":"byte","b":[240,64,240,240,240,240,255,144]},{"a":61128,"t":"byte","b":[0,240,11,0,240,43,11,11]},{"a":61136,"t":"byte","b":[251,0,11,240,75,251,48,187]},{"a":61144,"t":"byte","b":[251,0,32,75,32,155,11,251]},{"a":61152,"t":"byte","b":[0,251,64,240,139,235,251,155]},{"a":61160,"t":"byte","b":[43,64,171,128,32,251,255,0]},{"a":61168,"t":"byte","b":[176,224,255,64,96,64,240,128]},{"a":61176,"t":"byte","b":[208,255,171,175,176,240,240,224]},{"a":61184,"l":"plaque_colour_ram_2","c":"the second page of the plaque's colour RAM values, which the same two copies move to $D900","t":"byte","b":[240,175,240,32,112,224,208,192],"x":[3032,3038,3941]},{"a":61192,"t":"byte","b":[224,240,16,255,224,240,191,144]},{"a":61200,"t":"byte","b":[240,16,32,224,64,192,111,240]},{"a":61208,"t":"byte","b":[160,240,0,64,240,176,160,0]},{"a":61216,"t":"byte","b":[240,0,160,240,144,48,96,240]},{"a":61224,"t":"byte","b":[0,240,240,144,160,48,240,224]},{"a":61232,"t":"byte","b":[128,192,240,240,32,144,224,32]},{"a":61240,"t":"byte","b":[128,80,240,240,176,224,0,160]},{"a":61248,"l":"plaque_colours_3","c":"the last of the plaque's colour memory","t":"byte","b":[128,144,16,240,224,128,160,0]},{"a":61256,"t":"byte","b":[240,176,160,224,64,0,128,240]},{"a":61264,"t":"byte","b":[0,128,240,128,192,64,0,0]},{"a":61272,"t":"byte","b":[240,240,160,0,240,240,160,160]},{"a":61280,"t":"byte","b":[64,224,160,128,240,0,144,240]},{"a":61288,"t":"byte","b":[92,0,0,0,0,0,0,0]},{"a":61296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61384,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61408,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61416,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61424,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61432,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":61440,"l":"prisoner_frames","c":"the prisoner's sixteen-tile picture, eight times over: two frames of walking for each of the four directions, 128 bytes each. $6E5A copies the one wanted into the character set at $26A0, with the ROMs banked out.","t":"byte","b":[23,21,21,196,113,81,81,76],"x":[28301]},{"a":61448,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61456,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61464,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61472,"t":"byte","b":[1,5,31,30,30,31,31,21]},{"a":61480,"t":"byte","b":[5,23,95,95,95,95,31,31]},{"a":61488,"t":"byte","b":[81,245,253,253,253,253,253,253]},{"a":61496,"t":"byte","b":[21,81,245,180,180,244,244,84]},{"a":61504,"t":"byte","b":[29,7,1,64,80,80,81,68]},{"a":61512,"t":"byte","b":[23,69,85,116,30,0,0,16]},{"a":61520,"t":"byte","b":[245,84,81,15,170,0,21,86]},{"a":61528,"t":"byte","b":[20,117,180,17,174,0,64,192]},{"a":61536,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61544,"t":"byte","b":[0,16,20,68,81,81,81,68]},{"a":61552,"t":"byte","b":[95,21,0,68,81,81,81,68]},{"a":61560,"t":"byte","b":[70,5,21,68,97,81,81,68]},{"a":61568,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61576,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61584,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61592,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61600,"t":"byte","b":[1,5,31,30,30,31,31,21]},{"a":61608,"t":"byte","b":[5,23,95,95,95,95,31,31]},{"a":61616,"t":"byte","b":[81,245,253,253,253,253,253,253]},{"a":61624,"t":"byte","b":[21,81,245,180,180,244,244,84]},{"a":61632,"t":"byte","b":[29,7,1,64,0,65,81,65]},{"a":61640,"t":"byte","b":[23,197,85,116,29,64,85,253]},{"a":61648,"t":"byte","b":[245,84,81,15,170,0,0,0]},{"a":61656,"t":"byte","b":[20,117,180,17,174,0,0,0]},{"a":61664,"t":"byte","b":[17,16,20,68,81,81,81,68]},{"a":61672,"t":"byte","b":[125,84,0,68,81,81,81,68]},{"a":61680,"t":"byte","b":[1,21,21,132,97,81,81,72]},{"a":61688,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61696,"t":"byte","b":[21,21,21,64,69,30,30,31]},{"a":61704,"t":"byte","b":[21,21,21,4,65,209,212,221]},{"a":61712,"t":"byte","b":[22,21,21,132,145,145,145,84]},{"a":61720,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61728,"t":"byte","b":[21,16,5,31,31,31,31,31]},{"a":61736,"t":"byte","b":[86,1,80,244,253,253,253,253]},{"a":61744,"t":"byte","b":[221,223,215,149,149,149,148,128]},{"a":61752,"t":"byte","b":[22,21,21,4,33,17,17,72]},{"a":61760,"t":"byte","b":[31,31,31,23,5,16,21,30]},{"a":61768,"t":"byte","b":[253,253,245,212,80,1,197,199]},{"a":61776,"t":"byte","b":[128,129,149,196,17,133,65,68]},{"a":61784,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61792,"t":"byte","b":[30,31,5,0,64,81,81,68]},{"a":61800,"t":"byte","b":[221,212,81,4,17,81,81,68]},{"a":61808,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61816,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61824,"t":"byte","b":[21,21,21,64,69,30,30,31]},{"a":61832,"t":"byte","b":[21,21,21,4,65,209,212,221]},{"a":61840,"t":"byte","b":[22,21,21,132,145,145,145,220]},{"a":61848,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61856,"t":"byte","b":[21,16,5,31,31,31,31,31]},{"a":61864,"t":"byte","b":[87,1,80,244,253,253,253,253]},{"a":61872,"t":"byte","b":[214,213,213,132,177,177,177,128]},{"a":61880,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61888,"t":"byte","b":[31,31,31,23,5,16,21,30]},{"a":61896,"t":"byte","b":[253,253,245,212,80,1,197,199]},{"a":61904,"t":"byte","b":[148,157,149,213,21,149,212,80]},{"a":61912,"t":"byte","b":[22,21,21,4,33,17,81,72]},{"a":61920,"t":"byte","b":[30,31,5,0,64,81,81,68]},{"a":61928,"t":"byte","b":[221,212,81,4,17,81,81,68]},{"a":61936,"t":"byte","b":[1,21,21,132,97,81,81,72]},{"a":61944,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61952,"t":"byte","b":[22,21,21,132,96,81,86,69]},{"a":61960,"t":"byte","b":[22,21,21,132,1,81,245,244]},{"a":61968,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61976,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":61984,"t":"byte","b":[5,0,170,1,7,31,21,21]},{"a":61992,"t":"byte","b":[84,0,170,64,209,71,31,31]},{"a":62000,"t":"byte","b":[22,0,157,23,81,244,253,253]},{"a":62008,"t":"byte","b":[22,21,21,68,209,116,21,84]},{"a":62016,"t":"byte","b":[31,30,30,31,31,5,0,64]},{"a":62024,"t":"byte","b":[95,95,31,31,23,21,5,0]},{"a":62032,"t":"byte","b":[253,253,253,253,245,85,84,0]},{"a":62040,"t":"byte","b":[245,180,181,244,245,81,1,4]},{"a":62048,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62056,"t":"byte","b":[0,21,21,68,97,81,81,72]},{"a":62064,"t":"byte","b":[0,21,21,68,97,81,81,72]},{"a":62072,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62080,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62088,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62096,"t":"byte","b":[22,21,21,132,96,69,31,23]},{"a":62104,"t":"byte","b":[22,21,21,132,33,65,209,208]},{"a":62112,"t":"byte","b":[21,0,170,1,7,31,21,21]},{"a":62120,"t":"byte","b":[21,0,170,64,209,71,31,31]},{"a":62128,"t":"byte","b":[21,1,156,23,81,244,253,253]},{"a":62136,"t":"byte","b":[209,81,17,68,193,116,21,84]},{"a":62144,"t":"byte","b":[31,30,30,31,31,5,0,64]},{"a":62152,"t":"byte","b":[95,95,31,31,23,21,5,0]},{"a":62160,"t":"byte","b":[253,253,253,253,245,85,84,0]},{"a":62168,"t":"byte","b":[245,180,181,244,245,81,1,4]},{"a":62176,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62184,"t":"byte","b":[0,21,21,68,97,81,81,72]},{"a":62192,"t":"byte","b":[0,21,21,68,97,81,81,72]},{"a":62200,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62208,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62216,"t":"byte","b":[22,21,21,132,97,81,64,17]},{"a":62224,"t":"byte","b":[21,21,21,128,69,23,87,151]},{"a":62232,"t":"byte","b":[22,21,21,4,81,244,181,180]},{"a":62240,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62248,"t":"byte","b":[3,17,2,66,2,2,2,2]},{"a":62256,"t":"byte","b":[69,64,5,31,127,127,127,127]},{"a":62264,"t":"byte","b":[85,4,81,212,245,244,245,244]},{"a":62272,"t":"byte","b":[21,20,20,132,96,80,80,72]},{"a":62280,"t":"byte","b":[2,18,82,210,210,82,82,82]},{"a":62288,"t":"byte","b":[127,127,95,21,5,64,213,119]},{"a":62296,"t":"byte","b":[245,244,213,84,81,4,85,180]},{"a":62304,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62312,"t":"byte","b":[18,2,2,66,80,81,81,68]},{"a":62320,"t":"byte","b":[23,7,1,0,0,64,81,68]},{"a":62328,"t":"byte","b":[181,244,81,4,17,81,81,68]},{"a":62336,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62344,"t":"byte","b":[22,21,21,132,97,81,64,17]},{"a":62352,"t":"byte","b":[21,21,21,128,69,23,87,151]},{"a":62360,"t":"byte","b":[22,21,21,4,81,244,181,180]},{"a":62368,"t":"byte","b":[20,20,20,132,96,80,80,72]},{"a":62376,"t":"byte","b":[83,113,114,82,82,82,18,2]},{"a":62384,"t":"byte","b":[69,64,5,31,127,127,127,127]},{"a":62392,"t":"byte","b":[85,4,81,212,245,244,245,244]},{"a":62400,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62408,"t":"byte","b":[2,2,2,2,2,66,66,66]},{"a":62416,"t":"byte","b":[127,127,95,21,5,64,213,119]},{"a":62424,"t":"byte","b":[245,244,213,84,81,4,85,180]},{"a":62432,"t":"byte","b":[23,21,21,196,113,81,81,76]},{"a":62440,"t":"byte","b":[2,2,2,66,80,81,81,68]},{"a":62448,"t":"byte","b":[23,7,1,0,0,64,81,68]},{"a":62456,"t":"byte","b":[181,244,81,4,17,81,81,68]},{"a":62464,"t":"gap","n":2325},{"a":64789,"l":"kernal_restor","c":"the KERNAL's own RESTOR routine, which the cold start at $8010 calls to put the system's vectors back. The instruction reaches the ROM. The bytes in the listing are the RAM beneath it, which the tape does not load and which holds only the untouched RAM's repeating pattern of $00 and $FF.","t":"code","b":[0],"m":"brk","x":[32795]},{"a":64790,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64791,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64792,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64793,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64794,"t":"code","b":[0],"m":"brk"},{"a":64795,"t":"code","b":[0],"m":"brk"},{"a":64796,"t":"code","b":[0],"m":"brk"},{"a":64797,"t":"code","b":[0],"m":"brk"},{"a":64798,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64799,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64800,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64801,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64802,"t":"code","b":[0],"m":"brk"},{"a":64803,"t":"code","b":[0],"m":"brk"},{"a":64804,"t":"code","b":[0],"m":"brk"},{"a":64805,"t":"code","b":[0],"m":"brk"},{"a":64806,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64807,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64808,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64809,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64810,"t":"code","b":[0],"m":"brk"},{"a":64811,"t":"code","b":[0],"m":"brk"},{"a":64812,"t":"code","b":[0],"m":"brk"},{"a":64813,"t":"code","b":[0],"m":"brk"},{"a":64814,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64815,"t":"byte","b":[255],"note":"not a legal opcode"},{"a":64816,"l":"kernal_vectors_shadow","c":"a copy of the KERNAL's table of the vectors it keeps from $0314, 32 bytes to $FD4F: IRQ $EA31, BRK $FE66 and NMI $FE47, then the I/O routines' vectors from $F34A, the KERNAL's OPEN. The copy is in the RAM beneath the ROM, where the tape loads nothing; it is already there when the game takes over at $0810. No instruction in the game names it.","t":"byte","b":[49,234,102,254,71,254,74,243]},{"a":64824,"t":"byte","b":[145,242,14,242,80,242,51,243]},{"a":64832,"t":"byte","b":[87,241,202,241,237,246,62,241]},{"a":64840,"t":"byte","b":[47,243,102,254,165,244,237,245]},{"a":64848,"t":"gap","n":688,"x":[32792]}]}